/* ==========================================================================
   Hestra redesign
   Laddas bara när hestra_redesign_active() är sann. Allt scopas under
   body.hestra-redesign så att Enfolds CSS (som fortfarande laddas) inte krockar.
   ========================================================================== */

/* --- Grundvärden -------------------------------------------------------
   Från XD-skissens utvecklarläge (design 1920 px bred). */
:root {
    --hr-red:        #830e1d;
    --hr-beige:      #f0edea;
    --hr-sand:       #dfd8d3;
    --hr-grey:       #d8d8d8;
    --hr-white:      #ffffff;
    --hr-black:      #000000;
    --hr-text:       #1c1c1c;
    --hr-text-muted: #6b6461;
    --hr-line:       rgba(28, 28, 28, .12);

    --hr-font-serif: abril-text, Georgia, serif;
    --hr-font-sans:  "helvetica neue", Helvetica, Arial, sans-serif;

    --hr-container:  1600px;                       /* innehåll 160 px från kanten vid 1920 */
    --hr-gutter:     clamp(16px, 4vw, 40px);
    --hr-edge:       clamp(16px, 3.1vw, 59px);      /* headerns kantavstånd: 59 px vid 1920 */

    --hr-topbar-h:   47px;
    --hr-mainbar-h:  96px;
    --hr-nav-item:   clamp(120px, 8.5vw, 163px);    /* menypunkternas bredd */
    --hr-ease:       cubic-bezier(.2, .7, .2, 1);
}

.hestra-redesign .hr-container {
    max-width: calc(var(--hr-container) + 2 * var(--hr-gutter));
    margin: 0 auto;
    padding: 0 var(--hr-gutter);
}

/* Enfold lägger padding-top på #main för sin fasta header */
html .hestra-redesign #main {
    padding-top: 0 !important;
}

/* Enfolds overflow:hidden på #wrap_all hindrar position:sticky. clip gör inte det. */
.hestra-redesign #wrap_all {
    overflow: clip;
}

/* Samma beige bakgrund som headern även på gamla Enfold-sidor (Enfolds "main_color" är vit) */
html:has(> body.hestra-redesign),
.hestra-redesign #wrap_all,
.hestra-redesign #main,
.hestra-redesign .main_color {
    background-color: var(--hr-beige);
}

.hestra-redesign .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* --- Header ----------------------------------------------------------- */

.hestra-redesign .hr-header {
    position: sticky;
    top: 0;
    z-index: 500;
    font-family: var(--hr-font-sans);
    background: var(--hr-beige);
    transition: box-shadow .2s var(--hr-ease);
}

.admin-bar.hestra-redesign .hr-header {
    top: 32px;
}

.hestra-redesign .hr-header.is-scrolled {
    box-shadow: 0 1px 0 var(--hr-line);
}

/* Toppfält */
.hestra-redesign .hr-topbar {
    background: var(--hr-red);
    color: var(--hr-white);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hestra-redesign .hr-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(32px, 3.6vw, 70px);
    max-width: none;
    height: var(--hr-topbar-h);
    padding-right: clamp(16px, 2.3vw, 45px);
}

.hestra-redesign .hr-topbar a {
    color: inherit;
    text-decoration: none;
}

.hestra-redesign .hr-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hestra-redesign .hr-topbar .hr-icon {
    width: 16px;
    height: 16px;
}

.hestra-redesign .hr-lang .hr-flag {
    display: block;
    flex: none;
    width: 21px;
    height: 21px;
    border-radius: 50%;
}

.hestra-redesign .hr-topbar a:hover,
.hestra-redesign .hr-topbar a:focus-visible {
    opacity: .75;
}

/* Språkväljare */
.hestra-redesign .hr-lang {
    position: relative;
}

.hestra-redesign .hr-lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: var(--hr-topbar-h);
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.hestra-redesign .hr-lang__caret {
    width: 6px;
    height: 6px;
    margin: -4px 0 0 -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.hestra-redesign .hr-lang__list {
    position: absolute;
    top: 100%;
    right: -12px;
    z-index: 10;
    min-width: 100px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--hr-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    display: none;
}

.hestra-redesign .hr-lang.is-open .hr-lang__list {
    display: block;
}

.hestra-redesign .hr-lang__list li {
    margin: 0;
    padding: 0;
}

.hestra-redesign .hr-topbar .hr-lang__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--hr-text);
}

