﻿:root {
    --dm-black: #1E1E1E;
    --dm-dark-grey: #828282;
    --dm-medium-grey: #D1D1D1;
    --dm-light-grey: #EDEDED;
    --dm-invisible-grey: #F9F9F9;
    --dm-white: #FFFFFF;
    --dm-blue: #284B8F;
    --dm-blue-hover: #1F3F7A;
    --container: 1360px;
    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;
    --hero-height: 620px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: var(--dm-black);
    background: var(--dm-white);
}

    body.menu-open {
        overflow: hidden;
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

p {
    margin-top: 0;
    margin-bottom: 1.4rem;
}

.container {
    width: min(100% - 4rem, var(--container));
    margin-inline: auto;
}

.section-content a {
    color: var(--dm-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}

    .section-content a:hover {
        color: var(--dm-blue);
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 0.18em;
        text-decoration-color: currentColor;
    }

    .section-content a:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 3px;
        border-radius: 2px;
    }


.section-heading a {
    color: var(--dm-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}

    .section-heading a:hover {
        color: var(--dm-blue);
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 0.18em;
        text-decoration-color: currentColor;
    }

    .section-heading a:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 3px;
        border-radius: 2px;
    }



.section-content ul {
    margin: 0 0 1.6em 0;
    margin-bottom: 1lh;
    padding: 0;
    list-style: none;
}

.section-content li {
    position: relative;
    margin: 0 0 1rem 0;
    padding-left: 1.75rem;
    line-height: 1.6;
}

    /*    .section-content li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.5em;
        width: 0.55rem;
        height: 0.55rem;
        border-radius: 50%;
        background: var(--accent-color, #284B8F);
    }
*/

    .section-content li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.8em;
        transform: translateY(-50%);
        width: 0.5rem;
        height: 2px;
        background: var(--accent-color, #000000);
    }


    .section-content li:last-child {
        margin-bottom: 0;
    }

    .section-content li b {
        font-weight: 600;
    }


/* Header */

.site-header {
    position: relative;
    z-index: 50;
    background: var(--dm-white);
    border-bottom: 1px solid var(--dm-light-grey);
}

.topbar {
    background: var(--dm-invisible-grey);
    border-bottom: 1px solid var(--dm-light-grey);
}

.topbar-inner {
    min-height: 56px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.6rem;
}

.topbar-link {
    font-size: 13px;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

/* Topbar: reduce icon-to-text spacing to two thirds. */
.topbar .icon-link {
    gap: .3rem;
}

.icon {
    display: inline-flex;
    width: 1.15em;
    justify-content: center;
    font-size: 1.1em;
    line-height: 1;
    color: var(--dm-black);
}

.icon-link:hover {
    text-decoration: none;
}

.icon-link .icon {
    text-decoration: none;
}

.icon-link:hover .link-text {
    text-decoration: underline;
}

.mainbar {
    background: var(--dm-white);
}

.footer-social a {
    color: var(--dm-blue);
}

.mainbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    .brand:hover {
        text-decoration: none;
    }

.brand-logo-mobile {
    display: block;
    width: auto;
    height: 28px;
    max-width: 180px;
}

.brand-logo {
    display: block;
    width: clamp(150px, 15vw, 230px);
    height: auto;
    max-height: 42px;
}

@media (max-width: 1020px) {
    .brand-logo {
        width: clamp(130px, 42vw, 190px);
        max-height: 30px;
    }
}

@media (max-width: 600px) {
    .brand-logo {
        width: clamp(120px, 48vw, 170px);
        max-height: 32px;
    }
}



.section-content:has(> img) {
    padding-left: var(--space-md);
    padding-right: var(--space-xs);
}

@media (max-width: 1020px) {

    .section-content:has(> img) {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}

@media (max-width: 600px) {
    .section-content:has(> img) {
        padding-left: var(--space-xs);
        padding-right: var(--space-xs);
    }
}


.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 2.8rem;
    align-self: stretch;
}

.nav-item {
    display: flex;
    align-items: center;
}

    .nav-item > a {
        display: flex;
        align-items: center;
        position: relative;
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
    }

        .nav-item > a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -27px;
            height: 2px;
            background: var(--dm-blue);
            opacity: 0;
            transform: scaleX(.4);
            transition: opacity .15s ease, transform .15s ease;
        }

.mainbar:hover .nav-item > a::after,
.mainbar:focus-within .nav-item > a::after {
    opacity: 0;
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after {
    opacity: 1;
    transform: scaleX(1);
}

html.no-hover .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 131px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    background: var(--dm-light-grey);
    border-top: 1px solid var(--dm-light-grey);
    border-bottom: 1px solid var(--dm-medium-grey);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
    transition: opacity .15s ease .15s, transform .15s ease .15s, visibility 0s linear .15s, pointer-events 0s linear .15s;
}

.mainbar:hover .mega-menu,
.mainbar:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease .35s, transform .25s ease .35s, visibility 0s linear .35s;
}

