/* DataCareerHub Resources page
   Dedicated page stylesheet loaded after the global CSS. */

.career-resource-hub {
    background: #f7f9fc;
    color: #14213d;
}

.career-resource-hub .resources-hero,
.career-resource-hub .resource-hub-band,
.career-resource-hub .resource-hub-band-muted {
    background: #f7f9fc !important;
    border-color: #dde5ef !important;
}

.career-resource-hub .resource-hub-band-muted {
    background: #ffffff !important;
}

.career-resource-hub .resources-hero .container,
.career-resource-hub .resource-hub-band > .container {
    padding-bottom: clamp(2.1rem, 4vw, 3.5rem) !important;
    padding-top: clamp(2.1rem, 4vw, 3.5rem) !important;
}

.career-resource-hub h1,
.career-resource-hub h2,
.career-resource-hub h3 {
    color: #14213d !important;
    font-family: Inter, "Source Sans 3", system-ui, sans-serif;
    letter-spacing: 0;
}

.career-resource-hub .resources-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.8rem);
    font-weight: 850;
    line-height: 1.03;
    max-width: 760px;
}

.career-resource-hub .resources-hero .lead,
.career-resource-hub p,
.career-resource-hub small {
    color: #53667d;
}

.career-resource-hub .section-kicker {
    color: #0e7c78 !important;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dch-resource-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0 0 1.2rem;
}

.dch-resource-proof-row span,
.hero-popular-searches a,
.dch-resource-finder-links a,
.resource-card-meta span,
.resource-category-badge,
.resource-pillar-badge {
    background: #ffffff !important;
    border: 1px solid #dde5ef !important;
    border-radius: 999px !important;
    color: #53667d !important;
}

.dch-resource-proof-row span {
    align-items: center;
    display: inline-flex;
    gap: .35rem;
    padding: .45rem .75rem;
}

.dch-resource-proof-row strong {
    color: #14213d;
    font-weight: 900;
}

.hero-popular-searches {
    background: transparent !important;
    border: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding: 0 !important;
}

.hero-popular-searches span {
    background: #14213d !important;
    border-radius: 999px;
    color: #ffffff !important;
    font-size: .75rem;
    font-weight: 900;
    padding: .4rem .65rem;
    text-transform: uppercase;
}

.hero-popular-searches a,
.dch-resource-finder-links a {
    font-size: .84rem;
    font-weight: 850;
    padding: .38rem .62rem;
    text-decoration: none;
}

.dch-resource-command-panel {
    background: #ffffff !important;
    border: 1px solid #d6e0ec !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 34px rgba(20, 33, 61, .075) !important;
    padding: 1rem !important;
}

.dch-resource-finder-title {
    align-items: center;
    display: flex;
    gap: .65rem;
    margin-bottom: .85rem;
}

.dch-resource-finder-title > span,
.dch-resource-step__icon,
.dch-topic-group header > span,
.resource-card-icon,
.resource-recent-icon {
    align-items: center;
    background: #eaf3f4 !important;
    border: 1px solid #cfe1e3 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: #0e7c78 !important;
    display: inline-grid;
    flex: 0 0 auto;
    height: 42px !important;
    justify-content: center;
    margin: 0 !important;
    width: 42px !important;
}

.dch-resource-finder-title > span {
    background: #14213d !important;
    border-color: #14213d !important;
    color: #ffffff !important;
    height: 38px !important;
    width: 38px !important;
}

.dch-resource-finder-title strong {
    color: #14213d;
    font-family: Inter, "Source Sans 3", system-ui, sans-serif;
    font-size: 1.08rem;
    font-weight: 850;
}

