/* ------------------------------------------
   OSSD Requirements
------------------------------------------ */

@media only screen and (min-width: 0px) {
    #ossd-requirements {
        background: var(--white);
        padding: var(--sectionPadding);
    }

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

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

    #ossd-requirements .cs-label {
        font-family: var(--headerFont);
        font-size: 0.875rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--signingGold);
        margin: 0;
    }

    #ossd-requirements .cs-title {
        font-family: var(--headerFont);
        font-size: var(--headerFontSize);
        font-weight: 900;
        line-height: 1.2;
        color: var(--navy);
        margin: 0;
    }

    #ossd-requirements .cs-text {
        font-family: var(--bodyFont);
        font-size: var(--bodyFontSize);
        line-height: 1.7;
        color: var(--silver);
        margin: 0;
    }

    /* Panels */
    #ossd-requirements .cs-panels {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #ossd-requirements .cs-panel {
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        border-radius: 0.75rem;
        overflow: hidden;
        background: var(--white);
    }

    #ossd-requirements .cs-panel-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    }

    #ossd-requirements .cs-panel-meta {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
    }

    #ossd-requirements .cs-panel-num {
        font-family: var(--headerFont);
        font-size: 1.75rem;
        font-weight: 900;
        color: var(--navy);
        line-height: 1;
        margin: 0;
    }

    #ossd-requirements .cs-panel-num em {
        font-style: normal;
        font-size: 0.8125rem;
        font-weight: 500;
        color: var(--signingGold);
        margin-left: 0.25rem;
    }

    #ossd-requirements .cs-panel-label {
        font-family: var(--headerFont);
        font-size: 0.5625rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--silver);
        margin: 0;
    }

    #ossd-requirements .cs-panel-badge {
        font-family: var(--headerFont);
        font-size: 0.6875rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        background: var(--navy);
        color: var(--white);
        border-radius: 100px;
        padding: 0.3125rem 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Panel rows */
    #ossd-requirements .cs-panel-rows {
        display: flex;
        flex-direction: column;
    }

    #ossd-requirements .cs-panel-row {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem 1.25rem;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    }

    #ossd-requirements .cs-panel-row:last-child {
        border-bottom: none;
    }

    #ossd-requirements .cs-row-left {
        flex-shrink: 0;
        min-width: 4.5rem;
        padding-top: 0.125rem;
    }

    #ossd-requirements .cs-row-right {
        flex: 1;
        min-width: 0;
    }

    /* Tags */
    #ossd-requirements .cs-tag {
        display: inline-block;
        font-family: var(--headerFont);
        font-size: 0.5625rem;
        font-weight: 600;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        padding: 0.1875rem 0.5rem;
        border-radius: 0.25rem;
        white-space: nowrap;
    }

    #ossd-requirements .cs-tag-blue {
        background: rgba(26, 120, 189, 0.08);
        border: 0.5px solid rgba(26, 120, 189, 0.35);
        color: #1A78BD;
    }

    #ossd-requirements .cs-tag-navy {
        background: #e8ecf5;
        border: 0.5px solid rgba(10, 25, 60, 0.2);
        color: var(--navy);
    }

    #ossd-requirements .cs-tag-green {
        background: #EAF3DE;
        border: 0.5px solid #97C459;
        color: #27500A;
    }

    /* Row subject text */
    #ossd-requirements .cs-row-subjects {
        font-family: var(--bodyFont);
        font-size: 0.8125rem;
        color: var(--charcoal);
        line-height: 1.7;
        margin: 0;
    }

    /* Subject pills */
    #ossd-requirements .cs-subj-pill {
        display: inline-flex;
        align-items: center;
        border-radius: 0.25rem;
        padding: 0.0625rem 0.4375rem;
        font-family: var(--headerFont);
        font-size: 0.6875rem;
        font-weight: 500;
        line-height: 1.6;
    }

    #ossd-requirements .cs-pill-amber {
        background: #FEF3CD;
        border: 0.5px solid #E8C84A;
        color: #7A5500;
    }

    #ossd-requirements .cs-pill-green {
        background: #EAF3DE;
        border: 0.5px solid #97C459;
        color: #27500A;
    }

    /* STEM list */
    #ossd-requirements .cs-stem-intro {
        font-family: var(--bodyFont);
        font-size: 0.75rem;
        color: var(--silver);
        margin: 0 0 0.25rem;
    }

    #ossd-requirements .cs-stem-list {
        margin: 0;
        padding-left: 1.125rem;
        font-family: var(--bodyFont);
        font-size: 0.8125rem;
        color: var(--charcoal);
        line-height: 1.9;
    }

    #ossd-requirements .cs-stem-note {
        font-size: 0.6875rem;
        color: var(--silver);
    }

    /* Footnotes */
    #ossd-requirements .cs-panel-footnotes {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem 1rem;
    }

    #ossd-requirements .cs-footnote {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        font-family: var(--bodyFont);
        font-size: 0.75rem;
        line-height: 1.5;
        border-radius: 0.375rem;
        padding: 0.5rem 0.75rem;
        margin: 0;
    }

    #ossd-requirements .cs-footnote-amber {
        background: #FFFBEE;
        border: 0.5px solid #E8C84A;
        color: #7A5500;
    }

    #ossd-requirements .cs-footnote-green {
        background: #EAF3DE;
        border: 0.5px solid #97C459;
        color: #27500A;
    }

    #ossd-requirements .cs-fn-marker {
        flex-shrink: 0;
        font-weight: 600;
        margin-top: 0.0625rem;
    }

    /* Quote block (panel 2) */
    #ossd-requirements .cs-panel-quote {
        border-left: 3px solid #B07A00;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
        background: #FFFBEE;
        padding: 0.875rem 1.25rem;
    }

    #ossd-requirements .cs-quote-text {
        font-family: var(--bodyFont);
        font-size: 0.8125rem;
        font-style: italic;
        color: #7A5500;
        line-height: 1.6;
        margin: 0;
    }
}

