﻿body {
    font-family: "Anybody Regular", Aptos, bryant-web, Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #fff;
    color: #222;
    font-size: 0.85rem;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #141414;
}

    /* Besøgte links */
    a:visited {
        color: #141414;
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

    .sr-only:focus,
    .skip-link:focus {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        clip: auto;
        white-space: normal;
        padding: 1rem;
        background: #000;
        color: #fff;
        z-index: 1000;
        display: inline-block;
    }

a:focus,
button:focus {
    outline: 2px solid #c8003c;
    outline-offset: 2px;
}

.headerContent {
    max-width: 1470px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.logo a img {
    width: 320px;
    padding-top:2px;
}

main {
    padding: 0 2rem; /* fjern top-padding */
    max-width: 1470px;
    margin: 0 auto;
}

.news-carousel,
.carousel-slide,
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* contacts-wrapper start */
.contacts-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-image {
    width: 186px; /* fast bredde */
    height: 278px; /* fast højde */
    object-fit: cover; /* beskær billedet pænt */
    border: 1px solid #ccc;
    margin-bottom: 0.5rem;
}

.contact-info {
    text-align: left;
}

    .contact-info h3 {
        font-size: 1rem;
        font-weight: normal;
        margin: 0;
    }

    .contact-info p {
        font-size: 0.9rem;
        margin: 0.2rem 0;
        word-break: break-word;
        max-width: 186px;
        white-space: normal;
    }

/* contacts-wrapper end */

/* Sitenavigation start */
.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    position: relative;
}

.main-nav {
    align-self: flex-end;
}

.menu > li {
    position: relative;
}

    .menu > li > a {
        display: block;
        padding: 15px 20px;
        color: #d8325d;
        font-weight: bold;
        text-decoration: none;
        border-bottom: 3px solid transparent;
        position: relative;
        padding-right: 1.5rem;
    }

    .menu > li:hover > a {
        border-bottom: 3px solid #d8325d;
    }

    .menu > li > a.active,
    .menu > li.active > a {
        border-bottom: 3px solid #d8325d;
    }

.submenu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: black !important;
    width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

        .submenu a:hover {
            background: #ddd;
        }

.has-submenu:hover .submenu {
    display: block;
}

.has-submenu.keyboard-open .submenu {
    display: block;
}



.has-submenu .submenu-toggle {
    padding: 15px 20px;
    color: #d8325d;
    font-weight: bold;
    text-decoration: none;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

    .has-submenu .submenu-toggle[aria-expanded="true"] {
        border-bottom: 3px solid #d8325d;
    }

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    white-space: nowrap;
    z-index: 1000;
    min-width: max-content;
}

.submenu[hidden] {
    display: none;
}

.submenu-toggle {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

/* Mobilmenu skjules som udgangspunkt */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #c8003c;
    cursor: pointer;
}

/* ----------- GLOBAL NAV OVERRIDE ------------- */
.menu > li > .submenu-toggle {
    /* Samme boksemodel som <a> */
    display: block;
    padding: 15px 20px /* identisk med link */
    15px 20px; /* (evt. brug shorthand hvis du vil) */
    color: #d8325d;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    position: relative;
    padding-right: 1.5rem; /* pil-afstand */
    cursor: default; /* vise at der ikke kan klikkes */
    font-size: 1.105rem;
}

.main-nav .menu li a {
    cursor: pointer;
}

    /* aktiv tilstand (vi bruger stadig .active-klassen i koden) */
    .menu > li > .submenu-toggle.active {
        border-bottom-color: #d8325d;
    }

/* hover-effekt så det opfører sig som de andre punkter */
.menu > li:hover > .submenu-toggle {
    border-bottom-color: #d8325d;
}


/* Vis hamburger på mobil */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        padding: 1rem;
    }

    .mobile-nav {
        background: #fff;
        padding: 1rem;
    }

    .main-nav .menu {
        flex-direction: column;
        gap: 0.5rem;
    }

        .main-nav .menu > li > a {
            padding: 10px 15px;
            display: block;
            border-bottom: none;
        }
}