.hestra-redesign .hr-lang__list .hr-flag {
    width: 18px;
    height: 18px;
}

/* Vit kant runt flaggan på den röda bakgrunden (skissen) */
.hestra-redesign .hr-lang__toggle img.hr-flag {
    box-shadow: 0 0 0 1px var(--hr-white);
}

.hestra-redesign .hr-topbar .hr-lang__list a:hover {
    opacity: 1;
    color: var(--hr-red);
}

/* Huvudrad */
.hestra-redesign .hr-mainbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: none;
    height: var(--hr-mainbar-h);
    padding: 0 0 0 var(--hr-edge);   /* menyn går kant i kant till höger */
}

.hestra-redesign .hr-logo {
    display: block;
    flex-shrink: 0;
}

.hestra-redesign .hr-logo img {
    display: block;
    width: auto;
    height: 41px;
}

.hestra-redesign .hr-logo__white {
    display: none !important;
}

/* Meny */
.hestra-redesign .hr-nav__list {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hestra-redesign .hr-nav__list li {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Gamla regler i style.css (.current_page_item a { background … !important })
   och Enfolds extra menypunkter ska inte slå igenom här */
.hestra-redesign .hr-nav .current_page_item > a,
.hestra-redesign .hr-nav .current-menu-item > a {
    background-color: transparent !important;
}

.hestra-redesign .hr-nav .menu-item-avia-special,
.hestra-redesign .hr-nav .av-language-switch-item {
    display: none !important;
}

.hestra-redesign .hr-nav__list a {
    display: block;
    white-space: nowrap;
    color: var(--hr-black);
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: .9px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Varje punkt är en ruta i headerns höjd med texten centrerad (skissen: 163 px) */
.hestra-redesign .hr-nav__list > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--hr-nav-item);
    height: var(--hr-mainbar-h);
    padding: 0 16px;
}

/* Hover/aktiv: 4 px röd linje i underkant */
.hestra-redesign .hr-nav__list > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 4px;
    background: var(--hr-red);
    transform: scaleX(0);
    transition: transform .2s var(--hr-ease);
}

.hestra-redesign .hr-nav__list > li > a:hover::after,
.hestra-redesign .hr-nav__list > li > a:focus-visible::after,
.hestra-redesign .hr-nav__list > .current-menu-item > a::after,
.hestra-redesign .hr-nav__list > .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

/* Megameny (desktop, XD-komponenten "Menu opt" > Hover State): panel i headerns fulla bredd,
   fem kolumner à 286 px (40 px mellanrum) med start 162 px från kanten vid 1920.
   Rubrik överst 75 px ner, rader var 213:e px. Visas vid hover/fokus på menypunkten. */
.hestra-redesign .hr-mainbar {
    position: relative;
}

.hestra-redesign .hr-nav__list > li.menu-item-has-children {
    position: static;   /* panelen placeras mot hela huvudraden */
}

.hestra-redesign .hr-nav__list > li.menu-item-has-children:hover > a::after,
.hestra-redesign .hr-nav__list > li.menu-item-has-children:focus-within > a::after {
    transform: scaleX(1);
}

.hestra-redesign .hr-mega {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 5;
    background: var(--hr-sand);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--hr-ease), visibility .2s;
}

.hestra-redesign .hr-nav__list > li:hover > .hr-mega,
.hestra-redesign .hr-nav__list > li:focus-within > .hr-mega {
    opacity: 1;
    visibility: visible;
}

.hestra-redesign .hr-mega__inner {
    max-width: calc(1596px + 2 * var(--hr-gutter));
    margin: 0 auto;
    padding: clamp(48px, 3.9vw, 75px) var(--hr-gutter) clamp(56px, 5.1vw, 98px);
}

/* Med länken längst ner (skissen "Inspiration"): 56 px från länktexten till panelens kant */
.hestra-redesign .hr-mega__inner:has(.hr-mega__more) {
    padding-bottom: clamp(36px, 2.7vw, 51px);
}

.hestra-redesign .hr-nav__list .sub-menu {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 286px));
    gap: clamp(56px, 5.5vw, 106px) clamp(24px, 2.1vw, 40px);   /* 213 px mellan raderna vid tre textrader */
    margin: 0;
    padding: 0;
    list-style: none;
}

.hestra-redesign .hr-nav__list .sub-menu a {
    display: block;
    white-space: normal;
    color: var(--hr-text);
    text-transform: none;
    letter-spacing: 0;
}