/* Highlight the mega-menu column associated with the current navigation item. */
.mega-menu .mega-column {
    transition: background-color .15s ease;
}

    .mega-menu .mega-column.is-active {
        background-color: #E1E5EC;
    }

.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    justify-content: space-between;
    gap: 0;
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
}

.mega-column {
    padding: 0 1.5rem;
    border-left: 1px solid var(--dm-medium-grey);
}

    .mega-column:first-child {
        border-left: 0;
    }

    .mega-column a {
        display: block;
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: .55rem;
    }

    .mega-column .mega-title {
        font-size: 17px;
        font-weight: 500;
        margin-bottom: 1.2rem;
    }

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 1rem;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: -0.03em;
    border: 1px solid var(--dm-black);
    white-space: nowrap;
}

    .button:hover {
        text-decoration: none !important;
    }

.button-primary {
    background: var(--dm-blue);
    border-color: var(--dm-blue);
    color: var(--dm-white);
}

    .button-primary:hover {
        background: var(--dm-blue-hover);
        border-color: var(--dm-blue-hover);
    }

.button-secondary {
    background: transparent;
    border-color: var(--dm-medium-grey);
    color: var(--dm-black);
}

    .button-secondary:hover {
        border-color: var(--dm-black);
    }

/* Mobile menu */

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 5px auto;
        background: var(--dm-black);
    }

.mobile-menu {
    display: none;
}




/* Layout */

.site-main {
    background: var(--dm-white);
}

.section {
    padding: var(--space-xl) 0;
}

.section-white {
    background: var(--dm-white);
}

.section-muted {
    background: var(--dm-invisible-grey);
}

.section-alt {
}

    .section-alt:nth-of-type(odd) {
        background: var(--dm-invisible-grey);
    }

    .section-alt:nth-of-type(even) {
        background: white;
    }


/*.contentimage-full{
    max-width:35vw;
    margin-top:4rem;
}
*/
.content-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
}

.section-heading {
    grid-column: span 4;
    margin-bottom: -2rem;
}

    .section-heading img {
        max-width: 95%;
        width: 95%;
        margin: auto;
    }

    .section-heading:not(:has(~ .section-content)) {
        grid-column: 1 / span 8;
    }



.section-content {
    grid-column: 7 / span 6;
}


.eyebrow-dark {
    font-size: 13px;
    color: #626262;
    margin-bottom: var(--space-sm);
}

.eyebrow {
    font-size: 13px;
    color: var(--dm-dark-grey);
    margin-bottom: var(--space-sm);
}

/* Mörkare eyebrow på ljusgrå bakgrund */
.section-alt:nth-of-type(odd) .eyebrow,
.section-muted .eyebrow,
.hero .eyebrow {
    color: #626262;
}


/* Typography */

h1,
.h1 {
    margin: 0 0 var(--space-md);
    font-size: clamp(40px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 500;
}

h2,
.h2 {
    margin: 0 0 var(--space-md);
    font-size: clamp(32px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 500;
}

h3,
.h3 {
    margin: 0 0 var(--space-sm);
    font-size: clamp(24px, 2vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 400;
}

h4,
.h4 {
    margin: 0 0 var(--space-sm);
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 400;
}

/*.ingress {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.03em;
}
*/
/*.section-content .ingress {
    max-width: 100%;
}*/

.text-muted {
    color: var(--dm-dark-grey);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: var(--space-md);
}

.image-block,
.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--dm-light-grey);
}

    .image-block img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: cover;
    }

/* Old simple feature layout, kept for reuse */

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature {
    background: transparent;
    padding: 0;
}

    .feature + .feature {
        border-left: 1px solid var(--dm-light-grey);
        padding-left: var(--space-md);
    }
/*
.link-arrow::after {
    content: " →";
}*/

/* About/index feature cards */

.feature-intro {
    margin-bottom: 4.5rem;
}

.feature-card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card-list-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card-list-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card-list-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.feature-card {
    min-height: 100%;
    padding: 2rem;
    border: 1px solid var(--dm-light-grey);
    border-radius: 6px;
    background: var(--dm-white);
    display: flex;
    flex-direction: column;
}

    .feature-card:hover {
        text-decoration: none;
        border-color: var(--dm-medium-grey);
    }

    /* When the entire card is linked */
    .feature-card:has(> a) {
        padding: 0;
    }

    .feature-card > a {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 2rem;
        text-decoration: none;
    }

.feature-card-image {
    overflow: hidden;
}

.feature-card-img {
    display: block;
    width: calc(100% + 4rem);
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: -2rem -2rem 1.75rem -2rem;
    opacity: 1;
}

.feature-card:hover .feature-card-img {
    opacity: .85;
}



.feature-card-main-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

    .feature-card-main-link:hover {
        text-decoration: none;
    }


    .feature-card-main-link .link-arrow {
        margin-top: auto;
        color: var(--dm-blue);
    }

    .feature-card-main-link:hover .link-arrow {
        text-decoration: underline;
    }

.feature-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: .9rem;
    margin-bottom: 1rem;
}

    .feature-card-heading h3 {
        margin: 0;
    }

    .feature-card-heading h4 {
        margin: 0;
    }

