/* ==========================================================================
   Editorial / Legal Pages
   ========================================================================== */

/* ── Shared overrides ───────────────────────────────────────────────── */
body.vane-editorial-page .site.grid-container {
    max-width: 1280px;
}

body.vane-editorial-page .entry-header {
    max-width: 780px;
    margin: 0 auto 30px;
}

body.vane-editorial-page .entry-content {
    max-width: 100%;
}

body.vane-editorial-page .vane-editorial-page__inner {
    max-width: 780px;
    margin: 0 auto;
}

/* ── LEGAL PAGES — dark background ──────────────────────────────────── */

body.vane-editorial-page--legal,
body.vane-editorial-page--legal #page,
body.vane-editorial-page--legal .site-content,
body.vane-editorial-page--legal .site.grid-container,
body.vane-editorial-page--legal #primary,
body.vane-editorial-page--legal .site-main,
body.vane-editorial-page--legal .inside-article {
    background: transparent;
}

body.vane-editorial-page--legal {
    background-color: #1d1e17;
    background-image: url('/wp-content/uploads/2026/04/home/hero-slider-3.jpeg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

body.vane-editorial-page--legal #page {
    position: relative;
}

body.vane-editorial-page--legal #page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

body.vane-editorial-page--legal .site-content,
body.vane-editorial-page--legal .site-footer {
    position: relative;
    z-index: 1;
}

/* Remove footer margin-top hairline on dark pages */
body.vane-editorial-page--legal .vane-footer {
    margin-top: 0;
}

/* ── Entry header & title ───────────────────────────────────────────── */
body.vane-editorial-page--legal .entry-title,
body.vane-editorial-page--legal .entry-header {
    max-width: 100%;
    margin: 0 0 36px;
}

body.vane-editorial-page--legal .entry-title {
    font-family: var(--vane-font-primary);
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--vane-white) !important;
    text-transform: uppercase;
}


body.vane-editorial-page--legal .site.grid-container {
    padding-left: clamp(24px, 6vw, 96px);
    padding-right: clamp(24px, 6vw, 96px);
}

body.vane-editorial-page--legal .site-main {
    padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

body.vane-editorial-page--legal .inside-article {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 96px auto 0;
    padding: 46px 52px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
}

/* ── Inner container ────────────────────────────────────────────────── */
body.vane-editorial-page--legal .vane-editorial-page__inner {
    max-width: 100%;
}

/* ── Lead / intro text ──────────────────────────────────────────────── */
body.vane-editorial-page--legal .vane-editorial-page__intro,
body.vane-editorial-page--legal .vane-editorial-page__lead p {
    font-family: var(--vane-font-primary);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--vane-white);
    margin: 0 0 8px;
}

body.vane-editorial-page--legal .vane-editorial-page__lead {
    margin-bottom: 16px;
}

/* ── Sections ───────────────────────────────────────────────────────── */
body.vane-editorial-page--legal .vane-editorial-page__section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.vane-editorial-page--legal .vane-editorial-page__section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

body.vane-editorial-page--legal .vane-editorial-page__section h2 {
    margin: 0 0 20px;
    font-family: var(--vane-font-primary);
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--vane-white);
    text-transform: uppercase;
}


body.vane-editorial-page--legal .vane-editorial-page__section h3 {
    margin: 24px 0 10px;
    font-family: var(--vane-font-primary);
    font-size: clamp(15px, 1.8vw, 19px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--vane-white);
    text-transform: uppercase;
}


/* ── Body text ──────────────────────────────────────────────────────── */
body.vane-editorial-page--legal .vane-editorial-page p,
body.vane-editorial-page--legal .vane-editorial-page li {
    font-family: var(--vane-font-primary);
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
}

body.vane-editorial-page--legal .vane-editorial-page p {
    margin: 0 0 12px;
}

/* ── List items with ">" marker ─────────────────────────────────────── */
body.vane-editorial-page--legal .vane-editorial-page ul {
    list-style: none;
    margin: 8px 0 12px;
    padding: 0;
}

body.vane-editorial-page--legal .vane-editorial-page ul li {
    position: relative;
    padding-left: 1.4em;
}

body.vane-editorial-page--legal .vane-editorial-page ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--vane-white);
    font-weight: 700;
}

body.vane-editorial-page--legal .vane-editorial-page li + li {
    margin-top: 8px;
}

