/* =========================================================
   HORIZON SCHOOL - MANDATORY DISCLOSURE CSS
   ========================================================= */

.disclosure-page {
    background: #f5f7fa;
    padding: 45px 0 80px;
}

/* =========================================================
   MAIN WRAPPER
   ========================================================= */

.disclosure-wrap {
    max-width: 1250px;
    margin: 0 auto;
}

/* =========================================================
   DISCLOSURE HEADER
   ========================================================= */

.disclosure-top {
    position: relative;
    margin-bottom: 35px;
    padding: 38px 40px;
    background: #ffffff;
    border: 1px solid #e2e7ee;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(16, 24, 40, 0.05);
}

.disclosure-top .appendix {
    margin-bottom: 8px;
    color: #0f6654;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.disclosure-top h1 {
    margin: 0;
    padding-right: 250px;
    color: #084a3c;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.disclosure-pdf-btn {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 7px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   DISCLOSURE SECTION
   ========================================================= */

.disc-section {
    margin-bottom: 32px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e7ee;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.04);
}

.disc-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.disc-section-letter {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0f6654;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.disc-section-heading h2 {
    margin: 0 0 4px;
    color: #084a3c;
    font-size: 23px;
    line-height: 1.3;
}

.disc-section-heading p {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.disc-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}

/* =========================================================
   TABLE
   ========================================================= */

.disc-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #ffffff;
}

.disc-table th {
    padding: 15px 14px;
    border-right: 1px solid #d9e0e8;
    border-bottom: 2px solid #0f6654;
    background: #eaf5f1;
    color: #084a3c;
    text-align: left;
    vertical-align: middle;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0.25px;
}

.disc-table th:last-child {
    border-right: 0;
}

.disc-table td {
    padding: 14px;
    border-right: 1px solid #e1e6ec;
    border-bottom: 1px solid #e1e6ec;
    color: #344054;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.65;
}

.disc-table td:last-child {
    border-right: 0;
}

.disc-table tbody tr:last-child td {
    border-bottom: 0;
}

.disc-table tbody tr:nth-child(even) {
    background: #fafbfd;
}

.disc-table tbody tr:hover {
    background: #f4f7fb;
}

.disc-table .sn {
    width: 75px;
    min-width: 75px;
    text-align: center;
}

.disc-table td:first-child {
    color: #0f6654;
    font-weight: 700;
}

/* =========================================================
   DOCUMENT LINKS
   ========================================================= */

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0f6654;
    font-weight: 700;
    text-decoration: none;
}

.doc-link::before {
    content: "PDF";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 21px;
    padding: 0 5px;
    border-radius: 4px;
    background: #0f6654;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
}

.doc-link:hover {
    color: #084a3c;
    text-decoration: underline;
}

.doc-empty {
    color: #98a2b3;
}

/* =========================================================
   NOTE
   ========================================================= */

.disc-note {
    margin: 0 0 32px;
    padding: 17px 20px;
    border-left: 4px solid #d7a947;
    border-radius: 7px;
    background: #fffaf0;
    color: #475467;
    font-size: 13px;
    line-height: 1.7;
}

.disc-note strong {
    color: #7a5700;
}

/* =========================================================
   RESULT TABLES
   ========================================================= */

.result-title {
    margin: 30px 0 12px;
    padding: 11px 15px;
    border-left: 4px solid #0f6654;
    background: #f1f5fa;
    color: #084a3c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.result-table {
    min-width: 850px;
}

.result-table th,
.result-table td {
    text-align: center;
    vertical-align: middle;
}

.result-table th:last-child,
.result-table td:last-child {
    text-align: left;
}

/* =========================================================
   INFRASTRUCTURE TABLE
   ========================================================= */

.infra-table {
    min-width: 760px;
}

.infra-table th:first-child,
.infra-table td:first-child {
    width: 80px;
    text-align: center;
}

/* =========================================================
   DESKTOP COLUMN SIZING
   ========================================================= */

.disc-section:nth-of-type(1) .disc-table th:nth-child(1) {
    width: 80px;
}

.disc-section:nth-of-type(1) .disc-table th:nth-child(2) {
    width: 42%;
}

.disc-section:nth-of-type(2) .disc-table th:nth-child(1) {
    width: 80px;
}

.disc-section:nth-of-type(2) .disc-table th:nth-child(2) {
    width: 48%;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.disclosure-page a:focus-visible {
    outline: 3px solid rgba(18, 63, 122, 0.25);
    outline-offset: 3px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .disclosure-page {
        padding: 30px 0 60px;
    }

    .disclosure-top {
        padding: 30px;
    }

    .disclosure-top h1 {
        padding-right: 0;
    }

    .disclosure-pdf-btn {
        position: static;
        transform: none;
        margin-top: 22px;
    }

    .disc-section {
        padding: 24px;
    }

    .disc-section-heading h2 {
        font-size: 21px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .disclosure-page {
        padding: 20px 0 45px;
    }

    .disclosure-top {
        margin-bottom: 20px;
        padding: 24px 20px;
        border-radius: 9px;
    }

    .disclosure-top h1 {
        font-size: 30px;
    }

    .disclosure-pdf-btn {
        width: 100%;
        margin-top: 20px;
    }

    .disc-section {
        margin-bottom: 20px;
        padding: 18px;
        border-radius: 9px;
    }

    .disc-section-heading {
        gap: 11px;
        margin-bottom: 18px;
    }

    .disc-section-letter {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 12px;
    }

    .disc-section-heading h2 {
        font-size: 18px;
    }

    .disc-section-heading p {
        font-size: 11px;
    }

    .disc-table {
        min-width: 700px;
    }

    .disc-table th {
        padding: 12px 10px;
        font-size: 10px;
    }

    .disc-table td {
        padding: 11px 10px;
        font-size: 12px;
    }

    .disc-note {
        margin-bottom: 20px;
        padding: 14px 15px;
    }

    .result-title {
        margin-top: 22px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .disclosure-top {
        padding: 20px 16px;
    }

    .disclosure-top h1 {
        font-size: 27px;
    }

    .disc-section {
        padding: 14px;
    }

    .disc-section-heading {
        align-items: center;
    }

    .disc-section-heading h2 {
        font-size: 16px;
    }

    .disc-section-heading p {
        display: none;
    }

    .disc-table {
        min-width: 650px;
    }

    .disc-table th {
        font-size: 9px;
    }

    .disc-table td {
        font-size: 11px;
    }
}