html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    box-sizing: border-box;
}

body * {
    box-sizing: border-box;
}

header.page-header {
    width: 100%;
    max-width: 100%;
}

main.page-body.slamball-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-x: hidden;
}

.slamball-page * {
    max-width: 100%;
    min-width: 0;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #dbe1f3;
    border-radius: 18px;
    padding: 1.15rem;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7ff 60%, #eef3ff 100%);
    box-shadow: 0 12px 30px rgba(0, 10, 61, 0.08);
}

.kicker {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #304278;
    font-weight: 600;
}

.main-heading {
    margin: 0;
    color: #071347;
    font-size: clamp(1.5rem, 4vw, 2.45rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.deck {
    margin: 0;
    color: #222;
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.65;
}

.status-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.status-card {
    flex: 1 1 210px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border: 1px solid #e2e6f1;
    border-radius: 14px;
    padding: 0.85rem;
    background: #fff;
}

.status-card-emphasis {
    border-color: #000A3D;
    box-shadow: inset 0 0 0 1px #000A3D;
}

.status-label {
    color: #5b6688;
    font-size: 0.82rem;
    line-height: 1.35;
}

.status-card strong {
    color: #061143;
    font-size: 1.08rem;
    line-height: 1.35;
}

.article-section {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    border: 1px solid #eceff7;
    border-radius: 16px;
    padding: 1rem;
    background: #fff;
}

.split-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.9rem;
    border: 0;
    padding: 0;
    background: transparent;
}

.article-card {
    flex: 1 1 360px;
    border: 1px solid #eceff7;
    border-radius: 16px;
    padding: 1rem;
    background: #fff;
}

.subheading {
    margin: 0;
    color: #101a4f;
    font-size: clamp(1.15rem, 2.3vw, 1.45rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.para {
    margin: 0;
    color: #262626;
    font-size: 0.99rem;
    line-height: 1.66;
}

.table-shell {
    display: none;
}

.mobile-card-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.2rem;
}

.tool-button {
    border: 1px solid #000A3D;
    border-radius: 999px;
    background: #000A3D;
    color: #fff;
    padding: 0.55rem 0.85rem;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.tool-button-light {
    background: #fff;
    color: #000A3D;
}

.tool-button:focus-visible {
    outline: 3px solid #9bb1ff;
    outline-offset: 2px;
}

.card-state {
    color: #4b5575;
    font-size: 0.88rem;
    line-height: 1.4;
}

.event-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.event-card-detail {
    border: 1px solid #dfe4f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

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

.event-card-detail summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 2.4rem 0.85rem 0.9rem;
    color: #061143;
    font-weight: 600;
    line-height: 1.35;
    position: relative;
    background: #f6f8ff;
    overflow-wrap: anywhere;
}

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

.event-card-detail summary::after {
    content: "+";
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    color: #000A3D;
    line-height: 1;
}

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

.event-definition-list {
    display: grid;
    grid-template-columns: minmax(8rem, 32%) 1fr;
    margin: 0;
    border-top: 1px solid #e5e8f1;
}

.event-definition-list dt,
.event-definition-list dd {
    margin: 0;
    padding: 0.7rem;
    border-bottom: 1px solid #e5e8f1;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.event-definition-list dt {
    color: #12205b;
    font-weight: 600;
    background: #fbfcff;
}

.event-definition-list dd {
    color: #2b2b2b;
}

.event-definition-list dt:last-of-type,
.event-definition-list dd:last-of-type {
    border-bottom: 0;
}

.bullet-list,
.source-list {
    margin: 0.1rem 0 0 0;
    padding-left: 1.15rem;
}

.bullet-item,
.source-list li {
    margin: 0.35rem 0;
    line-height: 1.58;
    color: #2c2c2c;
    overflow-wrap: anywhere;
}

.source-list a {
    color: #001878;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 24, 120, 0.35);
    overflow-wrap: anywhere;
}

.source-list a:hover {
    border-bottom-color: #001878;
}

.source-section {
    background: #fbfcff;
}

@media (max-width: 820px) {
    main.page-body.slamball-page {
        padding: 0.75rem;
        gap: 0.8rem;
    }

    .hero-panel,
    .article-section,
    .article-card {
        border-radius: 14px;
        padding: 0.85rem;
    }

    .status-card {
        flex: 1 1 150px;
    }

    .split-section {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    main.page-body.slamball-page {
        padding: 0.6rem;
    }

    .hero-panel,
    .article-section,
    .article-card {
        padding: 0.75rem;
    }

    .deck,
    .para,
    .bullet-item,
    .source-list li {
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .event-definition-list {
        grid-template-columns: 1fr;
    }

    .event-definition-list dt {
        border-bottom: 0;
        padding-bottom: 0.25rem;
    }

    .event-definition-list dd {
        padding-top: 0.25rem;
    }

    .tool-button {
        width: 100%;
    }

    .card-state {
        width: 100%;
    }
}
