/*
 * victorws.com – child theme of WS Theme Kit 1.0.0 (copied from brands/_template.css).
 * Loaded AFTER dist/ws-theme.css. Only variables and a few rules belong here; never copy
 * whole component CSS. Removing this file from config/theme.php "brand_css" gives the
 * kit's default look and the site keeps working.
 *
 * Colours and type follow the Victor WS Logo Guidelines v1.0 (October 2026):
 *   Navy World Steel #0A1F35 (primary background) · Hexagon Red #B8363A · Victor Gold #C9A048
 *   · White. Navy leads; red and gold are small accents (layout guide: navy 60 %, white 25 %,
 *   gold 9 %, red 6 %). Headings Barlow Condensed Bold uppercase (kit), body Inter Regular.
 */

/* Inter, self-hosted (SIL OFL, see /assets/brand/fonts/OFL-Inter.txt). Paths are relative to
   /themes/ws-theme-kit/brands/ so the site also works in a sub-folder. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../../assets/brand/fonts/inter-vietnamese-400-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-0101, U+0104-010F, U+0112-0127, U+012A-0167, U+016A-019F, U+01A2-01AE, U+01B1-02AF, U+1E00-1E9F, U+1EFA-1EFF, U+2020, U+20A0-20AA, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../../assets/brand/fonts/inter-vietnamese-500-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-0101, U+0104-010F, U+0112-0127, U+012A-0167, U+016A-019F, U+01A2-01AE, U+01B1-02AF, U+1E00-1E9F, U+1EFA-1EFF, U+2020, U+20A0-20AA, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/brand/fonts/inter-vietnamese-600-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-0101, U+0104-010F, U+0112-0127, U+012A-0167, U+016A-019F, U+01A2-01AE, U+01B1-02AF, U+1E00-1E9F, U+1EFA-1EFF, U+2020, U+20A0-20AA, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../../assets/brand/fonts/inter-vietnamese-700-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-0101, U+0104-010F, U+0112-0127, U+012A-0167, U+016A-019F, U+01A2-01AE, U+01B1-02AF, U+1E00-1E9F, U+1EFA-1EFF, U+2020, U+20A0-20AA, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../../assets/brand/fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Vietnamese pages: the kit's latin-ext range also covers ă đ ơ ư, which made browsers download
   both files. Declaring the Vietnamese faces again (later wins for shared code points) keeps
   Vietnamese text to the small Vietnamese file. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/barlow-condensed-vietnamese-500-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-condensed-vietnamese-600-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-condensed-vietnamese-700-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  /* Brand colours (guideline §06) */
  --brand-primary: #B8363A;          /* Hexagon Red: buttons, links, active states (small accents) */
  --brand-primary-dark: #962B2F;     /* hover */
  --brand-secondary: #C9A048;        /* Victor Gold: rules, borders, menu underline, eyebrow on dark */
  --brand-secondary-light: #DDB86A;  /* icons and highlights on navy */
  --brand-secondary-dark: #8A6A26;   /* gold text on white (contrast 4.9:1) */
  --brand-dark: #0A1F35;             /* Navy World Steel: header, dark sections */
  --brand-darker: #06121F;           /* utility bar and footer */
  --brand-darker-rgb: 6 18 31;       /* SAME colour as --brand-darker, written as R G B */
  --brand-dark-2: #0F2A45;

  /* Type (guideline §08): Barlow Condensed for headings comes from the kit; Inter for text. */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Site additions (not used by the kit) */
  --vws-navy: #0A1F35;
  --vws-red: #B8363A;
  --vws-gold: #C9A048;
  --vws-logo-clear: .32;             /* clear space x = 0.32 × icon height (guideline §04) */
}

/* ---------------------------------------------------------------- logo */
/* Logo height 44 px leaves (76 − 44) / 2 = 16 px above and below, more than the 1x clear space
   (0.32 × 44 = 14 px). On phones 40 px keeps the horizontal logo above its 120 px minimum width. */
