/* Colours are applied to the original Gutenberg surfaces at render time. */
.lavelal-wk-sf-editorial .entry-content p a {
    --ast-global-color-0: #823f7c;
    --ast-global-color-1: #602e5c;
}
.entry-content .lavelal-wk-sf-gold {
    color: #1f2937;
}
.entry-content .lavelal-wk-sf-gold :is(p, li):not(.has-text-color) {
    color: #1f2937;
}
.entry-content .lavelal-wk-sf-gold p a:not(.wp-element-button) {
    --ast-global-color-0: #462343;
    --ast-global-color-1: #32192f;
    text-decoration: underline;
}

/* Protect intrinsic size even when the SVG needs another network request. */
#masthead .lavelal-wk-sf-logo {
    aspect-ratio: auto 240.94 / 222.66;
    height: auto;
}
@media (max-width: 600px) {
    #masthead .site-logo-img img.lavelal-wk-sf-logo {
        width: 112px;
        max-width: 100%;
    }
    /* Each layer has one job: page gutter, section spacing, then card padding. */
    .home .entry-content .lavelal-wk-sf-press {
        padding: 36px 12px !important;
    }
    .home .entry-content .lavelal-wk-sf-press > .wp-block-group {
        padding: 0 !important;
    }
    .home .entry-content .lavelal-wk-sf-press .wp-block-column.has-background {
        padding-inline: 16px !important;
    }
}

/* The two genuine form links keep their own nav and keyboard focus.
   The extra mobile-menu entries allow direct access before reaching the footer. */
@media (max-width: 1024px) {
    body nav.lavelal-contract-service {
        box-sizing: border-box;
        position: static;
        inset: auto;
        z-index: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 16px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
        flex-flow: row wrap;
        justify-content: center;
        align-items: stretch;
        gap: 8px;
        border-top: 1px solid #e1d6df;
        background-color: #fff;
    }
    nav.lavelal-contract-service .lavelal-contract-service__link {
        box-shadow: none;
    }
}
#ast-hf-mobile-menu .lavelal-wk-sf-menu-service > .menu-link {
    font-size: 1rem;
    font-weight: 400;
    min-height: 44px;
    text-decoration: underline;
}