.main-nav .menu a {
    font-size: 1.105rem; /* eksempelvis 18px */
}

.submenu a.active {
    font-weight: bold;
    border-bottom: 3px solid black;
}

/* Når åbnet (JS fjerner hidden) */
.mobile-nav[hidden] {
    display: none !important;
}

/* Sitenavigation end */

/* Frontpage News carousel start */
.carousel-slide {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start; /* Start højt oppe */
    padding-top: 10vh; /* Justér som ønsket */
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

.news-carousel {
    margin-top: 0;
}


.news-carousel img {
    width: 100%;
    height: auto;
    max-height: 800px; /* Match højden på .carousel-slide */
    object-fit: cover;
}

.carousel-text {
    max-width: 1200px;
    color: white;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

    .carousel-text h2 {
        font-size: 2.4rem;
        font-weight: 500;
        margin-bottom: 0.25rem;
        line-height: 1.1;
        margin-top:0;
    }

.carousel-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 3px;
    font-size: 0.9rem;
    margin-top: 1.25rem;
}

    .carousel-button:hover {
        background-color: white;
        color: black;
    }

/* Swiper pagination - hvide prikker */
.swiper-pagination-bullet {
    background-color: white !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: white !important;
    opacity: 1;
}

/* Frontpage News carousel end */

/* Frontpage Content cards start */
.frontPage .card-grid {
    grid-template-columns: repeat(2, 1fr);
}   

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kort ved siden af hinanden */
    gap: 0; /* ingen afstand mellem kort */
    margin: 0;
    padding: 0;
}

.content-card {
    padding: 2rem; /* intern spacing inde i boksen */
    border: none;
    border-radius: 0; /* fjern afrundede hjørner hvis ønsket */
    box-sizing: border-box;
    width: 100%; /* sikrer fuld bredde */
    position: relative;
}

/* Mobilvenlig: 1 kort per række på skærme under 768px */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

    .content-card h3 {
        font-size: 1.2rem;
        margin-top: 0;
    }

    .content-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

.card-button {
    border: 1px solid white;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    background: transparent;
    border-radius: 3px;
    transition: 0.2s;
}

    .card-button:hover {
        background: white;
        color: black;
    }

/* Theme-specific classes */
.content-card.text-black .card-button {
    color: #141414;
    border-color: #141414;
}

    .content-card.text-black .card-button:hover {
        background-color: #141414;
        color: white;
    }

.content-card.text-white .card-button {
    color: #ffffff;
    border-color: #ffffff;
}

    .content-card.text-white .card-button:hover {
        background-color: #ffffff;
        color: black;
    }

.content-card.text-pink .card-button {
    color: #a00030;
    border-color: #a00030;
}

    .content-card.text-pink .card-button:hover {
        background-color: #a00030;
        color: white;
    }

.content-card.text-light-pink .card-button {
    color: #ffd6d9;
    border-color: #ffd6d9;
}

    .content-card.text-light-pink .card-button:hover {
        background-color: #ffd6d9;
        color: black;
    }

.content-card.text-light-blue .card-button {
    color: #aae4f4;
    border-color: #aae4f4;
}

    .content-card.text-light-blue .card-button:hover {
        background-color: #aae4f4;
        color: black;
    }

.content-card.text-light-green .card-button {
    color: #c2f0bf;
    border-color: #c2f0bf;
}

    .content-card.text-light-green .card-button:hover {
        background-color: #c2f0bf;
        color: black;
    }

.content-card.text-red .card-button {
    color: #c8003c;
    border-color: #c8003c;
}

    .content-card.text-red .card-button:hover {
        background-color: #c8003c;
        color: white;
    }

.bg-white {
    background-color: #ffffff;
}

.bg-black {
    background-color: #141414;
}

.bg-red {
    background-color: #c8003c;
}

.bg-dark-blue {
    background-color: #001a54;
}

.bg-teal {
    background-color: #003d37;
}