.site-header .brand__logo { height: 44px; }
@media (max-width: 560px) { .site-header .brand__logo { height: 40px; } }
.footer__brand .brand__logo { height: 52px; margin-block: 17px; }

/* ---------------------------------------------------------------- wordmark */
/* Text wordmark "VICTOR WS" until the logo file is switched on in config/theme.php. */
.brand__wordmark { letter-spacing: .04em; }

/* ---------------------------------------------------------------- language menu */
/* The language switcher is a regular mega-menu item; keep its label compact. */
.nav__item:last-child > .nav__link { letter-spacing: .08em; }
.mega a[data-lang-switch][aria-current="true"] .mega__label { font-weight: 700; }
.mega a[data-lang-switch][aria-current="true"] .mega__icon { border-color: var(--orange); color: var(--orange); }

/* ---------------------------------------------------------------- scripts without Barlow glyphs */
/* Inter and Barlow have no CJK, Thai, Arabic or Hebrew glyphs: use good system fonts for those. */
:root:lang(zh-CN) { --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Inter", sans-serif; --font-cond: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Barlow Condensed", sans-serif; }
:root:lang(zh-TW) { --font: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Inter", sans-serif; --font-cond: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Barlow Condensed", sans-serif; }
:root:lang(zh-HK) { --font: "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", "Inter", sans-serif; --font-cond: "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", "Barlow Condensed", sans-serif; }
:root:lang(ja) { --font: "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Inter", sans-serif; --font-cond: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Barlow Condensed", sans-serif; }
:root:lang(ko) { --font: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Inter", sans-serif; --font-cond: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Barlow Condensed", sans-serif; }
:root:lang(th) { --font: "Inter", "Thonburi", "Leelawadee UI", "Noto Sans Thai", sans-serif; --font-cond: "Barlow Condensed", "Thonburi", "Leelawadee UI", "Noto Sans Thai", sans-serif; }
:root:lang(ar) { --font: "Inter", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", Tahoma, sans-serif; --font-cond: "Barlow Condensed", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", Tahoma, sans-serif; }
:root:lang(he) { --font: "Inter", "Arial Hebrew", "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif; --font-cond: "Barlow Condensed", "Arial Hebrew", "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif; }
/* Uppercase + wide tracking hurts CJK, Thai, Arabic and Hebrew. */
:root:is(:lang(zh-CN), :lang(zh-TW), :lang(zh-HK), :lang(ja), :lang(ko), :lang(th), :lang(ar), :lang(he)) :is(.eyebrow, .nav__link, .btn, .mega__heading, .hero__badge, .footer__heading, .stat dt) { letter-spacing: normal; }

/* ---------------------------------------------------------------- right-to-left (ar, he) */
/* The kit is written for left-to-right. Flex and grid follow dir="rtl" automatically;
   these rules mirror the physical left/right offsets the kit uses. */
[dir="rtl"] .skip-link { left: auto; right: -999px; }
[dir="rtl"] .skip-link:focus { right: 1rem; }
[dir="rtl"] .brand__region { padding-left: 0; border-left: 0; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.22); }
[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg, [dir="rtl"] .tile__cap svg, [dir="rtl"] .mega__bar-inner a svg, [dir="rtl"] .mega__promo .btn svg, [dir="rtl"] .card__link span[aria-hidden] { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .card:hover .card__link span[aria-hidden] { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .hero-slider__arrow svg, [dir="rtl"] .sq-btn svg { transform: scaleX(-1); }
@media (min-width: 1280px) {
  [dir="rtl"] .nav__link::after { transform-origin: right; }
  [dir="rtl"] .mega li a:hover .mega__label { transform: translateX(-3px); }
  [dir="rtl"] .mega__bar-inner a { margin-left: 0; margin-right: auto; }
}
[dir="rtl"] .search-panel__close { right: auto; left: 20px; }
[dir="rtl"] .search-panel__hint a { margin-right: 0; margin-left: 1rem; }
[dir="rtl"] .breadcrumbs { padding-left: var(--gutter); padding-right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
[dir="rtl"] .breadcrumbs li + li::before { margin-right: 0; margin-left: .3rem; }
[dir="rtl"] .section__more { text-align: right; }
[dir="rtl"] .page-header::after { right: auto; left: -6%; transform: scaleX(-1); }
[dir="rtl"] .hero__art { right: auto; left: -4%; transform: scaleX(-1); }
[dir="rtl"] .hero__side { align-items: flex-start; text-align: left; }
[dir="rtl"] .hero__media-note { right: auto; left: var(--gutter); text-align: left; }
[dir="rtl"] .hero-slide__figure { text-align: left; }
[dir="rtl"] .stat { border-left: 0; border-right: 3px solid var(--orange); padding: 2px 20px 2px 0; }
[dir="rtl"] .card::before { left: auto; right: -1px; }
[dir="rtl"] .insight__refs { left: auto; right: 16px; border-left: 0; border-right: 3px solid var(--orange); }
[dir="rtl"] .pillar__quote,
[dir="rtl"] .prose blockquote { border-left: 0; border-right: 3px solid var(--orange); padding-left: 0; padding-right: 16px; }
[dir="rtl"] .data-table th, [dir="rtl"] .data-table td, [dir="rtl"] .prose th, [dir="rtl"] .prose td { text-align: right; }
[dir="rtl"] .dual-cta__panel--accent::after { right: auto; left: -40px; }
[dir="rtl"] .checklist li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }
[dir="rtl"] .notice, [dir="rtl"] .alert { border-left: 0; border-right: 4px solid var(--accent); }
[dir="rtl"] .alert { border-right-color: currentColor; }
[dir="rtl"] .status-pill { left: auto; right: 12px; }
[dir="rtl"] .page-header .status-pill { margin-right: 0; margin-left: .5rem; }
[dir="rtl"] .empty-state--boxed { border-left: 1px solid var(--line); border-right: 4px solid var(--orange); }
[dir="rtl"] .faq__item summary::after { right: auto; left: 0; }
[dir="rtl"] .faq__item summary { padding-right: 0; padding-left: 56px; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol, [dir="rtl"] .mini-steps { padding-left: 0; padding-right: 1.3rem; }
[dir="rtl"] .form-card__ref { border-left: 0; border-right: 3px solid var(--orange); }
[dir="rtl"] .footer__presence { border-left: 0; border-right: 2px solid var(--orange); padding-left: 0; padding-right: 12px; }
[dir="rtl"] .ev-card::after { right: auto; left: -30px; }
[dir="rtl"] .to-top { right: auto; left: 20px; }
[dir="rtl"] .mobile-bar__btn + .mobile-bar__btn { border-left: 0; border-right: 1px solid rgba(255,255,255,.18); }
/* The carousel script measures scrollLeft, which is negative in RTL: keep the track LTR. */
[dir="rtl"] .carousel__track { direction: ltr; }
[dir="rtl"] .carousel__track > * { direction: rtl; }
/* Phone numbers, emails and codes stay left-to-right inside RTL text. */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] .footer__contact a { direction: ltr; unicode-bidi: isolate; }

/* Home (Phase 4) ---------------------------------------------------------- */
/* Four pillars: one row on wide screens, 2 × 2 on tablets (auto-fit would leave 3 + 1). */
@media (min-width: 640px) and (max-width: 1099px) {
  .pillars:has(> .pillar:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .pillars:has(> .pillar:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
/* A single insight keeps a card width instead of a full-width banner. */
@media (min-width: 900px) {
  .insights > .insight:only-child { grid-column: span 3; }
}
/* WhatsApp button of the mobile bar: darker green so white text reaches 4.5:1 (WCAG AA). */
.mobile-bar__btn--wa { background: #13703c; }
.mobile-bar__btn--wa:hover, .mobile-bar__btn--wa:focus-visible { background: #0f5c31; }

/* Global Markets (Phase 5) ------------------------------------------------ */
.mk-flag { width: 24px; height: 18px; flex: none; object-fit: cover; box-shadow: 0 0 0 1px rgba(10,31,53,.14); }
.mk-flag--lg { width: 36px; height: 27px; }
.mk-flag--hero { width: 88px; height: 66px; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.3); }
.mk-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.mk-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* In-page navigation under the stats band. */
.mk-anchors { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.mk-anchors ul { display: flex; gap: 4px 28px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.mk-anchors ul::-webkit-scrollbar { display: none; }
.mk-anchors a { display: block; padding: 16px 0; white-space: nowrap; font-family: var(--font-cond); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.mk-anchors a:hover, .mk-anchors a:focus-visible { border-bottom-color: var(--orange); }
[id="map"], [id="featured"], [id="regions"], [id="agreements"], [id="not-served"], [id="overview"], [id="facts"], [id="trade"], [id="certifications"], [id="solutions"], [id="projects"], [id="nearby"], [id="markets"] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* World map. */
.mk-map { position: relative; margin: 0; }
.wmap { display: block; width: 100%; height: auto; background: #eef2f6; }
.wmap path, .wmap circle { vector-effect: non-scaling-stroke; stroke: #fff; stroke-width: .6; }
.wmap__c--off { fill: #d5dbe2; }
.wmap a { cursor: pointer; }
.wmap a path, .wmap a circle { transition: fill .15s; }
.wmap__c--market path, .wmap__c--market circle, .wmap__dot.wmap__c--market circle { fill: #8fa3b8; }
.wmap__c--fta path, .wmap__c--fta circle { fill: var(--navy); }
.wmap__dot circle { stroke-width: 1; }
.wmap a:hover path, .wmap a:focus path, .wmap a:hover circle, .wmap a:focus circle { fill: var(--orange); }
.wmap a:focus { outline: none; }
.wmap a:focus-visible path, .wmap a:focus-visible circle { stroke: var(--ink); stroke-width: 2; }
.wmap .is-current path, .wmap .is-current circle { fill: var(--orange); }
.wmap__pin { fill: none !important; stroke: var(--orange) !important; stroke-width: 2.5 !important; }
.wmap--zoom { background: #e7edf3; }
.mk-map__tip { position: absolute; z-index: 2; pointer-events: none; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; padding: 4px 10px; white-space: nowrap; }
.mk-map__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.mk-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.mk-key { display: inline-block; width: 14px; height: 14px; }
.mk-key--fta { background: var(--navy); }
.mk-key--market { background: #8fa3b8; }
.mk-key--off { background: #d5dbe2; }

/* Country cards. */
.mk-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mk-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.mk-card:hover, .mk-card:focus-visible { border-top-color: var(--orange); box-shadow: var(--shadow); color: var(--ink); }
.mk-card__head { display: flex; align-items: center; gap: 12px; }
.mk-card__name { font-family: var(--font-cond); font-weight: 700; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.mk-card__meta { font-size: .9rem; color: var(--muted); }
.mk-card__tier { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.mk-card .link-arrow { margin-top: auto; }
.mk-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-badges .badge { font-size: .75rem; }

/* Region lists on the index. */
.mk-filter { display: grid; gap: 8px; max-width: 420px; margin-bottom: 32px; }
.mk-filter label { font-weight: 600; }
.mk-filter input { min-height: 48px; padding: 0 14px; border: 1px solid var(--control-line); font: inherit; }
.mk-filter input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.mk-filter__none { color: var(--muted); }
.mk-regions { display: grid; gap: 40px; }
.mk-region h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.mk-region h3 a { color: var(--ink); text-decoration: none; }
.mk-region h3 a:hover { color: var(--accent); }
.mk-region__count { font-family: var(--font); font-size: .95rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.mk-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 20px; list-style: none; margin: 0; padding: 0; }
.mk-list a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mk-list a:hover, .mk-list a:focus-visible { color: var(--accent); }
.mk-list li[hidden], .mk-region[hidden] { display: none; }

/* Agreements. */
.mk-table th[scope="row"] { min-width: 220px; font-weight: 500; }
.mk-table td { vertical-align: top; }
.mk-inline-links a { white-space: nowrap; }
.mk-agreements { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 12px; }
.mk-agreements li { display: grid; gap: 2px; padding: 14px 18px; background: var(--light); border-left: 3px solid var(--navy); }
.mk-agreements__members { color: var(--muted); font-size: .95rem; }
.mk-fta__code { font-family: var(--font-cond); font-weight: 700; font-size: 1.6rem; color: var(--navy); margin: 0; }
.mk-fta__origin span { font-weight: 600; }
.mk-notice { border-left-color: var(--orange); background: #fbf6ea; }

/* Country page. */
.mk-overview { display: grid; gap: 40px; align-items: start; }
.mk-lead { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.mk-facts-layout { display: grid; gap: 32px; }
.mk-facts { background: #fff; }
.mk-docs { margin-top: 40px; max-width: 760px; }
@media (min-width: 960px) {
  .mk-overview { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .mk-overview__map { position: sticky; top: calc(var(--header-h) + 80px); }
  .mk-facts-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
  .mk-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .mk-facts div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
[dir="rtl"] .mk-agreements li { border-left: 0; border-right: 3px solid var(--navy); }
[dir="rtl"] .mk-notice { border-right-color: var(--orange); }
/* The map is a picture of the world: keep it left-to-right. */
[dir="rtl"] .mk-map { direction: ltr; }
@media (max-width: 639px) {
  .page-markets .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .page-markets .stat dd { font-size: 1.6rem; }
}

/* ---------------------------------------------------------------- Phase 6: projects, apps, insights, downloads */
.section--flush { padding-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip__flag { width: 20px; height: 15px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); flex: none; }
.chip__count { font-size: .8em; opacity: .7; }
.pj-filters { display: grid; gap: 18px; }
.pj-filters__label { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pj-count { margin: 24px 0 0; color: var(--muted); }
.pj-reset { margin-inline-start: 12px; font-weight: 600; }
.pj-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.pj-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.pj-card:hover, .pj-card:focus-visible { color: var(--ink); box-shadow: var(--shadow); border-color: var(--steel-100); }
.pj-card .ph { height: 220px; }
.pj-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px 24px; border-top: 3px solid var(--navy); }
.pj-card:hover .pj-card__body { border-top-color: var(--orange); }
.pj-card__title { font-family: var(--font-cond); font-size: 1.55rem; font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.pj-card__meta { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.pj-card__text { color: var(--muted); }
.pj-card__tags { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-secondary-dark); }
.pj-card .link-arrow { margin-top: auto; }
.pj-detail__cover, .in-article__cover { display: block; width: 100%; height: auto; margin-bottom: 28px; }
.pj-detail__h, .ap-detail__h { margin: 32px 0 12px; font-size: 1.5rem; }
.pj-facts { margin: 0 0 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pj-facts > div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pj-facts dt { font-weight: 600; color: var(--muted); }
.pj-facts dd { margin: 0; }
.pj-gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.pj-gallery__item { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.pj-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

.ap-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.ap-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ap-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.ap-card__icon { width: 56px; height: 56px; object-fit: cover; }
.ap-card__icon--ph { display: grid; place-items: center; background: var(--navy); color: var(--brand-secondary-light); font-weight: 800; font-size: 1.5rem; }
.ap-card__name { font-family: var(--font-cond); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; }
.ap-card__text, .ap-card__meta { color: var(--muted); }
.ap-card .link-arrow { margin-top: auto; }
.ap-detail__icon { margin-bottom: 20px; }

.in-meta { margin: 16px 0 0; color: rgb(255 255 255 / .8); font-size: .95rem; }
.in-cats { margin-bottom: 32px; }
.in-cat { font-weight: 700; color: var(--brand-secondary-dark); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.in-featured { display: grid; margin-bottom: 48px; background: var(--navy); color: #fff; text-decoration: none; }
.in-featured:hover { color: #fff; }
.in-featured .ph { min-height: 240px; height: 100%; }
.in-featured__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 48px); }
.in-featured__body .eyebrow { color: var(--brand-secondary-light); margin: 0; }
.in-featured__title { font-family: var(--font-cond); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1; text-transform: uppercase; }
.in-featured__text, .in-featured .insight__meta { color: rgb(255 255 255 / .78); }
.in-featured .link-arrow { color: #fff; margin-top: auto; }
.in-grid { margin-top: 8px; }
.in-feed { margin: 32px 0 0; font-size: .92rem; }
.in-article { max-width: 760px; margin-inline: auto; }
.in-fallback { padding: 12px 16px; background: var(--steel-100); }
.in-tags { margin: 32px 0 0; }
.in-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 32px 0 0; padding: 18px 0; border-block: 1px solid var(--line); }
.in-share__label { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.in-share ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.in-author { display: flex; gap: 18px; align-items: center; margin-top: 32px; padding: 24px; background: var(--steel-100); }
.in-author p { margin: 0; }
.in-author__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.in-author__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.in-author__name { font-weight: 700; font-size: 1.15rem; }
.in-author__role { color: var(--muted); margin-bottom: 6px !important; }
.in-nav { display: grid; gap: 16px; max-width: 760px; margin: 40px auto 0; }
.in-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.in-nav a span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.in-nav__next { text-align: end; }

.pager { margin-top: 48px; }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager__gap { border: 0 !important; }

.dl-group { margin-top: 40px; }
.dl-group__title { font-size: 1.6rem; margin: 0 0 16px; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dl-item { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); }
.dl-item__type { display: grid; place-items: center; width: 64px; height: 80px; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .06em; border-bottom: 4px solid var(--orange); }
.dl-item__cover { width: 64px; height: auto; }
.dl-item__title { margin: 0 0 4px; font-size: 1.25rem; }
.dl-item__body p { margin: 0; color: var(--muted); }
.dl-item__meta { margin-top: 6px !important; font-size: .88rem; }
.dl-item__btn { grid-column: 1 / -1; justify-self: start; }
.dl-note { margin: 28px 0 0; color: var(--muted); }

@media (min-width: 760px) {
  .pj-filters { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .in-featured { grid-template-columns: 1.3fr 1fr; }
  .in-nav { grid-template-columns: 1fr 1fr; }
  .dl-item { grid-template-columns: auto 1fr auto; }
  .dl-item__btn { grid-column: auto; }
}
[dir="rtl"] .pj-reset { margin-inline-start: 12px; }
.in-author .link-arrow { color: var(--brand-primary-dark); }

/* ---------------------------------------------------------------- Phase 7: lead forms, card, FAQ */
.lead-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .lead-layout { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 48px; } .lead-layout__aside { position: sticky; top: 110px; } }
.lead-form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 24px; }
.lead-form .field--invalid input, .lead-form .field--invalid select, .lead-form .field--invalid textarea { border-color: #c0392b; }
.lead-form .lead-hint { margin-top: .35rem; }
.lead-form .consents a { color: var(--brand-primary-dark); }
.lead-errors { outline: none; }
.lead-errors ul { margin: .4rem 0 0; padding-inline-start: 1.2rem; }
.lead-errors a { color: inherit; }
.lead-hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-captcha-wrap { margin: 8px 0 16px; }
.lead-captcha-wrap .form-hint { margin-bottom: 8px; }
.lead-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.lead-choice__legend { font-size: .9rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); padding: 0; }
.lead-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-radios .radio { padding: 10px 14px; border: 1px solid #8A97A8; min-height: 48px; align-items: center; background: #fff; }
.lead-radios .radio input { margin-top: 0; }
.lead-radios .radio:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f4f6f9; }
.lead-submit.is-busy { opacity: .7; pointer-events: none; }
.lead-aside { background: var(--navy); color: #fff; padding: clamp(24px, 3vw, 36px); border-top: 4px solid var(--brand-secondary); }
.lead-aside h2 { color: #fff; font-size: 1.5rem; margin: 0 0 18px; }
.lead-steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: lead; display: grid; gap: 14px; }
.lead-steps li { counter-increment: lead; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; }
.lead-steps li::before { content: counter(lead, decimal-leading-zero); grid-row: span 2; font-family: var(--font-cond); font-weight: 700; font-size: 1.5rem; color: var(--brand-secondary); line-height: 1; }
.lead-steps strong { font-size: 1rem; }
.lead-steps span { font-size: .93rem; opacity: .85; }
.lead-aside__note { font-size: .93rem; color: #d6dde6; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
.lead-aside .lead-direct__title { color: #fff; }
.lead-aside .lead-direct a { color: #fff; }
.lead-aside .lead-direct svg { color: var(--brand-secondary-light); }
.lead-aside__switch { margin: 20px 0 0; }
.lead-aside__switch .link-arrow { color: var(--brand-secondary-light); }
.lead-direct { margin-top: 18px; }
.lead-direct__title { font-weight: 700; margin: 0 0 10px; }
.lead-direct ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lead-direct a { display: grid; grid-template-columns: 22px auto 1fr; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); min-height: 44px; }
.lead-direct a span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.lead-direct svg { width: 20px; height: 20px; }
.lead-contact .section__head { margin-bottom: 28px; }
.lead-thanks { text-align: start; }
.lead-thanks__ref { font-size: 1.1rem; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.lead-thanks__ref strong { font-size: 1.4rem; letter-spacing: .04em; color: var(--ink); }
.lead-thanks .lead-steps li::before { color: var(--brand-primary); }
.lead-thanks .lead-steps span { opacity: 1; color: var(--muted); }
.lead-thanks .lead-direct { padding: 20px; background: var(--light); }
.lead-thanks__time { color: var(--muted); }

.vcard-layout { display: grid; gap: 32px; align-items: start; max-width: 1080px; margin-inline: auto; }
@media (min-width: 900px) { .vcard-layout { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 48px; } }
.vcard { background: var(--navy); color: #fff; border-top: 4px solid var(--brand-secondary); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.vcard__head { text-align: center; }
.vcard__logo { display: block; width: 160px; height: auto; margin: 0 auto 28px; }
.vcard__monogram { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 18px; border: 2px solid var(--brand-secondary); border-radius: 50%; font-family: var(--font-cond); font-weight: 700; font-size: 2.4rem; letter-spacing: .04em; color: var(--brand-secondary-light); }
.vcard__name { color: #fff; margin: 0; font-size: clamp(2rem, 5vw, 2.6rem); }
.vcard__local { margin: 4px 0 0; color: #d6dde6; font-size: 1.05rem; }
.vcard__title { margin: 10px 0 0; color: var(--brand-secondary-light); font-weight: 600; }
.vcard__actions { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vcard__action { display: grid; justify-items: center; gap: 8px; padding: 14px 6px; min-height: 84px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 600; transition: background .2s, border-color .2s; }
.vcard__action:hover, .vcard__action:focus-visible { background: rgba(255,255,255,.08); border-color: var(--brand-secondary); }
.vcard__action svg { width: 26px; height: 26px; color: var(--brand-secondary-light); }
.vcard__buttons { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 520px) { .vcard__buttons { grid-template-columns: 1fr 1fr; } }
.vcard__buttons .btn { justify-content: center; gap: 10px; }
.vcard__buttons .btn svg { width: 20px; height: 20px; }
.vcard .btn--outline { color: #fff; border-color: rgba(255,255,255,.6); }
.vcard__details { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 10px; }
.vcard__details div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.vcard__details dt { color: #b9c4d1; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.vcard__details dd { margin: 0; }
.vcard__details a { color: #fff; text-decoration: none; }
.vcard-qr { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.vcard-qr h2 { font-size: 1.5rem; margin: 0 0 16px; }
.vcard-qr h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.vcard-qr__code { width: min(240px, 100%); margin: 0 0 16px; border: 1px solid var(--line); }
.vcard-qr__code svg { display: block; width: 100%; height: auto; }
.vcard-qr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vcard-qr__links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--brand-primary-dark); }
.faq-sample { margin-top: 40px; }
.faq-cats { margin-top: 40px; }
.faq-cats .chip span { opacity: .7; margin-inline-start: 4px; }
/* The card is the content: a slim header band on phones so the card shows above the fold. */
@media (max-width: 899px) {
  .page-card .page-header { padding: 28px 0 24px; }
  .page-card .page-header::after, .page-card .page-header h1 { display: none; }
  .page-card .section--card { padding-top: 24px; }
  .page-lead .page-header { padding: 40px 0 32px; }
  .page-lead .page-header::after { display: none; }
}

/* ---------------------------------------------------------------- Phase 8: HTML sitemap */
.html-sitemap { display: grid; gap: 40px; }
.html-sitemap__group h2 { font-size: 1.35rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line, #dfe4ea); }
.html-sitemap__group h2 span { font-size: .85rem; font-weight: 600; color: var(--muted, #5b6776); margin-inline-start: 6px; }
.html-sitemap__group ul { list-style: none; margin: 0; padding: 0; columns: 4 210px; column-gap: 32px; }
.html-sitemap__group li { break-inside: avoid; padding: 5px 0; }
.html-sitemap__group a { color: var(--ink, #0A1F35); text-decoration: none; }
.html-sitemap__group a:hover, .html-sitemap__group a:focus-visible { color: var(--brand-primary-dark, #8f262a); text-decoration: underline; }

/* ---------------------------------------------------------------- Phase 8: legal pages */
.legal-toc { background: #f4f6f9; border-inline-start: 3px solid var(--brand-secondary); padding: 18px 22px; margin: 0 0 32px; }
.legal-toc__title { font-weight: 700; margin: 0 0 8px; }
.legal-toc ol { margin: 0; padding-inline-start: 20px; columns: 2 220px; column-gap: 32px; }
.legal-toc li { padding: 3px 0; break-inside: avoid; }
.legal-body h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; scroll-margin-top: 100px; }
.legal-body h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal-body ul { padding-inline-start: 22px; }
.legal-body li { margin: .35em 0; }
.legal-body code { font-size: .9em; background: #f1f3f6; padding: 1px 5px; border-radius: 3px; }
.legal-updated { color: var(--muted, #5b6776); font-size: .92rem; margin-top: 2em; }
.legal-other { margin-top: 32px; }

/* ---------------------------------------------------------------- Phase 8: cookie consent */
.consent { position: fixed; z-index: 90; inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline-start: auto; background: #fff; color: var(--ink, #0A1F35); border-top: 3px solid var(--brand-secondary); box-shadow: 0 12px 40px rgba(6, 18, 31, .22); padding: 18px 20px; display: grid; gap: 14px; }
.consent[hidden] { display: none; }
.consent__text { margin: 0; font-size: .95rem; line-height: 1.55; }
.consent__text a { color: var(--brand-primary-dark); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent__btn { min-height: 44px; }
.footer__consent { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.footer__consent:hover, .footer__consent:focus-visible { text-decoration: underline; }
@media (max-width: 640px) { .consent { inset-inline: 8px; bottom: 76px; } .consent__btn { flex: 1; } }
