:root {
    --bg: #f5f2eb;
    --surface: #ffffff;
    --surface-alt: #eef3f9;
    --text: #14233b;
    --muted: #5b6b7f;
    --line: rgba(20, 35, 59, 0.12);
    --primary: #0f4c81;
    --primary-dark: #0a3458;
    --accent: #b53a2d;
    --accent-soft: #f3ddd7;
    --gold: #d2a548;
    --shadow: 0 24px 60px rgba(15, 39, 72, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1180px, calc(100% - 40px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(181, 58, 45, 0.12), transparent 26%),
        linear-gradient(180deg, #f9f6f0 0%, #f2f5f8 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

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

main {
    display: block;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(245, 242, 235, 0.86);
    border-bottom: 1px solid rgba(20, 35, 59, 0.08);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(20, 35, 59, 0.08);
    padding: 6px;
    box-shadow: 0 12px 24px rgba(15, 39, 72, 0.1);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-text strong {
    font-size: 0.98rem;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.8rem;
}

.brand-text .brand-date {
    font-size: 0.74rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav .nav-cta {
    color: var(--text);
}

.nav-cta {
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 76, 129, 0.16);
    background: rgba(15, 76, 129, 0.08);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(15, 76, 129, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
}

.hero-section,
.inner-hero {
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 76, 129, 0.08), transparent 55%),
        url("../images/conference-lines.svg") right top / 520px no-repeat;
    pointer-events: none;
}

.hero-grid,
.inner-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    padding: 88px 0 74px;
}

.hero-grid {
    grid-template-columns: minmax(0, 0.88fr);
}

.hero-copy {
    max-width: 900px;
}

.page-registration .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 52px 0 34px;
}

.page-registration .inner-hero h1 {
    font-size: clamp(2rem, 3.3vw, 3.2rem);
}

.page-registration .inner-hero p {
    max-width: 720px;
    margin-bottom: 0;
}

.hero-copy h1,
.inner-hero h1,
.section h2,
.site-footer h2,
.cta-panel h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-text,
.section-head p,
.prose-block p,
.footer-copy,
.footer-note,
.inner-hero p,
.registration-form-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1rem;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 18px 35px rgba(15, 76, 129, 0.25);
}

.button-secondary {
    background: rgba(15, 76, 129, 0.08);
    border-color: rgba(15, 76, 129, 0.18);
}

.button-block {
    width: 100%;
}

.hero-meta,
.feature-list,
.contact-list,
.committee-card ul,
.timeline-day ul,
.fee-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-meta {
    display: grid;
    gap: 14px;
}

.hero-meta li,
.feature-list li,
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
}

.hero-meta i,
.feature-list i,
.contact-list i,
.agenda-card i {
    color: var(--accent);
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.hero-panel,
.inner-hero-card {
    display: flex;
    align-items: center;
}

.hero-card,
.inner-hero-card,
.info-card,
.registration-form-card,
.committee-card,
.agenda-card,
.timeline-day,
.footer-card,
.stat-card,
.speaker-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 34px;
}

.hero-logo {
    width: 180px;
    height: 78px;
    object-fit: contain;
    margin-bottom: 16px;
}

.card-kicker,
.pill,
.timeline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-card h2 {
    margin: 18px 0 14px;
    font-size: 1.85rem;
    line-height: 1.2;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.hero-highlights div,
.hero-highlight-link {
    padding: 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.06), rgba(181, 58, 45, 0.05));
}

.hero-highlight-link {
    display: block;
    border: 1px solid rgba(15, 76, 129, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-highlight-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 39, 72, 0.12);
    border-color: rgba(15, 76, 129, 0.28);
}

.hero-highlights strong,
.detail-row strong {
    display: block;
    font-size: 1.1rem;
}

.hero-highlights span,
.detail-row span {
    color: var(--muted);
    font-size: 0.92rem;
}

.section {
    padding: 76px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(238, 243, 249, 0.9));
    border-top: 1px solid rgba(20, 35, 59, 0.06);
    border-bottom: 1px solid rgba(20, 35, 59, 0.06);
}

