/* Cookie controls share the site palette, fonts and button treatment. */
.cookie-consent-banner,
.cookie-preference-panel,
.cookie-consent-page,
.cookie-gated-content {
    font-family: "interstate", sans-serif;
}

.cookie-consent-banner__button,
.cookie-preference-panel__allow-all,
.cookie-preference-panel__confirm,
.cookie-preference-panel__reject,
.cookie-consent-group__button {
    font-weight: 600;
    box-shadow: 0 6px 12px #0000001F;
    text-decoration: none;
    cursor: pointer;
}

.cookie-consent-banner :focus-visible,
.cookie-preference-panel :focus-visible,
.cookie-consent-page :focus-visible {
    outline: 2px solid #976e43;
    outline-offset: 3px;
}

.cookie-preference-panel__body > a:not(.cookie-preference-panel__allow-all),
.cookie-consent-banner__link {
    color: #976e43;
}

.cookie-preference-panel__body > a:not(.cookie-preference-panel__allow-all):hover,
.cookie-consent-banner__link:hover {
    color: #976e43;
}

.cookie-preference-panel__allow-all {
    margin-bottom: 1.25rem;
}

.cookie-preference-panel__header,
.cookie-preference-panel__footer {
    flex-shrink: 0;
}

.cookie-preference-panel__body {
    min-height: 0;
}

.cookie-preference-toggle input:disabled + span {
    opacity: .5;
    cursor: not-allowed;
}

.privacy-error { color: #9b1c1c; }
[data-gpc-status] { font-weight: 600; }

@media (max-width: 767px) {
    .cookie-consent-banner__actions.cookie-consent-js-only {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .cookie-consent-banner__actions .js-cookie-panel-open {
        grid-column: 1 / -1;
        order: 3;
    }
}

.cookie-consent-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    /* Keep content visible even on short screens or with enlarged text. */
    max-height: 40vh;
    max-height: 40dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-top: 4px solid #976e43;
    background: #FFFFFF;
    box-shadow: 0 -6px 20px rgba(37, 40, 36, 0.12);
}

.cookie-consent-banner__inner {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    box-sizing: border-box;
    width: min(100%, 76rem);
    margin: 0 auto;
    padding: .75rem 1rem;
    padding-bottom: max(.75rem, env(safe-area-inset-bottom));
}

.cookie-consent-banner__copy {
    max-width: 52rem;
}

.cookie-consent-banner p {
    margin: 0;
    color: #222;
    font-size: .9375rem;
    line-height: 1.45;
}

.cookie-consent-banner__link {
    display: inline;
    color: #976e43;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}

.cookie-consent-banner__link:hover,
.cookie-consent-banner__link:focus {
    text-decoration: underline;
}

.cookie-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
}

.cookie-consent-banner__actions > * {
    flex: 1 1 8rem;
}

.cookie-consent-banner__form {
    display: flex;
    margin: 0;
}

.cookie-consent-banner__form .cookie-consent-banner__button {
    width: 100%;
}

.cookie-consent-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    box-sizing: border-box;
    padding: .5rem .75rem;
    border: 2px solid #976e43;
    border-radius: 9999px;
    font-family: "interstate", sans-serif;
    font-size: .875rem;
    line-height: 1.2;
    text-align: center;
    transition: background-color .2s, border-color .2s, color .2s;
}

.cookie-consent-banner__button--primary {
    background: #976e43;
    color: #FFFFFF;
}

.cookie-consent-banner__button--primary:hover,
.cookie-consent-banner__button--primary:focus-visible {
    border-color: #FFFFFF;
    background: #FFFFFF;
    color: #FFFFFF;
    text-decoration: none;
}

.cookie-consent-banner__button--secondary {
    background: #FFFFFF;
    color: #976e43;
    font-weight: 600;
}

.cookie-consent-banner__button--secondary:hover,
.cookie-consent-banner__button--secondary:focus-visible {
    border-color: #976e43;
    background: #976e43;
    color: #FFFFFF;
}

body.cookie-consent-page .cookie-consent-banner {
    display: none;
}

body.cookie-preferences-open {
    overflow: hidden;
}

.cookie-preference-panel {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.cookie-preference-panel[aria-hidden="false"] {
    display: block;
}

.cookie-preference-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 40, 36, .62);
}

.cookie-preference-panel__dialog {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    color: #222;
    border-top: 4px solid #976e43;
}

.cookie-preference-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dae3e7;
    background: #dae3e7;
}

.cookie-preference-panel__brand {
    color: #976e43;
    font-family: "interstate", sans-serif;
    font-size: 1.125rem;
    line-height: 1;
}

.cookie-preference-panel__close {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    color: #976e43;
    font-size: 2rem;
    line-height: 1;
}

