/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1279px) {
     :root body {
        /* Overskrifter skalerer selv med clamp() i style.css */
        /* Gaps (designet: sektion 96px, sidemargin 32px) */
        --gap-l: 96px;
        --gap-m: 32px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    .hero-card {
        right: var(--gap-m);
        bottom: var(--gap-m);
    }

    .usp-section .section {
        --grid-4-cols: 2;
    }

    .usp-section .grid-elements {
        row-gap: 32px !important;
    }

    .feature-section .section {
        --grid-3-cols: 2;
    }

    .dept-section .section {
        --grid-5-cols: 3;
    }

    .faq-section .grid-elements {
        column-gap: 48px !important;
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        --sidebar-width: 280px;
    }
}


/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 1023px) {
    /* Kortet i hero lægger sig under teksten */
    .hero-card {
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        margin-top: 32px;
    }

    .page-slider-section .slide-element,
    .page-slider-section .slider-inner {
        min-height: 560px;
    }

    .page-slider-section .slider-text {
        background: rgb(10 25 20 / 55%);
    }

    .site-branding #logo img,
    .site-branding #logo svg {
        max-height: 80px;
    }

    .calc-teaser .overlay {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .calc-teaser .overlay > .stom-button {
        grid-column: 2;
        grid-row: auto;
        margin-top: 24px;
    }

    #colophon .footer-widget-area .grid-elements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stom-billede-sektion.not-fullwidth .section {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 40px;
    }

    .stom-billede-sektion.not-fullwidth .stom-picture,
    .stom-billede-sektion.not-fullwidth .stom-cols-6 {
        grid-column: 1 !important;
        grid-row: auto;
    }

    .tasks-section .section,
    .area-section .section {
        --grid-2-cols: 1;
    }

    .tasks-section .grid-elements,
    .area-section .grid-elements {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 32px !important;
    }

    .contact-section .section,
    .faq-section .section {
        --grid-2-cols: 1;
    }

    .faq-section .grid-elements {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 32px !important;
    }

    .cta-section .section {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-section .section > .stom-button,
    .cta-section .section > .stom-button ~ .stom-button {
        grid-column: 1;
        grid-row: auto;
        margin: 24px 12px 0 0;
        justify-self: start;
    }
}

@media only screen and (max-width: 959px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 2;
        --grid-4-cols: 2;
        --grid-5-cols: 3;
        --grid-6-cols: 3;
        --grid-7-cols: 4;
        --grid-8-cols: 4;
        --grid-9-cols: 5;
        --grid-10-cols: 5;
        --grid-11-cols: 6;
        --grid-12-cols: 6;
    }
    /* Move this rule if you change the the grid columns */
    .last-on-mobile {
        order: 66;
    }

    .stom-grid-section .grid-element.heading .overlay {
        grid-template-columns: minmax(0, 1fr);
    }

    .review-section .heading .overlay > .rating-pill,
    .review-section .heading .overlay > .rating-pill + .rating-pill {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        margin: 8px 0 0;
    }

    .stom-grid-section .grid-element.heading .overlay > .read-more,
    .stom-grid-section .grid-element.heading .overlay > p:has(> .read-more),
    .dept-section .grid-element.heading .overlay > p:last-child {
        grid-column: 1;
        grid-row: auto;
        margin-top: 16px;
    }

    .stom-grid-section .grid-elements.slick-slider .slick-arrow {
        display: none !important;
    }
}

@media only screen and (max-width: 810px) {}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {}

@media only screen and (max-width: 767px) {
    /* FAQ på mobil: mindre spørgsmål og fuld bredde til svaret */
    .faq-section .mere-tekst-wrapper .button {
        grid-template-columns: 40px minmax(0, 1fr) 32px;
        min-height: 72px;
        padding: 20px 0;
        font-size: 18px;
        line-height: 26px;
    }

    .faq-section .mere-tekst-wrapper .button::before {
        font-size: 22px;
    }

    .faq-section .mere-tekst-wrapper .button::after {
        width: 32px;
        height: 32px;
        background-size: 16px;
    }

    .faq-section .mere-tekst {
        padding: 0 0 20px 40px;
    }

    /* "Det sker der, når du ringer": mindre luft, så teksten får plads */
    .call-steps {
        padding: 24px;
    }

    .call-steps li {
        padding: 20px 0 20px 56px;
    }

    .call-steps li::before {
        top: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .stom-grid-section .grid-element.home-visit .overlay {
        padding: 24px;
    }

    .bysider-bjaelke-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .bysider-bjaelke p {
        font-size: 16px;
        line-height: 1.5;
    }

    .bysider-bjaelke img {
        width: 150px;
    }

     :root body {
        /* Font sizes */
        --h4: 16px;
        --p: 17px;
        /* Gaps (designet: sektion 64px, sidemargin 16px) */
        --gap-l: 64px;
        --gap-m: 16px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    .usp-section .section {
        --grid-4-cols: 1;
    }

    #colophon .footer-widget-area .grid-elements {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Plads til den faste opkaldsbjælke nederst på mobil */
    #colophon .footer-widget-area-site-info .section {
        padding-bottom: 96px;
    }

    .feature-section .section {
        --grid-3-cols: 1;
    }

    .local-section .grid-element.grid-span-2 {
        grid-column: 1 / -1;
    }

    .steps-section .section {
        padding: 24px !important;
    }

    .card-green ul {
        columns: 1;
    }

    .dept-section .section {
        --grid-5-cols: 1;
        padding: 24px !important;
    }

    .package,
    .calc-teaser,
    .contact-section .grid-element.form {
        padding: 24px;
    }

    .stom-grid-section .grid-element.calc-teaser .overlay {
        grid-template-columns: minmax(0, 1fr);
    }

    .calc-teaser .overlay > *,
    .calc-teaser .overlay > .stom-custom-svg,
    .calc-teaser .overlay > .stom-button {
        grid-column: 1;
        grid-row: auto;
    }

    .calc-teaser .overlay > .stom-custom-svg {
        margin-bottom: 16px;
    }

    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        font-size: 15px;
        line-height: 1.2;
    }

    .contact-section .media-buttons .button-row {
        position: static;
        padding: 16px 0 0;
    }

    .contact-section .media-buttons {
        overflow: visible;
    }

    .contact-section .media-buttons img {
        border-radius: var(--radius);
    }

    .plan-section .grid-element:not(.heading) {
        min-height: 360px;
    }

    .stom-button a {
        font-size: 17px;
    }
}

