/* ==========================================================
   WHOLE LIFE TIMES — EXPLORE BY SUBJECT
   File location: /css/explore.css
   ========================================================== */

:root {
    --wlt-explore-ink: #26372f;
    --wlt-explore-soft: #4f5d55;
    --wlt-explore-muted: #747068;
    --wlt-explore-green: #395a46;
    --wlt-explore-green-deep: #213d30;
    --wlt-explore-green-soft: #dfe9e2;
    --wlt-explore-gold: #b58b32;
    --wlt-explore-gold-deep: #8f6c24;
    --wlt-explore-gold-soft: #eee2c4;
    --wlt-explore-cream: #faf9f5;
    --wlt-explore-cream-deep: #f4f0e7;
    --wlt-explore-border: rgba(38, 55, 47, 0.14);
    --wlt-explore-shadow: 0 18px 45px rgba(34, 49, 41, 0.08);
}


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

.wlt-explore-hero {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background:
        linear-gradient(
            180deg,
            var(--wlt-explore-cream) 0%,
            #ffffff 100%
        );
}

.wlt-explore-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 2rem;
    color: var(--wlt-explore-muted);
    font-size: 0.86rem;
}

.wlt-explore-breadcrumb a {
    color: var(--wlt-explore-green-deep);
    text-decoration: none;
}

.wlt-explore-breadcrumb a:hover {
    color: var(--wlt-explore-gold-deep);
}

