/* Astra storefront. Keep the original menu, toggle, links and breakpoints. */
/* Let the top language switcher leave the screen with the header on scroll. */
body .trp-language-switcher.trp-floating-switcher.trp-switcher-position-top {
    position: absolute;
}

#masthead #ast-desktop-header .custom-logo-link img.custom-logo,
#masthead #ast-mobile-header .custom-logo-link img.custom-logo {
    display: block;
    width: 128px;
    max-width: 100%;
    height: auto;
}

#masthead #ast-mobile-header .custom-logo-link img.custom-logo {
    width: 104px;
}

#masthead .site-branding.ast-site-identity {
    padding-block: 6px;
}

#masthead #ast-desktop-header .ast-header-button-1 {
    flex-shrink: 0;
}

#masthead #ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row.ast-grid-center-col-layout {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

#masthead #ast-desktop-header .ast-primary-header-bar .site-primary-header-wrap {
    min-height: 52px;
}

#masthead #ast-desktop-header .ast-header-button-1 .ast-custom-button-link,
#masthead #ast-desktop-header .ast-header-button-1 .ast-custom-button {
    width: max-content;
    white-space: nowrap;
    word-break: normal;
}

#masthead #ast-desktop-header .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 44px;
    line-height: 1.3;
    padding: 8px clamp(6px, .8vw, 12px);
}

#masthead #ast-mobile-header .main-header-menu-toggle {
    box-sizing: border-box;
    min-width: 48px;
    min-height: 48px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    color: #171711;
    background-color: #f8d705;
}

#masthead #ast-mobile-header .main-header-menu-toggle .mobile-menu-toggle-icon,
#masthead #ast-mobile-header .main-header-menu-toggle .ast-mobile-svg {
    color: inherit;
    fill: currentColor;
}

#masthead #ast-mobile-header .main-header-menu-toggle:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Leave clearance below the existing top-right language control for the toggle. */
#masthead #ast-mobile-header .ast-primary-header-bar.site-primary-header-wrap {
    min-height: 116px;
}

#masthead #ast-mobile-header .ast-primary-header-bar > .ast-builder-grid-row {
    min-height: inherit;
}

#masthead #ast-mobile-header .site-header-primary-section-right {
    align-self: stretch;
    align-items: flex-end;
    padding-bottom: 6px;
}

article#post-222 a[href^="tel:"] {
    color: #171711;
    text-decoration: underline;
    text-underline-offset: .18em;
}

/* Elementor HTML widget. Keep the call-to-action and metrics in separate rows
   so that titles and translations can grow without overlapping either row. */
.am-home .am-hero {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 106px 0 32px;
}

.am-home .am-hero::after {
    pointer-events: none;
}

.am-home .am-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    padding-top: 0;
}

.am-home .am-hero h1 {
    font-size: clamp(44px, 5.25vw, 76px);
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

.am-home .am-actions {
    gap: 12px;
}

.am-home .am-actions .am-btn {
    min-height: 48px;
    text-align: center;
    line-height: 1.35;
}

.am-home .am-metrics {
    position: relative;
    inset: auto;
    margin: 32px auto 0;
}

@media (min-width: 981px) {
    /* The fixed language switcher sits 10vw from the viewport edge.
       Reserve its 120px width and a gap inside the centered 1240px header. */
    .am-home .am-top {
        padding-right: clamp(0px, calc(760px - 40vw), 250px);
    }

    .am-home .am-top .am-phone {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (min-width: 981px) and (max-width: 1200px) {
    .am-home .am-nav {
        gap: 16px;
    }
}

@media (max-width: 980px) {
    /* The navigation can take more than one line in either language. */
    .am-home .am-top {
        position: relative;
        height: auto;
        flex-wrap: wrap;
        align-content: start;
        justify-content: flex-start;
        column-gap: 16px;
    }

    .am-home .am-nav {
        display: flex;
        order: 3;
        flex: 0 0 100%;
        flex-wrap: wrap;
        gap: 2px 16px;
        padding-block: 2px 8px;
    }

    .am-home .am-nav a,
    .am-home .am-phone {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .am-home .am-hero {
        padding-top: 24px;
    }

    .am-home .am-hero-grid {
        gap: 24px;
    }

    .am-home .am-hero h1 {
        font-size: clamp(32px, 5.45vw, 52px);
    }
}

@media (min-width: 621px) and (max-width: 980px) {
    .am-home .am-pack-stage {
        position: relative;
        inset: auto;
        width: auto;
        height: auto;
        opacity: 1;
    }
}

@media (max-width: 620px) {
    .am-home .am-hero-grid {
        display: block;
    }

    .am-home .am-hero h1 {
        font-size: clamp(32px, 8.4vw, 46px);
    }

    .am-home .am-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
}