.story-list-actions {
    margin-top: 2rem;
    justify-content: flex-end;
}

.feature-card .story-card-topic {
    margin: 1.5rem 0 1.5rem 0;
    font-size: clamp(24px, 2vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 400;
}

.feature-card .story-card-location {
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    color: var(--dm-dark-grey);
    margin-bottom: 2rem;
}

.feature-card .story-card-info {
    margin-top: 0px;
    margin-bottom: 1rem;
}


.feature-card-heading-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    color: black; /* var(--dm-blue); */
    margin-top: -14px;
}

.section-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    margin-left: 50%;
    border-radius: 50%;
    background: var(--dm-invisible-grey);
    color: var(--dm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin-bottom: 0;
    font-size: 14px;
}


.feature-card p {
    margin-bottom: 2rem;
}

.feature-card .link-arrow {
    margin-top: auto;
    color: var(--dm-blue);
    font-weight: 500;
}


.feature-card-list-4 .feature-card h3,
.feature-card-list-5 .feature-card h3 {
    font-size: 18px;
}

.feature-card-list-4 .feature-card .story-card-topic,
.feature-card-list-5 .feature-card .story-card-topic {
    font-size: 18px;
    margin-bottom: 0.8rem;
}


/* Partner/value list */

.partner-list {
    display: grid;
    gap: 0;
}

.partner-list-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--dm-light-grey);
}

    .partner-list-item:first-child {
        padding-top: 0;
    }

    .partner-list-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }




/* Responsive */

@media (max-width: 1100px) {
    .feature-card-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-list-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-list-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-list-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-heading img {
        max-width: 100%;
        width: 80%;
        margin: auto;
        align-content: center;
    }
}

@media (max-width: 1020px) {
    .topbar,
    .desktop-nav {
        display: none;
    }

    .container {
        width: min(100% - 2rem, var(--container));
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 90;
        background: var(--dm-white);
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }

    .mainbar {
        position: static;
        border-bottom: 1px solid var(--dm-light-grey);
    }

    .mainbar-inner {
        min-height: 58px;
    }

    .brand {
        font-size: 16px;
    }

    .brand-logo {
        max-height: 30px;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: block;
        background: rgba(30, 30, 30, .18);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease;
    }

        .mobile-menu.is-open {
            opacity: 1;
            pointer-events: auto;
        }

    .mobile-menu-panel {
        width: min(100%, 360px);
        min-height: 100%;
        margin-left: auto;
        background: var(--dm-white);
        box-shadow: -20px 0 50px rgba(0, 0, 0, .12);
        transform: translateX(100%);
        transition: transform .18s ease;
        padding-bottom: 2rem;
    }

    .mobile-menu.is-open .mobile-menu-panel {
        transform: translateX(0);
    }

    .mobile-menu-header {
        min-height: 64px;
        padding: 0 1.25rem;
        border-bottom: 1px solid var(--dm-light-grey);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-close {
        border: 0;
        background: transparent;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        color: var(--dm-black);
    }

    .mobile-quicklinks {
        padding: 1.25rem;
        border-bottom: 1px solid var(--dm-light-grey);
        display: grid;
        gap: 1rem;
        font-size: 14px;
    }

        .mobile-quicklinks .button {
            width: fit-content;
            margin-top: .25rem;
        }

    .mobile-nav {
        padding: 0 1.25rem;
    }

        .mobile-nav details {
            border-bottom: 1px solid var(--dm-light-grey);
            padding: .65rem 0;
        }

        .mobile-nav summary {
            list-style: none;
            cursor: pointer;
            font-size: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

            .mobile-nav summary::-webkit-details-marker {
                display: none;
            }

            .mobile-nav summary::after {
                content: "⌄";
                font-size: 18px;
                transition: transform .15s ease;
            }

        .mobile-nav details[open] summary::after {
            transform: rotate(180deg);
        }

        .mobile-nav details a {
            display: block;
            padding: .4rem 0 .4rem 1rem;
            font-size: 14px;
            color: var(--dm-black);
        }

            .mobile-nav details a:first-of-type {
                margin-top: .75rem;
            }

    .mobile-social {
        display: flex;
        gap: 1.4rem;
        padding: 1.4rem 1.25rem 0;
        font-size: 18px;
        align-items: center;
    }

    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

        .hero-text,
        .hero-media,
        .section-heading,
        .section-content,
        .footer-grid > div:first-child,
        .footer-links {
            grid-column: auto;
        }

        .footer-grid > div:first-child {
            text-align: left;
        }

        .footer-grid .footer-brand {
            text-align: left;
            margin-left: 0;
            margin-right: 0;
        }

    .footer-brand {
        display: inline-block;
        margin-bottom: .5rem;
    }

    .hero {
        padding: var(--space-xl) 0;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature + .feature {
        border-left: 0;
        border-top: 1px solid var(--dm-light-grey);
        padding-left: 0;
        padding-top: var(--space-md);
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 1.5rem;
    }

        .footer-links > div:first-child {
            align-items: flex-start;
        }

        .footer-links > div:last-child {
            align-items: flex-end;
            text-align: right;
        }
}

@media (max-width: 700px) {
    .feature-card-list {
        grid-template-columns: 1fr;
    }

    .feature-card-list-4 {
        grid-template-columns: 1fr;
    }

    .feature-card-list-3 {
        grid-template-columns: 1fr;
    }

    .feature-card-list-5 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
        --space-xxl: 6rem;
    }

    h1,
    .h1 {
        font-size: 40px;
    }

    h2,
    .h2 {
        font-size: 32px;
    }

    h3,
    .h3 {
        font-size: 24px;
    }

    .mobile-menu-panel {
        width: 100%;
    }
}



.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 36px;
}

    .contact-card h2 {
        margin-bottom: 32px;
    }

.contact-block + .contact-block {
    margin-top: 28px;
}

.contact-block h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
}

