.guides-page {
    --guide-ink: #103155;
    --guide-text: #354962;
    --guide-line: #dce5ec;
    --guide-paper: #f5f8fb;
    --guide-green: #285c27;
    --guide-header: 4rem;
    background: #fff;
}

.guides-page main { padding-top: var(--guide-header); }
.guides-wrap { width: min(100% - 36px, 1100px); margin-inline: auto; }
.guides-page main a:not(.guides-button) { color: var(--guide-ink); text-decoration: underline; text-underline-offset: .19em; }
.guides-page main a:not(.guides-button):hover { color: var(--guide-green); }
.guides-page :is(main a, .guides-skip):focus-visible { outline: 3px solid var(--guide-green); outline-offset: 3px; }
.guides-skip {
    position: fixed;
    left: 1rem;
    top: .75rem;
    z-index: 10001;
    padding: .75rem 1rem;
    background: var(--guide-ink);
    color: #fff;
    transform: translateY(-170%);
}
.guides-skip:focus { transform: none; }

.guides-hero { background: var(--guide-paper); border-bottom: 1px solid var(--guide-line); padding: 1rem 0 clamp(36px, 6vw, 78px); }
.guides-crumbs { display: flex; flex-wrap: wrap; gap: .25rem .65rem; align-items: center; margin-bottom: clamp(22px, 4vw, 48px); color: var(--guide-text); font-size: .875rem; }
.guides-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.guides-page main :is(h1, h2, h3) { color: var(--guide-ink); font-weight: 650; line-height: 1.15; text-wrap: balance; }
.guides-page h1 { max-width: 23ch; font-size: clamp(2.1rem, 5.7vw, 4.25rem); letter-spacing: -.046em; }
.guides-lead { max-width: 58ch; margin-top: 1.15rem; color: var(--guide-text); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; }
.guides-byline { margin-top: 1.35rem; font-size: .875rem; font-weight: 650; color: var(--guide-green); }
.guides-page main h2 { font-size: clamp(1.42rem, 3.1vw, 2.15rem); letter-spacing: -.026em; }
.guides-page main h3 { font-size: clamp(1.15rem, 2.25vw, 1.45rem); }

.guides-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .7rem 1.1rem;
    background: var(--guide-ink);
    color: #fff;
    font-weight: 650;
    text-align: center;
}
.guides-button:hover { background: #194a75; }

.guides-article-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(26px, 5vw, 64px); padding-block: clamp(28px, 5vw, 64px); }
.guides-toc { padding: .875rem 1rem; border-left: 3px solid #54a94c; background: var(--guide-paper); }
.guides-toc p { margin-bottom: .15rem; color: var(--guide-ink); font-weight: 650; }
.guides-toc a { display: flex; align-items: center; min-height: 44px; font-size: .94rem; }
.guides-prose { min-width: 0; max-width: 70ch; color: var(--guide-text); font-size: clamp(1rem, 1.5vw, 1.08rem); line-height: 1.68; overflow-wrap: break-word; }
.guides-prose > section { margin-top: clamp(30px, 5vw, 52px); }
.guides-prose > section:first-child { margin-top: 0; }
.guides-prose section[id] { scroll-margin-top: calc(var(--guide-header) + 1rem); }
.guides-prose section > * + * { margin-top: .9rem; }
.guides-prose strong { font-weight: 700; color: var(--guide-ink); }
.guides-prose :is(ul, ol) { padding-left: 1.3rem; }
.guides-prose ul { list-style: disc; }
.guides-prose ol { list-style: decimal; }
.guides-prose li + li { margin-top: .6rem; }
.guides-checklist li::marker { color: var(--guide-green); }
.guides-note { border-left: 3px solid #54a94c; background: var(--guide-paper); padding: clamp(17px, 3.5vw, 30px); }
.guides-sources { padding-top: .9rem; border-top: 1px solid var(--guide-line); font-size: .94rem; }

.guides-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--guide-text); }
.guides-table caption { text-align: left; margin-bottom: .5rem; font-size: .875rem; }
.guides-table :is(th, td) { border-bottom: 1px solid var(--guide-line); padding: .65rem .5rem; vertical-align: top; text-align: left; font-size: .94rem; }
.guides-table th { color: var(--guide-ink); font-weight: 650; }
.guides-table thead { background: var(--guide-paper); }
.guides-table th:first-child { width: 38%; }
.guides-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1.2rem; margin-top: 2rem; padding-top: .45rem; border-top: 1px solid var(--guide-line); font-size: .94rem; line-height: 1.4; }
.guides-end a { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; padding-block: .5rem; }
.guides-end .guides-back span { font-size: 1.45rem; line-height: 1; }
.guides-page main .guides-end .guides-next { display: grid; gap: .15rem; text-decoration: none; }
.guides-next span { color: var(--guide-text); font-size: .8rem; }
.guides-next strong { text-decoration: underline; text-underline-offset: .19em; }
.guides-next:hover strong { color: var(--guide-green); }

@media (min-width: 768px) {
    .guides-page { --guide-header: 6rem; }
    .guides-wrap { width: min(100% - 80px, 1100px); }
    .guides-end .guides-next { text-align: right; }
    .guides-article-grid { grid-template-columns: minmax(190px, 235px) minmax(0, 1fr); }
    .guides-toc { position: sticky; top: calc(var(--guide-header) + 1rem); }
    .guides-table :is(th, td) { padding: .8rem .95rem; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.guides-page) { scroll-behavior: auto; }
}

