:root {
    --primary-dark: #002169;
    --primary-main: #0047ba;
    --secondary-light: #00b2e3;
    --accent-light: #54c8e8;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --background-light: #f8f9fa;
    --background-card: #ffffff;
    --border-color: #0047ba;
    --shadow-color: rgba(0, 71, 186, 0.1);

    --background-dark-theme: #0d1117;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --border-radius: 12px;
    --mobile-header-height: 60px;
    --transition-speed: 0.3s;
}

body[data-theme="dark"] {
    --text-dark: #c9d1d9;
    --background-light: var(--background-dark-theme);
    --background-card: #161b22;
    --border-color: #0047ba;
    --primary-main: #1f6feb;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --primary-dark: #0d2d6e;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-weight: 300;
}

body.is-mobile {
    padding-top: var(--mobile-header-height);
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- CURTAIN EFFECT --- */
#curtain-left, #curtain-right {
    position: fixed;
    top: 0; bottom: 0;
    width: 51vw;
    background: linear-gradient(to right, #002169 90%, #0047ba 100%);
    z-index: 9998;
    transition: transform 1.1s cubic-bezier(.8,0,.2,1);
    pointer-events: none;
}
#curtain-left { left: 0; border-right: 1px solid #54c8e8; transform: translateX(0);}
#curtain-right { right: 0; border-left: 1px solid #54c8e8; background: linear-gradient(to left, #002169 90%, #0047ba 100%); transform: translateX(0);}
body.curtain-closed #curtain-left { transform: translateX(0);}
body.curtain-closed #curtain-right { transform: translateX(0);}
body.curtain-open #curtain-left { transform: translateX(-100%);}
body.curtain-open #curtain-right { transform: translateX(100%);}

/* --- Splash Screen & App Wrapper --- */
#splash-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    background-image: url('https://cdnwest.radnet.com/Symposium/Symposium-Lungs.webp');
    background-size: cover; background-position: center;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    overflow: hidden; /* Added for particle canvas */
}
#splash-screen.fade-out { opacity: 0; visibility: hidden; }
#app-wrapper { opacity: 0; transition: opacity 1s ease-in; }
#app-wrapper.visible { opacity: 1; }
.fade-in { animation: fadeIn 0.5s ease-out forwards; }

#splash-content #sponsors-button {
    margin-top: var(--spacing-md);
}
.splash-content {
    max-width: 800px; /* Prevents grid from being too wide */
    width: 90%;
}

.splash-separator {
    width: 50%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: var(--spacing-lg) 0;
}

#splash-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: var(--spacing-lg);
    width: 100%;
    margin-top: var(--spacing-lg);
    animation: fadeIn 1s 0.5s ease-out forwards;
    opacity: 0;
}

#splash-sponsors-grid img {
    width: 100%;
    max-height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes logos white */
    opacity: 0.7;
    transition: opacity 0.3s;
}

#splash-sponsors-grid img:hover {
    opacity: 1;
}

/* --- Responsive Splash Grid --- */
@media (max-width: 768px) {
    #splash-sponsors-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    #splash-sponsors-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on phones */
    }
}

/* --- Particle Canvas Styles --- */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind button, above background */
}

.splash-content {
    position: relative;
    z-index: 2; /* On top of canvas */
    display: flex; /* Added */
    flex-direction: column; /* Added */
    align-items: center; /* Added */
    text-align: center; /* Added */
    color: var(--text-light); /* Added */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Added */
    padding: 0 var(--spacing-md); /* Added for spacing on small screens */
}

.splash-content h2 {
    font-weight: 300;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin: 0 0 var(--spacing-md) 0;
}

.splash-content .cta-button {
    margin-top: var(--spacing-sm);
}


/* --- Keyframes --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow {
    0% { box-shadow: 0 0 8px 2px rgba(84, 200, 232, 0.5); }
    50% { box-shadow: 0 0 24px 8px rgba(84, 200, 232, 0.7); }
    100% { box-shadow: 0 0 8px 2px rgba(84, 200, 232, 0.5); }
}

/* --- Dark Mode Toggle Switch --- */
.theme-switch-wrapper { display: flex; align-items: center; margin-left: var(--spacing-md); }
.theme-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.theme-switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,.2);
    transition: var(--transition-speed);
}
.slider.round { border-radius: 34px; }
.slider:before {
    position: absolute; content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: var(--transition-speed);
    border-radius: 50%;
}
input:checked + .slider { background-color: var(--primary-main); }
input:checked + .slider:before { transform: translateX(20px); }
body[data-theme="dark"] .slider { background-color: rgba(0, 0, 0, 0.3); }

/* --- Mobile Header & Hamburger Menu Always Visible --- */
#mobile-header {
    display: flex;
    position: fixed; top: 0; left: 0;
    width: 100%; height: var(--mobile-header-height);
    background-color: var(--primary-dark);
    padding: 0 var(--spacing-md);
    z-index: 1002;
    align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}
