/* Languages hub (/languages, wrapper .sv2-pg-languages) and the three language region pages (/european-languages,
   /asian-languages, /middle-eastern-languages, wrapper .sv2-pg-langhub), 5 Oct 2026. Loaded after site-v2.css and
   site-v2-pages.css; every rule is scoped under one of the two wrappers. */

/* the language grid: clean hairline cells, code, name and native script (no icon boxes, no shadows) */
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line-strong);border-inline-start:1px solid var(--line-strong)}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid li{border-inline-end:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);background:#fff}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a{position:relative;display:flex;flex-direction:column;gap:4px;height:100%;min-height:108px;padding:20px 22px 20px;transition:background .18s}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a::before{content:"";position:absolute;top:-1px;inset-inline-start:-1px;width:0;height:3px;background:var(--accent);transition:width .2s}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a:hover{background:#fbfaf7}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a:hover::before{width:44px}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a:hover h3{color:var(--orange)}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a:focus-visible{outline-offset:-3px}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-code{font:600 12px/1.4 Inter,sans-serif;letter-spacing:.12em;color:var(--soft)}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid h3{font-size:19px;line-height:1.3;letter-spacing:-.015em;color:var(--ink);overflow-wrap:break-word;transition:color .18s}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-native{font-size:15px;line-height:1.45;color:var(--muted)}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-where{margin-top:auto;padding-top:6px;font-size:13px;line-height:1.4;color:var(--soft)}

/* /languages: a region photo banner over each region's list (the region page's own hero photo, link over the photo) */
.sv2-pg-languages .lg-region .sv2-wrap>.sv2-head{margin-bottom:40px}
.sv2-pg-languages .lg-banner{min-height:360px;margin-bottom:28px}
.sv2-pg-languages .lg-banner>img{object-position:var(--pos,50% 50%)}
.sv2-pg-languages .lg-banner .sv2-tile-body{max-width:780px;padding:44px 48px}
.sv2-pg-languages .lg-banner h2{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.sv2-pg-languages .lg-banner h2::before{content:"";display:block;width:36px;height:3px;border-radius:2px;background:var(--accent);margin-bottom:20px}
.sv2-pg-languages .lg-banner p{min-height:0;margin-top:14px;font-size:18px;line-height:1.6}
.sv2-pg-languages .lg-banner .sv2-tile-link{margin-top:22px;gap:10px;font-size:16px}
.sv2-pg-languages .lg-banner .sv2-tile-link .sv2-arrow{color:#ff914e}
.sv2-pg-languages .lg-banner:hover .sv2-tile-link .sv2-arrow{translate:3px 0}
[dir="rtl"] .sv2-pg-languages .lg-banner:hover .sv2-tile-link .sv2-arrow{translate:-3px 0}
.sv2-pg-languages .lg-banner::before{background:linear-gradient(90deg,rgba(7,16,30,.72) 0%,rgba(7,16,30,.5) 45%,rgba(7,16,30,.08) 80%),linear-gradient(0deg,rgba(7,16,30,.5),rgba(7,16,30,0) 60%)}
[dir="rtl"] .sv2-pg-languages .lg-banner::before{background:linear-gradient(270deg,rgba(7,16,30,.72) 0%,rgba(7,16,30,.5) 45%,rgba(7,16,30,.08) 80%),linear-gradient(0deg,rgba(7,16,30,.5),rgba(7,16,30,0) 60%)}

/* every language A to Z: a calm alphabetical list in columns (English page only) */
.sv2-pg-languages .lg-az{columns:6 180px;column-gap:32px;padding-top:4px;border-top:1px solid var(--line-strong)}
.sv2-pg-languages .lg-az li{break-inside:avoid;border-bottom:1px solid var(--line)}
.sv2-pg-languages .lg-az a{display:flex;align-items:center;min-height:44px;padding-block:9px;font:500 15px/1.35 Inter,sans-serif;color:var(--ink);transition:color .18s}
.sv2-pg-languages .lg-az a:hover{color:var(--orange)}

/* region pages */
.sv2-pg-langhub .lh-context{padding-block:88px}
.sv2-pg-langhub .lh-context .sv2-head{margin-bottom:0;align-items:center}
.sv2-pg-langhub .lh-context .sv2-head>p{max-width:600px;font-size:19px;color:var(--ink)}
.sv2-pg-langhub .lh-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.sv2-pg-langhub .lh-grid-4 li{padding-inline:30px}
.sv2-pg-langhub .lh-grid-4 li+li::before{inset-inline-start:30px}
.sv2-pg-langhub .lh-grid-4 li:first-child{padding-inline-start:0}
.sv2-pg-langhub .lh-grid-4 li:last-child{padding-inline-end:0}
.sv2-pg-langhub .lh-grid-4 h3{font-size:22px}
.sv2-pg-langhub .lh-grid-4 p{font-size:16px}
.sv2-pg-langhub .lh-split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px 88px;align-items:start}
.sv2-pg-langhub .lh-split-copy>h2{font-size:clamp(32px,3vw,46px)}
.sv2-pg-langhub .lh-split-copy>h2::before{content:"";display:block;width:36px;height:3px;border-radius:2px;background:var(--accent);margin-bottom:22px}
@media(min-width:1024px){.sv2-pg-langhub .lh-split-copy{position:sticky;top:calc(var(--header) + 24px)}}
.sv2-pg-langhub .lh-note{margin-top:26px;max-width:460px;font-size:15px;line-height:1.6;color:var(--soft)}
.sv2-pg-langhub .lh-note a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:rgba(199,66,13,.55);text-underline-offset:4px}
.sv2-pg-langhub .lh-note a:hover{color:var(--orange)}
.sv2-pg-langhub .lh-checks{margin:0}
.sv2-pg-langhub .lh-checks li{padding-block:22px}
.sv2-pg-langhub .lh-checks li::before{top:25px}
.sv2-pg-langhub .lh-checks h3{font:600 19px/1.35 Poppins,"Poppins Fallback",sans-serif;letter-spacing:-.015em;color:var(--ink)}
.sv2-pg-langhub .lh-checks p{margin-top:6px;font-size:16px;line-height:1.65;color:var(--muted)}
.sv2-pg-langhub .lh-family{display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr);gap:20px 56px;padding-block:44px;border-top:1px solid var(--line-strong)}
.sv2-pg-langhub .lh-family:first-child{padding-top:0;border-top:0}
.sv2-pg-langhub .lh-family:last-child{padding-bottom:0}
.sv2-pg-langhub .lh-family-head h3{font-size:26px;line-height:1.2;color:var(--ink)}
.sv2-pg-langhub .lh-family-head h3::before{content:"";display:block;width:28px;height:3px;border-radius:2px;background:var(--accent);margin-bottom:16px}
.sv2-pg-langhub .lh-family-head p{margin-top:10px;max-width:340px;font-size:16px;line-height:1.65;color:var(--muted)}
.sv2-pg-langhub .lh-family .lg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

