/* Two pieces taken from the 2026-10-28 redesign (chairperson welcome, footer bar), scoped so the rest of the page keeps custom.css */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-sc-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --floor-deep: #2a0b10;
  --floor-line: rgb(255 255 255 / 0.16);
  --floor-text: #ecd5d9;
  --maroon: #851a1a;
  --ribbon-ink: #b51b2b;
  --charcoal: #414042;
  --ink: #2b2a2c;
  --muted: #5d5b5f;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --text: "Barlow", "Segoe UI", system-ui, sans-serif;
  --num: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
}
.nw-welcome .icon, .nw-footer .icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* justified body text */
.intro-text, .nw-welcome-text p:not(.nw-signoff) { text-align: justify; text-justify: inter-word; }

/* chairperson's welcome */
.nw-welcome { padding: 96px 0 88px; background: #fff; font: 500 1.0625rem/1.6 var(--text); color: var(--ink); }
.nw-welcome h2 { margin: 0 0 48px; font: 800 clamp(1.6rem, 2.6vw, 2.35rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.005em; color: var(--maroon); }
.nw-welcome-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 40px 64px; align-items: start; }
.nw-chair { display: grid; justify-items: start; gap: 20px; margin: 0; }
.nw-chair-photo { width: 100%; max-width: 340px; height: auto; border-radius: 8px; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--maroon); }
.nw-chair figcaption span { display: block; }
.nw-chair-name { font: 800 1.3rem/1.15 var(--display); text-transform: uppercase; color: var(--maroon); }
.nw-chair-role { margin-top: 6px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ribbon-ink); }
.nw-chair-post { margin-top: 8px; max-width: 30ch; line-height: 1.45; color: var(--muted); }
.nw-welcome-text { max-width: 70ch; }
.nw-welcome-text p { margin: 0 0 1em; }
.nw-welcome-text .nw-pull { margin-bottom: 1.2em; font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.35 var(--num); color: var(--charcoal); }
.nw-signoff { margin-top: 1.6em !important; color: var(--muted); }
.nw-signoff strong { color: var(--ink); }

