/*
Theme Name: IABSCON 2027 v1
Theme URI: https://iabscon2027.com
Author: Indian Academy of Biomedical Sciences
Author URI: https://iabscon2027.com
Description: Official conference theme for the International Conference on Indian Academy of Biomedical Sciences 2027, New Delhi, India. April 2027.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iabscon2027
Tags: conference, academic, biomedical, science
*/

/* =============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================= */
:root {
  --navy:        #0B1F3A;
  --navy-deep:   #071428;
  --navy-mid:    #132D52;
  --teal:        #1B7A9E;
  --teal-light:  #2A9DC5;
  --teal-pale:   #E4F4FA;
  --gold:        #C8973A;
  --gold-light:  #E8B55A;
  --gold-pale:   #FBF3E4;
  --white:       #FFFFFF;
  --off-white:   #F7F9FB;
  --text-dark:   #0E1E30;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
  --border:      #D1DCE8;
  --border-dark: #A0B4C6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', 'Georgia', serif;
  --font-sans:    'DM Sans', 'Segoe UI', sans-serif;
  --font-mono:    'Fira Mono', monospace;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(11,31,58,0.10);
  --shadow-md:   0 4px 16px rgba(11,31,58,0.12);
  --shadow-lg:   0 8px 32px rgba(11,31,58,0.16);
  --shadow-xl:   0 20px 60px rgba(11,31,58,0.20);

  --max-width:   1200px;
  --spacing-xs:  0.25rem;
  --spacing-sm:  0.5rem;
  --spacing-md:  1rem;
  --spacing-lg:  2rem;
  --spacing-xl:  4rem;
  --spacing-2xl: 6rem;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-light); }

/* =============================================
   TYPOGRAPHY SYSTEM
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-mid);
}

.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: 768px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.container-fluid { width: 100%; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* =============================================
   ELEMENTOR COMPATIBILITY
   (full-width & fluid containers, content width)
   ============================================= */
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  --container-max-width: var(--max-width);
}

/* Outer Elementor containers always stretch edge-to-edge so
   full-width and fluid sections render correctly. Elementor
   applies the boxed width on the inner container itself. */
.e-con,
.elementor-section {
  width: 100%;
  max-width: 100%;
}

/* Full-width ("fluid") Elementor containers: full bleed regardless
   of any inherited theme max-width constraint. */
.e-con.e-con-full,
.elementor-section.elementor-section-full_width {
  width: 100%;
  max-width: none;
}

/* Each widget wrapper is a size query container so inner grids can
   respond to the widget's actual (column) width, not just viewport.
   This keeps multi-column widget layouts compliant inside any
   Elementor column/container, in the editor and on the front end. */
.elementor-widget-container {
  container-type: inline-size;
}

