/* =====================================================================
   V80 · Programs, Camps and Para Fencing pages + two-row menu
   Built on the V71 design system (navy #071B33, red #E31B34).
   ===================================================================== */

/* ---------- Two-row header: brand and tools on top, the menu below ---------- */
@media (min-width:1100px){
  .v80-header:not(.v71-compact) .v71-header__bar{flex-wrap:wrap;row-gap:0;padding-bottom:0}
  .v80-header:not(.v71-compact) .v71-nav{order:3;flex:1 0 100%;margin:0;border-top:1px solid var(--v-navy-line);min-height:54px;display:flex;align-items:center}
  .v80-header:not(.v71-compact) .v71-nav__links{gap:4px 30px;flex-wrap:nowrap}
  .v80-header:not(.v71-compact) .v71-brand{margin-inline-end:auto}
}
.v80-header .v71-nav__links a{font-size:15px}
.v80-header .v71-sub{min-width:280px}
.v80-header .v71-sub a{white-space:normal!important;line-height:1.35;padding-block:10px!important}
.v80-header .v71-has-sub>a{gap:6px}
/* the drop-down also opens from the caret button for touch and keyboard */
.v80-sub-toggle{display:none}
.v71-page .v71-drawer .v80-drawer-sub{padding-inline-start:26px!important;font-size:16px!important;font-weight:600!important;color:var(--v-silver)!important;justify-content:flex-start!important;min-height:46px!important}
.v80-drawer-sub::before{content:"";width:10px;height:2px;background:var(--v-red);margin-inline-end:12px;border-radius:2px;flex:none}

/* ---------- Page hero shared by the new pages ---------- */
.v80-hero{position:relative;overflow:hidden;background:var(--v-navy);color:#fff;padding:clamp(48px,7vw,104px) var(--v-pad) clamp(56px,8vw,112px);isolation:isolate}
.v80-hero__grid{position:relative;z-index:2;max-width:var(--v-max);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(36px,5vw,72px);align-items:center}
@media (max-width:900px){.v80-hero__grid{grid-template-columns:1fr}}
.v80-hero__copy{display:flex;flex-direction:column;gap:24px;min-width:0}
.v80-hero h1{margin:0;font-family:var(--v-font-head);font-size:clamp(40px,6vw,86px);line-height:1;font-weight:900;letter-spacing:-.035em}
html:lang(fa) .v80-hero h1,html:lang(ar) .v80-hero h1{line-height:1.3;letter-spacing:0}
.v80-hero h1 .v71-mask:last-child>span{color:var(--v-red)}
.v80-hero__lead{margin:0;max-width:600px;font-size:19px;line-height:1.75;color:var(--v-silver)}
.v80-hero__actions{display:flex;flex-wrap:wrap;gap:14px}
.v80-glow{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(700px circle at var(--mx,75%) var(--my,35%),rgba(227,27,52,.18),transparent 60%)}

/* giant outlined word that drifts behind the camps hero */
.v80-bigword{position:absolute;z-index:1;left:0;right:0;bottom:-.12em;pointer-events:none;overflow:hidden;white-space:nowrap;font-family:var(--v-font-head);font-weight:900;font-size:clamp(110px,19vw,300px);line-height:1;color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.09);direction:ltr}
.v80-bigword span{display:inline-block;padding-inline-end:.4em;animation:v80Drift 38s linear infinite}
@keyframes v80Drift{to{transform:translateX(-100%)}}