.cookie-preference-panel__close:hover,
.cookie-preference-panel__close:focus-visible {
    color: #976e43;
}

.cookie-preference-panel__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.5rem;
}

.cookie-preference-panel h2 {
    margin: 0 0 2rem;
    color: #976e43;
    font-size: 2rem;
    line-height: 1.15;
}

.cookie-preference-panel h3 {
    margin: 2rem 0 1rem;
    color: #976e43;
    font-family: "interstate", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.cookie-preference-panel__allow-all,
.cookie-preference-panel__confirm,
.cookie-preference-panel__reject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.5rem;
    padding: .875rem 1.25rem;
    border: 2px solid #976e43;
    border-radius: 9999px;
    font-family: "interstate", sans-serif;
    font-size: 1rem;
    letter-spacing: normal;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.cookie-preference-panel__allow-all,
.cookie-preference-panel__confirm {
    background: #976e43;
    color: #FFFFFF;
}

.cookie-preference-panel__allow-all:hover,
.cookie-preference-panel__allow-all:focus,
.cookie-preference-panel__confirm:hover,
.cookie-preference-panel__confirm:focus {
    border-color: #FFFFFF;
    background: #FFFFFF;
    color: #FFFFFF;
    text-decoration: none;
}

.cookie-preference-panel__reject {
    background: #FFFFFF;
    color: #976e43;
    text-decoration: none;
}

.cookie-preference-panel__reject:hover,
.cookie-preference-panel__reject:focus {
    border-color: #976e43;
    background: #976e43;
    color: #FFFFFF;
    text-decoration: none;
}

.cookie-preference-panel__groups {
    border: 1px solid #dae3e7;
}

.cookie-preference-panel__group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 5.125rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dae3e7;
    background: #FFFFFF;
}

.cookie-preference-panel__group:last-child {
    border-bottom: 0;
}

.cookie-preference-panel__group h4 {
    margin: 0;
    color: #976e43;
    font-family: "interstate", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    text-transform: none;
}

.cookie-preference-panel__group p {
    margin: .25rem 0 0;
    color: #666666;
    font-size: .8125rem;
    line-height: 1.35;
}

.cookie-preference-panel__required {
    color: #976e43;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-preference-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 4.25rem;
    height: 2.5rem;
    margin: 0;
}

.cookie-preference-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cookie-preference-toggle span:not(.sr-only) {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #666666;
    transition: background-color .2s;
}

.cookie-preference-toggle span:not(.sr-only):after {
    content: '';
    position: absolute;
    top: .25rem;
    left: .25rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(37, 40, 36, .25);
    transition: transform .2s;
}

.cookie-preference-toggle input:checked + span:not(.sr-only) {
    background: #976e43;
}

.cookie-preference-toggle input:checked + span:not(.sr-only):after {
    transform: translateX(1.75rem);
}

.cookie-preference-toggle input:focus + span:not(.sr-only) {
    outline: 2px solid #976e43;
    outline-offset: 3px;
}

.cookie-preference-panel__footer {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #dae3e7;
    background: #FFFFFF;
}

.cookie-gated-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.5rem;
    border: 1px solid #dae3e7;
    background: #dae3e7;
    text-align: center;
}

.cookie-gated-content p {
    margin: 0;
    color: #222;
    font-size: .9375rem;
    line-height: 1.4;
}

.cookie-gated-content--inline {
    position: static;
    min-height: 10rem;
}

.cookie-consent-page__content {
    margin-top: 3rem;
    padding-top: 9rem;
    margin-bottom: 3rem;
}

.cookie-consent-page { background: #fff; color: #222; }

.cookie-consent-page__content .container {
    position: relative;
}

.cookie-consent-page__close {
    position: absolute;
    top: 0;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #976e43;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
}

.cookie-consent-page__close:hover,
.cookie-consent-page__close:focus {
    color: #976e43;
    text-decoration: none;
}

.cookie-consent-page__content h1 {
    margin-bottom: .75rem;
    color: #976e43;
    font-size: 2.25rem;
}

.cookie-consent-page__intro,
.cookie-consent-groups,
.cookie-consent-notice {
    max-width: 48rem;
}

.cookie-consent-page__intro p {
    margin: 0 0 1.25rem;
    color: #222;
}

.cookie-consent-page__intro a,
.cookie-consent-notice a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-groups {
    display: grid;
    gap: .75rem;
    margin-top: 2.5rem;
}

.cookie-consent-group {
    padding: 1.25rem;
    border: 1px solid #dae3e7;
    border-radius: 6px;
    background: #FFFFFF;
}

.cookie-consent-group__header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent-group h2,
.cookie-consent-notice h2 {
    margin: 0 0 .35rem;
    color: #976e43;
    font-size: 1.25rem;
    line-height: 1.3;
}

.cookie-consent-group p {
    margin: 0;
    color: #222;
    font-size: .9375rem;
}

.cookie-consent-group__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.cookie-consent-group__actions form { margin: 0; }

.cookie-consent-group__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6.5rem;
    min-height: 2.5rem;
    padding: .625rem 1rem;
    border: 2px solid #976e43;
    border-radius: 9999px;
    background: #FFFFFF;
    color: #976e43;
    font-family: "interstate", sans-serif;
    font-size: .875rem;
    line-height: 1.2;
    transition: background-color .2s, border-color .2s, color .2s;
}

