/* URM Cookie Consent. Colours meet WCAG AA on the banner's dark background. */
.urm-cc[hidden] {
    display: none;
}

.urm-cc {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    border-top: 1px solid #b38a49;
    background: #102f27;
    color: #fff;
    font-family: var(--font-body, Arial, sans-serif);
}

.urm-cc:focus {
    outline: none;
}

.urm-cc__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1620px;
    margin-inline: auto;
    padding: 22px clamp(22px, 7.8vw, 150px);
}

.urm-cc__copy {
    flex: 1;
    min-width: 0;
}

.urm-cc__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
}

.urm-cc__message {
    margin: 0;
    color: #eef2ee;
    font-size: 14px;
    line-height: 1.5;
}

.urm-cc__message a {
    color: #e4c693;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Accept and reject carry equal weight on purpose. */
.urm-cc__actions {
    display: flex;
    flex: none;
    gap: 12px;
}

.urm-cc__button {
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.urm-cc__button:hover {
    background: #fff;
    color: #102f27;
}

.urm-cc__button:focus-visible,
.urm-cc__message a:focus-visible {
    outline: 3px solid #e4c693;
    outline-offset: 3px;
}

/* Footer link, styled like the links beside it. */
.urm-cc-settings {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.urm-cc-settings:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 800px) {
    .urm-cc__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-block: 18px;
    }

    .urm-cc__button {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .urm-cc__button {
        transition: none;
    }
}
