/* ============================================================
   WALKER WILD
   ARTICLES / GUIDE LIST
   Reuses guides.css shared primitives
   ============================================================ */

.guide-list-page {
    background: #fff;
    color: var(--color-text, #202020);
}


/* ============================================================
   HERO
   ============================================================ */

.guide-list-hero {
    padding-block:
        clamp(5rem, 10vw, 9rem)
        clamp(4rem, 8vw, 7rem);
    background: #f4f1e9;
}

.guide-list-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
    gap: clamp(3rem, 10vw, 9rem);
    align-items: end;
}

.guide-list-hero__title {
    max-width: 850px;
    margin: 0;
    color: #0b463e;
    font-family: var(--font-heading, inherit);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 850;
    line-height: 0.9;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.guide-list-hero__intro {
    max-width: 690px;
    margin: 1.8rem 0 0;
    color: #5f5f5f;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.75;
}

.guide-list-hero__aside {
    padding-top: 1.5rem;
    border-top: 2px solid #173d36;
}

.guide-list-hero__aside p {
    margin: 0 0 1.3rem;
    color: #5d5d5d;
    font-size: 0.92rem;
    line-height: 1.65;
}


/* ============================================================
   CATEGORY
   ============================================================ */

.guide-list-category {
    margin: 0 0 0.7rem;
    color: #bd7000;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}


/* ============================================================
   FEATURED ARTICLE
   ============================================================ */

.guide-list-featured {
    background: #fff;
}

.guide-list-featured__header {
    margin-bottom: 1.3rem;
}

.guide-list-featured__article {
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    min-height: 520px;
    border-top: 2px solid #173d36;
    background: #fff;
}

.guide-list-featured__media {
    display: block;
    min-width: 0;
    overflow: hidden;
}

.guide-list-featured__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.guide-list-featured__media:hover img {
    transform: scale(1.02);
}

.guide-list-featured__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    background: #073b34;
}

.guide-list-featured__content .guide-list-category {
    color: #dc941d;
}

.guide-list-featured__content h2 {
    margin: 0;
    font-family: var(--font-heading, inherit);
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.guide-list-featured__content h2 a {
    color: #fff;
    text-decoration: none;
}

.guide-list-featured__excerpt {
    max-width: 560px;
    margin: 1.3rem 0 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

.guide-list-featured__content .guides-text-link {
    color: #efb34c;
}


/* ============================================================
   LIBRARY
   ============================================================ */

.guide-list-library {
    background: #f4f1e9;
}

.guide-list-library__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.guide-list-library__count {
    margin: 0 0 0.3rem;
    color: #737373;
    font-size: 0.82rem;
    font-weight: 700;
}

.guide-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:
        clamp(2rem, 4vw, 3.5rem)
        clamp(1rem, 2.5vw, 2rem);
}

.guide-list-card {
    min-width: 0;
    border-top: 2px solid #173d36;
}

.guide-list-card__media {
    display: block;
    aspect-ratio: 3 / 2;
    margin-top: 1rem;
    overflow: hidden;
    background: #ddd8ce;
}

.guide-list-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.guide-list-card__media:hover img {
    transform: scale(1.025);
}

.guide-list-card__content {
    padding-top: 1.35rem;
}

.guide-list-card h3 {
    margin: 0;
    font-family: var(--font-heading, inherit);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.guide-list-card h3 a {
    color: #173d36;
    text-decoration: none;
}

.guide-list-card h3 a:hover,
.guide-list-featured__content h2 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.guide-list-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 1rem 0 1.35rem;
    color: #606060;
    font-size: 0.88rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.guide-list-empty {
    background: #fff;
}

.guide-list-empty > .guides-container {
    max-width: 850px;
}

.guide-list-empty p:not(.guides-eyebrow) {
    max-width: 620px;
    margin: 1.5rem 0 0;
    color: #606060;
    line-height: 1.7;
}

.guide-list-empty .guides-button {
    margin-top: 1.7rem;
}


/* ============================================================
   PAGE FOOTER
   ============================================================ */

.guide-list-footer {
    padding-block: clamp(4rem, 7vw, 6.5rem);
    background: #073b34;
}

.guide-list-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
}

.guide-list-footer h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-size: clamp(2.2rem, 4.5vw, 4.4rem);
    font-weight: 850;
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.guide-list-footer__content {
    max-width: 600px;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.guide-list-footer__content p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.guide-list-featured__media:focus-visible,
.guide-list-featured__content a:focus-visible,
.guide-list-card a:focus-visible {
    outline: 3px solid #d78711;
    outline-offset: 3px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .guide-list-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.5fr);
        gap: 4rem;
    }

    .guide-list-featured__article {
        grid-template-columns: 54% 46%;
    }

    .guide-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   SMALL TABLET
   ============================================================ */

@media (max-width: 800px) {

    .guide-list-hero__inner,
    .guide-list-footer__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .guide-list-hero__aside {
        max-width: 620px;
    }

    .guide-list-featured__article {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .guide-list-featured__media {
        height: 420px;
    }

    .guide-list-featured__content {
        min-height: 360px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .guide-list-hero {
        padding-block: 4rem;
    }

    .guide-list-hero__title {
        font-size: clamp(2.7rem, 14vw, 4.3rem);
    }

    .guide-list-hero__intro {
        font-size: 0.93rem;
        line-height: 1.65;
    }

    .guide-list-hero__inner {
        gap: 2.5rem;
    }

    .guide-list-featured__media {
        height: 280px;
    }

    .guide-list-featured__content {
        min-height: 0;
        padding: 2.2rem 1.25rem 2.5rem;
    }

    .guide-list-featured__content h2 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .guide-list-library__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .guide-list-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .guide-list-card__media {
        margin-top: 0.85rem;
    }

    .guide-list-footer__inner {
        gap: 2.5rem;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .guide-list-featured__media img,
    .guide-list-card__media img {
        transition: none;
    }

}