.section-grid,
.registration-layout,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.section-grid,
.registration-layout,
.footer-grid,
.stat-grid,
.card-grid,
.committee-grid,
.agenda-grid,
.timeline {
    align-items: start;
}

.section-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.section-head {
    max-width: 700px;
    margin-bottom: 28px;
}

.stat-grid,
.card-grid,
.committee-grid,
.agenda-grid {
    display: grid;
    gap: 22px;
}

.stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agenda-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-grid,
.committee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#speakers .card-grid,
#committee .card-grid,
#conveners .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.speaker-card,
.committee-card,
.agenda-card,
.timeline-day,
.info-card,
.registration-form-card,
.footer-card {
    padding: 28px;
}

.card-subtitle {
    color: var(--primary);
    font-weight: 700;
}

.speaker-card h3,
.committee-card h3,
.agenda-card h3,
.footer-card h3,
.info-card h2,
.info-card h3 {
    margin: 14px 0 10px;
    font-size: 1.25rem;
}

.speaker-card {
    min-height: 100%;
    overflow: hidden;
    padding: 28px;
    text-align: center;
}

.speaker-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(75%, 225px);
    aspect-ratio: 1;
    height: auto;
    margin: 0 auto 22px;
    overflow: hidden;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(181, 58, 45, 0.16)),
        #eef3f9;
    border: 1px solid rgba(15, 76, 129, 0.12);
}

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

.speaker-photo span {
    color: var(--primary);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.speaker-photo:not(.is-fallback) span {
    visibility: hidden;
}

.speaker-card .pill,
.speaker-card h3,
.speaker-card p {
    margin-left: 0;
    margin-right: 0;
}

.committee-card ul,
.timeline-day ul {
    display: grid;
    gap: 12px;
}

.committee-card li,
.timeline-day li,
.fee-list li {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.agenda-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.agenda-card::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 58, 45, 0.14), transparent 68%);
    z-index: 0;
}

.agenda-icon {
    position: relative;
    z-index: 1;
    display: block;
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto 0px;
    border-radius: 12px;
    background: rgba(245, 227, 186, 0.86);
}

.agenda-card h3,
.agenda-card p {
    position: relative;
    z-index: 1;
    width: 100%;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.timeline-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.timeline-day li {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: start;
}

.timeline-day li.timeline-item-full {
    grid-template-columns: 1fr;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 76, 129, 0.16);
    background: rgba(15, 76, 129, 0.08);
    color: var(--text);
    font-weight: 700;
}

.cta-section {
    padding-top: 10px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #102b49, #0f4c81);
    color: #fff;
    box-shadow: var(--shadow);
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.8);
}

.inner-hero-card {
    flex-direction: column;
    gap: 18px;
    padding: 28px;
}

.detail-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.detail-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.registration-info {
    display: grid;
    gap: 22px;
}

.registration-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 26px;
}

.registration-form-card {
    padding: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.94));
}

.registration-form-head {
    margin-bottom: 24px;
}

.registration-form-head h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.15;
}

.registration-form-head p:last-child {
    margin-bottom: 0;
}

.registration-side-card {
    padding: 24px;
}

.registration-side-card h3 {
    margin-top: 0;
}

.fee-card {
    background: linear-gradient(180deg, #fff, #f7f8fb);
}

.fee-list {
    display: grid;
    gap: 10px;
}

.fee-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.mini-detail-list {
    display: grid;
    gap: 14px;
}

.mini-detail-list div {
    display: grid;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.mini-detail-list div:first-child {
    padding-top: 0;
    border-top: 0;
}

.mini-detail-list span {
    color: var(--muted);
    font-size: 0.92rem;
}

.mini-detail-list strong,
.mini-detail-list a {
    color: var(--text);
}

.registration-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    gap: 9px;
}

.form-row label {
    font-weight: 700;
    font-size: 0.95rem;
}

.form-row input,
.form-row select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(20, 35, 59, 0.14);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.form-row input:focus,
.form-row select:focus {
    outline: 0;
    border-color: rgba(15, 76, 129, 0.48);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.08);
}

