/* Om os page content only: the shared header and footer continue to use main.css. */
.om-layout {
    --om-navy: var(--c-blue);
    --om-blue-bg: var(--c-lightblue);
    --om-beige-bg: var(--c-beige);
    --om-border: var(--c-grey);
    margin-top: var(--nav-h, 56px);
    color: var(--om-navy);
}

.om-layout section {
    scroll-margin-top: calc(var(--nav-h) + var(--subnav-h) + 14px);
}

/* Reset the global h1/h2/h3 and section p rules from main.css. */
.om-layout h1,
.om-layout h2,
.om-layout h3 {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    transform: none;
    margin: 0;
    padding: 0;
    color: var(--om-navy);
    font-family: var(--font);
    font-weight: 700;
    text-align: left;
    text-transform: none;
    line-height: 1.25;
}

.om-layout p {
    margin: 0;
    color: var(--om-navy);
    font-family: var(--font);
    line-height: 1.6;
}

.om-icon {
    flex: none;
    width: 1em;
    height: 1em;
}

.om-card {
    box-sizing: border-box;
    border-radius: 12px;
    background: #fff;
}

/* ---------- HERO (same proportions as the support page) ---------- */
.om-hero {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: clamp(320px, 40vw, 600px);
}

.om-hero__copy {
    box-sizing: border-box;
    padding: clamp(48px, 7vw, 110px) 7%;
    background: var(--om-navy);
}

.om-layout .om-hero__copy h1 {
    margin-bottom: clamp(24px, 3.4vw, 56px);
    color: #fff;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem) !important;
    text-transform: none;
}

.om-layout .om-hero__copy p {
    max-width: 78%;
    color: #fff;
    font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
    line-height: 1.5;
}

.om-hero__visual {
    background: var(--c-blue) url('../image/hero-subpages-skrivebord.jpg?v=1') center / cover no-repeat;
}

/* ---------- HVEM VI ER ---------- */
.om-who {
    padding: clamp(48px, 6vw, 110px) 0;
    background: var(--om-blue-bg);
}

/* Same content width as the other subpages (1280px) */
.om-who__inner,
.om-gdpr__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.om-who__inner {
    column-gap: clamp(40px, 7vw, 140px);
}

.om-who__copy {
    max-width: 620px;
}

.om-layout .om-who h2 {
    margin-bottom: 4px;
    line-height: 1.2;
    font-size: clamp(1.5rem, 1rem + 1.2vw, 1.75rem) !important;
}

.om-layout .om-who__lead {
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.35;
}

.om-layout .om-who__copy p:not(.om-who__lead):not(.om-eyebrow) {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.75;
}

.om-flags {
    display: block;
    width: 100px;
    height: auto;
    margin: 20px auto 0;
}

.om-management {
    padding: clamp(22px, 2.4vw, 36px) clamp(22px, 3vw, 48px);
    border: 1.5px solid var(--om-navy);
    background: var(--om-blue-bg);
}

.om-layout .om-management h3 {
    margin-bottom: clamp(14px, 1.6vw, 24px);
    font-size: 1.125rem;
    text-transform: none;
    font-weight: 600;
    line-height: 1.3;
}

.om-person {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    padding: clamp(14px, 1.4vw, 20px) 0;
    border-bottom: 1px solid var(--om-border);
}

.om-avatar {
    flex: none;
    width: clamp(52px, 4.4vw, 64px);
    height: clamp(52px, 4.4vw, 64px);
}

.om-layout .om-person__name {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 600;
}

.om-person a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 0;
    color: var(--om-navy);
    font-size: 1rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.om-person a[href^="mailto"] span {
    text-decoration: underline;
}

.om-person a:hover span,
.om-person a:focus-visible span {
    text-decoration: underline;
}

.om-person a .om-icon {
    font-size: 18px;
}

.om-layout .om-management__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: clamp(14px, 1.4vw, 20px);
    font-size: 1rem;
}

.om-management__note .om-icon {
    font-size: 18px;
}

/* ---------- VÆRDIER ---------- */
.om-values {
    padding: clamp(48px, 6vw, 110px) 6%;
    background: var(--om-beige-bg);
}