/* Speakers widget: constrain inside full-width Elementor containers to match other pages (.container = 1200px). */
.e-con.e-con-full .speakers-wrap,
.elementor-section.elementor-section-full_width .speakers-wrap {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Container-relative collapse for widget grids. */
@container (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-content-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hero-panel { display: none; }
  .home-hero { min-height: auto; }
  .cfa-inner { grid-template-columns: 1fr; text-align: center; }
}
@container (max-width: 760px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
}
@container (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .speakers-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Widgets dropped inside Elementor columns or boxed containers already
   inherit the container's own padding — don't stack the theme
   container's 1.5rem gutters on top. Full-bleed containers (.e-con-full)
   keep the built-in gutter so edge-to-edge sections stay inset. */
.elementor-column .elementor-widget-container > .container,
.e-con.e-con-boxed .elementor-widget-container > .container,
.elementor-section-boxed .elementor-widget-container > .container {
  padding-left: 0;
  padding-right: 0;
}

/* Section-style widgets adapt to where they're placed: the standalone
   full-section treatment (large vertical padding) only applies inside a
   full-width container. Dropped into a column or boxed container they
   behave like a normal block that respects the column's own spacing. */
.elementor-column .elementor-widget-container > section.section,
.elementor-column .elementor-widget-container > section.section-sm,
.elementor-column .elementor-widget-container > section.section-lg,
.e-con.e-con-boxed .elementor-widget-container > section.section,
.e-con.e-con-boxed .elementor-widget-container > section.section-sm,
.e-con.e-con-boxed .elementor-widget-container > section.section-lg {
  padding-top: 0;
  padding-bottom: 0;
}

/* Hero widgets always bleed edge-to-edge: a full-width dark background
   even when dropped into a boxed Elementor container or a column.
   (body has overflow-x:hidden, so the 100vw break-out is safe.) */
.elementor-widget-container > section.page-hero,
.elementor-widget-container > section.home-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.section { padding: var(--spacing-2xl) 0; }
.section-sm { padding: var(--spacing-xl) 0; }
.section-lg { padding: 7rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 600px; margin: 0 auto; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive collapse for generic grids (viewport fallback for
   non-container browsers and template markup). */
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-light);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--gold);
  color: var(--navy);
}
.btn-secondary:hover {
  background: var(--gold-light);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.82rem; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-navy {
  background: var(--navy);
  border-color: var(--navy-mid);
  color: var(--white);
}
.card-navy h2, .card-navy h3, .card-navy h4 { color: var(--white); }
.card-navy p { color: rgba(255,255,255,0.8); }

.card-teal-pale { background: var(--teal-pale); border-color: rgba(27,122,158,0.2); }
.card-gold-pale { background: var(--gold-pale); border-color: rgba(200,151,58,0.2); }

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #071428 0%, #0B1F3A 50%, #132D52 100%);
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,122,158,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,122,158,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero::after {
  content: '🧬';
  position: absolute;
  right: 5%;
  bottom: -20%;
  font-size: clamp(15rem, 30vw, 30rem);
  opacity: 0.04;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }

.hero-dna {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  opacity: 0.1;
  pointer-events: none;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  position: relative;
  z-index: 1;
  background: var(--off-white);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.6;
  min-width: 0;
}
.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.breadcrumb-list a { color: var(--teal); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb-list .sep {
  color: var(--border-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 0.7rem;
  flex-shrink: 0;
  user-select: none;
}

/* =============================================
   HEADER
   ============================================= */
#topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  padding: 0.5rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-inner a { color: var(--gold); }
.topbar-info { display: flex; align-items: center; gap: 1.5rem; }
.topbar-info span { display: flex; align-items: center; gap: 0.35rem; }
.topbar-social { display: flex; gap: 0.75rem; }
.topbar-social a { color: rgba(255,255,255,0.5); font-size: 1rem; transition: color 0.2s; }
.topbar-social a:hover { color: var(--gold); }

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
}
/* Dual-logo header (requested): left logo | centered title | right logo + nav bar below */
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.header-dual { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 1rem 0; }
.header-dual .header-logo { display: flex; align-items: center; justify-content: center; }
.header-dual .header-logo img { max-height: 64px; }
.header-center { text-align: center; min-width: 0; }
.header-title-link { text-decoration: none; color: inherit; display: block; }
.header-title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.9rem); color: var(--navy); margin: 0; line-height: 1.15; }
.header-subtitle { font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }
.header-nav-bar { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); position: relative; }
.header-nav-bar .primary-nav ul { justify-content: center; gap: 0.15rem; }
.header-nav-bar .primary-nav ul li a { color: rgba(255,255,255,0.88); }
.header-nav-bar .primary-nav ul li a:hover,
.header-nav-bar .primary-nav ul li.current-menu-item a { background: rgba(255,255,255,0.1); color: var(--gold); }
.header-nav-bar .primary-nav .sub-menu { background: var(--white); }
.header-nav-bar .primary-nav .sub-menu li a { color: var(--text-mid); }
.header-centered { justify-content: center; text-align: center; }
.header-nav-centered .primary-nav ul { justify-content: center; }
@media (max-width: 992px) {
  .header-dual { grid-template-columns: auto 1fr auto; gap: 0.75rem; padding: 0.75rem 0; }
  .header-dual .header-logo img { max-height: 48px; }
  .header-title { font-size: 1.15rem; }
  .header-subtitle { font-size: 0.78rem; }
  .header-nav-bar .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1); display: none; max-height: calc(100vh - 120px); overflow-y: auto; z-index: 999; }
  .header-nav-bar .primary-nav.open { display: block; }
  .header-nav-bar .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem; }
  .header-nav-bar .primary-nav ul li a { color: rgba(255,255,255,0.88); padding: 0.75rem 1rem; }
  .header-nav-bar .sub-menu { position: static; display: none; box-shadow: none; border: none; border-left: 2px solid var(--gold); background: rgba(255,255,255,0.06) !important; margin-left: 1rem; }
  .header-nav-bar .primary-nav li.open > .sub-menu { display: block; }
}
/* Header Style: Minimal — compact, light */
.header-style-minimal #site-header { box-shadow: 0 1px 0 var(--border); }
.header-style-minimal .header-minimal { padding: 0.5rem 0; gap: 1rem; }
.header-style-minimal .header-minimal .site-logo .logo-icon { width: 40px; height: 40px; font-size: 1.1rem; }
.header-style-minimal .primary-nav ul li a { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
/* Header Style: Transparent — glass over hero */
.header-style-transparent #site-header { position: absolute; top: 0; left: 0; right: 0; background: rgba(7,20,40,0.35); backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: none; }
.header-style-transparent #topbar { background: rgba(7,20,40,0.6); backdrop-filter: blur(8px); }
.header-style-transparent .header-transparent { padding: 1rem 0; }
.header-style-transparent .header-transparent .primary-nav ul li a { color: rgba(255,255,255,0.9); }
.header-style-transparent .header-transparent .primary-nav ul li a:hover { background: rgba(255,255,255,0.12); color: var(--gold-light); }
.header-style-transparent .nav-toggle span { background: var(--white); }
/* Header Style: Boxed — contained card */
.header-style-boxed #site-header { background: transparent; border: none; box-shadow: none; padding: 0.6rem 0; }
.header-style-boxed .header-boxed { background: var(--white); }
/* Header Style: Stacked — vertical */
.header-style-stacked #site-header { background: var(--white); }
.header-style-stacked .header-stacked .header-title { color: var(--navy); }
.header-style-stacked .header-nav-bar { background: var(--off-white); border-top: 1px solid var(--border); }
/* Header Style: Elegant — gold top, underline nav */
.header-style-elegant #site-header { background: var(--white); }
.header-style-elegant .elegant-nav .nav-menu li a { position: relative; }
.header-style-elegant .elegant-nav .nav-menu li a::after { content: ''; position: absolute; bottom: -6px; left: 1rem; right: 1rem; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s; }
.header-style-elegant .elegant-nav .nav-menu li a:hover::after,
.header-style-elegant .elegant-nav .nav-menu li.current-menu-item a::after { transform: scaleX(1); }
/* Header Style: Modern — inline */
.header-style-modern #site-header { background: var(--white); border-bottom: 2px solid var(--gold-pale); }
.header-style-modern .header-modern .primary-nav ul li a { font-weight: 600; }
/* Extensibility: any header-style-{key} gets base sticky + shadow; add more via child theme + filter iabscon_header_styles */
/* More styling — enhanced buttons, cards, sections */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.btn:hover::after { opacity: 1; }
.btn-primary { background: linear-gradient(135deg, var(--teal) 0%, #0F5A7A 100%); box-shadow: 0 4px 14px rgba(27,122,158,0.25); }
.btn-secondary { background: linear-gradient(135deg, var(--gold) 0%, #B07D2A 100%); box-shadow: 0 4px 14px rgba(200,151,58,0.25); }
.card { position: relative; overflow: hidden; }
.card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.card:hover::after { transform: scaleX(1); }
.section { position: relative; }
.section::before { content: ''; position: absolute; top: 0; left: 50%; width: 100vw; margin-left: -50vw; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); opacity: 0.5; pointer-events: none; }
#site-footer { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); position: relative; overflow: hidden; }
#site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.3; }
/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.card, .theme-card, .speaker-card { animation: fadeInUp 0.5s ease both; }
.card:nth-child(2) { animation-delay: 0.05s; } .card:nth-child(3) { animation-delay: 0.1s; } .card:nth-child(4) { animation-delay: 0.15s; }
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--teal) 0%, var(--navy) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}
.site-logo .logo-text { line-height: 1.2; }
.site-logo .logo-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  display: block;
}
.site-logo .logo-text span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Primary Navigation */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.primary-nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item a {
  background: var(--off-white);
  color: var(--teal);
}
.primary-nav .menu-cta a {
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 1.25rem;
}
.primary-nav .menu-cta a:hover {
  background: var(--teal-light);
  color: var(--white);
}
.primary-nav ul li { position: relative; }
.primary-nav ul li:hover > .sub-menu,
.primary-nav ul li:focus-within > .sub-menu { display: block; }

/* Desktop: force hide unless hover/focus (fixes “not hiding” when li.open left from mobile) */
@media (min-width: 993px) {
  .primary-nav .sub-menu { display: none !important; }
  .primary-nav ul li:hover > .sub-menu,
  .primary-nav ul li:focus-within > .sub-menu,
  .header-nav-bar .primary-nav ul li:hover > .sub-menu,
  .header-nav-bar .primary-nav ul li:focus-within > .sub-menu { display: block !important; }
  /* Remove mobile open state on desktop */
  .primary-nav li.open > .sub-menu { display: none !important; }
  .primary-nav li:hover.open > .sub-menu,
  .primary-nav li:focus-within.open > .sub-menu { display: block !important; }
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 100;
  min-width: 200px;
  padding: 0.5rem;
}
.sub-menu li a {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Responsive navigation */
@media (max-width: 992px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 999;
  }
  .primary-nav.open { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
  }
  .primary-nav ul li a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }
  .primary-nav ul li a:hover,
  .primary-nav ul li.current-menu-item a { background: var(--off-white); }

  .primary-nav .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--teal);
    padding: 0 0 0 1rem;
    margin: 0 0 0 1rem;
    min-width: 0;
  }
  .primary-nav li.open > .sub-menu { display: block; }
  .primary-nav li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: auto;
    float: right;
    font-size: 0.7rem;
    color: var(--text-muted);
  }
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   COMPONENT: ALERTS
   ============================================= */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}