.blog-index {
    --blog-background: #f2f5f4;
    --blog-paper: #fff;
    --blog-navy: #102c46;
    --blog-moss: #2f653d;
    --blog-line: #d4e0da;
}

.blog-wrap { width: min(calc(100% - 36px), 1160px); margin-inline: auto; }
.blog-masthead {
    position: relative;
    isolation: isolate;
    padding-block: clamp(15px, 2.1vw, 26px) clamp(32px, 4.2vw, 62px);
    border-bottom: 4px solid #82ae76;
    background: var(--blog-navy);
    color: #fff;
}
.blog-masthead::before {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 37%;
    content: "";
    background-image: linear-gradient(#c7e8d119 1px, transparent 1px), linear-gradient(90deg, #c7e8d119 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, transparent, #000);
    pointer-events: none;
}
.blog-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-bottom: clamp(15px, 2.3vw, 32px);
    color: #c9d9e3;
    font-size: .875rem;
}
.blog-index main .blog-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #ecf6f9; }
.blog-index main .blog-crumbs a:hover { color: #c2e5b6; }
.blog-index main .blog-crumbs a:focus-visible { outline-color: #c2e5b6; }
.blog-masthead-copy { display: grid; align-items: end; gap: 1rem 2.5rem; }
.blog-index main .blog-masthead h1 {
    max-width: none;
    color: #f8fbf9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 5.5vw, 4.9rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.02;
    text-wrap: balance;
}
.blog-masthead-copy p {
    max-width: 36ch;
    padding-left: 1rem;
    border-left: 2px solid #82ae76;
    color: #e1ebef;
    font-size: clamp(.98rem, 1.5vw, 1.11rem);
    line-height: 1.5;
}

.blog-edition { background: var(--blog-background); padding-block: clamp(22px, 4vw, 48px) clamp(34px, 6vw, 80px); }
.blog-cards { display: grid; gap: clamp(14px, 2.1vw, 25px); }
.blog-card { min-width: 0; }
.blog-card article { height: 100%; }
.blog-index main a.blog-card-link {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    min-width: 0;
    border: 1px solid var(--blog-line);
    background: var(--blog-paper);
    color: var(--blog-navy);
    text-decoration: none;
    scroll-margin-block: calc(var(--guide-header) + 1rem) 1rem;
}
.blog-index main a.blog-card-link:is(:hover, :focus-visible) { border-color: var(--blog-moss); }
.blog-index main a.blog-card-link:is(:hover, :focus-visible) h2 { color: var(--blog-moss); }
.blog-card-image { position: relative; min-width: 0; aspect-ratio: 2 / 1; overflow: hidden; background: #d9e5e9; }
.blog-card-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.blog-card--featured img { object-position: 57% 47%; }
.blog-card-copy { align-content: center; display: grid; gap: .65rem; min-width: 0; padding: clamp(17px, 2.5vw, 31px); }
.blog-category { color: var(--blog-moss); font-size: .83rem; font-weight: 700; line-height: 1.3; }
.blog-index main .blog-card h2 { font-size: clamp(1.26rem, 2.25vw, 1.77rem); font-weight: 650; line-height: 1.16; letter-spacing: -.032em; }
.blog-index main .blog-card--featured h2 { max-width: 24ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3.15vw, 2.95rem); font-weight: 400; letter-spacing: -.038em; line-height: 1.06; }
.blog-card-summary { max-width: 50ch; color: var(--guide-text); font-size: .94rem; line-height: 1.55; }
.blog-read { width: fit-content; margin-top: .4rem; padding-bottom: .11rem; border-bottom: 1px solid #8fb397; color: var(--blog-moss); font-size: .91rem; font-weight: 700; }

@media (min-width: 640px) {
    .blog-wrap { width: min(calc(100% - 60px), 1160px); }
    .blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-card--featured { grid-column: 1 / -1; }
    .blog-index main .blog-card--featured a.blog-card-link { grid-template: 1fr / repeat(2, minmax(0, 1fr)); }
    .blog-card--featured .blog-card-image { aspect-ratio: auto; min-height: 220px; }
}

@media (640px <= width < 980px) {
    .blog-card:not(.blog-card--featured) .blog-card-copy { align-content: start; }
}

@media (min-width: 980px) {
    .blog-masthead-copy { grid-template-columns: 1fr auto; }
    .blog-masthead-copy p { max-width: 30ch; margin-bottom: .3rem; }
    .blog-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .blog-card { grid-column: span 2; }
    .blog-card--featured { grid-column: 1 / span 3; grid-row: span 2; }
    .blog-card--featured + .blog-card,
    .blog-card--featured + .blog-card + .blog-card { grid-column: span 3; }
    .blog-index main .blog-card--featured a.blog-card-link { grid-template: auto 1fr / 1fr; }
    .blog-card--featured .blog-card-image { aspect-ratio: 2 / 1; min-height: 0; }
    .blog-index main .blog-card--featured ~ .blog-card:nth-child(-n+3) a.blog-card-link { grid-template: 1fr / minmax(126px, .75fr) minmax(0, 1fr); }
    .blog-card--featured ~ .blog-card:nth-child(-n+3) .blog-card-image { aspect-ratio: auto; }
    .blog-card:not(.blog-card--featured) .blog-card-copy { gap: .5rem; padding: clamp(14px, 1.85vw, 26px); }
}
