.fe-legal-page {
    --fe-ink: #111111;
    --fe-ivory: #f7f5f0;
    --fe-paper: #fffdf8;
    --fe-line: #ddd8cf;
    --fe-muted: #4a4a4a;
    --fe-gold: #c6a87a;
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 72px 0 88px;
    color: var(--fe-ink);
    font-family: inherit;
}

.fe-legal-page *,
.fe-legal-page *::before,
.fe-legal-page *::after {
    box-sizing: border-box;
}

body:has(.fe-legal-page) .page-header,
body:has(.fe-legal-page) .entry-header,
body:has(.fe-legal-page) .elementor-widget-theme-page-title,
body:has(.fe-legal-page) .page-title,
body:has(.fe-legal-page) .page-title-bar,
body:has(.fe-legal-page) .breadcrumb-wrap {
    display: none !important;
}

.fe-legal-hero {
    max-width: 840px;
    margin-bottom: 34px;
}

.fe-legal-kicker {
    margin: 0 0 10px;
    color: var(--fe-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.fe-legal-page h1,
.fe-legal-page h2 {
    margin: 0;
    color: var(--fe-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.fe-legal-page h1 {
    font-size: clamp(44px, 7vw, 86px);
    line-height: .96;
}

.fe-legal-page h2 {
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.08;
}

.fe-legal-page p,
.fe-legal-page li {
    color: var(--fe-muted);
    font-size: 15px;
    line-height: 1.72;
}

.fe-legal-hero p {
    max-width: 700px;
    margin: 18px 0 0;
    font-size: 16px;
}

.fe-legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fe-legal-card,
.fe-legal-contact {
    border: 1px solid var(--fe-line);
    border-radius: 6px;
    background: var(--fe-paper);
    box-shadow: 0 20px 45px rgba(17, 17, 17, .04);
}

.fe-legal-card {
    padding: 28px;
}

.fe-legal-card--wide,
.fe-legal-contact {
    grid-column: 1 / -1;
}

.fe-legal-card p:last-child,
.fe-legal-contact p:last-child {
    margin-bottom: 0;
}

.fe-legal-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding-left: 20px;
}

.fe-legal-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    gap: 22px 32px;
    align-items: center;
    padding: 32px;
    background: var(--fe-ink);
}

.fe-legal-contact .fe-legal-kicker,
.fe-legal-contact h2 {
    color: #ffffff;
}

.fe-legal-contact p {
    color: rgba(255, 255, 255, .76);
}

.fe-legal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.fe-legal-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fe-gold);
    border-radius: 4px;
    background: var(--fe-gold);
    color: var(--fe-ink) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.2;
    padding: 0 18px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.fe-legal-button:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--fe-ink) !important;
}

.fe-legal-button--ghost {
    background: transparent;
    color: #ffffff !important;
}

.fe-legal-button--ghost:hover {
    background: #ffffff;
    color: var(--fe-ink) !important;
}

.fe-legal-note {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px !important;
}

@media (max-width: 760px) {
    .fe-legal-page {
        width: min(100% - 24px, 1180px);
        padding: 42px 0 58px;
    }

    .fe-legal-grid,
    .fe-legal-contact {
        grid-template-columns: 1fr;
    }

    .fe-legal-card,
    .fe-legal-contact {
        padding: 22px;
    }

    .fe-legal-actions {
        justify-content: flex-start;
    }

    .fe-legal-button {
        width: 100%;
    }
}