.form-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fee-summary {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 20px;
    background: var(--surface-alt);
}

.fee-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
}

.fee-summary strong {
    color: var(--text);
}

.fee-summary .total-row {
    padding-top: 12px;
    border-top: 1px solid rgba(20, 35, 59, 0.12);
}

.payment-section {
    padding-top: 0;
}

.payment-panel {
    padding-bottom: 76px;
}

.payment-redirect-form {
    margin-top: 18px;
}

.thankyou-section {
    min-height: 58vh;
    display: flex;
    align-items: center;
}

.thankyou-wrap {
    max-width: 860px;
}

.thankyou-card {
    padding: 38px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
}

.thankyou-head {
    text-align: left;
    max-width: 720px;
    margin: 0 0 34px;
}

.thankyou-head .card-kicker {
    margin: 0 0 14px;
}

.thankyou-head h1 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.thankyou-head p {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.thankyou-head strong {
    color: var(--text);
}

.thankyou-details {
    width: 100%;
    table-layout: auto;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.thankyou-details th,
.thankyou-details td {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
    text-align: left !important;
    vertical-align: middle;
}

.thankyou-details tr:first-child th,
.thankyou-details tr:first-child td {
    border-top: 0;
}

.thankyou-details th {
    width: 280px;
    min-width: 280px;
    padding-right: 80px !important;
    background: rgba(238, 243, 249, 0.72);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.thankyou-details td {
    min-width: 0;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.site-footer {
    padding: 82px 0 28px;
    background: #122033;
    color: #fff;
}

.footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr) minmax(280px, 0.85fr);
}

.site-footer h2 {
    font-size: clamp(2rem, 3vw, 3.3rem);
}

.site-footer .eyebrow,
.site-footer .footer-copy,
.site-footer .footer-note,
.site-footer .contact-list li,
.site-footer .contact-list a,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.72);
}

.footer-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.footer-card .contact-list {
    display: grid;
    gap: 14px;
}

.footer-card .contact-list li {
    padding: 0;
    border: 0;
}

.footer-card .contact-list span,
.footer-card .contact-list a {
    display: inline-block;
    line-height: 1.7;
    word-break: break-word;
}

.prose-block {
    max-width: 720px;
}

.prose-block p:first-child {
    margin-top: 0;
}

.prose-block p:last-child {
    margin-bottom: 0;
}

#about h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
}

.about-simple {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    gap: 42px;
    align-items: center;
}

.about-media img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
}

.about-content {
    display: grid;
    gap: 22px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 18px;
}

.social-links a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 26px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1080px) {
    .hero-grid,
    .inner-hero-grid,
    .section-grid,
    .registration-layout,
    .footer-grid,
    .about-simple,
    .timeline,
    .stat-grid,
    .card-grid,
    .committee-grid,
    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    #speakers .card-grid,
    #committee .card-grid,
    #conveners .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #about h2 {
        max-width: none;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-bar {
        min-height: 76px;
    }

    .hero-grid,
    .inner-hero-grid {
        padding: 64px 0 56px;
    }

    .page-registration .inner-hero-grid {
        padding: 42px 0 26px;
    }

    .form-split {
        grid-template-columns: 1fr;
    }

    .fee-list li,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .thankyou-section {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100% - 24px, 1180px);
    }

    .hero-copy h1,
    .inner-hero h1,
    .section h2,
    .site-footer h2,
    .cta-panel h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    #about h2 {
        line-height: 1.04;
    }

    #speakers .card-grid,
    #committee .card-grid,
    #conveners .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .inner-hero-card,
    .stat-card,
    .committee-card,
    .agenda-card,
    .timeline-day,
    .info-card,
    .registration-form-card,
    .footer-card,
    .cta-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .speaker-card {
        padding: 22px;
        border-radius: 22px;
    }

    .speaker-photo {
        width: min(75%, 210px);
        height: auto;
        border-radius: 50%;
    }

    .speaker-card .pill,
    .speaker-card h3,
    .speaker-card p {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-meta li,
    .feature-list li,
    .contact-list li,
    .timeline-day li,
    .fee-summary div,
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-day li {
        grid-template-columns: 1fr;
    }

    .thankyou-card {
        padding: 24px;
        border-radius: 22px;
    }

    .thankyou-head {
        text-align: left;
    }

    .thankyou-head .card-kicker {
        margin-left: 0;
    }

    .thankyou-details th,
    .thankyou-details td {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 12px 16px !important;
        text-align: left !important;
    }

    .thankyou-details td {
        padding-top: 4px;
        border-top: 0;
    }

    .thankyou-details th {
        padding-bottom: 4px;
        white-space: normal;
    }
}

