/* ═══════════════════════════════════════════════════════════════════════════
   SUBSCRIPTIONS 2026–2027 — page skin
   ───────────────────────────────────────────────────────────────────────────
   Loaded AFTER the page's inline <style>, so it wins on equal specificity.

   Identity: the site's own background and shell (navbar, footer, fonts stay
   untouched) + the blue accent, with the three levels carrying a deliberate
   colour RAMP — green → blue → amber — so the progression is legible at a
   glance rather than decorative.

   This is the landing page for paid Meta traffic, so the funnel section is
   tuned for thumbs: big tap targets, obvious selected state, no dead ends.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --sy-l1: #34c77b;
    /* Level 1 — foundation  */
    --sy-l2: #4da3ff;
    /* Level 2 — practitioner */
    --sy-l3: #ff9a3d;
    /* Level 3 — elite / R&D  */
    --sy-line: var(--border);
    --sy-raise: rgba(255, 255, 255, 0.045);
}

[data-theme="light"] {
    --sy-l1: #12a15c;
    --sy-l2: #1A73E8;
    --sy-l3: #c65d16;
    --sy-raise: rgba(0, 0, 0, 0.028);
}

/* ── Ground: use the site's real background, not the camp's own ─────────── */
.camp-hero,
.camp-section,
.camp-section.alt {
    background: var(--bg-primary);
}

/* alternate bands get a barely-there lift so sections still separate */
.camp-section.alt {
    background: var(--sy-raise);
}

.camp-hero {
    background:
        radial-gradient(ellipse 70% 55% at 78% 8%, rgba(26, 115, 232, 0.13), transparent 62%),
        var(--bg-primary);
}

/* The subscription hero is a permanent dark brand surface in every theme. */
body[data-level="camp"] .camp-hero {
    --bg-primary: #050505;
    --bg-card: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.2);
    --text-primary: #f7f9fc;
    --text-secondary: #c8ced8;
    background:
        radial-gradient(ellipse 70% 55% at 78% 8%, rgba(26, 115, 232, 0.16), transparent 62%),
        #050505;
    color: var(--text-primary);
}

body[data-level="camp"] .camp-hero h1,
body[data-level="camp"] .camp-hero-sub,
body[data-level="camp"] .camp-meta-chip {
    color: var(--text-primary);
}

body[data-level="camp"] .camp-hero-sub {
    color: var(--text-secondary);
}

body[data-level="camp"] .camp-hero-theme,
body[data-level="camp"] .camp-meta-chip i {
    color: #4da3ff;
}

body[data-level="camp"] .camp-meta-chip {
    background: var(--bg-card);
    border-color: var(--border);
}

/* ── Section rhythm ─────────────────────────────────────────────────────── */
.camp-section {
    border-top: 1px solid var(--sy-line);
}

.camp-section-head h2 {
    text-wrap: balance;
}

/* ═══ THE THREE LEVELS — colour ramp encodes the progression ═══════════════ */
.camp-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.camp-track {
    background: var(--bg-card);
    border: 1px solid var(--sy-line);
    display: flex;
    flex-direction: column;
}

.camp-track::before {
    background: var(--lvl, var(--accent)) !important;
}

.camp-track:nth-child(1) { --lvl: var(--sy-l1); }
.camp-track:nth-child(2) { --lvl: var(--sy-l2); }
.camp-track:nth-child(3) { --lvl: var(--sy-l3); }

.camp-track .camp-track-age {
    color: var(--lvl) !important;
}

.camp-track h3 {
    color: var(--text-primary);
}

.camp-track .camp-track-line i,
.camp-track .camp-learn-list li i {
    color: var(--lvl) !important;
}

.camp-track .camp-outcome {
    border-left: 3px solid var(--lvl);
    background: var(--sy-raise);
}

/* the "see the programme" toggle picks up the level colour too */
.camp-track .m-toggle {
    color: var(--lvl) !important;
    min-height: 44px;
}

