.resource-page {
    --resource-ink: #1f2a21;
    --resource-muted: #5f5a55;
    --resource-green: #385a10;
    --resource-green-dark: #2d490d;
    --resource-brown: #622209;
    --resource-orange: #e36308;
    --resource-cream: #fbf6e9;
    --resource-soft-green: #f2f6ec;
    --resource-border: #ded7cf;
    width: 100%;
    padding: 0 0 3rem;
    color: var(--resource-ink);
}

.resource-static-skip {
    position: fixed;
    z-index: 2000;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    color: #fff;
    background: #2d490d;
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform 120ms ease;
}

.resource-static-skip:focus {
    color: #fff;
    transform: translateY(0);
}

.resource-static-header {
    min-height: 80px;
    border-bottom: 1px solid #e7dfd8;
    background: #fff;
}

.resource-static-header__inner,
.resource-static-footer__inner {
    display: flex;
    width: min(100%, 1200px);
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin: 0 auto;
    padding: 0.7rem 2rem;
}

.resource-static-brand {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
}

.resource-static-brand img {
    display: block;
    width: auto;
    height: 54px;
    max-width: min(58vw, 420px);
    object-fit: contain;
}

.resource-static-nav,
.resource-static-footer nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.resource-static-nav a,
.resource-static-footer a {
    color: #385a10;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.resource-static-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 0.14em;
    text-underline-offset: 0.35em;
}

.resource-static-main {
    width: min(100%, 1200px);
    min-height: 60vh;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
}

.resource-static-footer {
    border-top: 1px solid #e7dfd8;
    background: #fbf8f5;
}

.resource-static-footer__inner {
    padding-block: 1.25rem;
}

.resource-static-footer p {
    margin: 0;
    color: #4d3b34;
    font-size: 0.88rem;
}

.resource-page a {
    color: var(--resource-green);
    overflow-wrap: anywhere;
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.18em;
}

.resource-page a:hover {
    color: var(--resource-green-dark);
}

.resource-guide-content a[target="_blank"]::after {
    content: " \2197";
    display: inline-block;
    margin-left: 0.12em;
    font-size: 0.78em;
    font-weight: 800;
    text-decoration: none;
}

.resource-page h1,
.resource-page h2,
.resource-page h3,
.resource-page p {
    overflow-wrap: anywhere;
}

.resource-breadcrumbs {
    max-width: 920px;
    margin: 0 auto 1rem;
    padding-top: 0.25rem;
}

.resource-breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--resource-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.resource-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.45rem;
    color: #9a928b;
}

.resource-breadcrumbs [aria-current="page"] {
    color: var(--resource-brown);
}

.resource-hub-content,
.resource-guide-content,
.resource-related,
.resource-error,
.resource-loading {
    max-width: 920px;
    margin-inline: auto;
}

.resource-hub-index__header,
.resource-guide__header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #d8e1ce;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 15%, rgba(227, 99, 8, 0.2) 0 3.5rem, transparent 3.6rem),
        radial-gradient(circle at 83% 84%, rgba(98, 34, 9, 0.1) 0 7rem, transparent 7.1rem),
        linear-gradient(135deg, #f7faef 0%, #fbf6e9 100%);
    box-shadow: 0 18px 50px rgba(56, 90, 16, 0.08);
}

.resource-hub-index__header {
    padding: clamp(2rem, 7vw, 4.5rem);
}

.resource-hub-index__header::before,
.resource-guide__header::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 11rem;
    height: 11rem;
    right: -3.5rem;
    top: -4rem;
    border: 2px dashed rgba(56, 90, 16, 0.28);
    border-radius: 50%;
}

.resource-hub-index__header h1,
.resource-guide__header h1 {
    max-width: 760px;
    margin: 0;
    color: var(--resource-ink);
    font-size: clamp(2.25rem, 7vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.resource-hub-index__header > p:first-of-type {
    max-width: 670px;
    margin: 1.25rem 0 0;
    color: #3f493d;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    line-height: 1.55;
}

.resource-hub-index__header > p:last-child {
    display: inline-flex;
    margin: 1.5rem 0 0;
    padding: 0.45rem 0.75rem;
    border: 1px solid #d6dfcc;
    border-radius: 999px;
    color: var(--resource-green-dark);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 700;
}

.resource-hub-index__header > p:last-child time,
.resource-guide__review-date time {
    margin-left: 0.3em;
}

.resource-hub-index__start {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 1.15fr);
    gap: clamp(1.25rem, 4vw, 2.5rem);
    margin-top: 1.5rem;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 96% 8%, rgba(227, 99, 8, 0.28) 0 5rem, transparent 5.1rem),
        var(--resource-brown);
}

.resource-hub-index__eyebrow {
    margin: 0;
    color: #f8c49f;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-hub-index__start h2 {
    margin: 0.3rem 0 0.6rem;
    color: #fff;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.resource-hub-index__start > div > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

.resource-hub-index__start ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: start-steps;
}