/* H2: Abril Text 26/29 */
.hestra-redesign .hr-mega__title {
    display: inline;
    font-family: var(--hr-font-serif);
    font-size: clamp(21px, 1.36vw, 26px);
    font-weight: 400;
    line-height: 29px;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: text-decoration-color .15s var(--hr-ease);
}

/* Helvetica Neue 17/22, 12 px under rubriken */
.hestra-redesign .hr-mega__text {
    display: block;
    margin-top: 12px;
    font-size: clamp(15px, .885vw, 17px);
    font-weight: 400;
    line-height: 1.3;
}

/* Hover (komponenten "Text hover big"): tunn linje under rubriken */
.hestra-redesign .hr-nav__list .sub-menu a:hover .hr-mega__title,
.hestra-redesign .hr-nav__list .sub-menu a:focus-visible .hr-mega__title,
.hestra-redesign .hr-nav__list .sub-menu .current-menu-item > a .hr-mega__title {
    text-decoration-color: currentColor;
}

/* "Visa alla" finns bara i mobilmenyn */
.hestra-redesign .hr-mega__all {
    display: none !important;
}

/* "Se alla casebilder" (komponenten "Button hover (second)"): Helvetica Bold 14/17, röd,
   20 px in från kolumnen, linjen dras undan vid hover som i sektionerna */
.hestra-redesign .hr-nav .hr-mega__more {
    position: relative;
    display: inline-block;
    margin: clamp(48px, 3.8vw, 73px) 0 0 20px;
    padding-bottom: 5px;
    color: var(--hr-red);
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
}

.hestra-redesign .hr-nav .hr-mega__more::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: currentColor;
    transform-origin: right;
    transition: transform .2s var(--hr-ease);
}

.hestra-redesign .hr-nav .hr-mega__more:hover::after,
.hestra-redesign .hr-nav .hr-mega__more:focus-visible::after {
    transform: scaleX(0);
    transition-duration: .12s;
}

.hestra-redesign .hr-nav__mobile-extra {
    display: none;
}

.hestra-redesign .hr-subtoggle {
    display: none;
}

/* Meny-knapp (mobil): "Meny" + två streck, "Stäng" + ett streck när öppen */
.hestra-redesign .hr-burger {
    display: none;
    align-items: center;
    gap: 8px;
    height: 44px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: var(--hr-red);
    font-family: var(--hr-font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    cursor: pointer;
}

.hestra-redesign .hr-burger__label--close,
.hestra-redesign .hr-burger[aria-expanded="true"] .hr-burger__label--open {
    display: none;
}

.hestra-redesign .hr-burger[aria-expanded="true"] .hr-burger__label--close {
    display: inline;
}

.hestra-redesign .hr-burger__lines {
    position: relative;
    width: 30px;
    height: 7px;
}

.hestra-redesign .hr-burger__lines::before,
.hestra-redesign .hr-burger__lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform .2s var(--hr-ease);
}

.hestra-redesign .hr-burger__lines::before { top: 0; }
.hestra-redesign .hr-burger__lines::after  { bottom: 0; }

.hestra-redesign .hr-burger[aria-expanded="true"] .hr-burger__lines::before {
    transform: translateY(3px);
}

.hestra-redesign .hr-burger[aria-expanded="true"] .hr-burger__lines::after {
    transform: translateY(-3px);
}


/* --- Mobil ------------------------------------------------------------
   Skissen: 390 px bred, 28 px kantavstånd, hela menyn röd. */

