/* ==========================================================================
   Homepage (2026 redesign)
   Brand: mauve (--dark-beige-color) for headings and buttons, beige
   (--beige-color), text (--black-color), Lora. Second accent: soft mint,
   used for one band and small accents only.
   ========================================================================== */

.tvg-home {
    --tvg-gap: clamp(52px, 7vw, 88px);
    --tvg-radius: 18px;
    --tvg-muted: #6b6d73;
    --tvg-line: rgba(64, 66, 72, 0.12);
    --tvg-mint: #d9e7e3;
    --tvg-mint-strong: #7eb9ae;
    --tvg-mint-ink: #2f5f57;
    --tvg-mauve-dark: #805351;
    color: var(--black-color);
    font-family: 'Lora', serif;
}

.tvg-home h2,
.tvg-home h3 {
    font-family: 'Lora', serif;
    letter-spacing: 0;
}

.tvg-wrap {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.tvg-wrap--narrow {
    width: min(820px, calc(100% - 40px));
}

.tvg-section {
    padding: var(--tvg-gap) 0;
}

.tvg-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(28px, 4vw, 44px);
}

.tvg-head h2 {
    color: var(--dark-beige-color);
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
}

.tvg-head p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--tvg-muted);
    margin: 0;
}

.tvg-center {
    text-align: center;
    margin: 36px 0 0;
}

.tvg-textlink {
    color: var(--dark-beige-color);
    font-size: 17px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.tvg-textlink:hover {
    color: var(--tvg-mauve-dark);
}

.tvg-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: var(--border-radius);
    background: var(--dark-beige-color);
    color: var(--white-color);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.tvg-btn:hover {
    background: var(--tvg-mauve-dark);
    color: var(--white-color);
}

.tvg-btn:focus-visible,
.tvg-textlink:focus-visible {
    outline: 3px solid var(--dark-beige-color);
    outline-offset: 3px;
}

.tvg-stars {
    display: inline-flex;
    gap: 2px;
}

.tvg-stars svg {
    width: 20px;
    height: 20px;
    fill: #f2b01e;
}

.tvg-stars--sm svg {
    width: 16px;
    height: 16px;
}

/* ---------- Hero ---------- */

.tvg-hero {
    position: relative;
    min-height: min(72vh, 680px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 170px 0 64px;
    color: var(--white-color);
    text-align: center;
    overflow: hidden;
}

.tvg-hero__bg {
    position: absolute;
    inset: 0;
    background: url('/images/hero-search-bg.jpg') center / cover no-repeat;
}

.tvg-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 28, 26, 0.45) 0%, rgba(30, 28, 26, 0.25) 45%, rgba(30, 28, 26, 0.55) 100%);
}

.tvg-hero__inner {
    position: relative;
    width: min(1000px, calc(100% - 40px));
}

.tvg-hero__title {
    font-size: clamp(36px, 5.4vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 12px;
    color: var(--white-color);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.tvg-hero__lead {
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.55;
    max-width: 640px;
    margin: 0 auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.tvg-hero .hero-search {
    margin-top: 30px;
    max-width: 860px;
    padding: 0;
}

.tvg-hero .hero-search__submit {
    background: var(--dark-beige-color);
}

.tvg-hero .hero-search__submit svg {
    width: 18px;
    height: 18px;
}

.tvg-hero .hero-search__submit:hover {
    background: var(--tvg-mauve-dark);
}

.tvg-hero .hero-search__field select:focus-visible,
.tvg-hero .hero-search__field input:focus-visible,
.tvg-hero .hero-search__submit:focus-visible {
    outline-color: var(--dark-beige-color);
}

/* ---------- Trust strip ---------- */

.tvg-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 36px;
    margin: 0;
    padding: 22px 20px;
    border-bottom: 1px solid var(--tvg-line);
    font-size: 16px;
}

.tvg-trust li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.tvg-trust__tick {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--tvg-mint-ink);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tvg-trust__star svg {
    width: 20px;
    height: 20px;
    fill: #f2b01e;
    display: block;
}

/* ---------- Vans ---------- */

.tvg-vans__grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
}

.tvg-van {
    margin: 0;
}

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

.tvg-van__link:hover,
.tvg-van__link:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(64, 66, 72, 0.14);
}