.dch-resource-search-row {
    display: grid;
    gap: .6rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.dch-resource-command-panel .form-control,
.dch-resource-command-panel .form-select {
    border-color: #c9d6e5;
    border-radius: 10px;
    color: #344256;
    min-height: 44px;
}

.dch-resource-finder-links {
    border-top: 1px solid #e5ebf2;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .85rem;
    padding-top: .85rem;
}

.dch-resource-section-head {
    align-items: start;
    border-bottom: 1px solid #dde5ef;
    display: flex;
    gap: 1.2rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: .9rem;
}

.dch-resource-section-head p {
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}

.dch-resource-sequence,
.dch-featured-resource-list,
.dch-ranked-resource-list,
.dch-topic-group,
.resource-side-panel {
    background: #ffffff !important;
    border: 1px solid #dde5ef !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    overflow: hidden;
}

.dch-resource-step,
.dch-featured-resource-row,
.dch-ranked-resource,
.dch-topic-resource-row {
    color: inherit;
    text-decoration: none;
}

.dch-resource-step {
    align-items: center;
    border-top: 1px solid #e4eaf2;
    display: grid;
    gap: .9rem;
    grid-template-columns: 42px 42px minmax(0, 1fr) auto;
    padding: 1rem;
}

.dch-resource-step:first-child,
.dch-featured-resource-row:first-child,
.dch-ranked-resource:first-child,
.dch-topic-resource-row:first-child {
    border-top: 0;
}

.dch-resource-step:hover,
.dch-featured-resource-row:hover,
.dch-ranked-resource:hover,
.dch-topic-resource-row:hover,
.resource-recent-list a:hover {
    background: #f7f9fc;
}

.dch-resource-step__number,
.dch-ranked-resource > span:first-child {
    color: #8a98aa;
    font-family: Inter, "Source Sans 3", system-ui, sans-serif;
    font-weight: 900;
}

.dch-resource-step__copy,
.dch-featured-resource-row span:last-child,
.dch-ranked-resource > span:last-child,
.dch-topic-resource-row > span {
    display: grid;
    gap: .2rem;
}

.dch-resource-step__copy em,
.dch-featured-resource-row em,
.dch-ranked-resource em {
    color: #0e7c78;
    font-size: .74rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.dch-resource-step__copy strong,
.dch-featured-resource-row strong,
.dch-ranked-resource strong,
.dch-topic-resource-row strong,
.resource-recent-list strong {
    color: #14213d !important;
    font-family: Inter, "Source Sans 3", system-ui, sans-serif;
    font-weight: 850;
    line-height: 1.25;
}

.dch-resource-step__action,
.resource-card-action {
    border: 1px solid #dde5ef;
    border-radius: 999px;
    color: #1d5c63 !important;
    font-weight: 850;
    padding: .38rem .7rem;
    text-decoration: none;
    width: fit-content;
}

.dch-featured-resource-layout,
.dch-resource-insight-grid {
    display: grid;
    gap: 1rem;
}

.dch-featured-resource-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.dch-resource-insight-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
}

.dch-featured-resource-primary {
    background: #14213d;
    border-radius: 14px;
    color: #ffffff;
    display: grid;
    gap: .8rem;
    padding: clamp(1.2rem, 3vw, 1.6rem);
}

.dch-featured-resource-primary h3 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 850;
    line-height: 1.08;
}

.dch-featured-resource-primary h3 a,
.dch-featured-resource-primary .resource-card-action {
    color: #ffffff !important;
    text-decoration: none;
}

.dch-featured-resource-primary p {
    color: #c9d5e5;
}

.dch-featured-resource-primary .resource-card-icon,
.dch-featured-resource-primary .resource-category-badge,
.dch-featured-resource-primary .resource-card-meta span {
    background: rgba(255, 255, 255, .1) !important;
    border-color: rgba(255, 255, 255, .18) !important;
    color: #ffffff !important;
}

.dch-featured-resource-row,
.dch-ranked-resource {
    border-top: 1px solid #e4eaf2;
    display: grid;
    gap: .85rem;
    padding: .9rem 1rem;
}

.dch-featured-resource-row {
    align-items: center;
    grid-template-columns: 44px minmax(0, 1fr);
}

.dch-ranked-resource {
    grid-template-columns: 42px minmax(0, 1fr);
}

.resource-side-panel {
    padding: 1rem !important;
}

.resource-recent-list {
    display: grid;
    gap: .5rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.resource-recent-list li {
    border: 0 !important;
}

.resource-recent-list a {
    align-items: start;
    background: #f7f9fc !important;
    border: 1px solid #e4eaf2 !important;
    border-radius: 10px !important;
    color: inherit;
    display: grid !important;
    gap: .25rem .75rem;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: .8rem !important;
    text-decoration: none;
}

.resource-recent-icon {
    grid-row: span 2;
}

.resource-recent-meta {
    display: grid;
    gap: .1rem;
}

.resource-recent-meta b {
    color: #0e7c78;
    font-size: .74rem;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.resources-category-nav {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0 !important;
}

.resources-category-nav a {
    background: #ffffff !important;
    border: 1px solid #dde5ef !important;
    border-radius: 8px !important;
    color: #344256 !important;
    font-weight: 800;
    padding: .42rem .7rem;
    text-decoration: none;
}

.dch-topic-library {
    display: grid;
    gap: 1rem;
}

.dch-topic-group {
    scroll-margin-top: 96px;
}

.dch-topic-group header {
    align-items: center;
    background: #f7f9fc;
    border-bottom: 1px solid #e4eaf2;
    display: flex;
    gap: .8rem;
    padding: .9rem 1rem;
}

.dch-topic-group header h3 {
    font-size: 1.08rem;
    font-weight: 850;
    margin: 0;
}

.dch-topic-resource-list {
    display: grid;
}

.dch-topic-resource-row {
    align-items: center;
    border-top: 1px solid #e4eaf2;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: .9rem 1rem;
}

.dch-topic-resource-row em {
    color: #53667d;
    font-size: .82rem;
    font-style: normal;
    font-weight: 850;
    text-align: right;
    white-space: nowrap;
}

.career-resource-hub .dch-inline-icon {
    color: currentColor;
}

@media (max-width: 991.98px) {
    .dch-featured-resource-layout,
    .dch-resource-insight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .dch-resource-section-head,
    .dch-resource-step,
    .dch-topic-resource-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dch-resource-step__number {
        display: none;
    }

    .dch-topic-resource-row em {
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .dch-resource-search-row {
        grid-template-columns: 1fr;
    }

    .dch-resource-search-row .btn {
        width: 100%;
    }
}
