/* ==========================================================================
   Vans page (2026 redesign). Builds on home.css (cards, FAQ, tokens).
   ========================================================================== */

/* ---------- Hero: one static, optimised photo ---------- */

.tvg-hero--page {
    min-height: clamp(400px, 38vw, 540px);
    padding: 150px 0 56px;
    background: #2e2a27;
}

.tvg-hero__pic {
    position: absolute;
    inset: 0;
    display: block;
}

.tvg-hero__pic::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 23, 21, 0.55) 0%, rgba(25, 23, 21, 0.18) 45%, rgba(25, 23, 21, 0.5) 100%);
}

.tvg-hero__pic img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: 60% 55%;
    margin: 0 !important;
}

.tvg-hero--page .tvg-hero__title {
    font-size: clamp(34px, 4.6vw, 54px);
}

.tvg-hero__credit {
    position: absolute;
    right: 12px;
    bottom: 6px;
    margin: 0;
    font-size: 9.5px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.tvg-hero__credit a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 2px;
}

.tvg-hero__credit a:hover,
.tvg-hero__credit a:focus-visible {
    color: #fff;
    text-decoration-color: currentColor;
}

/* ---------- Search result notice ---------- */

.tvg-notice {
    max-width: 760px;
    margin: -8px auto 28px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--tvg-mint);
    color: var(--tvg-mint-ink);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.tvg-notice--warn {
    background: var(--beige-color);
    color: var(--black-color);
}

.tvg-notice a {
    margin-left: 10px;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Van cards, vans-page size ---------- */

.tvg-vans--page {
    padding-top: clamp(40px, 5vw, 64px);
}

.tvg-vans__grid--page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
}

/* Three per row; a short last row stays centred. */
.tvg-vans__grid--page .tvg-van {
    flex: 0 0 calc((100% - 52px) / 3);
    max-width: calc((100% - 52px) / 3);
}

.tvg-vans__grid--page .tvg-van__body {
    padding: 20px 22px 22px;
    gap: 8px;
}

.tvg-vans__grid--page .tvg-van__name {
    font-size: 24px;
}

.tvg-van__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 2px;
    padding: 0;
}

.tvg-van__tags li {
    margin: 0;
    padding: 4px 11px;
    border-radius: var(--border-radius);
    background: var(--tvg-mint);
    color: var(--tvg-mint-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

/* ---------- What's included ---------- */

.tvg-info {
    background: var(--beige-color);
    padding: clamp(40px, 5vw, 64px) 0;
}

.tvg-info__grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
}

.tvg-info__item {
    margin: 0;
}

.tvg-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white-color);
    color: var(--tvg-mint-ink);
    margin-bottom: 14px;
}

.tvg-info__icon svg {
    width: 26px;
    height: 26px;
}

.tvg-info__item h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px;
}

.tvg-info__item p {
    font-size: 15px;
    line-height: 1.6;
    color: #5a5c62;
    margin: 0;
}

/* ---------- Other stays ---------- */

.tvg-stays {
    padding-top: 0;
}

.tvg-stays__grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
}

.tvg-stay {
    margin: 0;
}

.tvg-stay a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--tvg-line);
    border-radius: var(--tvg-radius);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.tvg-stay a:hover {
    box-shadow: 0 14px 34px rgba(64, 66, 72, 0.12);
}

.tvg-stay__img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--beige-color);
    overflow: hidden;
}

.tvg-stay__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
}

.tvg-stay__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px 18px;
}

.tvg-stay__name {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.tvg-stay__cta {
    color: var(--dark-beige-color);
    font-size: 15px;
    font-weight: 700;
}

/* ---------- Help band ---------- */

.tvg-help {
    background: var(--tvg-mint);
    padding: clamp(36px, 5vw, 56px) 0;
}

.tvg-help__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
}

.tvg-help h2 {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: var(--dark-beige-color);
    margin: 0 0 6px;
}

.tvg-help p {
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
    max-width: 560px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    .tvg-vans__grid--page .tvg-van {
        flex-basis: calc((100% - 26px) / 2);
        max-width: calc((100% - 26px) / 2);
    }

    .tvg-info__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .tvg-hero--page {
        padding: 150px 0 52px;
    }

    .tvg-hero__pic img {
        object-position: 50% 50%;
    }

    .tvg-stays__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* Vans stack as full cards on this page: it's the main content. */
    .tvg-vans__grid--page {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow: visible;
        margin: 0;
        padding: 0;
        gap: 18px;
    }

    .tvg-vans__grid--page .tvg-van {
        flex-basis: auto;
        max-width: none;
    }

    .tvg-info__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tvg-info__item {
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 16px;
    }

    .tvg-info__icon {
        grid-row: span 2;
        margin: 0;
    }

    .tvg-help__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