/* photo deck: three full photos that fan out, follow the pointer, and can be shuffled */
.v80-deck{position:relative;height:clamp(360px,42vw,560px);perspective:1200px}
.v80-deck__card{position:absolute;inset:8% 10%;margin:0;border-radius:22px;overflow:hidden;background:var(--v-navy-3);box-shadow:0 30px 70px rgba(0,0,0,.45);transform-origin:50% 90%;transition:transform 900ms var(--v-ease),opacity 600ms ease;display:flex;align-items:center;justify-content:center}
.v80-deck__card img{width:100%;height:100%;object-fit:contain}
.v80-deck__card::before{content:"";position:absolute;inset:-30px;background:var(--bg) center/cover;filter:blur(24px) brightness(.55);z-index:-1}
.v80-deck__card figcaption{position:absolute;inset-inline-start:14px;bottom:14px;font-size:13px;font-weight:700;color:#fff;background:rgba(7,27,51,.78);padding:7px 11px;border-radius:8px}
.v80-deck[data-ready] .v80-deck__card:nth-child(1){transform:rotate(-9deg) translate(-9%,3%)}
.v80-deck[data-ready] .v80-deck__card:nth-child(2){transform:rotate(7deg) translate(9%,1%)}
.v80-deck[data-ready] .v80-deck__card:nth-child(3){transform:rotate(-1deg) translate(0,-3%)}
.v80-deck__card{transform:translateY(40px) scale(.9);opacity:0}
.v80-deck[data-ready] .v80-deck__card{opacity:1}
.v80-deck__card:nth-child(2){transition-delay:120ms}.v80-deck__card:nth-child(3){transition-delay:240ms}
.v80-deck__shuffle{position:absolute;z-index:5;inset-inline-end:4%;bottom:0;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(7,27,51,.6);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;backdrop-filter:blur(6px)}
.v80-deck__shuffle:hover{border-color:#fff}
.v80-badge{position:absolute;z-index:4;display:inline-flex;align-items:center;gap:8px;padding:8px 12px 8px 8px;border-radius:999px;background:#fff;color:var(--v-navy);font-size:13px;font-weight:800;box-shadow:0 12px 30px rgba(0,0,0,.35);animation:v80Float 6s ease-in-out infinite}
.v80-badge img{width:28px;height:20px;border-radius:4px;object-fit:cover}
.v80-badge:nth-of-type(2){animation-delay:-2s}.v80-badge:nth-of-type(3){animation-delay:-4s}
@keyframes v80Float{0%,100%{translate:0 0}50%{translate:0 -12px}}

/* ---------- Sections ---------- */
.v80-sec{padding:var(--v-sec) var(--v-pad)}
.v80-wrap{max-width:var(--v-max);margin:0 auto;display:flex;flex-direction:column;gap:clamp(32px,4vw,56px)}
.v80-sec-head{display:flex;flex-direction:column;gap:14px;max-width:820px}
.v80-num{font-variant-numeric:tabular-nums}

/* format cards with an animated gradient border */
.v80-formats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media (max-width:1000px){.v80-formats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.v80-formats{grid-template-columns:1fr}}
.v80-format{position:relative;display:flex;flex-direction:column;gap:14px;padding:28px 24px;border-radius:20px;background:#fff;border:1px solid var(--v-line);overflow:hidden;isolation:isolate;transition:transform 300ms var(--v-ease),box-shadow 300ms ease}
.v80-format::before{content:"";position:absolute;inset:-2px;z-index:-2;background:conic-gradient(from var(--a,0deg),transparent 0 70%,var(--v-red) 80%,transparent 90%);opacity:0;transition:opacity 300ms ease;animation:v80Spin 3.2s linear infinite}
.v80-format::after{content:"";position:absolute;inset:2px;z-index:-1;border-radius:18px;background:#fff}
.v80-format:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(7,27,51,.16)}
.v80-format:hover::before{opacity:1}
@property --a{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes v80Spin{to{--a:360deg}}
.v80-icon{width:56px;height:56px;border-radius:16px;background:var(--v-navy);color:#fff;display:flex;align-items:center;justify-content:center}
.v80-icon svg{width:28px;height:28px}
.v80-format h3{margin:0;font-size:21px;font-weight:800;line-height:1.25}
.v80-format p{margin:0;font-size:16px;line-height:1.65;color:var(--v-muted)}

/* where camps took place: a strip that moves sideways as the page scrolls (desktop) */
.v80-hscroll{position:relative}
.v80-hscroll__sticky{position:sticky;top:var(--v80-head,112px);height:calc(100vh - var(--v80-head,112px));min-height:560px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:clamp(24px,4vh,44px)}
.v80-hscroll__head{padding:0 var(--v-pad);max-width:var(--v-max);width:100%;margin:0 auto;box-sizing:border-box}
.v80-hscroll__track{display:flex;gap:24px;will-change:transform;padding-inline:var(--v-pad)}
.v80-place{flex:0 0 min(420px,80vw);display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:var(--v-navy-2);color:#fff;border:1px solid var(--v-navy-border)}
.v80-place__media{position:relative;aspect-ratio:16/10;background:var(--v-navy-3);display:flex;align-items:center;justify-content:center;overflow:hidden}
.v80-place__media img.v80-photo{width:100%;height:100%;object-fit:contain;position:relative;z-index:1}
.v80-place__media::before{content:"";position:absolute;inset:-30px;background:var(--bg,none) center/cover;filter:blur(22px) brightness(.5)}
.v80-place__flagbig{width:44%;height:auto;border-radius:10px;box-shadow:0 18px 40px rgba(0,0,0,.4);position:relative;z-index:1}
.v80-place__big{position:absolute;z-index:2;inset-inline-end:16px;bottom:10px;font-size:64px;font-weight:900;line-height:1;color:#fff;text-shadow:0 6px 24px rgba(0,0,0,.4)}
.v80-place__body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px}
.v80-place__country{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800}
.v80-place__country img{width:34px;height:24px;border-radius:5px;object-fit:cover}
.v80-place__body p{margin:0;font-size:16px;line-height:1.65;color:var(--v-silver)}
@media (max-width:900px){
  .v80-hscroll{height:auto!important}
  .v80-hscroll__sticky{position:static;height:auto;min-height:0;display:block;overflow:visible}
  .v80-hscroll__track{transform:none!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--v-pad);-webkit-overflow-scrolling:touch;padding-bottom:12px;scrollbar-width:thin}
  .v80-hscroll__head{margin-bottom:24px}
  .v80-place{scroll-snap-align:start}
}

/* focus chips moving in two directions */
.v80-chips{display:flex;flex-direction:column;gap:14px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);direction:ltr}
.v80-chips__row{display:flex;width:max-content;gap:14px;animation:v71Slide 36s linear infinite}
.v80-chips__row--rev{animation-direction:reverse;animation-duration:42s}
.v80-chips:hover .v80-chips__row{animation-play-state:paused}
.v80-chip{display:inline-flex;align-items:center;gap:12px;min-height:58px;padding:0 24px;border-radius:999px;border:1px solid var(--v-navy-border);font-size:20px;font-weight:800;white-space:nowrap;color:#fff;background:rgba(255,255,255,.04)}
.v80-chip::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--v-red)}

/* ---------- Para page: section bar that follows the reader ---------- */
.v80-subnav{position:sticky;top:var(--v80-head,84px);z-index:150;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--v-line)}
.v80-subnav__in{max-width:var(--v-max);margin:0 auto;padding:10px var(--v-pad);display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.v80-subnav__in::-webkit-scrollbar{display:none}
.v71-page .v80-subnav a{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;color:var(--v-navy);text-decoration:none;font-size:15px;font-weight:700;border:1px solid var(--v-line);transition:background-color 200ms ease,color 200ms ease,border-color 200ms ease}
.v71-page .v80-subnav a:hover{border-color:var(--v-navy)}
.v71-page .v80-subnav a.is-active{background:var(--v-navy);color:#fff;border-color:var(--v-navy)}

.v80-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start}
@media (max-width:900px){.v80-split{grid-template-columns:1fr}}
.v80-prose{display:flex;flex-direction:column;gap:16px}
.v80-prose p{margin:0;font-size:18px;line-height:1.75;color:var(--v-muted)}
.v80-dark .v80-prose p{color:var(--v-silver)}
.v80-prose p:first-child{font-size:20px;font-weight:600;color:var(--v-navy)}
.v80-dark .v80-prose p:first-child{color:#fff}
.v80-dark{background:var(--v-navy);color:#fff}
.v80-grey{background:var(--v-grey)}
.v80-warm{background:var(--v-warm)}

/* photo mosaic: whole photos, never cropped */
.v80-mosaic{columns:2;column-gap:16px}
.v80-mosaic figure{break-inside:avoid;margin:0 0 16px;border-radius:18px;overflow:hidden;background:var(--v-line);position:relative}
.v80-mosaic img{width:100%;height:auto;display:block}
.v80-mosaic figcaption{position:absolute;inset-inline-start:12px;bottom:12px;max-width:calc(100% - 24px);font-size:13px;font-weight:700;color:#fff;background:rgba(7,27,51,.8);padding:6px 10px;border-radius:8px}
@media (max-width:560px){.v80-mosaic{columns:1}}

.v80-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:28px}
.v80-stat{position:relative;padding-top:20px;display:flex;flex-direction:column;gap:8px}
.v80-stat::before{content:"";position:absolute;top:0;inset-inline:0;height:2px;background:var(--v-line)}
.v80-dark .v80-stat::before{background:var(--v-navy-border)}
.v80-stat::after{content:"";position:absolute;top:0;inset-inline-start:0;width:100%;height:2px;background:var(--v-red);transform:scaleX(var(--s,1));transform-origin:left center;transition:transform 1100ms var(--v-ease) 200ms}
[dir=rtl] .v80-stat::after{transform-origin:right center}
html.v71-motion .v80-stat:not(.is-in)::after{--s:0}
.v80-stat strong{font-size:clamp(30px,3.2vw,44px);font-weight:900;letter-spacing:-.02em;line-height:1.05}
.v80-stat span{font-size:16px;line-height:1.55;color:var(--v-muted)}
.v80-dark .v80-stat span{color:var(--v-silver)}

.v80-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:18px}
.v80-card{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:18px;background:#fff;border:1px solid var(--v-line)}
.v80-dark .v80-card{background:var(--v-navy-2);border-color:var(--v-navy-border)}
.v80-card__head{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:800}
.v80-card__head img{width:36px;height:25px;border-radius:5px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.v80-card p{margin:0;font-size:16px;line-height:1.65;color:var(--v-muted)}
.v80-dark .v80-card p{color:var(--v-silver)}

/* rules: icon cards + the frame diagram */
.v80-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width:1000px){.v80-rules{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.v80-rules{grid-template-columns:1fr}}
.v80-rule{display:flex;flex-direction:column;gap:12px;padding:26px 24px;border-radius:18px;background:#fff;border:1px solid var(--v-line);transition:transform 300ms var(--v-ease),border-color 200ms ease}
.v80-rule:hover{transform:translateY(-4px);border-color:var(--v-red)}
.v80-rule h3{margin:0;font-size:19px;font-weight:800}
.v80-rule p{margin:0;font-size:16px;line-height:1.65;color:var(--v-muted)}
.v80-diagram{border-radius:22px;background:var(--v-navy);padding:clamp(18px,3vw,32px);color:#fff}
.v80-diagram svg{display:block;width:100%;height:auto}
.v80-diagram .v80-draw{stroke-dasharray:600;stroke-dashoffset:600;transition:stroke-dashoffset 1600ms var(--v-ease)}
.v80-diagram.is-in .v80-draw{stroke-dashoffset:0}
html:not(.v71-motion) .v80-diagram .v80-draw{stroke-dashoffset:0}
.v80-sources{margin:0;font-size:14px;color:var(--v-muted)}

/* history timeline with a line that fills as you scroll */
.v80-timeline{position:relative;display:flex;flex-direction:column;gap:0;padding-inline-start:44px}
.v80-timeline::before{content:"";position:absolute;inset-inline-start:13px;top:8px;bottom:8px;width:2px;background:var(--v-line)}
.v80-timeline__fill{position:absolute;inset-inline-start:13px;top:8px;width:2px;height:calc((100% - 16px) * var(--t,1));background:var(--v-red)}
.v80-tl{position:relative;padding:0 0 40px}
.v80-tl:last-child{padding-bottom:0}
.v80-tl::before{content:"";position:absolute;inset-inline-start:-38px;top:6px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--v-red);box-shadow:0 0 0 6px rgba(227,27,52,.12)}
.v80-tl strong{display:block;font-size:clamp(26px,2.6vw,36px);font-weight:900;color:var(--v-red);line-height:1.1;margin-bottom:8px}
.v80-tl p{margin:0;font-size:18px;line-height:1.7;color:var(--v-muted);max-width:720px}

/* CTA band */
.v80-cta{position:relative;overflow:hidden;background:var(--v-navy);color:#fff;padding:clamp(72px,9vw,128px) var(--v-pad)}
.v80-cta__in{position:relative;z-index:2;max-width:var(--v-max);margin:0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.v80-cta h2{margin:0;max-width:900px;font-family:var(--v-font-head);font-size:clamp(34px,5vw,68px);line-height:1.05;font-weight:900;letter-spacing:-.03em}
html:lang(fa) .v80-cta h2,html:lang(ar) .v80-cta h2{line-height:1.35;letter-spacing:0}
.v80-cta p{margin:0;max-width:640px;font-size:19px;line-height:1.7;color:var(--v-silver)}

/* program cards */
.v80-progs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media (max-width:900px){.v80-progs{grid-template-columns:1fr}}
.v80-prog{position:relative;display:flex;flex-direction:column;gap:14px;padding:32px 28px;border-radius:22px;background:#fff;border:1px solid var(--v-line);color:var(--v-navy);text-decoration:none;overflow:hidden;transition:transform 300ms var(--v-ease),box-shadow 300ms ease,border-color 200ms ease}
.v71-page a.v80-prog{color:var(--v-navy)}
.v80-prog:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(7,27,51,.14);border-color:var(--v-red)}
.v80-prog h3{margin:0;font-size:23px;font-weight:800}
.v80-prog p{margin:0;font-size:17px;line-height:1.65;color:var(--v-muted)}
.v80-prog .v71-link{margin-top:auto}
.v80-prog--hot{background:var(--v-navy);color:#fff;border-color:var(--v-navy)}
.v71-page a.v80-prog--hot{color:#fff}
.v80-prog--hot p{color:var(--v-silver)}
.v80-prog--hot .v80-icon{background:var(--v-red)}
.v71-page .v80-prog--hot .v71-link{color:#fff}

/* FAQ snippet */
.v80-qa{border-radius:18px;background:#fff;border:1px solid var(--v-line);padding:26px 28px;display:flex;flex-direction:column;gap:10px;max-width:900px}
.v80-qa h3{margin:0;font-size:20px;font-weight:800}
.v80-qa p{margin:0;font-size:17px;line-height:1.7;color:var(--v-muted)}

/* RTL and scripts */
html:lang(fa) .v80-prose p,html:lang(ar) .v80-prose p,html:lang(fa) .v80-tl p,html:lang(ar) .v80-tl p{line-height:1.95}

/* Reduced motion: everything still and complete */
@media (prefers-reduced-motion: reduce){
  .v80-bigword span,.v80-badge,.v80-chips__row,.v80-format::before{animation:none!important}
  .v80-deck__card{transition:none!important}
  .v80-chips__row{flex-wrap:wrap;width:auto}
  .v80-chips{-webkit-mask-image:none;mask-image:none}
  .v80-chips__row[aria-hidden="true"]{display:none}
}

/* V80 polish */
.v80-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media (min-width:1100px){.v80-header:not(.v71-compact) .v71-header__bar{padding-top:12px}}
.v80-dark .v71-h2,.v80-dark h2,.v80-dark h3{color:#fff}
.v80-mosaic:has(>figure:only-child){columns:1}
.v71-footer__nav{grid-auto-flow:column;grid-template-rows:repeat(5,auto)}
@media (min-width:1100px){html{scroll-padding-top:128px}}
html:has(.v80-subnav){scroll-padding-top:118px}
@media (min-width:1100px){html:has(.v80-subnav){scroll-padding-top:168px}}
body:has(.v71-header.is-open) .yfi-social-dock{opacity:0;visibility:hidden;pointer-events:none}
.v80-hscroll__head{padding:0;width:min(var(--v-max),calc(100% - 2 * var(--v-pad)))}

/* Para Fencing: full-width photo hero (photo is never cropped) */
.v80-phero{position:relative;background:var(--v-navy);color:#fff;overflow:hidden}
.v80-phero__media{position:relative;margin:0;display:flex;justify-content:center;align-items:center;overflow:hidden;isolation:isolate;background:var(--v-navy)}
.v80-phero__media::before{content:"";position:absolute;inset:-60px;background:var(--bg) center/cover no-repeat;filter:blur(40px) saturate(1.15) brightness(.5);z-index:-1}
.v80-phero__media::after{content:"";position:absolute;inset:auto 0 0 0;height:5%;background:linear-gradient(to bottom,transparent,var(--v-navy));pointer-events:none}
.v80-phero__media img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;max-width:min(100%,calc(100svh - var(--v80-head,112px) - 24px));min-width:min(100%,520px);box-shadow:0 30px 80px rgba(0,0,0,.45);animation:v80-phero-in 1.1s cubic-bezier(.16,1,.3,1) both}
@keyframes v80-phero-in{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}
.v80-phero__copy{position:relative;max-width:var(--v-max);margin:0 auto;padding:clamp(28px,5vw,64px) var(--v-pad) clamp(48px,7vw,96px);display:flex;flex-direction:column;gap:clamp(16px,2vw,24px);box-sizing:border-box}
.v80-phero__copy h1{margin:0;font-size:clamp(40px,6vw,84px);line-height:1.02;font-weight:900;letter-spacing:-.03em;color:#fff;max-width:16ch}
.v80-phero__copy h1 .v71-mask:last-child span{color:var(--v-red)}
html:lang(fa) .v80-phero__copy h1,html:lang(ar) .v80-phero__copy h1{line-height:1.35;letter-spacing:0}
.v80-phero__copy .v80-hero__lead{max-width:640px}
.v80-phero__copy .v80-hero__actions{display:flex;flex-wrap:wrap;gap:12px}
@media (max-width:800px){.v80-phero__media img{max-width:100%;min-width:0;box-shadow:none}.v80-phero__media::after{height:3%}}
@media (prefers-reduced-motion:reduce){.v80-phero__media img{animation:none}}
/* Camp focus chips: longer labels */
@media (max-width:700px){.v80-chip{font-size:16px;min-height:48px;padding:0 18px;gap:10px}.v80-chip::before{width:8px;height:8px}}
@media (prefers-reduced-motion:reduce){
  .v80-chip--dup{display:none!important}
  .v80-chips__row{padding-inline:var(--v-pad);gap:10px;justify-content:flex-start}
  .v80-chip{white-space:normal;font-size:16px;min-height:46px;padding:10px 18px;line-height:1.3}
}

/* V82 Camps: no photos; destinations */
.v80-hero--solo .v80-hero__grid{grid-template-columns:1fr!important}
.v80-hero--solo .v80-hero__copy{max-width:900px}
.v80-hero--solo{padding-bottom:clamp(36px,5vw,64px)}
.v80-chips--run{position:relative;margin-top:clamp(36px,5vw,64px)}
.v80-chip--flag{font-size:18px;min-height:52px;gap:12px}
.v80-chip--flag::before{display:none}
.v80-chip--flag img{width:30px;height:21px;border-radius:4px;object-fit:cover;flex:none}
.v80-dest-intro{padding:0 var(--v-pad);margin-bottom:clamp(40px,6vw,72px)}
.v80-dest-intro .v80-prose{max-width:860px;gap:18px}
.v80-dest-intro .v80-prose p{font-size:clamp(17px,1.5vw,20px);line-height:1.75;color:var(--v-silver)}
.v80-dest-intro .v80-prose p:first-child{color:#fff;font-size:clamp(19px,1.8vw,24px);font-weight:700;line-height:1.6}
.v80-dest{flex:0 0 clamp(250px,24vw,320px);position:relative;display:flex;flex-direction:column;gap:10px;padding:28px 26px 26px;border-radius:22px;background:linear-gradient(160deg,var(--v-navy-2),rgba(255,255,255,.02));border:1px solid var(--v-navy-border);color:#fff;min-height:260px;box-sizing:border-box;overflow:hidden;transition:transform .35s cubic-bezier(.16,1,.3,1),border-color .35s}
.v80-dest::after{content:"";position:absolute;inset:auto -30% -60% auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(227,27,52,.28),transparent 70%);pointer-events:none}
.v80-dest:hover{transform:translateY(-6px);border-color:var(--v-red)}
.v80-dest__num{position:absolute;top:18px;inset-inline-end:22px;font-size:44px;font-weight:900;color:rgba(255,255,255,.08);line-height:1}
.v80-dest__flag{width:72px;height:50px;border-radius:8px;object-fit:cover;box-shadow:0 10px 24px rgba(0,0,0,.35);margin-bottom:10px}
.v80-dest__city{margin:0;font-size:clamp(26px,2.4vw,32px);font-weight:900;line-height:1.1;letter-spacing:-.01em}
.v80-dest__country{font-size:16px;color:var(--v-silver);font-weight:600}
.v80-dest__when{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid var(--v-navy-border);font-size:15px;font-weight:700;color:#fff}
.v80-dest--planned{border-style:dashed}
.v80-dest--planned .v80-dest__when{background:var(--v-red);border-color:var(--v-red)}
.v80-dest--more{justify-content:center;align-items:flex-start;background:transparent;border-style:dashed}
.v80-dest__plus{font-size:64px;font-weight:300;line-height:1;color:var(--v-red)}
.v80-dest--more .v80-dest__city{font-size:clamp(22px,2vw,26px)}
html:lang(fa) .v80-dest__city,html:lang(ar) .v80-dest__city{line-height:1.4;letter-spacing:0}
.v80-dest-outro{padding:0 var(--v-pad);margin-top:clamp(40px,6vw,72px);display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.v80-dest-outro p{margin:0;max-width:820px;font-size:clamp(19px,1.8vw,24px);line-height:1.6;font-weight:700;color:#fff}
@media (max-width:900px){
  .v80-hscroll__track:has(.v80-dest){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:14px;overflow:visible;width:auto;padding-inline:var(--v-pad);scroll-snap-type:none}
  .v80-dest{min-height:0;padding:22px 20px}
  .v80-dest__num{font-size:34px}
}
@media (max-width:700px){.v80-chip--flag{font-size:15px;min-height:44px}}
html[dir="rtl"] .v80-dest__num{inset-inline-end:auto;left:22px;right:auto}
html[dir="ltr"] .v80-dest__num,html:not([dir]) .v80-dest__num{left:auto;right:22px}
@media (max-width:900px){
  .v80-dest{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:4px;align-items:center;padding:18px 18px}
  .v80-dest__flag{grid-row:1/span 3;width:56px;height:39px;margin:0;align-self:start;margin-top:4px}
  .v80-dest__city{font-size:22px}
  .v80-dest__country{font-size:14px}
  .v80-dest__when{margin-top:6px;min-height:30px;font-size:13px;padding:0 12px}
  .v80-dest__num{font-size:26px;top:14px}
  .v80-dest--more{display:flex;flex-direction:row;align-items:center;gap:14px}
  .v80-dest__plus{font-size:44px}
  .v80-dest--more .v80-dest__city{font-size:18px}
}
@media (max-width:900px){.v80-dest__when{justify-self:start}}

/* V84 Camps slogan: shine/spark on hover (tap or scroll-in on touch screens) */
.v80-shine{cursor:default}
.v80-shine .v80-sh{--base:#fff;--hot:#E31B34;background-image:linear-gradient(105deg,var(--base) 0%,var(--base) 40%,var(--hot) 45%,#FFD166 49%,#fff 50%,#FFD166 51%,var(--hot) 55%,var(--base) 60%,var(--base) 100%);background-size:260% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;display:inline-block;padding-bottom:.06em;position:relative;z-index:0}
.v80-shine .v71-mask:last-child .v80-sh{--base:var(--v-red);--hot:#fff}
.v80-shine:hover .v80-sh,.v80-shine.is-shine .v80-sh,.v80-shine:focus-visible .v80-sh{animation:v80-shine 1.1s cubic-bezier(.3,.6,.3,1) both,v80-spark 1.1s steps(1,end) both}
.v80-shine:hover .v71-mask:nth-child(2) .v80-sh,.v80-shine.is-shine .v71-mask:nth-child(2) .v80-sh{animation-delay:.12s}
.v80-shine:hover .v71-mask:nth-child(3) .v80-sh,.v80-shine.is-shine .v71-mask:nth-child(3) .v80-sh{animation-delay:.24s}
@keyframes v80-shine{from{background-position:100% 0}to{background-position:0% 0}}
@keyframes v80-spark{0%{opacity:1}8%{opacity:.55}12%{opacity:1}18%{opacity:.75}22%{opacity:1}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.v80-shine .v80-sh{animation:none!important;background:none;-webkit-text-fill-color:currentColor;color:#fff}.v80-shine .v71-mask:last-child .v80-sh{color:var(--v-red)}}
.v80-shine .v80-shp{position:relative}
.v80-shine .v80-sh{z-index:1}
.v80-shine .v80-shp::before{content:attr(data-t);position:absolute;inset:0;z-index:0;color:transparent;text-shadow:0 0 0 rgba(227,27,52,0);transition:text-shadow .5s ease;pointer-events:none;white-space:inherit}
.v80-shine:hover .v80-shp::before,.v80-shine.is-shine .v80-shp::before{text-shadow:0 0 18px rgba(227,27,52,.85),0 0 44px rgba(227,27,52,.4)}
@media (prefers-reduced-motion:reduce){.v80-shine .v80-shp::before{display:none}}

/* V85 Camps: featured upcoming camp poster (never cropped) */
.v80-feature{background:linear-gradient(180deg,#fff,var(--v-grey,#F4F6F9))}
.v80-feature__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center}
.v80-feature__media{position:relative;margin:0;border-radius:24px;overflow:hidden;box-shadow:0 30px 70px rgba(7,27,51,.28);transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .5s}
.v80-feature__media img{display:block;width:100%;height:auto}
.v80-feature__media:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 40px 90px rgba(7,27,51,.34)}
.v80-feature__media::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.35) 50%,transparent 65%);background-size:250% 100%;background-position:120% 0;pointer-events:none}
.v80-feature__media:hover::after{animation:v80-shine 1.1s ease both}
.v80-feature__badge{position:absolute;top:16px;inset-inline-start:16px;padding:6px 14px;border-radius:999px;background:var(--v-red);color:#fff;font-weight:900;font-size:15px;letter-spacing:.06em;box-shadow:0 8px 20px rgba(227,27,52,.4);animation:v80-pulse 2.4s ease-in-out infinite}
@keyframes v80-pulse{0%,100%{box-shadow:0 0 0 0 rgba(227,27,52,.5)}50%{box-shadow:0 0 0 12px rgba(227,27,52,0)}}
.v80-feature__copy{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.v80-feature__copy .v71-h2{margin:0}
.v80-feature__place{display:flex;align-items:center;gap:12px;margin:0;font-size:clamp(18px,1.6vw,21px);font-weight:800;color:var(--v-navy)}
.v80-feature__place img{width:34px;height:24px;border-radius:4px;object-fit:cover}
.v80-feature__tags{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.v80-feature__tags li{position:relative;padding-inline-start:26px;font-size:17px;line-height:1.5;color:var(--v-ink-2,#3A4A5E)}
.v80-feature__tags li::before{content:"";position:absolute;inset-inline-start:0;top:.55em;width:12px;height:12px;border-radius:50%;background:var(--v-red);box-shadow:0 0 0 4px rgba(227,27,52,.15)}
.v80-feature__cta{gap:10px}
.v80-feature__cta svg{width:20px;height:20px}
@media (max-width:900px){.v80-feature__grid{grid-template-columns:1fr}.v80-feature__media{border-radius:18px}}
@media (prefers-reduced-motion:reduce){.v80-feature__badge,.v80-feature__media:hover::after{animation:none}.v80-feature__media:hover{transform:none}}
.v80-nowrap{white-space:nowrap}@media (max-width:380px){.v80-nowrap{white-space:normal}}
/* V86: wide poster edge to edge on computers; square poster on phones/tablets */
@media (min-width:901px){
  .v80-feature{padding-top:0}
  .v80-feature__grid{grid-template-columns:1fr;gap:clamp(32px,4vw,56px)}
  .v80-feature__media{margin-inline:calc(50% - 50vw);border-radius:0;box-shadow:none;background:#071B33}
  .v80-feature__media:hover{transform:none;box-shadow:none}
  .v80-feature__media img{width:100%;height:auto;max-width:none}
  .v80-feature__badge{display:none}
  .v80-feature__copy{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:center;width:100%}
  .v80-feature__side{padding-inline-start:clamp(24px,3vw,48px);border-inline-start:3px solid var(--v-red)}
}
@media (min-width:901px){
  .v80-feature__media{position:relative;overflow:hidden;isolation:isolate;display:flex;justify-content:center}
  .v80-feature__media::before{content:"";position:absolute;inset:-50px;background:var(--bg) center/cover no-repeat;filter:blur(36px) brightness(.55) saturate(1.1);z-index:-1}
  .v80-feature__media picture{display:block;width:100%;max-width:calc((100svh - var(--v80-head,112px)) * 1192 / 763)}
  .v80-feature__media img{display:block;width:100%;height:auto;box-shadow:0 0 60px rgba(0,0,0,.35)}
}

.v80-feature__head,.v80-feature__side{display:flex;flex-direction:column;gap:18px;align-items:flex-start}

/* V87: real brand icons in footer; wide poster on all screens */
.v71-footer__connect a{gap:12px}
.v71-footer__connect svg.v86-brand{width:28px;height:28px;flex:none;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.25);transition:transform .25s ease}
.v71-footer__connect a:hover svg.v86-brand,.v71-footer__connect a:focus-visible svg.v86-brand{transform:translateY(-2px) scale(1.06)}
@media (max-width:900px){.v80-feature__media{margin-inline:calc(-1 * var(--v-pad));border-radius:0}.v80-feature__badge{display:none}}
.v80-header .v71-nav__links>li:last-child>.v71-sub{inset-inline-start:auto;inset-inline-end:0}
/* V88 refereeing collage + 10 country cards */
.v80-refimg{margin:0;border-radius:22px;overflow:hidden;box-shadow:0 26px 60px rgba(0,0,0,.4);align-self:start}
.v80-refimg img{display:block;width:100%;height:auto}
.v80-cards--ref{margin-top:clamp(32px,4vw,56px);grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))!important}
.v80-ref-h{margin:clamp(40px,5vw,72px) 0 0;display:flex;align-items:center;gap:14px;font-size:clamp(22px,2.4vw,32px);font-weight:900;line-height:1.3;color:#fff}
.v80-ref-h::before{content:"";flex:none;width:44px;height:4px;border-radius:2px;background:var(--v-red)}
.v80-ref-h+.v80-cards--ref{margin-top:24px}
.v80-cards--ref .v80-card p{color:#fff!important;font-size:16.5px;line-height:1.6;font-weight:600}
html:lang(fa) .v80-ref-h,html:lang(ar) .v80-ref-h{line-height:1.6}

/* ===== V90: 14 languages ===== */
html:lang(ja){--v-font:Inter,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;--v-font-head:var(--v-font)}
html:lang(th){--v-font:Inter,"Noto Sans Thai",Tahoma,"Leelawadee UI",sans-serif;--v-font-head:var(--v-font)}
html:lang(ja) body,html:lang(th) body{font-family:var(--v-font)}
html:lang(ja) .v71-h1,html:lang(ja) .v71-h2,html:lang(ja) .v80-hero h1,html:lang(ja) .v80-phero__copy h1,html:lang(ja) .v71-eyebrow{letter-spacing:0;line-height:1.3}
html:lang(th) .v71-h1,html:lang(th) .v71-h2,html:lang(th) .v80-hero h1,html:lang(th) .v80-phero__copy h1,html:lang(th) h1,html:lang(th) h2,html:lang(th) h3{letter-spacing:0;line-height:1.45}
html:lang(th) p,html:lang(th) li{line-height:1.85}
html:lang(ja) h1,html:lang(ja) h2,html:lang(ja) h3{word-break:auto-phrase;line-break:strict}
html:lang(ru) .v71-h1,html:lang(ru) .v80-hero h1,html:lang(de) .v80-hero h1,html:lang(tr) .v80-hero h1{hyphens:auto;overflow-wrap:break-word}
html:lang(de) h1,html:lang(de) h2,html:lang(ru) h2{hyphens:auto}

/* language menu: 14 languages in two columns, native names */
.v71-lang__menu{grid-template-columns:repeat(2,minmax(0,1fr));min-width:340px;max-height:min(78vh,620px)}
.v71-lang__menu a{min-width:0}
.v71-lang__menu a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:420px){.v71-lang__menu{min-width:0;width:min(92vw,340px)}}

/* rotating globe */
.v90-globe{display:inline-flex;width:20px;height:20px;color:currentColor;flex:none}
.v90-globe svg{width:20px;height:20px;overflow:visible}
.v90-globe__spin{animation:v90-spin 7s linear infinite}
.v71-lang summary:hover .v90-globe__spin,.v71-lang[open] .v90-globe__spin{animation-duration:2.4s}
@keyframes v90-spin{from{transform:translateX(0)}to{transform:translateX(-18px)}}
@media (prefers-reduced-motion:reduce){.v90-globe__spin{animation:none}}
@media (max-width:600px){
  .v71-lang__menu{position:fixed;top:76px;left:12px;right:12px;inset-inline-start:12px;inset-inline-end:12px;width:auto;min-width:0;max-height:calc(100vh - 96px)}
}
@media (max-width:480px){.v71-lang summary{gap:4px;padding:0 6px}.v90-globe,.v90-globe svg{width:18px;height:18px}.v71-lang summary>img{width:20px;height:14px}}

/* v91: language button – no flag on the button, animated globe with pulse halo (menu keeps flags) */
.v71-lang summary>img{display:none!important}
.v71-lang summary .v90-globe{position:relative;width:22px;height:22px;isolation:isolate}
.v71-lang summary .v90-globe svg{width:22px;height:22px}
.v71-lang summary .v90-globe::before,.v71-lang summary .v90-globe::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:1.5px solid rgba(214,226,240,.75);opacity:0;z-index:-1;animation:v91-halo 2.8s cubic-bezier(.2,.7,.3,1) infinite}
.v71-lang summary .v90-globe::after{animation-delay:1.4s}
.v71-lang summary .v90-globe svg{animation:v91-bob 2.8s ease-in-out infinite;transform-origin:50% 50%}
.v71-lang summary:hover .v90-globe::before,.v71-lang summary:hover .v90-globe::after,.v71-lang[open] .v90-globe::before,.v71-lang[open] .v90-globe::after{animation:none;opacity:0}
.v71-lang summary:focus-visible{outline:2px solid #fff;outline-offset:2px}
@keyframes v91-halo{0%{transform:scale(.85);opacity:.9}70%{opacity:0}100%{transform:scale(1.6);opacity:0}}
@keyframes v91-bob{0%,100%{transform:rotate(0)}10%{transform:rotate(-12deg)}20%{transform:rotate(10deg)}30%{transform:rotate(0)}}
@media (prefers-reduced-motion:reduce){.v71-lang summary .v90-globe::before,.v71-lang summary .v90-globe::after,.v71-lang summary .v90-globe svg{animation:none}.v71-lang summary .v90-globe::before{opacity:.6;transform:scale(1.15)}}
@media (max-width:480px){.v71-lang summary .v90-globe,.v71-lang summary .v90-globe svg{width:22px;height:22px}.v71-lang summary{min-width:52px;justify-content:center}}

/* v91: new square YFI emblem */
.v71-footer__brand img{width:96px!important;height:96px!important;object-fit:contain}
.v71-brand img{aspect-ratio:1/1;object-fit:contain}
.authorbox .yfi-author-logo-light{width:58px!important;height:58px!important}
@media (max-width:600px){.authorbox .yfi-author-logo-light{width:46px!important;height:46px!important}}

/* YFI pro: consultation booking bar */
.yfb{box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:22px;padding:8px 8px 8px 18px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.03));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:max-content;max-width:100%;box-shadow:0 18px 40px rgba(2,10,24,.35)}
[dir=rtl] .yfb{padding:8px 18px 8px 8px}
.yfb__label{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:700;font-size:15px;letter-spacing:.005em}
.yfb__label svg{width:19px;height:19px;color:#D9B66A;flex:0 0 auto}
.yfb__btns{display:inline-flex;gap:8px;flex-wrap:wrap}
.yfb__btn{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 18px;border-radius:999px;font-weight:700;font-size:14.5px;color:#fff;text-decoration:none;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,background .25s,border-color .25s}
.yfb__btn svg{width:19px;height:19px;flex:0 0 auto}
.yfb__cf{background:#E31B34;box-shadow:0 8px 20px rgba(227,27,52,.32)}
.yfb__cf:hover,.yfb__cf:focus-visible{background:#F2304A;transform:translateY(-2px);box-shadow:0 12px 26px rgba(242,48,74,.42)}
[dir=rtl] .yfb__cf svg{transform:none}
.yfb__btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* YFI pro: photo frames follow each photo's own shape (no empty side/top bars, no cropping) */
:is(h1,h2,h3,.v71-h1) .v71-mask{padding-bottom:.28em;margin-bottom:-.28em}
.v71-fit{aspect-ratio:auto!important;height:auto!important;background:none!important}
.v71-fit::before{display:none!important}
.v71-fit img{display:block;width:100%!important;height:auto!important;object-fit:fill!important}
.v71-champs{align-items:start}
.v80-deck__card{inset:0 10%!important;margin:auto!important;height:max-content!important;max-height:100%;background:none!important}
.v80-deck__card::before{display:none!important}
.v80-deck__card img{display:block;width:100%;height:auto!important;max-height:100%;object-fit:contain}

.v71-cta .yfb{margin-inline:0}
@media (max-width:640px){.yfb{width:100%;border-radius:20px;padding:14px}[dir=rtl] .yfb{padding:14px}.yfb__label{width:100%;justify-content:center}.yfb__btns{width:100%}.yfb__btn{flex:1 1 0;justify-content:center}}

/* YFI pro: display headline font (Latin & Cyrillic languages) */
html:is(:lang(en),:lang(es),:lang(fr),:lang(de),:lang(it),:lang(pt),:lang(tr),:lang(ru)){--v-font-head:"Oswald","Inter","Helvetica Neue",Arial,sans-serif}
html:is(:lang(en),:lang(es),:lang(fr),:lang(de),:lang(it),:lang(pt),:lang(tr),:lang(ru)) :is(.v71-h1,.v71-h2,.v71-h3,.v80-hero h1,.v80-cta h2,.v71-inner h1,.v71-inner h2){letter-spacing:-.004em;font-weight:700}
html:is(:lang(en),:lang(es),:lang(fr),:lang(de),:lang(it),:lang(pt),:lang(tr),:lang(ru)) :is(.v71-h1,.v80-hero h1){line-height:.96;letter-spacing:-.006em}
html:is(:lang(en),:lang(es),:lang(fr),:lang(de),:lang(it),:lang(pt),:lang(tr),:lang(ru)) .v71-h2{line-height:1.04}
html:is(:lang(en),:lang(es),:lang(fr),:lang(de),:lang(it),:lang(pt),:lang(tr),:lang(ru)) .v80-bigword{font-weight:700}

/* yfi-up */.yfz-up{display:inline-block;margin-inline-end:6px;padding:2px 9px;border-radius:999px;background:#E2223B;color:#fff;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;vertical-align:1px}.is-upcoming{border-style:dashed!important}