/* ═══ PRICING — same ramp, so card 1/2/3 read as the same three levels ═════ */
.camp-plans > .camp-plan:nth-child(1) { --lvl: var(--sy-l1); }
.camp-plans > .camp-plan:nth-child(2) { --lvl: var(--sy-l2); }
.camp-plans > .camp-plan:nth-child(3) { --lvl: var(--sy-l3); }

.camp-plan {
    background: var(--bg-card);
    border: 1px solid var(--sy-line);
    border-top: 3px solid var(--lvl, var(--accent));
}

.camp-plan-badge {
    background: var(--bg-primary);
    color: var(--lvl);
    border: 1px solid color-mix(in srgb, var(--lvl) 40%, transparent);
    box-shadow: 0 0 0 5px var(--bg-primary);
    z-index: 2;
}

.camp-plan-price,
.camp-plan-price .cur {
    color: var(--lvl) !important;
}

.camp-plan ul li i {
    color: var(--lvl) !important;
}

.camp-plan-best {
    border-top: 1px dashed var(--sy-line);
    color: var(--text-secondary);
}

.camp-plan-details {
    flex: 1 1 auto;
}

.camp-plan-details > .m-collapse-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.camp-plan-less {
    display: none;
}

/* ═══ THE FUNNEL — built for a thumb on paid traffic ══════════════════════ */
#register {
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(26, 115, 232, 0.10), transparent 60%),
        var(--sy-raise);
}

/* level choice: three big tappable cards, not a radio list */
.camp-radio-group.sy-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sy-levels .camp-radio {
    position: relative;
    display: block;
    margin: 0;
    padding-block: 16px;
    padding-inline: 16px;
    min-height: 76px;
    border: 1.5px solid var(--sy-line);
    background: var(--bg-primary);
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.sy-levels .camp-radio:nth-child(1) { --lvl: var(--sy-l1); }
.sy-levels .camp-radio:nth-child(2) { --lvl: var(--sy-l2); }
.sy-levels .camp-radio:nth-child(3) { --lvl: var(--sy-l3); }

.sy-levels .camp-radio:hover {
    border-color: var(--lvl);
    transform: translateY(-2px);
}

.sy-levels .camp-radio input[type="radio"] {
    position: absolute;
    inset-inline-start: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    accent-color: var(--lvl);
    margin: 0;
}

.sy-levels .camp-radio span {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.sy-levels .camp-radio span small {
    display: block;
    margin-top: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lvl);
    letter-spacing: 0;
}

/* selected state has to be unmistakable on a phone */
.sy-levels .camp-radio:has(input:checked) {
    border-color: var(--lvl);
    background: color-mix(in srgb, var(--lvl) 12%, var(--bg-primary));
    box-shadow: inset 0 0 0 1px var(--lvl);
}

.sy-levels .camp-radio:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* inputs: 50px min height, 16px text so iOS doesn't zoom on focus */
#campForm .form-group input,
#campForm .form-group textarea,
#campForm .form-group select {
    min-height: 50px;
    font-size: 16px;
    line-height: 1.5;
    background: var(--bg-primary);
    border: 1.5px solid var(--sy-line);
    color: var(--text-primary);
}

#campForm .form-group input:focus {
    border-color: var(--accent);
    outline: none;
}

#campForm label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
}

#campForm .camp-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

#campForm .camp-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-height: 22px;
    flex: none;
    margin-top: 1px;
    accent-color: var(--accent);
}

