/* ============================================================
   Velostays By George — Core Principles v11.1
   Author: George Economides
   ============================================================ */

.vbg-wrap *,
.vbg-wrap *::before,
.vbg-wrap *::after { box-sizing: border-box; }

/* ── Section wrapper ───────────────────────────────────────── */
.vbg-wrap {
    width: 100%;
    background: #ffffff;
    font-family: inherit;
}

/* ── Header ────────────────────────────────────────────────── */
.vbg-header {
    text-align: center;
    padding: 80px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.vbg-title {
    font-size: 2.2vw !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 0 12px !important;
}

.vbg-subtitle {
    font-size: 16px !important;
    line-height: 22px !important;
    color: rgba(255,255,255,0.8) !important;
    margin: 0 !important;
}

/* ── Scroll container ──────────────────────────────────────── */
.vbg-scroll-container {
    padding: 5px;
    padding-bottom: 30vh;
}

/* ── Each sticky card ──────────────────────────────────────── */
/*
 * Pure CSS sticky stacking — same as Tangerine's
 * nectar-sticky-media-sections type--scroll-pinned-sections
 *
 * section-height: 70vh  →  height: 70vh
 * section-offset: 15vh  →  top: 15vh
 * gap: 15vh             →  margin-bottom: 15vh (scroll space)
 * z-index stacking      →  later cards sit on top of earlier
 */
.vbg-card {
    background: #2a9c8e;
    position: sticky;
    top: 15vh;
    height: 70vh;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15vh;
}



/* z-index: each card stacks over the previous */
.vbg-card:nth-child(1)  { z-index: 1; }
.vbg-card:nth-child(2)  { z-index: 2; }
.vbg-card:nth-child(3)  { z-index: 3; }
.vbg-card:nth-child(4)  { z-index: 4; }
.vbg-card:nth-child(5)  { z-index: 5; }
.vbg-card:nth-child(6)  { z-index: 6; }
.vbg-card:nth-child(7)  { z-index: 7; }
.vbg-card:nth-child(8)  { z-index: 8; }
.vbg-card:nth-child(9)  { z-index: 9; }
.vbg-card:nth-child(10) { z-index: 10; }

/* Background set via inline style per card */

/* ── Card inner: left text + right image ───────────────────── */
.vbg-card-inner {
    display: flex;
    height: 100%;
    width: 100%;
}

/* ── LEFT text column ──────────────────────────────────────── */
.vbg-card-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 56px 5vw 56px 56px;
    flex-shrink: 0;
}

/*
 * Number: Tangerine uses font_size_desktop_20vw
 * User requested 50% smaller → 10vw
 */
.vbg-card-num {
    font-size: 10vw !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    font-variant-numeric: tabular-nums;
    margin: 0 !important;
    color: #ffffff;
}

.vbg-card-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 75%;
}

/*
 * Title: Tangerine uses clamp(20px,1.4vw,32px)
 * User requested 10% smaller → clamp(18px,1.26vw,28.8px)
 */
.vbg-card-title {
    font-size: clamp(18px, 1.26vw, 29px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/*
 * Body: Tangerine uses max(20px,1vw) and is bold
 * User requested NOT bold + 20% smaller → max(16px,0.8vw)
 */
.vbg-card-body {
    font-size: max(16px, 0.8vw) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/* ── RIGHT image column ────────────────────────────────────── */
.vbg-card-right {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin: 10px 10px 10px 0;
}

.vbg-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.08);
}


/* ── CTA Button ────────────────────────────────────────────── */
.vbg-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.15);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 4px;
    font-size: max(14px, 0.85vw);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.vbg-card-cta:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.9);
    color: #ffffff !important;
    text-decoration: none !important;
}

.vbg-card-cta-arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

.vbg-card-cta:hover .vbg-card-cta-arrow {
    transform: translateX(5px);
}

/* ── Tablet ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .vbg-card { height: 65vh; top: 10vh; }
    .vbg-card-num { font-size: 9vw !important; }
    .vbg-card-left { padding: 40px 4vw 40px 40px; }
    .vbg-title { font-size: 3vw !important; }
}

/* ── Mobile: same sticky stacking, single column layout ────── */
/*
 * On mobile Tangerine keeps the sticky stacking effect but
 * collapses to a single column: number + text on top, image below.
 * Card height becomes auto with min-height, and top/margin
 * values are tightened. The sticky stacking still works.
 */
@media (max-width: 767px) {
    .vbg-header { padding: 48px 20px 32px; }
    .vbg-title { font-size: 6.5vw !important; }
    .vbg-subtitle { font-size: 14px !important; }

    /* Keep sticky stacking on mobile — same mechanic, adjusted values */
    .vbg-card {
        top: 10vw;
        height: auto;
        min-height: 85vw;
        margin-bottom: 10vw;
        border-radius: 12px;
    }

    .vbg-card-inner {
        flex-direction: column;
        height: auto;
        min-height: inherit;
    }

    .vbg-card-left {
        width: 100%;
        padding: 20px 20px 16px 20px;
        flex-direction: column;
        justify-content: flex-start;
        gap: 12px;
    }

    .vbg-card-num {
        font-size: 18vw !important;
        line-height: 0.9 !important;
    }

    .vbg-card-text {
        max-width: 100%;
        gap: 8px;
    }

    .vbg-card-title {
        font-size: 5vw !important;
    }

    .vbg-card-body {
        font-size: 3.8vw !important;
    }

    /* Image sits below text on mobile */
    .vbg-card-right {
        flex-shrink: 0;
        width: calc(100% - 16px);
        margin: 0 8px 8px;
        border-radius: 10px;
        height: 52vw;
        position: relative;
        flex: none;
    }

    .vbg-card-img {
        position: absolute;
        inset: 0;
    }

    .vbg-card-cta {
        font-size: 3.5vw;
        padding: 11px 20px;
    }

}

/* ── Very small phones ─────────────────────────────────────── */
@media (max-width: 380px) {
    .vbg-card { min-height: 95vw; }
    .vbg-card-right { height: 56vw; }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .vbg-card {
        position: relative !important;
        top: auto !important;
        margin-bottom: 5px !important;
    }
}