@media (max-width: 989px) {

    :root {
        --hr-mainbar-h: 60px;
        --hr-gutter: 28px;
    }

    .hestra-redesign .hr-topbar {
        display: none;
    }

    .hestra-redesign .hr-mainbar__inner {
        padding: 0 var(--hr-gutter);
    }

    .hestra-redesign .hr-logo,
    .hestra-redesign .hr-burger {
        position: relative;
        z-index: 2;   /* ovanför den röda menyn */
    }

    .hestra-redesign .hr-logo img {
        height: 28px;
    }

    .hestra-redesign .hr-burger {
        display: inline-flex;
    }

    /* Öppen meny: vit logga, ljus knapp */
    .hestra-redesign .hr-header.is-open .hr-logo__default {
        display: none !important;
    }

    .hestra-redesign .hr-header.is-open .hr-logo__white {
        display: block !important;
    }

    .hestra-redesign .hr-header.is-open .hr-burger {
        color: var(--hr-beige);
    }

    .hestra-redesign .hr-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        padding: 128px var(--hr-gutter) 36px;
        background: var(--hr-red);
        color: var(--hr-beige);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s var(--hr-ease), visibility .2s;
    }

    .hestra-redesign .hr-header.is-open .hr-nav {
        opacity: 1;
        visibility: visible;
    }

    .hestra-redesign .hr-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .hestra-redesign .hr-nav__list > li + li {
        border-top: 1px solid rgba(240, 237, 234, .2);
    }

    .hestra-redesign .hr-nav__list > li > a {
        display: block;
        min-width: 0;
        height: auto;
        padding: 16px 44px 16px 0;
        color: var(--hr-beige);
        font-family: var(--hr-font-serif);
        font-size: 40px;
        font-weight: 400;
        line-height: 45px;
        letter-spacing: 0;
        text-transform: none;
    }

    .hestra-redesign .hr-nav__list > li > a::after {
        display: none;
    }

    /* Undermeny: två kolumner med bara rubriker, fälls ut med +/× (knappen läggs till i redesign.js) */
    .hestra-redesign .hr-mega {
        position: static;
        display: none;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    .hestra-redesign .hr-nav__list li.is-sub-open > .hr-mega {
        display: block;
    }

    .hestra-redesign .hr-nav__list > li.menu-item-has-children {
        position: relative;   /* +/×-knappen placeras mot menypunkten */
    }

    .hestra-redesign .hr-mega__inner,
    .hestra-redesign .hr-mega__inner:has(.hr-mega__more) {
        max-width: none;
        padding: 0;
    }

    .hestra-redesign .hr-nav__list .sub-menu {
        grid-template-columns: 1fr 1fr;
        gap: 29px 8px;
        margin: -3px 0 0;
        padding: 0 0 25px;
    }

    .hestra-redesign .hr-nav__list .sub-menu a {
        color: var(--hr-beige);
        font-size: 14px;
        font-weight: 400;
        line-height: 16px;
    }

    .hestra-redesign .hr-mega__title {
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        text-decoration: none;
    }

    .hestra-redesign .hr-mega__text,
    .hestra-redesign .hr-nav .hr-mega__more {
        display: none;
    }

    .hestra-redesign .hr-mega__all {
        display: list-item !important;
    }

    .hestra-redesign .hr-subtoggle {
        display: block;
        position: absolute;
        top: 16px;
        right: -11px;
        width: 44px;
        height: 45px;
        padding: 0;
        background: none;
        border: 0;
        color: var(--hr-beige);
        cursor: pointer;
    }

    /* Plus av två 22 px linjer (1,4 px), vrids 45° till × */
    .hestra-redesign .hr-subtoggle::before,
    .hestra-redesign .hr-subtoggle::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 22px;
        height: 1.4px;
        margin: -.7px 0 0 -11px;
        background: currentColor;
        transition: transform .2s var(--hr-ease);
    }

    .hestra-redesign .hr-subtoggle::after {
        transform: rotate(90deg);
    }

    .hestra-redesign li.is-sub-open > .hr-subtoggle::before {
        transform: rotate(45deg);
    }

    .hestra-redesign li.is-sub-open > .hr-subtoggle::after {
        transform: rotate(135deg);
    }

    /* Längst ner: Logga in + språk */
    .hestra-redesign .hr-nav__mobile-extra {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: auto;
        padding-top: 40px;
        color: var(--hr-white);
        font-size: 12px;
        font-weight: 500;
        line-height: 18px;
        text-transform: uppercase;
    }

    .hestra-redesign .hr-nav__mobile-extra a,
    .hestra-redesign .hr-nav__mobile-extra .hr-lang__toggle {
        color: inherit;
        text-decoration: none;
    }

    .hestra-redesign .hr-nav__mobile-extra .hr-login {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .hestra-redesign .hr-nav__mobile-extra .hr-login .hr-icon {
        width: 14px;
        height: 14px;
    }

    .hestra-redesign .hr-nav__mobile-extra .hr-lang__toggle {
        height: auto;
        gap: 7px;
    }

    .hestra-redesign .hr-nav__mobile-extra .hr-lang__toggle .hr-flag {
        width: 19px;
        height: 19px;
    }

    .hestra-redesign .hr-nav__mobile-extra .hr-lang__caret {
        margin-left: 2px;
    }

    /* Språklistan öppnas uppåt längst ner i menyn */
    .hestra-redesign .hr-nav__mobile-extra .hr-lang__list {
        top: auto;
        right: 0;
        bottom: calc(100% + 12px);
    }

    .hestra-redesign .hr-nav__mobile-extra .hr-lang__list a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 16px;
        color: var(--hr-text);
    }

    .hestra-redesign.hr-nav-open {
        overflow: hidden;
    }
}

