:root {
  --bg: #f6f8fb;
  --bg-alt: #edf1f5;
  --text: #1f2933;
  --muted: #52606d;
  --border: #d9e2ec;
  --primary: #0b5ea8;
  --primary-contrast: #ffffff;
  --gold: #fcb040;
  --gold-border: #2e3192;
  --gold-contrast: #000000;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: var(--primary);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.5rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

/* header logo image removed; keep `.logo` styling and `.site-title` */

/* Logo image inside the header nav link */
.header-logo {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-title {
  line-height: 1;
  font-weight: 700;
}

.hero-text-wrap {
  display: flex;
  flex-direction: column;
}

.nav-toggle {
  display: block;
  order: 10;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.4rem 0.75rem;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.primary-nav {
  display: none;
  grid-column: 1 / -1;
  gap: 0.75rem;
}

.primary-nav a {
  text-decoration: none;
  color: var(--text);
}

/* .primary-nav.open is intentionally not defined for small screens;
   the nav is only ever visible at min-width: 860px (see media query below). */

.hero {
  padding: 0.75rem 0 1rem;
  background: var(--bg-alt);
}

.hero-content {
  text-align: center;
  margin-top: 1rem;
}

.hero-split {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 8px;
  overflow: hidden;
  height: clamp(205px, 40vh, 358px);
  max-height: 358px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-overlay-left {
  position: relative;
  z-index: 2;
  width: min(624px, calc(100% - 2rem));
  margin: 1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  border-radius: 8px;
  transition:
    color 220ms ease,
    text-shadow 220ms ease,
    background 220ms ease;
}

/* Ensure hero content keeps CTAs visible on small screens */
@media (max-width: 600px) {
  .hero-overlay-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% - 2rem);
    margin: 0.5rem;
    padding: 0.75rem;
  }
  .hero-text-wrap {
    flex: 1 1 auto;
  }
  .cta-row {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero-content h1 {
    font-size: 1.4rem;
  }
  .hero-split {
    /* allow a taller hero on small screens so overlay and CTAs fit */
    height: min(48vh, 360px);
  }
}

.hero-content .eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.hero-content h1 {
  margin: 0.25rem 0 0.5rem 0;
  font-size: 1.9rem;
}

.hero-content p {
  margin: 0.35rem 0;
}

.hero-content [data-hero-extra] {
  white-space: pre-line;
}

.hero-overlay-left.hero-text-light {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.hero-overlay-left.hero-text-dark {
  color: #000;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.55);
}

.hero-overlay-left.hero-text-light .btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-overlay-left.hero-text-light .btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-overlay-left.hero-text-dark .btn {
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  border-color: rgba(0, 0, 0, 0.2);
}

.hero-overlay-left.hero-text-dark .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.hero-overlay-left.hero-text-dark .btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
}

/* Text fade helpers for smoother message transitions */
.hero-content {
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-content.is-text-hidden > * {
  opacity: 0;
}
.hero-content > * {
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.section {
  padding: 1.25rem 0;
}

/* Reduce top padding for the Key Event Facts section by 50% */
#event-facts-section {
  padding-top: 1rem;
}
.section.alt {
  background: var(--bg-alt);
}

.stack > * + * {
  margin-top: 0.75rem;
}

.grid {
  display: grid;
  gap: 0.75rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--bg);
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg);
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  text-align: center;
}

.btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-contrast);
}

.btn-gold {
  border-color: var(--gold-border);
  background: var(--gold);
  color: var(--gold-contrast);
}

[data-event-reg].btn {
  border-color: var(--gold-border);
  background: var(--gold);
  color: var(--gold-contrast);
}

.btn-register {
  border: 2px solid #2e3192;
  background: #fcb040;
  color: #000000;
  border-radius: 6px;
}

.btn-register:hover {
  background: #f9a020;
  border-color: #232580;
}