@media only screen and (max-width: 639px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 1;
        --grid-4-cols: 1;
        --grid-5-cols: 1;
        --grid-6-cols: 1;
        --grid-7-cols: 1;
        --grid-8-cols: 1;
        --grid-9-cols: 1;
        --grid-10-cols: 1;
        --grid-11-cols: 1;
        --grid-12-cols: 1;
    }
}


/* Scroll-animationen er slået fra under 960px (se STOM.revealOnScroll i script.js).
   Reglen sikrer, at intet står skjult, hvis klasserne alligevel er sat. */
@media only screen and (max-width: 959px) {
    .stom-reveal-ready .stom-reveal:not(.is-inview) {
        opacity: 1;
    }

    .stom-reveal-ready .stom-reveal.is-inview {
        animation: none;
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {}

@media only screen and (max-width: 400px) {}


/****** RESPONSIVE TILPASNING (bysider) ******/

@media only screen and (max-width: 767px) {
    /* Typografi på mobil: overskrifter og brødtekst må ikke blive for store */
    :root body {
        --h1: 34px;
        --h2: 30px;
        --h3: 25px; /* Cormorant er lille af sig selv - skal stå tydeligt over brødteksten (16px) */
        --p: 16px;
    }

    .page-slider-section .slider-text p {
        font-size: 17px;
        line-height: 1.6;
    }

    .article-section h3,
    .viden-artikel-indhold h3 {
        font-size: 22px;
        line-height: 1.25;
    }

    .review-section blockquote,
    .review-modal blockquote {
        font-size: 20px;
        line-height: 1.45;
    }

    .faq-section .mere-tekst-wrapper .button {
        font-size: 17px;
        line-height: 25px;
    }

    /* Overskriftsfelter: én kolonne - knapper, "Se alle"-links og bedømmelser lægger sig under teksten */
    .stom-grid-section .grid-element.heading .overlay {
        display: block;
    }

    .stom-grid-section .grid-element.heading .overlay > .stom-button,
    .stom-grid-section .grid-element.heading .overlay > p:has(> .stom-button) {
        display: inline-block;
        margin: 20px 0 0;
    }

    .stom-grid-section .grid-element.heading .overlay > .read-more,
    .stom-grid-section .grid-element.heading .overlay > p:has(> .read-more),
    .stom-grid-section.grid-slider.grid-slider-arrows .grid-element.heading .overlay > .read-more,
    .stom-grid-section.grid-slider.grid-slider-arrows .grid-element.heading .overlay > p:has(> .read-more) {
        position: static;
        display: inline-flex;
        margin: 12px 0 0;
    }

    /* Bedømmelses-piller ved siden af hinanden, mindre */
    .review-section .heading .overlay > .rating-pill,
    .review-section .heading .overlay > .rating-pill + .rating-pill {
        margin: 16px 8px 0 0;
        padding: 6px 14px;
        gap: 8px;
        font-size: 16px;
    }

    .rating-pill em {
        font-size: 19px;
    }

    .rating-pill .stars {
        width: 70px;
        background-size: 14.4px 12.8px;
        height: 13px;
    }

    .stom-billede-sektion .stom-picture img {
        border-radius: var(--radius);
    }

    /* Medarbejdere: kvadratiske portrætter i stedet for høje 4:5 */
    .staff-cards .grid-element.card-person > img,
    .staff-cards .grid-element.card-person > .person-fallback {
        aspect-ratio: 1 / 1;
    }

    /* "Dødsfald lige nu": knappen under teksten */
    .steps-section .grid-element.heading .overlay > p:has(> .stom-button),
    .steps-section .grid-element.heading .overlay > .stom-button {
        margin-top: 24px;
    }

    /* Prisbokse og ekstra-bokse: lidt mindre luft */
    .price-extra-section .card-green,
    .price-extra-section .card-white {
        padding: 24px;
    }

    /* Artikel-slider: pile ved siden af "Se alle"-linket fylder for meget - skjul pilene, bjælken viser fremdriften */
    .article-section.grid-slider .slick-arrow {
        display: none !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Tablet: overskriftsfelter med knap/bedømmelser lægger knapperne under teksten */
    .steps-section .grid-element.heading .overlay,
    .review-section .grid-element.heading .overlay,
    .faq-section .grid-element.heading .overlay {
        display: block;
    }

    .steps-section .grid-element.heading .overlay > p:has(> .stom-button),
    .steps-section .grid-element.heading .overlay > .stom-button {
        display: inline-block;
        margin: 24px 0 0;
    }

    .review-section .heading .overlay > .rating-pill,
    .review-section .heading .overlay > .rating-pill + .rating-pill {
        margin: 16px 12px 0 0;
    }

}

/* Header ved scroll på mindre skærme: samme logo-størrelse som øverst på siden (ingen vækst/skrumpning) */
@media only screen and (max-width: 1023px) {
    #page.header-sticky-active.scrolled header .site-branding #logo img:not(.logo-landscape),
    #page.header-sticky-active.scrolled header .site-branding #logo svg {
        max-height: 80px;
    }
}

@media only screen and (max-width: 767px) {
    #page.header-sticky-active.scrolled header .site-branding #logo {
        padding: 10px 0;
    }

    /* Trin i "Dødsfald lige nu": mindre nummer-cirkler, så teksten får plads */
    .stom-grid-section .grid-element.step .overlay {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 14px;
    }

    .step-num {
        width: 48px !important;
        height: 48px !important;
        font-size: 26px !important;
    }

    .steps-section .grid-element.heading .overlay > p:has(> .stom-button),
    .steps-section .grid-element.heading .overlay > .stom-button {
        margin-top: 8px;
    }
}

/* Tablet-header: luft til logoet; telefonknappen ligger i den faste bund-bjælke under 960px */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    #masthead .section-wrap {
        margin-left: 24px;
    }

    #masthead .section-wrap .stom-button.stacked {
        display: none;
    }
}

