/*-- -------------------------- -->
<---       ESL Placement        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0px) {
    #esl-placement {
        background: var(--white);
        padding: var(--sectionPadding);
    }

    #esl-placement .cs-container {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    #esl-placement .cs-header {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    #esl-placement .cs-text {
        max-width: 36.25rem;
    }

    #esl-placement .cs-title em {
        font-style: normal;
        color: var(--signingGold);
    }

    #esl-placement .cs-table-wrap {
        width: 100%;
        overflow-x: auto;
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        border-radius: 0.75rem;
        background: var(--white);
    }

    #esl-placement .cs-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    #esl-placement .cs-table thead tr {
        background: var(--navy);
    }

    #esl-placement .cs-table thead th {
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6);
        padding: 0.75rem 1rem;
        text-align: left;
    }

    #esl-placement .cs-table thead th:nth-child(1) { width: 28%; }
    #esl-placement .cs-table thead th:nth-child(2) { width: 24%; }
    #esl-placement .cs-table thead th:nth-child(3) { width: 28%; }
    #esl-placement .cs-table thead th:nth-child(4) {
        width: 20%;
        text-align: center;
    }

    #esl-placement .cs-table tbody tr {
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
        transition: background 0.15s ease;
    }

    #esl-placement .cs-table tbody tr:last-child {
        border-bottom: none;
    }

    #esl-placement .cs-table tbody tr.cs-row-alt {
        background: #f7f7f6;
    }

    #esl-placement .cs-table tbody tr:hover td {
        color: var(--navy);
    }

    #esl-placement .cs-table tbody td {
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
        color: var(--charcoal);
        transition: color 0.15s ease;
        vertical-align: middle;
    }

    #esl-placement .cs-table tbody td:nth-child(4) {
        text-align: center;
    }

    #esl-placement .cs-score {
        font-family: monospace;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--navy);
        letter-spacing: 0.04em;
    }

    #esl-placement .cs-note {
        font-size: 0.6875rem;
        color: var(--silver);
    }

    #esl-placement .cs-credit {
        font-weight: 700;
        font-size: 0.8125rem;
        color: var(--silver);
        text-align: center;
    }

    #esl-placement .cs-multi {
        font-size: 0.6875rem;
        color: var(--silver);
        line-height: 1.6;
    }

    #esl-placement .cs-tag {
        font-size: 0.5625rem;
        font-weight: 600;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        border-radius: 0.25rem;
        padding: 0.1875rem 0.4375rem;
        display: inline-block;
    }

    #esl-placement .cs-tag-gold {
        background: rgba(212, 168, 67, 0.14);
        color: #7a5a00;
    }

    #esl-placement .cs-tag-navy {
        background: rgba(10, 22, 40, 0.07);
        color: var(--navy);
    }

    #esl-placement .cs-table-note {
        background: rgba(10, 22, 40, 0.02);
        border-top: 0.5px solid rgba(0, 0, 0, 0.07);
        padding: 0.875rem 1rem;
    }

    #esl-placement .cs-table-note p {
        font-size: 0.75rem;
        line-height: 1.6;
        color: var(--silver);
        margin: 0;
    }

    #esl-placement .cs-table-note p strong {
        color: var(--navy);
        font-weight: 600;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #esl-placement {
        padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
    }

    #esl-placement .cs-table thead th {
        padding: 1rem 1.5rem;
    }

    #esl-placement .cs-table tbody td {
        font-size: 0.875rem;
        padding: 0.875rem 1.5rem;
    }

    #esl-placement .cs-table-note {
        padding: 1rem 1.5rem;
    }
}

/*-- -------------------------- -->
<---        ESL Pathway         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0px) {
    #esl-pathway {
        background: var(--white);
        padding: var(--sectionPadding);
        border-top: 0.5px solid rgba(0, 0, 0, 0.06);
    }

    #esl-pathway .cs-container {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    #esl-pathway .cs-intro {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    #esl-pathway .cs-intro-text {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    #esl-pathway .cs-intro-text .cs-text {
        max-width: 36.25rem;
    }

    #esl-pathway .cs-title em {
        font-style: normal;
        color: var(--signingGold);
    }

    #esl-pathway .cs-image-box {
        width: 100%;
        min-height: 16.25rem;
        border-radius: 0.75rem;
        overflow: hidden;
        border: 0.5px solid rgba(0, 0, 0, 0.08);
    }

    #esl-pathway .cs-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #esl-pathway .cs-outcomes {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    #esl-pathway .cs-outcomes-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    #esl-pathway .cs-outcome-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        background: var(--white);
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        border-radius: 0.75rem;
        padding: 1rem 1.25rem;
    }

    #esl-pathway .cs-outcome-icon {
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 50%;
        background: rgba(212, 168, 67, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 0.0625rem;
    }

    #esl-pathway .cs-outcome-icon svg {
        width: 1rem;
        height: 1rem;
        color: var(--signingGold);
        stroke: var(--signingGold);
    }

    #esl-pathway .cs-outcome-text {
        font-size: 0.875rem;
        line-height: 1.6;
        color: var(--charcoal);
        margin: 0;
        padding-top: 0.25rem;
    }
}

/* Tablet - 640px */
@media only screen and (min-width: 40rem) {
    #esl-pathway .cs-outcomes-list {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    #esl-pathway .cs-outcome-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #esl-pathway {
        padding: clamp(2.5rem, 5vw, 4rem) 6vw;
    }

    #esl-pathway .cs-intro {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: stretch;
    }

    #esl-pathway .cs-image-box {
        min-height: 22rem;
        height: 100%;
    }
}