/* ── Links ──────────────────────────────────────────────────────────── */
body.vane-editorial-page--legal .vane-editorial-page a {
    color: var(--vane-white);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

/* ── Bold highlights ────────────────────────────────────────────────── */
body.vane-editorial-page--legal .vane-editorial-page strong {
    font-weight: 700;
    color: var(--vane-white);
}

/* ── ABOUT PAGE — split layout ──────────────────────────────────────── */

body.page.vane-editorial-page--about .site.grid-container,
body.page.vane-editorial-page--about .site-content,
body.page.vane-editorial-page--about #primary,
body.page.vane-editorial-page--about .site-main,
body.page.vane-editorial-page--about .inside-article,
body.page.vane-editorial-page--about .entry-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
    float: none;
}

body.page.vane-editorial-page--about .site.grid-container,
body.page.vane-editorial-page--about .entry-content {
    max-width: 100% !important;
}

body.page.vane-editorial-page--about .site.grid-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page.vane-editorial-page--about .site-main {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    margin-top: 80px !important;
}

body.page.vane-editorial-page--about .entry-header {
    display: none;
}

/* Split hero */
.vane-about-split {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    gap: 7px;
    width: 100%;
    margin-top: 0;
    min-height: calc(100vh - 80px);
}

/* Left panel — image */
.vane-about-split__image {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
}

.vane-about-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.vane-about-split__title-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    padding: clamp(36px, 4vw, 56px);
    padding-top: clamp(52px, 6vw, 92px);
}

.vane-about-split__title-overlay h1 {
    font-family: var(--vane-font-primary);
    font-size: clamp(40px, 5.5vw, 78px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--vane-white);
    text-transform: uppercase;
    margin: 0;
}

/* Right panel — content */
.vane-about-split__content {
    background-color: #efefef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(52px, 6vw, 92px) clamp(32px, 5vw, 80px) clamp(32px, 5vw, 72px);
}

.vane-about-split__text p {
    font-family: var(--vane-font-primary);
    font-size: clamp(15px, 1.7vw, 20px);
    font-weight: 700;
    line-height: 1.55;
    color: var(--vane-black);
    margin: 0 0 20px;
}

.vane-about-split__text p:last-child {
    margin-bottom: 0;
}

.vane-about-split__logo {
    margin-top: clamp(32px, 4vw, 56px);
}

.vane-about-split__logo svg {
    width: clamp(110px, 12vw, 168px);
    height: auto;
    display: block;
}

/* ── Mobile — stack panels ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .vane-about-split {
        display: block;
        gap: 7px;
        min-height: auto;
    }

    .vane-about-split__image {
        width: 100%;
        height: auto;
        min-height: 0;
        background: transparent;
    }

    .vane-about-split__image img {
        display: none;
    }

    .vane-about-split__title-overlay {
        position: static;
        inset: auto;
        display: block;
        padding: 0 24px 20px;
    }

    .vane-about-split__title-overlay h1 {
        color: var(--vane-black);
        font-size: clamp(34px, 12vw, 48px);
    }

    .vane-about-split__content {
        padding: 0 24px 40px;
        background: var(--vane-white);
    }

    .vane-about-split__text p {
        font-weight: 400;
    }

    .vane-about-split__logo {
        display: none;
    }

    /* Legal pages mobile */
    body.vane-editorial-page--legal .site.grid-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.vane-editorial-page--legal .inside-article {
        margin-top: 92px;
        padding: 34px 24px;
        border-radius: 22px;
    }

    body.vane-editorial-page--legal .entry-title {
        font-size: clamp(32px, 8vw, 52px);
    }

    body.vane-editorial-page--legal .vane-editorial-page__section {
        margin-top: 30px;
        padding-top: 24px;
    }

    body.vane-editorial-page--legal .vane-editorial-page p,
    body.vane-editorial-page--legal .vane-editorial-page li {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* ── LIGHT pages (kept for non-legal, non-about uses) ───────────────── */
body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page__intro,
body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page__lead p {
    margin: 0;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.7;
    color: #1a1a1a;
}

body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page__lead {
    margin-bottom: 36px;
}

body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page__section {
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page__section:first-of-type {
    margin-top: 34px;
}

body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page__section h2 {
    margin: 0 0 16px;
    font-family: var(--vane-font-primary);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--vane-black);
}

body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page p,
body.vane-editorial-page:not(.vane-editorial-page--legal):not(.vane-editorial-page--about) .vane-editorial-page li {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}