/* --- Footer ----------------------------------------------------------- */

/* !important behövs mot gamla generella regler i style.css:
   footer { background-color: #951125 !important; padding: 80px 20px !important }
   footer * { color: #fff !important } */
.hestra-redesign .hr-footer {
    padding: clamp(64px, 6.8vw, 130px) 0 25px !important;
    background: var(--hr-red) !important;
    color: var(--hr-white);
    font-family: var(--hr-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.hestra-redesign .hr-footer a {
    color: inherit;
    text-decoration: none;
}

.hestra-redesign .hr-footer a:hover,
.hestra-redesign .hr-footer a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hestra-redesign .hr-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px 286px;
    gap: 40px;
    padding-right: 8px;
}

.hestra-redesign .hr-footer__logo img {
    display: block;
    width: auto;
    height: 60px;
}

.hestra-redesign .hr-footer__text {
    max-width: 449px;
    margin: 74px 0 0;
    font-family: var(--hr-font-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
}

.hestra-redesign .hr-footer__text br {
    display: none;
}

.hestra-redesign .hr-footer__social {
    display: flex;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hestra-redesign .hr-footer__social li {
    margin: 0;
}

.hestra-redesign .hr-footer__social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid currentColor;
    border-radius: 50%;
    transition: background-color .15s var(--hr-ease), color .15s var(--hr-ease);
}

.hestra-redesign .hr-footer__social a:hover,
.hestra-redesign .hr-footer__social a:focus-visible {
    background: var(--hr-white);
}

.hestra-redesign .hr-footer__social a:hover *,
.hestra-redesign .hr-footer__social a:focus-visible * {
    color: var(--hr-red) !important;
}

.hestra-redesign .hr-footer__social svg {
    width: 34px;
    height: 34px;
}

.hestra-redesign .hr-footer__heading {
    margin: 7px 0 17px;
    color: inherit;
    font-family: var(--hr-font-serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: 0;
    text-transform: none;
}

.hestra-redesign .hr-footer__list,
.hestra-redesign .hr-footer__legal-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hestra-redesign .hr-footer__list li,
.hestra-redesign .hr-footer__legal-list li {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

.hestra-redesign .hr-footer .current_page_item > a {
    background-color: transparent !important;
}

.hestra-redesign .hr-footer__address {
    margin: 26px 0 0;
    font-size: inherit; /* Enfold sätter egen storlek på p */
    line-height: inherit;
}

/* Juridiska länkar 60 % och copyright 40 % opacitet enligt skissen */
.hestra-redesign .hr-footer__legal {
    margin-top: 121px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.hestra-redesign .hr-footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 44px;
}

.hestra-redesign .hr-footer__legal-list a {
    color: rgba(255, 255, 255, .6) !important;
}

.hestra-redesign .hr-footer__copyright {
    margin: 23px 0 0;
    color: rgba(255, 255, 255, .4) !important;
    font-size: inherit;
    line-height: inherit;
    text-align: center;
}

@media (max-width: 1199px) {

    .hestra-redesign .hr-footer__top {
        grid-template-columns: minmax(0, 1fr) 220px 220px;
    }
}

@media (max-width: 989px) {

    .hestra-redesign .hr-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .hestra-redesign .hr-footer__intro {
        grid-column: 1 / -1;
    }

    .hestra-redesign .hr-footer__logo img {
        height: 48px;
    }

    .hestra-redesign .hr-footer__text {
        margin-top: 40px;
    }

    .hestra-redesign .hr-footer__legal {
        margin-top: 64px;
    }
}

@media (max-width: 479px) {

    .hestra-redesign .hr-footer__top {
        grid-template-columns: 1fr;
    }
}


@media (prefers-reduced-motion: reduce) {
    .hestra-redesign .hr-header *,
    .hestra-redesign .hr-header {
        transition: none !important;
    }
}