.btn-hotel {
  border: 2px solid #fcb040;
  background: var(--bg);
  color: var(--text);
  border-radius: 6px;
}

.btn-hotel:hover {
  background: var(--bg-alt);
  border-color: #f9a020;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
}

.theme-toggle {
  white-space: nowrap;
}

.cta-row,
.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.5rem 0;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: start;
  }
}

/* Social media icon row in the footer */
.social-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.social-icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 0.75;
}

/* Register page: side-by-side registration + venue photo */
.register-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 680px) {
  .register-split {
    grid-template-columns: 1fr 1fr;
  }
}

.register-speaker-collage {
  display: grid;
  --collage-cols: 5;
  --collage-rows: 2;
  grid-template-columns: repeat(var(--collage-cols), minmax(0, 1fr));
  grid-template-rows: repeat(var(--collage-rows), minmax(0, 1fr));
  width: 100%;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.register-speaker-collage.is-empty {
  display: block;
  background: var(--bg-alt);
}

.register-speaker-collage-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--bg);
}

@media (max-width: 520px) {
  .register-speaker-collage {
    height: 240px;
  }
}

/* ── Speaker Bubbles (home page, below hero) ───────────────────────────── */
@keyframes speaker-wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(-7deg) scale(1.08);
  }
  40% {
    transform: rotate(7deg) scale(1.08);
  }
  60% {
    transform: rotate(-4deg) scale(1.04);
  }
  80% {
    transform: rotate(4deg) scale(1.04);
  }
}

.section-heading-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-heading-row h2 {
  margin: 0;
}

.speaker-bubbles-section {
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.speaker-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.75rem;
}

.speaker-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.speaker-bubble-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--primary, #0b5ea8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.2s ease;
}