/* footer bar */
.nw-footer { padding: 48px 0 28px; background: var(--floor-deep); color: var(--floor-text); font: 500 0.9375rem/1.6 var(--text); }
.nw-footer p { margin: 0; }
.nw-footer a { color: #fff; text-decoration: none; }
.nw-footer a:hover { text-decoration: underline; }
.nw-footer a[href^="tel:"], .nw-footer a[href^="mailto:"] { white-space: nowrap; }
.nw-footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--floor-line); }
.nw-footer-mark { width: 64px; height: auto; }
.nw-footer-name { font: 800 0.95rem/1.3 var(--display); text-transform: uppercase; color: #fff; }
.nw-footer-contact { display: grid; gap: 6px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nw-footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.nw-footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; font-size: 0.875rem; }
.nw-footer-powered { display: inline-flex; align-items: center; gap: 10px; }
.nw-footer-powered img { width: 34px; height: 34px; object-fit: contain; padding: 4px; background: #fff; border-radius: 6px; }

@media (max-width: 991.98px) {
  .nw-welcome-grid { grid-template-columns: 1fr; }
}
@media (max-width: 699.98px) {
  .nw-welcome { padding: 64px 0 56px; font-size: 1rem; }
  .nw-welcome h2 { margin-bottom: 32px; }
  .nw-chair-photo { max-width: 280px; }
  .nw-footer-contact { margin-left: 0; }
}

/* phone fixes for the existing page, design unchanged */
.nw-footer p { color: var(--floor-text); text-align: left; font-size: inherit; line-height: inherit; }
.nw-footer .nw-footer-name { color: #fff; }
.nw-welcome-text p { color: var(--ink); }
.nw-welcome-text .nw-pull { color: var(--charcoal); }
.nw-signoff { text-align: left; color: var(--muted) !important; }

@media (max-width: 576px) {
  /* the fixed logo strip is taller than the gap the hero leaves for it */
  .banner-area { margin-top: 112px; }
  .stats-number { font-size: 36px; white-space: nowrap; }
  /* tabs were capped at 25% of the row, about 90px on a phone */
  .nav-pills-spkr .nav-item { flex: 1 1 calc(50% - 10px) !important; max-width: none; }
  .nav-pills-spkr .nav-link { padding: 12px 14px; font-size: 15px; line-height: 1.25; }
  .nav-pills-spkr .nav-link i { flex: none; }
}

/* justified text needs hyphenation on narrow screens, or it opens wide gaps between words */
@media (max-width: 767.98px) {
  .intro-text, .nw-welcome-text p:not(.nw-signoff) { -webkit-hyphens: auto; hyphens: auto; }
}

/* speaker bio button: sits under the name so it never covers the photo */
.spk-bio { margin-top: 12px; min-height: 44px; padding: 6px 20px; border: 0; border-radius: 999px; background: var(--maroon); color: #fff; font: 600 0.8125rem/1.2 var(--text); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: background 0.2s ease; }
.spk-bio:hover, .spk-bio:focus-visible { background: var(--ribbon-ink); }
.spk-bio:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
/* the button sits at the same height in every card whether the name takes one line or two; flag centred */
.doctor-card { display: flex; flex-direction: column; align-items: center; }
.doctor-card .doctor-photo { align-self: stretch; }
.doctor-card .doctor-name { flex: 1; }
.doctor-card .flag-icon { left: calc(50% - 25px); }

/* top bar: logo left, menu right; tidy toggler + dropdown on small screens */
.top-header .header-logos { justify-content: flex-start; text-align: left; }
@media (max-width: 991.98px) {
  .top-header .logos-image { width: auto; max-width: 100%; max-height: 64px; }
  .top-header .navbar { position: static; justify-content: flex-end; }
  .top-header .navbar-toggler { position: static; transform: none; top: auto !important; right: auto; width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: #4a1622; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
  .top-header .navbar-toggler:focus-visible { outline: 2px solid #4a1622; outline-offset: 2px; }
  .top-header .navbar-toggler-icon { width: 1.4em; height: 1.4em; }
  .top-header .navbar-collapse { position: absolute; top: 100%; left: 15px; right: 15px; margin-top: 6px; padding: 8px; border-radius: 14px; background: #4a1622; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
  .top-header .navbar-nav { text-align: left; }
  .top-header .nav-link-top { color: #fff !important; border-bottom: 0; }
  .top-header .nav-link-top:hover { color: #fff !important; background: rgba(255, 255, 255, 0.1); }
  .top-header .nav-link-registration { display: inline-block; margin-top: 4px; }
}

/* agenda: session header reads as a banner; phone rows are compact (time | topic + speaker) */
.agenda-mods::before { content: " \00b7  "; }
@media (max-width: 767.98px) {
  .agenda-mods::before { content: none; }
  .program-wrap .agenda-session { border-bottom: 0; }
  .program-wrap .agenda-session .agenda-topic { padding: 14px 16px; border-bottom: 0; font-size: 15px; }
  .agenda-session-name { display: block; font-size: 18px; font-weight: 800; letter-spacing: 1.2px; }
  .agenda-mods { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .agenda-row:not(.agenda-session) { grid-template-columns: 104px 1fr; grid-template-areas: "time topic" "time speaker"; }
  .agenda-row:not(.agenda-session) > div { border-bottom: 0; padding: 10px 12px; }
  .agenda-row:not(.agenda-session) .agenda-time { grid-area: time; border-right: 1px solid rgba(255, 255, 255, 0.16); color: #ffbc47; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .agenda-row:not(.agenda-session) .agenda-topic { grid-area: topic; padding-bottom: 2px; }
  .agenda-row:not(.agenda-session) .agenda-speaker { grid-area: speaker; padding-top: 0; font-size: 13px; }
  .agenda-row:not(.agenda-session) .agenda-time::before,
  .agenda-row:not(.agenda-session) .agenda-topic::before,
  .agenda-row:not(.agenda-session) .agenda-speaker::before { content: none; }
  .agenda-speaker.agenda-none { display: none; }
}

/* agenda day buttons: two side by side on phones */
@media (max-width: 767.98px) {
  .agenda-tabs { flex-wrap: nowrap; gap: 10px; padding: 0 4px; }
  .agenda-tabs .nav-item { flex: 1 1 0; min-width: 0; max-width: none; }
  .agenda-tabs .nav-link { padding: 12px 8px; font-size: 17px; text-align: center; }
  .agenda-tabs .nav-link span { font-size: 11px; letter-spacing: 0.5px; margin-top: 4px; }
}