.resource-hub-index__start li {
    position: relative;
    min-height: 3.6rem;
    counter-increment: start-steps;
}

.resource-hub-index__start a {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
}

.resource-hub-index__start a::before {
    content: counter(start-steps);
    display: inline-grid;
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 50%;
    color: var(--resource-brown);
    background: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.resource-hub-index__start a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.resource-hub-index__browse-title {
    margin: 2rem 0 0;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.resource-hub-index__categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: resource-cards;
}

.resource-hub-index__categories li {
    position: relative;
    min-width: 0;
    padding: 1.4rem 1.4rem 1.3rem 4.8rem;
    border: 1px solid var(--resource-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(45, 34, 27, 0.05);
    counter-increment: resource-cards;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.resource-hub-index__categories li::before {
    content: counter(resource-cards, decimal-leading-zero);
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
    color: var(--resource-brown);
    background: var(--resource-cream);
    font-size: 0.75rem;
    font-weight: 800;
}

.resource-hub-index__categories li:hover {
    border-color: #b8c7a8;
    box-shadow: 0 14px 34px rgba(45, 73, 13, 0.11);
    transform: translateY(-2px);
}

.resource-hub-index__categories a {
    color: var(--resource-ink);
    font-size: 1.06rem;
    text-decoration: none;
}

.resource-hub-index__categories a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.resource-hub-index__categories a:focus-visible::after {
    outline: 3px solid var(--resource-green);
    outline-offset: 3px;
}

.resource-hub-index__categories p {
    margin: 0.5rem 0 0;
    color: var(--resource-muted);
    font-size: 0.91rem;
    line-height: 1.55;
}

.resource-hub-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 920px;
    margin: 1.5rem auto 0;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.13) 0 5rem, transparent 5.1rem),
        var(--resource-green-dark);
}

.resource-hub-cta h2 {
    margin: 0.2rem 0 0.45rem;
    color: #fff;
    font-size: clamp(1.45rem, 4vw, 2.15rem);
}

.resource-hub-cta p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

