/* SEO guides rebuilt in the new design, batch 4 (snickeri, tilläggsisolering, energirenovering and
   uppvärmning). Loaded only by those pages, after ny_design.css and ny_design_guider.css. */

/* Cards with a picture over a heading and a short text, for the old pages' rows of picture boxes
   (altan tillval, industriväggar). Built on nd_columns, so the grid and the gaps are the same. */
.nd_page .nd_seo4_cards img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--nd_placeholder);
    margin-bottom: 8px;
}

/* Long Swedish compounds in the old headings ("luft/vattenvärmepumpar") must never push the page
   sideways on a phone; the templates add &shy; where a word is known to be long. */
.nd_page .nd_hero h1,
.nd_page .nd_rich h2 {
    overflow-wrap: break-word;
}