.bg-grey {
    background-color: #ebebeb;
}

.bg-light-grey {
    background-color: #e6e6e6;
}

.bg-light-pink {
    background-color: #ffd6d9;
}

.bg-light-blue {
    background-color: #aae4f4;
}

.bg-light-green {
    background-color: #c2f0bf;
}

.text-black {
    color: #141414;
}

.text-white {
    color: #ffffff;
}

.text-pink {
    color: #a00030;
}

.text-light-pink {
    color: #ffd6d9;
}

.text-light-blue {
    color: #aae4f4;
}

.text-light-green {
    color: #c2f0bf;
}

.text-red {
    color: #c8003c;
}

.link-black a,
.link-black a:visited {
    color: #141414;
}

.link-white a,
.link-white a:visited {
    color: #ffffff;
}

.link-pink a,
.link-pink a:visited {
    color: #a00030;
}

.link-light-pink a,
.link-light-pink a:visited {
    color: #ffd6d9;
}

.link-light-blue a,
.link-light-blue a:visited {
    color: #aae4f4;
}

.link-light-green a,
.link-light-green a:visited {
    color: #c2f0bf;
}

.link-red a,
.link-red a:visited {
    color: #c8003c;
}

.link-black .carousel-button {
    border-color: #141414;
}

.link-white .carousel-button {
    border-color: #ffffff;
}

.link-pink .carousel-button {
    border-color: #a00030;
}

.link-light-pink .carousel-button {
    border-color: #ffd6d9;
}

.link-light-blue .carousel-button {
    border-color: #aae4f4;
}

.link-light-green .carousel-button {
    border-color: #c2f0bf;
}

.link-red .carousel-button {
    border-color: #c8003c;
}

.link-black .rich-text-block .card-button {
    border-color: #141414;
}

.link-white .rich-text-block .card-button {
    border-color: #ffffff;
}

.link-pink .rich-text-block .card-button {
    border-color: #a00030;
}

.link-light-pink .rich-text-block .card-button {
    border-color: #ffd6d9;
}

.link-light-blue .rich-text-block .card-button {
    border-color: #aae4f4;
}

.link-light-green .rich-text-block .card-button {
    border-color: #c2f0bf;
}

.link-red .rich-text-block .card-button {
    border-color: #c8003c;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

    .card-header h3 {
        margin-left: 0.5rem;
    }

.arrow-icon {
    width: 32px;
    height: 32px;
    margin-top: 4px; 
}

.card-content h3,
.card-content p,
.card-content .card-button {
    margin: 0 0 0.75rem;
}

.card-content .card-button {
    display: inline-block;
    
}

.card-content h3 {
    margin: 0;
    font-size: 1.25rem;
}

.card-content .card-text {
    min-height: 5.1em; /* cirka 3 linjer */
    max-height: 5.1em; /* fixer højden til 3 linjer */
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.card-content p {
    margin: 0;
    line-height: 1.7;
}


.card-body {
    padding-left: 2.4rem; 
}

/* Frontpage Content cards end */

/* Frontpage Image cards start */
.image-card-section {
    padding: 2rem 0;
}

    .image-card-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        margin-top: 0.2rem;
    }

.image-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.image-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease;
    height: auto; /* ← dynamisk højde */
}

    .image-card:hover {
        transform: translateY(-4px);
    }

    .image-card img {
        width: 100%;
        height: 250px; /* fast højde på billedet */
        object-fit: cover;
    }

.image-card-text {
    padding: 1rem;
    flex-grow: 1; /* Fyld resten af højden hvis nødvendigt */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* <- Dette gør forskellen! */
}

.image-card-text p {
    margin: 0.3rem 0 0; /* mindre top-margin end default */
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Hvis nogen har indsat <div> i editoren */
.image-card-text > div {
    margin: 0.3rem 0 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Hvis teksten ikke pakkes i nogen tags (sikkerhed) */
.image-card-text strong + * {
    margin-top: 0.2rem;
    display: block;
}

.image-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.5rem * 4); /* Højde til præcis 4 linjer med din line-height */
    max-height: calc(1.5rem * 4);
    overflow: hidden;
}

    .image-card-description p {
        margin-top: 0.5rem;
        font-size: 0.9rem;
        line-height: 1.5;
        color: #333;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.5em * 4);
    }

