/* --- MassMEDIC Event Template Styles --- */

/* --- Core Layout & Containers --- */
/* Remove the padding-top from main that's used for header spacing on regular pages */
/* The event hero section should extend right up to the header */
main#primary.event-page,
main.event-page {
    padding-top: 0 !important;
}

.event-banner-section {
    /* Styles from the top teal banner section */
}

.event-banner-columns {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.event-logo-figure {
    margin-bottom: 0;
}

.event-logo-image {
    max-width: 100%;
    height: auto;
}

.event-title-fallback {
    color: white;
    margin-bottom: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

.event-description {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 20px;
    font-family: DIN, Arial, Helvetica, sans-serif;
    color: #333;
}

/* --- Mobile Event Details (Date & Location above description) --- */
.mobile-event-details {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
    .mobile-event-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .mobile-detail-card {
        background-color: #fff;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        padding: 18px 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    
    .mobile-detail-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        background-color: #fef6f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-detail-icon svg {
        width: 22px;
        height: 22px;
        fill: #f68a1f;
    }
    
    .mobile-detail-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .mobile-detail-label {
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #6b7c88;
        margin-bottom: 2px;
    }
    
    .mobile-detail-value {
        font-size: 18px;
        font-weight: 700;
        color: #26485e;
        line-height: 1.25;
    }
    
    .mobile-detail-time,
    .mobile-detail-address {
        font-size: 14px;
        color: #485a67;
        margin-top: 2px;
    }
    
    /* Hide sidebar date/location on mobile since we show them above */
    .sidebar-date,
    .sidebar-location {
        display: none;
    }
}

.description-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.description-content {
    position: relative;
}

.description-sidebar {
    position: relative;
}

.content-section {
    margin-bottom: 40px;
    position: relative;
}

/* Optional section title (if set in ACF) */
.content-section .description-section-title {
    color: #26485e;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f68a1f;
}

/* Short description / intro text from GrowthZone */
.content-section .event-short-description {
    color: #26485e;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 24px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.content-section .description-text {
    color: #485a67;
    line-height: 1.6;
    font-size: 16px;
}

.content-section .description-text p {
    margin-bottom: 1em;
}
.content-section .description-text p:last-child {
    margin-bottom: 0;
}

/* Heading styles within description content */
.content-section .description-text h1,
.content-section .description-text h2,
.content-section .description-text h3,
.content-section .description-text h4,
.content-section .description-text h5,
.content-section .description-text h6 {
    color: #26485e;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.content-section .description-text h1:first-child,
.content-section .description-text h2:first-child,
.content-section .description-text h3:first-child,
.content-section .description-text h4:first-child,
.content-section .description-text h5:first-child,
.content-section .description-text h6:first-child {
    margin-top: 0;
}

.content-section .description-text h1 {
    font-size: 28px;
    border-bottom: 2px solid #f68a1f;
    padding-bottom: 10px;
}

.content-section .description-text h2 {
    font-size: 24px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.content-section .description-text h3 {
    font-size: 20px;
}

.content-section .description-text h4 {
    font-size: 18px;
}

.content-section .description-text h5 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-section .description-text h6 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Lists within description */
.content-section .description-text ul,
.content-section .description-text ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.content-section .description-text li {
    margin-bottom: 0.5em;
}

.content-section .description-text ul {
    list-style-type: disc;
}

.content-section .description-text ol {
    list-style-type: decimal;
}

/* Blockquotes */
.content-section .description-text blockquote {
    border-left: 4px solid #f68a1f;
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background-color: #f8f9fa;
    font-style: italic;
    color: #26485e;
}

.content-section .description-text blockquote p:last-child {
    margin-bottom: 0;
}

/* Links */
.content-section .description-text a {
    color: #f68a1f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.content-section .description-text a:hover {
    border-bottom-color: #f68a1f;
}

/* Tables */
.content-section .description-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.content-section .description-text th,
.content-section .description-text td {
    padding: 10px 12px;
    border: 1px solid #e9ecef;
    text-align: left;
}

.content-section .description-text th {
    background-color: #26485e;
    color: white;
    font-weight: 600;
}

.content-section .description-text tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Horizontal rule */
.content-section .description-text hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 2em 0;
}

/* Strong and emphasis */
.content-section .description-text strong,
.content-section .description-text b {
    font-weight: 600;
    color: #26485e;
}

/* Code/pre */
.content-section .description-text code {
    background-color: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.content-section .description-text pre {
    background-color: #f1f1f1;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.event-featured-image {
    margin-bottom: 1.5em;
}
.event-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ============================================
   Event Tab Navigation System (WAI-ARIA Tabs)
   ============================================ */

/* Tab Container Wrapper - full width background */
.event-tabs-container {
    background-color: white;
    padding: 15px 20px;
    border-bottom: 3px solid #f8f9fa;
    position: sticky;
    top: 50px; /* Account for main site header height */
    z-index: 50; /* Lower than header (z-index: 100) so nav dropdowns appear above */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Admin bar offset when logged in */
.admin-bar .event-tabs-container {
    top: 82px; /* 50px header + 32px admin bar */
}

@media (max-width: 782px) {
    .admin-bar .event-tabs-container {
        top: 96px; /* 50px header + 46px mobile admin bar */
    }
}

/* Tab List */
.event-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Individual Tab Buttons */
.event-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #f8f9fa;
    color: #26485e;
    border: 2px solid transparent;
    border-radius: 25px;
    font-family: DIN, Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 48px;
}

.event-tab:hover {
    background-color: #26485e;
    color: white;
    border-color: #26485e;
}

.event-tab:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 138, 31, 0.3);
}

.event-tab.active,
.event-tab[aria-selected="true"] {
    background-color: #f68a1f;
    color: white;
    border-color: #f68a1f;
    box-shadow: 0 4px 12px rgba(246, 138, 31, 0.3);
}

/* Anchor tabs (like Sponsors) - same styling as regular tabs */
.event-tab.event-tab-anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #f8f9fa;
    color: #26485e;
    border: 2px solid transparent;
    border-radius: 25px;
    font-family: DIN, Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 48px;
}

/* Anchor tabs active state - must match regular tabs */
.event-tab.event-tab-anchor.active,
.event-tab.event-tab-anchor[aria-selected="true"] {
    background-color: #f68a1f;
    color: white;
    border-color: #f68a1f;
    box-shadow: 0 4px 12px rgba(246, 138, 31, 0.3);
}

/* Tab Panels Container */
.event-tab-panels {
    position: relative;
}

/* Individual Tab Panel */
.event-tab-panel {
    display: none;
    animation: tabFadeIn 0.25s ease-out;
    /* Scroll margin accounts for fixed header (80px) + sticky tabs (~60px) + padding */
    scroll-margin-top: 120px;
}

/* Admin bar adjustments for scroll margin */
.admin-bar .event-tab-panel {
    scroll-margin-top: 152px; /* 120px + 32px admin bar */
}

@media (max-width: 782px) {
    .admin-bar .event-tab-panel {
        scroll-margin-top: 166px; /* 120px + 46px mobile admin bar */
    }
}

.event-tab-panel.active,
.event-tab-panel:not([hidden]) {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Video Tab Panel (Inline Video Player)
   ============================================ */
.video-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
    min-height: 400px;
}

.video-section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-section-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Responsive Tab Navigation */
@media (max-width: 768px) {
    .event-tabs-container {
        padding: 16px 0;
        overflow: hidden;
    }
    
    .event-tabs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 15px;
    }
    
    .event-tabs::-webkit-scrollbar {
        display: none;
    }

    .event-tab {
        flex-shrink: 0;
        padding: 12px 20px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .video-section {
        padding: 40px 15px;
    }
    
    .video-section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 500px) {
    .event-tab {
        padding: 10px 16px;
        font-size: 12px;
        min-height: 40px;
    }
    
    .video-section {
        padding: 30px 10px;
    }
    
    .video-section-title {
        font-size: 1.2rem;
    }
}

/* --- Sidebar --- */
.sidebar-event-info {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    padding: 20px 22px;
    color: #26485e;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    border-top: 3px solid #26485e;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-event-info h4 {
    color: #26485e;
    font-size: 11px;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sidebar-event-info h4 svg {
    margin-right: 8px;
    fill: #f68a1f;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-date p:first-of-type,
.sidebar-location p:first-of-type {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #26485e;
}

.sidebar-location p:not(:first-of-type) {
    margin: 4px 0 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #485a67;
}

/* --- Session Actions (Auto-generated CTAs) ---
   Styled to exactly match Quick Action Cards for consistency */
.session-actions {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 10px;
    gap: 8px;
}

.session-actions a {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f8f9fa;
    color: #26485e;
    padding: 14px 16px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(38, 72, 94, 0.08);
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    gap: 14px;
    transform: none;
}

.session-actions a:hover {
    background-color: #fff;
    border-color: #f68a1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: none;
}

.session-actions a:active {
    background-color: #fef6f0;
    border-color: #e07a0f;
    box-shadow: 0 1px 4px rgba(246, 138, 31, 0.15);
    transform: none;
}

.session-actions a:hover .action-label {
    color: #f68a1f;
}

.session-actions a:active .action-label {
    color: #e07a0f;
}

.session-actions .action-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: #fdf4ec;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.session-actions a:hover .action-icon-wrapper {
    background-color: #fef0e3;
}

.session-actions a:active .action-icon-wrapper {
    background-color: #fde5d0;
}

.session-actions .action-icon-wrapper svg {
    width: 22px;
    height: 22px;
    fill: #f68a1f;
}

.session-actions a svg {
    width: 22px;
    height: 22px;
    fill: #f68a1f;
}

.session-actions .action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.session-actions .action-label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #26485e;
    transition: color 0.2s ease;
}

.session-actions .action-description {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: #6b7c88;
}

/* --- Buttons --- */
.top-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.register-button,
.reserve-button,
.cta-button {
    display: inline-block;
    background-color: #485a67;
    color: white;
    text-align: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(72, 90, 103, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0;
}

.top-cta-buttons .register-button {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 200px;
    text-transform: uppercase;
}

.register-button:hover,
.reserve-button:hover,
.cta-button:hover {
    background-color: #f68a1f;
    color: white;
    box-shadow: 0 6px 15px rgba(246, 138, 31, 0.3);
}

.cta-button-container {
    text-align: center;
    margin: 50px 0 30px 0;
}

/* --- Stats --- */
.stats-container {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px 20px;
    border: 1px solid #e9ecef;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 10px;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(72, 90, 103, 0.1);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #f68a1f;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    color: #485a67;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Agenda ---
   NOTE: Agenda-specific styles are now in event-agenda.css
   which loads after this file. See that file for all
   .agenda-* styling including timeline, items, tabs, etc.
*/


/* --- Sponsors / Attendees --- */
.sponsors-section {
    padding: 60px 0;
    font-family: inherit;
    background-color: #f8f9fa;
    margin-top: 40px;
    /* Scroll margin for anchor navigation */
    scroll-margin-top: 120px;
}

.admin-bar .sponsors-section {
    scroll-margin-top: 152px;
}

.sponsors-content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.sponsors-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.sponsors-title h2 {
    color: #26485e;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsors-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #f68a1f;
    margin: 20px auto 0;
}

.sponsor-level {
    margin-bottom: 50px;
}

.sponsor-level:last-child {
    margin-bottom: 0;
}

.sponsor-level-title {
    text-align: center;
    margin-bottom: 35px;
}

.sponsor-level-title h3 {
    color: #26485e;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #f68a1f;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.sponsor-logo {
    width: calc(33.333% - 20px); /* 1/3 width minus gap adjustment */
    box-sizing: border-box;
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 130px;
    text-decoration: none;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

/* When exactly 4 sponsors, arrange 2x2 but keep same visual size as 1/3 width */
.sponsor-logos.sponsors-count-4 {
    max-width: 730px; /* Constrain container so 2 sponsors + gap fits nicely */
    margin-left: auto;
    margin-right: auto;
}

.sponsor-logos.sponsors-count-4 .sponsor-logo {
    width: calc(50% - 15px); /* 2 per row */
}

/* Two single-sponsor levels displayed side-by-side */
.sponsor-levels-paired {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.sponsor-levels-paired .sponsor-level {
    margin-bottom: 0;
}

.sponsor-levels-paired .sponsor-level-title {
    margin-bottom: 20px;
}

.sponsor-levels-paired .sponsor-logos {
    margin-top: 0;
}

.sponsor-levels-paired .sponsor-logo {
    width: 100%;
    max-width: 280px;
}

.sponsor-logo:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: #f68a1f;
}

.sponsor-logo img {
    display: block;
    max-width: 220px !important;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor-logos[style*="minmax(220px"] .sponsor-logo img {
     max-height: 95px;
}

.attendees-section .sponsor-logo {
    min-height: 110px;
    padding: 20px;
}
.attendees-section .sponsor-logo img {
    max-height: 65px;
}

/* --- GrowthZone Data Elements --- */

/* Time display in sidebar */
.sidebar-date .event-time {
    margin: 8px 0 0 0;
    font-size: 15px;
    color: #485a67;
    display: flex;
    align-items: center;
}

/* Registration status and capacity */
.sidebar-registration .members-only-badge {
    background-color: #f68a1f;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
}

.sidebar-registration .members-only-badge svg {
    fill: white;
}

.capacity-info {
    margin-top: 8px;
}

.capacity-text {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #26485e;
}

.capacity-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #f68a1f);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.capacity-count {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
}

/* Category badge */
.sidebar-category .category-badge {
    display: inline-block;
    background-color: #26485e;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

/* Pricing list */
.sidebar-pricing .pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-pricing .price-tier {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 4px;
}

.sidebar-pricing .price-tier:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-pricing .tier-name {
    font-size: 14px;
    color: #26485e;
    font-weight: 500;
    flex: 1;
    min-width: 100px;
}

.sidebar-pricing .tier-price {
    font-size: 14px;
    color: #f68a1f;
    font-weight: 700;
    text-align: right;
}

.sidebar-pricing .tier-price small {
    display: block;
    font-size: 11px;
    color: #6c757d;
    font-weight: 400;
}

/* Additional registration links */
.sidebar-additional-reg .additional-reg-link {
    display: block;
    padding: 10px 0;
    color: #26485e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.sidebar-additional-reg .additional-reg-link:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-additional-reg .additional-reg-link:hover {
    color: #f68a1f;
    padding-left: 5px;
}

/* Text-only sponsor (no logo) */
.sponsor-logo.sponsor-text-only {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
}

.sponsor-name-text {
    font-size: 16px;
    font-weight: 600;
    color: #26485e;
    line-height: 1.3;
}

a.sponsor-text-only:hover .sponsor-name-text {
    color: #f68a1f;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
}

.fade-in-up-animation {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .description-container {
        grid-template-columns: 1fr;
    }

    .description-sidebar {
        margin-top: 40px;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(72, 90, 103, 0.1);
    }

    .stat-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .stat-item::after {
        display: none;
    }

    /* Agenda responsive styles are in event-agenda.css */

    .sponsors-section {
        padding: 40px 0;
    }

    .sponsors-content-container {
        padding: 0 15px;
    }

    .sponsor-logos {
        gap: 20px;
    }

    .sponsor-levels-paired {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sponsor-logo {
        width: calc(50% - 10px); /* 1/2 width on tablet/mobile */
        padding: 20px;
        min-height: 110px;
    }

    .sponsor-logo img {
        max-height: 60px;
    }

    .sponsor-logos[style*="minmax(220px"] .sponsor-logo img {
       max-height: 75px;
    }

    .attendees-section .sponsor-logo {
        min-height: 90px;
        padding: 15px;
    }
    .attendees-section .sponsor-logo img {
        max-height: 50px;
    }

    /* Mobile CTA buttons - centered, auto-width, touch-friendly */
    .top-cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin: 30px 0 40px;
    }
    
    .top-cta-buttons .register-button {
        flex-grow: 0;
        flex-basis: auto;
        min-width: auto;
        width: auto;
        padding: 16px 32px;
        min-height: 52px;
        font-size: 15px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 15px;
        min-height: 52px;
    }
    
    /* Ensure sidebar has clear separation from content */
    .description-sidebar {
        margin-top: 50px;
        padding-top: 30px;
        border-top: 1px solid #e9ecef;
    }
    
    /* Session actions - 2 column grid on mobile */
    .session-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .session-actions a {
        flex-direction: column;
        text-align: center;
        padding: 16px 12px;
        gap: 10px;
    }
    
    .session-actions .action-icon-wrapper {
        margin: 0 auto;
    }
    
    .session-actions .action-text {
        align-items: center;
    }
}

@media (max-width: 500px) {
    /* Keep 2-column grid on small screens */
    .session-actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .session-actions a {
        padding: 14px 10px;
        gap: 8px;
    }
    .session-actions .action-icon-wrapper {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    .session-actions .action-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }
    .session-actions .action-label {
        font-size: 13px;
    }
    .session-actions .action-description {
        font-size: 11px;
    }
    
    /* Mobile event details - smaller screens */
    .mobile-detail-card {
        padding: 14px 10px;
        gap: 8px;
    }
    
    .mobile-detail-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .mobile-detail-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-detail-value {
        font-size: 16px;
    }
    
    .mobile-detail-time,
    .mobile-detail-address {
        font-size: 13px;
    }
    .stat-number {
        font-size: 30px;
    }
    .stat-label {
        font-size: 12px;
    }
    .sponsors-title h2 {
        font-size: 28px;
    }
    .sponsor-level-title h3 {
        font-size: 20px;
    }
    
    /* GrowthZone elements responsive */
    .sidebar-pricing .price-tier {
        flex-direction: column;
    }
    .sidebar-pricing .tier-price {
        text-align: left;
        margin-top: 2px;
    }
    .sidebar-pricing .tier-price small {
        display: inline;
    }
}


/* ============================================
   NEW SECTIONS - Hero Variants, Highlights, 
   Speakers, Sponsorship, Quick Actions
   ============================================ */

/* --- Hero Section (All Variants) --- */
.event-hero-section {
    position: relative;
    padding: 40px 0;
    text-align: center;
    color: white;
}

.event-hero-section .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.event-hero-section .hero-logo {
    margin: 0 auto 20px;
}

.event-hero-section .hero-logo img {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    width: auto;
}

.event-hero-section .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
}

.event-hero-section .hero-tagline {
    font-size: 1.25rem;
    margin: 0 0 25px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.event-hero-section .hero-cta {
    margin-top: 25px;
}

/* Banner Image Style */
.hero-banner-style {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-style .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-banner-style .hero-content {
    padding: 60px 20px;
}

.hero-banner-style .hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Logo Only Style (default) */
.hero-logo-style {
    background-color: #26485e;
    padding: 30px 0;
}

/* Title Only Style */
.hero-title-style {
    background-color: #26485e;
    padding: 50px 0;
}

.hero-title-style .hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ============================================
   MMI Hero Section - Registration Open
   Unique class prefix to avoid theme conflicts
   Styled to match gala2.html hero design
   ============================================ */
.mmi-hero-section {
    background-color: #26485e; /* MassMedic Brand Blue */
    color: white;
    padding: 60px 0 60px 0;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.mmi-hero-section.mmi-has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mmi-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.mmi-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mmi-hero-content {
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.mmi-hero-supertitle {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.8;
    color: white;
}

/* Hero title - use Axia uppercase to match gala page */
.mmi-hero-title,
.mmi-hero-section .mmi-hero-title,
.mmi-hero-section h1.mmi-hero-title,
main .mmi-hero-section h1.mmi-hero-title,
main#primary .mmi-hero-section h1.mmi-hero-title {
    font-family: Axia, sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 0 25px 0 !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: normal !important;
}

.mmi-hero-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.mmi-hero-detail-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.mmi-hero-detail-item svg,
.mmi-hero-detail-item i {
    margin-right: 10px;
    opacity: 0.9;
    font-size: 18px;
    flex-shrink: 0;
}

.mmi-hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Hero Buttons - matching gala design */
.mmi-hero-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.mmi-hero-btn-primary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.mmi-hero-btn-primary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

.mmi-hero-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.mmi-hero-btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Ensure specificity for WordPress theme overrides */
/* Override global 'a' and '.base-button-style' from theme */
.mmi-hero-section .mmi-hero-btn,
.mmi-hero-section a.mmi-hero-btn,
main .mmi-hero-section .mmi-hero-btn,
main .mmi-hero-section a.mmi-hero-btn,
main#primary .mmi-hero-section .mmi-hero-btn,
main#primary .mmi-hero-section a.mmi-hero-btn {
    display: inline-block !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-family: DIN, Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    position: relative !important;
}

.mmi-hero-section .mmi-hero-btn-primary,
.mmi-hero-section a.mmi-hero-btn-primary,
main .mmi-hero-section .mmi-hero-btn-primary,
main .mmi-hero-section a.mmi-hero-btn-primary,
main#primary .mmi-hero-section .mmi-hero-btn-primary,
main#primary .mmi-hero-section a.mmi-hero-btn-primary {
    background-color: transparent !important;
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.mmi-hero-section .mmi-hero-btn-primary:hover,
.mmi-hero-section a.mmi-hero-btn-primary:hover,
.mmi-hero-section .mmi-hero-btn-primary:active,
.mmi-hero-section a.mmi-hero-btn-primary:active,
.mmi-hero-section .mmi-hero-btn-primary:focus,
.mmi-hero-section a.mmi-hero-btn-primary:focus,
main .mmi-hero-section .mmi-hero-btn-primary:hover,
main .mmi-hero-section a.mmi-hero-btn-primary:hover,
main#primary .mmi-hero-section .mmi-hero-btn-primary:hover,
main#primary .mmi-hero-section a.mmi-hero-btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    color: white !important;
}

.mmi-hero-section .mmi-hero-btn-secondary,
.mmi-hero-section a.mmi-hero-btn-secondary,
main .mmi-hero-section .mmi-hero-btn-secondary,
main .mmi-hero-section a.mmi-hero-btn-secondary,
main#primary .mmi-hero-section .mmi-hero-btn-secondary,
main#primary .mmi-hero-section a.mmi-hero-btn-secondary {
    background-color: transparent !important;
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.mmi-hero-section .mmi-hero-btn-secondary:hover,
.mmi-hero-section a.mmi-hero-btn-secondary:hover,
.mmi-hero-section .mmi-hero-btn-secondary:active,
.mmi-hero-section a.mmi-hero-btn-secondary:active,
.mmi-hero-section .mmi-hero-btn-secondary:focus,
.mmi-hero-section a.mmi-hero-btn-secondary:focus,
main .mmi-hero-section .mmi-hero-btn-secondary:hover,
main .mmi-hero-section a.mmi-hero-btn-secondary:hover,
main#primary .mmi-hero-section .mmi-hero-btn-secondary:hover,
main#primary .mmi-hero-section a.mmi-hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.mmi-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
}

.mmi-hero-img {
    max-width: 110%;
    margin-left: -10%;
    height: auto;
    border-radius: 12px;
}

/* Hero image animation - matching gala */
.mmi-hero-image.animate-in {
    opacity: 0;
}

.mmi-hero-image.animate-in.transition.opacity.enlarge {
    transition: none !important;
    animation: mmiHeroFadeZoom 1s ease-out both;
    animation-delay: 0.5s;
}

@keyframes mmiHeroFadeZoom {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   Banner-Only Hero (CTA Disabled)
   Centered featured image with no CTA overlay
   ============================================ */
.mmi-hero-banner-only {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.mmi-hero-banner-only .mmi-hero-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    width: 100%;
}

.mmi-hero-banner-only .mmi-hero-banner-image {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mmi-hero-banner-only .mmi-hero-banner-image img {
    max-width: 100%;
    max-height: 320px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.mmi-hero-banner-only .mmi-hero-banner-title {
    font-family: Axia, sans-serif;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    margin: 0;
    line-height: 1.2;
}

/* Banner-Only Responsive - Tablet */
@media (max-width: 900px) {
    .mmi-hero-banner-only .mmi-hero-banner-image img {
        max-height: 240px;
    }

    .mmi-hero-banner-only .mmi-hero-banner-title {
        font-size: 32px;
    }
}

/* Banner-Only Responsive - Mobile */
@media (max-width: 600px) {
    .mmi-hero-banner-only {
        padding: 30px 0;
    }

    .mmi-hero-banner-only .mmi-hero-banner-container {
        padding: 0 15px;
    }

    .mmi-hero-banner-only .mmi-hero-banner-image img {
        max-height: 180px;
    }

    .mmi-hero-banner-only .mmi-hero-banner-title {
        font-size: 26px;
    }
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .mmi-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mmi-hero-content {
        text-align: center;
        order: 2;
    }

    .mmi-hero-details {
        align-items: center;
    }

    .mmi-hero-actions {
        justify-content: center;
    }
    
    .mmi-hero-title {
        font-size: 32px;
    }

    .mmi-hero-image {
        order: 1;
        margin-bottom: 20px;
        justify-content: center;
        padding: 0 10%;
        margin-left: 0;
    }
    
    .mmi-hero-img {
        max-width: 100%;
        margin-left: 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .mmi-hero-section {
        padding: 40px 0;
    }
    
    .mmi-hero-container {
        padding: 0 15px;
    }
    
    .mmi-hero-supertitle {
        font-size: 12px;
    }
    
    /* Hide redundant title when logo is present */
    .mmi-hero-section:has(.mmi-hero-image) .mmi-hero-title {
        display: none;
    }
    
    .mmi-hero-title {
        font-size: 26px;
    }
    
    .mmi-hero-detail-item {
        font-size: 14px;
    }
    
    .mmi-hero-section .mmi-hero-btn,
    .mmi-hero-section a.mmi-hero-btn,
    main .mmi-hero-section .mmi-hero-btn,
    main .mmi-hero-section a.mmi-hero-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
    
    .mmi-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .mmi-hero-section .mmi-hero-btn,
    .mmi-hero-section a.mmi-hero-btn,
    main .mmi-hero-section .mmi-hero-btn,
    main .mmi-hero-section a.mmi-hero-btn {
        width: 100% !important;
        max-width: 280px !important;
    }
}


/* --- Sub Navigation --- */
.event-subnav {
    background-color: white;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    border-bottom: 3px solid #f8f9fa;
}

.event-subnav .subnav-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.event-subnav .subnav-link {
    display: inline-block;
    padding: 12px 20px;
    background-color: #f8f9fa;
    color: #26485e;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.event-subnav .subnav-link:hover,
.event-subnav .subnav-link.active {
    background-color: #f68a1f;
    color: white;
    box-shadow: 0 4px 12px rgba(246, 138, 31, 0.3);
}


/* --- Program Highlights Section --- */
.program-highlights-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.program-highlights-section .section-title {
    color: #26485e;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.program-highlights-section .section-subtitle {
    color: #485a67;
    margin: 0 0 25px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.highlight-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
    color: #f68a1f;
    margin-bottom: 15px;
}

.highlight-icon svg {
    width: 40px;
    height: 40px;
}

.highlight-title {
    color: #26485e;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.highlight-description {
    color: #485a67;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}


/* --- Quick Actions (Sidebar) ---
   These share identical styling with Session Actions for consistency */
.sidebar-quick-actions {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-action-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f8f9fa;
    color: #26485e;
    padding: 14px 16px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(38, 72, 94, 0.08);
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    gap: 14px;
    transform: none;
}

.quick-action-card:last-child {
    margin-bottom: 0;
}

.quick-action-card:hover {
    background-color: #fff;
    border-color: #f68a1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transform: none;
}

.quick-action-card:active {
    background-color: #fef6f0;
    border-color: #e07a0f;
    box-shadow: 0 1px 4px rgba(246, 138, 31, 0.15);
    transform: none;
}

.quick-action-card:hover .quick-action-label {
    color: #f68a1f;
}

.quick-action-card:active .quick-action-label {
    color: #e07a0f;
}

.quick-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: #fdf4ec;
    border-radius: 8px;
    order: -1;
    transition: background-color 0.2s ease;
}

.quick-action-card:hover .quick-action-icon {
    background-color: #fef0e3;
}

.quick-action-card:active .quick-action-icon {
    background-color: #fde5d0;
}

.quick-action-icon svg {
    width: 22px;
    height: 22px;
    fill: #f68a1f;
    color: #f68a1f;
}

.quick-action-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quick-action-label {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: #26485e;
    transition: color 0.2s ease;
}

.quick-action-description {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: #6b7c88;
}

.quick-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f68a1f;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.quick-action-button:last-child {
    margin-bottom: 0;
}

.quick-action-button:hover {
    background-color: #e07a0f;
    box-shadow: 0 4px 12px rgba(246, 138, 31, 0.3);
}

.quick-action-button:active {
    background-color: #d06c05;
    box-shadow: 0 2px 6px rgba(246, 138, 31, 0.2);
    transform: translateY(1px);
}


/* --- Speakers Section --- */
.speakers-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.speakers-content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.speakers-header {
    text-align: center;
    margin-bottom: 40px;
}

.speakers-header h2 {
    color: #26485e;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.speakers-subtitle {
    color: #485a67;
    font-size: 1.1rem;
    margin: 0;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.speaker-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speaker-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.speaker-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e5e7eb;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-name {
    color: #26485e;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.speaker-title {
    color: #485a67;
    font-size: 0.9rem;
    margin: 0 0 8px;
}

.speaker-separator {
    margin: 0 6px;
    color: #cbd5e1;
}

.speaker-session {
    color: #f68a1f;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 12px;
}

.speaker-bio {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}


/* --- Sponsorship Opportunities Section --- */
.sponsorship-opportunities-section {
    background-color: #26485e;
    padding: 60px 0;
    color: white;
}

.sponsorship-content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.sponsorship-header {
    text-align: center;
    margin-bottom: 40px;
}

.sponsorship-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.sponsorship-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 15px;
}

.sponsorship-intro {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
}

.sponsorship-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.sponsorship-package {
    background: white;
    color: #333;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.sponsorship-package.package-sold {
    opacity: 0.7;
}

.package-header {
    border-bottom: 2px solid #f68a1f;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.package-name {
    color: #26485e;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.package-price {
    color: #f68a1f;
    font-size: 1.1rem;
    font-weight: 600;
}

.package-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.package-limited {
    background-color: #fef3c7;
    color: #92400e;
}

.package-sold-badge {
    background-color: #fee2e2;
    color: #991b1b;
}

.package-description {
    color: #485a67;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.package-description p {
    margin: 0 0 10px;
}

.package-description p:last-child {
    margin-bottom: 0;
}

.package-includes {
    margin-bottom: 20px;
}

.includes-label {
    color: #26485e;
    font-weight: 600;
    margin: 0 0 10px;
    font-size: 0.9rem;
}

.includes-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.includes-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: #485a67;
    font-size: 0.9rem;
}

.includes-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f68a1f;
    font-weight: 700;
}

.package-cta {
    margin-top: auto;
    padding-top: 15px;
}

.package-cta .register-button {
    width: 100%;
    display: block;
    text-align: center;
}

.sponsorship-contact-cta {
    text-align: center;
    margin-top: 30px;
}

.sponsorship-contact-cta .cta-button {
    background-color: #f68a1f;
    color: white;
}

.sponsorship-contact-cta .cta-button:hover {
    background-color: #e07a0f;
}


/* --- Responsive Adjustments for New Sections --- */
@media (max-width: 768px) {
    .event-hero-section .hero-title {
        font-size: 2rem;
    }
    
    .event-hero-section .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-banner-style {
        min-height: 300px;
    }
    
    /* Mobile subnav - horizontal scrolling, centered, touch-friendly */
    .event-subnav {
        padding: 16px 0;
        overflow: hidden;
    }
    
    .event-subnav .subnav-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding: 0 15px;
    }
    
    .event-subnav .subnav-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .event-subnav .subnav-link {
        flex-shrink: 0;
        padding: 14px 24px;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        min-height: 48px; /* Apple's recommended touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsorship-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .speakers-header h2,
    .sponsorship-header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 500px) {
    .event-hero-section .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-title-style .hero-title {
        font-size: 2rem;
    }
    
    /* Smaller mobile subnav - still touch-friendly */
    .event-subnav .subnav-link {
        padding: 12px 20px;
        font-size: 13px;
        min-height: 44px; /* Minimum touch target */
    }
    
    /* Smaller mobile CTA buttons - stack if needed but keep centered */
    .top-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .top-cta-buttons .register-button {
        width: auto;
        min-width: 200px;
        max-width: 100%;
    }
    
    .quick-action-card {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .quick-action-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .quick-action-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .quick-action-label {
        font-size: 14px;
    }
    
    .quick-action-description {
        font-size: 12px;
    }
    
    .speaker-card {
        padding: 20px;
    }
    
    .sponsorship-package {
        padding: 20px;
    }
    
    .package-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==============================================
   Who's Attending Logo Slider
   ============================================== */

.whos-attending-section {
    background-color: white;
    padding: 40px 0;
    margin-top: 0;
}

.whos-attending-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.whos-attending-title {
    text-align: center;
    margin-bottom: 25px;
}

.whos-attending-title h2 {
    color: #26485e;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whos-attending-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #f68a1f;
    margin: 15px auto 0;
}

.whos-attending-slider {
    position: relative;
}

.whos-attending-slide {
    padding: 0 15px;
}

.whos-attending-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 15px;
    min-height: 80px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.whos-attending-logo:hover {
    opacity: 0.7;
}

.whos-attending-logo img {
    display: block;
    max-width: 180px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Slick slider arrow positioning for this section */
.whos-attending-slider .slick-prev,
.whos-attending-slider .slick-next {
    position: absolute;
    top: 50%;
    margin-top: -17px;
    width: 30px;
    height: 30px;
    background: none;
    border-radius: 0;
    opacity: 0.8;
    border-left: 3px solid #26485e;
    border-top: 3px solid #26485e;
    transition: opacity 0.3s;
    outline: none;
    cursor: pointer;
    z-index: 10;
}

.whos-attending-slider .slick-prev:hover,
.whos-attending-slider .slick-next:hover {
    opacity: 1;
}

.whos-attending-slider .slick-prev {
    transform: rotate(-45deg);
    left: -45px;
}

.whos-attending-slider .slick-next {
    transform: rotate(135deg);
    right: -45px;
}

/* Hide default slick button text */
.whos-attending-slider .slick-prev,
.whos-attending-slider .slick-next {
    font-size: 0;
    line-height: 0;
    color: transparent;
}

/* Responsive adjustments */
@media (max-width: 1399px) {
    .whos-attending-container {
        padding: 0 50px;
    }
    
    .whos-attending-slider .slick-prev {
        left: -35px;
    }
    
    .whos-attending-slider .slick-next {
        right: -35px;
    }
}

@media (max-width: 1024px) {
    .whos-attending-section {
        padding: 35px 0;
    }
    
    .whos-attending-container {
        padding: 0 40px;
    }
    
    .whos-attending-slider .slick-prev {
        left: -30px;
    }
    
    .whos-attending-slider .slick-next {
        right: -30px;
    }
}

@media (max-width: 768px) {
    .whos-attending-section {
        padding: 30px 0;
    }
    
    .whos-attending-container {
        padding: 0 50px;
    }
    
    .whos-attending-title h2 {
        font-size: 26px;
    }
    
    .whos-attending-title {
        margin-bottom: 20px;
    }
    
    .whos-attending-slider .slick-prev,
    .whos-attending-slider .slick-next {
        width: 24px;
        height: 24px;
    }
    
    .whos-attending-slider .slick-prev {
        left: -35px;
    }
    
    .whos-attending-slider .slick-next {
        right: -35px;
    }
    
    .whos-attending-logo {
        min-height: 70px;
        padding: 10px;
    }
    
    .whos-attending-logo img {
        max-width: 150px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .whos-attending-container {
        padding: 0 45px;
    }
    
    .whos-attending-slide {
        padding: 0 10px;
    }
    
    .whos-attending-slider .slick-prev {
        left: -30px;
    }
    
    .whos-attending-slider .slick-next {
        right: -30px;
    }
}

/* =========================================
   MEDIA KIT SECTION
   ========================================= */

.media-kit-section {
    padding: 40px 0 60px;
    background-color: #fff;
}

.media-kit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.media-kit-intro {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}

.media-kit-intro p:last-child {
    margin-bottom: 0;
}

.media-kit-contact {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

.media-kit-contact a {
    color: var(--massmedic-blue, #0066cc);
    text-decoration: none;
    font-weight: 500;
}

.media-kit-contact a:hover {
    text-decoration: underline;
}

.media-kit-bulk-download {
    margin-bottom: 40px;
}

.media-kit-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.media-kit-download-btn svg {
    flex-shrink: 0;
}

/* Media Kit Grid */
.media-kit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.media-kit-item {
    position: relative;
}

.media-kit-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.media-kit-item-link:hover {
    transform: translateY(-4px);
}

.media-kit-thumbnail {
    position: relative;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-kit-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.media-kit-file-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.media-kit-file-icon .file-type-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-kit-download-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 4px;
}

.media-kit-item-link:hover .media-kit-download-overlay,
.media-kit-item-link:focus .media-kit-download-overlay {
    opacity: 1;
}

.media-kit-item-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--massmedic-blue, #0066cc);
    text-align: center;
    line-height: 1.3;
}

/* Sample Social Media Post */
.media-kit-social-post {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.media-kit-social-post h3 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
}

.media-kit-social-post-content {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 30px;
}

.social-post-instructions {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.social-post-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.social-post-text p {
    margin-bottom: 16px;
}

.social-post-text p:last-child {
    margin-bottom: 0;
}

.social-post-text a {
    color: var(--massmedic-blue, #0066cc);
    text-decoration: none;
}

.social-post-text a:hover {
    text-decoration: underline;
}

/* Media Kit Responsive */
@media (max-width: 768px) {
    .media-kit-grid {
        gap: 24px;
    }
    
    .media-kit-section {
        padding: 30px 0 50px;
    }
}

@media (max-width: 600px) {
    .media-kit-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .media-kit-section {
        padding: 25px 0 40px;
    }
    
    .media-kit-container {
        padding: 0 15px;
    }
    
    .media-kit-intro {
        font-size: 16px;
    }
    
    .media-kit-download-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .media-kit-social-post h3 {
        font-size: 20px;
    }
    
    .media-kit-social-post-content {
        padding: 18px 20px;
    }
    
    .media-kit-item-label {
        font-size: 13px;
    }
}


/* =========================================
   ENHANCED SPEAKERS SHOWCASE (Tab Version)
   Based on RPP Conference speakers page design
   ========================================= */

.speakers-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.speakers-intro {
    text-align: center;
    margin-bottom: 50px;
}

.speakers-intro h2 {
    color: #26485e;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.speakers-intro p {
    color: #485a67;
    font-size: 1.2rem;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 700px;
}

/* Enhanced Speaker Card Grid */
.speakers-showcase .speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Enhanced Speaker Card */
.speakers-showcase .speaker-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(38, 72, 94, 0.05);
    text-align: left;
    padding: 0;
}

.speakers-showcase .speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Speaker Header (Photo + Info) */
.speakers-showcase .speaker-header {
    padding: 25px;
    background: linear-gradient(135deg, rgba(246, 138, 31, 0.02) 0%, rgba(38, 72, 94, 0.02) 100%);
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.speakers-showcase .speaker-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin: 0;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.speakers-showcase .speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speakers-showcase .speaker-card:hover .speaker-photo {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(246, 138, 31, 0.2);
}

.speakers-showcase .speaker-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.speakers-showcase .speaker-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #26485e;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.speakers-showcase .keynote-star {
    color: #cf2e2e;
    font-size: 1rem;
    margin-left: 6px;
    filter: drop-shadow(0 2px 4px rgba(207, 46, 46, 0.3));
}

.speakers-showcase .speaker-title {
    font-size: 0.85rem;
    color: #485a67;
    margin: 0 0 4px 0;
    line-height: 1.3;
    font-weight: 500;
}

.speakers-showcase .speaker-company {
    font-size: 0.8rem;
    color: #f68a1f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

/* Keynote Badge */
.keynote-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: linear-gradient(135deg, #cf2e2e 0%, #ff6900 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(207, 46, 46, 0.3);
    z-index: 4;
}

.keynote-badge::before {
    content: "\2B50 ";
}

/* Timeline Style Panel Information */
.panel-info {
    margin: 0 35px 35px 35px;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.panel-info::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e0e0e0;
    border-radius: 2px;
}

.panel-content {
    margin-left: 50px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(38, 72, 94, 0.08);
    padding: 20px;
    position: relative;
}

.panel-content::before {
    content: '';
    position: absolute;
    left: -37.5px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #f68a1f;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.time-header {
    color: #2f67b2;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-parent {
    color: #485a67;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.9;
}

.panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #26485e;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.panel-type {
    color: #8a9ba8;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    opacity: 0.8;
}

/* Special Styling for Keynote Speakers */
.keynote-speaker .panel-content::before {
    background: #f68a1f;
}

.keynote-speaker .time-header {
    color: #cf2e2e;
}

.keynote-speaker .panel-type {
    color: #cf2e2e;
    font-weight: 500;
}

/* Day-specific color coding */
.day-1-panel .panel-content::before {
    background: #f68a1f;
}

.day-1-panel .time-header {
    color: #2f67b2;
}

.day-2-panel .panel-content::before {
    background: #f68a1f;
}

.day-2-panel .time-header {
    color: #2f67b2;
}

/* Responsive Styles for Enhanced Speakers */
@media (max-width: 900px) {
    .speakers-showcase .speakers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .speakers-showcase {
        padding: 40px 20px;
    }
    
    .speakers-intro h2 {
        font-size: 28px;
    }
    
    .speakers-intro p {
        font-size: 1rem;
    }
    
    .speakers-showcase .speaker-card {
        margin: 0 10px;
    }
    
    .speakers-showcase .speaker-header {
        padding: 30px 25px;
    }
    
    .panel-info {
        margin: 0 25px 30px 25px;
    }

    .panel-content {
        margin-left: 40px;
    }
    
    .panel-content::before {
        left: -25px;
    }
}

@media (max-width: 480px) {
    .speakers-showcase {
        padding: 30px 15px;
    }
    
    .speakers-intro h2 {
        font-size: 24px;
    }
    
    .speakers-showcase .speaker-card {
        margin: 0 5px;
    }
    
    .speakers-showcase .speaker-header {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .speakers-showcase .speaker-info {
        align-items: center;
    }
    
    .panel-info {
        margin: 0 20px 25px 20px;
    }
    
    .speakers-showcase .speaker-photo {
        width: 100px;
        height: 100px;
    }
}

/* =============================================
   Speaker Bio Modal
   ============================================= */

/* Clickable photo/name trigger styles */
.speaker-bio-trigger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.speaker-photo-wrapper {
    display: block;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.speaker-photo-wrapper:hover,
.speaker-photo-wrapper:focus {
    transform: scale(1.05);
    outline: none;
}

.speaker-photo-wrapper:focus-visible {
    box-shadow: 0 0 0 3px rgba(47, 103, 178, 0.4);
}

.speaker-name-link {
    color: #26485e;
    font: inherit;
    text-align: left;
    transition: color 0.2s ease;
}

.speaker-name-link:hover,
.speaker-name-link:focus {
    color: #2f67b2;
    outline: none;
}

.speaker-name-link:focus-visible {
    text-decoration: underline;
}

.speaker-card.has-bio .speaker-photo {
    cursor: pointer;
}

/* Modal overlay and container */
.speaker-bio-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.speaker-bio-modal[hidden] {
    display: none;
}

.speaker-bio-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.speaker-bio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.speaker-bio-modal-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.speaker-bio-modal.active .speaker-bio-modal-container {
    transform: scale(1) translateY(0);
}

.speaker-bio-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Close button */
.speaker-bio-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.speaker-bio-modal-close:hover {
    background: #ffffff;
    color: #26485e;
    transform: scale(1.1);
}

.speaker-bio-modal-close:focus-visible {
    outline: 2px solid #2f67b2;
    outline-offset: 2px;
}

/* Modal header */
.speaker-bio-modal-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 32px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.speaker-bio-modal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.speaker-bio-modal-info {
    flex: 1;
    min-width: 0;
}

.speaker-bio-modal-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #26485e;
    margin: 0 0 8px;
    line-height: 1.2;
}

.speaker-bio-modal-title {
    font-size: 1rem;
    color: #2f67b2;
    font-weight: 500;
    margin-bottom: 4px;
}

.speaker-bio-modal-company {
    font-size: 0.9rem;
    color: #64748b;
}

/* Modal body */
.speaker-bio-modal-body {
    padding: 24px 32px 32px;
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
}

.speaker-bio-modal-body p {
    margin: 0 0 1em;
}

.speaker-bio-modal-body p:last-child {
    margin-bottom: 0;
}

.speaker-bio-modal-body a {
    color: #2f67b2;
    text-decoration: underline;
}

.speaker-bio-modal-body a:hover {
    color: #f68a1f;
}

/* Modal responsive */
@media (max-width: 640px) {
    .speaker-bio-modal {
        padding: 10px;
    }
    
    .speaker-bio-modal-container {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .speaker-bio-modal-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px 20px;
        gap: 16px;
    }
    
    .speaker-bio-modal-photo {
        width: 100px;
        height: 100px;
    }
    
    .speaker-bio-modal-name {
        font-size: 1.25rem;
    }
    
    .speaker-bio-modal-body {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .speaker-bio-modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
}
