.program-page {
    background: #f6f7fb;
}


.program-agenda {
    padding: 48px 0 28px;
}

.agenda-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 34px 38px;
    border-radius: 28px;
    background: linear-gradient(135deg, #1b3f78 0%, #294e8d 100%);
    color: #fff;
    box-shadow: 0 20px 48px rgba(19, 46, 92, 0.18);
}

.agenda-content {
    flex: 1;
}

.agenda-content h2 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2.15rem);
    line-height: 1.2;
    font-weight: 800;
}

.agenda-content p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}

.section-label.light {
    color: rgba(255, 255, 255, 0.7);
}

.agenda-action {
    flex-shrink: 0;
}

.agenda-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: #173b73;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.agenda-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}


.program-table-section {
    padding: 24px 0 90px;
}

.program-topbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

.program-heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
    color: #101828;
    line-height: 1.2;
    font-weight: 800;
}

.program-day-label {
    margin: 0 0 8px;
    color: #174ea6;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.program-switcher {
    display: inline-flex;
    padding: 6px;
    gap: 6px;
    background: #eef2f8;
    border: 1px solid #dde4ef;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.day-tab {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #344054;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.day-tab span {
    margin-top: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #667085;
}

.day-tab:hover {
    background: rgba(23, 59, 115, 0.06);
}

.day-tab.is-active {
    background: linear-gradient(135deg, #173b73 0%, #2457a6 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(23, 59, 115, 0.22);
}

.day-tab.is-active span {
    color: rgba(255, 255, 255, 0.82);
}

.program-day-panel {
    display: none;
}

.program-day-panel.is-active {
    display: block;
}


.program-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
}

.program-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.program-table th,
.program-table td {
    padding: 20px 18px;
    vertical-align: top;
    border-bottom: 1px solid #e8edf4;
    border-right: 1px solid #e8edf4;
}

.program-table th:last-child,
.program-table td:last-child {
    border-right: none;
}

.program-table thead th {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #0f172a;
    font-size: 0.93rem;
    font-weight: 800;
    text-align: center;
}

.program-table tbody tr:last-child td {
    border-bottom: none;
}

.program-table .col-time {
    width: 16%;
}

.program-table .col-session {
    width: 42%;
}

.program-table .col-speaker {
    width: 42%;
}

.program-table td:first-child {
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    background: #fcfdff;
}

.program-table strong {
    display: block;
    margin-bottom: 8px;
    color: #101828;
    font-size: 1.03rem;
    line-height: 1.55;
}

.program-table ul,
.program-table ol {
    margin: 10px 0 0;
    padding-left: 20px;
}

.program-table li {
    margin-bottom: 8px;
    color: #475467;
    line-height: 1.78;
}

.program-table p {
    margin: 10px 0 0;
    color: #475467;
    line-height: 1.78;
}

.mc-row td {
    background: #f7faff;
    color: #174ea6;
    font-weight: 700;
    border-right: none;
}

.session-note {
    margin-top: 10px;
    color: #174ea6;
    font-weight: 700;
}

.discussant-line {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #d8dfeb;
}

.speaker-list,
.speaker-ordered {
    margin-top: 10px;
}


.speaker-trigger {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    color: #174ea6;
    font: inherit;
    font-weight: 700;
    line-height: inherit;
    text-align: left;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.speaker-trigger:hover {
    color: #0e3f8c;
}

.inline-pdf-link {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 9px;
    border: 1px solid rgba(23, 59, 115, 0.14);
    border-radius: 999px;
    background: #f3f7fc;
    color: #173b73;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.inline-pdf-link:hover {
    background: #173b73;
    border-color: #173b73;
    color: #ffffff;
    transform: translateY(-1px);
}


body.modal-open {
    overflow: hidden;
}

.speaker-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.speaker-modal.is-open {
    display: block;
}

.speaker-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 33, 0.56);
    backdrop-filter: blur(6px);
}

.speaker-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(860px, calc(100% - 32px));
    max-height: 84vh;
    margin: 6vh auto 0;
    padding: 36px 34px 30px;
    border-radius: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 28px 80px rgba(16, 24, 40, 0.22);
    animation: modalUp 0.28s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes modalUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.speaker-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f2f5fa;
    color: #0f172a;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 3;
}

.speaker-modal-close:hover {
    background: #e8edf5;
    transform: rotate(90deg);
}

.speaker-modal-top {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px;
    padding-right: 40px;
    flex-shrink: 0;
}

.speaker-photo-wrap {
    width: 200px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf2;
}

.speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 10px;
}

.speaker-photo,
.speaker-avatar {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.speaker-avatar {
    background: linear-gradient(135deg, #173b73 0%, #2457a6 100%);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(23, 59, 115, 0.22);
}

.speaker-modal-label {
    margin: 0 0 8px;
    color: #174ea6;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.speaker-modal-head {
    flex: 1;
}

.speaker-modal-head h3 {
    margin: 0 0 8px;
    color: #101828;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 800;
}

.speaker-modal-head p {
    margin: 0;
    color: #475467;
    line-height: 1.75;
    white-space: pre-line;
}

.speaker-modal-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.speaker-modal-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #173b73;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(23, 59, 115, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.speaker-modal-pdf:hover {
    background: #2457a6;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(23, 59, 115, 0.24);
}

.speaker-modal-body {
    border-top: 1px solid #e8edf4;
    padding-top: 22px;
    overflow-y: auto;
    min-height: 0;
}

.speaker-modal-bio p {
    margin: 0 0 16px;
    color: #344054;
    line-height: 1.95;
}

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


@media (max-width: 991px) {

    .agenda-box,
    .program-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .program-switcher {
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .program-hero {
        min-height: 280px;
    }

    .sub-hero-content {
        padding: 108px 0 44px;
    }

    .sub-hero-meta {
        flex-direction: column;
        gap: 8px;
    }

    .sub-hero-meta span:not(:last-child)::after {
        display: none;
    }

    .program-agenda {
        padding: 32px 0 20px;
    }

    .agenda-box {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .program-table-section {
        padding: 18px 0 70px;
    }

    .program-switcher {
        width: 100%;
    }

    .day-tab {
        min-width: 0;
        flex: 1;
        padding: 11px 14px;
    }

    .speaker-modal-dialog {
        width: calc(100% - 20px);
        max-height: 88vh;
        margin-top: 5vh;
        padding: 28px 20px 22px;
        border-radius: 22px;
    }

    .speaker-modal-top {
        align-items: flex-start;
        gap: 16px;
        padding-right: 30px;
    }

    .speaker-photo-wrap,
    .speaker-photo,
    .speaker-avatar {
        width: 76px;
        height: 76px;
        border-radius: 18px;
    }

    .speaker-avatar {
        font-size: 1.4rem;
    }

    .speaker-modal-head h3 {
        font-size: 1.35rem;
    }

    .speaker-modal-actions {
        margin-top: 14px;
    }

    .speaker-modal-pdf {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.84rem;
    }

    .inline-pdf-link {
        margin-left: 6px;
        padding: 3px 8px;
        font-size: 0.72rem;
    }
}

.speaker-name {
    color: #101828;
    font: inherit;
    font-weight: 700;
    line-height: inherit;
}