.image-card-button {
    align-self: start;
    border: 1px solid #231f20;
    color: #231f20;
    padding: 0.4rem 1rem;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.3s ease;
    margin-top:1.0rem;
}

    .image-card-button:hover {
        background-color: #231f20;
        color: #fff;
    }


    .frontPage .card-content .card-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        max-height: calc(1.7em * 3); /* fallback hvis clamp ikke virker */
        height: 5.1em;
    }

        .frontPage .card-content .card-text p {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }

.frontPage .card-button {
    padding: 0.4rem 1rem;
}


    /* Frontpage Image cards end */
    /* Search overlay start */
    .search-overlay-open {
    display: none;
    flex-direction: row;
    align-items: center;
    margin-left: 1rem;
}

.search-overlay-closed {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-overlay-input-container__close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    cursor: pointer;
    fill: #c8003c;
}

.input-icon-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-overlay-input-container__input {
    padding: 0.3rem 2rem 0.3rem 1rem; /* ekstra plads til X */
    font-size: 0.9rem;
    height: 32px;
    border: 1px solid #c8003c;
    border-radius: 20px;
    color: #c8003c;
    outline: none;
    box-sizing: border-box;
    line-height: 1;
}

#close-search-overlay {
    padding: 0;
}

    .search-overlay-input-container__input::placeholder {
        color: #c8003c; /* placeholder-tekst */
        opacity: 1; /* sørg for farven vises klart i alle browsere */
    }

.search-overlay-input-container .icon-close {
    position: absolute;
    right: 12px; /* Adjust based on desired padding and icon size */
    cursor: pointer;
    height: 17px;
    width: 17px;
}

.search-overlay-input-container__icon {
    fill: #c8003c;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

.search-overlay__results-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.search-overlay__results-item {
    margin-bottom: 0.5rem;
}

.search-overlay__results-item-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #000;
}

.headerContent a {
    color: #c8003c;
    text-decoration: none;
}


.header-wrapper-vertical {
    max-width: 1470px;
    margin: 0 auto;
}

.header-top-tools {
    display: flex;
    justify-content: flex-end;
    z-index: 1010;
    position: relative;
}

.header-main-row {
    display: flex;
    margin-top: -2.5rem;
    gap: 2rem;
}

/* Toplinje: logo og tools */
.logo {
    padding-bottom: 0.6rem;
    z-index: 10000;
}

/* Centrer navigation vertikalt med logo */
.main-nav-desktop {
    display: flex;
    position: relative;
    z-index: 1002;
    margin-left: 2rem;
}

.main-nav .menu {
    display: flex;
    gap: 1.5rem; /* mere luft mellem punkter */
}

/* Header-tools i højre side */
.header-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .header-tools a {
        color: #c8003c;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.105rem;
        padding: 5px;
    }

    .header-tools > a:last-child {
        padding-right: 23px; /* matcher nav-link */
    }

/* Sørg for at søgefeltet ikke hopper ned */
.search-overlay__preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    line-height: 1;
}

.search-overlay-open {
    display: none;
    align-items: center;
    margin-left: 0;
}

.search-inline-form {
    display: flex;
    align-items: center;
}

#search-result-box {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: white;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    border-radius: 8px;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 1rem; /* padding med transition */
}

#search-result-box.show {
    max-height: 500px;
    padding: 1rem;
}