/* Burgermenu op til 1439px (Indstillinger STOM). Logo og knapper må aldrig klemmes, telefonnummeret står på én linje */
@media only screen and (min-width: 960px) {
    #masthead .site-branding,
    #masthead .section-wrap,
    #masthead .section-wrap .stom-button {
        flex-shrink: 0;
    }

    #masthead .section-wrap {
        margin-left: 16px;
    }

    #masthead .section-wrap .stom-button.stacked a,
    #masthead #primary-menu > li > a {
        white-space: nowrap;
    }
}

/* Små desktops: mindre logo og tættere menu, så alt kan være på én linje */
@media only screen and (min-width: 1440px) and (max-width: 1599px) {
    #masthead .site-branding #logo img,
    #masthead .site-branding #logo svg,
    #page.header-sticky-active.scrolled header .site-branding #logo img,
    #page.header-sticky-active.scrolled header .site-branding #logo svg {
        max-height: 96px;
    }

    #masthead #primary-menu > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Fast bund-bjælke på mobil: knapteksten på én linje */
@media only screen and (max-width: 767px) {
    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        white-space: nowrap;
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }
}

@media only screen and (max-width: 374px) {
    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        font-size: 14px;
    }
}

/* Billed-ikon i prisberegner-boksen på mobil: over teksten */
@media only screen and (max-width: 767px) {
    .calc-teaser .overlay > p:has(> img:only-child) {
        grid-column: 1;
        grid-row: auto;
        margin-bottom: 16px;
    }
}

/* Slidere: næste kort kigger frem i højre side - på mobil/tablet bliver kortene lidt smallere (slick regner bredden uden padding) */
@media only screen and (max-width: 1279px) {
    .stom-grid-section .grid-elements.slick-slider .slick-list {
        padding-right: 80px;
    }
}

@media only screen and (max-width: 767px) {
    .stom-grid-section .grid-elements.slick-slider .slick-list {
        padding-right: 64px;
    }
}

/* Hero-kontaktkortet på tablet/mobil: under teksten på en grøn flade, der flyder over i USP-båndet */
@media only screen and (max-width: 1023px) {
    .page-slider-section:has(.vagt-kort) {
        background: var(--color-1);
    }
    .page-slider-section .hero-card.vagt-kort {
        max-width: none;
        margin: 0 var(--gap-m);
        padding: 0;
        transform: translateY(-24px);
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .page-slider-section .hero-card.vagt-kort {
        max-width: 480px;
    }
}


/****** RESPONSIVE FINPUDSNING (hele sitet) ******/

/* --- Tablet (768-1023) --- */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Pakker: 2 kolonner - den sidste (ulige) pakke centreres i stedet for at hænge alene til venstre */
    .price-section .grid-element.package:last-child:nth-child(even) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 24px) / 2);
    }

    /* Afdelinger: 2 kolonner, så navnene ikke knækker */
    .dept-section .section {
        --grid-5-cols: 2;
    }

    /* "Dødsfald lige nu": trinene under hinanden */
    .steps-section .section {
        --grid-3-cols: 1;
    }

    /* Footer: logo/kontakt i fuld bredde, menuerne side om side */
    #colophon .footer-widget-area .grid-elements > .grid-element:first-child {
        grid-column: 1 / -1;
    }

    #colophon .footer-widget-area .grid-elements > .grid-element:first-child p:not(:has(img)) {
        max-width: 520px;
    }

    .quote-section blockquote {
        font-size: 30px;
        line-height: 1.3;
    }
}

/* --- Tablet og mobil --- */
@media only screen and (max-width: 1023px) {
    /* Knapper i pakkerne holder sig på én linje */
    .price-section .package .stom-button a {
        white-space: nowrap;
    }

    /* Billede + tekst: roligt bredformat i stedet for et meget højt billede */
    .stom-billede-sektion.not-fullwidth .stom-picture img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }
}

