/* ================================================
   SALARY PAGE OVERRIDES
   Only styles specific to salary-level pages.
   All other styles inherit from the shared style.css
   ================================================ */

/* ===================================
   SALARY OVERVIEW SECTION
   New component for salary pages
   =================================== */

.salary-overview-section {
    background: #ffffff;
    padding: 40px 20px;
}

.salary-overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.salary-overview-container h2 {
    color: #2c3e50;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #6366F1;
}

.salary-overview-container .intro-text {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Grid: Main + Sidebar */
.salary-overview-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 2rem;
}

.salary-overview-main {
    min-width: 0;
}

.salary-overview-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* ===================================
   SALARY HIGHLIGHT CARDS
   4-up stat cards at top of overview
   =================================== */

.salary-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 2rem;
}

.salary-highlight-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.salary-highlight-card:hover {
    border-color: #6366F1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}

.highlight-icon {
    font-size: 1.6rem;
    color: #6366F1;
    margin-bottom: 10px;
}

.highlight-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 6px;
}

.highlight-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
}

.highlight-detail {
    font-size: 0.78rem;
    color: #6c757d;
}

/* ===================================
   SALARY CHART CARDS
   Shared card for charts & tables
   =================================== */

.salary-chart-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.salary-chart-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.salary-chart-card p {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.6;
}

.salary-chart-card.full-width {
    grid-column: 1 / -1;
}

/* Chart wrappers */
.chart-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
}

.chart-wrapper canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.chart-wrapper-wide {
    height: 380px;
}

/* ===================================
   SALARY TABLES
   Percentile, state, and metro tables
   =================================== */

.salary-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.salary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.salary-table thead th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.salary-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #4a5568;
}

.salary-table tbody tr:hover {
    background: #f8f9fa;
}

.salary-table tbody tr.highlight-row {
    background: #EEF2FF;
    font-weight: 600;
}

.salary-table tbody tr.highlight-row td {
    color: #2c3e50;
}

/* +/- indicators */
.salary-table td.positive {
    color: #059669;
    font-weight: 600;
}

.salary-table td.negative {
    color: #DC2626;
    font-weight: 600;
}

/* ===================================
   SALARY OVERVIEW SIDEBAR
   Mirrors how-to-page sidebar pattern
   =================================== */

.salary-overview-sidebar .sidebar-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.salary-overview-sidebar .clinical-hours-hero {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border-radius: 8px;
    color: white;
    margin-bottom: 2rem;
}

.salary-overview-sidebar .clinical-hours-hero .big-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.salary-overview-sidebar .clinical-hours-hero .subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

.salary-overview-sidebar .clinical-hours-hero .detail {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.salary-overview-sidebar .clinical-breakdown {
    margin-top: 1.5rem;
}

.salary-overview-sidebar .clinical-breakdown h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.salary-overview-sidebar .clinical-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #6366F1;
    transition: all 0.3s ease;
}

.salary-overview-sidebar .clinical-item:hover {
    background: #EEF2FF;
    transform: translateX(4px);
}

.salary-overview-sidebar .clinical-icon {
    font-size: 1.8rem;
    color: #6366F1;
    min-width: 40px;
    text-align: center;
}

.salary-overview-sidebar .clinical-info h5 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.salary-overview-sidebar .clinical-info p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.4;
    margin: 0;
}

.salary-overview-sidebar .clinical-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.salary-overview-sidebar .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6366F1;
    line-height: 1;
}

.salary-overview-sidebar .stat-label {
    font-size: 0.85rem;
    color: #4a5568;
    margin-top: 0.25rem;
}

/* ===================================
   TOP PAYING STATES SECTION
   =================================== */

.salary-states-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
}

.salary-states-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.salary-states-section .section-header h2 {
    color: #2c3e50;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #6366F1;
}

.salary-states-section .section-header p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
}

.salary-states-container {
    max-width: 1200px;
    margin: 0 auto;
}

.salary-states-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.salary-states-grid > * {
    min-width: 0;
}

/* ===================================
   METRO AREA SECTION
   =================================== */