.tvg-van__link:focus-visible {
    outline: 3px solid var(--dark-beige-color);
    outline-offset: 2px;
}

.tvg-van__img,
.tvg-post__img {
    position: relative;
    overflow: hidden;
    background: var(--beige-color);
}

.tvg-van__img {
    aspect-ratio: 4 / 3;
}

.tvg-van__img img,
.tvg-post__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    max-width: none;
    margin: 0 !important;
    object-fit: cover;
}

/* Per-photo crop: image is scaled and shifted so the van, not the
   landscape, fills the card. Values come from treevangang_van_photo_crops(). */
.tvg-van__img.has-crop img {
    inset: auto;
    left: var(--crop-l);
    top: var(--crop-t);
    width: var(--crop-w) !important;
    height: auto !important;
    object-fit: fill;
}

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

.tvg-van__name {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--black-color);
}

.tvg-van__meta {
    font-size: 14px;
    color: var(--tvg-muted);
    margin: 0;
}

.tvg-van__price {
    font-size: 16px;
    margin: 6px 0 0;
}

.tvg-van__price strong {
    font-size: 20px;
    color: var(--black-color);
}

.tvg-van__cta {
    margin-top: auto;
    padding-top: 12px;
    color: var(--dark-beige-color);
    font-weight: 700;
    font-size: 15px;
}

/* ---------- Testimonials ---------- */

.tvg-testimonials {
    background: var(--tvg-mint);
}

.tvg-testimonials__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0;
}

.tvg-testimonials__score {
    font-size: 32px;
    font-weight: 700;
    color: var(--black-color);
    line-height: 1;
}

.tvg-testimonials__rating a {
    color: var(--tvg-mint-ink);
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

.tvg-quote {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 26px 26px 24px;
    background: var(--white-color);
    border-radius: var(--tvg-radius);
}

.tvg-quote blockquote {
    flex: 1;
    margin: 0;
    padding: 0;
    border: none;
    color: var(--black-color);
    font-style: normal;
}

.tvg-quote blockquote::before,
.tvg-quote blockquote::after {
    content: none;
}

.tvg-quote blockquote p {
    color: var(--black-color);
    font-size: 16px;
    line-height: 1.65;
    font-style: normal;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tvg-quote__who {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--tvg-line);
    font-size: 14px;
    color: var(--tvg-muted);
}

.tvg-quote__who strong {
    font-size: 16px;
    color: var(--black-color);
}

/* ---------- How it works ---------- */

.tvg-steps__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 0;
    padding: 0;
    position: relative;
}

/* The "road" linking the three steps. */
.tvg-steps__list::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    border-top: 2px dashed var(--tvg-mint-strong);
}

.tvg-step {
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0 8px;
}

.tvg-step__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--tvg-mint);
    color: var(--tvg-mint-ink);
    margin-bottom: 18px;
    box-shadow: 0 0 0 8px var(--white-color);
}

.tvg-step__icon svg {
    width: 32px;
    height: 32px;
}

.tvg-step__num {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--dark-beige-color);
    color: var(--white-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
}

.tvg-step h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 8px;
}

.tvg-step p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--tvg-muted);
    max-width: 320px;
    margin: 0 auto;
}

/* ---------- Van-friendly spots ---------- */

.tvg-spots {
    background: var(--beige-color);
}

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

.tvg-spot {
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--white-color);
    border-radius: var(--tvg-radius);
    overflow: hidden;
}

.tvg-spot__photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    background: var(--beige-color);
}

.tvg-spot__photo img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
}