/* --- Mobil (under 768) --- */
@media only screen and (max-width: 767px) {
    :root body {
        --h1: 32px;
        --h2: 27px;
    }

    .sub-heading {
        font-size: 14px;
        letter-spacing: .08em;
        line-height: 1.6;
    }

    /* "Det klarer vi for jer": ikon til venstre, tekst til højre - kortere liste */
    .feature-section .grid-element:not(.heading) .overlay {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
    }

    .feature-section .grid-element:not(.heading) .overlay > * {
        grid-column: 2;
        margin-top: 0;
    }

    .feature-section .grid-element:not(.heading) .overlay > p:first-child {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .feature-section .grid-element:not(.heading) .overlay > p:first-child img {
        width: 44px;
        height: 44px;
    }

    .feature-section .grid-element:not(.heading) h3 {
        margin: 0 0 4px;
        font-size: 21px;
    }

    .feature-section .grid-element:not(.heading) {
        padding-block: 20px !important;
    }

    /* Citat: roligere størrelse */
    .quote-section blockquote {
        font-size: 23px;
        line-height: 1.35;
    }

    /* Politikker: overskrift som resten af sitet */
    .politik-hero h1,
    .page-template-page-politik h1 {
        font-size: 32px;
        line-height: 1.15;
    }

    /* Prisknapper: lidt mindre, så de passer i kortet */
    .price-section .package .stom-button a {
        font-size: 16px;
    }
}

/* --- Små mobiler --- */
@media only screen and (max-width: 479px) {
    /* Næste kort kigger mindre frem, så kortet selv får mere plads */
    .stom-grid-section .grid-elements.slick-slider .slick-list {
        padding-right: 44px;
    }
}
/****** END RESPONSIVE FINPUDSNING ******/


/****** HEADER PÅ MOBIL: mindre logo + "Vælg afdeling" ******/
@media only screen and (max-width: 767px) {
    .site-branding #logo img,
    .site-branding #logo svg,
    #page.header-sticky-active.scrolled header .site-branding #logo svg {
        max-height: 60px;
    }

    /* Afdelingsvælgeren står ved siden af burgeren - telefonen ligger i bund-bjælken */
    .style-header-03 .section-wrap {
        display: flex !important;
        flex-grow: 1;
        justify-content: flex-end;
        margin: 0 16px 0 0;
    }

    #masthead .section-wrap .stom-button.stacked {
        display: none;
    }

    #masthead .header-inner {
        position: relative;
    }

    /* Listen folder ud under headeren i fuld indholdsbredde */
    #masthead .header-inner > .section-wrap .afd-picker {
        position: static;
    }

    #masthead .header-inner > .section-wrap .afd-panel {
        top: calc(100% - 4px);
        right: 0;
        left: 0;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 150px);
        max-height: calc(100dvh - 150px);
    }
}

@media only screen and (max-width: 479px) {
    .site-branding #logo img,
    .site-branding #logo svg,
    #page.header-sticky-active.scrolled header .site-branding #logo svg {
        max-height: 50px;
    }

    #masthead .header-inner {
        min-height: 76px;
    }

    .style-header-03 .section-wrap {
        margin-right: 14px;
    }

    /* Kun pin-ikonet i en rund knap */
    #masthead .header-inner > .section-wrap .afd-toggle a {
        width: 46px;
        height: 46px;
        min-height: 0;
        padding: 3px;
        gap: 0;
        justify-content: center;
    }

    #masthead .header-inner > .section-wrap .afd-toggle .bt,
    #masthead .header-inner > .section-wrap .afd-toggle .afd-chevron {
        display: none;
    }

    #masthead .header-inner > .section-wrap .afd-toggle .bi {
        width: 38px;
        height: 38px;
        margin: 0;
    }
}
/****** END HEADER PÅ MOBIL ******/


/****** HEADER PÅ MOBIL: kompakt afdelingsvælger tæt på burgeren ******/
@media only screen and (max-width: 767px) {
    .style-header-03 .section-wrap {
        margin-right: 10px;
    }

    #masthead .header-inner > .section-wrap .section {
        padding-right: 0;
    }

    /* Listen: mindre tekst og tættere punkter */
    #masthead .header-inner > .section-wrap .afd-panel {
        padding: 8px;
        max-height: calc(100vh - 170px);
        max-height: calc(100dvh - 170px);
    }

    #masthead .header-inner > .section-wrap .afd-intro {
        margin: 4px 10px 6px;
        font-size: 13px;
    }

    #masthead .header-inner > .section-wrap .afd-panel .afd-item {
        min-height: 0;
        padding: 8px 10px;
        font-size: 15px;
    }

    #masthead .header-inner > .section-wrap .afd-name {
        font-size: 15px;
        line-height: 1.3;
    }

    #masthead .header-inner > .section-wrap .afd-sub {
        font-size: 12.5px;
        line-height: 1.35;
    }
}

@media only screen and (max-width: 479px) {
    #masthead .header-inner > .section-wrap .afd-toggle a {
        width: 42px;
        height: 42px;
    }

    #masthead .header-inner > .section-wrap .afd-toggle .bi {
        width: 34px;
        height: 34px;
    }
}
/****** END kompakt afdelingsvælger ******/

@media only screen and (max-width: 767px) {
    /* Knappen står 8px fra burgeren */
    .style-header-03 .section-wrap {
        margin-right: 8px;
    }

    #masthead .header-inner > .section-wrap .section {
        gap: 0;
        margin-right: 0;
    }
}