.salary-metro-section {
    background: #f8f9fa;
    padding: 40px 20px;
}

.salary-metro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.salary-metro-container h2 {
    color: #2c3e50;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #6366F1;
}

.salary-metro-container .intro-text {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
}

.salary-metro-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 2rem;
}

.salary-metro-main {
    min-width: 0;
}

.salary-metro-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* Metro sidebar cards — inherit specialties-sidebar pattern */
.salary-metro-sidebar .sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.salary-metro-sidebar .sidebar-card h3 {
    font-size: 1.3rem;
    color: #6366F1;
    margin-bottom: 20px;
    font-weight: 600;
}

.salary-metro-sidebar .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.salary-metro-sidebar .stat-item:last-child {
    border-bottom: none;
}

.salary-metro-sidebar .stat-label {
    font-size: 0.95rem;
    color: #4a5568;
}

.salary-metro-sidebar .stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6366F1;
}

.salary-metro-sidebar .info-box {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.salary-metro-sidebar .info-box i {
    font-size: 36px;
    margin-bottom: 12px;
}

.salary-metro-sidebar .info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.salary-metro-sidebar .info-box p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================================
   METRO CARDS
   Individual metro area stat cards
   =================================== */

.metro-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.metro-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.metro-card:hover {
    border-color: #6366F1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.metro-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
}

.metro-rank {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.metro-info h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 2px;
    font-weight: 600;
    line-height: 1.3;
}

.metro-state {
    font-size: 0.8rem;
    color: #6c757d;
}

.metro-card-body {
    padding: 14px 18px;
    display: flex;
    gap: 12px;
}

.metro-stat {
    flex: 1;
    text-align: center;
}

.metro-stat-label {
    display: block;
    font-size: 0.72rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 500;
}

.metro-stat-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #6366F1;
}

/* ===================================
   RESPONSIVE: Salary Page
   =================================== */