.alert-icon { font-size: 1.2rem; flex-shrink: 0; }
.alert-info {
  background: var(--teal-pale);
  border: 1px solid rgba(27,122,158,0.2);
  color: var(--text-mid);
}

/* =============================================
   COMPONENT: TABS / UNDERLINE NAV
   ============================================= */
.tab-nav {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.tab-nav a:hover { color: var(--teal); }
.tab-nav a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* =============================================
   COMPONENT: PROGRAM / SCHEDULE
   ============================================= */
.program-day { margin-bottom: 3rem; }
.program-day:last-child { margin-bottom: 0; }
.program-day h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 1rem;
}
.program-slot {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.program-slot:last-child { border-bottom: none; }
.program-time {
  flex: 0 0 120px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  padding-top: 0.1rem;
}
.program-desc { flex: 1; }
.program-desc h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.program-desc p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}
.program-desc .speaker {
  font-size: 0.78rem;
  color: var(--teal);
  font-style: italic;
}

/* =============================================
   COMPONENT: SPEAKERS GRID
   ============================================= */
.speaker-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.speaker-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--teal-pale);
}
.speaker-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.speaker-card .speaker-title {
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.speaker-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* =============================================
   COMPONENT: COUNTDOWN
   ============================================= */
.countdown-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.countdown-item {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   COMPONENT: WORKSHOPS
   ============================================= */
.workshop-card {
  padding: 1.5rem;
  border-left: 3px solid var(--teal);
}
.workshop-card h4 { font-family: var(--font-sans); font-size: 0.95rem; margin-bottom: 0.25rem; }
.workshop-card .workshop-meta {
  font-size: 0.78rem;
  color: var(--teal);
  font-family: var(--font-sans);
  margin-bottom: 0.75rem;
}
.workshop-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* =============================================
   COMPONENT: VENUE MAP
   ============================================= */
.venue-map-placeholder {
  background: var(--teal-pale);
  border: 2px dashed rgba(27,122,158,0.3);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  font-family: var(--font-sans);
  color: var(--teal);
}
.venue-map-placeholder i { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* =============================================
   COMPONENT: PRICING TABLE
   ============================================= */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-pale);
}
.pricing-header {
  background: var(--off-white);
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-header h4 { font-family: var(--font-sans); font-size: 0.88rem; margin-bottom: 0.5rem; }
.pricing-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
}
.pricing-features { padding: 1.5rem; }
.pricing-features ul { list-style: none; }
.pricing-features ul li {
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-features ul li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

/* =============================================
   COMPONENT: FAQ
   ============================================= */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-question {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* =============================================
   FORM ELEMENTS
   ============================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,122,158,0.15);
}
label { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* =============================================
   WORDPRESS CORE ALIGNMENTS
   ============================================= */
.alignnone { margin: 0.5rem 0.5rem 0.5rem 0; }
.aligncenter { display: block; margin: 0 auto 0.5rem; text-align: center; }
.alignright { float: right; margin: 0.5rem 0 0.5rem 1rem; }
.alignleft { float: left; margin: 0.5rem 1rem 0.5rem 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-muted); font-style: italic; margin-top: 0.5rem; }

/* =============================================
   UTILITY — BACKGROUND
   ============================================= */
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-teal-pale { background: var(--teal-pale); }
.bg-gold-pale { background: var(--gold-pale); }
.bg-navy { background: var(--navy); }

/* =============================================
   UTILITY — TEXT COLOR
   ============================================= */
.text-white { color: var(--white); }
.text-mid { color: var(--text-mid); }
.text-dark { color: var(--text-dark); }
.text-white-50 { color: rgba(255,255,255,0.5); }
.text-white-60 { color: rgba(255,255,255,0.6); }
.text-white-75 { color: rgba(255,255,255,0.75); }

/* =============================================
   UTILITY — FONT
   ============================================= */
.font-sans { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

/* =============================================
   UTILITY — FONT SIZE
   ============================================= */
.fs-78 { font-size: 0.78rem; }
.fs-82 { font-size: 0.82rem; }
.fs-85 { font-size: 0.85rem; }
.fs-88 { font-size: 0.88rem; }
.fs-95 { font-size: 0.95rem; }

/* =============================================
   UTILITY — FONT WEIGHT
   ============================================= */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* =============================================
   UTILITY — SPACING (MARGIN)
   ============================================= */
.mt-0 { margin-top: 0; }
.mt-025 { margin-top: 0.25rem; }
.mt-035 { margin-top: 0.35rem; }
.mt-05 { margin-top: 0.5rem; }
.mt-075 { margin-top: 0.75rem; }
.mt-1 { margin-top: 1rem; }
.mt-125 { margin-top: 1.25rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-175 { margin-top: 1.75rem; }
.mt-2 { margin-top: 2rem; }
.mt-25 { margin-top: 2.5rem; }

.mb-0 { margin-bottom: 0; }
.mb-015 { margin-bottom: 0.15rem; }
.mb-02 { margin-bottom: 0.2rem; }
.mb-025 { margin-bottom: 0.25rem; }
.mb-035 { margin-bottom: 0.35rem; }
.mb-04 { margin-bottom: 0.4rem; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-075 { margin-bottom: 0.75rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-125 { margin-bottom: 1.25rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-175 { margin-bottom: 1.75rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-25 { margin-bottom: 2.5rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-35 { margin-bottom: 3.5rem; }

.mr-035 { margin-right: 0.35rem; }
.mr-04 { margin-right: 0.4rem; }
.mr-05 { margin-right: 0.5rem; }
.mr-075 { margin-right: 0.75rem; }
.mr-1 { margin-right: 1rem; }

.my-05 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-1 { margin-top: 1rem; margin-bottom: 1rem; }
.my-2 { margin-top: 2rem; margin-bottom: 2rem; }
.my-25 { margin-top: 2.5rem; margin-bottom: 2.5rem; }

/* =============================================
   UTILITY — SPACING (PADDING)
   ============================================= */
.p-0 { padding: 0; }
.p-05 { padding: 0.5rem; }
.p-075 { padding: 0.75rem; }
.p-1 { padding: 1rem; }
.p-125 { padding: 1.25rem; }
.p-15 { padding: 1.5rem; }
.p-175 { padding: 1.75rem; }
.p-2 { padding: 2rem; }
.p-25 { padding: 2.5rem; }
.p-3 { padding: 3rem; }

.pt-0 { padding-top: 0; }
.pt-05 { padding-top: 0.5rem; }
.pt-075 { padding-top: 0.75rem; }
.pt-1 { padding-top: 1rem; }
.pt-125 { padding-top: 1.25rem; }
.pt-15 { padding-top: 1.5rem; }
.pt-2 { padding-top: 2rem; }

.pb-0 { padding-bottom: 0; }
.pb-05 { padding-bottom: 0.5rem; }
.pb-075 { padding-bottom: 0.75rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-125 { padding-bottom: 1.25rem; }
.pb-15 { padding-bottom: 1.5rem; }
.pb-2 { padding-bottom: 2rem; }

.px-05 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-075 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-1 { padding-left: 1rem; padding-right: 1rem; }
.px-15 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-2 { padding-left: 2rem; padding-right: 2rem; }

.py-025 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-03 { padding-top: 0.3rem; padding-bottom: 0.3rem; }
.py-05 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-0625 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-075 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-0875 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-09 { padding-top: 0.9rem; padding-bottom: 0.9rem; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-11 { padding-top: 1.1rem; padding-bottom: 1.1rem; }
.py-125 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-15 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* =============================================
   UTILITY — BORDERS
   ============================================= */
.border-b { border-bottom: 1px solid var(--border); }
.border-b-2 { border-bottom: 2px solid var(--border); }
.border-b-gold { border-bottom: 2px solid var(--gold); }
.border-b-teal { border-bottom: 1px solid rgba(27,122,158,0.2); }
.border-t { border-top: 1px solid var(--border); }
.border-t-light { border-top: 1px solid rgba(255,255,255,0.08); }
.border-b-light { border-bottom: 1px solid rgba(255,255,255,0.08); }

/* =============================================
   UTILITY — FLEX
   ============================================= */
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-035 { gap: 0.35rem; }
.gap-05 { gap: 0.5rem; }
.gap-075 { gap: 0.75rem; }
.gap-1 { gap: 1rem; }
.gap-125 { gap: 1.25rem; }
.gap-15 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }
.gap-4 { gap: 4rem; }
.gap-5 { gap: 5rem; }

/* =============================================
   UTILITY — WIDTH
   ============================================= */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-60 { width: 60px; }
.w-80 { width: 80px; }
.w-120 { width: 120px; }

/* =============================================
   UTILITY — HEIGHT
   ============================================= */
.h-60 { height: 60px; }

/* =============================================
   UTILITY — ALIGNMENT
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* =============================================
   UTILITY — DISPLAY
   ============================================= */
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

/* =============================================
   UTILITY — MISC
   ============================================= */
.opacity-70 { opacity: 0.7; }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.list-none { list-style: none; }
.text-decoration-none { text-decoration: none; }
.font-style-italic { font-style: italic; }
.text-uppercase { text-transform: uppercase; }
.ls-01 { letter-spacing: 0.1em; }
.ls-005 { letter-spacing: 0.05em; }
.ls-008 { letter-spacing: 0.08em; }
.leading-1 { line-height: 1; }
.leading-15 { line-height: 1.5; }
.leading-185 { line-height: 1.85; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.justify-center { justify-content: center; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-self-start { align-self: start; }
.rounded-full { border-radius: 50%; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-md { border-radius: var(--radius-md); }
.shadow-md { box-shadow: var(--shadow-md); }
.transition-all { transition: all 0.2s; }
.overflow-x-auto { overflow-x: auto; }
.object-fit-cover { object-fit: cover; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.block { display: block; }
.inline-flex { display: inline-flex; }

/* =============================================
   UTILITY — ADDITIONAL FONT SIZES
   ============================================= */
.fs-06em { font-size: 0.6em; }
.fs-07 { font-size: 0.7rem; }
.fs-072 { font-size: 0.72rem; }
.fs-075 { font-size: 0.75rem; }
.fs-08 { font-size: 0.8rem; }
.fs-09 { font-size: 0.9rem; }
.fs-1 { font-size: 1rem; }
.fs-105 { font-size: 1.05rem; }
.fs-115 { font-size: 1.15rem; }
.fs-12 { font-size: 1.2rem; }
.fs-125 { font-size: 1.25rem; }
.fs-13 { font-size: 1.3rem; }
.fs-16 { font-size: 1.6rem; }
.fs-175 { font-size: 1.75rem; }
.fs-18 { font-size: 1.8rem; }
.fs-15 { font-size: 1.5rem; }
.fs-2 { font-size: 2rem; }
.fs-25 { font-size: 2.5rem; }
.fs-3 { font-size: 3rem; }
.fs-05em { font-size: 0.5em; }
.fs-11 { font-size: 1.1rem; }
.fs-083 { font-size: 0.83rem; }

/* =============================================
   UTILITY — ADDITIONAL SPACING
   ============================================= */
.mt-175 { margin-top: 1.75rem; }
.mt-3 { margin-top: 3rem; }
.mb-35 { margin-bottom: 3.5rem; }
.ml-05 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0 { margin-left: 0; margin-right: 0; }

.pt-3 { padding-top: 3rem; }
.pt-4 { padding-top: 4rem; }
.pb-3 { padding-bottom: 3rem; }
.pb-4 { padding-bottom: 4rem; }
.pb-075 { padding-bottom: 0.75rem; }
.px-025 { padding-left: 0.25rem; padding-right: 0.25rem; }
.py-04 { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.bottom-4 { bottom: 4px; }
.right-4 { right: 4px; }

/* =============================================
   UTILITY — WIDTH
   ============================================= */
.w-32 { width: 32px; }
.w-42 { width: 42px; }
.w-48 { width: 48px; }
.w-60 { width: 60px; }
.w-80 { width: 80px; }
.w-120 { width: 120px; }
.w-30p { width: 30%; }
.w-40p { width: 40%; }
.w-50p { width: 50%; }
.w-100p { width: 100%; }
.max-w-600 { max-width: 600px; }
.max-w-680 { max-width: 680px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-1200 { max-width: 1200px; }

/* =============================================
   UTILITY — HEIGHT
   ============================================= */
.h-32 { height: 32px; }
.h-42 { height: 42px; }
.h-48 { height: 48px; }
.h-60 { height: 60px; }
.h-120 { height: 120px; }

/* =============================================
   UTILITY — BORDERS
   ============================================= */
.border { border: 1px solid var(--border); }
.border-4 { border-width: 4px; }
.border-teal { border-color: var(--teal); }
.border-gold { border-color: var(--gold); }
.border-white { border-color: var(--white); }
.border-top-4 { border-top-width: 4px; }
.border-top-4-solid { border-top: 4px solid; }
.border-top-gold { border-top-color: var(--gold); }
.border-top-navy { border-top-color: var(--navy); }
.border-r { border-right: 1px solid var(--border); }
.border-collapse { border-collapse: collapse; }
.grid-legend { display: grid; grid-template-columns: 140px 1fr; gap: 0; border-radius: var(--radius-md); }

/* Card link (prev/next) */
.card-link { text-decoration: none; transition: all 0.3s; }

/* Schedule tab buttons */
.schedule-tab {
  padding: 0.875rem 1.75rem;
  border: none;
  background: none;
  font-size: 0.92rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s;
}

/* =============================================
    RESPONSIVE UTILITIES & MOBILE FIXES
    ============================================= */
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4rem 0; }
  /* Topbar stacks on mobile — prevents horizontal overflow */
  #topbar .topbar-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  #topbar .topbar-info { flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: 0.72rem; }
  /* Hero / page-hero text scales */
  .page-hero { min-height: 32vh; }
  .page-hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  /* Brochure viewer: clamp height to viewport */
  .brochure-viewer-widget .brochure-frame iframe { height: clamp(420px, 62vh, 720px) !important; }
  .brochure-header-card { flex-direction: column; }
  /* About / City-Venue grids force single column on narrow viewports (outside Elementor container queries) */
  .about-widget .grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .city-venue-widget .grid-2 { grid-template-columns: 1fr !important; }
  /* Tables already overflow-x:auto — add momentum scroll */
  .about-latest-table { -webkit-overflow-scrolling: touch; }
  /* Ensure long award/conference names wrap */
  .card, .brochure-header-card { word-break: break-word; }
}
@media (min-width: 769px) { .hide-desktop { display: none; } }
@media (max-width: 480px) {
  #topbar { font-size: 0.7rem; padding: 0.4rem 0; }
  .container { padding: 0 1rem; }
  .header-dual { gap: 0.5rem; padding: 0.6rem 0; }
  .header-dual .header-logo img { max-height: 40px; }
  .header-title { font-size: 1rem; line-height: 1.1; }
  .header-subtitle { font-size: 0.7rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.82rem; }
  .brochure-viewer-widget .brochure-frame iframe { height: 52vh !important; min-height: 380px; }
  .hs-carousel { height: 52vh !important; }
  .page-hero .hero-dna { display: none; }
}
@media (max-width: 360px) {
  .header-dual { grid-template-columns: 1fr auto; }
  .header-dual .header-logo-right { display: none; }
  .countdown-item { width: 68px; height: 68px; }
}
/* Footer + newsletter + message cards — stack on tablet/mobile */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; justify-content: center; }
  .footer-bottom-links { justify-content: center; }
  .footer-newsletter .newsletter-form { flex-direction: column; }
  .footer-newsletter .newsletter-form input { width: 100%; }
  .footer-newsletter .newsletter-form button { width: 100%; }
  /* Organizing secretary & committee cards — tighten large mobile gaps */
  .os-message-card, .os-message-card--committee { grid-template-columns: 1fr !important; gap: 1rem; padding: 1.25rem; }
  .os-message .os-message-header { margin-bottom: 1rem !important; }
  .os-message-body::before { font-size: 2.2rem; margin-bottom: 0.25rem; }
  .os-message-signature { margin-top: 1rem !important; padding-top: 0.85rem !important; }
  .ctree .ctree-header { margin-bottom: 1rem !important; }
  .ctree-level { padding: 0.5rem 0 !important; }
  .ctree-row { gap: 1rem !important; }
  .ctree-card { padding: 1rem 0.9rem !important; }
  .committee-grid, .ctree-body { gap: 1rem !important; }
  /* Section padding tighter for dense committee pages */
  .os-message + .section, .ctree + .section, section:has(.os-message-card), section:has(.ctree) { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  /* Hero scroller overlay tightens */
  .hs-carousel .hs-overlay { width: 92%; padding: 0 0.5rem; }
  .hs-carousel .hs-overlay h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .hs-carousel .hs-overlay p { font-size: 0.9rem; line-height: 1.6; }
  .hs-carousel .hs-overlay .hs-eyebrow { font-size: 0.72rem; }
  .hs-carousel .hs-caption { font-size: 0.72rem; left: 0.75rem; bottom: 1rem; right: 0.75rem; max-width: calc(100% - 1.5rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* Stats / countdown tighter */
  .stats-bar-inner { gap: 1rem; }
  /* Pricing / program stacks already via grid-2/3 fallback, ensure full width */
  .pricing-card { max-width: 100%; }
  /* === Audit: other pages — About / City-Venue / Awards / Brochure — reduce large section gaps on mobile === */
  .section { padding: 2rem 0 !important; }
  .section-sm { padding: 1.5rem 0 !important; }
  .section-header { margin-bottom: 1.25rem !important; }
  .grid { gap: 1rem !important; }
  /* About widget: 7+ stacked sections — tighten */
  .about-widget .section { padding: 1.6rem 0 !important; }
  .about-widget .section-header { margin-bottom: 1rem !important; }
  .about-widget .grid { gap: 0.85rem !important; }
  /* City & Venue widget: 4 sections with gap-5 (5rem) */
  .city-venue-widget .section { padding: 1.6rem 0 !important; }
  .city-venue-widget .grid { gap: 1rem !important; }
  /* Brochure viewer: header card + frame */
  .brochure-viewer-widget .section { padding: 1.4rem 0 !important; }
  /* Generic cards tighter on mobile */
  .card { padding: 1.1rem !important; }
  /* Program schedule / timeline / workshops gaps */
  .program-day { margin-bottom: 1.2rem !important; }
  .timeline-item { gap: 1rem !important; }
}
@media (max-width: 360px) {
  .hs-carousel .hs-dots { bottom: 0.9rem; gap: 0.4rem; }
  .hs-carousel .hs-dot { width: 9px; height: 9px; }
  .hs-carousel .hs-counter { font-size: 0.72rem; padding: 0.25rem 0.6rem; }
  .footer-grid { gap: 1.5rem; }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
/* Skip link — off-canvas until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999999;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid var(--teal-light);
  outline-offset: -3px;
}

/* Visible keyboard focus indicators */
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
}

/* Visually hidden utility */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   MISSING UTILITIES + COMPONENTS
   (used by Elementor widgets but previously undefined)
   ============================================= */
.m-0 { margin: 0; }
.inline-block { display: inline-block; }
.mb-03 { margin-bottom: 0.3rem; }
.fs-085 { font-size: 0.85rem; }
.required { color: var(--gold); font-weight: 700; }

/* FAQ ACCORDION */
.iabscon-faq { max-width: 860px; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
}
.accordion-trigger:hover,
.accordion-trigger.active { color: var(--teal); }
.accordion-icon {
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.accordion-trigger.active .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* STATS COUNTER (renders on .stats-bar navy background) */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.stat-number .fs-06em { font-size: 0.6em; color: var(--gold-light); }
.stat-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
}

/* CTA BANNER BADGE */
.cfa-banner .badge,
.badge-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

/* WIDGET FORM FALLBACK */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
}
.form-hint {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* FULL-SCREEN SLIDESHOW */
.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--navy-deep);
}
.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.slideshow-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: transform 0.8s ease, opacity 0.8s ease, visibility 0.8s ease;
}
.slideshow-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transform: scale(1);
}
.slideshow-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11,31,58,0.55);
  z-index: 1;
}
.slideshow-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.slideshow-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.slideshow-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.slideshow-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2rem;
}
.slideshow-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--gold);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.slideshow-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.slideshow-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.slideshow-prev { left: 1.25rem; }
.slideshow-next { right: 1.25rem; }
.slideshow-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}
.slideshow-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.slideshow-dot:hover { transform: scale(1.15); }
.slideshow-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

/* Slide transition */
.slideshow-slide { transition: transform 0.8s ease, opacity 0.8s ease, visibility 0.8s ease; }

@media (max-width: 768px) {
  .slideshow-arrow { width: 40px; height: 40px; }
  .slideshow-prev { left: 0.75rem; }
  .slideshow-next { right: 0.75rem; }
  .slideshow-content { padding: 2rem 1.25rem; }
}

/* FULL-WIDTH IMAGE SCROLLER (hero carousel) */
.hs-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-deep);
}
.hs-carousel .hs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(27,122,158,0.22) 0%, transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(200,151,58,0.16) 0%, transparent 50%),
    linear-gradient(145deg, #071428 0%, #0B1F3A 45%, #0E2D4F 75%, #0A3355 100%);
  pointer-events: none;
}
.hs-carousel.hs-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hs-carousel .hs-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hs-carousel .hs-track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.hs-carousel .hs-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hs-carousel .hs-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-carousel .hs-slide.is-active img.kenburns {
  animation: hs-kenburns 8s ease-out forwards;
}
@keyframes hs-kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hs-carousel .hs-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7,20,40,0.25) 0%, rgba(7,20,40,0.05) 45%, rgba(7,20,40,0.55) 100%);
  pointer-events: none;
}
.hs-carousel .hs-caption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(11,31,58,0.65);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.hs-carousel .hs-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  max-width: 820px;
  width: 90%;
  text-align: center;
  color: var(--white);
  pointer-events: none;
}
.hs-carousel .hs-overlay .hs-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
}
.hs-carousel .hs-overlay h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(7,20,40,0.6);
}
.hs-carousel .hs-overlay p {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin: 0;
  text-shadow: 0 1px 12px rgba(7,20,40,0.55);
}
.hs-carousel .hs-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.15);
}
.hs-carousel .hs-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.hs-carousel .hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hs-carousel .hs-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.06);
}
.hs-carousel .hs-prev { left: 1.5rem; }
.hs-carousel .hs-next { right: 1.5rem; }
.hs-carousel .hs-dots {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.6rem;
}
.hs-carousel .hs-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hs-carousel .hs-dot:hover { transform: scale(1.15); }
.hs-carousel .hs-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}
.hs-carousel .hs-counter {
  position: absolute;
  right: 1.5rem;
  bottom: 1.4rem;
  z-index: 4;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(11,31,58,0.55);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.hs-carousel .hs-counter-current { color: var(--gold); }
.hs-carousel .hs-counter-total::before { content: "/"; margin-right: 0.35rem; color: rgba(255,255,255,0.5); }
@media (max-width: 768px) {
  .hs-carousel .hs-arrow { width: 40px; height: 40px; font-size: 0.85rem; }
  .hs-carousel .hs-prev { left: 0.75rem; }
  .hs-carousel .hs-next { right: 0.75rem; }
  .hs-carousel .hs-caption { left: 1rem; bottom: 1.5rem; }
  .hs-carousel .hs-counter { right: 1rem; bottom: 1.5rem; }
}

/* ORGANIZING SECRETARY MESSAGE */
.os-message .os-message-header { margin-bottom: 2rem; }
.os-message-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--white);
  border: 1px solid rgba(200,151,58,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(11,31,58,0.08);
}
.os-message-card.os-message-photo-top {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.os-message-card--committee { grid-template-columns: 340px 1fr; }
.os-message-card--committee.os-message-photo-top { grid-template-columns: 1fr; }
.os-message-photo--committee { width: 100%; }
.os-message-photo--committee .card { padding: 1.25rem; }
.os-message-photo--committee img.w-60 { width: 60px !important; height: 60px !important; min-width: 60px !important; min-height: 60px !important; border-width: 2px !important; box-shadow: none !important; }
.os-message-photo figure {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.os-message-photo figure { overflow: visible; }
.os-message-photo img {
  width: 220px !important;
  height: 220px !important;
  min-width: 220px;
  min-height: 220px;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%);
  border: 5px solid var(--gold) !important;
  box-shadow: 0 0 0 6px var(--gold-pale), 0 12px 28px rgba(11,31,58,0.18);
  display: block;
  overflow: hidden;
}
.os-message-photo-top .os-message-photo img {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px;
  min-height: 240px;
  border-width: 6px !important;
}
.os-message-photo figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.os-message-photo figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.os-message-photo figcaption span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.os-message-body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--navy);
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.os-message-body p { margin: 0 0 1rem; }
.os-message-body p:last-child { margin-bottom: 0; }
.os-message-body::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.os-message-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gold-pale);
}
.os-message-signature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}
.os-message-signature span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 0.25rem;
}
.os-message-signature .os-message-institution {
  color: var(--navy-mid);
  font-weight: 400;
}
.os-message-photo-top .os-message-signature { text-align: center; }