/****** MOBIL: luft over slidere, kompakte formularer, mindre medarbejderkort ******/
@media only screen and (max-width: 767px) {
    /* Mere luft mellem overskriftsfeltet og slideren / kortene */
    .stom-grid-section .grid-element.heading.fullwidth {
        margin-bottom: 16px;
    }

    .stom-grid-section .grid-element-slider-wrap .slider-progress {
        margin-top: 28px;
    }

    /* --- Formularer: markant mindre --- */
    .contact-section .grid-element.form {
        padding: 20px;
    }

    .gform_wrapper.gravity-theme .gform_fields {
        row-gap: 14px;
    }

    .gform_wrapper.gravity-theme .gfield_label,
    .gform_wrapper.gravity-theme .gfield_label.gform-field-label {
        margin-bottom: 6px;
        font-size: 15px;
        line-height: 1.3;
    }

    .gform_wrapper.gravity-theme .gfield_required {
        font-size: 12px;
    }

    /* 16px er mindste skriftstørrelse, så iPhone ikke zoomer ind i feltet */
    .gform_wrapper.gravity-theme input[type="text"],
    .gform_wrapper.gravity-theme input[type="tel"],
    .gform_wrapper.gravity-theme input[type="email"],
    .gform_wrapper.gravity-theme select {
        min-height: 44px;
        height: 44px;
        padding: 0 14px;
        border-width: 1px;
        border-radius: 10px;
        font-size: 16px;
    }

    .gform_wrapper.gravity-theme textarea {
        min-height: 88px;
        height: 88px;
        padding: 10px 14px;
        border-width: 1px;
        border-radius: 10px;
        font-size: 16px;
    }

    .gform_wrapper.gravity-theme .pill-choices .gfield_radio {
        gap: 6px;
    }

    .gform_wrapper.gravity-theme .pill-choices .gchoice label {
        min-height: 38px;
        padding: 0 16px;
        border-width: 1px;
        font-size: 15px;
    }

    .gform_wrapper.gravity-theme .gfield_description,
    .gform_wrapper.gravity-theme .gform-small,
    .gform_wrapper.gravity-theme .gfield--type-html {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .gform_wrapper .gform_footer input[type=submit],
    .gform_wrapper .gform_footer button {
        min-height: 46px;
        padding: 0 24px;
        font-size: 16px;
    }

    /* --- Medarbejdere: ét mindre kort ad gangen, det næste kigger frem --- */
    .staff-section .grid-elements.slick-slider .slick-list {
        padding-right: 38%;
    }

    .staff-section .grid-element.card-portraet > img,
    .staff-section .grid-element.card-portraet > .person-fallback {
        aspect-ratio: 1 / 1;
    }

    .staff-section .grid-element.card-portraet .person-fallback span {
        width: 84px;
        height: 84px;
        font-size: 30px;
    }

    .staff-section .grid-element.card-portraet h3 {
        font-size: 17px;
    }

    .staff-section .grid-element.card-portraet .overlay p {
        font-size: 14px;
        line-height: 1.45;
    }
}
/****** END MOBIL: slidere, formularer, medarbejdere ******/

/* Portræt-fladen: bredden styrer højden (ikke omvendt), ellers vokser kortet ud over sin slide */
.staff-section .grid-element.card-portraet {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
}

.staff-section .grid-element.card-portraet > img,
.staff-section .grid-element.card-portraet > .person-fallback {
    align-self: start;
    width: 100%;
    height: auto;
    min-width: 0;
}

/* Portræt-kort bruger ikke den tomme baggrundsflade (::before) */
.staff-section .grid-element.card-portraet:not(.has-background):not(.heading)::before {
    content: none;
    display: none;
}


/****** MOBIL: lavere hero - teksten bestemmer højden ******/
@media only screen and (max-width: 767px) {
    .page-slider-section .slides,
    .page-slider-section .slide-element,
    .page-slider-section .slider-inner {
        min-height: 0;
    }

    .page-slider-section .slider-text {
        padding-block: 48px 44px;
    }
}
/****** END MOBIL: lavere hero ******/


/****** MOBIL: vagtkort i det grønne + mindre knaptekst ******/
@media only screen and (max-width: 767px) {
    /* Kontaktkortet står helt nede i den grønne flade under billedet */
    .page-slider-section .hero-card.vagt-kort {
        margin-top: 20px;
        transform: none;
    }

    /* Knapper: mindre tekst og ikon */
    .stom-button a {
        font-size: 15px;
    }

    .stom-button.has-icon a {
        padding-right: 24px;
    }

    .stom-button.has-icon .bi {
        width: 40px;
        height: 40px;
    }

    .stom-button.stacked .bt {
        font-size: 12.5px;
        line-height: 1.3;
    }

    .stom-button.stacked .bt strong {
        font-size: 15.5px;
        line-height: 1.3;
    }
}
/****** END MOBIL: vagtkort + knaptekst ******/


/****** RESPONSIVE GENNEMGANG 2026-11-19 ******/

/* Lange ord og URL'er (fx domænet i privatlivspolitikken) må knække i stedet for at skubbe siden bredere */
.entry-content p,
.entry-content li,
.politik-content p,
.politik-content li,
.grid-element .overlay p {
    overflow-wrap: break-word;
}

/* Tablet med 2 kolonner (768-959): ingen kort, der hænger alene til venstre */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    /* "Vi er her også, før det er nødvendigt": det sidste billedkort bliver et bredt banner */
    .plan-section .grid-elements > .grid-element.has-background:last-child:nth-child(even) {
        grid-column: 1 / -1;
    }

    /* Relaterede artikler: det sidste kort centreres som pakkerne */
    .article-section .grid-elements:not(.slick-slider) > .grid-element.article-card:last-child:nth-child(even) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 24px) / 2);
    }
}

/* Små desktops/liggende tablets (960-1279): pakkekortene er smalle, så knapteksten holdes på én linje */
@media only screen and (min-width: 960px) and (max-width: 1279px) {
    .price-section .grid-element.package {
        padding-left: 24px;
        padding-right: 24px;
    }

    .price-section .grid-element.package .stom-button.has-icon a {
        font-size: 15px;
        padding-right: 20px;
        white-space: nowrap;
    }
}

/* Meget smalle telefoner (under 375px): bund-bjælkens to knapper deler bredden i stedet for at stikke ud */
@media only screen and (max-width: 374px) {
    #number-three-sticky-mobile-cta .cta-container {
        gap: 6px;
    }

    #number-three-sticky-mobile-cta .cta-container .stom-button {
        flex: 1 1 auto;
        min-width: 0;
    }

    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        justify-content: center;
        font-size: 13px;
        padding-left: 8px;
        padding-right: 8px;
        gap: 6px;
    }
}
/****** END RESPONSIVE GENNEMGANG 2026-11-19 ******/


