/* Knowledge hub: source-parity refinements kept with the rendered hub. */
.ac-knowledge-pathways__list li {
    padding-block: 34px;
}

@media (min-width: 821px) {
    .ac-knowledge-pathways {
        padding-bottom: 132px;
    }
}

.ac-knowledge-hub :is(.ac-knowledge-intro h2,.ac-knowledge-evergreen__heading h2,.ac-knowledge-pathways h2,.ac-knowledge-season-card h3,.ac-knowledge-evergreen__grid h3,.ac-knowledge-pathways__list h3) {
    color: #152018;
}

.ac-knowledge-evergreen__grid h3,
.ac-knowledge-evergreen__grid h3 a {
    letter-spacing: normal;
}

.ac-knowledge-pathways__list h3 {
    letter-spacing: normal;
    line-height: 1.5;
}

.ac-knowledge-closing {
    width: min(calc(100% - 40px),1240px);
}

/* Archive-wide mobile typography review. Swedish headings keep complete
   words, while balanced wrapping avoids isolated one-word final lines. */
.ac-knowledge-hub :where(h1,h2,h3) {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
    text-wrap: balance;
}

.ac-knowledge-hub :where(p,dd) { text-wrap: pretty; }

@media (max-width:430px) {
    .ac-knowledge-hero h1 {
        max-width: 11ch;
        font-size: clamp(40px,12.5vw,48px);
        line-height: .98;
    }

    .ac-knowledge-hero__aside p {
        font-size: 17px;
        line-height: 1.6;
    }

    .ac-knowledge-intro,
    .ac-knowledge-evergreen,
    .ac-knowledge-pathways {
        padding-block: 76px;
    }

    .ac-knowledge-intro h2,
    .ac-knowledge-section-heading h2,
    .ac-knowledge-evergreen__heading h2,
    .ac-knowledge-pathways h2,
    .ac-knowledge-closing h2 {
        font-size: clamp(34px,10.8vw,41px);
        line-height: 1.03;
    }

    .ac-knowledge-intro__copy > p,
    .ac-knowledge-evergreen__heading > p,
    .ac-knowledge-closing p:not(.ac-knowledge-eyebrow) {
        font-size: 17px;
        line-height: 1.65;
    }

    .ac-knowledge-seasons { padding-block: 76px; }

    .ac-knowledge-season-card__image {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .ac-knowledge-season-card__copy {
        min-height: 0;
        padding: 28px 22px;
    }

    .ac-knowledge-season-card h3 { font-size: 29px; line-height: 1.08; }

    .ac-knowledge-evergreen-card__image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .ac-knowledge-evergreen__grid article > div { padding: 24px 22px; }
    .ac-knowledge-evergreen__grid h3 { font-size: 27px; line-height: 1.12; }

    .ac-knowledge-pathways__list li {
        grid-template-columns: 36px minmax(0,1fr);
        gap: 10px;
        padding-block: 28px;
    }

    .ac-knowledge-pathways__list h3 {
        font-size: 24px;
        line-height: 1.25;
    }

    .ac-knowledge-closing { padding: 48px 20px; }
}