.resource-hub-cta__eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-button {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 10px;
    color: #fff !important;
    background: var(--resource-green);
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.resource-button--light {
    flex: 0 0 auto;
    color: var(--resource-green-dark) !important;
    background: #fff;
}

.resource-guide__header {
    padding: clamp(1.7rem, 6vw, 3.5rem);
}

.resource-guide__header h1 {
    font-size: clamp(2rem, 7vw, 4rem);
}

.resource-guide__kicker {
    margin: 0 0 0.85rem;
    color: var(--resource-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-guide__lede {
    max-width: 680px;
    margin: 1rem 0 0;
    color: #3f493d;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
}

.resource-guide__review-date {
    display: inline-flex;
    margin: 1.25rem 0 0;
    padding: 0.38rem 0.65rem;
    border: 1px solid #d6dfcc;
    border-radius: 999px;
    color: var(--resource-green-dark);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
}

.resource-guide__introduction {
    margin: 1.25rem 0 0;
    padding: 1.3rem 1.5rem;
    border-left: 5px solid var(--resource-orange);
    border-radius: 0 14px 14px 0;
    background: #fff8f1;
}

.resource-guide__introduction p {
    margin: 0;
    color: #493a32;
    font-size: 1.05rem;
    line-height: 1.75;
}

.resource-guide__contents {
    margin: 1.25rem 0 2.25rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid #d8e1ce;
    border-radius: 18px;
    background: var(--resource-soft-green);
}

.resource-guide__contents h2 {
    margin: 0 0 0.85rem;
    color: var(--resource-green-dark);
    font-size: 1rem;
}

.resource-guide__contents ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resource-guide__contents a {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border: 1px solid #cad7be;
    border-radius: 999px;
    color: var(--resource-green-dark);
    background: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.resource-guide__contents a:hover {
    border-color: var(--resource-green);
    background: #f9fcf5;
}

.resource-section,
.resource-sources {
    scroll-margin-top: 7rem;
    padding: 2rem 0;
    border-top: 1px solid var(--resource-border);
}

.resource-section h2,
.resource-sources > h2 {
    margin: 0 0 0.75rem;
    color: var(--resource-ink);
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
}

.resource-section h3,
.resource-sources h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.resource-section p,
.resource-section li,
.resource-sources p,
.resource-sources li,
.resource-guide__footer p {
    color: #494540;
    line-height: 1.75;
}

.resource-section__summary {
    margin: 0 0 1rem;
    color: var(--resource-brown) !important;
    font-size: 1.02rem;
    font-weight: 700;
}

.resource-list,
.resource-links ul,
.resource-source-list {
    display: grid;
    gap: 0.55rem;
    padding-left: 1.35rem;
}

.resource-list li::marker,
.resource-links li::marker,
.resource-source-list li::marker {
    color: var(--resource-green);
}

.resource-callout {
    margin: 1.25rem 0 0;
    padding: 1.15rem 1.25rem;
    border: 1px solid;
    border-radius: 16px;
}

.resource-callout p:last-child {
    margin-bottom: 0;
}

.resource-callout--note {
    border-color: #c9d8bb;
    background: var(--resource-soft-green);
}

.resource-callout--note h3 {
    color: var(--resource-green-dark);
}

.resource-callout--caution {
    border-color: #f0c5a7;
    background: #fff4ea;
}

.resource-callout--caution h3 {
    color: #8a300c;
}

.resource-links {
    margin-top: 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: var(--resource-cream);
}

.resource-links > p:first-child {
    margin-top: 0;
}

.resource-table-wrap {
    max-width: 100%;
    margin: 1.25rem 0;
    overflow-x: auto;
    border: 1px solid var(--resource-border);
    border-radius: 14px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.resource-table-wrap:focus-visible {
    outline: 3px solid var(--resource-green);
    outline-offset: 3px;
}

.resource-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.resource-table th,
.resource-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--resource-border);
    text-align: left;
    vertical-align: top;
    line-height: 1.55;
}

.resource-table th {
    color: var(--resource-green-dark);
    background: var(--resource-soft-green);
    font-weight: 800;
}

.resource-table tbody tr:nth-child(even) {
    background: #fdfbf9;
}

.resource-table tbody tr:last-child td {
    border-bottom: 0;
}

.resource-source-list > li {
    margin-bottom: 0.75rem;
}

.resource-source-list p {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
}

.resource-guide__footer {
    margin-top: 0.5rem;
    padding: 1.2rem 1.35rem;
    border-radius: 14px;
    background: #f5f2ef;
}

.resource-guide__footer p {
    margin: 0;
    font-size: 0.88rem;
}

.resource-related {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid var(--resource-green);
}

.resource-related__eyebrow {
    margin: 0;
    color: var(--resource-green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-related h2 {
    margin: 0.25rem 0 1rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.resource-related ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resource-related li {
    min-width: 0;
}

.resource-related li > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 1.15rem;
    border: 1px solid var(--resource-border);
    border-radius: 14px;
    color: var(--resource-ink);
    background: #fff;
    text-decoration: none;
}

.resource-related li > a:hover {
    border-color: #b8c7a8;
    box-shadow: 0 10px 26px rgba(45, 73, 13, 0.09);
}

.resource-related li strong {
    font-size: 1rem;
}

.resource-related li span {
    margin-top: 0.45rem;
    color: var(--resource-muted);
    font-size: 0.83rem;
    line-height: 1.5;
}

.resource-related .resource-related__link {
    margin-top: auto;
    padding-top: 0.8rem;
    color: var(--resource-green);
    font-weight: 750;
}

.resource-back-link {
    display: inline-flex;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-weight: 700;
}

.resource-loading {
    display: flex;
    min-height: 22rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--resource-green-dark);
    font-weight: 700;
}

.resource-loading__mark {
    width: 1.2rem;
    height: 1.2rem;
    border: 3px solid #cdd9c1;
    border-top-color: var(--resource-green);
    border-radius: 50%;
    animation: resource-spin 800ms linear infinite;
}

.resource-error {
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid var(--resource-border);
    border-radius: 20px;
    background: var(--resource-cream);
}

.resource-error h1 {
    margin-top: 0;
}

.resource-error button {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--resource-green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@keyframes resource-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 720px) {
    .resource-static-header {
        min-height: 70px;
    }

    .resource-static-header__inner,
    .resource-static-footer__inner {
        padding-inline: 1rem;
    }

    .resource-static-brand img {
        height: 48px;
        max-width: 72vw;
    }

    .resource-static-header__inner {
        flex-wrap: wrap;
    }

    .resource-static-nav {
        display: flex;
        width: 100%;
        gap: 0.85rem;
        padding-bottom: 0.35rem;
        overflow-x: auto;
        white-space: nowrap;
    }

    .resource-static-main {
        padding: 1rem 1rem 2.5rem;
    }

    .resource-static-footer__inner,
    .resource-static-footer nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-breadcrumbs {
        margin-bottom: 0.75rem;
    }

    .resource-hub-index__categories,
    .resource-related ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .resource-hub-index__start {
        grid-template-columns: minmax(0, 1fr);
    }

    .resource-hub-index__start ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .resource-hub-index__header,
    .resource-guide__header {
        border-radius: 20px;
    }

    .resource-hub-index__categories li {
        padding: 1.15rem 1.15rem 1.1rem 4.35rem;
    }

    .resource-hub-index__categories li::before {
        left: 1rem;
        top: 1rem;
    }

    .resource-hub-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
        border-radius: 20px;
    }

    .resource-guide__contents ul {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-guide__contents a {
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .resource-hub-index__categories li,
    .resource-loading__mark {
        animation: none;
        transition: none;
    }
}

@media (forced-colors: active) {
    .resource-hub-index__header,
    .resource-guide__header,
    .resource-callout,
    .resource-hub-cta,
    .resource-button {
        border: 1px solid CanvasText;
    }
}