textarea.form-control {
    resize: vertical;
}

.form-actions {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
}




.form-success {
    height: 100%;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    align-content: start;
    background: var(--dm-invisible-grey);
}

.form-success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dm-blue);
    color: var(--dm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.form-success h3 {
    margin-bottom: .75rem;
}

.form-success p:last-of-type {
    margin-bottom: 1.5rem;
}


.validation-summary {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid #e8b4b4;
    background: #fff5f5;
    border-radius: 10px;
    color: #9f1239;
}

    .validation-summary ul {
        margin: 10px 0 0 18px;
    }

.field-validation-error {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    color: #c62828;
}

.form-control.input-validation-error {
    border-color: #c62828;
    background-color: #fffafa;
}


.svg-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    color: currentColor;
}

.svg-icon-lg {
    width: 32px;
    height: 32px;
}

.svg-icon-card {
    width: 30px;
    height: 30px;
    color: var(--dm-blue);
}


.icon .svg-icon {
    width: 1.1em;
    height: 1.1em;
}

.feature-card {
    position: relative;
}

    .feature-card.current {
        border-color: var(--dm-blue);
        background: #f5f8ff;
    }

        .feature-card.current h3 {
            color: var(--dm-blue);
        }

        .feature-card.current .link-arrow {
            display: none;
        }

        .feature-card.current .current-icon {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 26px;
            height: 26px;
            color: var(--dm-blue);
        }


.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.tag {
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--dm-invisible-grey);
    border: 1px solid var(--dm-light-grey);
    font-size: 14px;
}



.solution-chip {
    display: inline-flex;
    align-items: center;
    padding: .75rem 1.2rem;
    border: 1px solid var(--dm-light-grey);
    border-radius: 999px;
    background: #fff;
    transition: .2s;
}

    .solution-chip:hover {
        background: var(--dm-blue);
        color: #fff;
        text-decoration: none;
    }

.solution-chip {
    gap: .45rem;
}

    .solution-chip svg {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }



.related-link-groups {
    display: grid;
    gap: 3rem;
}

.related-link-group h3 {
    margin-bottom: 1.5rem;
    font-size: 20px
}

.container:has(.related-link-groups) .feature-intro {
    margin-bottom: 3rem;
    padding-bottom: 0px;
}

.container:has(.feature-card-list) .feature-intro {
    margin-bottom: 3rem;
    padding-bottom: 0px;
}





.feature-card h3 {
    font-size: clamp(24px, 2vw, 26px);
}

.related-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.related-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--dm-white);
    border: 1px solid var(--dm-light-grey);
}

    .related-card:hover {
        text-decoration: none;
        border-color: var(--dm-medium-grey);
    }

/* Partner cards with a separate logo: show logo above the title. */
.related-card-header:has(> .related-card-logo) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.related-card-logo {
    position: static;
    order: -1;
    display: block;
}

    .related-card-logo img {
        display: block;
        max-width: 120px;
        max-height: 42px;
        width: auto;
        height: auto;
        object-fit: contain;
        opacity: .8;
        transition: opacity .2s ease;
    }

.related-card:hover .related-card-logo img {
    opacity: 1;
}


.related-card-title {
    display: block;
    padding-right: 140px;
    margin-bottom: .75rem;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
}

/* Use body-text sizing and bold weight when the logo is on its own row. */
.related-card-header:has(> .related-card-logo) > .related-card-title {
    padding-right: 0;
    margin-bottom: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
}

.related-card-logoAsTitle {
    margin-bottom: .75rem;
    max-height: 75px;
}

    .related-card-logoAsTitle img {
        opacity: .8;
        transition: opacity .2s ease;
    }

.related-card:hover .related-card-logoAsTitle img {
    opacity: 1;
}

.related-card-header {
    margin-bottom: .75rem;
}


.related-card-text {
    margin-bottom: 1.5rem;
    color: var(--dm-black);
}

.related-card .link-arrow {
    margin-top: auto;
    color: var(--dm-blue);
    font-weight: 500;
}

.related-card:hover .link-arrow {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .related-card-list {
        grid-template-columns: 1fr;
    }
}



