/* Support page content only: the shared header and footer continue to use main.css. */
.support-layout {
    --support-navy: var(--c-blue);
    --support-text: var(--c-text-muted);
    --support-grey: var(--c-grey);
    --support-line: var(--c-grey);
    margin-top: var(--nav-h, 56px);
    color: var(--support-navy);
}

.support-layout section {
    scroll-margin-top: calc(var(--nav-h) + var(--subnav-h) + 14px);
}

/* Reset the global h1/h2/h3, ul and section p rules from main.css. */
.support-layout h1,
.support-layout h2,
.support-layout h3 {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    transform: none;
    margin: 0;
    padding: 0;
    color: var(--support-navy);
    font-family: var(--font);
    font-weight: 700;
    text-align: left;
    text-transform: none;
    line-height: 1.25;
}

.support-layout p {
    margin: 0;
    color: var(--support-text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
}

.support-layout ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- HERO ---------- */
.support-hero {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: clamp(320px, 40vw, 600px);
}

.support-hero__copy {
    box-sizing: border-box;
    padding: clamp(48px, 7vw, 110px) 7%;
    background: var(--support-navy);
}

.support-layout .support-hero__copy h1 {
    margin-bottom: clamp(24px, 3.4vw, 56px);
    color: #fff;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem) !important;
}

.support-layout .support-hero__copy p {
    max-width: 78%;
    color: #fff;
    font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
    line-height: 1.5;
}

.support-hero__visual {
    background: var(--c-blue) url('../image/hero-subpages-skrivebord.jpg?v=1') center / cover no-repeat;
}

/* ---------- ONLINE SUPPORT ---------- */
.support-online {
    padding: clamp(56px, 7vw, 110px) 0;
    background: var(--support-grey);
}

/* Same content width as the sections on IT-løsninger */
.support-online__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    align-items: center;
    column-gap: clamp(40px, 8vw, 120px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.support-online__copy {
    max-width: 640px;
}

.support-layout .support-online__copy h2 {
    margin-bottom: 4px;
    line-height: 1.2;
    font-size: clamp(1.5rem, 1rem + 1.2vw, 1.75rem) !important;
}

.support-layout .support-online__lead {
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
}

.support-layout .support-online__copy p:not(.support-online__lead):not(.support-eyebrow) {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.75;
}

.support-layout .support-eyebrow {
    margin-bottom: 20px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.support-eyebrow::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: .9rem;
    background-color: var(--c-red);
}

/* Contact card */
.support-methods {
    box-sizing: border-box;
    padding: clamp(24px, 2.4vw, 32px) clamp(24px, 3vw, 40px);
    border: 1.5px solid var(--support-navy);
    border-radius: 12px;
    background: var(--support-grey);
}

.support-layout .support-methods h3 {
    margin-bottom: 14px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.support-methods a,
.support-methods__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    border-radius: 8px;
    color: var(--support-navy);
    font-family: var(--font);
    text-decoration: none;
}

/* Hover: underline the label, like the links elsewhere */
.support-methods a:hover .support-methods__label,
.support-methods a:focus-visible .support-methods__label {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}


.support-methods__icon {
    flex: none;
    width: 30px;
    height: 30px;
}

svg.support-methods__icon {
    fill: none;
    stroke: var(--support-navy);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.3;
}

/* Larger support-function icon (more detail), pulled into the gap so the text stays aligned */
svg.support-methods__icon--large {
    width: 36px;
    height: 36px;
    margin-right: -6px;
}

.support-methods a > span,
.support-methods__item > span {
    display: flex;
    flex-direction: column;
}

.support-methods__label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.support-methods__detail {
    color: var(--support-text);
    font-size: 1rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
    font-weight: 400;
}

.support-layout .support-methods__hours {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(19, 40, 64, .2);
    font-size: .85rem;
    line-height: 1.5;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 800px) {
    .support-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .support-hero__copy {
        padding: 48px 8%;
    }

    .support-layout .support-hero__copy p {
        max-width: 36rem;
    }

    .support-hero__visual {
        display: none;
    }

    .support-online {
        padding: 48px 0;
    }

    .support-online__inner {
        grid-template-columns: 1fr;
        row-gap: 36px;
        padding: 0 8%;
    }

    .support-online__copy {
        max-width: none;
    }

    .support-methods {
        width: min(100%, 400px);
    }
}
