/*
 * Styles for w52_consent integration (consent-gated embeds, footer button).
 * Separate file because the SCSS sources in build/ no longer reproduce styles.min.css.
 */
#w52-consent-banner {
    --w52c-accent: #b29f51;
    --w52c-heading-color: #323233;
    --w52c-border: #b29f51;
    --w52c-heading-font: "Playfair display", serif;
}

.embed-container.consent-embed:not(.consent-embed--loaded) {
    height: auto;
    padding-bottom: 0;
    overflow: visible;
}

.consent-embed__placeholder {
    border: 1px solid #b29f51;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.consent-embed__placeholder a {
    text-decoration: underline;
}

.consent-embed__placeholder p:not(:last-child) {
    margin-bottom: 1rem;
}

.consent-embed__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Reset UA button styles only; :where() keeps specificity low so the regular .button hover/background rules still apply */
:where(.consent-embed__actions) .button {
    background: transparent;
    /* no font shorthand: it would reset the bold weight from .button */
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.footer-menu__link--button {
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    line-height: inherit;
    color: #b29f51;
    cursor: pointer;
}

.footer-menu__link--button:focus-visible,
.consent-embed__actions .button:focus-visible {
    outline: 2px solid #b29f51;
    outline-offset: 2px;
}
