/* Sitepackage adjustments for EXT:w52_consent (banner design and footer button). */
#w52-consent-banner {
    --w52c-accent: #005496;
    --w52c-heading-color: #005496;
    --w52c-heading-font: "Inter", Arial, sans-serif;
}

#page-footer .nav-meta .consent-settings {
    padding: 0.5rem 1rem 0;
    border: 0;
    background: none;
    color: #888787;
    font: inherit;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

#page-footer .nav-meta .consent-settings:hover,
#page-footer .nav-meta .consent-settings:focus-visible {
    text-decoration: underline;
}

/*
 * The sitepackage styles every checkbox globally (master.css, from _contact_form.scss:
 * margin and a coloured ::after square meant for the contact form). Reset it inside
 * the banner so the native checkbox with its check mark is shown.
 * TODO: scope that rule to the contact form when the SCSS build is next touched.
 */
#w52-consent-banner input[type="checkbox"] {
    margin: 0;
}

#w52-consent-banner input[type="checkbox"]::after {
    content: none;
}