@media (max-width: 1150px) {
    .salary-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .salary-overview-grid,
    .salary-metro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .salary-overview-sidebar,
    .salary-metro-sidebar {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

    .salary-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .salary-states-grid {
        grid-template-columns: 1fr;
    }

    .metro-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .salary-overview-container,
    .salary-metro-container {
        padding: 25px;
    }

    .salary-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .salary-highlight-card {
        padding: 16px 12px;
    }

    .highlight-value {
        font-size: 1.4rem;
    }

    .highlight-label {
        font-size: 0.8rem;
    }

    .salary-chart-card {
        padding: 20px;
    }

    .chart-wrapper,
    .chart-wrapper-wide {
        height: 260px;
    }

    .salary-table thead th,
    .salary-table tbody td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .metro-card-header {
        padding: 12px 14px;
    }

    .metro-info h4 {
        font-size: 0.9rem;
    }

    .metro-card-body {
        padding: 10px 14px;
        flex-wrap: wrap;
    }

    .metro-stat-value {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .salary-highlights {
        grid-template-columns: 1fr;
    }

    .metro-cards-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 360px) {
    .salary-overview-section {
        padding: 30px 12px;
    }

    .salary-overview-container {
        padding: 16px;
    }

    .salary-chart-card {
        padding: 16px;
    }

    .salary-overview-sidebar .sidebar-card {
        padding: 1.25rem;
    }

    .salary-overview-sidebar .clinical-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .salary-overview-sidebar .clinical-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 320px) {
    .hero-icon {
        flex: none;
        width: 100%;
    }

    .icon,
    #hero-icon {
        width: 100%;
        max-width: 220px;
        height: auto;
    }
}

@media (max-width: 320px) {
    .salary-overview-section {
        padding: 24px 8px;
    }

    .salary-overview-container {
        padding: 10px;
    }

    .salary-highlights {
        gap: 8px;
    }

    .salary-highlight-card {
        padding: 12px 8px;
    }

    .salary-chart-card {
        padding: 12px;
    }

    .salary-overview-sidebar .sidebar-card {
        padding: 12px;
    }

    .salary-overview-sidebar .clinical-item {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .salary-overview-sidebar .clinical-icon {
        min-width: 28px;
        font-size: 1.2rem;
    }

    .salary-overview-sidebar .clinical-stats {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   ORANGE COUNTY-SPECIFIC CONTENT
   All selectors are scoped to new middle-page blocks.
   ================================================ */

.oc-data-scope {
    padding: 56px 20px 18px;
    background: #f7f8fc;
}

.oc-data-scope__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 28px 36px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid #d9def0;
    border-radius: 16px;
    background: linear-gradient(135deg, #252a57 0%, #34376f 62%, #46488b 100%);
    box-shadow: 0 16px 36px rgba(37, 42, 87, 0.15);
    color: #ffffff;
}

.oc-data-scope__heading {
    align-self: center;
}

.oc-data-scope__eyebrow,
.oc-public-pay__eyebrow,
.oc-salary-network__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #d17b19;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.oc-data-scope__eyebrow {
    color: #f8cf8c;
}

.oc-data-scope__heading h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.18;
}

.oc-data-scope__heading p {
    margin: 0;
    color: #e5e7f7;
    font-size: 1rem;
    line-height: 1.75;
}

.oc-data-scope__release {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
}

.oc-data-scope__release-label {
    margin-bottom: 5px;
    color: #f8cf8c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.oc-data-scope__release strong {
    color: #ffffff;
    font-size: 1.35rem;
}

.oc-data-scope__release > span:last-of-type {
    margin: 4px 0 17px;
    color: #d9dcf2;
    font-size: 0.85rem;
}

.oc-data-scope__release a {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    text-underline-offset: 3px;
}

.oc-data-scope__note {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: start;
    padding: 17px 19px;
    border-left: 4px solid #f1a84c;
    border-radius: 8px;
    background: rgba(12, 15, 47, 0.28);
}

.oc-data-scope__note i {
    margin-top: 4px;
    color: #f8cf8c;
}

.oc-data-scope__note p {
    margin: 0;
    color: #eff0fa;
    font-size: 0.9rem;
    line-height: 1.6;
}

.oc-public-pay {
    padding: 68px 20px;
    background: #fffaf3;
}

.oc-public-pay__container {
    max-width: 1200px;
    margin: 0 auto;
}

.oc-public-pay__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 28px;
}

.oc-public-pay__header h2 {
    margin: 0;
    color: #293052;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.oc-public-pay__header > p {
    margin: 0;
    color: #636a7d;
    line-height: 1.7;
}

.oc-public-pay__bands {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.oc-public-pay__band {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3d7c7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(89, 67, 42, 0.08);
}

.oc-public-pay__band::before {
    content: "";
    display: block;
    height: 5px;
    background: #d98b32;
}

.oc-public-pay__band--comprehensive::before {
    background: #5559a7;
}

.oc-public-pay__band-heading {
    padding: 26px 28px 20px;
}

.oc-public-pay__class-code {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 9px;
    border-radius: 5px;
    background: #fff2df;
    color: #97520d;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.oc-public-pay__band--comprehensive .oc-public-pay__class-code {
    background: #eeeefe;
    color: #43478e;
}

.oc-public-pay__band-heading h3 {
    margin: 0 0 8px;
    color: #293052;
    font-size: 1.28rem;
}

.oc-public-pay__band-heading p {
    margin: 0;
    color: #687084;
    font-size: 0.91rem;
    line-height: 1.6;
}

.oc-public-pay__numbers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: auto;
    background: #e7e9f1;
    border-top: 1px solid #e7e9f1;
    border-bottom: 1px solid #e7e9f1;
}

.oc-public-pay__numbers div {
    padding: 19px 20px;
    background: #f8f9fd;
}

.oc-public-pay__numbers span {
    display: block;
    margin-bottom: 5px;
    color: #747b8d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.oc-public-pay__numbers strong {
    color: #293052;
    font-size: 1.08rem;
}

.oc-public-pay__band > a {
    display: inline-flex;
    align-self: flex-start;
    margin: 19px 28px 24px;
    color: #4a4f9d;
    font-size: 0.86rem;
    font-weight: 700;
    text-underline-offset: 3px;
}

.oc-public-pay__explanation {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid #e3d7c7;
    border-radius: 12px;
    background: #ffffff;
}

.oc-public-pay__explanation h3 {
    margin: 0 0 18px;
    color: #293052;
    font-size: 1.16rem;
}

.oc-public-pay__explanation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.oc-public-pay__explanation-grid p {
    margin: 0;
    padding-left: 16px;
    border-left: 3px solid #e2a45a;
    color: #61697a;
    font-size: 0.88rem;
    line-height: 1.62;
}

.oc-public-pay__checked {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 18px 0 0;
    color: #6f665b;
    font-size: 0.82rem;
    line-height: 1.55;
}

.oc-public-pay__checked i {
    margin-top: 3px;
    color: #b46916;
}

.oc-salary-network {
    padding: 66px 20px;
    background: #f3f5fb;
}

.oc-salary-network__container {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 38px;
    max-width: 1200px;
    margin: 0 auto;
}

.oc-salary-network__intro {
    padding: 32px;
    border-radius: 14px;
    background: #293052;
    color: #ffffff;
}

.oc-salary-network__intro h2 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1.23;
}