.tvg-spot__region {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--border-radius);
    background: var(--tvg-mint);
    color: var(--tvg-mint-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.tvg-spot__photo a {
    display: block;
    height: 100%;
}

.tvg-spot h3 a {
    color: inherit;
    text-decoration: none;
}

.tvg-spot h3 a:hover {
    color: var(--dark-beige-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tvg-spot__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 16px;
    flex: 1;
}

.tvg-spot h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.tvg-spot__body > p:not(.tvg-spot__credit) {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tvg-muted);
    margin: 0;
    flex: 1;
}

.tvg-spot__map {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--dark-beige-color);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

.tvg-spot__map svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.tvg-spot__map:hover {
    color: var(--tvg-mauve-dark);
    text-decoration: underline;
}

.tvg-spot__body > p.tvg-spot__credit {
    margin: 6px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--tvg-line);
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: var(--tvg-muted);
    flex: none;
}

.tvg-spot__credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Clean Ocean Project + Ecologi ---------- */

.tvg-eco {
    position: relative;
    background: #3a3836 var(--eco-bg, none) center / cover no-repeat;
    color: var(--white-color);
    padding: clamp(56px, 8vw, 96px) 0;
}

.tvg-eco::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(25, 23, 21, 0.55);
}

.tvg-eco__inner {
    position: relative;
}

.tvg-eco h2 {
    text-align: center;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white-color);
    margin: 0 0 clamp(26px, 4vw, 40px);
}

.tvg-eco__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.tvg-eco__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 30px 30px 28px;
    background: rgba(25, 23, 21, 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--tvg-radius);
}

/* Logo slot: both partners get the same height so the cards line up. */
.tvg-eco__logo {
    display: flex;
    align-items: center;
    height: 96px;
    margin-bottom: 8px;
}

.tvg-eco__logo img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
}

/* Ecologi's logo is dark green, so it sits on a small white chip. */
.tvg-eco__logo--chip {
    height: 64px;
    margin: 16px 0 24px;
    padding: 10px 18px;
    background: var(--white-color);
    border-radius: 12px;
}

.tvg-eco__logo--chip img {
    height: 100%;
}

.tvg-eco__card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--white-color);
    margin: 0;
}

.tvg-eco__card p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--white-color);
    margin: 0;
    flex: 1;
}

.tvg-eco__link {
    margin-top: 6px;
    color: var(--beige-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tvg-eco__link:hover {
    color: var(--white-color);
}

.tvg-eco__link:focus-visible,
.tvg-eco__logo:focus-visible {
    outline: 3px solid var(--beige-color);
    outline-offset: 3px;
}

/* ---------- FAQ ---------- */

.tvg-faq__list {
    background: var(--white-color);
    border: 1px solid var(--tvg-line);
    border-radius: var(--tvg-radius);
    padding: 6px 28px;
}

.tvg-faq__item {
    border-bottom: 1px solid var(--tvg-line);
    border-radius: 0;
    margin: 0;
}

.tvg-faq__item:last-child {
    border-bottom: none;
}

/* Switch off the theme's generic details/summary styling here. */
.tvg-faq__item summary,
.tvg-faq__item[open] summary,
.tvg-faq__item:not([open]) summary:hover,
.tvg-faq__item:not([open]) summary:focus {
    background: none;
    border: none;
    border-radius: 0;
    color: var(--black-color);
}

.tvg-faq__item summary::before {
    content: none;
}

.tvg-faq__item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 20px 40px 20px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.tvg-faq__item summary:hover {
    color: var(--dark-beige-color);
}

.tvg-faq__item summary::-webkit-details-marker {
    display: none;
}

.tvg-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    color: var(--dark-beige-color);
    transition: transform 0.2s ease;
}

.tvg-faq__item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.tvg-faq__item summary:focus-visible {
    outline: 3px solid var(--dark-beige-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.tvg-faq__item p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 20px;
    color: var(--tvg-muted);
}

/* ---------- Blog ---------- */

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

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

.tvg-post {
    margin: 0;
}

.tvg-post 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-post a:hover {
    box-shadow: 0 14px 34px rgba(64, 66, 72, 0.12);
}

.tvg-post__img {
    aspect-ratio: 1 / 1;
}

.tvg-post__img img {
    transition: transform 0.3s ease;
}

.tvg-post a:hover .tvg-post__img img {
    transform: scale(1.04);
}

.tvg-post__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
    flex: 1;
}

.tvg-post h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.tvg-post p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tvg-muted);
    margin: 0;
    flex: 1;
}