/* Schedule Section CSS */
.schedule-nav-container {
    display: flex;
    justify-content: center;
    margin: 0 auto 40px;
    padding: 4px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.schedule-nav-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.schedule-tabs {
    display: flex;
    gap: 8px;
    background: rgba(20, 35, 59, 0.04);
    padding: 6px;
    border-radius: 20px;
    border: 1px solid rgba(20, 35, 59, 0.06);
}

.schedule-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--muted);
    min-width: 150px;
}

.schedule-tab-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.5);
}

.schedule-tab-btn.active {
    background: var(--surface);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(15, 39, 72, 0.08);
}

.tab-day-label {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tab-date-label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 2px;
    opacity: 0.8;
}

.schedule-pane {
    display: none;
}

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

.schedule-pane.active {
    display: block;
    animation: scheduleFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.schedule-timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 20px;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--line);
}

.schedule-session-group {
    margin-bottom: 34px;
    position: relative;
}

.schedule-session-header {
    margin-bottom: 20px;
    padding-left: 10px;
}

.session-title {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.session-time {
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

.session-chair {
    font-size: 0.9rem;
    color: var(--muted);
}

.schedule-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.schedule-item {
    position: relative;
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: start;
    gap: 20px;
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    z-index: 2;
    transition: transform 0.2s ease;
}

.schedule-item:hover::before {
    transform: scale(1.3);
}

.item-time {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    padding-top: 14px;
    text-align: right;
}

.item-content {
    background: var(--surface);
    border: 1px solid rgba(20, 35, 59, 0.06);
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(15, 39, 72, 0.03);
    transition: all 0.3s ease;
}

.schedule-item:hover .item-content {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 39, 72, 0.08);
    border-color: rgba(15, 76, 129, 0.16);
}

/* Event Types styling */
.item-type-lecture .item-content {
    border-left: 4px solid var(--primary);
}

.item-type-break .item-content {
    border-left: 4px solid var(--muted);
    background: rgba(91, 107, 127, 0.02);
}

.item-type-event .item-content {
    border-left: 4px solid var(--accent);
    background: rgba(181, 58, 45, 0.01);
}

/* Specific content nodes styling */
.item-lecture-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.lecture-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.item-type-lecture .lecture-id {
    background: rgba(15, 76, 129, 0.08);
    color: var(--primary);
}

.lecture-speaker {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.lecture-institution {
    font-size: 0.9rem;
    color: var(--muted);
}

.item-break-title {
    font-weight: 600;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.item-break-title i {
    width: 18px;
    height: 18px;
    color: var(--muted);
}

.item-event-title {
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Responsive adjust for mobile */
@media (max-width: 768px) {
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .item-time {
        text-align: left;
        padding-top: 0;
        padding-left: 0;
        margin-bottom: -4px;
        font-size: 0.88rem;
    }
    
    .schedule-timeline {
        padding-left: 14px;
    }
    
    .schedule-timeline::before {
        left: 4px;
    }
    
    .schedule-item::before {
        left: -14px;
        top: 4px;
    }
    
    .schedule-tabs {
        width: 100%;
        justify-content: flex-start;
    }
    
    .schedule-tab-btn {
        min-width: 120px;
        padding: 8px 16px;
    }
    
    .session-title {
        font-size: 1.3rem;
        flex-wrap: wrap;
        gap: 4px;
    }
}

