/*
 * Vinova public site: header, footer, home hero and content pages.
 * Also loaded by the visitor account pages and the winery portal for the shared header and footer.
 * Hero:   public/images/vinova/home-hero.jpg
 * Banner: public/images/vinova/page-banner.jpg (inner page headers and the footer scene)
 * Logo:   public/images/vinova/vinova-wordmark.png
 */

:root {
    --vn-site-plum: #3d0a2a;
    --vn-site-wine: #7a0f3d;
    --vn-site-magenta: #d6145f;
    --vn-site-magenta-dark: #b80f50;
    --vn-site-orange: #f39a1e;
    --vn-site-ink: #1f1a1d;
    --vn-site-text: #3b3337;
    --vn-site-muted: #5f5459;
    --vn-site-line: rgba(31, 26, 29, 0.1);
    --vn-site-cream: #fdf7f2;
    --vn-site-blush: #fdeef3;
    --vn-site-gutter: clamp(1rem, 4vw, 3.5rem);
    --vn-site-width: 90rem;
    --vn-site-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

.vn-site-header,
.vn-site-header *,
.vn-site-footer,
.vn-site-footer *,
.vn-site-banner,
.vn-site-banner *,
.vn-home-hero,
.vn-home-hero *,
.vn-site-main,
.vn-site-main * {
    box-sizing: border-box;
}

body.vn-site {
    margin: 0;
    background: var(--vn-site-cream);
    color: var(--vn-site-ink);
    font-family: var(--vn-site-font);
    -webkit-font-smoothing: antialiased;
}

.vn-icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

.vn-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vn-skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--vn-site-ink);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
}

.vn-skip-link:focus {
    transform: none;
}

/* Header */

.vn-site-header {
    position: relative;
    z-index: 40;
    font-family: var(--vn-site-font);
    color: var(--vn-site-ink);
    color-scheme: light;
}

.vn-site-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.vn-site-header-solid {
    background:
        linear-gradient(rgba(253, 247, 242, 0.84), rgba(253, 247, 242, 0.84)),
        url('../images/vinova/page-banner.jpg') center 35% / cover no-repeat;
    border-bottom: 1px solid var(--vn-site-line);
}

.vn-site-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: var(--vn-site-width);
    margin: 0 auto;
    padding: 1.25rem var(--vn-site-gutter);
}

.vn-site-header-solid .vn-site-bar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.vn-site-logo {
    display: block;
    flex-shrink: 0;
}

.vn-site-logo img {
    display: block;
    width: auto;
    height: 4.25rem;
}

.vn-site-header-solid .vn-site-logo img {
    height: 3.25rem;
}

.vn-site-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.vn-site-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.vn-site-item {
    position: relative;
}

.vn-site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.65rem 0.8rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--vn-site-ink);
    font: 500 0.95rem/1.2 var(--vn-site-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.vn-site-link:hover,
.vn-site-item.is-open > .vn-site-link {
    background: rgba(255, 255, 255, 0.6);
    color: var(--vn-site-magenta-dark);
}

.vn-site-link:focus-visible,
.vn-site-dropdown a:focus-visible,
.vn-site-search:focus-visible,
.vn-site-pill:focus-visible,
.vn-site-cta:focus-visible,
.vn-site-toggle:focus-visible,
.vn-site-footer a:focus-visible,
.vn-site-newsletter button:focus-visible {
    outline: 2px solid var(--vn-site-magenta);
    outline-offset: 2px;
}

.vn-site-chevron {
    width: 0.95rem;
    height: 0.95rem;
    transition: transform 0.15s ease;
}

.vn-site-item.is-open .vn-site-chevron {
    transform: rotate(180deg);
}

.vn-site-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 13.5rem;
    margin: 0;
    padding: 0.5rem;
    list-style: none;
    border-radius: 1rem;
    background: #fff;
    box-shadow:
        0 24px 48px -16px rgba(60, 12, 30, 0.35),
        0 0 0 1px var(--vn-site-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

/* Bridges the gap so the menu stays open while the pointer moves down to it. */
.vn-site-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.5rem;
}

.vn-site-item.is-open > .vn-site-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.vn-site-dropdown a {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 0.6rem;
    color: var(--vn-site-ink);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
}

.vn-site-dropdown a:hover {
    background: var(--vn-site-blush);
    color: var(--vn-site-magenta-dark);
}

.vn-site-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vn-site-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    color: var(--vn-site-ink);
    text-decoration: none;
}

.vn-site-search .vn-icon {
    width: 1.3rem;
    height: 1.3rem;
}