.tvg-post__more {
    color: var(--dark-beige-color);
    font-weight: 700;
    font-size: 15px;
    margin-top: 6px;
}

/* ---------- Gear (Amazon) ---------- */

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

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

.tvg-gear__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin: 0;
    padding: 16px 16px 18px;
    border: 1px solid var(--tvg-line);
    border-radius: var(--tvg-radius);
    background: var(--white-color);
}

.tvg-gear__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 130px;
}

.tvg-gear__img img {
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.tvg-gear__item h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3 * 1.4em;
}

.tvg-gear__item h3 a {
    color: var(--black-color);
    text-decoration: none;
}

.tvg-gear__item h3 a:hover {
    color: var(--dark-beige-color);
}

.tvg-gear__price {
    margin: 0;
    font-size: 14px;
    color: var(--tvg-muted);
}

.tvg-gear__btn {
    margin-top: auto;
    padding: 9px 18px;
    border-radius: var(--border-radius);
    background: #ffb100;
    color: var(--black-color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.tvg-gear__btn:hover {
    background: #e6a000;
    color: var(--black-color);
}

.tvg-gear__btn:focus-visible {
    outline: 3px solid var(--dark-beige-color);
    outline-offset: 2px;
}

/* ---------- Partners ---------- */

.tvg-partners {
    padding: 44px 0 56px;
    border-top: 1px solid var(--tvg-line);
}

#homepage_collabs .tvg-partners__title,
.tvg-home .tvg-partners__title {
    text-align: center;
    width: 100%;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.4 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tvg-muted);
    margin: 0 0 24px;
}

/* Logos keep their own proportions and colours. */
.tvg-partners .home-collabs__icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 0 16px;
}

.tvg-partners .home-collabs__icon img {
    width: auto !important;
    height: auto !important;
    max-width: 130px;
    max-height: 72px;
    object-fit: contain;
    margin: 0 auto;
}

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

@media (max-width: 1000px) {
    .tvg-spots__grid,
    .tvg-gear__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .tvg-hero {
        min-height: 0;
        padding: 168px 0 44px;
    }

    .tvg-steps__list,
    .tvg-blog__grid {
        grid-template-columns: 1fr;
    }

    .tvg-steps__list {
        gap: 26px;
    }

    .tvg-steps__list::before {
        top: 36px;
        bottom: 36px;
        left: 35px;
        right: auto;
        border-top: none;
        border-left: 2px dashed var(--tvg-mint-strong);
    }

    .tvg-step {
        display: grid;
        grid-template-columns: 72px 1fr;
        column-gap: 18px;
        text-align: left;
        padding: 0;
    }

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

    .tvg-step h3 {
        align-self: end;
        margin-top: 4px;
    }

    .tvg-step p {
        margin: 0;
        max-width: none;
    }

    /* Swipeable rows on tablets and phones. */
    .tvg-testimonials__list {
        grid-auto-flow: column;
        grid-auto-columns: 80%;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -20px;
        padding: 0 20px 10px;
        scrollbar-width: none;
    }

    .tvg-quote {
        scroll-snap-align: start;
    }
}