.speaker-bubble:hover .speaker-bubble-img,
.speaker-bubble:focus .speaker-bubble-img {
  animation: speaker-wiggle 0.55s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.speaker-bubble-name {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  max-width: 110px;
  line-height: 1.3;
  color: var(--text, #1a1a1a);
}

@media (max-width: 520px) {
  .speaker-bubble-img {
    width: 72px;
    height: 72px;
  }
  .speaker-bubbles {
    gap: 0.9rem 1.1rem;
  }
  .speaker-bubble-name {
    max-width: 80px;
  }
}

/* ── Past Speakers — round grid, 4 per row ─────────────────────────────── */
.past-speaker-year-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary, #0b5ea8);
  border-bottom: 2px solid var(--gold, #fcb040);
  padding-bottom: 0.35rem;
  margin: 2rem 0 0.75rem;
}
.past-speaker-year-heading:first-child {
  margin-top: 0;
}
.past-speaker-bubbles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem 1.5rem;
  justify-items: center;
  padding: 1.5rem 0;
}

.past-speaker-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.past-speaker-bubble-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--primary, #0b5ea8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.past-speaker-bubble-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  max-width: 180px;
  line-height: 1.3;
  color: var(--text, #1a1a1a);
}

.past-speaker-bubble-desc {
  font-size: 0.75rem;
  text-align: center;
  max-width: 180px;
  line-height: 1.35;
  color: var(--muted, #555);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.past-speaker-bubble[role="button"] {
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.past-speaker-bubble[role="button"]:hover,
.past-speaker-bubble[role="button"]:focus-visible {
  transform: translateY(-3px);
}
.past-speaker-bubble.is-expanded .past-speaker-bubble-desc {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

@media (max-width: 900px) {
  .past-speaker-bubbles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .past-speaker-bubbles {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .past-speaker-bubble-img {
    width: 140px;
    height: 140px;
  }
  .past-speaker-bubble-name {
    max-width: 140px;
  }
}

@media (max-width: 420px) {
  .past-speaker-bubbles {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }
  .past-speaker-bubble-img {
    width: 110px;
    height: 110px;
  }
  .past-speaker-bubble-name {
    max-width: 110px;
    font-size: 0.75rem;
  }
}

form {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem;
  font: inherit;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }
  .primary-nav {
    display: flex;
    grid-column: auto;
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ── Images ──────────────────────────────────────────── */

/* Card images — full-width bleed at top of card */
.card-img {
  display: block;
  width: calc(100% + 2rem);
  margin: -1rem -1rem 1rem -1rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 7px 7px 0 0;
}

/* Section-level images (hotel venue, golf outing) */
.section-img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Golf image gallery: side-by-side images for the golf section */
.golf-images {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.golf-images .golf-image,
.golf-images .golf-thumb {
  width: 50%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Responsive map embed used on the location/hotel page */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin: 1rem 0;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* On small screens: hide nav by default; show when open via hamburger */
@media (max-width: 859px) {
  .primary-nav {
    display: none;
  }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }
}

/* Theme toggle visibility: hide on small screens */
@media (max-width: 859px) {
  #theme-toggle {
    display: none !important;
  }
}

/* Slight spacing to separate theme toggle from header CTAs */
#theme-toggle {
  margin-left: 0.5rem;
}

/* Main bar placed just outside the main content for auxiliary controls */
.main-bar {
  width: 100%;
  background: transparent;
}
.main-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem 0;
}

@media (max-width: 859px) {
  .main-bar-inner {
    justify-content: flex-end;
  }
}
.golf-thumb {
  max-height: 120px;
}

@media (max-width: 600px) {
  .golf-images {
    flex-direction: column;
  }
  .golf-images .golf-image,
  .golf-images .golf-thumb {
    width: 100%;
  }
}

/* Hero photo */
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0;
}

.hero-img-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-img-layer.is-active {
  opacity: 1;
}

@media (min-width: 860px) {
  .hero-overlay-left {
    min-height: calc(100% - 2rem);
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
  }
}

.sponsor-label {
  margin-bottom: 0.5rem;
}

/* ── Countdown Timer ───────────────────────────────────────────────────── */
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.25rem;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  align-self: flex-start;
}

.countdown-expired {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Print Stylesheet ──────────────────────────────────────────────────── */
@media print {
  .site-header,
  .main-bar,
  .hero,
  .site-footer,
  .cta-row,
  .cta-band,
  .btn,
  #theme-toggle,
  #nav-toggle,
  #countdown-section {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding: 0.5rem 0;
    page-break-inside: avoid;
  }

  .card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sponsor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sponsor-logo {
  display: block;
  width: 88px;
  height: 44px;
  object-fit: contain;
}

#vendors-grid .card h3,
#vendors-teaser .card h3 {
  font-size: 0.85rem;
  margin: 0;
}

.vendor-sponsor-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
  font-style: italic;
}

/* Vendor grid: always 4 columns; compact icon-style cards on small screens */
#vendors-grid,
#vendors-teaser {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 859px) {
  #vendors-grid .card,
  #vendors-teaser .card {
    padding: 0.5rem 0.35rem;
    text-align: center;
  }
  #vendors-grid .card .card-img,
  #vendors-teaser .card .card-img {
    margin-bottom: 0.25rem;
  }
  #vendors-grid .card h3,
  #vendors-teaser .card h3 {
    font-size: 0.65rem;
    margin-top: 0.2rem;
  }
  #vendors-grid .card .vendor-sponsor-label,
  #vendors-teaser .card .vendor-sponsor-label {
    display: none; /* hide sponsor tag at small sizes to save space */
  }
}

/* Vendor page: images fill the full card content width */
#vendors-grid .card .card-img,
#vendors-teaser .card .card-img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 0;
  height: auto;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  border-radius: 6px;
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #141a2b;
  --text: #f1f5f9;
  --muted: #9aa6b3;
  --border: #3b4b60;
  --primary: #60a5fa;
  --primary-contrast: #0b1220;
}

:root[data-theme="dark"] .nav-toggle {
  display: none;
}