@media (max-width: 768px) {
  .os-message-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .os-message-photo img { width: 180px !important; height: 180px !important; min-width: 180px; min-height: 180px; margin: 0 auto; display: block; }
  .os-message-photo-top .os-message-photo img { width: 180px !important; height: 180px !important; min-width: 180px; min-height: 180px; }
}

/* COMMITTEE TREE */
.ctree { position: relative; }
.ctree .ctree-header { margin-bottom: 2.5rem; }
.ctree-body { display: flex; flex-direction: column; gap: 0; }
.ctree-level { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1rem 0; }
.ctree-tier-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 auto 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy);
  white-space: nowrap;
}
.ctree-tier-label::before,
.ctree-tier-label::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ctree-tier-label::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.ctree-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.25rem;
  width: 100%;
}
.ctree-node {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.ctree-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid rgba(200,151,58,0.28);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ctree-node:hover .ctree-card {
  transform: translateY(-6px);
}
.ctree-avatar-wrap { position: relative; margin-bottom: 1rem; }
.ctree-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  overflow: hidden;
  background: var(--teal-pale);
  box-shadow: 0 8px 22px rgba(11,31,58,0.16);
}
.ctree-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ctree-avatar-initials {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.6rem;
}
.ctree-node.ctree-xxl .ctree-avatar-initials { font-size: 2.2rem; }
.ctree-node.ctree-xl .ctree-avatar-initials { font-size: 2rem; }
.ctree-node.ctree-lg .ctree-avatar-initials { font-size: 1.7rem; }
.ctree-node.ctree-md .ctree-avatar-initials { font-size: 1.5rem; }
.ctree-node.ctree-sm .ctree-avatar-initials { font-size: 1.15rem; }
.ctree-node.ctree-xxl .ctree-card { padding: 2rem 1.75rem 1.8rem; }
.ctree-node.ctree-xl .ctree-card { padding: 1.75rem 1.5rem 1.6rem; }
.ctree-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  box-shadow: 0 3px 10px rgba(200,151,58,0.4);
  white-space: nowrap;
}
.ctree-role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.ctree-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 0.35rem;
}
.ctree-node.ctree-xxl .ctree-name { font-size: 1.45rem; }
.ctree-node.ctree-xl .ctree-name { font-size: 1.25rem; }
.ctree-node.ctree-lg .ctree-name { font-size: 1.15rem; }
.ctree-node.ctree-sm .ctree-name { font-size: 0.95rem; }
.ctree-inst {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--navy-mid);
  line-height: 1.45;
  margin: 0;
  max-width: 200px;
}
/* Tree connectors */
.ctree-connector {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 0.35rem;
}
.ctree-connector-v {
  width: 0;
  height: 44px;
  border-left: 2px solid var(--gold);
}
.ctree-connect-dashed .ctree-connector-v { border-left-style: dashed; }
.ctree-connect-dotted .ctree-connector-v { border-left-style: dotted; }
.ctree-level:not(:first-child) .ctree-tier-label::before,
.ctree-level:not(:first-child) .ctree-tier-label::after {
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ctree-level:not(:first-child) .ctree-tier-label::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
@media (max-width: 640px) {
  .ctree-row { gap: 1.25rem; }
  .ctree-card { padding: 1.1rem 0.9rem 1rem; }
}

/* =============================================
   MORE STYLING — Conference Theme Polish
   ============================================= */
#topbar { background: linear-gradient(90deg, var(--navy-deep) 0%, #0A1E3A 100%); border-bottom: 1px solid rgba(200,151,58,0.12); }
#topbar a:hover { color: var(--gold-light); }
#site-header.header-style-dual { border-bottom: 2px solid var(--gold-pale); }
#site-header.header-style-minimal { box-shadow: 0 2px 20px rgba(11,31,58,0.06); }
.header-nav-bar { box-shadow: 0 4px 12px rgba(11,31,58,0.08); }
.btn { letter-spacing: 0.03em; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary:hover { transform: translateY(-1px); }
input, select, textarea { border-radius: var(--radius-md); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,58,0.15); }
table.w-full thead th { letter-spacing: 0.04em; }
.notice-box {border: 1px solid rgba(200,151,58,0.15); }
.footer-grid { position: relative; }
.footer-grid::before { content: ''; position: absolute; top: -2rem; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,151,58,0.2), transparent); }
/* Header style transparent - hero offset */
.header-style-transparent + .page-hero,
.header-style-transparent + .home-hero { margin-top: -80px; padding-top: 80px; }