@media (max-width: 700px) {
    .tvg-eco__cards {
        grid-template-columns: 1fr;
    }

    .tvg-trust {
        justify-content: flex-start;
        gap: 10px 22px;
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .tvg-vans__grid,
    .tvg-gear__grid,
    .tvg-spots__grid,
    .tvg-blog__grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        margin: 0 -20px;
        padding: 0 20px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tvg-vans__grid::-webkit-scrollbar,
    .tvg-gear__grid::-webkit-scrollbar,
    .tvg-spots__grid::-webkit-scrollbar,
    .tvg-blog__grid::-webkit-scrollbar,
    .tvg-testimonials__list::-webkit-scrollbar {
        display: none;
    }

    .tvg-van,
    .tvg-gear__item,
    .tvg-spot,
    .tvg-post {
        scroll-snap-align: start;
    }

    .tvg-van__link:hover {
        transform: none;
    }

    .tvg-faq__list {
        padding: 4px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tvg-van__link,
    .tvg-post__img img,
    .tvg-faq__item summary::after {
        transition: none;
    }
}

/* Partner logos: a plain wrapping row, identical in every language. */
.tvg-partners__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 36px;
}

.tvg-partners__row .home-collabs__icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0;
    margin: 0;
}

.tvg-partners__row .home-collabs__icon img {
    width: auto !important;
    height: auto !important;
    max-width: 120px;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.tvg-partners__row .home-collabs__icon a:hover img {
    filter: none;
    opacity: 1;
}

/* ---------- Partners on phones: a tidy 3-column grid, equal cells ---------- */
@media (max-width: 700px) {
    .tvg-home .tvg-partners,
    #homepage_collabs.tvg-partners {
        padding: 28px 0 32px;
    }

    #homepage_collabs .tvg-partners__title {
        font-size: 12px !important;
        letter-spacing: 0.14em;
        margin-bottom: 14px;
    }

    .tvg-partners__row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px 4px;
        align-items: center;
        justify-items: center;
    }

    .tvg-partners__row .home-collabs__icon {
        width: 100%;
        height: 58px;
        padding: 0 4px;
    }

    .tvg-partners__row .home-collabs__icon img {
        max-width: 100%;
        max-height: 46px;
    }
}

@media (max-width: 420px) {
    .tvg-partners__row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .tvg-partners__row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 0;
    }

    .tvg-partners__row .home-collabs__icon {
        flex: 0 0 33.333%;
        width: 33.333%;
        height: 78px;
    }

    .tvg-partners__row .home-collabs__icon img {
        max-width: 100px;
        max-height: 66px;
    }
}

/* Slider mode (set by partners.js only when the logos do not fit). */
.tvg-partners__row.is-slider {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tvg-partners__row.is-slider::-webkit-scrollbar {
    display: none;
}

.tvg-partners__row.is-slider .home-collabs__icon {
    flex: 0 0 auto;
    width: auto;
    padding: 0 22px;
}

@media (max-width: 700px) {
    .tvg-partners__row.is-slider {
        display: flex;
    }

    .tvg-partners__row.is-slider .home-collabs__icon {
        flex: 0 0 auto;
        width: auto;
        padding: 0 16px;
    }

    .tvg-partners__row.is-slider .home-collabs__icon img {
        max-width: 110px;
        max-height: 56px;
    }
}

/* Fixed cell width so the strip can be measured before lazy logos load. */
.tvg-partners__row.is-slider .home-collabs__icon {
    flex: 0 0 160px;
    width: 160px;
    padding: 0 14px;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .tvg-partners__row.is-slider .home-collabs__icon {
        flex: 0 0 130px;
        width: 130px;
        padding: 0 12px;
    }
}

/* SVG logos have no intrinsic pixel size; without this the Ecologi cell collapsed to a gap. */
.tvg-partners__row .home-collabs__icon img[src$=".svg"] {
    width: 110px !important;
    height: auto !important;
    max-width: 110px;
}

.tvg-partners__row .home-collabs__icon {
    min-width: 90px;
}


/* Lighter hero photos: full size on desktop, a small one on phones. */
@media (max-width: 700px) {
    .tvg-hero__bg {
        background-image: url('../images/hero/home-900.jpg');
    }
}

@media (max-width: 700px) {
    .tvg-eco {
        background-image: url('../images/eco-bg-800.jpg') !important;
    }
}