.mobile-header-controls { display: flex; align-items: center; gap: 8px; }
#mobile-header img { height: 35px; width: auto; }
#mobile-menu-toggle {
    background: none; border: none; cursor: pointer;
    padding: 15px; height: 50px; width: 50px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
#mobile-menu-toggle span {
    width: 24px; height: 2px;
    background: white; border-radius: 2px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
}
#mobile-menu-toggle.is-active span:nth-of-type(1) { transform: translateY(8px) rotate(45deg); }
#mobile-menu-toggle.is-active span:nth-of-type(2) { opacity: 0; }
#mobile-menu-toggle.is-active span:nth-of-type(3) { transform: translateY(-8px) rotate(-45deg); }
#mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--primary-dark);
    z-index: 1001;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    padding: var(--mobile-header-height) 0;
    box-sizing: border-box;
    overflow-y: auto;
}
#mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: var(--spacing-lg);
    width: 90%;
    max-width: 500px;
}
.menu-item {
    background: rgba(255,255,255,0.05); color: #ffffff;
    text-decoration: none; text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: background-color 0.3s, transform 0.3s;
}
.menu-item:hover { background: rgba(255,255,255,0.15); transform: translateY(-5px); }
.menu-item i { font-size: 2.5rem; display: block; margin-bottom: var(--spacing-md); color: var(--accent-light); }
.menu-item span { font-size: 1.1rem; font-weight: 400; }

/* --- Hide .desktop-nav everywhere (hamburger-only app) --- */
.desktop-nav { display: none !important; }

/* --- Hero Section (Header) --- */
#desktop-hero-section { display: block; }
#header {
    background-image: linear-gradient(45deg, rgba(70, 30, 110, 0.2) 0%, rgba(0, 33, 105, 0.65) 100%), url('https://cdnwest.radnet.com/Symposium/Symposium-Lungs.webp');
    background-size: cover; background-position: center; background-attachment: fixed;
    color: var(--text-light); text-align: center;
}
.hero-content { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 var(--spacing-lg); /* Added horizontal padding */
}
#symposium-title { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; }
.subtitle-wrapper { margin: var(--spacing-md) 0; }
#symposium-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    padding: 8px 16px; 
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 700;
}
body[data-theme="dark"] #symposium-subtitle {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}
#symposium-details { white-space: pre-wrap; margin-top: var(--spacing-md); opacity: 0.9;}
#symposium-tagline {
    font-weight: 700;
    margin-top: var(--spacing-lg);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- App-like Section Sizing for Short Pages --- */
.full-height-mobile {
    min-height: calc(100dvh - var(--mobile-header-height));
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 900px) {
    .full-height-mobile {
        min-height: unset;
        display: block;
        align-items: unset;
        justify-content: unset;
    }
}

/* --- UPDATED: Attractive Agenda Timeline --- */
#agenda {
    background-color: var(--background-card);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* This pseudo-element is the central vertical bar */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--accent-light);
    transform: translateX(-50%);
}

/* This pseudo-element is a clearfix to contain the floated items */
.timeline::after {
    content: "";
    display: table;
    clear: both;
}

.timeline-item {
    width: 50%;
    margin-bottom: 20px; /* Space between items vertically */
    position: relative;
    box-sizing: border-box;
}

/* This is the connector dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--background-light);
    border: 4px solid var(--primary-main);
    top: 15px; /* Adjust to align with the first line of text */
    z-index: 1;
}

/* This is the short horizontal connector line */
.timeline-item::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 22px; /* Adjust length as needed */
    background-color: var(--accent-light);
    top: 21px; /* Vertically centers with the dot */
    z-index: 0;
}

/* --- ODD items (LEFT side) --- */
.timeline-item:nth-child(odd) {
    float: left;
    clear: left; /* Ensures they stack in the left column */
    text-align: right;
    padding-right: 30px;
}

.timeline-item:nth-child(odd)::after { /* Dot */
    right: -8px;
}

.timeline-item:nth-child(odd)::before { /* Line */
    right: 8px;
}

/* --- EVEN items (RIGHT side) --- */
.timeline-item:nth-child(even) {
    float: right;
    clear: right; /* Ensures they stack in the right column */
    text-align: left;
    padding-left: 30px;
    margin-top: 40px; /* This creates the staggered effect */
}

.timeline-item:nth-child(even)::after { /* Dot */
    left: -8px;
}