.vn-site-search:hover {
    background: rgba(255, 255, 255, 0.6);
}

.vn-site-search-label {
    display: none;
}

.vn-site-pill,
.vn-site-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border: 0;
    border-radius: 999px;
    font: 600 0.95rem/1.2 var(--vn-site-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.vn-site-pill {
    background: #fff;
    color: var(--vn-site-ink);
    box-shadow: 0 6px 18px -10px rgba(60, 12, 30, 0.45);
}

.vn-site-pill:hover {
    color: var(--vn-site-magenta-dark);
}

.vn-site-cta {
    background: linear-gradient(135deg, #ec1c6b 0%, var(--vn-site-magenta) 50%, var(--vn-site-magenta-dark) 100%);
    color: #fff;
    box-shadow: 0 14px 28px -12px rgba(214, 20, 95, 0.75);
}

.vn-site-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px -12px rgba(214, 20, 95, 0.85);
}

.vn-site-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--vn-site-ink);
    box-shadow: 0 6px 18px -10px rgba(60, 12, 30, 0.45);
    cursor: pointer;
}

.vn-site-toggle .vn-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.vn-site-toggle-close,
.vn-site-header.is-open .vn-site-toggle-open {
    display: none;
}

.vn-site-header.is-open .vn-site-toggle-close {
    display: block;
}

@media (min-width: 1241px) and (hover: hover) {
    .vn-site-item:hover > .vn-site-dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* Header: small laptops tighten the spacing so the full menu still fits */

@media (min-width: 1241px) and (max-width: 1440px) {
    .vn-site-bar {
        gap: 1rem;
    }

    .vn-site-logo img {
        height: 3.6rem;
    }

    .vn-site-link {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .vn-site-actions {
        gap: 0.5rem;
    }

    .vn-site-pill,
    .vn-site-cta {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }
}

/* Header: tablets and phones collapse the menu into a panel */

@media (max-width: 1240px) {
    .vn-site-toggle {
        display: inline-flex;
    }

    .vn-site-nav {
        position: absolute;
        top: calc(100% - 0.25rem);
        left: var(--vn-site-gutter);
        right: var(--vn-site-gutter);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        max-height: calc(100dvh - 7rem);
        overflow-y: auto;
        padding: 0.75rem;
        border-radius: 1.25rem;
        background: #fff;
        box-shadow:
            0 30px 60px -20px rgba(60, 12, 30, 0.45),
            0 0 0 1px var(--vn-site-line);
    }

    .vn-site-header.is-open .vn-site-nav {
        display: flex;
    }

    .vn-site-menu {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }

    .vn-site-link {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem 0.9rem;
        border-radius: 0.75rem;
        font-size: 1rem;
    }

    .vn-site-link:hover,
    .vn-site-item.is-open > .vn-site-link {
        background: var(--vn-site-blush);
    }

    .vn-site-dropdown {
        position: static;
        display: none;
        min-width: 0;
        padding: 0.25rem 0 0.5rem 0.75rem;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .vn-site-item.is-open > .vn-site-dropdown {
        display: block;
    }

    .vn-site-actions {
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.75rem;
        border-top: 1px solid var(--vn-site-line);
    }

    .vn-site-search {
        width: auto;
        justify-content: flex-start;
        padding: 0 0.9rem;
        border-radius: 0.75rem;
    }

    .vn-site-search:hover {
        background: var(--vn-site-blush);
    }

    .vn-site-search-label {
        display: inline;
        font-weight: 500;
    }

    .vn-site-pill {
        box-shadow: 0 0 0 1px var(--vn-site-line);
    }
}

@media (max-width: 640px) {
    .vn-site-bar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .vn-site-logo img {
        height: 3.25rem;
    }

    .vn-site-header-solid .vn-site-logo img {
        height: 2.75rem;
    }
}

/* Home hero */

.vn-home-hero {
    position: relative;
    display: flex;
    min-height: clamp(40rem, 62vw, 48rem);
    background: url('../images/vinova/home-hero.jpg') center 55% / cover no-repeat;
    background-color: #f3b27a;
    font-family: var(--vn-site-font);
}

.vn-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 248, 241, 0.82) 0%, rgba(255, 248, 241, 0.5) 32%, rgba(255, 248, 241, 0) 58%),
        linear-gradient(180deg, rgba(255, 248, 241, 0.45) 0%, rgba(255, 248, 241, 0) 22%);
    pointer-events: none;
}

.vn-home-hero-inner {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
    max-width: var(--vn-site-width);
    margin: 0 auto;
    padding: 11.5rem var(--vn-site-gutter) 2.5rem;
}