:root[data-theme="dark"] .skip-link,
:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .nav-toggle,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .btn,
:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea {
  background: #0b1220;
  color: var(--text);
}

:root[data-theme="dark"] .logo,
:root[data-theme="dark"] .primary-nav a {
  color: var(--text);
}

:root[data-theme="dark"] .hero-overlay-left.hero-text-dark {
  color: #000;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.55);
}

:root[data-theme="dark"] .hero-overlay-left.hero-text-dark .btn {
  background: rgba(15, 23, 42, 0.75);
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.35);
}

:root[data-theme="dark"] .hero-overlay-left.hero-text-dark .btn:hover {
  background: rgba(15, 23, 42, 0.92);
}

:root[data-theme="dark"] .hero-overlay-left.hero-text-dark .btn-primary {
  background: var(--primary);
  color: #0b1220;
  border-color: var(--primary);
}

/* Keep gold buttons gold in dark mode */
:root[data-theme="dark"] [data-event-reg].btn,
:root[data-theme="dark"] .btn-gold {
  background: var(--gold);
  color: var(--gold-contrast);
  border-color: var(--gold-border);
}

:root[data-theme="light"] {
  --bg: #f6f8fb;
  --bg-alt: #edf1f5;
  --text: #1f2933;
  --muted: #52606d;
  --border: #d9e2ec;
  --primary: #0b5ea8;
  --primary-contrast: #ffffff;
}

:root[data-theme="light"] .skip-link,
:root[data-theme="light"] .site-header,
:root[data-theme="light"] .nav-toggle,
:root[data-theme="light"] .card,
:root[data-theme="light"] .btn,
:root[data-theme="light"] input,
:root[data-theme="light"] textarea {
  background: var(--bg);
  color: var(--text);
}

:root[data-theme="light"] .logo,
:root[data-theme="light"] .primary-nav a {
  color: var(--text);
}

:root[data-theme="light"] .hero-overlay-left.hero-text-dark {
  color: #000;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.55);
}

:root[data-theme="light"] .hero-overlay-left.hero-text-dark .btn {
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  border-color: rgba(0, 0, 0, 0.2);
}

:root[data-theme="light"] .hero-overlay-left.hero-text-dark .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .hero-overlay-left.hero-text-dark .btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
}

/* Ensure alternating section backgrounds are respected in dark mode */
@media (prefers-color-scheme: dark) {
  .section {
    background: var(--bg);
  }
  .section.alt {
    background: var(--bg-alt);
  }
}

/* Register & Hotel buttons are theme-invariant — always the same brand colors.
   The selector list ensures they win over .hero-overlay and [data-theme] .btn
   overrides without needing redundant per-theme declarations. */
.btn-register,
:root[data-theme] .btn-register,
.hero-overlay-left .btn-register,
:root[data-theme] .hero-overlay-left .btn-register {
  background: #fcb040;
  color: #000000;
  border-color: #2e3192;
}

.btn-hotel,
:root[data-theme] .btn-hotel,
.hero-overlay-left .btn-hotel,
:root[data-theme] .hero-overlay-left .btn-hotel {
  background: var(--bg);
  color: var(--text);
  border-color: #fcb040;
}

:root[data-theme="dark"] .section {
  background: var(--bg);
}
:root[data-theme="dark"] .section.alt {
  background: var(--bg-alt);
}

/* Ensure At-a-Glance & Schedule cards are visible on small screens
   Force the grid to stack so the dynamically appended cards show up
   as a single column on narrow viewports. */
@media (max-width: 859px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  #seminar-cards .card {
    display: block;
  }
}

/* ── Speaker day sections ─────────────────────────────────────────────────── */
.speakers-day-heading {
  width: 100%;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-primary, #0b5ea8);
  font-size: 1.5rem;
}
.speakers-day-heading:first-child {
  margin-top: 0;
}
.speakers-day-grid {
  margin-bottom: 1rem;
}