.content-list {
    margin: 0 0 1.4rem;
    padding-left: 1.2rem;
}

    .content-list li {
        margin-bottom: .45rem;
    }









/* Highlight box */

.highlight-section {
    padding: 5rem 0;
}

.highlight-box {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--dm-light-grey);
    border-left: 5px solid var(--dm-blue);
    box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 28px rgba(0,0,0,.05);
    border-radius: 14px;
    max-width: 58rem;
    margin-left: auto;
}

.highlight-content h3 {
    margin: 0 0 .75rem;
}

.highlight-content p {
    margin-bottom: 1.5rem;
}

.simple-box {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--dm-light-grey);
    box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 10px 28px rgba(0,0,0,.05);
    border-radius: 14px;
    max-width: 58rem;
}


.highlight-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .highlight-list li {
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        margin-bottom: .9rem;
    }

        .highlight-list li:last-child {
            margin-bottom: 0;
        }

    .highlight-list svg {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        margin-top: 2px;
        color: var(--dm-blue);
        fill: currentColor;
    }

.highlight-list-related {
    color: var(--dm-dark-grey);
    font-style: italic;
}

    .highlight-list-related svg {
        color: var(--dm-dark-grey);
    }


/* CTA */

.cta-section {
    background: var(--dm-blue);
    color: white;
    border-top: 1px solid var(--dm-black);
    border-bottom: 0;
    /*    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
*/
}

    .cta-section a.button-secondary {
        color: white;
    }

        .cta-section a.button-secondary:hover {
            background-color: var(--dm-blue-hover);
        }



/* hero layout */
.hero {
    padding: 0;
    height: var(--hero-height);
    overflow: hidden;
    background: var(--dm-invisible-grey);
}

    .hero .content-grid {
        height: 100%;
        min-height: 0;
        align-items: stretch;
    }

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-column: 7 / span 6;
    grid-row: 1;
    align-self: end;
    padding-left: var(--space-md);
    padding-bottom: var(--space-md);
}

.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.hero-media {
    grid-column: 1 / span 6;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    overflow: hidden;
}

.hero .image-block {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--dm-invisible-grey);
}

    .hero .image-block img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-block {
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

/* Dark footer */

.site-footer {
    background: #111;
    color: rgba(255, 255, 255, .82);
}

    .site-footer a {
        color: rgba(255, 255, 255, .82);
    }

        .site-footer a:hover {
            color: #fff;
        }

    .site-footer .footer-brand {
        color: #fff;
    }

    .site-footer .footer-links a {
        color: rgba(255, 255, 255, .82);
    }


/* Responsive adjustment */

@media (max-width: 1020px) {
    .hero {
        padding: 0 0 var(--space-xl);
        height: auto;
        min-height: 0;
        overflow: visible;
    }

        .hero .content-grid {
            height: auto;
            min-height: 0;
            grid-template-columns: minmax(0, 1fr);
            gap: var(--space-md);
        }

    .hero-text {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        align-self: auto;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

        .hero-text .ingress,
        .hero-text p {
            max-width: none;
            width: 100%;
        }

    .hero-media {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        max-width: none;
        justify-self: stretch;
        overflow: visible;
    }

    .hero .image-block {
        height: auto;
        min-height: 0;
    }

    .hero .actions {
        margin-top: var(--space-md);
        padding-top: 0;
    }

    /*    .contentimage-full {
        max-width: 80%!important;
    }*/

    .footer-social {
        display: flex;
        justify-content: center;
        margin: auto;
    }

    .footer-legal {
        display: flex;
        justify-content: center;
        margin: auto;
        margin-top: -1rem;
    }
}

@media (max-width: 600px) {

    .hero-text .ingress,
    .hero-text p {
        max-width: none;
    }
}



/* Story pages */
.container.story-container {
    margin-left: max(2rem, calc((100% - var(--container)) / 2));
    margin-right: 0;
}

.story-container {
    max-width: 920px;
}

.story-block h2 {
    margin-bottom: var(--space-md);
}

.story-block p {
    font-size: 17px;
    line-height: 1.65;
}

    .story-block p.ingress {
        width: 100% !important;
        max-width: 100% !important;
    }

.story-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--dm-light-grey);
    border: 1px solid var(--dm-light-grey);
}

    .story-facts > div {
        background: var(--dm-white);
        padding: 1.5rem;
    }

.story-fact-label {
    display: block;
    margin-bottom: .5rem;
    font-size: 13px;
    color: var(--dm-dark-grey);
}

.story-fact-value {
    display: block;
    font-size: 17px;
    font-weight: 500;
}