.vn-home-copy {
    max-width: 40rem;
}

.vn-home-title {
    margin: 0;
    color: var(--vn-site-plum);
    font-size: clamp(2.75rem, 5.8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
}

.vn-home-title-accent {
    position: relative;
    display: block;
    width: fit-content;
    padding-bottom: 0.08em;
    background: linear-gradient(90deg, var(--vn-site-magenta) 0%, #ec2f5a 45%, #f26a2e 85%, var(--vn-site-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vn-home-rays {
    position: absolute;
    top: -0.28em;
    right: -0.62em;
    width: 0.62em;
    height: 0.62em;
    fill: none;
    stroke: var(--vn-site-orange);
    stroke-width: 6;
    stroke-linecap: round;
}

.vn-home-lede {
    max-width: 34rem;
    margin: 1.5rem 0 0;
    color: #2b2328;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.45;
}

.vn-home-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 30px 60px -24px rgba(60, 12, 30, 0.5);
}

.vn-home-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.6rem 2.5rem 0.6rem 0.9rem;
    border: 1px solid var(--vn-site-line);
    border-radius: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vn-home-field:focus-within {
    border-color: var(--vn-site-magenta);
    box-shadow: 0 0 0 3px rgba(214, 20, 95, 0.15);
}

.vn-home-field-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--vn-site-magenta);
}

.vn-home-field-body {
    flex: 1;
    min-width: 0;
}