/****** MOBIL: footer (colophon) med mindre tekst ******/
@media only screen and (max-width: 767px) {
    #colophon .footer-widget-area p,
    #colophon .footer-widget-area li,
    #colophon .footer-widget-area li a,
    #colophon .footer-widget-area a {
        font-size: 15px;
        line-height: 24px;
    }

    #colophon .footer-widget-area strong,
    #colophon .footer-widget-area h3,
    #colophon .widget-title {
        font-size: 16px;
        line-height: 24px;
    }

    #colophon .footer-widget-area li {
        margin-bottom: 6px;
    }

    #colophon .footer-widget-area .widgets-1 p:first-child img,
    #colophon .footer-widget-area .grid-element:first-child p:first-child img {
        width: 170px;
    }

    #colophon .footer-widget-area .section {
        padding-block: 56px 40px;
    }

    #colophon .footer-widget-area .grid-elements {
        gap: 32px;
    }

    #colophon .footer-widget-area-site-info,
    #colophon .footer-widget-area-site-info p,
    #colophon .footer-widget-area-site-info a {
        font-size: 13px;
        line-height: 20px;
    }
}
/****** END MOBIL: footer ******/


/* Mobil: mindre citatikon */
@media only screen and (max-width: 767px) {
    .quote-section .section > svg.quote-icon {
        width: 52px;
        height: 52px;
        margin: 0 0 16px -4px;
    }
}


/* ===== Sektion: Prisberegner (responsiv) ===== */
@media only screen and (max-width: 1099px) {
    .prisberegner {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
        column-gap: 40px;
    }
    .pb-overslag-kort {
        padding: 28px;
    }
    .pb-overslag-kort .stom-button a {
        font-size: 15px;
        white-space: nowrap;
    }
    .pb-inkluderet ul {
        grid-template-columns: minmax(0, 1fr);
    }
    /* Afskedsformerne som rækker: ikon, navn og pris side om side */
    .pb-afsked-liste {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .pb-afsked {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas:
            "ikon navn"
            "ikon pris";
        column-gap: 16px;
        row-gap: 2px;
        align-items: center;
        padding: 18px 56px 18px 20px;
    }
    .pb-afsked-ikon {
        grid-area: ikon;
        width: 44px;
        height: 44px;
        margin: 0;
    }
    .pb-afsked-navn {
        grid-area: navn;
        padding-right: 0;
        font-size: 22px;
    }
    .pb-afsked-pris,
    .pb-afsked-navn + .pb-afsked-pris {
        grid-area: pris;
        margin: 0;
        padding-top: 0;
        border-top: 0;
    }
    .pb-afsked-pris strong {
        font-size: 22px;
    }
    .pb-maerkat {
        top: -12px;
        left: 16px;
        min-height: 24px;
        padding: 0 10px;
        font-size: 13px;
    }
    .pb-valgt {
        top: 50%;
        right: 18px;
        transform: translateY(-50%);
    }
}
/* Én kolonne: trin, overslag, formular */
@media only screen and (max-width: 899px) {
    .prisberegner {
        --pb-afstand: 56px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "trin"
            "overslag"
            "formular";
    }
    .pb-overslag-kort {
        position: static;
    }
    /* Overslaget står mellem trin 2 og 3: linjen fortsætter ikke igennem det */
    .pb-trin-liste > .pb-trin:last-child::before {
        content: none;
    }
    /* Prisbjælke i bunden i stedet for temaets "Ring døgnet rundt"-bjælke, mens man er i beregneren */
    .pb-mobilbar {
        position: fixed;
        z-index: 60;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 8px 8px 20px;
        border-radius: 999px;
        background: var(--color-1);
        color: #fff;
        box-shadow: 0 12px 32px rgba(19, 38, 31, .28);
        transform: translateY(calc(100% + 24px));
        visibility: hidden;
        transition: transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .45s;
    }
    .pb-mobilbar.is-synlig {
        transform: none;
        visibility: visible;
        transition: transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s;
    }
    .pb-mobilbar-pris {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }
    .pb-mobilbar-pris span {
        font-size: 14px;
        color: rgba(255, 255, 255, .78);
    }
    .pb-mobilbar-pris strong {
        font-family: var(--h-fam);
        font-size: 24px;
        font-weight: 500;
        font-variant-numeric: tabular-nums;
    }
    .pb-mobilbar a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 20px;
        border-radius: 999px;
        background: #fff;
        color: var(--color-1);
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
    }
    #number-three-sticky-mobile-cta {
        transition: transform .35s cubic-bezier(.16, 1, .3, 1);
    }
    body.pb-bar-aktiv #number-three-sticky-mobile-cta {
        transform: translateY(120%);
    }
}
/* Telefon: ingen indrykning og linje - hele bredden går til indholdet */
@media only screen and (max-width: 639px) {
    .prisberegner {
        --pb-afstand: 48px;
        --pb-indryk: 0px;
    }
    .pb-trin::before {
        content: none;
    }
    .pb-trin-titel {
        gap: 12px;
        margin-bottom: 20px;
    }
    .pb-nr {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    .pb-trin-tekst {
        margin-top: -10px;
    }
    .pb-afsked-liste {
        gap: 10px;
    }
    .pb-afsked {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 14px;
        padding: 16px 52px 16px 16px;
    }
    .pb-afsked-ikon {
        width: 40px;
        height: 40px;
    }
    .pb-afsked-navn {
        font-size: 21px;
    }
    .pb-afsked-pris {
        font-size: 14px;
    }
    .pb-afsked-pris strong {
        font-size: 20px;
    }
    .pb-valgt {
        right: 16px;
    }
    .pb-inkluderet {
        padding: 22px 20px 16px;
    }
    .pb-inkluderet ul {
        grid-template-columns: minmax(0, 1fr);
    }
    .pb-tilvalg {
        gap: 12px;
        min-height: 60px;
        padding: 12px 16px;
    }
    .pb-tilvalg-titel {
        font-size: 16px;
    }
    .pb-tilvalg-pris {
        font-size: 15px;
    }
    .pb-km {
        flex-wrap: wrap;
        padding: 18px 16px;
    }
    .pb-overslag-kort {
        padding: 24px 20px;
    }
    .pb-formular-felt {
        padding: 24px 20px;
    }
}
/* ===== END Sektion: Prisberegner (responsiv) ===== */

/* ===== Header med kurv ===== */
/* Smal desktop (1440-1599px): menu, "Vælg din by", telefon og kurv kan ikke stå i fuld bredde.
   "Vælg din by" vises som den runde pin-knap (som på mobil) - panelet åbner stadig ved klik. */
@media only screen and (min-width: 1440px) and (max-width: 1599px) {
    #masthead .header-inner > .section-wrap .afd-toggle a {
        width: 54px;
        height: 54px;
        min-height: 0;
        padding: 5px;
        gap: 0;
        justify-content: center;
    }
    #masthead .header-inner > .section-wrap .afd-toggle .bt,
    #masthead .header-inner > .section-wrap .afd-toggle .afd-chevron {
        display: none;
    }
    #masthead .header-inner > .section-wrap .afd-toggle .bi {
        margin: 0;
    }
}
/* Mobil: kurven er lige så stor som pin-knappen ved siden af */
@media only screen and (max-width: 767px) {
    #woo-icons .hjort-kurv-knap {
        width: 46px;
        height: 46px;
    }
    #woo-icons .hjort-kurv-knap svg {
        width: 21px;
        height: 21px;
    }
}
/* Burgermenu: 8px mellem kurven og burgeren */
@media only screen and (max-width: 1439px) {
    #masthead #woo-icons {
        margin-right: 8px;
    }
}
/* Tablet: kurven står 12px fra knapperne (sektionens egne marginer gav ca. 40px; sektionen har selv 12px luft til sidst) */
@media only screen and (min-width: 768px) and (max-width: 1439px) {
    #masthead .header-inner:has(#woo-icons) > .section-wrap {
        margin-right: 0;
    }
    #masthead .header-inner:has(#woo-icons) > .section-wrap .section {
        margin-right: 0;
    }
}
@media only screen and (max-width: 479px) {
    #woo-icons .hjort-kurv-knap {
        width: 42px;
        height: 42px;
    }
    #woo-icons .hjort-kurv-knap svg {
        width: 20px;
        height: 20px;
    }
}
/* ===== END Header med kurv ===== */