/* readability over the lighter photo shade (5 Oct 2026): breadcrumb and lead in pure white, the current page marked by
   weight instead of the warm tint; outline buttons over photos get the dark fill the hero buttons already have */
:is(.sv2-pg-languages,.sv2-pg-langhub) .sv2-hero :is(.sv2-crumbs ol,.sv2-crumbs li[aria-current],.sv2-hero-lead,.sv2-stat span){color:#fff}
.sv2-pg-langhub .sv2-hero .sv2-stat span{text-shadow:0 1px 2px rgba(0,0,0,.45),0 2px 14px rgba(0,0,0,.35)}
:is(.sv2-pg-languages,.sv2-pg-langhub) .sv2-hero .sv2-crumbs li[aria-current]{font-weight:600}
:is(.sv2-pg-languages,.sv2-pg-langhub) .sv2-cta .sv2-btn-outline-light{background:rgba(5,13,26,.55)}
:is(.sv2-pg-languages,.sv2-pg-langhub) .sv2-cta .sv2-btn-outline-light:hover{background:#fff}
/* the hero on these pages: words over the photo, nothing beside them; the /languages hero holds only a heading and a
   line, so it stays shorter and the first region shows below it */
.sv2-pg-languages .sv2-hero{min-height:min(560px,calc(100svh - var(--header)))}
.sv2-pg-langhub .sv2-hero-copy,.sv2-pg-languages .sv2-hero-copy{max-width:820px}
.sv2-pg-langhub .sv2-hero-lead{max-width:560px}
@media(min-width:1024px) and (max-height:820px){.sv2-pg-langhub .sv2-hero-inner{padding-top:26px;padding-bottom:36px}.sv2-pg-langhub .sv2-hero h1{margin-top:12px}.sv2-pg-langhub .sv2-hero-lead{margin-top:14px}.sv2-pg-langhub .sv2-hero-points{margin-top:14px}.sv2-pg-langhub .sv2-hero-ctas{margin-top:20px}.sv2-pg-langhub .sv2-hero-stats{margin-top:22px}}

@media(max-width:1100px){
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.sv2-pg-langhub .lh-family .lg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sv2-pg-langhub .lh-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.sv2-pg-langhub .lh-grid-4 li:nth-child(n){padding-inline:0 28px;border-inline-start:0}
.sv2-pg-langhub .lh-grid-4 li:nth-child(even){padding-inline:28px 0;border-inline-start:1px solid rgba(255,255,255,.14)}
.sv2-pg-langhub .lh-grid-4 li:nth-child(n)::before{inset-inline-start:0}
.sv2-pg-langhub .lh-grid-4 li:nth-child(even)::before{inset-inline-start:28px}
.sv2-pg-langhub .lh-grid-4 li:nth-child(n+3){margin-top:28px;border-top:1px solid rgba(255,255,255,.14)}
.sv2-pg-langhub .lh-split{gap:40px 48px}
}
@media(max-width:850px){
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid,.sv2-pg-langhub .lh-family .lg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sv2-pg-langhub .lh-grid-4{grid-template-columns:minmax(0,1fr);border-top:0}
.sv2-pg-langhub .lh-grid-4 li:nth-child(n),.sv2-pg-langhub .lh-grid-4 li:nth-child(even){padding:26px 0;margin-top:0;border-inline-start:0;border-top:1px solid rgba(255,255,255,.16)}
.sv2-pg-langhub .lh-grid-4 li:nth-child(n)::before,.sv2-pg-langhub .lh-grid-4 li:nth-child(even)::before{inset-inline-start:0;width:40px}
.sv2-pg-langhub .lh-split,.sv2-pg-langhub .lh-family{grid-template-columns:minmax(0,1fr)}
.sv2-pg-langhub .lh-family-head p{max-width:none}
.sv2-pg-languages .lg-az{columns:4 150px}
}
@media(max-width:600px){
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid,.sv2-pg-langhub .lh-family .lg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a{min-height:0;gap:2px;padding:14px 14px 15px}
.sv2-pg-languages .sv2-hero{min-height:440px}
.sv2-pg-langhub .sv2-hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,auto));justify-content:start;gap:12px 18px}
.sv2-pg-langhub .sv2-stat strong{font-size:24px}
.sv2-pg-langhub .sv2-stat span{font-size:12px}
.sv2-pg-langhub .lh-context{padding-block:64px}
.sv2-pg-langhub .lh-context .sv2-head>p{font-size:17px}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid h3{font-size:17px}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-native{font-size:14px}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-code{font-size:11px}
.sv2-pg-languages .lg-banner{min-height:300px;margin-bottom:20px}
.sv2-pg-languages .lg-banner .sv2-tile-body{padding:24px 22px 24px}
.sv2-pg-languages .lg-banner p{font-size:16px}
.sv2-pg-languages .lg-banner::before,[dir="rtl"] .sv2-pg-languages .lg-banner::before{background:linear-gradient(180deg,rgba(7,16,30,.1) 0%,rgba(7,16,30,.45) 35%,rgba(7,16,30,.86) 70%,rgba(7,16,30,.92) 100%)}
.sv2-pg-languages .lg-region .sv2-wrap>.sv2-head{margin-bottom:30px}
.sv2-pg-languages .lg-az{columns:3;column-gap:16px}
.sv2-pg-languages .lg-az a{min-height:44px;padding-block:8px;font-size:14px;line-height:1.3}
.sv2-pg-langhub .lh-checks li{padding-block:18px}
.sv2-pg-langhub .lh-checks li::before{top:21px}
.sv2-pg-langhub .lh-checks h3{font-size:18px}
.sv2-pg-langhub .lh-checks p{font-size:15px}
.sv2-pg-langhub .lh-family{padding-block:36px}
.sv2-pg-langhub .lh-family-head h3{font-size:23px}
.sv2-pg-langhub .lh-families+.sv2-faq{padding-top:72px}
}
@media(max-width:374px){
.sv2-pg-languages .lg-az{columns:2}
:is(.sv2-pg-languages,.sv2-pg-langhub) .lg-grid a{padding-inline:12px}
}
/* Region pages: trust points with the orange dots /services uses (one per line on phones); the four figures line up at
   the top when one label wraps (review 5 Oct 2026) */
.sv2-pg-langhub .sv2-hero-points li+li::before{content:"";flex:0 0 auto;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-inline-end:22px}
.sv2-pg-langhub .sv2-hero-stats{align-items:start}
@media(max-width:600px){.sv2-pg-langhub .sv2-hero-points{flex-direction:column;align-items:flex-start;gap:8px}.sv2-pg-langhub .sv2-hero-points li::before,.sv2-pg-langhub .sv2-hero-points li+li::before{content:"";flex:0 0 auto;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-inline-end:12px}}
