.footer-link-button {
    width: fit-content;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.consent-notice {
    position: fixed;
    z-index: 90;
    right: 1.25rem;
    bottom: 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    width: min(720px, calc(100% - 2.5rem));
    border: 1px solid rgba(193, 138, 56, 0.75);
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.82);
    padding: 1.25rem;
    box-shadow: 0 16px 45px rgba(7, 31, 49, 0.28);
}

.consent-notice[hidden] {
    display: none;
}

.consent-notice h2,
.consent-dialog h2 {
    margin: 0 0 0.45rem;
    color: var(--white);
    font-family: var(--display-font);
    font-size: 1.45rem;
    font-weight: 400;
}

.consent-notice p,
.consent-dialog p {
    margin: 0;
}

.consent-notice a,
.consent-dialog a {
    color: var(--gold);
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.consent-actions button {
    min-height: 40px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 0.55rem 0.8rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.consent-actions .consent-secondary {
    background: transparent;
    color: var(--white);
}

.consent-dialog {
    width: min(560px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.82);
    padding: 0;
    box-shadow: 0 20px 60px rgba(7, 31, 49, 0.4);
}

.consent-dialog::backdrop {
    background: rgba(7, 31, 49, 0.58);
}

.consent-dialog form {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem;
}

.consent-dialog-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.consent-kicker {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.consent-close {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.7rem;
    cursor: pointer;
}

.consent-options {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.consent-options label {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    min-height: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.consent-options span {
    display: grid;
    gap: 0.15rem;
}

.consent-options strong {
    color: var(--white);
}

.consent-options small {
    color: rgba(255, 255, 255, 0.68);
}

.consent-options input {
    width: 22px;
    height: 22px;
    accent-color: var(--gold);
}

.consent-policy-link {
    font-size: 0.85rem;
}

@media (max-width: 680px) {
    .consent-notice {
        right: 1rem;
        bottom: 1rem;
        grid-template-columns: 1fr;
        gap: 1rem;
        width: calc(100% - 2rem);
    }

    .consent-actions {
        align-items: stretch;
    }

    .consent-actions button {
        flex: 1 1 100%;
    }
}