/* The theme's global "html, body { height:100%; overflow-x:hidden }" rule leaves
   overflow-y to compute to "auto" on both html and body (per the CSS Overflow spec,
   pairing a non-visible overflow-x with an unset overflow-y forces auto on it), so
   with content taller than one viewport both elements become independent scroll
   containers at once - two nested scrollbars. Only the outer viewport should scroll. */
body.page-template-page-accessibility-index-references {
    background: #000;
    height: auto;
    min-height: 100%;
    overflow-y: visible;
}

.accessibility-index-references {
    padding-top: 60px;
    padding-bottom: 100px;
    color: #fff;
}

.accessibility-index-references .page-title {
    font-size: 56px;
    line-height: 105%;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}

/* ===== ACCORDION LIST ===== */

.accessibility-index-references .accord-list {
    border-top: 1px solid #2a2a2a;
}

.accessibility-index-references .accord-item-heading {
    margin: 0;
    font-weight: 400;
}

.accessibility-index-references .accord-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid #2a2a2a;
    padding: 28px 0;
    color: #fff;
    font-size: 32px;
    line-height: 105%;
    font-weight: 300;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.accessibility-index-references .accord-toggle-btn:focus-visible {
    outline: 2px solid #FFDF00;
    outline-offset: -2px;
}

.accessibility-index-references .accord-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    margin-left: 24px;
}

.accessibility-index-references .accord-toggle-btn.is-open .accord-toggle {
    transform: rotate(180deg);
}

.accessibility-index-references .accord-toggle img {
    display: block;
    width: 18px;
    height: 11px;
}

.accessibility-index-references .accord-content {
    position: relative;
}

.accessibility-index-references .accord-content[hidden] {
    display: none;
}

.accessibility-index-references .accord-inner {
    padding: 8px 0 48px;
}

/* ===== REFERENCE TABLE ===== */

.accessibility-index-references .ref-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.accessibility-index-references .ref-table th {
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    padding: 0 20px 14px 0;
    border-bottom: 1px solid #2a2a2a;
}

.accessibility-index-references .ref-table td {
    font-size: 15px;
    line-height: 130%;
    color: #cfcfcf;
    vertical-align: top;
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid #1a1a1a;
}

.accessibility-index-references .ref-table th:nth-child(1),
.accessibility-index-references .ref-table td:nth-child(1) {
    width: 28%;
}

.accessibility-index-references .ref-table th:nth-child(2),
.accessibility-index-references .ref-table td:nth-child(2) {
    width: 20%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.accessibility-index-references .ref-table th:nth-child(3),
.accessibility-index-references .ref-table td:nth-child(3) {
    width: 18%;
}

.accessibility-index-references .ref-table th:nth-child(4),
.accessibility-index-references .ref-table td:nth-child(4) {
    width: 34%;
}

.accessibility-index-references .ref-table td:last-child,
.accessibility-index-references .ref-table th:last-child {
    padding-right: 0;
}

.accessibility-index-references .ref-table a {
    color: #BCBCBC;
    text-decoration: underline;
}

.accessibility-index-references .ref-table a:hover,
.accessibility-index-references .ref-table a:focus {
    color: #fff;
}

.accessibility-index-references .ref-table blockquote {
    margin: 0;
    padding-left: 14px;
    border-left: 2px solid #2a2a2a;
    font-style: italic;
    color: #9a9a9a;
}

/* ===== DISCLAIMER ===== */

.accessibility-index-references .accessibility-index-disclaimer {
    margin-top: 60px;
    max-width: 550px;
}

.accessibility-index-references .accessibility-index-disclaimer p {
    font-size: 13px;
    line-height: 140%;
    color: #8a8a8a;
    margin: 0 0 16px;
}

/* ===== RESPONSIVE ===== */

/* Card layout shared by tablet and phone: table semantics stay in the markup
   for assistive tech, CSS restacks each row into a labelled card. The two
   ranges below only differ in how many columns the card uses. */
@media (max-width: 1024px) {
    .accessibility-index-references .ref-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .accessibility-index-references .ref-table,
    .accessibility-index-references .ref-table tbody {
        display: block;
        width: 100%;
    }

    .accessibility-index-references .ref-table th,
    .accessibility-index-references .ref-table td {
        width: auto !important;
    }

    .accessibility-index-references .ref-table tr {
        padding: 20px 0;
        border-bottom: 1px solid #1a1a1a;
    }

    .accessibility-index-references .ref-table td {
        display: block;
        padding: 0 0 12px;
        border-bottom: none;
    }

    .accessibility-index-references .ref-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #fff;
        margin-bottom: 6px;
    }
}

/* Tablet (768px–1024px): two cards per row */
@media (min-width: 768px) and (max-width: 1024px) {
    .accessibility-index-references .ref-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 32px;
    }

    .accessibility-index-references .ref-table td {
        min-width: 0;
    }
}

/* Phone (below 768px): one card per row */
@media (max-width: 767px) {
    .accessibility-index-references .page-title {
        font-size: 36px;
    }

    .accessibility-index-references .accord-toggle-btn {
        font-size: 22px;
        padding: 20px 0;
    }

    .accessibility-index-references .ref-table tr {
        display: block;
    }

    .accessibility-index-references .ref-table td:last-child {
        padding-bottom: 0;
    }
    .accessibility-index-references {
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
}
@media screen and (min-width: 1200px) {
    .accessibility-index-references {
        padding-left: 55px!important;
    }
}