.story-quote {
    position: relative;
    max-width: 980px;
    margin: 3rem auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

    .story-quote::before,
    .story-quote::after {
        content: none;
    }

    .story-quote p:first-of-type::before {
        content: "“";
        color: var(--dm-black);
        font-family: Georgia, serif;
        font-size: 1.8em;
        font-weight: 700;
        line-height: 0;
        vertical-align: -0.3em;
        margin-right: 0em;
    }

    .story-quote p:last-of-type::after {
        content: "”";
        color: var(--dm-black);
        font-family: Georgia, serif;
        font-size: 1.8em;
        font-weight: 700;
        line-height: 0;
        vertical-align: -0.3em;
        margin-left: 0em;
    }

    .story-quote p {
        font-size: clamp(20px, 1.8vw, 26px);
        letter-spacing: -0.05em;
        line-height: 1.85rem;
        margin-bottom: 1rem;
    }

    .story-quote footer {
        color: var(--dm-dark-grey);
    }

.story-timeline {
    display: grid;
    gap: 0;
}

.story-timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--dm-light-grey);
}

    .story-timeline-item:first-child {
        padding-top: 0;
    }

    .story-timeline-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.story-timeline-year {
    font-size: 15px;
    font-weight: 500;
    color: var(--dm-blue);
}

.video-frame {
    background: var(--dm-black);
    overflow: hidden;
    margin-top: var(--space-sm);
}

.story-video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4;
    background: var(--dm-black);
}

.story-process {
    display: grid;
    gap: .75rem;
    counter-reset: process;
}

    .story-process > div {
        position: relative;
        padding: 1rem 1.25rem 1rem 3.25rem;
        background: var(--dm-white);
        border: 1px solid var(--dm-light-grey);
        border-radius: 10px;
    }

        .story-process > div::before {
            counter-increment: process;
            content: counter(process);
            position: absolute;
            left: 1rem;
            top: 50%;
            width: 1.5rem;
            height: 1.5rem;
            transform: translateY(-50%);
            border-radius: 50%;
            background: var(--dm-blue);
            color: var(--dm-white);
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.solution-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--dm-white);
    border: 1px solid var(--dm-light-grey);
    font-size: 14px;
    color: var(--dm-black);
    text-decoration: none;
    transition: all .2s ease;
}

    .solution-chip:hover {
        background: var(--dm-blue);
        border-color: var(--dm-blue);
        color: var(--dm-white);
        text-decoration: none;
    }

.story-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

    .story-gallery figure {
        margin: 0;
    }

    .story-gallery img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .story-gallery figcaption {
        margin-top: .75rem;
        font-size: 14px;
        color: var(--dm-dark-grey);
    }

@media (max-width: 900px) {
    .story-facts,
    .story-gallery {
        grid-template-columns: 1fr;
    }

    .story-timeline-item {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .story-quote {
        padding-left: 1.5rem;
    }
}


.story-video-library {
    display: grid;
    gap: 2rem;
}

.story-video-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid var(--dm-light-grey);
    border-radius: 14px;
    background: var(--dm-white);
}

.story-video-card-content h3 {
    margin-bottom: .75rem;
}

.story-video-card-content p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .story-video-card {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
}

.story-video-card-content h3 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.03em;
}




/* Breadcrumb */

.breadcrumb {
    background: var(--dm-white);
    border-bottom: 1px solid var(--dm-light-grey);
    font-size: 13px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    list-style: none;
    margin: 0;
    padding: .85rem 0;
}

    .breadcrumb-list li {
        display: inline-flex;
        align-items: center;
        color: var(--dm-dark-grey);
    }

        .breadcrumb-list li + li::before {
            content: "/";
            margin-right: .45rem;
            color: var(--dm-medium-grey);
        }

    .breadcrumb-list a {
        color: var(--dm-dark-grey);
        text-decoration: none;
    }

        .breadcrumb-list a:hover {
            color: var(--dm-blue);
            text-decoration: underline;
        }

    .breadcrumb-list [aria-current="page"] {
        color: var(--dm-black);
    }






/* Legal hero - hero med ikon istället för bild */

.legal-hero {
    padding: 7rem 0 6rem;
    background: var(--dm-invisible-grey);
    text-align: center;
}

.legal-hero-content {
    max-width: 760px;
    margin-inline: auto;
}