/* ===== "Dødsfald lige nu" med tekst: én kolonne på tablet og mobil (overskriftsblok, trin, tekst) ===== */
@media only screen and (max-width: 1023px) {
    .stom-grid-section.steps-section:has(.grid-element.tekst) .section .grid-elements {
        grid-template-columns: minmax(0, 1fr);
    }
    .steps-section:has(.grid-element.tekst) .grid-element.step,
    .steps-section .grid-element.steps-intro,
    .steps-section .grid-element.tekst {
        grid-column: 1;
        grid-row: auto;
    }
    .steps-section:has(.grid-element.tekst) .grid-element.heading {
        order: -2;
    }
    /* Mobil: overskriftsblok, trin og til sidst venstre kolonnes tekst med knappen */
    .steps-section .grid-element.steps-intro {
        order: -1;
    }
    .steps-section .grid-element.tekst {
        order: 1;
        margin-top: 16px;
        padding-top: 24px;
        border-top: 1px solid var(--color-line);
    }
}
/* ===== END "Dødsfald lige nu" med tekst ===== */

/* ===== Prisberegner v3 + Prisskemaer (responsiv) ===== */
@media only screen and (max-width: 1099px) {
    .pb-afsked-liste {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media only screen and (max-width: 639px) {
    .pb-pakke-liste {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .pb-pakke {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "navn pris"
            "hjaelp hjaelp";
        align-items: baseline;
        padding: 16px 56px 16px 16px;
    }
    .pb-pakke-navn {
        grid-area: navn;
        padding-right: 0;
    }
    .pb-pakke-pris {
        grid-area: pris;
        font-size: 22px;
    }
    .pb-pakke-hjaelp {
        grid-area: hjaelp;
    }
    .pb-pakke .pb-valgt {
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
    }
}
/* Skemaerne under 900px: én pakke ad gangen. Priskortene er knapper, og hver række er én linje:
   ydelsen til venstre, den valgte pakkes værdi til højre (data-ps-pakke på .ps-blok styrer hvilken). */
@media only screen and (max-width: 899px) {
    .ps-tabel,
    .ps-tabel thead,
    .ps-tabel tbody,
    .ps-tabel tfoot {
        display: block;
        width: 100%;
    }
    .ps-tabel thead tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 16px;
    }
    .ps-tabel thead .ps-intro {
        grid-column: 1 / -1;
        display: block;
        width: auto;
        padding: 0 0 12px;
    }
    .ps-tabel thead .ps-priskort {
        display: block;
        height: auto;
        padding: 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    /* Pakkerne som rækker: navn til venstre, pris og pris efter hjælp til højre */
    .ps-priskort-boks {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "navn pris"
            "navn hjaelp";
        align-items: center;
        column-gap: 12px;
        row-gap: 2px;
        padding: 12px 16px;
        border: 1.5px solid transparent;
        text-align: left;
        transition: border-color var(--transition), background-color var(--transition);
    }
    .ps-priskort-navn {
        grid-area: navn;
        font-size: 14px;
    }
    .ps-priskort strong {
        grid-area: pris;
        justify-self: end;
        font-size: 24px;
        white-space: nowrap;
    }
    .ps-priskort-hjaelp {
        grid-area: hjaelp;
        justify-self: end;
        white-space: nowrap;
    }
    .ps-priskort[aria-pressed="true"] .ps-priskort-boks {
        border-color: var(--color-1);
        background: #fff;
        box-shadow: 0 8px 20px rgba(19, 38, 31, .08);
    }
    .ps-priskort:focus-visible {
        outline: none;
    }
    .ps-priskort:focus-visible .ps-priskort-boks {
        outline: 2px solid var(--color-1);
        outline-offset: 2px;
    }
    .ps-ikon {
        width: 44px;
        height: 44px;
    }

    /* Rækkerne: én linje pr. ydelse */
    .ps-tabel tbody tr,
    .ps-tabel tfoot tr {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 12px;
        border-radius: 8px;
    }
    .ps-tabel tbody tr:nth-child(odd) {
        background: #f6f2ea;
    }
    .ps-tabel tbody tr:nth-child(odd) > * {
        background: none;
    }
    .ps-tabel th,
    .ps-tabel td {
        display: block;
        padding: 0;
        border-radius: 0 !important;
    }
    .ps-tabel tbody th,
    .ps-tabel tfoot th {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 14px;
        line-height: 1.35;
    }
    .ps-tabel td {
        flex: 0 0 auto;
        max-width: 48%;
        font-size: 14px;
        line-height: 1.35;
        text-align: right;
        color: var(--color-text);
    }
    .ps-tabel td .ps-ja,
    .ps-tabel td .ps-nej {
        width: 20px;
        height: 20px;
    }
    /* Kun den valgte pakkes celle */
    .ps-blok[data-ps-pakke="1"] .ps-tabel td:not(:nth-of-type(1)),
    .ps-blok[data-ps-pakke="2"] .ps-tabel td:not(:nth-of-type(2)),
    .ps-blok[data-ps-pakke="3"] .ps-tabel td:not(:nth-of-type(3)) {
        display: none;
    }
    .ps-tabel tr.ps-note th {
        font-size: 13px;
    }
    .ps-tabel tfoot {
        margin-top: 8px;
    }
    .ps-tabel tfoot tr {
        padding: 10px 12px;
        border-top: 1px solid var(--color-line);
        border-radius: 0;
    }
    .ps-tabel tfoot tr > * {
        border-top: 0 !important;
    }
    .ps-tabel tfoot .ps-sum {
        border-top: 2px solid var(--color-accent);
    }
}
/* ===== END Prisberegner v3 + Prisskemaer (responsiv) ===== */

/* ===== Mobil: brødtekst og lister i samme størrelse som resten (--p = 16px) ===== */
/* Flere sektioner har faste 18px / 29px fra desktop (fx "Ikke inkluderet i prisen", anmeldelser, lokale steder).
   På telefon får al brødtekst og alle listepunkter i sektionerne --p og en tættere linjehøjde.
   Footeren, hero, prisberegneren og prisskemaerne har deres egne mål og er ikke med. */
@media only screen and (max-width: 767px) {
    #page .section-wrap:not(.footer-widget-area):not(.prisberegner-section):not(.prisskema-section) .overlay :is(p, li),
    #page .section-wrap:not(.footer-widget-area) .overlay li strong,
    #page .bysider-bjaelke p {
        font-size: var(--p);
        line-height: 1.55;
    }
    #page .section-wrap:not(.footer-widget-area) .overlay li {
        margin-bottom: 6px;
    }
    #page .section-wrap:not(.footer-widget-area) .overlay ul,
    #page .section-wrap:not(.footer-widget-area) .overlay ol {
        margin-bottom: 1.2em;
    }
    /* Mellemoverskrift-tekst ([span class="lead"]) lidt mindre */
    #page .section-wrap .overlay .lead {
        font-size: 21px;
        line-height: 1.3;
    }
}
/* ===== END Mobil: brødtekst og lister ===== */

