/*
 * RSHOF consent centre: reusable Summerhaus-inspired paper panels and
 * high-contrast navy/gold dialogs. No ad technology is activated here.
 */
.rshof-consent,
.rshof-consent-page {
    --rshof-consent-navy: #18252d;
    --rshof-consent-ink: #1d2c34;
    --rshof-consent-muted: #5b676c;
    --rshof-consent-gold: #c39b63;
    --rshof-consent-line: #e4d5bb;
    --rshof-consent-paper: #fffdf8;
}

.rshof-consent[hidden],
.rshof-consent__panel[hidden],
.rshof-consent-manage[hidden] {
    display: none !important;
}

.rshof-consent {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    align-items: end;
    padding: 22px;
    background: rgba(8, 18, 23, .58);
    backdrop-filter: blur(4px);
}

.rshof-consent__banner,
.rshof-consent__panel {
    width: min(1080px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(228, 213, 187, .65);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(195, 155, 99, .24), transparent 31%),
        #fffdf8;
    color: var(--rshof-consent-ink);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.rshof-consent__banner {
    display: grid;
    grid-template-columns: 154px minmax(0, 1fr) minmax(205px, .35fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
}

/*
 * The consent dialog uses the one official RSHOF crest only. It is resolved
 * from the RSHOF media attachment, so no WordPress avatar or duplicate logo
 * appears in the consent interface.
 */
.rshof-consent__brand {
    display: grid;
    justify-items: center;
    gap: 11px;
    text-align: center;
}

.rshof-consent__brand-stage {
    display: grid;
    width: 120px;
    height: 120px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(243, 207, 132, .95);
    border-radius: 50%;
    background: #071117;
    box-shadow: 0 12px 24px rgba(24, 37, 45, .22);
}

.rshof-consent__brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: contain;
}

.rshof-consent__brand p {
    display: grid;
    gap: 2px;
    margin: 0;
    color: #665333;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.22;
    text-transform: uppercase;
}

.rshof-consent__brand p strong {
    color: #18252d;
    font-size: 11px;
    letter-spacing: .15em;
}

.rshof-consent__brand p span {
    max-width: 144px;
}

.rshof-consent .rshof-eyebrow {
    margin: 0 0 7px;
    color: #79623d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rshof-consent__copy h2,
.rshof-consent__panel h2,
.rshof-consent-page h1,
.rshof-consent-page h2 {
    margin: 0;
    color: var(--rshof-consent-navy);
    font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: .95;
}

.rshof-consent__copy h2 {
    font-size: clamp(29px, 3vw, 42px);
}

.rshof-consent__copy > p:not(.rshof-eyebrow):not(.rshof-consent__links),
.rshof-consent__panel > p {
    margin: 12px 0 0;
    color: var(--rshof-consent-muted);
    font-size: 14px;
    line-height: 1.5;
}

.rshof-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 13px 0 0;
}

.rshof-consent__links a {
    color: #725a35;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rshof-consent__actions {
    display: grid;
    gap: 9px;
}

.rshof-consent__primary,
.rshof-consent__secondary,
.rshof-consent__text {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.rshof-consent__primary {
    border: 1px solid var(--rshof-consent-navy);
    background: var(--rshof-consent-navy);
    color: #fff;
}

.rshof-consent__primary:hover,
.rshof-consent__primary:focus-visible {
    border-color: #2c404b;
    background: #2c404b;
}

.rshof-consent__secondary {
    border: 1px solid #9b8052;
    background: #fffdf8;
    color: #263741;
}

.rshof-consent__secondary:hover,
.rshof-consent__secondary:focus-visible {
    background: #f7ebd6;
}

.rshof-consent__text {
    min-height: 34px;
    border: 0;
    background: transparent;
    color: #715932;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rshof-consent__panel {
    align-self: center;
    padding: clamp(24px, 4vw, 42px);
}

.rshof-consent__panel > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.rshof-consent__panel h2 {
    font-size: clamp(34px, 4vw, 52px);
}

.rshof-consent__close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--rshof-consent-line);
    border-radius: 50%;
    background: #fff;
    color: var(--rshof-consent-navy);
    cursor: pointer;
    font-size: 27px;
    line-height: 1;
}

.rshof-consent__options {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.rshof-consent-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border: 1px solid var(--rshof-consent-line);
    border-radius: 14px;
    background: #fff;
}

.rshof-consent-option > span {
    display: grid;
    gap: 4px;
}

.rshof-consent-option strong {
    color: var(--rshof-consent-navy);
    font-size: 15px;
}

.rshof-consent-option small {
    color: var(--rshof-consent-muted);
    font-size: 12px;
    line-height: 1.35;
}

.rshof-consent-option input {
    width: 21px;
    height: 21px;
    accent-color: var(--rshof-consent-navy);
}

.rshof-consent__panel > footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
}

.rshof-consent-manage {
    position: fixed;
    left: 14px;
    right: auto;
    bottom: 14px;
    z-index: 2147482000;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(228, 213, 187, .7);
    border-radius: 999px;
    background: #18252d;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rshof-consent-page {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto 66px;
    color: var(--rshof-consent-ink);
}

