/* Shared presentation for the homepage, committee, directory and timetable. */
:root { --radius: 18px; --muted: #526575; }
html { scroll-padding-top: 100px; }
body { font-size: 16px; }
.site-header, .speaker-page .site-header, .site-header.scrolled { background: #082e4b; }
.header-inner { width: min(1220px, calc(100% - 48px)); gap: 1.4rem; }
#site-nav { gap: 1.45rem; }
#site-nav a { font-size: .9rem; }
#site-nav a[aria-current="page"] { color: var(--gold); }
.brand small { font-size: .68rem; letter-spacing: .12em; }
.section { padding: 80px max(24px, calc((100vw - 1220px)/2)); }
.section-kicker, .eyebrow { font-size: .78rem; letter-spacing: .13em; }
.display-heading { margin: 0; font: 700 clamp(2rem, 3.4vw, 3.1rem)/1.15 "Libre Franklin", sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section-heading-row .inline-link { flex-shrink: 0; }
.inline-link { display: inline-block; color: var(--blue); font-size: .92rem; font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.button { font-size: .92rem; min-height: 48px; }

.conference-intro { padding: 84px 0 0; background: #082e4b; }
.conference-intro .hero-content { position: relative; inset: auto; transform: none; width: min(1220px, calc(100% - 48px)); margin: auto; padding: 50px 0 42px; }
.conference-intro .hero-content .eyebrow { display: block; }
.conference-intro h1 { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin: 0; border: 0; padding: 0; max-width: 1000px; font-size: clamp(2.3rem, 4.2vw, 4rem); line-height: 1.12; letter-spacing: -.035em; text-shadow: none; }
.conference-intro h1 span { font-size: .51em; margin-bottom: 12px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.conference-intro .hero-actions { margin-top: 26px; }
.hero-scene { position: relative; overflow: hidden; }
/* The supplied banner contains the superseded title above the landscape. */
.hero-scene img { width: 100%; height: auto; margin-top: -15.2%; filter: saturate(.92); }
.event-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 28px max(24px, calc((100vw - 1220px)/2)); background: #edf4f8; border-bottom: 1px solid #dce6ec; }
.event-strip > div { padding-right: 12px; border-right: 1px solid #cadbe4; }
.event-strip > div:last-child { border: 0; }
.event-strip span { display: block; color: var(--blue); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.event-strip strong, .event-strip a { font-size: .96rem; font-weight: 700; }
.event-strip a { text-underline-offset: 4px; }
.about { background: #fff; }
.about-grid { gap: 70px; align-items: center; grid-template-columns: 1.25fr .75fr; }
.about-copy { max-width: 670px; margin-top: 24px; color: var(--muted); font-size: 1.05rem; }
.about-copy p:last-child { margin-bottom: 0; }
.theme-card { padding: 32px; border-radius: 18px; box-shadow: none; background: #edf5f9; color: var(--blue-dark); border-top: 4px solid var(--cyan); }
.theme-card span { color: var(--blue); font-size: .75rem; }
.theme-card h3 { font-size: 1.6rem; line-height: 1.3; margin: 18px 0; }
.theme-card p { color: var(--muted); font-size: 1.05rem; }
.theme-card::after { display: none; }
.organizers { margin-top: 46px; padding-top: 22px; }
.organizers ul { gap: 24px; }
.organizers li { font-size: .91rem; border-left-width: 2px; }
.scientific-overview { background: #f0f6f9; }
.focus-list { border-top: 1px solid #cddce5; }
.focus-list article { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid #cddce5; }
.focus-list article > span { color: #1694b6; font: 700 1.4rem "Libre Franklin", sans-serif; padding-top: 4px; }
.focus-list h3 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.35; }
.focus-list p { margin: 0; color: var(--muted); }
.committee-preview { background: #fff; }
.chair-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.chair-card, .secretariat-card { position: relative; padding: 28px; border: 1px solid #d9e6ee; border-radius: 14px; background: linear-gradient(180deg,#e4f2fa 0,#fff 104px); }
.committee-role { margin: 0 0 14px; color: var(--blue); font-size: .76rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.chair-card h3, .secretariat-card h3 { margin: 0 0 16px; font: 700 1.3rem/1.3 "Libre Franklin", sans-serif; color: var(--blue-dark); }
.chair-card h3::after, .secretariat-card h3::after { content: ""; display: block; width: 30px; height: 3px; background: #299dc4; margin-top: 16px; }
.committee-position { margin: 0 0 8px; color: #243e51; font-size: .97rem; font-weight: 600; line-height: 1.5; }
.committee-affiliation { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.committee-bio { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #e0e9ef; color: var(--muted); font-size: .96rem; }
.speaker-directory-teaser { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: center; background: #082e4b; color: #fff; }
.directory-number { padding-right: 40px; border-right: 1px solid #2e536c; }
.directory-number strong { display: block; color: var(--gold); font: 700 clamp(5rem,10vw,8.8rem)/1 "Libre Franklin",sans-serif; letter-spacing: -.07em; }
.directory-number span { display: block; margin-top: 14px; font-size: 1.05rem; color: #bed4e3; }
.speaker-directory-teaser p:not(.section-kicker) { color: #bed4e3; max-width: 590px; }
.speaker-directory-teaser .button { margin-top: 10px; }
.submission-panel { padding: 40px; gap: 55px; background: #f2f7fa; border-radius: 18px; border-color: #dce8ee; }
.submission h2, .venue h2 { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.15; }
.email-card { padding: 28px; border-radius: 14px; box-shadow: none; }
.email-card > a:not(.button) { font-size: clamp(1.2rem,2vw,1.6rem); }
.venue { background: #edf4f8; color: var(--blue-dark); }
.venue-card { gap: 70px; }
.venue .section-kicker { color: var(--blue); }
.venue-copy address { color: var(--muted); line-height: 1.8; margin: 18px 0; }
.venue .text-link { color: var(--blue); font-size: .92rem; }
.venue-note { padding: 30px; border-left: 2px solid var(--cyan); }
.venue-note > span { color: var(--blue); font-weight: 700; font-size: .86rem; letter-spacing: .05em; }
.venue-note h3 { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1.2 "Libre Franklin", sans-serif; color: var(--blue-dark); margin: 14px 0 22px; }
.venue-note p { color: var(--muted); margin: 0; }
.contact { background: #fff; }
.contact-grid article { padding: 26px; box-shadow: none; border-radius: 14px; }
.contact-grid article > span { color: var(--blue); font-size: .74rem; }
.contact-grid h3 { font-size: 1.2rem; }
footer { padding-top: 40px; }
.footer-title { font-size: 1.45rem; max-width: 650px; }
.footer-main { padding-bottom: 28px; }

.subpage-hero { padding: 145px max(24px, calc((100vw - 1220px)/2)) 52px; background: #082e4b; }
.subpage-hero h1 { max-width: 1000px; font-size: clamp(2.2rem,4.5vw,4rem); line-height: 1.12; }
.subpage-hero p:last-child { color: #bdd4e3; font-size: 1.05rem; }
.detail-page, .speaker-page { background: #f2f6f9; }
.committee-detail { padding-bottom: 60px; }
.chair-card-full { padding-top: 26px; }
.committee-portrait { width: 148px; height: 148px; display: grid; place-items: center; margin: 0 0 24px; background: transparent; border-radius: 0; border: 0; overflow: hidden; }
.committee-portrait img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.secretariat-section { background: #e9f2f7; }
.secretariat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.secretariat-card { min-height: 236px; }
.committee-contact { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-top: 30px; }
.committee-contact p { color: var(--muted); }
.selection-note { margin: 0 0 32px; max-width: 760px; color: var(--muted); }
.session-directory { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.session-directory-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid #d6e4ec; border-radius: 18px; background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.session-directory-card:hover, .session-directory-card:focus-visible { border-color: #258bad; box-shadow: 0 16px 35px #082e4b12; }
.session-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--blue); font-size: .8rem; font-weight: 700; }
.session-heading small { font-size: .8rem; color: var(--muted); }
.session-directory-card h2 { font: 700 1.4rem/1.35 "Libre Franklin",sans-serif; margin: 22px 0 12px; }
.session-directory-card > p { margin: 0; color: var(--muted); }
.directory-portraits { display: flex; gap: 12px; padding-top: 26px; margin-top: auto; }
.directory-portraits img { width: 72px; height: 72px; object-fit: contain; padding: 0; border-radius: 0; background: transparent; }
.directory-link { display: block; color: var(--blue); margin-top: 26px; font-size: .92rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.directory-footnote { display: flex; align-items: center; gap: 24px; margin-top: 34px; color: var(--muted); }
.speaker-list-section { padding: 55px max(24px, calc((100vw - 1220px)/2)) 70px; }
.speaker-list-toolbar h2 { font-size: 1.85rem; }
.speaker-list-grid { align-items: stretch; gap: 24px; }
.speaker-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.speaker-pagination p { margin: 0; color: var(--muted); font-size: .9rem; text-align: center; }
.speaker-pagination button { min-height: 44px; padding: 10px 18px; border: 1px solid #cadce7; border-radius: 8px; color: var(--blue); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.speaker-pagination button:hover:not(:disabled) { border-color: var(--blue); background: #e4f2fa; }
.speaker-pagination button:disabled { opacity: .45; cursor: default; }
.speaker-entry { border-radius: 18px; padding: 26px 26px 30px; background: linear-gradient(#e8f3f9 0,#fff 240px); box-shadow: none; display: flex; flex-direction: column; }
.speaker-photo-wrap { aspect-ratio: auto; background: none; overflow: visible; display: flex; justify-content: center; padding: 0 0 22px; }
.portrait-square { display: flex; align-items: center; justify-content: center; width: 186px; height: 186px; max-width: 100%; border-radius: 0; background: transparent; border: 0; overflow: hidden; }
.speaker-photo { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 0; transform: none; }
.speaker-entry:hover .speaker-photo { transform: none; }
.speaker-entry-body { padding: 0; }
.speaker-entry .speaker-status { font-size: .74rem; letter-spacing: .09em; margin-bottom: 12px; }
.speaker-entry h3 { margin: 0 0 18px; font-size: 1.35rem; line-height: 1.3; }
.speaker-entry h3 small { font-size: .9rem; line-height: 1.55; margin-top: 8px; font-weight: 500; letter-spacing: 0; color: var(--blue); }
.speaker-entry .speaker-bio { text-align: left; font-size: 1rem; line-height: 1.7; }
.speaker-list-note { margin-top: 0; }
.schedule-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; }
.schedule-status { align-self: center; padding: 22px 28px 22px 0; }
.status-label { display: inline-block; padding: 7px 12px; background: #dff0f7; color: var(--blue); font-size: .8rem; font-weight: 700; border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; }
.schedule-status h2 { margin: 22px 0 18px; font: 700 clamp(2rem,3.2vw,3rem)/1.15 "Libre Franklin",sans-serif; letter-spacing: -.04em; }
.schedule-status > p { color: var(--muted); max-width: 570px; font-size: 1.05rem; }
.schedule-status .update-stamp { font-size: .95rem; }
.meeting-room { padding: 32px; border-radius: 18px; color: #fff; background: #0a3d61; }
.meeting-room h2 { font: 700 2.15rem/1.15 "Libre Franklin",sans-serif; margin: 0 0 8px; }
.room-subtitle { color: #acd6e8; margin-top: 0; }
.meeting-room dl { margin: 28px 0 18px; }
.meeting-room dl div { display: grid; grid-template-columns: 82px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid #ffffff26; }
.meeting-room dt { color: #97c6dc; font-size: .88rem; }
.meeting-room dd { margin: 0; font-size: .98rem; }
.room-note { margin: 0; color: #b3ccdb; font-size: .88rem; }
.topic-details { background: #fff; }
.heading-note { color: var(--muted); font-size: .93rem; margin: 0; }
.topic-detail-list { border-top: 1px solid #d7e3ec; }
.topic-detail-list article { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid #d7e3ec; }
.topic-detail-date { padding-top: 4px; }
.topic-detail-date strong { display: block; color: var(--blue); font: 700 1.7rem "Libre Franklin",sans-serif; }
.topic-detail-date span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; }
.topic-detail-list h3 { font-size: 1.25rem; line-height: 1.35; margin: 0 0 18px; }
.topic-detail-list ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 10px; margin: 0; padding-left: 20px; color: var(--muted); }
.topic-detail-list li::marker { color: #1c93b7; }
.practical-band { display: flex; gap: 40px; align-items: center; justify-content: space-between; margin-top: 36px; padding: 24px; background: #edf5fa; border-radius: 12px; }
.practical-band span { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.practical-band strong { font-size: 1rem; }
a:focus-visible, button:focus-visible { outline: 3px solid #1796be; outline-offset: 5px; }

/* Preserve the user's original full-banner and three-column programme layout. */
.home-page .hero .button { font-size: 1rem; }
.home-page .topics { padding: 7.5rem max(1.5rem, calc((100vw - 1220px)/2)); }
.home-page .topics .section-heading { margin-bottom: 3.3rem; }
.home-page .topics .section-kicker { letter-spacing: .18em; }
.home-page .topic-card { border-radius: 24px; }
.home-page .timetable-link { margin: 2rem 0 0; }
.home-page .timetable-link a { color: var(--gold); font-weight: 700; text-underline-offset: 5px; }

@media (max-width: 1040px) {
  #site-nav { gap: .75rem; }
  #site-nav a { font-size: .86rem; }
  .about-grid { gap: 36px; }
  .chair-card { padding: 22px; }
  .session-directory-card { padding: 22px; }
  .directory-portraits { gap: 8px; }
  .directory-portraits img { width: 58px; height: 58px; }
}
@media (max-width: 920px) {
  #site-nav { gap: 0; }
  .home-page .hero { padding-top: 72px; }
  .home-page .hero-shade { top: 72px; }
  .header-inner { height: 72px; width: calc(100% - 32px); }
  .conference-intro { padding-top: 72px; }
  .conference-intro .hero-content { width: calc(100% - 40px); padding: 38px 0; }
  .event-strip { grid-template-columns: 1fr 1fr; }
  .event-strip > div:nth-child(2) { border-right: 0; }
  .about-grid, .schedule-layout { grid-template-columns: 1fr; }
  .theme-card { max-width: none; }
  .chair-grid { grid-template-columns: 1fr 1fr; }
  .session-directory { grid-template-columns: 1fr; }
  .session-directory-card h2 { max-width: 600px; }
  .directory-portraits img { width: 72px; height: 72px; }
  .speaker-directory-teaser { gap: 35px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 20px; }
  .schedule-status { padding: 0; }
  .venue-card { gap: 30px; }
  .subpage-hero { padding-top: 120px; }
  .speaker-list-grid { grid-template-columns: 1fr 1fr; }
  .secretariat-grid { grid-template-columns: 1fr; }
  .secretariat-card { min-height: 0; }
}
@media (max-width: 620px) {
  .home-page .topics { padding: 5.5rem 1.5rem; }
  .home-page .hero-actions { flex-direction: column; max-width: 330px; }
  .home-page .hero-actions .button { width: 100%; padding: .75rem 1.25rem; }
  .section { padding: 52px 20px; }
  .conference-intro .hero-content { padding: 34px 0 28px; }
  .conference-intro h1 { font-size: clamp(2.05rem,8.6vw,3rem); }
  .conference-intro h1 br { display: none; }
  .conference-intro h1 span { font-size: .49em; }
  .hero-actions { flex-direction: row; gap: 10px; max-width: none; }
  .hero-actions .button { width: auto; padding: 12px 16px; }
  .event-strip { gap: 22px 14px; padding: 24px 20px; }
  .event-strip strong, .event-strip a { font-size: .86rem; line-height: 1.45; display: block; }
  .event-strip span { font-size: .68rem; }
  .organizers { margin-top: 30px; }
  .organizers ul { gap: 20px; }
  .theme-card { padding: 26px; }
  .focus-list article { grid-template-columns: 32px 1fr; gap: 16px; }
  .focus-list h3 { font-size: 1.13rem; }
  .chair-grid, .speaker-list-grid { grid-template-columns: 1fr; }
  .chair-card { padding: 26px; }
  .speaker-directory-teaser { grid-template-columns: 1fr; gap: 30px; }
  .directory-number { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid #2e536c; }
  .directory-number strong { font-size: 5.5rem; }
  .submission-panel { padding: 24px; gap: 28px; }
  .email-card { padding: 24px; }
  .venue-note { padding: 12px 0 12px 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .subpage-hero { padding: 110px 20px 38px; }
  .subpage-hero h1 { font-size: 2.4rem; }
  .speaker-list-section { padding: 38px 20px 52px; }
  .speaker-list-toolbar { gap: 18px; }
  .speaker-list-toolbar h2 { font-size: 1.7rem; }
  .speaker-entry { padding: 26px; }
  .committee-contact, .directory-footnote { flex-direction: column; align-items: flex-start; gap: 10px; }
  .meeting-room { padding: 26px; }
  .topic-detail-list article { grid-template-columns: 1fr; gap: 16px; }
  .topic-detail-date { display: flex; align-items: center; gap: 16px; }
  .topic-detail-date strong { font-size: 1.4rem; }
  .topic-detail-date span { margin: 0; }
  .topic-detail-list ul { grid-template-columns: 1fr; gap: 12px; }
  .practical-band { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-title { font-size: 1.3rem; }
}