/* the submit is the whole point of the page */
.btn-camp {
    background: #25d366;
    color: #04120a;
    border: none;
    width: 100%;
    min-height: 56px;
    font-size: 1.02rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-camp:hover {
    filter: brightness(1.07);
    color: #04120a;
}

.camp-form-status {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* ── Final CTA band ─────────────────────────────────────────────────────── */
.camp-final {
    background: linear-gradient(135deg, var(--accent), #0d47a1) !important;
    color: #ffffff !important;
}

.camp-final h2,
.camp-final p {
    color: #ffffff !important;
}

/* ═══ MOBILE ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .camp-groups {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {

    /* one level card per row — three cramped columns are unusable on a phone */
    .camp-radio-group.sy-levels {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sy-levels .camp-radio {
        min-height: 66px;
        padding-block: 14px;
        padding-inline: 14px;
    }

    #register {
        scroll-margin-top: 70px;
    }

    /* the form is the conversion point: give it room, not decoration */
    #campForm {
        padding: 18px 16px;
    }

    #campForm .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .camp-final {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .sy-levels .camp-radio span {
        font-size: 1rem;
    }

    .sy-levels .camp-radio span small {
        font-size: 0.875rem;
    }
}

/* ── Respect the site's reduced-motion contract ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .sy-levels .camp-radio,
    .camp-track,
    .camp-plan {
        transition: none;
    }

    .sy-levels .camp-radio:hover {
        transform: none;
    }
}

/* ═══ STICKY MOBILE CTA — the funnel's safety net on paid traffic ═════════ */
.sy-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    /* below the mobile nav (999) so an open menu always covers it */
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
}

[data-theme="light"] .sy-sticky {
    background: rgba(255, 255, 255, 0.96);
}

.sy-sticky[hidden] {
    display: none !important;
}