@media only screen and (min-width: 48rem) {
    #ossd-requirements .cs-row-left {
        min-width: 5rem;
    }
}

@media only screen and (min-width: 64rem) {
    #ossd-requirements {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    #ossd-requirements .cs-panel-top {
        padding: 1.25rem 1.5rem;
    }

    #ossd-requirements .cs-panel-row {
        padding: 0.875rem 1.5rem;
        gap: 1rem;
    }

    #ossd-requirements .cs-row-left {
        min-width: 5.625rem;
    }

    #ossd-requirements .cs-row-subjects {
        font-size: 0.875rem;
    }

    #ossd-requirements .cs-stem-list,
    #ossd-requirements .cs-stem-intro {
        font-size: 0.875rem;
    }

    #ossd-requirements .cs-stem-note {
        font-size: 0.75rem;
    }

    #ossd-requirements .cs-footnote {
        font-size: 0.8125rem;
    }

    #ossd-requirements .cs-quote-text {
        font-size: 0.875rem;
    }

    #ossd-requirements .cs-panel-footnotes {
        padding: 1rem 1.5rem 1.25rem;
    }

    #ossd-requirements .cs-panel-quote {
        padding: 1rem 1.5rem;
    }
}

/* ------------------------------------------
   OSSD Courses
------------------------------------------ */
 