/* Flag (fixes Windows ???? for 🇮🇳) */
.flag-img { width:20px; height:14px; object-fit:cover; border-radius:2px; box-shadow:0 1px 3px rgba(0,0,0,0.2); vertical-align:middle; display:inline-block; }
.flag-badge { position:absolute; bottom:4px; right:4px; width:28px; height:28px; background:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(11,31,58,0.18); border:2px solid var(--white); overflow:hidden; }
.flag-badge .flag-img { width:22px; height:16px; border-radius:0; box-shadow:none; }
.flag-emoji { font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif; }
/* Awards */
.awards-grid { align-items: stretch; }
.award-card { position:relative; overflow:hidden; display:flex; flex-direction:column; }
.award-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--gold), var(--teal)); transform:scaleX(0); transform-origin:left; transition:transform 0.3s; }
.award-card:hover::before { transform:scaleX(1); }
.award-card--clickable { cursor:pointer; }
.award-card--clickable:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.award-image { transition: transform 0.3s; }
.award-card:hover .award-image { transform:scale(1.02); }
.award-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:1.5rem; }
.award-modal[hidden] { display:none !important; }
.award-modal-backdrop { position:absolute; inset:0; background:rgba(7,20,40,0.65); backdrop-filter:blur(4px); }
.award-modal-card { position:relative; background:var(--white); border-radius:var(--radius-lg); max-width:640px; width:100%; max-height:90vh; overflow-y:auto; box-shadow:var(--shadow-xl); z-index:1; animation:fadeInUp 0.3s ease; }
.award-modal-close { position:absolute; top:12px; right:12px; width:32px; height:32px; border:none; background:var(--off-white); border-radius:50%; font-size:1.4rem; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
.award-modal-close:hover { background:var(--border); color:var(--navy); }
/* Speaker popup */
.speaker-card--clickable { cursor:pointer; transition: transform 0.2s, box-shadow 0.2s; }
.speaker-card--clickable:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.speaker-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:1.5rem; }
.speaker-modal[hidden] { display:none !important; }
.speaker-modal-backdrop { position:absolute; inset:0; background:rgba(7,20,40,0.65); backdrop-filter: blur(4px); }
.speaker-modal-card { position:relative; background:var(--white); border-radius:var(--radius-lg); max-width:560px; width:100%; max-height:90vh; overflow-y:auto; box-shadow:var(--shadow-xl); z-index:1; animation: fadeInUp 0.3s ease; }
.speaker-modal-close { position:absolute; top:12px; right:12px; width:32px; height:32px; border:none; background:var(--off-white); border-radius:50%; font-size:1.4rem; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--text-muted); }
.speaker-modal-close:hover { background:var(--border); color:var(--navy); }
.speaker-modal-header { text-align:center; padding:2rem 1.5rem 1.25rem; border-bottom:1px solid var(--border); background:linear-gradient(135deg,var(--off-white) 0%, #fff 100%); }
.speaker-modal-photo { width:96px; height:96px; border-radius:50%; object-fit:cover; border:4px solid var(--gold); display:block; margin:0 auto 0.75rem; }
.speaker-modal-name { font-family:var(--font-display); font-size:1.35rem; color:var(--navy); margin:0.5rem 0 0.2rem; }
.speaker-modal-role, .speaker-modal-inst { font-family:var(--font-sans); font-size:0.85rem; color:var(--text-muted); margin:0; }
.speaker-modal-body { padding:1.5rem; font-size:0.92rem; line-height:1.7; color:var(--text-mid); }
.speaker-modal-topic { background:var(--teal-pale); border-left:3px solid var(--teal); padding:0.75rem 1rem; border-radius:var(--radius-sm); margin-bottom:1rem; font-style:italic; }
.speaker-modal-details { background:var(--off-white); border-radius:var(--radius-md); padding:1rem; }
.speaker-modal-details ul { margin:0; padding-left:1.25rem; }
.speaker-modal-details li { margin-bottom:0.35rem; }
/* Speakers containment fix */
.grid > *, .speakers-grid > *, .themes-grid > * { min-width:0; }
.container .grid,
.container .speakers-grid,
.container .themes-grid { max-width:100%; width:100%; box-sizing:border-box; }
section .container { overflow: visible; }
.speaker-card, .card { overflow:hidden; word-wrap:break-word; }

/* =============================================
   RECOMMENDED HOTELS & ACCOMMODATION
   ============================================= */
.hotel-group { margin-bottom: 2.25rem; }
.hotel-group:last-child { margin-bottom: 0; }
.hotel-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 0.9rem; margin-bottom: 0.85rem; }
.hotel-group-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.hotel-tag {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-pale, #FBF3E4);
  border: 1px solid rgba(200,151,58,0.35);
  color: var(--gold, #C8973A);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hotel-intro { font-family: var(--font-sans); font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); max-width: 60rem; }
.hotels-table { border-collapse: collapse; font-family: var(--font-sans); }
.hotels-table thead th {
  background: var(--navy, #0B1F3A);
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hotels-table thead th:first-child { border-top-left-radius: var(--radius-md); }
.hotels-table thead th:last-child { border-top-right-radius: var(--radius-md); }
.hotels-table tbody td {
  padding: 0.68rem 1rem;
  border-bottom: 1px solid rgba(11,31,58,0.08);
  font-size: 0.9rem;
  color: var(--text-mid, #374151);
  vertical-align: top;
}
.hotels-table tbody tr:nth-child(even) { background: #f8fafc; }
.hotels-table tbody tr:hover { background: var(--gold-pale, #FBF3E4); }
.hotels-table tbody tr:last-child td { border-bottom: 1px solid rgba(200,151,58,0.25); }
@media (max-width: 640px) {
  .hotels-table thead th,
  .hotels-table tbody td { padding: 0.55rem 0.7rem; font-size: 0.82rem; }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
  #topbar, #site-header, #site-footer, .btn { display: none; }
  body { font-size: 12pt; }
}
