/* Swedish compound words must not force cards or headings wider than mobile. */
.published-design:lang(sv) :is(h1, h2, h3) {
    overflow-wrap: anywhere;
    hyphens: manual;
}
.published-design:lang(sv) .blueprint-heading > * {
    min-width: 0;
}

/* Keep the same hierarchy while allowing the longer Swedish line to fit. */
.published-design:lang(sv) .blueprint-heading h1.home-value-heading {
    font-size: clamp(32px, 4vw, 61px);
    hyphens: none;
}
@media screen and (min-width: 761px) and (max-width: 1040px) {
    .published-design:lang(sv) .blueprint-heading h1.home-value-heading {
        font-size: clamp(28px, 3.5vw, 37px);
    }
}
@media screen and (max-width: 760px) {
    .published-design:lang(sv) :is(h1, h2, h3) {
        hyphens: auto;
    }
    .published-design:lang(sv) .blueprint-heading h1.home-value-heading {
        font-size: clamp(24px, 7.4vw, 48px);
    }
    .published-design:lang(sv) .item_value {
        font-size: clamp(26px, 8vw, 36px);
    }
}

/* Use the full tile width for Swedish link titles. Keep words intact and
 * allow natural reflow when text is enlarged; do not clamp or hide content. */
.published-design:lang(sv) .cards-grid .card_inner h3 {
    max-width: none;
    font-size: 27px;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
}

@media (min-width: 761px) and (max-width: 1040px) {
    .published-design:lang(sv) .cards-grid .card_inner h3 {
        font-size: clamp(18px, 2.35vw, 23px);
    }
}

@media (max-width: 420px) {
    .published-design:lang(sv) .cards-grid .card_inner h3 {
        font-size: 25px;
    }
}