@media only screen and (min-width: 0px) {
    #ossd-courses {
        background: #fdfdfd;
        padding: var(--sectionPadding);
    }
 
    #ossd-courses .cs-container {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
 
    #ossd-courses .cs-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
 
    #ossd-courses .cs-title {
        font-family: var(--headerFont);
        font-size: var(--headerFontSize);
        padding-bottom: 1rem;
        line-height: 1.2;
        color: var(--navy);
        margin: 0;
    }
 
    #ossd-courses .cs-disclaimer {
        font-family: var(--bodyFont);
        font-size: 0.8125rem;
        color: var(--silver);
        margin: 0;
        line-height: 1.5;
    }
 
    #ossd-courses .cs-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
 
    #ossd-courses .cs-filter {
        font-family: var(--headerFont);
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        padding: 0.375rem 1rem;
        border-radius: 100px;
        border: 0.5px solid rgba(0, 0, 0, 0.15);
        background: transparent;
        color: var(--silver);
        cursor: pointer;
        transition: all 0.2s ease;
    }
 
    #ossd-courses .cs-filter:hover {
        border-color: var(--navy);
        color: var(--navy);
    }
 
    #ossd-courses .cs-filter.cs-active {
        background: var(--navy);
        border-color: var(--navy);
        color: var(--white);
    }
 
    #ossd-courses .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);
    }
 
    #ossd-courses .cs-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }
 
    #ossd-courses .cs-table thead tr {
        background: var(--navy);
    }
 
    #ossd-courses .cs-table thead th {
        font-family: var(--headerFont);
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6);
        padding: 0.75rem 0.875rem;
        text-align: left;
    }
 
    #ossd-courses .cs-table thead th:nth-child(1) { width: 26%; }
    #ossd-courses .cs-table thead th:nth-child(2) { width: 54%; }
    #ossd-courses .cs-table thead th:nth-child(3) {
        width: 20%;
        text-align: center;
    }
 
    #ossd-courses .cs-table tbody tr {
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
        transition: background 0.15s ease;
    }
 
    #ossd-courses .cs-table tbody tr:last-child {
        border-bottom: none;
    }
 
    #ossd-courses .cs-table tbody tr.cs-row-alt {
        background: #f7f7f6;
    }
 
    #ossd-courses .cs-table tbody tr:hover td {
        color: var(--navy);
    }
 
    #ossd-courses .cs-table tbody td {
        font-family: var(--bodyFont);
        font-size: 0.8125rem;
        padding: 0.75rem 0.875rem;
        color: var(--charcoal);
        transition: color 0.15s ease;
    }
 
    #ossd-courses .cs-table tbody td:nth-child(3) {
        text-align: center;
        color: var(--silver);
    }
 
    #ossd-courses .cs-table .cs-code {
        font-family: monospace;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--navy);
        letter-spacing: 0.04em;
    }
 
    #ossd-courses .cs-table .cs-credit {
        font-family: var(--headerFont);
        font-weight: 700;
        font-size: 0.8125rem;
    }
}
 
@media only screen and (min-width: 48rem) {
    #ossd-courses .cs-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
 
@media only screen and (min-width: 64rem) {
    #ossd-courses {
        padding-left: 6vw;
        padding-right: 6vw;
    }
 
    #ossd-courses .cs-table thead th {
        padding: 1rem 1.5rem;
    }
 
    #ossd-courses .cs-table tbody td {
        font-size: 0.9375rem;
        padding: 1rem 1.5rem;
    }
}

/* ------------------------------------------
   University Pathway
------------------------------------------ */
 