.search-hit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    min-height: 40px; /* samme som billedet */
    border-radius: 6px;
    transition: background 0.2s ease;
}

    .search-hit:hover {
        background-color: #f3f3f3;
        box-shadow: inset 0 0 0 1px #c8003c;
    }

    .search-hit img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 50%;
    }

    .search-hit .arrow {
        margin-left: auto;
        color: #c8003c;
        font-size: 0.85rem;
    }

    .search-hit .title,
    .search-hit .intro {
        color: #c8003c;
    }

    .search-hit .text {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

/* Fjern rød bundstreg visuelt, når resultater er skjult */
#search-result-box:not(.show) {
    border: none !important;
    padding: 0 !important;
}


/* Search overlay end */


/* Footer start */
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* (evt. flex-end, se nedenfor) */
    gap: 2rem;
    max-width: 1470px;
    margin: 0 auto;
}

.footer-column:nth-child(2),
.footer-column:nth-child(3) {
    padding-top: 0.8rem; /* justér præcist så det flugter med mail */
}


.footer-column {
    flex: 1;
    min-width: 200px;
}

    .footer-column p {
        margin: 0 0 1rem;
        font-size: 0.85rem;
        color: #c8003c; /* ← rød tekst */
    }

.footer-icon {
    width: 16px;
    height: 16px;
    fill: #c8003c;
    margin-right: 0.5rem;
    vertical-align: middle;
}

footer {
    font-size: 0.9rem;
    margin-top: 2rem;
}


.footer-column a,
.footer-column a:visited,
.footer-column a:hover,
.footer-column a:active {
    color: #c8003c;
    text-decoration: underline;
}

.fullwidth-footer {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #e6e6e6; 
    padding: 3rem 0; /* Lodret padding – justér efter behov */
}

.footer-inner {
    max-width: 1470px; /* Matcher resten af dit site */
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem; /* Vandret padding til indhold */
    box-sizing: border-box;
}

/* Footer end */

/* SectionPage end */
.sectionpage-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.hero-text {
    padding-top: 1rem;
}

    .hero-text h1 {
        color: #c8003c;
        font-size: 2.5rem; /* større størrelse */
        line-height: 1.2;
        margin: 0;
    }


.hero-image {
    position: relative;
}

    .hero-image img {
        max-height: 500px;
        height: auto;
        width: 980px;
        object-fit: cover;
    }

.hero-image-text {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    right: 1.5rem;
    color: #e6e6e6; /* Lys grå farve */
    background: none;
    padding: 0.5rem 1rem;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
    font-size: 1.4rem; /* Lidt større tekst */
    font-weight: 500;
    line-height: 1.6;
}

