﻿/* =========================================================
   SHARED STYLE – HIGHLY CAPABLE DISTRICT PAGES
   Used by: BSD, ESD, ISD, LWSD, Mukilteo, NSD, Snoqualmie
   ========================================================= */

/* === PAGE HEADINGS === */
.heading {
    color: #003399;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.content-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/* === TIP CARDS === */
.tip-card {
    background: #ffffff;
    border: 2px solid #003399;
    max-width: 820px;
    margin: 1.25rem auto;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
}

.card-title {
    color: #003399;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

/* === TEXT === */
.small-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.note {
    font-size: 0.9rem;
    color: #000000;
}

.bullets {
    margin-left: 1.15rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === TABLES === */
.table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.grade-table {
    width: 100%;
    border-collapse: collapse;
}

    .grade-table th,
    .grade-table td {
        padding: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
        font-size: 0.9rem;
    }

    .grade-table th {
        background: #f5f7ff;
        color: #003399;
    }

/* === DISCLAIMER CARD === */
.disclaimer-card {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.disclaimer-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #7c2d12;
    margin-bottom: 0.35rem;
}

.disclaimer-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #9a3412;
    text-decoration: none;
}

    .disclaimer-link:hover {
        text-decoration: underline;
    }

/* === GRADE SELECTOR (IF USED) === */
.grade-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.grade-pill {
    padding: 0.65rem 0.5rem;
    border-radius: 999px;
    background-color: #f5f7ff;
    border: 2px solid #003399;
    color: #003399;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .grade-pill:hover,
    .grade-pill:focus {
        background-color: #003399;
        color: #ffffff;
    }

/* =========================================================
   HiCap – District List (Match Existing Page Style)
   ========================================================= */

.hicap-page .district-list {
    margin-left: 1.15rem; /* same as .link-list */
    margin-top: 0.5rem;
}

    .hicap-page .district-list li {
        margin: 0.65rem 0; /* more space between items */
    }

    .hicap-page .district-list a {
        color: #003399; /* SAME blue as headings & links */
        font-weight: 700; /* same weight as competition links */
        font-size: 1.06rem; /* same as .paragraph */
        text-decoration: none;
    }

        .hicap-page .district-list a:hover,
        .hicap-page .district-list a:focus-visible {
            text-decoration: underline;
        }
