.page-body.featured-events-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    font-size: 1.8rem;
    line-height: 1.25;
    margin: 8px 0 10px 0;
    text-align: center;
}

.article-note {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #d8dff2;
    border-radius: 14px;
    background: #f7f9ff;
    line-height: 1.55;
    font-size: 0.97rem;
}

.article-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.subheading {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 4px 0 6px 0;
}

.styled-paragraph {
    line-height: 1.62;
    margin: 4px 0 6px 0;
    font-size: 0.98rem;
}

.styled-list {
    padding-left: 18px;
    margin: 4px 0 6px 0;
    line-height: 1.6;
    font-size: 0.97rem;
}

.styled-list li {
    margin: 4px 0;
}

.section-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.grid-col {
    flex: 1 1 340px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.emphasis-box {
    border-left: 4px solid #000A3D;
    border-radius: 14px;
    background: #f5f7ff;
    padding: 10px 12px;
}

.emphasis-text {
    margin: 0;
}

.metric-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.metric-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cdd6f4;
    background: #eef2ff;
    color: #000A3D;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.9rem;
    line-height: 1.35;
}

.table-tools {
    display: none;
    justify-content: flex-end;
    margin-bottom: 2px;
}

.toggle-all-button {
    border: none;
    background: #000A3D;
    color: white;
    border-radius: 999px;
    padding: 9px 14px;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
}

.toggle-all-button:hover {
    background: #122064;
}

.toggle-all-button:focus-visible {
    outline: 3px solid #94b3ff;
    outline-offset: 2px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d7dcec;
    border-radius: 16px;
    background: white;
}

.styled-table.desktop-schedule {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    table-layout: fixed;
}

.desktop-schedule th,
.desktop-schedule td {
    border: 1px solid #d7dcec;
    padding: 8px 9px;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.desktop-schedule thead th {
    background: #f4f6ff;
    font-weight: 700;
}

.desktop-schedule tbody tr:nth-child(even) {
    background: #fafbff;
}

.desktop-schedule th:nth-child(1),
.desktop-schedule td:nth-child(1) {
    width: 17%;
}

.desktop-schedule th:nth-child(2),
.desktop-schedule td:nth-child(2) {
    width: 16%;
}

.desktop-schedule th:nth-child(3),
.desktop-schedule td:nth-child(3) {
    width: 15%;
}

.desktop-schedule th:nth-child(4),
.desktop-schedule td:nth-child(4) {
    width: 18%;
}

.desktop-schedule th:nth-child(5),
.desktop-schedule td:nth-child(5) {
    width: 18%;
}

.desktop-schedule th:nth-child(6),
.desktop-schedule td:nth-child(6) {
    width: 16%;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.mobile-schedule {
    flex-direction: column;
    gap: 10px;
}

.schedule-card {
    border: 1px solid #d7dcec;
    border-radius: 16px;
    background: white;
    overflow: hidden;
}

.schedule-card[open] {
    box-shadow: 0 10px 24px rgba(0, 10, 61, 0.08);
}

.schedule-card summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    background: #fbfcff;
}

.schedule-card summary::-webkit-details-marker {
    display: none;
}

.schedule-card summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #000A3D;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.schedule-card[open] summary::after {
    content: "-";
}

.schedule-card summary:focus-visible {
    outline: 3px solid #94b3ff;
    outline-offset: -3px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.summary-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: #000A3D;
    border: 1px solid #d4dcf7;
    padding: 4px 8px;
    font-size: 0.84rem;
    line-height: 1.25;
}

.schedule-definition-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 16px 16px 16px;
    margin: 0;
}

.def-row {
    display: grid;
    grid-template-columns: minmax(112px, 140px) 1fr;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf0f7;
}

.def-row dt {
    font-weight: 700;
    margin: 0;
}

.def-row dd {
    margin: 0;
    line-height: 1.56;
    overflow-wrap: anywhere;
}

@media (max-width: 840px) {
    .page-body.featured-events-page {
        padding: 10px;
        gap: 10px;
    }

    .section-heading {
        font-size: 1.5rem;
        margin: 6px 0 8px 0;
    }

    .subheading {
        font-size: 1.05rem;
        margin: 4px 0;
    }

    .article-note,
    .styled-paragraph,
    .styled-list {
        font-size: 0.95rem;
        line-height: 1.56;
    }

    .grid-col {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .table-tools {
        display: flex;
    }

    .schedule-card summary {
        padding: 13px 14px;
    }

    .schedule-definition-list {
        padding: 0 14px 14px 14px;
    }

    .def-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 380px) {
    .section-heading {
        font-size: 1.32rem;
    }

    .metric-pill,
    .tag {
        font-size: 0.8rem;
    }

    .summary-title {
        font-size: 0.96rem;
    }
}