@media only screen and (min-width: 0px) {
    #university-pathway {
        background: var(--white);
        padding: var(--sectionPadding);
        border-top: 0.5px solid rgba(0, 0, 0, 0.06);
    }
 
    #university-pathway .cs-container {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
 
    #university-pathway .cs-header {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
 
    #university-pathway .cs-label {
        font-family: var(--headerFont);
        font-size: 0.875rem;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--signingGold);
        margin: 0;
    }
 
    #university-pathway .cs-title {
        font-family: var(--headerFont);
        font-size: var(--headerFontSize);
        font-weight: 900;
        line-height: 1.2;
        color: var(--navy);
        margin: 0;
    }
 
    #university-pathway .cs-text {
        font-family: var(--bodyFont);
        font-size: var(--bodyFontSize);
        line-height: 1.7;
        color: var(--silver);
        margin: 0;
        max-width: 35rem;
    }
 
    #university-pathway .cs-info-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
 
    #university-pathway .cs-info-card {
        background: #f7f7f6;
        border: 0.5px solid rgba(0, 0, 0, 0.07);
        border-radius: 0.75rem;
        padding: 1.25rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
 
    #university-pathway .cs-info-label {
        font-family: var(--headerFont);
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--signingGold);
        margin: 0;
    }
 
    #university-pathway .cs-info-text {
        font-family: var(--bodyFont);
        font-size: 0.875rem;
        line-height: 1.7;
        color: var(--charcoal);
        margin: 0;
    }
 
    #university-pathway .cs-table-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
 
    #university-pathway .cs-table-label {
        font-family: var(--headerFont);
        font-size: 0.875rem;
        font-weight: 600;
        font-style: italic;
        color: var(--signingGold);
        margin: 0;
    }
 
    /* Mobile cards */
    #university-pathway .cs-program-cards {
        display: flex;
        flex-direction: column;
        gap: 0;
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        border-radius: 0.75rem;
        overflow: hidden;
    }
 
    #university-pathway .cs-program-card {
        background: #f7f7f6;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.07);
        padding: 0.875rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
 
    #university-pathway .cs-program-card:last-child {
        border-bottom: none;
    }
 
    #university-pathway .cs-program-card:nth-child(odd) {
        background: var(--white);
    }
 
    #university-pathway .cs-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
 
    #university-pathway .cs-card-program {
        font-family: var(--headerFont);
        font-size: 0.8125rem;
        font-weight: 700;
        color: var(--navy);
    }
 
    #university-pathway .cs-card-extra {
        font-family: var(--headerFont);
        font-size: 0.6875rem;
        font-style: italic;
        color: var(--signingGold);
        white-space: nowrap;
        flex-shrink: 0;
    }
 
    #university-pathway .cs-card-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
 
    #university-pathway .cs-card-tag {
        font-family: var(--headerFont);
        font-size: 0.625rem;
        font-weight: 500;
        color: var(--navy);
        background: rgba(15, 47, 91, 0.07);
        border-radius: 0.25rem;
        padding: 0.1875rem 0.5rem;
        letter-spacing: 0.03em;
    }
 
    /* Desktop table — hidden on mobile */
    #university-pathway .cs-table-wrap {
        display: none;
    }
 
    #university-pathway .cs-dot {
        display: inline-block;
        width: 0.4375rem;
        height: 0.4375rem;
        border-radius: 50%;
        background: var(--signingGold);
    }
}
 
@media only screen and (min-width: 48rem) {
    #university-pathway .cs-info-group {
        grid-template-columns: 1fr 1fr;
    }
 
    #university-pathway .cs-program-cards {
        display: none;
    }
 
    #university-pathway .cs-table-wrap {
        display: block;
        width: 100%;
        overflow-x: auto;
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        border-radius: 0.75rem;
        background: var(--white);
    }
 
    #university-pathway .cs-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        min-width: 40rem;
    }
 
    #university-pathway .cs-table thead tr {
        background: var(--navy);
    }
 
    #university-pathway .cs-table thead th {
        font-family: var(--headerFont);
        font-size: 0.5625rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6);
        padding: 0.75rem 0.5rem;
        text-align: center;
    }
 
    #university-pathway .cs-table thead th:first-child {
        text-align: left;
        padding-left: 1rem;
        width: 22%;
    }
 
    #university-pathway .cs-table thead th:last-child {
        width: 12%;
    }
 
    #university-pathway .cs-table tbody tr {
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
        transition: background 0.15s ease;
    }
 
    #university-pathway .cs-table tbody tr:last-child {
        border-bottom: none;
    }
 
    #university-pathway .cs-table tbody tr:nth-child(even) {
        background: #f7f7f6;
    }
 
    #university-pathway .cs-table tbody tr:hover td {
        color: var(--navy);
    }
 
    #university-pathway .cs-table tbody td {
        font-family: var(--bodyFont);
        font-size: 0.8125rem;
        padding: 0.6875rem 0.5rem;
        color: var(--charcoal);
        text-align: center;
        transition: color 0.15s ease;
    }
 
    #university-pathway .cs-table .cs-program {
        font-family: var(--headerFont);
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--navy);
        text-align: left;
        padding-left: 1rem;
    }
 
    #university-pathway .cs-table .cs-additional {
        font-family: var(--bodyFont);
        font-size: 0.6875rem;
        font-style: italic;
        color: var(--silver);
        white-space: nowrap;
    }
}
 
@media only screen and (min-width: 64rem) {
    #university-pathway {
        padding-left: 6vw;
        padding-right: 6vw;
    }
 
    #university-pathway .cs-table thead th {
        padding: 0.875rem 0.625rem;
        font-size: 0.625rem;
    }
 
    #university-pathway .cs-table tbody td {
        padding: 0.8125rem 0.625rem;
    }
}