.cookie-consent-group__button--auto { width: auto; max-width: 100%; }

.cookie-consent-group__button:hover,
.cookie-consent-group__button:focus {
    border-color: #976e43;
    background: #976e43;
    color: #FFFFFF;
    text-decoration: none;
}

.cookie-consent-group__button--primary {
    background: #976e43;
    color: #FFFFFF;
}

.cookie-consent-group__status {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: #dae3e7;
    color: #222;
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-consent-group__status--on { background: #dae3e7; color: #976e43; }
.cookie-consent-group__status--off { background: #dae3e7; color: #666666; }

.cookie-consent-group__details {
    margin-top: 1rem;
    border-top: 1px solid #dae3e7;
    padding-top: .75rem;
}

.cookie-consent-group__details summary {
    width: fit-content;
    color: #666666;
    font-size: .8125rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent-group__details summary:hover { color: #976e43; }

.cookie-consent-group__table {
    width: 100%;
    margin-top: .5rem;
    font-size: .8125rem;
}

.cookie-consent-group__table th,
.cookie-consent-group__table td {
    padding: .5rem 0;
    border-top: 1px solid #dae3e7;
    text-align: left;
    vertical-align: top;
}

.cookie-consent-group__table th {
    width: min(11rem, 40%);
    padding-right: 1rem;
    color: #222;
    font-weight: 400;
}

.cookie-consent-group__table code {
    color: inherit;
    font-size: .8125rem;
    word-break: break-all;
}

.cookie-consent-group__table td { color: #666666; }

.cookie-consent-group__table span {
    display: block;
    color: #666666;
    font-size: .75rem;
}

.cookie-consent-notice {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #dae3e7;
}

.cookie-consent-notice p {
    margin: 0 0 1rem;
    color: #222;
    font-size: .9375rem;
}

.cookie-consent-notice form { margin: 0 0 1rem; }

.cookie-consent-notice__status { font-weight: 600; }

.cookie-consent-notice .cookie-consent-notice__fine {
    margin: 0;
    color: #666666;
    font-size: .8125rem;
}

@media (min-width: 768px) {
    .cookie-consent-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: .875rem 1.5rem;
        padding-bottom: max(.875rem, env(safe-area-inset-bottom));
    }

    .cookie-consent-banner__actions {
        flex: 0 1 24rem;
        flex-wrap: nowrap;
    }

    .cookie-consent-banner__button {
        min-width: 9rem;
    }

    .cookie-preference-panel__dialog {
        top: 2rem;
        right: auto;
        bottom: auto;
        left: 50%;
        width: min(42rem, calc(100vw - 2rem));
        max-height: calc(100vh - 4rem);
        transform: translateX(-50%);
        box-shadow: 0 16px 48px rgba(37, 40, 36, .28);
    }

    .cookie-preference-panel__body {
        padding: 2rem 2.5rem;
    }

    .cookie-preference-panel__footer {
        padding: 1.5rem 2.5rem 2rem;
    }

    .cookie-consent-group {
        padding: 1.5rem;
    }

    .cookie-consent-group__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2rem;
    }

    .cookie-consent-group__actions {
        flex-shrink: 0;
        justify-content: flex-end;
    }
}

.cookie-settings-footer { padding: 1rem; text-align: center; }
.cookie-settings-footer a { text-decoration: underline; }

.cookie-preference-panel h2,
.cookie-preference-panel h3,
.cookie-preference-panel__group h4,
.cookie-consent-page__content h1,
.cookie-consent-group h2 {
    font-family: "gill-sans-nova", sans-serif;
}

.cookie-consent-banner__button--primary:hover,
.cookie-consent-banner__button--primary:focus-visible,
.cookie-preference-panel__allow-all:hover,
.cookie-preference-panel__allow-all:focus-visible,
.cookie-preference-panel__confirm:hover,
.cookie-preference-panel__confirm:focus-visible,
.cookie-consent-group__button--primary:hover,
.cookie-consent-group__button--primary:focus-visible {
    background: #FFFFFF;
    color: #976e43;
    border-color: #976e43;
}