.legal-hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--dm-white);
    border: 1px solid var(--dm-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .legal-hero-icon svg {
        width: 34px;
        height: 34px;
        color: var(--dm-blue);
    }

.legal-hero .ingress {
    margin-inline: auto;
}

.legal-hero .actions {
    justify-content: center;
}









/* ==========================================================
   Media carousel
   ========================================================== */

.media-carousel {
    position: relative;
    width: 100%;
}

.media-carousel-viewport {
    overflow: hidden;
}

.media-carousel-track {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
}

.media-carousel-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(320px, 1.25fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

    /* No content column – let the media use the full slide width */
    .media-carousel-slide:not(:has(.media-carousel-content)) {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

.media-carousel-media img {
    display: block;
    width: 100%;
    height: auto;
}



/* Media */

.media-carousel-media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

    .media-carousel-media img {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 520px;
        object-fit: contain;
    }


/* Text */

.media-carousel-content {
    max-width: 520px;
}

    .media-carousel-content .eyebrow {
        margin-bottom: .75rem;
    }

    .media-carousel-content h3 {
        margin-bottom: 1rem;
    }

    .media-carousel-content p:last-child {
        margin-bottom: 0;
    }


/* Navigation */

.media-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.media-carousel-arrow {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    padding: 0;
    border: 1px solid var(--dm-medium-grey);
    border-radius: 50%;
    background: var(--dm-white);
    color: var(--dm-black);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

    .media-carousel-arrow:hover {
        border-color: var(--dm-black);
        background: var(--dm-invisible-grey);
    }

    .media-carousel-arrow svg {
        width: 17px;
        height: 17px;
    }


/* Dots */

.media-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

    .media-carousel-dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--dm-medium-grey);
        cursor: pointer;
        transition: background-color .15s ease, transform .15s ease;
    }

        .media-carousel-dots button:hover {
            background: var(--dm-dark-grey);
        }

        .media-carousel-dots button.is-active {
            background: var(--dm-blue);
            transform: scale(1.25);
        }

@media (max-width: 800px) {

    .media-carousel,
    .media-carousel-viewport,
    .media-carousel-track,
    .media-carousel-slide {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .media-carousel-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        align-items: start;
    }

    .media-carousel-media {
        width: 100%;
        min-width: 0;
        min-height: 0;
    }

        .media-carousel-media img {
            width: auto;
            height: auto;
            max-width: min(70vw, 240px);
            max-height: 420px;
            margin-inline: auto;
        }

    .media-carousel-content {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        text-align: left;
    }

        .media-carousel-content h3,
        .media-carousel-content p {
            max-width: none;
        }

    .media-carousel-controls {
        width: 100%;
        gap: 1rem;
        margin-top: 1.75rem;
    }

    .media-carousel-dots {
        min-width: 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) {

    .media-carousel-media img {
        max-width: min(65vw, 210px);
        max-height: 360px;
    }

    .media-carousel-slide {
        gap: 1.5rem;
    }

    .media-carousel-arrow {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}

/* Carousel with text: desktop layout */
@media (min-width: 801px) {

    .media-carousel:has(.media-carousel-content) {
        display: grid;
        grid-template-columns: minmax(220px, .75fr) minmax(320px, 1.25fr);
        column-gap: clamp(2.5rem, 6vw, 6rem);
    }

        .media-carousel:has(.media-carousel-content) .media-carousel-viewport {
            grid-column: 1 / -1;
            grid-row: 1;
            min-width: 0;
        }

        .media-carousel:has(.media-carousel-content) .media-carousel-slide {
            align-items: start;
        }

        .media-carousel:has(.media-carousel-content) .media-carousel-content {
            padding-bottom: 80px;
        }

        .media-carousel:has(.media-carousel-content) .media-carousel-controls {
            grid-column: 2;
            grid-row: 1;
            align-self: end;
            justify-self: start;
            margin-top: 0;
            position: relative;
            z-index: 1;
            padding-bottom: var(--space-xs);
        }
}



/* Mobile hero: eyebrow + heading, image, then ingress/body text.
   display: contents exposes hero-text children as flex items without HTML changes. */
@media (max-width: 1020px) {
    .hero {
        padding-bottom: var(--space-lg);
    }

        .hero .content-grid {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: var(--space-md);
        }

        .hero .hero-text {
            display: contents;
        }

            .hero .hero-text > * {
                order: 3;
                min-width: 0;
            }

            .hero .hero-text > .eyebrow,
            .hero .hero-text > .eyebrow-dark {
                order: 0;
                margin-top: 1.5rem;
                margin-bottom: calc(-1 * var(--space-md) + var(--space-sm));
            }

            .hero .hero-text > h1,
            .hero .hero-text > .h1 {
                order: 1;
                margin-bottom: 0;
            }

        .hero .hero-media {
            order: 2;
            flex: 0 0 auto;
            height: auto;
        }

            .hero .hero-media .image-block {
                height: auto;
                aspect-ratio: 1 / 1;
            }

                .hero .hero-media .image-block img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

        .hero .hero-text > p {
            margin-bottom: 0;
        }
}

/* Temporary: ingress uses the same typography as normal body paragraphs. */
p.ingress {
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    font-weight: inherit;
}


/* Text and image: equal columns, compact gap, list in left column. */
@media (min-width: 1021px) {
    .content-grid.content-grid--text-image {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 2rem;
    }

    .content-grid--text-image > .section-heading {
        grid-column: 1;
        margin-bottom: 0;
        min-width: 0;
    }

    .content-grid--text-image > .section-content {
        grid-column: 2;
        min-width: 0;
    }
}

/* Match the standard section-content list styling in the left column. */
.content-grid--text-image .section-heading ul {
    margin: 0 0 1lh;
    padding: 0;
    list-style: none;
}

.content-grid--text-image .section-heading li {
    position: relative;
    margin: 0 0 1rem;
    padding-left: 1.75rem;
    line-height: 1.6;
}

    .content-grid--text-image .section-heading li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.8em;
        transform: translateY(-50%);
        width: 0.5rem;
        height: 2px;
        background: var(--accent-color, #000000);
    }

    .content-grid--text-image .section-heading li:last-child {
        margin-bottom: 0;
    }

    .content-grid--text-image .section-heading li b {
        font-weight: 600;
    }

.content-grid--text-image .section-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 1020px) {
    .content-grid--text-image > .section-heading {
        margin-bottom: 0;
    }
}


/* Stacked section: use heading margins for spacing, as in .story-block. */
.content-grid.content-grid--stacked {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.content-grid--stacked > .section-heading,
.content-grid--stacked > .section-content {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
    text-align: left;
}

@media (min-width: 1021px) {
    .content-grid.content-grid--stacked {
        width: min(calc((100% - 4rem) * 2 / 3), calc(var(--container) * 2 / 3));
        margin-left: max(2rem, calc((100% - var(--container)) / 2));
        margin-right: auto;
    }

    /* When the grid is inside an existing container, do not add a second
       container gutter. Keep the left edge aligned with its siblings. */
    .container > .content-grid.content-grid--stacked {
        width: 66.666667%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Match the standard section heading/content spacing on mobile. */
@media (max-width: 1020px) {
    .content-grid.content-grid--stacked {
        row-gap: 0;
    }
}


/* Partner list: separators centered between adjacent items. */
.partner-list-item {
    border-bottom: 0;
}

    .partner-list-item + .partner-list-item {
        border-top: 1px solid var(--dm-light-grey);
    }

    .partner-list-item p:last-child {
        margin-bottom: 0;
    }

/* Mobile: add --space-sm to both the intro gap and the item spacing,
   while keeping divider lines centered between neighboring items. */
@media (max-width: 1020px) {
    .content-grid > .section-content.partner-list {
        margin-top: var(--space-sm);
    }

    .partner-list-item {
        padding-top: calc(1rem + var(--space-sm) / 2);
        padding-bottom: calc(1rem + var(--space-sm) / 2);
    }

        .partner-list-item:first-child {
            padding-top: 0;
        }

        .partner-list-item:last-child {
            padding-bottom: 0;
        }
}

/* Tighter spacing from a stacked intro to its related link groups. */
.container:has(.related-link-groups) > .content-grid.feature-intro.content-grid--stacked {
    margin-bottom: var(--space-md);
}

/* Stacked heading/body text with a compact supporting image at the side. */
.content-grid.content-grid--stacked-image {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: var(--space-md);
    row-gap: 0;
}

.content-grid--stacked-image > .section-heading {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    min-width: 0;
}

.content-grid--stacked-image > .section-content {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.content-grid--stacked-image > .section-side-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: center;
    min-width: 0;
    text-align: center;
}

    .content-grid--stacked-image > .section-side-image img {
        display: block;
        width: auto;
        max-width: 100%;
        height: 140px;
        object-fit: contain;
        margin-inline: auto;
    }

@media (max-width: 1020px) {
    .content-grid.content-grid--stacked-image {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
    }

    .content-grid--stacked-image > .section-heading,
    .content-grid--stacked-image > .section-content,
    .content-grid--stacked-image > .section-side-image {
        grid-column: 1;
        grid-row: auto;
    }

    .content-grid--stacked-image > .section-side-image {
        justify-self: start;
        margin-top: var(--space-sm);
    }
}


/* Taller hero for pages with more introductory text.
   Desktop image fills the full height without controlling the section height. */
@media (min-width: 1021px) {
    .hero.hero--long {
        height: auto;
        min-height: 620px;
        overflow: visible;
    }

        .hero.hero--long .content-grid {
            height: auto;
            min-height: 620px;
        }

        .hero.hero--long .hero-text {
            padding-top: var(--space-lg);
        }

        .hero.hero--long .hero-media {
            position: relative;
        }

            .hero.hero--long .hero-media .image-block {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                border-radius: 0 0 4px 4px;
            }

                .hero.hero--long .hero-media .image-block img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
}




q {
    font-style: italic;
}

    q::before,
    q::after {
        content: none;
    }

    q:first-of-type::before {
        content: "“";
        color: var(--dm-black);
        font-family: Georgia, serif;
        font-size: 1.3em;
        font-weight: 500;
        line-height: 0;
        vertical-align: -0.1em;
        margin-right: 0.05em;
    }

    q:last-of-type::after {
        content: "”";
        color: var(--dm-black);
        font-family: Georgia, serif;
        font-size: 1.3em;
        font-weight: 500;
        line-height: 0;
        vertical-align: -0.1em;
        margin-left: 0.1em;
    }



.hero.hero--image-contain-bottom .hero-media .image-block {
    position: relative;
    flex: 0 0 auto;
    width: min(100%, var(--hero-height));
    height: auto;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
}

    .hero.hero--image-contain-bottom .hero-media .image-block img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: center bottom;
    }

@media (max-width: 1020px) {
    .hero.hero--image-contain-bottom .hero-media .image-block {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
    }

        .hero.hero--image-contain-bottom .hero-media .image-block img {
            position: static;
            width: 100%;
            height: auto;
            max-height: none;
            object-fit: contain;
        }
}

.feature-card img {
    background: var(--dm-light-grey);
}