.how-to-guides-page {
    --guides-ink: #18221b;
    --guides-muted: #637068;
    --guides-line: #dce3de;
    --guides-green: var(--brand-color, #2f8b57);
    background: #fff;
    color: var(--guides-ink);
}

.how-to-guides-page *,
.how-to-guides-page *::before,
.how-to-guides-page *::after {
    box-sizing: border-box;
}

.how-to-guides-page [hidden] {
    display: none !important;
}

.how-to-guides-hero {
    padding: 27px 0 62px;
    background: #fff;
    color: var(--guides-ink);
    border-bottom: 1px solid var(--guides-line);
}

.how-to-guides-breadcrumbs {
    display: flex;
    gap: 9px;
    margin-bottom: 48px;
    color: var(--guides-muted);
    font-size: 13px;
}

.how-to-guides-breadcrumbs a {
    color: var(--guides-green);
    text-decoration: none;
}

.how-to-guides-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 90px;
    align-items: end;
}

.how-to-guides-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--guides-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.how-to-guides-hero .how-to-guides-eyebrow {
    color: var(--guides-green);
}

.how-to-guides-hero h1 {
    margin: 0 0 12px;
    color: var(--guides-ink);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.how-to-guides-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--guides-muted);
    font-size: 17px;
    line-height: 1.6;
}

.how-to-guides-hero__count {
    display: inline-block;
    margin-top: 21px;
    padding-top: 10px;
    border-top: 1px solid var(--guides-line);
    color: var(--guides-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.how-to-guides-search label {
    display: block;
    margin-bottom: 8px;
    color: var(--guides-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.how-to-guides-search > div {
    display: flex;
    height: 54px;
    align-items: center;
    gap: 11px;
    padding: 0 15px;
    border: 1px solid var(--guides-line);
    border-radius: 3px;
    background: #fff;
    color: #657169;
}

.how-to-guides-search > div:focus-within {
    outline: 2px solid rgba(167, 203, 179, .7);
    outline-offset: 2px;
}

.how-to-guides-search svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.how-to-guides-search input {
    width: 100%;
    height: 50px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--guides-ink);
    font: inherit;
    font-size: 15px;
}

.how-to-guides-main {
    padding: 64px 0 95px;
}

.how-to-guides-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 780px);
    gap: 70px;
    justify-content: center;
    align-items: start;
}

.how-to-guides-categories {
    position: sticky;
    top: 25px;
    padding-top: 3px;
}

.how-to-guides-categories > p {
    margin: 0 0 12px;
    color: #78847c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.how-to-guides-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--guides-line);
    color: var(--guides-ink);
    font-size: 13px;
    text-decoration: none;
}

.how-to-guides-categories a:first-of-type {
    border-top: 2px solid var(--guides-green);
}

.how-to-guides-categories a.is-active {
    border-top: 2px solid var(--guides-green);
    color: #1d6540;
    font-weight: 700;
}

.how-to-guides-categories a.how-to-guides-categories__help {
    justify-content: flex-start;
    margin-top: 14px;
    border: 0;
    color: #1d6540;
    font-weight: 700;
}

.how-to-guides-directory {
    min-width: 0;
}

.how-to-guides-categories a span {
    color: #879189;
    font-size: 11px;
}

.how-to-guides-list {
    scroll-margin-top: 25px;
}

.how-to-guides-list + .how-to-guides-list {
    margin-top: 72px;
}

.how-to-guides-list__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.how-to-guides-list h2 {
    margin: 0;
    color: var(--guides-ink);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.025em;
}

.how-to-guides-list__header > span {
    padding-bottom: 4px;
    color: #77837b;
    font-size: 12px;
}

.how-to-guide-results {
    border-top: 2px solid var(--guides-ink);
}

.how-to-guide-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 20px;
    align-items: start;
    padding: 25px 2px;
    border-bottom: 1px solid var(--guides-line);
    color: var(--guides-ink);
    text-decoration: none;
}

.how-to-guide-row:hover {
    color: #1d6540;
}

.how-to-guide-row__number {
    padding-top: 2px;
    color: var(--guides-green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.how-to-guide-row__copy strong,
.how-to-guide-row__copy small,
.how-to-guide-row__copy em {
    display: block;
}

.how-to-guide-row__copy strong {
    margin-bottom: 7px;
    font-size: 20px;
    line-height: 1.3;
}

.how-to-guide-row__copy small {
    max-width: 610px;
    color: var(--guides-muted);
    font-size: 13px;
    line-height: 1.6;
}

.how-to-guide-row__copy em {
    margin-top: 12px;
    color: #849087;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.how-to-guide-row > svg {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--guides-green);
    transition: transform .18s ease;
}

.how-to-guide-row:hover > svg {
    transform: translateX(3px);
}

.how-to-guides-empty {
    padding: 36px 0;
    border-top: 2px solid var(--guides-ink);
    border-bottom: 1px solid var(--guides-line);
}

.how-to-guides-empty strong {
    color: var(--guides-ink);
    font-size: 17px;
}

.how-to-guides-empty p {
    margin: 6px 0 0;
    color: var(--guides-muted);
    font-size: 13px;
}

.how-to-guides-empty a {
    color: #1d6540;
}

@media (max-width: 991px) {
    .how-to-guides-hero__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .how-to-guides-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 42px;
    }
}

@media (max-width: 767px) {
    .how-to-guides-hero {
        padding: 20px 0 42px;
    }

    .how-to-guides-breadcrumbs {
        margin-bottom: 32px;
    }

    .how-to-guides-hero h1 {
        font-size: 38px;
    }

    .how-to-guides-hero p {
        font-size: 15px;
    }

    .how-to-guides-main {
        padding: 38px 0 65px;
    }

    .how-to-guides-layout {
        display: block;
    }

    .how-to-guides-categories {
        position: static;
        margin-bottom: 42px;
    }

    .how-to-guides-list__header {
        align-items: start;
        flex-direction: column;
        gap: 7px;
    }

    .how-to-guides-list h2 {
        font-size: 28px;
    }

    .how-to-guide-row {
        grid-template-columns: 30px minmax(0, 1fr) 20px;
        gap: 11px;
    }

    .how-to-guide-row__copy strong {
        font-size: 18px;
    }
}