.rshof-consent-page__hero {
    margin: 0 0 24px;
    padding: clamp(34px, 6vw, 70px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 11%, rgba(195, 155, 99, .42), transparent 24%),
        linear-gradient(135deg, #15232b, #293b41);
    color: #fff;
}

.rshof-consent-page__hero .rshof-eyebrow,
.rshof-consent-page__interaction .rshof-eyebrow,
.rshof-consent-page__adnote .rshof-eyebrow {
    margin: 0 0 9px;
    color: #ecdab7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.rshof-consent-page h1 {
    max-width: 930px;
    color: #fff;
    font-size: clamp(46px, 7vw, 82px);
}

.rshof-consent-page__hero > p:last-child {
    max-width: 760px;
    margin: 19px 0 0;
    color: #e5ecec;
    font-size: 17px;
    line-height: 1.55;
}

.rshof-consent-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr);
    gap: 24px;
    align-items: stretch;
}

.rshof-consent-page__grid > section,
.rshof-consent-page__actions,
.rshof-consent-page__interaction,
.rshof-consent-page__adnote {
    padding: clamp(25px, 4vw, 40px);
    border: 1px solid var(--rshof-consent-line);
    border-radius: 24px;
    background: var(--rshof-consent-paper);
    box-shadow: 0 15px 35px rgba(24, 37, 45, .06);
}

.rshof-consent-page__grid .rshof-eyebrow {
    margin: 0 0 8px;
    color: #78613e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rshof-consent-page__grid h2,
.rshof-consent-page__interaction h2,
.rshof-consent-page__adnote h2 {
    font-size: clamp(31px, 4vw, 49px);
}

.rshof-consent-page__cards {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.rshof-consent-page__cards article {
    padding: 16px;
    border-left: 3px solid #c39b63;
    background: #fff;
}

.rshof-consent-page__cards strong,
.rshof-consent-page__interaction strong {
    color: #18252d;
}

.rshof-consent-page__cards p,
.rshof-consent-page__actions p,
.rshof-consent-page__interaction p,
.rshof-consent-page__adnote p {
    color: var(--rshof-consent-muted);
    line-height: 1.52;
}

.rshof-consent-page__actions {
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 100% 0%, rgba(195, 155, 99, .21), transparent 31%),
        #f9f2e6;
}

.rshof-consent-page__actions .rshof-button {
    width: 100%;
    margin-top: 12px;
}

.rshof-consent-page__actions .rshof-button--secondary {
    border-color: #9a7a47;
    color: #18252d;
}

.rshof-consent-page__interaction,
.rshof-consent-page__adnote {
    margin-top: 24px;
}

.rshof-consent-page__interaction {
    border: 0;
    background: #18252d;
}

.rshof-consent-page__interaction h2 {
    color: #fff;
}

.rshof-consent-page__interaction > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.rshof-consent-page__interaction article {
    padding: 19px;
    border: 1px solid rgba(228, 213, 187, .25);
    border-radius: 15px;
    background: rgba(255, 255, 255, .06);
}

.rshof-consent-page__interaction strong {
    color: #f6e4bd;
    font-family: "Iowan Old Style", Baskerville, serif;
    font-size: 24px;
}

.rshof-consent-page__interaction p {
    color: #d6e0e0;
    font-size: 14px;
}

.rshof-consent-page__adnote {
    background:
        radial-gradient(circle at 100% 0%, rgba(195, 155, 99, .18), transparent 33%),
        #fffdf8;
}

.rshof-consent-page__adnote .rshof-eyebrow {
    color: #78613e;
}

@media (max-width: 850px) {
    .rshof-consent__banner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rshof-consent__brand {
        grid-template-columns: 70px 1fr;
        justify-items: start;
        text-align: left;
    }

    .rshof-consent__brand-stage {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }


    .rshof-consent__brand p {
        align-self: center;
    }

    .rshof-consent__actions {
        grid-template-columns: 1fr 1fr;
    }

    .rshof-consent__actions .rshof-consent__text {
        grid-column: 1 / -1;
    }

    .rshof-consent-page__grid,
    .rshof-consent-page__interaction > div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .rshof-consent {
        align-items: end;
        padding: 9px;
    }

    .rshof-consent__banner,
    .rshof-consent__panel {
        border-radius: 18px;
    }

    .rshof-consent__banner {
        padding: 20px;
    }

    .rshof-consent__actions {
        grid-template-columns: 1fr;
    }

    .rshof-consent__actions .rshof-consent__text {
        grid-column: auto;
    }

    .rshof-consent__panel {
        max-height: calc(100vh - 18px);
        overflow: auto;
    }

    .rshof-consent__panel > footer {
        display: grid;
    }

    .rshof-consent-page {
        width: min(100% - 20px, 1180px);
    }

    .rshof-consent-page__hero {
        border-radius: 22px;
    }

    .rshof-consent-page h1 {
        font-size: clamp(42px, 15vw, 65px);
    }
}