/* Consent notice, preference dialog and blocked-embed placeholders.
 * Palette follows the site: gold #90714d (the AA-contrast value), dark #222.
 * Accept and reject share one button class so refusal is never visually
 * demoted relative to acceptance.
 */

.consent-banner {
    position: fixed;
    z-index: 99999;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1c1c1c;
    color: #fff;
    border-top: 3px solid #90714d;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
    font-family: 'Barlow', sans-serif;
}

.consent-banner__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 22px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.consent-banner__copy {
    flex: 1 1 460px;
    min-width: 0;
}

.consent-banner__title {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 21px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 8px;
}

.consent-banner__text {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 8px;
    color: #e8e4de;
}

.consent-banner__links {
    margin: 0;
    font-size: 14px;
    color: #cfc7bb;
}

.consent-banner__links a {
    color: #e2c9a3;
    text-decoration: underline;
}

.consent-banner__links a:hover,
.consent-banner__links a:focus {
    color: #fff;
}

.consent-banner__actions {
    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* ------------------------------------------------------------- buttons */

.consent-btn {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 15px;
    line-height: 1.2;
    padding: 13px 22px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

/* Equal weight for accept and reject. */
.consent-btn--primary {
    background: #90714d;
    border-color: #90714d;
    color: #fff;
    min-width: 170px;
}

.consent-btn--primary:hover,
.consent-btn--primary:focus {
    background: #222;
    border-color: #90714d;
    color: #fff;
}

.consent-btn--ghost {
    background: transparent;
    border-color: #b3a693;
    color: #fff;
    min-width: 170px;
}

.consent-btn--ghost:hover,
.consent-btn--ghost:focus {
    background: #fff;
    border-color: #fff;
    color: #222;
}

.consent-btn:focus-visible {
    outline: 3px solid #e2c9a3;
    outline-offset: 2px;
}

/* --------------------------------------------------------------- modal */

.consent-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, .62);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.consent-modal__panel {
    background: #fff;
    color: #222;
    max-width: 520px;
    width: 100%;
    padding: 28px;
    font-family: 'Barlow', sans-serif;
    max-height: 90vh;
    overflow-y: auto;
}

.consent-modal__panel--wide {
    max-width: 680px;
}

.consent-modal__title {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #222;
}

.consent-modal__text {
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
    color: #4a4a4a;
}

.consent-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.consent-modal__panel .consent-btn--ghost {
    border-color: #90714d;
    color: #222;
}

.consent-modal__panel .consent-btn--ghost:hover,
.consent-modal__panel .consent-btn--ghost:focus {
    background: #222;
    border-color: #222;
    color: #fff;
}

.consent-modal__link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    color: #7a5e3f;
    text-decoration: underline;
}

/* ------------------------------------------------------ preference rows */

.consent-group {
    border-top: 1px solid #e4e0d9;
    padding: 16px 0 4px;
}

.consent-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.consent-group__title {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
    color: #222;
    cursor: pointer;
}

.consent-group__badge {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: #f0ebe3;
    color: #6b5335;
    padding: 5px 10px;
    white-space: nowrap;
}

.consent-group__input {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    accent-color: #90714d;
    cursor: pointer;
}

.consent-group__input:focus-visible {
    outline: 3px solid #90714d;
    outline-offset: 2px;
}

.consent-group__text {
    font-size: 14px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 8px 0 0;
}

/* --------------------------------------------------- blocked embed box */

.consent-embed {
    display: block;
    width: 100%;
    background: #f4f1ec;
    border: 1px solid #ded8ce;
}

.consent-embed--loaded {
    background: none;
    border: 0;
    min-height: 0 !important;
}

.consent-embed__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 40px 24px;
    min-height: inherit;
    box-sizing: border-box;
    height: 100%;
}

.consent-embed__title {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 22px;
    line-height: 1.2;
    margin: 0;
    color: #222;
}

.consent-embed__text {
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
    max-width: 560px;
    margin: 0;
}

.consent-embed__link {
    font-size: 14px;
    color: #7a5e3f;
    text-decoration: underline;
}

.consent-embed__link:hover,
.consent-embed__link:focus {
    color: #222;
}

/* ------------------------------------------------- footer legal strip */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    align-items: center;
    justify-content: center;
    padding: 4px 0 8px;
    font-size: 14px;
}

.footer-legal a,
.footer-legal__btn {
    color: #cfc7bb;
    text-decoration: underline;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
}

.footer-legal a:hover,
.footer-legal a:focus,
.footer-legal__btn:hover,
.footer-legal__btn:focus {
    color: #fff;
}

/* A button, because it opens a dialog rather than navigating. */
.footer-legal__btn {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.footer-legal__btn:focus-visible {
    outline: 2px solid #e2c9a3;
    outline-offset: 3px;
}

/* --------------------------------------------------- form privacy note */

.form-privacy-note {
    font-size: 14px;
    line-height: 1.6;
    color: #6a6a6a;
    margin: 4px 0 18px;
}

.form-privacy-note a {
    color: #7a5e3f;
    text-decoration: underline;
}

.form-privacy-note a:hover,
.form-privacy-note a:focus {
    color: #222;
}

/* ------------------------------------------------------- legal documents */

/* All three languages ship in the HTML so they stay crawlable; only the one
 * matching <html lang> is shown. The language switcher already keeps that
 * attribute in sync, so this needs no JavaScript of its own and falls back
 * to English when scripting is off.
 */
[data-lang-block] {
    display: none;
}

html[lang="en"] [data-lang-block="en"],
html[lang="el"] [data-lang-block="el"],
html[lang="de"] [data-lang-block="de"] {
    display: block;
}

.legal-doc {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #4a4a4a;
}

.legal-doc h2 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 26px;
    line-height: 1.25;
    color: #222;
    margin: 42px 0 14px;
}

.legal-doc p {
    margin: 0 0 16px;
}

.legal-doc a {
    color: #7a5e3f;
    text-decoration: underline;
}

.legal-doc a:hover,
.legal-doc a:focus {
    color: #222;
}

.legal-doc code {
    font-size: 14px;
    background: #f4f1ec;
    padding: 2px 6px;
    color: #5a4630;
    word-break: break-word;
}

.legal-lead {
    font-size: 19px;
    line-height: 1.65;
    color: #222;
    margin-bottom: 8px;
}

.legal-address {
    background: #f7f5f1;
    border-left: 3px solid #90714d;
    padding: 16px 18px;
    line-height: 1.7;
}

.legal-updated {
    margin-top: 42px;
    padding-top: 16px;
    border-top: 1px solid #e4e0d9;
    font-size: 14px;
    color: #777;
}

/* Wide tables must scroll inside their own box, never the page. */
.legal-table {
    display: block;
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 15px;
}

.legal-table th,
.legal-table td {
    border: 1px solid #e4e0d9;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    min-width: 120px;
}

.legal-table th {
    background: #f7f5f1;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 15px;
    color: #222;
}

@media (max-width: 767px) {
    .legal-doc h2 {
        font-size: 22px;
        margin-top: 32px;
    }

    .legal-lead {
        font-size: 17px;
    }

    .consent-banner__inner {
        padding: 18px 16px;
        gap: 14px;
    }

    .consent-banner__actions {
        width: 100%;
    }

    .consent-btn {
        width: 100%;
        min-width: 0;
    }

    .consent-modal__panel {
        padding: 22px 18px;
    }

    .consent-modal__actions .consent-btn {
        width: 100%;
    }
}