.wlt-explore-eyebrow {
    margin-bottom: 0.6rem;
    color: var(--wlt-explore-gold-deep);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.wlt-explore-hero h1 {
    margin: 0 0 1.2rem;
    color: var(--wlt-explore-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.6rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.035em;
}

.wlt-explore-intro {
    max-width: 850px;
    margin: 0;
    color: var(--wlt-explore-soft);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.75;
}

.wlt-explore-jumpbox {
    display: grid;
    gap: 0.55rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--wlt-explore-border);
    border-radius: 12px;
    box-shadow: var(--wlt-explore-shadow);
}

.wlt-explore-jumpbox-label {
    margin-bottom: 0.3rem;
    color: var(--wlt-explore-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wlt-explore-jumpbox a {
    color: var(--wlt-explore-green-deep);
    font-weight: 700;
    text-decoration: none;
}

.wlt-explore-jumpbox a:hover {
    color: var(--wlt-explore-gold-deep);
}


/* ==========================================================
   SHARED SECTIONS
   ========================================================== */

.wlt-explore-section {
    padding: clamp(5.5rem, 9vw, 8rem) 0;
    background: #ffffff;
}

.wlt-explore-section-soft {
    background: var(--wlt-explore-cream);
}

.wlt-explore-section-dark {
    color: rgba(255,255,255,.82);
    background:
        linear-gradient(
            145deg,
            #213d30,
            #315440
        );
}

.wlt-explore-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--wlt-explore-border);
}

.wlt-explore-section-heading h2,
.wlt-explore-next h2 {
    margin: 0;
    color: var(--wlt-explore-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.3vw, 2.9rem);
    font-weight: 600;
    line-height: 1.12;
}

.wlt-explore-heading-light {
    border-bottom-color: rgba(255,255,255,.18);
}

.wlt-explore-heading-light h2 {
    color: #ffffff;
}

.wlt-explore-section-dark .wlt-explore-eyebrow {
    color: #dec993;
}

.wlt-explore-section-link {
    color: var(--wlt-explore-green-deep);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.wlt-explore-section-link::after {
    content: "→";
    margin-left: 0.45rem;
}

.wlt-explore-section-dark .wlt-explore-section-link {
    color: #ffffff;
}


/* ==========================================================
   LATEST CARDS
   ========================================================== */

.wlt-explore-feature-card,
.wlt-explore-small-card {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: #ffffff;
    border: 1px solid var(--wlt-explore-border);
    border-radius: 12px;
    box-shadow: var(--wlt-explore-shadow);
}

.wlt-explore-feature-card {
    min-height: 100%;
    background:
        linear-gradient(
            145deg,
            #f7f5ee,
            #ffffff
        );
}

.wlt-explore-card-meta {
    margin-bottom: 0.55rem;
    color: var(--wlt-explore-gold-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.wlt-explore-feature-card h3,
.wlt-explore-small-card h3 {
    margin: 0 0 0.8rem;
    color: var(--wlt-explore-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.28;
}

.wlt-explore-feature-card h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.wlt-explore-small-card h3 {
    font-size: 1.2rem;
}

.wlt-explore-feature-card h3 a {
    color: inherit;
    text-decoration: none;
}

.wlt-explore-feature-card p,
.wlt-explore-small-card p {
    margin-bottom: 1rem;
    color: var(--wlt-explore-soft);
    line-height: 1.68;
}

.wlt-explore-read-link {
    color: var(--wlt-explore-green-deep);
    font-weight: 700;
    text-decoration: none;
}


/* ==========================================================
   SUBJECT CHIPS
   ========================================================== */

.wlt-subject-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.wlt-subject-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    padding: 0.9rem 1rem;
    color: var(--wlt-explore-green-deep);
    background: #ffffff;
    border: 1px solid var(--wlt-explore-border);
    border-radius: 9px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition:
        transform .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.wlt-subject-chip:hover {
    color: var(--wlt-explore-gold-deep);
    border-color: rgba(181,139,50,.38);
    transform: translateY(-2px);
}


/* ==========================================================
   ARCHIVE
   ========================================================== */

.wlt-explore-archive {
    --bs-accordion-border-color: var(--wlt-explore-border);
    --bs-accordion-active-bg: var(--wlt-explore-cream-deep);
    --bs-accordion-active-color: var(--wlt-explore-ink);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(181,139,50,.14);
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.wlt-explore-archive .accordion-item {
    overflow: hidden;
    border: 1px solid var(--wlt-explore-border);
    border-radius: 9px;
}

.wlt-explore-archive .accordion-button {
    color: var(--wlt-explore-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.wlt-archive-issue {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr);
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--wlt-explore-border);
}

.wlt-archive-issue:last-child {
    border-bottom: 0;
}

.wlt-archive-issue-label {
    color: var(--wlt-explore-gold-deep);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.wlt-archive-issue a {
    color: var(--wlt-explore-green-deep);
    font-weight: 700;
    text-decoration: none;
}

.wlt-explore-placeholder {
    margin: 0;
    color: var(--wlt-explore-muted);
}


/* ==========================================================
   DIALOGUES
   ========================================================== */

.wlt-dialogue-card {
    height: 100%;
    padding: 1.6rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
}

.wlt-dialogue-icon {
    margin-bottom: 1rem;
    color: #dec993;
    font-size: 2rem;
}

.wlt-dialogue-card h3 {
    margin: 0 0 .7rem;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 600;
}

.wlt-dialogue-card p {
    margin: 0;
    line-height: 1.65;
}


/* ==========================================================
   RESOURCES
   ========================================================== */

.wlt-resource-card {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    height: 100%;
    padding: 1.6rem;
    color: var(--wlt-explore-soft);
    background: #ffffff;
    border: 1px solid var(--wlt-explore-border);
    border-radius: 12px;
    box-shadow: var(--wlt-explore-shadow);
    text-decoration: none;
}

.wlt-resource-card:hover {
    color: var(--wlt-explore-soft);
    border-color: rgba(181,139,50,.38);
}

.wlt-resource-card-kicker {
    color: var(--wlt-explore-gold-deep);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.wlt-resource-card strong {
    color: var(--wlt-explore-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.3;
}


/* ==========================================================
   NEXT SUBJECTS
   ========================================================== */

.wlt-explore-next {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--wlt-explore-cream-deep);
}

.wlt-explore-next-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.wlt-explore-next-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
}

.wlt-explore-next-links a {
    padding: .65rem .85rem;
    color: var(--wlt-explore-green-deep);
    background: #ffffff;
    border: 1px solid var(--wlt-explore-border);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1199.98px) {
    .wlt-subject-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wlt-explore-section-heading,
    .wlt-explore-next-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .wlt-explore-section-link {
        white-space: normal;
    }

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

    .wlt-archive-issue {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .wlt-explore-next-links {
        justify-content: flex-start;
    }
}

@media (max-width: 479.98px) {
    .wlt-subject-grid {
        grid-template-columns: 1fr;
    }
}