.sectionpage-cards h2 {
    font-size: 1.10rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.card-grid.sub-cards .content-card {
    padding: 2rem;
}

/* SectionPage end */

/* SubPage start */

.subpage1 {
    
    max-width: 1470px;
    margin: 0 auto;
}

    .subpage1 h1 {
        font-size: 2rem;
        color: #0a0a3c;
        margin-bottom: 2rem;
    }

.report-block {
    display: flex;
    align-items: flex-start; /* behold */
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.report-text {
    flex: 2;
    display: flex;
    flex-direction: column;
}

    .report-text h2 {
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 0;
    }

    .report-text p {
        font-size: 0.85rem;
        margin-top: 0.2rem;
        margin-bottom: 0.5rem;
    }

.report-image {
    flex: 1;
    padding-top: 4.5rem;
}

    .report-image img {
        width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: cover;
        border-radius: 4px;
    }


@media (max-width: 768px) {
    .report-block {
        flex-direction: column;
    }

    .report-image {
        width: 100%;
    }
}

.subpage1 .report-block:last-of-type {
    margin-bottom: 0;
}

/* SubPage end */

/* SubPage2 start */

.subpage2 {
    max-width: 1470px;
    margin: 0 auto;
    padding: 2rem 0 0 0;
}

    .subpage2 h1 {
        font-size: 2rem;
        color: #0a0a3c;
        margin-bottom: 0.5rem;
    }

.toolbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 0;
}

.toolbox-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.toolbox-card-title {
    padding: 3rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

    .toolbox-card-title h2 {
        margin: 0;
        font-size: 1.4rem;
        text-align: center;
    }

.toolbox-card-body {
    padding: 0 1rem 0 0;
}

    .toolbox-card-body p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

@media (max-width: 1024px) {
    .toolbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .toolbox-grid {
        grid-template-columns: 1fr;
    }
}

.toolbox-card .card-button {
    border: 1px solid currentColor;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    display: inline-block;
}

/* SubPage2 end */

/* Article overview start */
.article-full-page-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 0rem;
    align-items: start;
}

.article-main-content {
    display: flex;
    flex-direction: column;
}

.article-main-content h1{
    margin-bottom:0;
}

.article-image-full {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-top: 1rem;
}

    .article-image-full img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

.article-date {
    font-size: 0.9rem;
    margin: 1rem 0;
}

.article-subtitle {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    margin-top:0;
}

.article-content {
    font-size: 0.85rem;
    line-height: 1.7;
}

.article-side-link {
    align-self: start;
    padding-top: 5rem;
}

    .article-side-link a {
        font-size: 0.95rem;
        text-decoration: none;
        color: #000;
        white-space: nowrap;
    }

        .article-side-link a:hover {
            text-decoration: underline;
            color: #c8003c;
        }

.tall-card {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Article overview end */

/* Article start */
.article-overview {
    min-height: 670px;
    max-width: 1470px;
    margin: 0 auto;
    padding: 0;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    grid-auto-rows: 185px;
    gap: 2rem;
    width: 100%;
}

.article-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%;
    content-visibility: auto;
}

.article-card-text {
    padding: 1rem;
    flex: 1;
}

    .article-card-text h2 {
        margin-bottom: 0.1rem; /* Mindre luft efter overskrift */
    }

.article-date-inline {
    font-size: 0.85rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

    .article-date-inline .article-date {
        font-weight: bold;
    }


.article-card-image {
    width: 100%;
    margin-top: 0;
}

    .article-card-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

.article-tags {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.article-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.article-date {
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.read-more {
    /*color: #0074d9;*/
    text-decoration: underline;
    font-weight: bold;
    margin-top: 0.9rem;
    display: inline-block;
}

.tag-filters {
    margin-bottom: 1.5rem;
}

    .tag-filters a {
        padding: 0.5rem 0.8rem;
        margin-right: 0.5rem;
        border: 1px solid #ccc;
        text-decoration: none;
        color: #000;
        border-radius: 3px;
    }

        .tag-filters a.active {
            background-color: #c8003c;
            color: white;
            border-color: #c8003c;
        }

.pagination {
    margin-top: 2rem;
}

    .pagination a {
        display: inline-block;
        margin-right: 0.5rem;
        padding: 0.4rem 0.8rem;
        border: 1px solid #ccc;
        border-radius: 3px;
        text-decoration: none;
        color: #000;
    }

    .pagination .current {
        background-color: #c8003c;
        color: white;
        font-weight: bold;
        border-color: #c8003c;
    }

    .tag-filters a:hover:not(.active),
    .pagination a:hover {
        border-color: #c8003c;
        color: #c8003c;
    }

.tag-link.active {
    background-color: #c8003c;
    color: white;
    border-color: #c8003c;
}

/* Article end */

/* SearchPage start */
.search-input-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

    .search-input-container input[type="text"] {
        flex: 1;
        padding: 0.5rem 1rem;
        border: 1px solid #c8003c;
        border-radius: 3px;
        font-size: 1rem;
        color: #c8003c;
    }

.search-page-heading {
    color: #c8003c;
    font-size: 4.1rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.search-page-full {
    width: 100%;
    margin: 0;
    padding: 0;
}

.card-button.text-pink {
    background-color: #c8003c;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

    .card-button.text-pink:hover {
        background-color: #a00030;
    }

#searchResults {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.search-result-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border: 1px solid #ddd;
    transition: transform 0.2s ease;
    height: 100%;
    overflow: hidden;
}

    .search-result-card-link:hover {
        transform: translateY(-4px);
    }

.search-result-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.search-result-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    margin: 0 0 0.5rem;
}

.search-result-text {
    font-size: 0.95rem;
    color: #333;
    flex-grow: 1;
    margin: 0 0 1rem;
}

.search-result-read-more {
    font-weight: bold;
    color: #c8003c;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: auto;
}

.search-page-full .article-list {
    grid-auto-rows: auto; /* eller min-content */
}

.search-results-grid .article-card {
    height: auto;
}

.search-page-full .search-result-content {
    padding: 1rem 1.25rem;
    box-sizing: border-box;
}

/* SearchPage end */

/* Breadcrum start */
.breadcrumb {
    font-size: 0.80rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #c8003c;
}

    .breadcrumb a {
        color: #c8003c;
        text-decoration: none;
    }

.breadcrumb-current {
    font-weight: bold;
    color: #c8003c;
}

.breadcrumb-separator {
    margin: 0 0.3rem;
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
}

.breadcrumb-arrow {
    width: 7px;
    height: 10px;
    display: block;
}

/* SearchPage end */


/* ContentPage start */

.theme-section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0;
    padding-bottom: 0;
    margin-top:2rem;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0rem;
}

.no-padding {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 2rem 0; /* eller 0 hvis du kun bruger indvendig spacing */
}

.theme-content-inner {
    max-width: 1470px; /* samme som resten af sitet */
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

.titleBlock {
    margin-top: -1rem;
    padding-left:2rem;
}

@media (max-width: 768px) {
    .titleBlock {
        padding-top: -1rem;
        text-align: center;
    }
}


.columns {
    display: grid;
    gap: 0rem 0rem;
    padding-top: 0px;
    /*padding-bottom: 10px;*/
}

.column {
}

.columns-1 {
    grid-template-columns: 1fr;
}

.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.contentpage-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0; /* fjern luft mellem kolonner */
    align-items: stretch;
    width: 100%;
    margin: 0;
}

.fullwidth-hero-overlay {
    position: relative;
    width: 100vw; /* 100% af viewportens bredde */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100px;
    display: flex;
    align-items: center;
    color: white;
    padding: 48px 0px 100px; /* top, sides, bottom */
}

.hero-overlay-content {
    margin-left: 2rem;
    margin-right: 2rem;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    width: 100%;
    max-width: 1406px;
    margin-left: auto;
    margin-right: auto;
}

.hero-overlay-content-Inner {
    width: 70%;
    margin: 0 auto;
}

.hero-overlay-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 1rem;
    color: white;
}

.hero-text-content {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    color: white;
    margin-bottom: 1.5rem;
}

  

.fullwidth-hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* mørkere overlay */
    z-index: 1;
}

.hero-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 1.25rem;
    border-bottom: 2px solid white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    border: none;
}

    .hero-link .arrow {
        margin-left: 0.5rem;
        font-size: 1.2rem;
    }
        .hero-link .arrow:hover {
            text-decoration: none;
        }