.vn-home-field label {
    display: block;
    color: var(--vn-site-muted);
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.vn-home-field select {
    position: static;
    display: block;
    width: 100%;
    padding: 0.1rem 0 0;
    border: 0;
    background: transparent;
    color: var(--vn-site-ink);
    font: 600 0.92rem/1.3 var(--vn-site-font);
    text-overflow: ellipsis;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.vn-home-field select:focus {
    outline: none;
}

.vn-home-field-chevron {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    width: 1.1rem;
    height: 1.1rem;
    transform: translateY(-50%);
    color: var(--vn-site-ink);
    pointer-events: none;
}

.vn-home-search-button {
    padding: 1rem 1.6rem;
    border-radius: 0.9rem;
    font-size: 1rem;
}

@media (max-width: 1180px) {
    .vn-home-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vn-home-search-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .vn-home-hero {
        min-height: 0;
        background-position: 62% center;
    }

    .vn-home-hero::before {
        background:
            linear-gradient(180deg, rgba(255, 248, 241, 0.88) 0%, rgba(255, 248, 241, 0.6) 45%, rgba(255, 248, 241, 0.1) 75%);
    }

    .vn-home-hero-inner {
        padding-top: 7.5rem;
        padding-bottom: 1.5rem;
        gap: 12rem;
    }

    .vn-home-search {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .vn-home-rays {
        right: -0.5em;
    }
}

/* Content page banner */

.vn-site-banner {
    position: relative;
    background: url('../images/vinova/page-banner.jpg') center 40% / cover no-repeat;
    background-color: #f7d5c4;
    font-family: var(--vn-site-font);
}

.vn-site-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(253, 247, 242, 0.75) 0%, rgba(253, 247, 242, 0.35) 55%, rgba(253, 247, 242, 0.1) 100%),
        linear-gradient(180deg, rgba(253, 247, 242, 0) 60%, var(--vn-site-cream) 100%);
    pointer-events: none;
}

.vn-site-banner-inner {
    position: relative;
    max-width: var(--vn-site-width);
    margin: 0 auto;
    padding: 2.5rem var(--vn-site-gutter) 5rem;
}

.vn-site-banner h1 {
    margin: 0;
    color: var(--vn-site-plum);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.vn-site-banner p {
    max-width: 36rem;
    margin: 0.85rem 0 0;
    color: var(--vn-site-text);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Content pages */

.vn-site-main {
    font-family: var(--vn-site-font);
}

.vn-site-main:focus {
    outline: none;
}

.vn-prose {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1rem var(--vn-site-gutter) 5rem;
    color: var(--vn-site-text);
    font-size: 1.02rem;
    line-height: 1.7;
}

.vn-prose-meta {
    color: var(--vn-site-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.vn-prose h2 {
    margin: 2.75rem 0 0.75rem;
    color: var(--vn-site-plum);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.vn-prose h3 {
    margin: 1.75rem 0 0.5rem;
    color: var(--vn-site-ink);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.vn-prose p,
.vn-prose ul {
    margin: 0 0 1rem;
}

.vn-prose ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.vn-prose li {
    margin-bottom: 0.45rem;
}

.vn-prose li::marker {
    color: var(--vn-site-magenta);
}

.vn-prose strong {
    color: var(--vn-site-ink);
}

.vn-prose a {
    color: var(--vn-site-magenta-dark);
    font-weight: 600;
    text-underline-offset: 0.2em;
}

/* Footer */

.vn-site-footer {
    background: var(--vn-site-cream);
    color: var(--vn-site-ink);
    font-family: var(--vn-site-font);
    color-scheme: light;
}

.vn-site-footer-main {
    display: grid;
    grid-template-columns: minmax(16rem, 1.5fr) repeat(3, minmax(9rem, 0.75fr)) minmax(17rem, 1.35fr);
    gap: 2.5rem;
    max-width: var(--vn-site-width);
    margin: 0 auto;
    padding: 4rem var(--vn-site-gutter) 2.5rem;
}

.vn-site-footer-logo img {
    display: block;
    width: auto;
    height: 3.75rem;
}

.vn-site-footer-brand p {
    max-width: 21rem;
    margin: 1rem 0 0;
    color: var(--vn-site-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.vn-site-socials {
    display: flex;
    gap: 0.6rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.vn-site-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(31, 26, 29, 0.07);
    color: var(--vn-site-ink);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.vn-site-socials a:hover {
    background: var(--vn-site-magenta);
    color: #fff;
}

.vn-site-socials .vn-icon {
    width: 1.05rem;
    height: 1.05rem;
}

.vn-site-footer h2 {
    margin: 0 0 1rem;
    color: var(--vn-site-plum);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.vn-site-footer-col + .vn-site-footer-col {
    padding-left: 2rem;
    border-left: 1px solid var(--vn-site-line);
}

.vn-site-footer-col ul {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vn-site-footer-col a {
    color: var(--vn-site-text);
    font-size: 0.92rem;
    text-decoration: none;
}

.vn-site-footer-col a:hover {
    color: var(--vn-site-magenta-dark);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.vn-site-footer-newsletter p {
    margin: 0;
    color: var(--vn-site-text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.vn-site-newsletter {
    position: relative;
    margin-top: 1.25rem;
}

.vn-site-newsletter input {
    display: block;
    width: 100%;
    padding: 0.95rem 3.75rem 0.95rem 1.1rem;
    border: 1px solid rgba(31, 26, 29, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--vn-site-ink);
    font: 400 0.92rem/1.2 var(--vn-site-font);
}

.vn-site-newsletter input::placeholder {
    color: #8a7f84;
}

.vn-site-newsletter input:focus {
    outline: none;
    border-color: var(--vn-site-magenta);
    box-shadow: 0 0 0 3px rgba(214, 20, 95, 0.15);
}

.vn-site-newsletter button {
    position: absolute;
    top: 50%;
    right: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--vn-site-magenta);
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
}

.vn-site-newsletter button:hover {
    background: var(--vn-site-magenta-dark);
}

.vn-site-footer-scene {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(9rem, 17vw, 16rem);
    background: url('../images/vinova/page-banner.jpg') 70% 62% / cover no-repeat;
    background-color: #e9b8a4;
}

.vn-site-footer-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--vn-site-cream) 0%, rgba(253, 247, 242, 0) 45%),
        linear-gradient(180deg, rgba(45, 12, 28, 0) 55%, rgba(45, 12, 28, 0.55) 100%);
    pointer-events: none;
}

.vn-site-footer-legal {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    width: 100%;
    max-width: var(--vn-site-width);
    margin: 0 auto;
    padding: 1.25rem var(--vn-site-gutter);
    color: #fff;
    font-size: 0.9rem;
    text-shadow: 0 1px 6px rgba(45, 12, 28, 0.6);
}

.vn-site-footer-legal p {
    margin: 0;
}

@media (max-width: 1180px) {
    .vn-site-footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vn-site-footer-brand,
    .vn-site-footer-newsletter {
        grid-column: 1 / -1;
    }

    .vn-site-footer-newsletter {
        max-width: 28rem;
    }
}

@media (max-width: 640px) {
    .vn-site-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
        padding-top: 3rem;
    }

    .vn-site-footer-col + .vn-site-footer-col {
        padding-left: 0;
        border-left: 0;
    }
}

/* Visitor and auth pages: the card-on-photo layout sits between the header and footer */

.vn-site-header ~ .vn-auth,
body:has(.vn-site-header) .vn-auth {
    min-height: 0;
}

body:has(.vn-site-header) .vn-auth-main {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .vn-site-header *,
    .vn-site-footer *,
    .vn-home-hero * {
        transition: none !important;
    }
}
