/* GOLD EDITING NOTE -- Event compositions use unique af-ev8 names. Shared
   af-library hero typography, section headings, filters and controls stay authoritative. */
.af-ev8-page {color:#536f84;background:#eef3f7;}
.af-ev8-page [hidden] {display:none!important;}
.af-ev8-page :is(h1,h2,h3,p) {text-wrap:pretty;}
.af-ev8-page p {line-height:1.7;}
.af-ev8-status {display:inline-flex;align-items:center;gap:6px;flex:none;padding:5px 8px;background:#fff2d8;color:#825714;font-size:11px;line-height:1.4;font-weight:700;letter-spacing:0;}
.af-ev8-status::before {content:"";width:5px;height:5px;background:currentColor;border-radius:50%;}
.af-ev8-status[data-status="registration_open"] {background:#e3f3eb;color:#216748;}
.af-ev8-status[data-status="completed"] {background:#e8eef3;color:#53697b;}
.af-ev8-status[data-status="cancelled"],.af-ev8-status[data-status="postponed"] {background:#fae9e4;color:#995046;}
.af-ev8-page .af-content-label {margin-bottom:12px;}
.af-ev8-page :is(.af-ev8-card,.af-ev8-feature,summary):focus-visible {outline:3px solid #0b6ecc;outline-offset:4px;}
#events-programme,#event-overview,#event-programme,#event-participation {scroll-margin-top:calc(var(--af-header-height,100px) + var(--af-category-breadcrumb-height,54px) + 20px);}
/* GOLD EDITING NOTE -- Archive opening: actual event imagery and a readable featured
   record, not abstract decoration or unconfirmed participation claims. */
.af-ev8-archive-hero {position:relative;isolation:isolate;background:#041c31 var(--af-ev8-cover) 70% center/cover no-repeat;}
.af-ev8-archive-hero::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#02172afc 10%,#072a46ed 47%,#0636568c),linear-gradient(0deg,#041e36e8,transparent);}
.af-ev8-archive-grid {display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:clamp(45px,8vw,110px);align-items:center;}
.af-ev8-hero-summary {max-width:690px;margin:21px 0;color:#d6e6ef;font:var(--af-font-hero-summary);}
.af-ev8-archive-copy .af-page-hero-actions,.af-ev8-detail-copy .af-page-hero-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:25px;}
.af-ev8-archive-context {margin-top:32px;padding-top:21px;border-top:1px solid #bad6e12c;display:grid;gap:7px;}
.af-ev8-archive-context strong {color:#fff;font-size:15px;font-weight:650;}
.af-ev8-archive-context span {color:#a5c1d3;font-size:13px;line-height:1.6;}
.af-ev8-feature {display:block;overflow:hidden;color:#fff;background:#082b47;border:1px solid #ffffff3d;box-shadow:0 24px 60px #00132655;}
.af-ev8-feature:hover {color:#fff;border-color:#d8b46d;}
.af-ev8-feature-image {height:205px;position:relative;overflow:hidden;}
.af-ev8-feature-image img {width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.af-ev8-feature-image>span {position:absolute;left:20px;top:20px;background:#071f37e8;color:#ffcb70;padding:7px 10px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:750;}
.af-ev8-feature:hover img {transform:scale(1.025);}
.af-ev8-feature-copy {padding:24px;}
.af-ev8-feature-copy>p {display:flex;justify-content:space-between;gap:10px;color:#ffc362;font-size:12px;font-weight:650;margin:0 0 12px;}
.af-ev8-feature-copy>p>span {color:#b5cfdf;}
.af-ev8-feature-copy h2 {font-size:26px;line-height:1.25;font-weight:700;color:#fff;letter-spacing:-.03em;margin:0;}
.af-ev8-feature-copy>div {margin-top:21px;padding-top:17px;border-top:1px solid #d5e5ef33;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.af-ev8-feature-copy time {color:#fff;font-size:16px;font-weight:650;}
.af-ev8-feature-copy time small {display:block;font-size:12px;font-weight:400;color:#afc7d7;margin-top:4px;}
.af-ev8-feature-copy i {color:#ffbf59;font-size:22px;}
/* GOLD EDITING NOTE -- Compact programme controls. Only composition is defined here;
   field typography, search/select focus and reset size come from af-library primitives. */
.af-ev8-programme {padding:60px 0 72px;}
.af-ev8-filters>summary {display:none;list-style:none;}
.af-ev8-filter-grid {display:grid;grid-template-columns:minmax(220px,1.4fr) 130px minmax(190px,1fr) 145px 75px;align-items:end;gap:15px;}
.af-ev8-filter-field {min-width:0;}
.af-ev8-filter-field>label {display:block;margin-bottom:8px;color:#4c6b82;font-size:12px;font-weight:650;}
.af-ev8-reset {display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:0;}
.af-ev8-result-bar {display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 18px;}
.af-ev8-result-bar p {margin:0;color:#375976;font-size:14px;}
.af-ev8-result-bar b {color:#0b6ecc;}
.af-ev8-result-bar>span {display:flex;gap:9px;color:#6f8798;font-size:12px;align-items:center;}
.af-ev8-empty {padding:50px 25px;text-align:center;border:1px solid #ccdce7;background:#fff;}
.af-ev8-empty>i {font-size:30px;color:#0b6ecc;}
.af-ev8-empty h2 {font:var(--af-font-panel-title);color:#123c58;margin:18px 0 10px;}
.af-ev8-empty p {font-size:15px;}
/* GOLD EDITING NOTE -- Event records: photo, category, concise title and visible
   date/location facts. Hover does not shift layout; whole cards are keyboard links. */
.af-ev8-event-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.af-ev8-card {min-width:0;display:grid;grid-template-columns:185px minmax(0,1fr);color:#536f84;background:#fff;border:1px solid #ccdce7;transition:border-color .2s,box-shadow .2s;}
.af-ev8-card:hover {color:#536f84;border-color:#8eafc7;box-shadow:0 12px 30px #123b5810;}
.af-ev8-card-image {min-height:240px;position:relative;overflow:hidden;background:#082c47;}
.af-ev8-card-image::after {content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#061e34b3);}
.af-ev8-card-image img {width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .4s;}
.af-ev8-card:hover img {transform:scale(1.025);}
.af-ev8-card-image>span {position:absolute;left:14px;bottom:15px;right:14px;z-index:1;display:flex;align-items:center;gap:9px;color:#fff;font-size:12px;font-weight:650;}
.af-ev8-card-image i {color:#ffcb75;font-size:17px;}
.af-ev8-card-body {display:flex;flex-direction:column;min-width:0;padding:23px;}
.af-ev8-card-kicker {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px;}
.af-ev8-card-kicker>span {color:#9b681f;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.06em;}
.af-ev8-card h3 {margin:0;color:#113d60;font-size:22px;line-height:1.3;letter-spacing:-.025em;font-weight:700;}
.af-ev8-card:hover h3 {color:#0b6ecc;}
.af-ev8-card-subtitle {margin:9px 0 0;font-size:14px;line-height:1.5;color:#355a76;}
.af-ev8-card-summary {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:12px 0 0;font-size:14px;line-height:1.65;color:#6a8395;}
.af-ev8-card-facts {display:grid;gap:12px;margin:19px 0 22px;padding-top:17px;border-top:1px solid #deE7ed;}
.af-ev8-card-facts>div {display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;}
.af-ev8-card-facts dt {display:flex;align-items:start;gap:7px;color:#71889a;font-size:12px;font-weight:500;}
.af-ev8-card-facts dt i {color:#0b6ecc;font-size:14px;}
.af-ev8-card-facts dd {margin:0;color:#2c5270;font-size:14px;font-weight:600;line-height:1.5;}
.af-ev8-card-facts dd small {display:block;font-size:11px;font-weight:400;color:#9b702e;margin-top:3px;}
.af-ev8-card-footer {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;padding-top:14px;border-top:1px solid #dee7ed;}
.af-ev8-card-footer small {font-size:11px;color:#6b8293;line-height:1.5;}
.af-ev8-card-footer>span {display:inline-flex;gap:10px;align-items:center;color:#0b6ecc;font-size:13px;font-weight:700;}
.af-ev8-enquiry {display:flex;align-items:center;justify-content:space-between;gap:35px;padding:30px 32px;margin-top:35px;background:#e4eef5;border-top:2px solid #adc8da;}
.af-ev8-enquiry h2 {color:#123d59;font:var(--af-font-panel-title);margin:0 0 12px;}
.af-ev8-enquiry p:not(.af-content-label) {max-width:820px;margin:0;font-size:15px;}
.af-ev8-enquiry>.af-button {flex:none;}
/* GOLD EDITING NOTE -- Detail opening keeps event imagery prominent while the
   white essentials ledger makes all logistics readable, including on mobile. */
.af-ev8-detail-hero {position:relative;isolation:isolate;color:#fff;padding:calc(var(--af-header-height,160px) + 54px) 0 64px;background:#041a2e var(--af-ev8-cover) center/cover no-repeat;}
.af-ev8-detail-hero::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#02172af7 8%,#052845db 48%,#082c4955 100%),linear-gradient(0deg,#041b31e6,transparent 80%);}
.af-ev8-detail-grid {display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:clamp(40px,7vw,90px);align-items:center;}
.af-ev8-detail-copy {max-width:820px;}
.af-ev8-detail-kicker {display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:18px;}
.af-ev8-detail-kicker .af-content-label {margin:0;color:#ffca75;}
.af-ev8-quick-info {display:none;}
.af-ev8-detail-copy h1 {margin:0;color:#fff;font:var(--af-font-hero);font-size:clamp(36px,3.65vw,52px);line-height:1.12;letter-spacing:var(--af-tracking-display);text-wrap:balance;}
.af-ev8-detail-subtitle {margin:17px 0;color:#aacfe7;font-size:21px;line-height:1.45;font-weight:550;}
.af-ev8-essential {background:#f8fbfd;color:#4d6d85;border-top:3px solid #ffbf59;box-shadow:0 20px 50px #0017294d;}
.af-ev8-essential>header {display:grid;gap:6px;padding:18px 23px;border-bottom:1px solid #d0dfE9;}
.af-ev8-essential>header>span {color:#113d60;font-size:15px;font-weight:750;}
.af-ev8-essential>header>small {color:#7891a3;font-size:11px;letter-spacing:.05em;}
.af-ev8-essential dl {margin:0;padding:0 23px;}
.af-ev8-essential dl>div {padding:14px 0;border-bottom:1px solid #dce7ee;display:grid;grid-template-columns:87px minmax(0,1fr);gap:12px;}
.af-ev8-essential dl>div:last-child {border:0;}
.af-ev8-essential dt {color:#658399;font-size:12px;font-weight:500;line-height:1.5;}
.af-ev8-essential dt i {display:inline-block;width:18px;color:#0b6ecc;}
.af-ev8-essential dd {color:#123d60;margin:0;font-size:14px;font-weight:650;line-height:1.5;}
.af-ev8-essential dd small {display:block;color:#6c879a;font-size:12px;line-height:1.6;font-weight:400;margin-top:4px;}
.af-ev8-essential .af-ev8-essential-date {grid-template-columns:1fr;gap:7px;}
.af-ev8-essential-date time {font-size:23px;font-weight:700;letter-spacing:-.025em;}
.af-ev8-essential-date dd small {color:#a17532;}
.af-ev8-essential>footer {display:flex;align-items:center;gap:9px;padding:17px 23px;font-size:13px;font-weight:650;background:#eaf2f7;color:#284f6d;}
.af-ev8-essential>footer i {color:#0b6ecc;font-size:18px;}
.af-ev8-detail-hero+.af-breadcrumb-bar {margin-top:0;}
/* GOLD EDITING NOTE -- One useful detail body replaces the proposed-session and
   subject-scope filler sections. Audience stays with context; access has its own clear panel. */
.af-ev8-detail-body {padding:56px 0 60px;background:#fff;}
.af-ev8-body-grid {display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:clamp(40px,7vw,90px);align-items:start;}
.af-ev8-about h2 {margin:0;color:#113d60;font:var(--af-font-section-title);letter-spacing:var(--af-tracking-display);}
.af-ev8-purpose {margin:23px 0 0;color:#466b84;font-size:17px;line-height:1.8;}
.af-ev8-audience {margin-top:30px;padding-top:25px;border-top:1px solid #d3e0e9;}
.af-ev8-audience h3 {font-size:20px;font-weight:700;margin:0 0 18px;color:#113d60;letter-spacing:-.02em;}
.af-ev8-audience ul {list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 25px;}
.af-ev8-audience li {position:relative;padding-left:26px;font-size:15px;line-height:1.6;color:#527189;}
.af-ev8-audience li::before {content:"\f270";font-family:bootstrap-icons!important;position:absolute;left:0;top:1px;color:#0b6ecc;font-size:16px;}
.af-ev8-context-note {margin-top:28px;padding:18px 21px;background:#edf4f9;border-left:2px solid #0b6ecc;}
.af-ev8-context-note span {font-size:12px;font-weight:700;color:#285878;}
.af-ev8-context-note p {margin:7px 0 0;font-size:14px;line-height:1.7;}
.af-ev8-participation {position:sticky;top:calc(var(--af-header-height,100px) + var(--af-category-breadcrumb-height,54px) + 20px);background:#edf4f9;border:1px solid #ccdce8;padding:27px;}
.af-ev8-participation h2 {font-size:25px;font-weight:700;line-height:1.25;letter-spacing:-.025em;color:#113d60;margin:0 0 16px;}
.af-ev8-participation>p:not(.af-content-label) {font-size:15px;margin:0;}
.af-ev8-participation dl {margin:21px 0;border-top:1px solid #cbdde9;}
.af-ev8-participation dl>div {padding:12px 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-bottom:1px solid #cbdde9;}
.af-ev8-participation dt {font-size:12px;font-weight:500;color:#658297;}
.af-ev8-participation dd {font-size:13px;font-weight:650;color:#204a68;margin:0;}
.af-ev8-access-note {display:grid;grid-template-columns:18px 1fr;gap:10px;margin:18px 0;}
.af-ev8-access-note i {color:#0b6ecc;font-size:16px;}
.af-ev8-access-note p {font-size:13px;margin:0;line-height:1.65;}
.af-ev8-participation>.af-button {display:flex;justify-content:space-between;margin-top:17px;}
.af-ev8-reference {display:block;color:#6f8799;font-size:12px;line-height:1.6;margin-top:15px;}
/* GOLD EDITING NOTE -- Related events carry their own real cover, category,
   date and location. No repeated generic closing CTA before the shared footer. */
.af-ev8-related {padding:55px 0 65px;background:#eef3f7;border-top:1px solid #dae5ed;}
.af-ev8-related .af-library-section-heading>.af-button {justify-self:end;}
.af-ev8-related-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.af-ev8-card--related {grid-template-columns:1fr;}
.af-ev8-card--related .af-ev8-card-image {height:185px;min-height:0;}
.af-ev8-card--related h3 {font-size:21px;}
/* GOLD EDITING NOTE -- Tablet composition prevents narrow fact columns; mobile
   filters collapse natively and essentials are never hidden at smaller widths. */
@media(max-width:1199px) {
 .af-ev8-archive-grid {grid-template-columns:minmax(0,1fr) 340px;gap:40px;}
 .af-ev8-event-grid {grid-template-columns:1fr;}
 .af-ev8-card {grid-template-columns:280px minmax(0,1fr);}
 .af-ev8-card--related {grid-template-columns:1fr;}
 .af-ev8-filter-grid {grid-template-columns:minmax(0,1.3fr) 125px minmax(160px,1fr) 135px 70px;gap:12px;}
 .af-ev8-detail-grid,.af-ev8-body-grid {grid-template-columns:minmax(0,1fr) 330px;gap:35px;}
}
@media(max-width:991px) {
 .af-ev8-quick-info {display:flex;flex-wrap:wrap;gap:10px 20px;margin:19px 0;color:#d7e9f5;font-size:14px;line-height:1.6;}
 .af-ev8-quick-info>span {display:flex;align-items:start;gap:9px;}
 .af-ev8-quick-info i {color:#ffca75;margin-top:3px;}
 .af-ev8-archive-grid {grid-template-columns:1fr;gap:30px;}
 .af-ev8-feature {display:grid;grid-template-columns:210px minmax(0,1fr);}
 .af-ev8-feature-image {height:100%;min-height:220px;}
 .af-ev8-feature-copy h2 {font-size:24px;}
 .af-ev8-filter-grid {grid-template-columns:1fr 1fr;}
 .af-ev8-filter-grid>.af-ev8-filter-field:first-child {grid-column:1/-1;}
 .af-ev8-reset {justify-content:start;}
 .af-ev8-card {grid-template-columns:220px minmax(0,1fr);}
 .af-ev8-detail-grid,.af-ev8-body-grid {grid-template-columns:1fr;gap:30px;}
 .af-ev8-essential dl {display:grid;grid-template-columns:1fr 1fr;gap:0 28px;}
 .af-ev8-essential dl>.af-ev8-essential-date {grid-column:1/-1;}
 .af-ev8-essential dl>div:last-child {border-bottom:1px solid #dce7ee;}
 .af-ev8-essential>footer {margin-top:15px;}
 .af-ev8-participation {position:static;}
 .af-ev8-related-grid {grid-template-columns:1fr;}
 .af-ev8-card--related {grid-template-columns:220px minmax(0,1fr);}
 .af-ev8-card--related .af-ev8-card-image {height:100%;min-height:250px;}
 .af-ev8-enquiry {align-items:start;flex-direction:column;gap:24px;}
}
@media(max-width:767px) {
 .af-ev8-archive-hero.af-library-hero {padding-bottom:88px;}
 .af-ev8-feature {display:block;}
 .af-ev8-feature-image {height:185px;min-height:0;}
 .af-ev8-feature-copy {padding:22px;}
 .af-ev8-archive-context {margin-top:24px;padding-top:18px;}
 .af-ev8-programme {padding:40px 0 48px;}
 .af-ev8-filters>summary {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;color:#173e5e;font-size:14px;font-weight:700;cursor:pointer;}
 .af-ev8-filters>summary>span {display:flex;gap:12px;align-items:center;}
 .af-ev8-filters>summary>i {font-size:13px;transition:transform .2s;}
 .af-ev8-filters[open]>summary>i {transform:rotate(180deg);}
 .af-ev8-filters>summary::-webkit-details-marker {display:none;}
 .af-ev8-filter-grid {grid-template-columns:1fr;}
 .af-ev8-filter-grid>.af-ev8-filter-field:first-child {grid-column:auto;}
 .af-ev8-card,.af-ev8-card--related {grid-template-columns:1fr;}
 .af-ev8-card-image,.af-ev8-card--related .af-ev8-card-image {height:205px;min-height:0;}
 .af-ev8-card-body {padding:22px;}
 .af-ev8-card h3 {font-size:23px;}
 .af-ev8-card-summary {-webkit-line-clamp:3;}
 .af-ev8-card-kicker>span {font-size:12px;}
 .af-ev8-result-bar {margin-top:20px;}
 .af-ev8-enquiry {padding:25px;}
 .af-ev8-detail-hero {padding-top:calc(var(--af-header-height,100px) + 34px);padding-bottom:35px;background-position:62% center;}
 .af-ev8-detail-copy h1 {font-size:34px;line-height:1.13;}
 .af-ev8-detail-subtitle {font-size:18px;}
 .af-ev8-hero-summary {font-size:16px;line-height:1.7;}
 .af-ev8-detail-copy .af-page-hero-actions {display:grid;grid-template-columns:1fr;gap:10px;}
 .af-ev8-detail-copy .af-button {justify-content:space-between;}
 .af-ev8-essential dl {display:block;}
 .af-ev8-essential dl>div:last-child {border:0;}
 .af-ev8-essential>footer {margin:0;}
 .af-ev8-detail-body {padding:38px 0 42px;}
 .af-ev8-audience ul {grid-template-columns:1fr;}
 .af-ev8-participation {padding:25px;}
 .af-ev8-related {padding:40px 0 48px;}
 .af-ev8-related .af-library-section-heading>.af-button {justify-self:start;}
}
/* GOLD EDITING NOTE -- Motion is decorative; respect reduced-motion preferences. */
@media(prefers-reduced-motion:reduce) {
 .af-ev8-card,.af-ev8-feature img,.af-ev8-card img,.af-ev8-filters>summary>i {transition:none;}
}