.timeline-item:nth-child(even)::before { /* Line */
    left: 8px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.timeline-time { font-weight: 700; color: var(--primary-main); }
.timeline-title { font-weight: 700; }
.timeline-speaker { font-style: italic; color: #888; margin: 5px 0 0; }
body[data-theme="dark"] .timeline-speaker { color: #aaa; }
.timeline-speaker-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.1);
}
body[data-theme="dark"] .timeline-speaker-info {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.timeline-speaker-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.timeline-item:nth-child(odd) .timeline-speaker-images {
    justify-content: flex-end;
}
.timeline-item:nth-child(even) .timeline-speaker-images {
    justify-content: flex-start;
}
.timeline-speaker-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-main);
}
.timeline-speaker-info .timeline-speaker {
    margin: 0;
    line-height: 1.5;
    font-style: normal;
}
/* --- END TIMELINE --- */


/* --- General Content & Cards --- */
.section-title { font-size: clamp(1.8rem, 6vw, 2.8rem); text-align: center; }
.card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border-color 0.3s;
    display: flex; flex-direction: column;
}
.card-content { padding: var(--spacing-md); flex-grow: 1; }
.speaker-card {
    cursor: pointer;
}
.speaker-card img {
    aspect-ratio: 1 / 1; object-fit: cover; object-position: top;
    transition: transform 0.3s, opacity 0.3s;
}
.speaker-card:hover img {
    opacity: 0.85;
    transform: scale(1.03);
}

/* --- Glowing Gradient Button --- */
.cta-button {
    border-radius: 50px; padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem; font-weight: 700;
    cursor: pointer; transition: transform 0.3s;
    text-decoration: none; display: inline-block;
    background-image: linear-gradient(45deg, var(--primary-main) 0%, var(--secondary-light) 100%);
    color: var(--text-light);
    background-origin: border-box; border: 2px solid transparent;
}
.cta-button:hover { transform: scale(1.05); }
.cta-button.large { border:solid 1px rgba(255,255,255,.7);font-size: 1.3rem; animation: glow 4s infinite ease-in-out; }

/* --- Vision for the Future Section --- */
.vision-container { display: block; }
.quote-card {
    text-align: center; background-color: var(--primary-dark);
    color: var(--text-light); border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color); overflow: hidden;
    margin-bottom: var(--spacing-lg); padding: var(--spacing-lg);
    display: flex; flex-direction: column; justify-content: center;
    transition: background-color var(--transition-speed);
}
.quote-card img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto var(--spacing-md); border: 5px solid var(--text-light); }
.quote-card blockquote { font-size: 1.5rem; font-style: italic; border: none; padding: 0; margin: 0; font-weight: 300; }
.quote-card cite { display: block; opacity: 0.8; margin-top: var(--spacing-md); font-weight: 400;}

/* --- Other Component Styles --- */
.card h3 { font-size: 1.25rem; font-weight: 700; }
.speaker-title { font-style: italic; color: #777; margin-top: -10px; margin-bottom: var(--spacing-md); }
body[data-theme="dark"] .speaker-title { color: #aaa; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; background-color: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.icon-large { font-size: 4rem; color: var(--primary-main); margin-bottom: var(--spacing-md); }

/* --- Donate Section --- */
#donate .card { text-align: center; max-width: 600px; margin: 0 auto; }
.donation-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.donation-button {
    background-color: var(--primary-main);
    color: var(--text-light);
    border: 2px solid var(--primary-main);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    min-width: 120px;
}
.donation-button:hover {
    background-color: var(--background-card);
    color: var(--primary-main);
}
.donation-button.custom {
    background-image: linear-gradient(45deg, var(--primary-main) 0%, var(--secondary-light) 100%);
    color: var(--text-light);
    border: none;
}
.donation-button.custom:hover {
    color: var(--text-light);
    transform: scale(1.05);
}

/* --- Sponsors Section --- */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    align-items: center;
    margin: var(--spacing-lg) auto 0;
}
.sponsor-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-card);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: transform 0.3s;
}
.sponsor-logo:hover {
    transform: scale(1.05);
}
.sponsor-logo img {
    max-width: 100%;
    max-height: auto; /* Increased height for taller logos */
    width: auto;
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}
.sponsor-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
/* --- Final styles for the Balanced Ad Grid --- */
.ad-balanced-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  max-w: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ad-item {
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px var(--shadow-color);
  aspect-ratio: 4 / 5; /* Default ratio for all portrait ads */
}

/* --- Target the landscape ad specifically --- */
.ad-item-landscape {
  grid-column: span 2; /* Make it span 2 of the 3 columns */
  aspect-ratio: 8 / 5; /* The specific ratio needed for perfect alignment */
}