.om-values__intro {
    margin-bottom: clamp(32px, 4vw, 64px);
    text-align: center;
}

.om-layout .om-values h2 {
    margin-bottom: 6px;
    font-size: clamp(1.5rem, 1rem + 1.2vw, 1.75rem) !important;
    text-align: center;
}

/* the intro is centred, so centre the teaser's line too */
.om-values__intro .om-eyebrow::after {
    margin-left: auto;
    margin-right: auto;
}

.om-layout .om-values__intro p:not(.om-eyebrow) {
    font-size: 1rem;
    font-weight: 400;
}

.om-values__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 36px);
    max-width: 1100px;
    margin: 0 auto;
}

.om-value {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 32px);
    padding: clamp(22px, 2.4vw, 36px);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(19, 40, 64, .07);
}

.om-value__icon {
    flex: none;
    width: clamp(72px, 7vw, 104px);
    height: clamp(72px, 7vw, 104px);
}

.om-layout .om-value h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.om-layout .om-value p {
    font-size: 1rem;
    font-weight: 400;
}

/* ---------- GDPR ---------- */
.om-gdpr {
    padding: clamp(56px, 7vw, 110px) 0;
    background: #fff;
}

.om-gdpr__inner {
    column-gap: 0;
}

.om-gdpr__copy {
    padding-right: clamp(32px, 5vw, 80px);
    border-right: 1px solid var(--c-grey);
}

.om-gdpr__inner > .om-isae {
    padding-left: clamp(32px, 5vw, 80px);
}

/* Same teaser label as on the front page ("Vores kunder") */
.om-layout .om-eyebrow {
    margin-bottom: 20px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.om-eyebrow::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: .9rem;
    background-color: var(--c-red);
}

.om-layout .om-gdpr h2 {
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 1rem + 1.2vw, 1.75rem) !important;
}

.om-layout .om-gdpr__copy p:not(.om-eyebrow) {
    font-size: 1rem;
    font-weight: 400;
}

.om-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: clamp(32px, 5vw, 72px) 0 0;
    padding: 0;
    list-style: none;
}

.om-badges li {
    display: flex;
    align-items: center;
}

.om-badges img {
    display: block;
    width: auto;
    height: 52px;
}

/* the two-line label is taller, so both pills show the text at the same size */
.om-badges .om-badge--two-line {
    height: 65px;
}

.om-isae {
    padding: 0;
    border-radius: 0;
    background: none;
}

.om-layout .om-isae h3 {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.om-isae__body {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 2.4vw, 36px);
}

.om-isae__icon {
    flex: none;
    width: clamp(64px, 6vw, 88px);
    height: clamp(64px, 6vw, 88px);
}

.om-layout .om-isae p {
    font-size: 1rem;
    font-weight: 400;
}

.om-layout .om-isae p + p {
    margin-top: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 900px) {
    .om-who,
    .om-gdpr {
        padding: 48px 0;
    }

    .om-who__inner,
    .om-gdpr__inner {
        grid-template-columns: 1fr;
        row-gap: 36px;
        padding: 0 8%;
    }

    .om-gdpr__copy {
        padding-right: 0;
        border-right: none;
    }

    .om-gdpr__inner > .om-isae {
        padding-left: 0;
    }

    .om-who__copy {
        max-width: none;
    }

    .om-values__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 800px) {
    .om-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .om-hero__copy {
        padding: 48px 8%;
    }

    .om-layout .om-hero__copy p {
        max-width: 36rem;
    }

    .om-hero__visual {
        display: none;
    }

}

@media screen and (max-width: 480px) {
    .om-who__inner,
    .om-gdpr__inner {
        padding: 0 6%;
    }

    /* Give the e-mail addresses room to stay on one line */
    .om-management {
        padding: 20px 18px;
    }

    .om-person {
        gap: 14px;
    }

    .om-value {
        flex-direction: column;
        align-items: flex-start;
    }

    .om-isae__body {
        flex-direction: column;
        align-items: flex-start;
    }
}
