.role-learning {
    padding-block: clamp(1.25rem, 3vw, 2.75rem);
}
.role-learning-heading {
    display: grid;
    position: static;
    height: auto;
    min-height: 0;
    align-items: start;
    justify-content: stretch;
    gap: .6rem;
    padding: clamp(1rem, 3vw, 2rem);
    margin-block-end: 1.35rem;
    background: #f5f1e7 url("brand/woven-gold.svg") no-repeat right top / clamp(5rem, 14vw, 11rem);
    border: 1px solid #ded4bc;
    border-radius: 1rem;
}
.role-learning-heading h1 {
    font-size: clamp(1.65rem, 4vw, 2.85rem);
    line-height: 1.13;
    margin: 0;
    max-inline-size: 25ch;
    overflow-wrap: anywhere;
}
.role-learning-heading p {
    max-inline-size: 68ch;
    margin: 0;
}
.role-directory {
    width: min(100%, 75rem);
    margin-inline: auto;
    padding-block: clamp(.6rem, 1.8vw, 1.6rem) 2.5rem;
}
.role-directory-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: #163e32;
    color: #fff;
}
.role-directory-copy { min-width: 0; align-self: center; padding: clamp(1.1rem, 2.6vw, 2rem); }
.role-directory-copy h1 { margin: 0; color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.role-directory-copy > p { margin: .45rem 0 1rem; color: #e2ece5; font-size: .97rem; line-height: 1.45; }
.role-directory-copy .role-pathways-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .4rem; color: #fff; text-decoration: underline; text-underline-offset: .18em; }
.role-pathways-link:focus-visible { outline: 3px solid #f6d68b; outline-offset: 2px; }
.role-directory-photo { position: relative; min-width: 0; align-self: stretch; background: #e4be79; }
.role-directory-photo::before { content: ''; display: block; padding-top: 66.6667%; }
.role-directory-photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center; }
.role-finder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: end; gap: .65rem; margin: 0; }
.role-finder label { min-width: 0; margin: 0; color: #fff; font-size: .85rem; font-weight: 650; }
.role-finder :is(input[type="search"], select) { display: block; height: 46px; width: 100%; min-width: 0; margin: .3rem 0 0; padding-inline: .65rem; border: 1px solid #bed0c3; border-radius: .45rem; background-color: #fff; color: #193b30; font-size: .96rem; font-weight: 400; }
.role-finder input::placeholder { color: #586b60; }
.role-directory .role-finder button[type="submit"] { min-height: 46px; margin: 0; padding: .65rem 1rem; border: 0; border-radius: .45rem; background: #e7bb73 !important; color: #173528; font-weight: 700; }
.role-directory .role-finder button[type="submit"]:hover { background: #f2d198 !important; }
.role-finder :is(input,select,button):focus-visible { outline: 3px solid #f6d68b; outline-offset: 2px; }
.role-directory #role-guides { margin-block: clamp(.8rem, 2.5vw, 2rem); scroll-margin-top: 5rem; }
.role-finder label { scroll-margin-top: 5rem; }
.role-result-tabs { display: flex; gap: .5rem; align-items: stretch; border-bottom: 1px solid #d5dfd3; }
.role-result-tabs a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .4rem .8rem; margin-bottom: -1px; border-bottom: 3px solid transparent; color: #52665b; text-decoration: none; font-weight: 600; line-height: 1.2; }
.role-result-tabs a[aria-current] { border-bottom-color: #1d5340; color: #193e32; }
.role-result-tabs a span { padding: .15rem .45rem; border-radius: 1rem; background: #eef3ee; color: #455b4e; font-size: .75rem; font-variant-numeric: tabular-nums; }
.role-result-tabs a[aria-current] span { background: #234e3c; color: #fff; }
.role-result-tabs a:hover, .role-results-summary a:hover, .role-pagination a:hover { color: #234e3c; text-decoration: underline; text-underline-offset: .18em; }
.role-results-summary { display: flex; align-items: center; justify-content: space-between; gap: .25rem .75rem; flex-wrap: wrap; margin: .25rem 0 .55rem; min-height: 2.15rem; }
.role-results-summary p { margin: 0; color: #51665a; font-size: .9rem; line-height: 1.35; }
.role-results-summary a { display: inline-flex; align-items: center; min-height: 44px; color: #2a5340; font-size: .9rem; }
.role-result-cards, .role-skill-links { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; }
.role-result-cards > li { position: relative; display: flex; flex-direction: column; gap: .4rem; margin: 0; padding: clamp(.9rem, 1.6vw, 1.25rem); border: 1px solid #d5dfd3; border-radius: .65rem; background: #fff; }
.role-result-cards h2 { margin: 0; font-size: 1.16rem; line-height: 1.2; }
.role-result-cards > li:focus-within, .role-skill-links > li:focus-within { border-color: #799780; }
.role-result-cards p { margin: 0; color: #4c6155; font-size: .93rem; line-height: 1.48; }
.role-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .4rem; color: #416650; font-size: .84rem; font-weight: 650; }
.role-card-icons { display: flex; gap: .4rem; }
.role-card-icons a { display: grid; place-items: center; width: 44px; height: 44px; color: #24513e; background: #f5f8f3; border: 1px solid #cfdbd0; border-radius: .55rem; }
.role-card-icons a:hover { background: #e9f1e8; border-color: #819b89; }
.role-card-icons svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.role-skill-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.role-skill-links li {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 0;
    margin: 0;
    padding: .8rem 1rem;
    border: 1px solid #d5dfd3;
    border-radius: .65rem;
}
.role-skill-links h2 { margin: 0; color: #204936; font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; }
.role-skill-links small { color: #556a5d; font-size: .82rem; }
.role-directory .role-course-actions { margin-top: auto; padding-top: .35rem; }
.role-pagination { display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 1.25rem; color: #52665b; font-size: .9rem; }
.role-pagination a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: .85rem; border: 1px solid #b4c6b9; border-radius: .5rem; color: #234e3c; text-decoration: none; font-weight: 650; }
.role-directory #role-guides a:focus-visible { outline: 3px solid #9a7028; outline-offset: 2px; }
@media (max-width: 60rem) {
    .role-directory-hero { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
    .role-result-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 45rem) {
    .role-directory-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "title art" "intro intro" "finder finder" "paths paths"; }
    .role-directory-copy { display: contents; }
    .role-directory-copy h1 { grid-area: title; align-self: center; padding: .85rem .5rem .7rem 1rem; font-size: clamp(1.5rem, 5.4vw, 2.25rem); }
    .role-directory-photo { grid-area: art; align-self: stretch; }
    .role-directory-copy > p { grid-area: intro; margin: .9rem 1rem .7rem; }
    .role-directory .role-finder { grid-area: finder; margin: 0 1rem; }
    .role-directory-copy .role-pathways-link { grid-area: paths; justify-self: start; margin: .25rem 1rem .6rem; }
}
@media (max-width: 38rem) {
    .role-finder { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
    .role-finder label:first-of-type { grid-column: 1 / -1; }
    .role-result-cards, .role-skill-links { grid-template-columns: 1fr; gap: .55rem; }
    .role-result-tabs { gap: .3rem; }
    .role-result-tabs a { flex: 1; padding-inline: .25rem; font-size: .94rem; }
}
.role-learning-steps > li {
    padding-block: .85rem;
    border-block-end: 1px solid #d9e2d9;
}
.role-learning-steps > li:last-child {
    border-block-end: 0;
}
.role-learning-steps p {
    margin: .3rem 0;
}
.category-route-hero.vocational-category-hero {
    margin-block-end: clamp(1.25rem, 2.4vw, 2rem);
}
.vocational-category-hero.category-route-hero-text {
    background: #f5f1e7 url("brand/woven-gold.svg") no-repeat right top / clamp(5rem, 14vw, 11rem);
}

html:has(body .role-learning) { scroll-behavior: auto; }

.role-detail {
    box-sizing: border-box;
    width: min(100%, 74rem);
    margin: 0 auto;
    padding: clamp(.85rem, 2.5vw, 2rem) clamp(.75rem, 2vw, 1.25rem) 2rem;
    color: #183d32;
}
.role-detail .role-detail-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.25rem;
    color: #36594b;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
}
.role-detail .role-detail-back:hover { text-decoration: underline; }
.role-detail .role-detail-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #dedaca;
    border-radius: 1rem;
    background: #f7f4e9;
    margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
}
.role-detail-intro {
    align-self: center;
    padding: clamp(1.1rem, 2.7vw, 2.5rem);
}
.role-detail-intro .role-detail-back { min-height: 44px; margin-bottom: .35rem; }
.role-detail-heading .role-detail-landscape {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 640px) {
    .role-detail .role-detail-heading { grid-template-columns: 1fr; }
    .role-detail-heading .role-detail-landscape { height: clamp(4.8rem, 22vw, 7rem); }
}
.role-detail .role-detail-heading h1 {
    margin: 0;
    color: #153f32;
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.role-detail .role-detail-heading p {
    max-width: 66ch;
    margin: .5rem 0 0;
    color: #465b51;
    font-size: 1rem;
    line-height: 1.5;
}
.role-detail .role-detail-sequence { margin: 0; }
.role-detail .role-detail-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .2rem .75rem;
    margin-bottom: .65rem;
}
.role-detail .role-detail-section-heading h2,
.role-detail .role-detail-foundations h2 { margin: 0; font-size: 1.12rem; color: #213c30; }
.role-detail .role-course-count { color: #52665a; font-size: .9rem; }
.role-cart-action { margin: 0; }
.role-detail .role-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .55rem .95rem;
    border: 1px solid #214a38;
    border-radius: .5rem;
    background: #214a38;
    color: #fff;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}
.role-detail .role-cart-button:hover { background: #173b30; }
.role-detail .role-cart-button:focus-visible { outline: 3px solid #a17631; outline-offset: 2px; }
.role-detail .role-learning-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #cbd7cc;
    border-radius: .85rem;
    background: #fff;
}
.role-detail .role-learning-steps > li { margin: 0; padding: 0; border: 0; }
.role-detail .role-learning-steps > li + li { border-top: 1px solid #d9e1d8; }
.role-detail .role-detail-step {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    color: #204c3c;
    text-decoration: none;
}
.role-detail li:first-child .role-detail-step { border-top-left-radius: .8rem; border-top-right-radius: .8rem; }
.role-detail li:last-child .role-detail-step { border-bottom-left-radius: .8rem; border-bottom-right-radius: .8rem; }
.role-detail .role-detail-step.is-next { background: #edf4ed; }
.role-detail .role-detail-step-number {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    align-self: start;
    border: 1px solid #c6d3c8;
    border-radius: 50%;
    color: #405d4a;
    font-size: .9rem;
    font-weight: 700;
}
.role-detail .is-next .role-detail-step-number { background: #28523f; border-color: #28523f; color: #fff; }
.role-detail .role-detail-course { display: grid; gap: .15rem; overflow-wrap: anywhere; }
.role-detail .role-detail-course strong { color: #173c2f; font-size: 1.05rem; line-height: 1.25; }
.role-detail .role-detail-skill { color: #3f574a; font-size: .92rem; line-height: 1.35; }
.role-detail .role-detail-course small { color: #56665b; font-size: .79rem; line-height: 1.35; }
.role-course-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 17.5rem;
    max-width: 100%;
    gap: .5rem;
}
.role-course-actions form { display: grid; margin: 0; }
.role-learning .role-course-actions :is(a, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: .4rem;
    border: 1px solid #688774;
    border-radius: .45rem;
    background: #fff;
    color: #214a38;
    text-align: center;
    text-decoration: none;
    margin: 0;
    font: inherit;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.25;
}
.role-course-actions .public-menu-icon {
    width: 1rem;
    height: 1rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.role-learning .role-course-actions .role-course-cta {
    background: #214a38;
    color: #fff;
    cursor: pointer;
}
.role-learning .role-course-actions .role-course-view:hover { background: #e8f0e9; }
.role-learning .role-course-actions .role-course-cta:hover { background: #173729; }
.role-learning .role-course-actions :focus-visible { outline: 3px solid #84561c; outline-offset: 2px; }
@media (max-width: 40rem) {
    .role-detail .role-detail-step { grid-template-columns: 2rem minmax(0, 1fr); }
    .role-detail-step .role-course-actions { grid-column: 2; }
}
.role-detail .role-detail-foundations { margin-top: 1.5rem; }
.role-detail .role-detail-foundations ul { display: grid; gap: .3rem; margin: .5rem 0 0; padding-left: 1.2rem; }
.role-detail .role-detail-foundations a { color: #24503a; text-underline-offset: .15em; }
@media (max-width: 32rem) {
    .role-detail .role-detail-step .role-course-actions { grid-column: 1 / -1; }
    .role-detail { padding-inline: .2rem; }
    .role-detail .role-detail-heading { margin-bottom: 1.1rem; }
    .role-detail .role-detail-heading p { font-size: .94rem; }
    .role-detail .role-detail-step {
        grid-template-columns: 1.6rem minmax(0, 1fr);
        gap: .3rem .55rem;
        padding: .75rem .65rem;
    }
    .role-detail .role-detail-step-number { width: 1.6rem; height: 1.6rem; font-size: .8rem; }
    .role-detail .role-detail-course strong { font-size: 1rem; }
}

html:has(.role-directory) { overflow-anchor: none; }

.role-navigation-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.role-learning [aria-busy="true"] { cursor: progress; }