/* ===== Prisskemaer: faner (responsiv) ===== */
/* Tablet og mobil: fanerne står i en vandret række, man kan swipe i */
@media only screen and (max-width: 1023px) {
    .ps-faner {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        border-radius: 18px;
        -webkit-overflow-scrolling: touch;
    }
    .ps-faner::-webkit-scrollbar {
        display: none;
    }
    .ps-fane {
        flex: 0 0 auto;
        scroll-snap-align: center;
        border-radius: 14px;
        padding: 8px 16px 8px 8px;
    }
}
@media only screen and (max-width: 639px) {
    .ps-fane {
        min-height: 52px;
        gap: 8px;
    }
    .ps-fane img {
        width: 32px;
        height: 32px;
    }
    .ps-fane-navn {
        font-size: 15px;
    }
    .ps-fane-pris {
        font-size: 13px;
    }
    .ps-fold-knap {
        width: 100%;
        justify-content: space-between;
        grid-template-columns: minmax(0, 1fr) auto;
        border-radius: 16px;
    }
}
/* ===== END Prisskemaer: faner (responsiv) ===== */

/* Bysider: Lokalkendskab-billedet er kvadratisk på alle skærme, så hele kirken kan ses (ikke 16:10) */
@media only screen and (max-width: 1023px) {
    .stom-billede-sektion.not-fullwidth.local-intro .stom-picture img {
        display: block;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ===== Pakkekort: "Ring +45 …"-knappen på én linje i alle bredder (2026-12-01) ===== */
/* Fire pakker på én række først fra 1280px - under det er kortene for smalle til telefonnummeret, så de står to og to */
@media only screen and (min-width: 960px) and (max-width: 1279px) {
    .price-section.price-cols-4 .section {
        --grid-4-cols: 2;
    }
}
/* Knappen tilpasser sig kortets bredde (container query), så teksten aldrig knækker eller stikker ud */
.price-section .grid-element.package {
    container: pakke / inline-size;
}
.price-section .grid-element.package .package-actions .stom-button a {
    white-space: nowrap;
}
@container pakke (max-width: 279px) {
    .price-section .grid-element.package .package-actions .stom-button.has-icon a {
        font-size: 15px;
        gap: 14px;
        padding-right: 20px;
    }
}
@container pakke (max-width: 230px) {
    .price-section .grid-element.package .package-actions .stom-button.has-icon a {
        gap: 10px;
        padding-right: 16px;
    }
    .price-section .grid-element.package .package-actions .stom-button .bi {
        width: 40px;
        height: 40px;
    }
}
/* ===== END Pakkekort: knap ===== */