.oc-salary-network__intro p {
    margin: 0;
    color: #e0e3f0;
    font-size: 0.93rem;
    line-height: 1.7;
}

.oc-salary-network__primary {
    display: grid;
    gap: 9px;
    margin-top: 23px;
}

.oc-salary-network__primary a {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.oc-salary-network__primary a:hover,
.oc-salary-network__primary a:focus-visible {
    border-color: #f0be76;
    background: rgba(255, 255, 255, 0.12);
}

.oc-salary-network__locations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.oc-salary-network__locations > a,
.oc-salary-network__current {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 19px 20px;
    border: 1px solid #dce0ec;
    border-radius: 10px;
    background: #ffffff;
    color: #293052;
    text-decoration: none;
}

.oc-salary-network__locations > a {
    transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.oc-salary-network__locations > a:hover,
.oc-salary-network__locations > a:focus-visible {
    transform: translateY(-3px);
    border-color: #aeb3e2;
    box-shadow: 0 9px 18px rgba(51, 55, 111, 0.1);
}

.oc-salary-network__current {
    border-color: #e0aa65;
    background: #fff6e9;
}

.oc-salary-network__locations span {
    margin-bottom: 5px;
    color: #6d72bb;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.oc-salary-network__current span {
    color: #a25f13;
}

.oc-salary-network__locations strong {
    margin-bottom: 5px;
    font-size: 1.06rem;
}

.oc-salary-network__locations small {
    color: #72798b;
    font-size: 0.78rem;
    line-height: 1.4;
}

@media (max-width: 968px) {
    .oc-data-scope__container,
    .oc-public-pay__header,
    .oc-salary-network__container {
        grid-template-columns: 1fr;
    }

    .oc-data-scope__release {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 15px;
    }

    .oc-data-scope__release-label,
    .oc-data-scope__release > span:last-of-type,
    .oc-data-scope__release a {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .oc-data-scope,
    .oc-public-pay,
    .oc-salary-network {
        padding-right: 14px;
        padding-left: 14px;
    }

    .oc-data-scope__container {
        padding: 27px 23px;
    }

    .oc-public-pay__bands,
    .oc-public-pay__explanation-grid,
    .oc-salary-network__locations {
        grid-template-columns: 1fr;
    }

    .oc-public-pay__header {
        gap: 16px;
    }

    .oc-public-pay__numbers {
        grid-template-columns: 1fr;
    }

    .oc-salary-network__intro {
        padding: 26px 23px;
    }
}

@media (max-width: 420px) {
    .oc-data-scope__note {
        grid-template-columns: 1fr;
    }

    .oc-public-pay__band-heading,
    .oc-public-pay__explanation {
        padding-right: 21px;
        padding-left: 21px;
    }

    .oc-public-pay__band > a {
        margin-right: 21px;
        margin-left: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oc-salary-network__locations > a {
        transition: none;
    }
}