.image-block img {
    max-width: 100%;
    height: auto;
    display: block;
}

.card-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.columns .column.has-richtext {
    padding-left: 2rem;
    padding-right: 2rem;
}


/* ContentPage end */

/* Generelt start */
.top-banner__separator--red {
    height: 2px;
    border: none;
    background: linear-gradient(to right, #d8325d 70px, rgba(255,255,255,0.3) 70px);
}

.content-card .with-arrow {
    padding-left: 2.8rem; /* Skub lidt for pilen uden at ændre højden */
    position: relative;
}

    .content-card .with-arrow .arrow-icon {
        position: absolute;
        left: 0.75rem;
        top: 0.75rem;
        width: 32px;
        height: 32px;
    }

/* --- ImageBlock: aktiv kun når colorBoxSize = true --- */
.image-block.image-block--colorbox {
    height: 210px !important;
    overflow: hidden; /* klip alt der stikker ud */
}

    .image-block.image-block--colorbox > img {
        height: 100% !important; /* fyld højden vi har låst */
        width: 100%;
        object-fit: cover; /* beskær pænt uden at strække */
    }

.skip-link {
    position: absolute;
    top: -40px; /* skjult udenfor skærmen */
    left: 0;
    background: #c8003c; /* rød baggrund */
    color: #fff;
    padding: 8px 16px;
    z-index: 2000;
    text-decoration: none;
    font-weight: bold;
    transition: top 0.2s ease;
}

    .skip-link:focus {
        top: 0; /* flyt ind i viewport når man tab’er til den */
    }

/* Generelt end */


/* === MOBILE & TABLET FIXES === */
@media (max-width: 992px) {
    /* Header/container så absolut mobilmenu kan ligge ovenpå */
    .header-wrapper-vertical,
    .header-main-row {
        position: relative;
    }

    /* Skjul desktop menu, vis burger */
    .main-nav-desktop {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
        font-size: 2rem;
        background: none;
        border: none;
        color: #c8003c;
        cursor: pointer;
        position: relative;
        z-index: 1200; /* over alt andet i headeren */
        margin-top: 0;
        margin-bottom: 4px;
    }

    /* --- Søgeikon i top --- */
    .header-top-tools {
        position: absolute;
        top: 0.5rem; /* lidt luft fra toppen */
        right: 0.5rem; /* helt ude i højre hjørne */
        padding: 0; /* fjern default padding */
    }

    .header-tools {
        padding: 0 !important; /* overskriv inline-style */
    }

    .search-overlay__preview svg {
        width: 22px;
        height: 22px;
    }

    /* Mobilmenu: vis som standard, men skjul via [hidden] */
    .mobile-nav {
        position: absolute; /* læg den under header-rækken */
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
        z-index: 1100;
        display: block;
    }

        .mobile-nav[hidden] {
            display: none !important;
        }

        /* Lodret liste */
        .mobile-nav .menu {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin: 0;
            padding: 0;
            list-style: none;
        }

            /* Topniveau links/toggles */
            .mobile-nav .menu > li > .submenu-toggle {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0.75rem 0;
                border-bottom: 1px solid #eee;
                font-size: 1.05rem;
                font-weight: bold;
                color: #c8003c;
                text-decoration: none;
                cursor: pointer;
            }

            /* Pil-indikator (lukket/åben) */
            .mobile-nav .menu > li.has-submenu > .submenu-toggle::after {
                content: "▸";
                margin-left: 0.5rem;
                font-size: 0.9rem;
                transition: transform 0.2s ease;
            }

            .mobile-nav .menu > li.has-submenu > .submenu-toggle[aria-expanded="true"]::after {
                content: "▾";
            }

        /* Undermenu */
        .mobile-nav .submenu {
            position: static;
            background: none;
            box-shadow: none;
            padding-left: 1rem;
            margin: 0.25rem 0;
        }

            .mobile-nav .submenu a {
                display: block;
                padding: 0.5rem 0;
                font-size: 0.95rem;
                color: #141414;
                text-decoration: none;
            }

                .mobile-nav .submenu a:hover {
                    color: #c8003c;
                }

    /* Header layout på mobil */
    .header-main-row {
        flex-direction: column; /* logo over, burger under */
        align-items: flex-start;
        margin-top: 0;
        gap: 0;
    }

    .logo img {
        max-width: 180px;
        height: auto;
        margin-bottom: 0;
    }

    .logo {
        padding-bottom: 0;
    }

    /* Carousel */
    .swiper-wrapper {
        height: 258px !important;
    }

    .swiper-slide {
        width: 100% !important;
        height: 100% !important;
    }

    .carousel-slide {
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .carousel-image {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

    .carousel-text-wrapper {
        position: absolute;
        top: 1.5rem;
        left: 1rem;
        right: 1rem;
        padding: 0;
    }

    .carousel-text h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin: 0;
    }

    /* Fjern luft */
    .news-carousel,
    .swiper,
    .frontPage,
    main {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Grids -> 1 kolonne */
    .card-grid,
    .image-card-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-column {
        min-width: 160px;
    }
}