.ad-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.ad-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Responsive styles for mobile --- */
@media (max-width: 899px) {
  .ad-balanced-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  /* Make the landscape ad span the full width on tablet for a cleaner look */
  .ad-item-landscape {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .ad-balanced-grid {
    grid-template-columns: 1fr;
  }
  /* Reset the landscape span on mobile since it's a single column anyway */
  .ad-item-landscape {
    grid-column: auto;
  }
}

/* --- Footer --- */
#contact { background-color: var(--primary-dark); color: var(--text-light); text-align: center; transition: background-color var(--transition-speed); }
#contact h3 { font-size: 1.8rem; margin: 0 0 var(--spacing-md); font-weight: 300; }
.social-icons { margin-bottom: var(--spacing-lg); }
.social-icons a { color: var(--text-light); font-size: 1.8rem; margin: 0 var(--spacing-md); transition: color 0.3s, transform 0.3s; display: inline-block; }
.social-icons a:hover { color: var(--accent-light); transform: translateY(-3px); }
#copyright { opacity: 0.7; font-size: 0.9rem; margin: 0; }

/* --- I.N.H.A.L.E. Section Two-Column Layout --- */
.inhale-container {
    display: flex;
    flex-direction: column;
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}
.inhale-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.inhale-text-col {
    padding: var(--spacing-lg);
}
.inhale-text-col h3 { margin-top: 0; }

/* --- Grid layouts --- */
.card-grid { display: grid; gap: var(--spacing-md); }
#speakers-grid { grid-template-columns: 1fr; }
#video-grid { grid-template-columns: 1fr; }

/* --- Speaker Modal --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--background-card);
    color: var(--text-dark);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 10px; right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
}
.modal-speaker-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--spacing-md);
}
.modal-speaker-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
    border: 4px solid var(--primary-main);
}
.modal-speaker-header h3 {
    margin: 0;
    font-size: 1.8rem;
}
.modal-speaker-header p {
    margin: 5px 0 0;
    font-style: italic;
    color: var(--primary-main);
}
.modal-speaker-bio {
    white-space: pre-wrap;
}

/* --- Responsive Media Queries --- */
@media (max-width: 375px) {
    #symposium-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    #symposium-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    #symposium-tagline {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-top: var(--spacing-md);
    }
}

@media (max-height: 670px) {
     #mobile-menu-overlay {
        padding-top: calc(var(--mobile-header-height) + var(--spacing-md));
        padding-bottom: var(--spacing-md);
     }
    .menu-grid {
        gap: var(--spacing-md);
    }
    .menu-item {
        padding: var(--spacing-sm);
    }
    .menu-item i {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }
     .menu-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 899px) {
    .timeline {
        max-width: 100%;
        padding: 0 16px;
    }
    /* On mobile, stack everything in a single column */
    .timeline::before,
    .timeline::after,
    .timeline-item::before,
    .timeline-item::after {
        display: none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        float: none;
        clear: none;
        padding: 0;
        text-align: left !important;
    }
    
    .timeline-content {
        border-left: 5px solid var(--primary-main);
        margin-bottom: 24px;
    }
    .timeline-item:nth-child(odd) .timeline-speaker-images,
    .timeline-item:nth-child(even) .timeline-speaker-images {
        justify-content: flex-start;
    }
}

@media (min-width: 600px) {
    #speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sponsors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .menu-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for tablets and up */
        max-width: 800px;
    }
}

@media (min-width: 900px) {
    body.is-mobile { padding-top: 0; }
    .page-section { display: block !important; padding: var(--spacing-xl) 0; }
    .section-title { margin: var(--spacing-xl) 0; }
    .full-height-mobile { min-height: unset; display: block; align-items: unset; justify-content: unset; }
    #desktop-hero-section {
        height: 100vh;
        min-height: 100vh;
        display: flex !important;
        flex-direction: column;
        background-image: linear-gradient(45deg, rgba(70, 30, 110, 0.2) 0%, rgba(0, 33, 105, 0.65) 100%), url('https://cdnwest.radnet.com/Symposium/Symposium-Lungs.webp');
        background-size: cover;
        background-position: center;
    }
    #header {
        height: 100vh;
        flex-grow: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-image: none;
        padding: 0;
    	min-height: calc(100dvh - var(--mobile-header-height));
    }
    .hero-content {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #speakers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    #video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .inhale-container {
        flex-direction: row;
        align-items: stretch;
    }
    .inhale-image-col {
        flex: 0 0 45%;
    }
    .inhale-text-col {
        flex: 1 1 55%;
        display: flex;
        align-items: center;
    }
}

.hide-app-content #desktop-hero-section,
.hide-app-content main,
.hide-app-content footer {
    display: none !important;
}




/* Bullet styling for multi-line speaker lists */
.timeline-bullets {
  margin: 4px 0 0 18px !important;
  padding: 0 !important;
}
.timeline-bullets li {
  margin: 2px 0 !important;
  line-height: 1.25 !important;
}

/* Desktop: ensure two columns feel tighter without the big middle gap */
@media (min-width: 900px) {
  .timeline {
    max-width: 1100px !important;   /* a little wider */
  }
  .timeline::after {
    background-color: rgba(84, 200, 232, 0.35) !important; /* soften center line */
  }
}