.sy-sticky-price {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.sy-sticky-price strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.sy-sticky-price span {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.sy-sticky-btn {
    flex: none;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 14px 20px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.sy-sticky-btn:hover,
.sy-sticky-btn:focus-visible {
    background: var(--accent-light);
    color: #fff;
}

@media (max-width: 768px) {
    .sy-sticky:not([hidden]) {
        display: flex;
    }

    /* never let the bar sit on top of the footer's last line */
    footer {
        padding-bottom: 84px;
    }
}

@media (max-width: 360px) {
    .sy-sticky-price span { display: none; }
    .sy-sticky-btn { padding: 13px 15px; font-size: 0.86rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   READABILITY & DENSITY PASS
   Phones are where the Meta traffic lands. Three problems fixed here:
   photos wasted a full screen-width each, the hero buttons were full-bleed
   slabs, and body copy sat at 15px with tight leading.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero buttons: sized to their label, not to the viewport ─────────────── */
.camp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.camp-hero .btn-camp,
.camp-hero .btn-camp-ghost {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
    min-height: 48px;
    padding: 13px 24px;
    font-size: 0.95rem;
}

/* ── STUDENT RESULTS ─────────────────────────────────────────────────────── */
.sy-results {
    background:
        radial-gradient(ellipse 55% 45% at 15% 0%, rgba(255, 154, 61, 0.09), transparent 62%),
        var(--bg-primary);
}

.sy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--sy-line);
    border: 1px solid var(--sy-line);
    margin: 0 0 28px;
}

.sy-stat {
    background: var(--bg-primary);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sy-stat-n {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1;
    color: var(--sy-l3);
    font-variant-numeric: tabular-nums;
}

.sy-stat-l {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.sy-res-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sy-res-card {
    background: var(--bg-card);
    border: 1px solid var(--sy-line);
    border-left: 3px solid var(--sy-l3);
    padding: 22px;
}

.sy-res-card i {
    color: var(--sy-l3);
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: block;
}

.sy-res-card h3 {
    font-family: var(--font-heading);
    font-size: 1.03rem;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.sy-res-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

.sy-res-note {
    margin: 24px 0 0;
    padding: 14px 18px;
    background: var(--sy-raise);
    border-left: 3px solid var(--sy-l3);
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.sy-res-media {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.sy-res-figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--sy-line);
    border-radius: 10px;
    background: var(--bg-card);
}

.sy-res-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

@media (hover: hover) and (min-width: 769px) {
    .sy-res-figure:hover .sy-res-photo {
        transform: scale(1.035);
    }
}

/* ── Comfortable measure on desktop: no 120-character lines ─────────────── */
.camp-section-head p {
    max-width: 68ch;
    margin-inline: auto;
}

/* ═══ MOBILE ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* 1. PHOTOS — two columns, hairline gaps. One photo per screen-width
          wasted an enormous amount of scroll for no extra information. */
    .camp-gallery-grid,
    .camp-showcase-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
    }

    .camp-gallery-item,
    .camp-showcase-item {
        margin: 0 !important;
    }

    .camp-gallery-item img,
    .camp-showcase-grid img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        width: 100%;
        height: 100%;
        display: block;
    }

    /* captions would dominate a half-width tile */
    .camp-gallery-item figcaption {
        font-size: 0.68rem;
        padding: 5px 6px;
        line-height: 1.25;
    }

    .sy-res-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 16px;
    }

    .sy-res-figure {
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }

    /* Compact level summaries: only the decision-critical name and price
       stay visible until the parent asks for the complete inclusion list. */
    .camp-plans {
        display: grid !important;
        grid-template-columns: 1fr !important;
        overflow: visible !important;
        gap: 12px !important;
        padding: 8px 0 0 !important;
    }

    .camp-plans > .camp-plan {
        width: 100%;
        flex: none !important;
        padding: 20px !important;
        scroll-snap-align: none;
    }

    .camp-plan-badge,
    .camp-plan-tag,
    .camp-plan-dur {
        display: none;
    }

    .camp-plan-summary {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 18px;
    }

    .camp-plan-name {
        margin: 0;
        font-size: 1.16rem;
        line-height: 1.25;
    }

    .camp-plan-price,
    .camp-plan-price[style] {
        flex: 0 0 auto;
        margin: 0;
        font-size: 1.65rem !important;
        white-space: nowrap;
    }

    .camp-plan-toggle {
        width: 100%;
        justify-content: space-between;
        margin: 14px 0 0;
        min-height: 44px;
    }

    .camp-plan-toggle.open .camp-plan-more {
        display: none;
    }

    .camp-plan-toggle.open .camp-plan-less {
        display: inline;
    }

    .camp-plan-details {
        display: grid;
        grid-template-rows: 0fr;
        flex: none;
        transition: grid-template-rows .35s ease;
    }

    .camp-plan-details.open {
        grid-template-rows: 1fr;
    }

    .camp-plan-details > .m-collapse-inner {
        min-height: 0;
        overflow: hidden;
    }

    .camp-plan-details.open > .m-collapse-inner {
        padding-top: 14px;
    }

    /* 2. TYPE — 16px body, looser leading. 15px with tight leading is what
          made this exhausting to read on a phone. */
    .camp-section p,
    .camp-section-head p,
    .camp-track p,
    .sy-res-card p,
    .camp-plan-best,
    .sy-res-note {
        font-size: 1rem;
        line-height: 1.7;
    }

    .camp-learn-list li,
    .camp-track-line {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .camp-faq-item p,
    .camp-faq-a {
        font-size: 0.97rem;
        line-height: 1.7;
    }

    /* headings: tighter, so they don't eat three lines each */
    .camp-section-head h2 {
        font-size: clamp(1.45rem, 6.2vw, 1.9rem);
        line-height: 1.2;
    }

    .camp-section-head p {
        max-width: 100%;
    }

    /* 3. RHYTHM — a bit less air between sections so the page scans faster */
    .camp-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    /* 4. RESULTS block stacks sensibly */
    .sy-res-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sy-stats {
        grid-template-columns: 1fr;
    }

    .sy-stat {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
        padding: 14px 16px;
    }

    .sy-stat-n {
        font-size: 1.5rem;
        min-width: 62px;
    }

    .sy-stat-l {
        font-size: 0.88rem;
    }

    /* 5. hero buttons side by side, not two stacked slabs */
    .camp-hero .btn-camp,
    .camp-hero .btn-camp-ghost {
        flex: 1 1 auto;
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 46px;
    }
}

@media (max-width: 380px) {
    .camp-hero .btn-camp,
    .camp-hero .btn-camp-ghost {
        flex: 1 1 100%;
    }
}

/* ── Hero CTA row: the template stacks it into two full-width slabs on
      mobile. Side by side reads as a choice, not as a wall of buttons. ──── */
@media (max-width: 768px) {
    .camp-hero .camp-cta-row {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .camp-hero .camp-cta-row > .btn-camp,
    .camp-hero .camp-cta-row > .btn-camp-ghost {
        flex: 1 1 auto;
        width: auto;
        min-width: 140px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO TYPOGRAPHY — mobile
   The CMS used to pin these to fixed pixels (26px title / 14px sub) with
   !important. Those rules were tuned on one phone and have been removed, so
   the hero now needs its own fluid scale instead of the desktop clamp.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    .camp-hero [data-i18n="camp.hero.theme"] {
        font-size: 0.7rem;
        line-height: 1.4;
        letter-spacing: 0.1em;
    }

    /* !important is required here: the CMS writes the desktop sizes as INLINE
       styles (font-size: 55px on the title), which beat any stylesheet rule.
       Desktop keeps the owner's tuning; only the phone is overridden. */
    .camp-hero h1,
    .camp-hero [data-i18n="camp.hero.title1"],
    .camp-hero [data-i18n="camp.hero.title2"] {
        font-size: clamp(1.7rem, 7.6vw, 2.2rem) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em;
        max-width: 100% !important;
    }

    .camp-hero [data-i18n="camp.hero.sub"] {
        font-size: 1rem !important;
        line-height: 1.62 !important;
        max-width: 100% !important;
    }

    .camp-hero [data-i18n="camp.hero.badge"] {
        font-size: 0.72rem;
    }

    /* the four meta chips (dates / format / ages / price) */
    .camp-hero-meta,
    .camp-hero-meta * {
        font-size: 0.82rem;
    }

    /* CTAs size to their label and wrap — they never stretch full-bleed */
    .camp-hero .camp-cta-row > .btn-camp,
    .camp-hero .camp-cta-row > .btn-camp-ghost {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
        padding: 12px 18px;
        font-size: 0.88rem;
        min-height: 46px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY — first screenful only, expandable
   18 photos cost ~9 rows of scroll before the reader reached the offer.
   Show one complete block (3×3 desktop / 4×2 mobile) and let the curious
   open the rest. Counts are chosen so the visible grid is never ragged.
   ═══════════════════════════════════════════════════════════════════════════ */
.camp-gallery-grid:not(.is-expanded) .camp-gallery-item:nth-child(n+10) {
    display: none;
}

.sy-gal-more {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.sy-gal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 26px;
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--sy-line);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.sy-gal-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.sy-gal-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sy-gal-btn i {
    font-size: 0.8rem;
    transition: transform .2s ease;
}

.sy-gal-btn.is-open i {
    transform: rotate(180deg);
}

/* a soft fade on the last visible row hints there is more underneath */
.camp-gallery-grid:not(.is-expanded) .camp-gallery-item:nth-child(n+7):nth-child(-n+9) {
    -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.35) 100%);
    mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.35) 100%);
}

@media (max-width: 768px) {

    /* 8 photos = 4 clean rows of 2 */
    .camp-gallery-grid:not(.is-expanded) .camp-gallery-item:nth-child(n+9) {
        display: none;
    }

    .camp-gallery-grid:not(.is-expanded) .camp-gallery-item:nth-child(n+10) {
        display: none;
    }

    /* fade the last visible pair instead of the desktop triplet */
    .camp-gallery-grid:not(.is-expanded) .camp-gallery-item:nth-child(n+7):nth-child(-n+9) {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .camp-gallery-grid:not(.is-expanded) .camp-gallery-item:nth-child(7),
    .camp-gallery-grid:not(.is-expanded) .camp-gallery-item:nth-child(8) {
        -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.35) 100%);
        mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.35) 100%);
    }

    .sy-gal-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sy-gal-btn,
    .sy-gal-btn i { transition: none; }
}
