.guides-title {
    margin-block-end: 1.25rem;
}

.guides-title h1 {
    text-wrap: balance;
}

.guides-index {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: .875rem;
}

.guides-index > article {
    display: flex;
    min-width: 0;
}

.content .guide-index-card {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    align-items: start;
    gap: .625rem .75rem;
    padding: 1rem;
    border: 1px solid #d5dccf;
    border-radius: .5rem;
    background: #f7f9f4;
    color: #24292c;
    text-decoration: none;
    transition: background-color .15s, border-color .15s;
}

.content .guide-index-card h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
    text-transform: none;
}

.content .guide-index-card p {
    grid-column: 1 / -1;
    margin: 0;
    line-height: 1.55;
}

.guide-index-card .section-arrow {
    margin-top: .075rem;
    color: #466a38;
}

@media (hover: hover) {
    .content .guide-index-card:hover {
        border-color: #99ad8b;
        background: #edf3e7;
        color: #24292c;
    }

    .guide-index-card:hover h2 {
        text-decoration: underline;
        text-underline-offset: .15em;
    }
}

.content .guide-index-card:active {
    background: #e4eedc;
}

.guides-article.catalog-editorial {
    gap: 1.5rem;
}

.guides-article .guides-intro {
    font-size: 1.0625rem;
}

.content .guide-examples {
    display: grid;
    gap: .625rem;
    margin: .875rem 0 0;
    padding: 0;
    list-style: none;
}

.content .guide-examples li {
    margin: 0;
    padding: .75rem .875rem;
    border-inline-start: 3px solid #aebf83;
    border-radius: 0 .375rem .375rem 0;
    background: #f0f5eb;
}

.guide-examples__name {
    display: block;
    margin-block-end: .25rem;
    font-weight: 700;
}

.guide-examples__name a {
    display: block;
    width: fit-content;
    min-height: 24px;
}

.content .guides-article a,
.content .guides-related a {
    color: #345627;
    text-decoration: underline;
    text-underline-offset: .15em;
    overflow-wrap: anywhere;
}

.content .guides-index a:focus-visible,
.content .guides-article a:focus-visible,
.content .guides-related a:focus-visible {
    outline: 2px solid #466a38;
    outline-offset: 3px;
}

.guides-related {
    padding-block-start: 1.125rem;
    border-top: 1px solid #d5dccf;
}

@media (prefers-reduced-motion: reduce) {
    .content .guide-index-card {
        transition: none;
    }
}
