/* Jisr az-Zarqa — public site
   river teal / sea / sandstone (kurkar) / net yellow */
:root {
  --river: #0E4D5C;
  --river-2: #0A3A46;
  --sea: #1C8DB0;
  --sea-soft: #DDEFF5;
  --sand: #D9C3A0;
  --sand-soft: #F2EADC;
  --net: #F2B33D;
  --ink: #10262E;
  --ink-2: #3E5A63;
  --line: #D5E1E3;
  --foam: #F3F6F5;
  --paper: #FFFFFF;
  --hot: #C4452B;
  --ok: #1E7A55;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;
  --shadow: 0 1px 2px rgba(16, 38, 46, .06), 0 8px 24px -12px rgba(16, 38, 46, .18);
  --scale: 1;
  --f-display: 'Reem Kufi', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.lang-he { --f-display: 'Rubik', 'Heebo', system-ui, sans-serif; --f-body: 'Heebo', 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.lang-en { --f-display: 'Reem Kufi', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--scale)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--foam); overflow-x: clip; }
html { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--river); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--net); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.25; margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
main { display: block; min-height: 50vh; }
main:focus { outline: none; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--net); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-s); z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- buttons / chips ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; border: 0; border-radius: 999px; padding: .62em 1.25em; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sea { background: var(--river); color: #fff; }
.btn-sea:hover { background: var(--sea); color: #fff; }
.btn-sand { background: var(--net); color: var(--ink); }
.btn-sand:hover { background: #ffc85c; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: #fff; color: var(--river); }
.btn-ghost-dark { background: transparent; color: var(--river); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--river); color: var(--river); }
.btn-sm { padding: .4em .9em; font-size: .85rem; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: inherit; font-size: 1.05rem; }
.icon-btn:hover { background: var(--sea-soft); color: var(--river); }
.chip { display: inline-flex; align-items: center; gap: .3em; background: var(--sand-soft); color: #6b5427; font-size: .78rem; font-weight: 700; padding: .18em .7em; border-radius: 999px; white-space: nowrap; }
.chip-hot { background: #FBE3DC; color: var(--hot); }
.chip-mute { background: #e7ecec; color: var(--ink-2); }
.text-link { font-weight: 600; text-decoration: none; color: var(--sea); display: inline-flex; gap: .4em; align-items: center; }
.text-link::after { content: '\f104'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8em; transition: transform .2s; }
[dir=ltr] .text-link::after { content: '\f105'; }
.text-link:hover::after { transform: translateX(-3px); }
[dir=ltr] .text-link:hover::after { transform: translateX(3px); }

/* ---------- utility bar + masthead ---------- */
.utility { background: var(--river-2); color: #cfe4e8; font-size: .82rem; }
.utility-row { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.utility a, .utility button { color: #cfe4e8; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 4px 6px; display: inline-flex; gap: .4em; align-items: center; }
.utility a:hover, .utility button:hover { color: #fff; }
.utility-start, .utility-end { display: flex; gap: 10px; align-items: center; }
.utility-alert { color: #ffd38a !important; }

.masthead { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.masthead.is-stuck { box-shadow: 0 6px 24px -16px rgba(16, 38, 46, .4); border-color: var(--line); }
.masthead-row { display: flex; align-items: center; gap: 20px; min-height: 76px; transition: min-height .25s; }
.masthead.is-stuck .masthead-row { min-height: 62px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; transition: height .25s; }
.masthead.is-stuck .brand-logo { height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--river); }
.brand-sub { font-size: .78rem; color: var(--ink-2); }
.brand-logo + .brand-text .brand-sub:empty { display: none; }

/* ---------- main navigation: mega panels (desktop) / drawer (mobile) ---------- */
.masthead { --mega-top: 100%; }
.masthead-row { position: static; }
.nav { margin-inline-start: auto; position: static; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: .45em; padding: .6em .85em; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; background: none; border: 0; cursor: pointer; white-space: nowrap; font-family: inherit; transition: color .2s, background .2s; }
.nav-ic { display: none; }
.nav-link:hover, .has-drop.is-open > .nav-link { color: var(--river); background: var(--sea-soft); }
.nav-link.is-current { color: var(--river); }
.nav-link.is-current::after { content: ''; position: absolute; inset-inline: .85em; bottom: .2em; height: 3px; border-radius: 3px; background: var(--net); }
.js .nav-link.is-current::after { display: none; }
.nav-caret { font-size: .62em; opacity: .6; transition: transform .25s var(--ease); }
.has-drop.is-open .nav-caret { transform: rotate(180deg); opacity: 1; }
.nav-cta { background: var(--river); color: #fff !important; margin-inline-start: 6px; padding-inline: 1.05em; box-shadow: 0 8px 18px -10px var(--river); }
.nav-cta:hover { background: var(--river-2) !important; color: #fff !important; transform: translateY(-1px); }
.nav-cta.is-current::after { display: none; }
.nav-ink { position: absolute; top: 0; left: 0; height: 3px; border-radius: 3px; background: var(--net); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; }
.drawer-head, .drawer-search, .drawer-foot, .nav-backdrop { display: none; }

/* desktop mega panel */
@media (min-width: 1101px) {
  .mega { position: absolute; inset-inline: 0; top: var(--mega-top); z-index: 45; visibility: hidden; pointer-events: none; }
  .mega-clip { background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10, 40, 50, .45); opacity: 0; transform: translateY(-10px); transition: opacity .22s var(--ease), transform .3s var(--ease); max-height: calc(100vh - var(--mast-h, 120px) - 20px); overflow: auto; }
  .has-drop.is-open > .mega { visibility: visible; pointer-events: auto; }
  .has-drop.is-open > .mega .mega-clip { opacity: 1; transform: none; }
  .mega-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 34px; padding: 28px 0 32px; }
  .mega-intro { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: 24px; color: #fff; background: linear-gradient(150deg, var(--river), var(--river-2)); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; isolation: isolate; }
  .mega-intro::before { content: ''; position: absolute; inset: auto -40% -45% -10%; height: 70%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120'%3E%3Cpath d='M0 60 C 70 20 130 100 200 60 S 330 20 400 60 V120 H0Z' fill='%23ffffff' opacity='.08'/%3E%3Cpath d='M0 80 C 70 40 130 120 200 80 S 330 40 400 80 V120 H0Z' fill='%23F2B33D' opacity='.18'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; z-index: -1; }
  .mega-intro-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: 1.35rem; color: var(--net); margin-bottom: 6px; }
  .mega-intro h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; line-height: 1.25; margin: 0; }
  .mega-intro p { margin: 0; color: #cfe4e8; font-size: .92rem; line-height: 1.6; }
  .mega-count { font-size: .78rem; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 2px 10px; color: #e6f2f4; }
  .mega-all { margin-top: auto; display: inline-flex; gap: .5em; align-items: center; background: var(--net); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; padding: .6em 1.1em; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s; }
  .mega-all:hover { transform: translateX(-3px); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
  [dir=ltr] .mega-all:hover { transform: translateX(3px); }
  .mega-links { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 18px; }
  .mega-item { break-inside: avoid; margin-bottom: 4px; }
  .mega-item { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i) * 18ms); }
  .has-drop.is-open .mega-item { opacity: 1; transform: none; }
}
.mega-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .18s, color .18s; }
.mega-link:hover, .mega-link:focus-visible { background: var(--foam); color: var(--river); }
.mega-ic { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--sea-soft); color: var(--river); font-size: .95rem; transition: background .2s, color .2s, transform .25s var(--ease); }
.mega-link:hover .mega-ic { background: var(--river); color: var(--net); transform: rotate(-6deg) scale(1.05); }
.mega-t { display: flex; flex-direction: column; font-weight: 600; font-size: .93rem; line-height: 1.35; }
.mega-t small { font-weight: 400; color: var(--ink-2); font-size: .75rem; }
.mega-sub { list-style: none; margin: 0 0 6px; padding: 0; padding-inline-start: 62px; }
.mega-sub a { display: block; position: relative; padding: 4px 0; font-size: .85rem; color: var(--ink-2); text-decoration: none; line-height: 1.45; }
.mega-sub a::before { content: ''; position: absolute; inset-inline-start: -14px; top: .95em; width: 6px; height: 1.5px; background: var(--sand); transition: width .2s; }
.mega-sub a:hover { color: var(--river); }
.mega-sub a:hover::before { width: 10px; background: var(--net); }
.mega-more { color: var(--sea) !important; font-weight: 600; }

.nav-burger { display: none; flex-direction: column; gap: 4px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded=true] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.masthead-tools { display: flex; gap: 4px; align-items: center; }

@media (max-width: 1250px) and (min-width: 1101px) { .nav-link { padding-inline: .6em; font-size: .9rem; } }
@media (max-width: 1499px) { .brand-logo + .brand-text { display: none; } }

/* mobile drawer */
@media (max-width: 1100px) {
  .nav-burger { display: inline-flex; }
  .masthead-tools { margin-inline-start: auto; }
  .masthead { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav { position: fixed; z-index: 98; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 90vw); margin: 0; display: flex; flex-direction: column; background: var(--paper); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .35); transform: translateX(-105%); visibility: hidden; transition: transform .38s var(--ease), visibility .38s; overscroll-behavior: contain; }
  [dir=ltr] .nav { transform: translateX(105%); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 97; background: rgba(6, 28, 35, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
  .nav-backdrop.is-on { opacity: 1; }
  .nav-backdrop[hidden] { display: none; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .drawer-logo { height: 44px; width: auto; }
  .drawer-search { display: flex; align-items: center; gap: 10px; margin: 14px 18px 6px; padding: 0 14px; border-radius: 14px; background: var(--foam); border: 1px solid var(--line); }
  .drawer-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font: inherit; outline: none; color: var(--ink); }
  .drawer-search:focus-within { border-color: var(--sea); box-shadow: 0 0 0 4px var(--sea-soft); }
  .nav-list { flex: 1; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 12px 16px; }
  .nav-item { opacity: 0; transform: translateX(-14px); transition: opacity .3s var(--ease), transform .35s var(--ease); }
  [dir=ltr] .nav-item { transform: translateX(14px); }
  .nav.is-open .nav-item { opacity: 1; transform: none; }
  .nav.is-open .nav-item:nth-child(2) { transition-delay: .04s; } .nav.is-open .nav-item:nth-child(3) { transition-delay: .08s; } .nav.is-open .nav-item:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav-item:nth-child(5) { transition-delay: .16s; } .nav.is-open .nav-item:nth-child(6) { transition-delay: .2s; } .nav.is-open .nav-item:nth-child(n+7) { transition-delay: .24s; }
  .nav-link { width: 100%; gap: 12px; padding: 12px; border-radius: 14px; font-size: 1.02rem; }
  .nav-link > span { flex: 1; text-align: start; }
  .nav-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--sea-soft); color: var(--river); font-size: .9rem; flex-shrink: 0; }
  .nav-link.is-current { background: var(--sea-soft); }
  .nav-link.is-current::after { display: none; }
  .nav-cta { margin: 8px 0 0; justify-content: flex-start; }
  .nav-cta .nav-ic { background: rgba(255, 255, 255, .15); color: var(--net); }
  .nav-ink { display: none; }
  .mega { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
  .has-drop.is-open > .mega { grid-template-rows: 1fr; }
  .mega-clip { overflow: hidden; min-height: 0; }
  .mega-grid { width: auto; padding: 4px 0 10px; }
  .mega-intro { display: none; }
  .mega-links { list-style: none; margin: 0; padding: 0 0 0 0; padding-inline-start: 22px; border-inline-start: 2px solid var(--sand-soft); margin-inline-start: 29px; }
  .mega-link { padding: 8px 10px; gap: 10px; }
  .mega-ic { width: 30px; height: 30px; font-size: .8rem; border-radius: 9px; }
  .mega-t { font-size: .92rem; font-weight: 500; }
  .mega-t small { display: none; }
  .mega-sub { padding-inline-start: 50px; }
  .drawer-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--line); background: var(--foam); }
  .drawer-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: inherit; font-size: .85rem; cursor: pointer; }
  .drawer-chip i { color: var(--river); }
  .brand-sub { display: none; }
}
@media (max-width: 560px) { .utility-start a:first-child span { display: none; } .a11y-toggle span { display: none; } .brand-name { font-size: 1rem; } .brand-logo { height: 42px; } }

/* search sheet */
.search-sheet { position: fixed; inset: 0 0 auto 0; z-index: 60; background: var(--paper); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); padding: 18px 0; animation: drop-in .25s var(--ease); }
.search-sheet[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 10px; }
.search-form > i { color: var(--ink-2); }
.search-form input { flex: 1; border: 0; font-size: 1.3rem; padding: 10px 4px; background: transparent; outline: none; border-bottom: 2px solid var(--line); }
.search-form input:focus { border-color: var(--sea); }
@keyframes drop-in { from { transform: translateY(-100%); } }

/* ---------- ticker ---------- */
.ticker { background: var(--paper); border-bottom: 1px solid var(--line); }
.ticker-row { display: flex; align-items: center; gap: 14px; min-height: 46px; }
.ticker-label { flex-shrink: 0; font-weight: 700; color: var(--river); text-decoration: none; font-size: .9rem; display: inline-flex; gap: .5em; align-items: center; padding-inline-end: 14px; border-inline-end: 1px solid var(--line); }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; contain: paint; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-list { list-style: none; display: flex; gap: 42px; margin: 0; padding: 0; width: max-content; animation: ticker var(--ticker-dur, 60s) linear infinite; }
.ticker-track:hover .ticker-list, .ticker-track:focus-within .ticker-list, .ticker.is-paused .ticker-list { animation-play-state: paused; }
.ticker-list li { white-space: nowrap; position: relative; }
.ticker-list li + li::before { content: ''; position: absolute; inset-inline-start: -24px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--sand); transform: translateY(-50%); }
.ticker-list a { color: var(--ink); text-decoration: none; font-size: .93rem; }
.ticker-list a:hover { color: var(--sea); text-decoration: underline; }
@keyframes ticker { to { transform: translateX(50%); } }
[dir=ltr] .ticker-list { animation-name: ticker-ltr; }
@keyframes ticker-ltr { to { transform: translateX(-50%); } }
.ticker-pause { border: 0; background: var(--foam); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--ink-2); flex-shrink: 0; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center; padding: 64px 0 150px; overflow: hidden; background: var(--river); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 58, 70, .25) 0%, rgba(10, 58, 70, .55) 45%, rgba(10, 58, 70, .88) 100%); }
[dir=ltr] .hero-shade { transform: scaleX(-1); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.hero-title { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34ch; margin: 18px 0 28px; color: #e6f2f4; }
.hero-search { display: flex; max-width: 520px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
.hero-search input { flex: 1; border: 0; background: transparent; padding: 10px 18px; font-size: 1.05rem; color: var(--ink); outline: none; min-width: 0; }
.hero-search button { border: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--net); color: var(--ink); cursor: pointer; font-size: 1.1rem; }
.hero-search button:hover { background: #ffc85c; }
.hero-board { background: rgba(8, 40, 49, .58); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-l); padding: 20px 20px 10px; }
.hero-board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hero-board-head h2 { font-size: 1.15rem; }
.hero-board-head a { color: #bfe3ec; font-size: .85rem; }
.hero-board-list { list-style: none; margin: 0; padding: 0; }
.hero-board-list li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-board-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'kind chip' 'title title'; gap: 2px 10px; padding: 11px 4px; color: #fff; text-decoration: none; border-radius: var(--radius-s); }
.hero-board-list a:hover .hb-title { text-decoration: underline; text-decoration-color: var(--net); }
.hb-kind { grid-area: kind; font-size: .74rem; color: var(--sand); font-weight: 600; }
.hb-title { grid-area: title; font-size: .95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-board .chip { grid-area: chip; background: rgba(242, 179, 61, .2); color: #ffd98c; }
.hero-board .chip-hot { background: rgba(255, 120, 90, .22); color: #ffb3a0; }
.hero-play { position: absolute; bottom: 120px; inset-inline-end: 24px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 110px; }
.wave-fill { fill: var(--foam); }
.wave-line { fill: none; stroke: var(--net); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: wave-draw 2.2s .5s var(--ease) forwards; transform: translateY(-14px); vector-effect: non-scaling-stroke; }
@keyframes wave-draw { to { stroke-dashoffset: 0; } }
.hero-title, .hero-lead, .hero-search, .hero-board { animation: rise .9s var(--ease) both; }
.hero-lead { animation-delay: .12s; } .hero-search { animation-delay: .22s; } .hero-board { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@media (max-width: 900px) {
  .hero { padding: 48px 0 130px; min-height: 0; }
  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-play { bottom: 100px; }
}

/* ---------- services dock (sits across the waterline) ---------- */
.dock { position: relative; z-index: 3; margin-top: -92px; }
.dock-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dock-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 132px; padding: 18px 10px; background: var(--paper); border-radius: var(--radius-m); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); text-align: center; transition: transform .2s var(--ease), box-shadow .2s; }
.dock-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(14, 77, 92, .45); color: var(--river); }
.dock-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--sea-soft); color: var(--river); font-size: 1.5rem; }
.dock-icon img { width: 34px; height: 34px; object-fit: contain; }
.dock-label { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.dock-ext { position: absolute; top: 10px; inset-inline-end: 10px; font-size: .7rem; color: var(--ink-2); opacity: .55; }
@media (max-width: 560px) { .dock-list { grid-template-columns: repeat(2, 1fr); } .dock-item { min-height: 112px; } }

/* ---------- blocks ---------- */
.block { padding: 64px 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.block-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--river); }
.block-title::after { content: ''; display: block; width: 46px; height: 4px; border-radius: 4px; background: var(--net); margin-top: 10px; }
.news-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.news-lead { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-l); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.news-lead-img { aspect-ratio: 16 / 10; background: var(--sea-soft) url('/assets/img/pattern.svg') center / 80px; overflow: hidden; }
.news-lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-lead:hover .news-lead-img img { transform: scale(1.04); }
.news-lead-body { padding: 22px 26px 26px; }
.news-lead-body h3 { font-size: 1.45rem; margin: 6px 0 10px; }
.news-lead-body p { color: var(--ink-2); margin: 0; }
time { color: var(--ink-2); font-size: .85rem; }
.news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-row { display: flex; gap: 14px; padding: 12px 6px; text-decoration: none; color: var(--ink); border-radius: var(--radius-s); align-items: center; }
.news-row:hover { background: var(--paper); }
.news-row:hover .news-row-title { color: var(--sea); }
.news-thumb { width: 92px; height: 70px; border-radius: var(--radius-s); overflow: hidden; flex-shrink: 0; background: var(--sea-soft); display: grid; place-items: center; color: var(--sea); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row-text { display: flex; flex-direction: column; min-width: 0; }
.news-row-title { font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.boards { background: var(--paper); border-block: 1px solid var(--line); }
.boards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.board-head h2 { font-size: 1.3rem; color: var(--river); display: flex; gap: .5em; align-items: center; }
.board-head h2 i { color: var(--sand); }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-row { display: block; padding: 14px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.board-row:hover .board-title { color: var(--sea); }
.board-title { display: block; font-weight: 600; line-height: 1.5; }
.board-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; font-size: .84rem; color: var(--ink-2); }
.empty-note { color: var(--ink-2); }
@media (max-width: 900px) { .boards-grid { grid-template-columns: 1fr; } }

.event-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.event-card { display: flex; gap: 14px; align-items: center; background: var(--paper); padding: 14px; border-radius: var(--radius-m); text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); height: 100%; }
.event-card:hover { box-shadow: inset 0 0 0 1.5px var(--sea); }
.event-date { width: 58px; height: 62px; flex-shrink: 0; border-radius: var(--radius-s); background: var(--river); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.event-date b { font-family: var(--f-display); font-size: 1.5rem; }
.event-date small { font-size: .7rem; color: var(--sand); }
.event-title { font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.reach { background: var(--river); color: #e2f0f2; padding: 54px 0; }
.reach-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reach-title { font-size: 2rem; color: #fff; }
.reach p { margin: 6px 0 0; }
.reach-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.pagehead { position: relative; background: var(--river); color: #fff; padding: 34px 0 66px; overflow: hidden; }
.pagehead::before { content: ''; position: absolute; inset: 0; background: url('/assets/img/pattern.svg') repeat; opacity: .07; }
.pagehead .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: #b9d8de; }
.crumbs a { color: #d9eef1; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumb-sep { font-size: .7em; opacity: .6; }
[dir=ltr] .crumb-sep { transform: scaleX(-1); }
.pagehead-title { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-top: 10px; max-width: 30ch; }
.pagehead-lead { margin: 8px 0 0; color: #cfe4e8; }
.pagehead-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 36px; fill: var(--foam); }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding: 34px 0 72px; align-items: start; }
.page-grid.no-side { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .page-grid { grid-template-columns: 1fr; } }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.no-side .cards { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card-link { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--radius-m); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s var(--ease); }
.card-link:hover { box-shadow: inset 0 0 0 1px var(--line), 0 16px 34px -20px rgba(14, 77, 92, .5); transform: translateY(-2px); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sea-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-icon { display: grid; place-items: center; height: 74px; background: linear-gradient(135deg, var(--sea-soft), var(--sand-soft)); color: var(--river); font-size: 1.6rem; }
.card-icon img { max-height: 44px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.card-title { font-weight: 600; line-height: 1.5; font-size: 1.02rem; }
.card-link:hover .card-title { color: var(--sea); }
.card-text { color: var(--ink-2); font-size: .9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.tiles { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--paper); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; box-shadow: inset 0 0 0 1px var(--line); height: 100%; }
.tile:hover { box-shadow: inset 0 0 0 1.5px var(--sea); color: var(--river); }
.tile-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--sea-soft); color: var(--river); display: grid; place-items: center; }
.tile-icon img { width: 26px; height: 26px; object-fit: contain; }

.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.side-box { background: var(--paper); border-radius: var(--radius-m); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.side-h { font-size: 1.05rem; color: var(--river); margin-bottom: 10px; }
.side-cats, .side-popular, .side-cats ul { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: .94rem; line-height: 1.4; }
.side-cats a:hover { background: var(--foam); color: var(--river); }
.side-cats a[aria-current] { background: var(--river); color: #fff; }
.side-cats ul { padding-inline-start: 14px; }
.side-cats a img { width: 18px; }
.side-popular li { padding: 8px 0; border-bottom: 1px solid var(--line); counter-increment: pop; display: flex; gap: 10px; }
.side-popular li::before { content: counter(pop); font-family: var(--f-display); color: var(--sand); font-size: 1.3rem; line-height: 1.2; }
.side-popular a { color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.5; }
.side-popular a:hover { color: var(--sea); }
.side-banner img { border-radius: var(--radius-m); display: block; width: 100%; }
@media (max-width: 960px) { .side { position: static; } }

/* article */
.article { background: var(--paper); border-radius: var(--radius-l); padding: clamp(18px, 4vw, 40px); box-shadow: inset 0 0 0 1px var(--line); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--ink-2); font-size: .88rem; margin-bottom: 20px; }
.meta-share { margin-inline-start: auto; border: 0; background: var(--foam); border-radius: 999px; padding: .35em .9em; cursor: pointer; color: var(--ink-2); font-size: .85rem; }
.meta-share:hover { background: var(--sea-soft); color: var(--river); }
.article-hero { margin: 0 0 24px; border-radius: var(--radius-m); overflow: hidden; }
.article-hero img { width: 100%; max-height: 560px; object-fit: contain; background: var(--foam); display: block; }
.prose { max-width: 72ch; font-size: 1.06rem; overflow-wrap: anywhere; }
.article .prose { max-width: none; }
.prose p { margin: 0 0 1em; }
.prose img { border-radius: var(--radius-s); }
.prose iframe { width: 100%; min-height: 480px; border: 0; border-radius: var(--radius-s); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose h1, .prose h2, .prose h3 { color: var(--river); margin: 1.2em 0 .5em; }
.media-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; background: #000; margin-bottom: 22px; }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-video { width: 100%; border-radius: var(--radius-m); background: #000; margin-bottom: 22px; }
.audio-box { display: flex; align-items: center; gap: 14px; background: var(--sea-soft); padding: 14px 18px; border-radius: var(--radius-m); margin-bottom: 22px; color: var(--river); }
.audio-box audio { flex: 1; }
.fields { margin: 24px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.field { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.field dt { font-weight: 600; color: var(--ink-2); }
.field dd { margin: 0; }
.field-media { padding: 14px 0; }
@media (max-width: 600px) { .field { grid-template-columns: 1fr; gap: 2px; } }
.download-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-m); background: var(--sand-soft); color: var(--ink); text-decoration: none; margin: 24px 0 10px; }
.download-card > i:first-child { font-size: 2rem; color: var(--hot); }
.download-card span { display: flex; flex-direction: column; line-height: 1.3; }
.download-card small { color: var(--ink-2); }
.dl-arrow { margin-inline-start: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--river); transition: transform .2s; }
.download-card:hover .dl-arrow { transform: translateY(3px); }
.pdf-peek { margin-bottom: 20px; }
.pdf-peek summary { cursor: pointer; color: var(--sea); font-weight: 600; padding: 6px 0; }
.pdf-peek iframe { width: 100%; height: 75vh; border: 1px solid var(--line); border-radius: var(--radius-s); }
.article-section { margin-top: 36px; }
.article-h { font-size: 1.25rem; color: var(--river); margin-bottom: 14px; display: flex; gap: 10px; align-items: baseline; }
.article-h small { font-family: var(--f-body); font-size: .8rem; color: var(--ink-2); background: var(--foam); padding: 0 .6em; border-radius: 999px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc-list a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-s); background: var(--foam); text-decoration: none; color: var(--ink); }
.doc-list a:hover { background: var(--sea-soft); }
.doc-list a > i:first-child { font-size: 1.3rem; color: var(--sea); }
.doc-list a > i:last-child { margin-inline-start: auto; color: var(--ink-2); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.gallery a { display: block; aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.map { height: 340px; border-radius: var(--radius-m); overflow: hidden; z-index: 0; }
.map-sm { height: 220px; margin-top: 18px; }
.comments { list-style: none; margin: 0 0 20px; padding: 0; }
.comments li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-head { display: flex; gap: 10px; align-items: baseline; }
.comments p { margin: 6px 0 0; white-space: pre-line; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6, 22, 27, .92); display: grid; place-items: center; animation: fade .2s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-s); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-prev { inset-inline-start: 18px; top: 50%; }
.lb-next { inset-inline-end: 18px; top: 50%; }
@keyframes fade { from { opacity: 0; } }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; }
.form input, .form textarea, .form select { border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: .7em .9em; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px var(--sea-soft); }
.form .btn { align-self: flex-start; }
.comment-form { background: var(--foam); padding: 20px; border-radius: var(--radius-m); }
.comment-form h3 { font-size: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.notice { padding: 12px 16px; border-radius: var(--radius-s); margin: 0; display: flex; gap: 10px; align-items: center; animation: rise .4s var(--ease); }
.notice-ok { background: #dff2e9; color: var(--ok); }
.notice-err { background: #fbe3dc; color: var(--hot); }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 34px 0 72px; align-items: start; }
.contact-form { background: var(--paper); padding: clamp(18px, 4vw, 36px); border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px var(--line); }
.contact-card { background: var(--river); color: #e2f0f2; padding: 28px; border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 16px; }
.contact-card h2 { color: #fff; font-size: 1.4rem; }
.contact-card .btn-ghost-dark { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); align-self: flex-start; }
.contact-card .prose { color: #e2f0f2; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-lines li { display: flex; gap: 14px; }
.contact-lines li > i { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--net); }
.contact-lines div { display: flex; flex-direction: column; }
.contact-lines small { color: #a9cbd2; font-size: .78rem; }
.contact-lines a { color: #fff; text-decoration: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* filter bar, tenders */
.filter-bar { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: inset 0 0 0 1px var(--line); margin: 28px 0 18px; }
[dir=rtl] .filter-bar { padding: 6px 18px 6px 6px; }
.filter-bar > i { color: var(--ink-2); }
.filter-bar input { flex: 1; border: 0; background: transparent; outline: none; padding: 8px 0; min-width: 0; }
.filter-count { background: var(--foam); padding: 4px 12px; border-radius: 999px; font-size: .85rem; color: var(--ink-2); }
.filter-bar-lg input { font-size: 1.15rem; }
.board-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px; }
.board-tabs a { padding: .55em 1.1em; border-radius: 999px; text-decoration: none; color: var(--ink-2); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: .93rem; display: inline-flex; gap: .5em; align-items: center; }
.board-tabs a.is-on { background: var(--river); color: #fff; box-shadow: none; }
.tender-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tender { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: center; background: var(--paper); padding: 16px 20px; border-radius: var(--radius-m); box-shadow: inset 0 0 0 1px var(--line); border-inline-start: 4px solid var(--net); }
.tender.is-archived { border-inline-start-color: var(--line); }
.tender-title { font-family: var(--f-body); font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.tender-title a { color: var(--ink); text-decoration: none; }
.tender-title a:hover { color: var(--sea); text-decoration: underline; }
.tender-details summary { cursor: pointer; color: var(--sea); font-size: .85rem; margin-top: 4px; }
.tender-details p { font-size: .9rem; color: var(--ink-2); margin: 6px 0 0; }
.tender-dates { display: flex; gap: 18px; font-size: .9rem; white-space: nowrap; }
.tender-dates span { display: flex; flex-direction: column; line-height: 1.3; }
.tender-dates small { color: var(--ink-2); font-size: .74rem; }
.tender-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
@media (max-width: 800px) { .tender { grid-template-columns: 1fr; gap: 10px; } .tender-side { flex-direction: row; align-items: center; } }

/* directory */
.people { list-style: none; margin: 0 0 72px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.person { display: flex; gap: 14px; background: var(--paper); padding: 16px; border-radius: var(--radius-m); box-shadow: inset 0 0 0 1px var(--line); }
.person[hidden] { display: none; }
.person-avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--sand-soft); color: #7a5d2a; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.3rem; overflow: hidden; }
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; }
.person-role { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
.person-links { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-size: .88rem; }
.person-links a { text-decoration: none; overflow-wrap: anywhere; }
.person-links i { width: 16px; color: var(--sand); }
.person-body { min-width: 0; }

/* search */
.result-count { color: var(--ink-2); }
.results { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.results a { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; background: var(--paper); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.results a:hover { box-shadow: inset 0 0 0 1.5px var(--sea); }
.result-sec { font-size: .8rem; color: var(--sea); font-weight: 600; }
.result-title { font-weight: 700; font-size: 1.08rem; }
.result-text { color: var(--ink-2); font-size: .92rem; }

/* events page */
.events-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding: 34px 0 72px; }
.cal-box { background: var(--paper); padding: 18px; border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px var(--line); }
.event-stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fc { --fc-border-color: var(--line); --fc-button-bg-color: var(--river); --fc-button-border-color: var(--river); --fc-button-hover-bg-color: var(--sea); --fc-button-active-bg-color: var(--river-2); --fc-event-bg-color: var(--sea); --fc-event-border-color: var(--sea); --fc-today-bg-color: var(--sand-soft); font-size: .92rem; }
.fc .fc-toolbar-title { font-family: var(--f-display); color: var(--river); font-size: 1.3rem; }
@media (max-width: 960px) { .events-grid { grid-template-columns: 1fr; } }

/* pager / empty */
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pager a:hover { box-shadow: inset 0 0 0 1.5px var(--sea); }
.pager .is-current { background: var(--river); color: #fff; box-shadow: none; }
.empty { text-align: center; padding: 70px 20px; color: var(--ink-2); }
.empty > i { font-size: 2.6rem; color: var(--sand); }
.empty-404 b { display: block; font-family: var(--f-display); font-size: 7rem; color: var(--river); line-height: 1; }

/* popup */
.popup { border: 0; border-radius: var(--radius-l); padding: 26px; max-width: min(560px, 92vw); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.popup::backdrop { background: rgba(6, 22, 27, .6); backdrop-filter: blur(3px); }
.popup[open] { animation: rise .35s var(--ease); }
.popup-close { position: absolute; top: 10px; inset-inline-end: 10px; }
.popup-img { width: 100%; border-radius: var(--radius-m); margin-bottom: 14px; }
.popup h2 { color: var(--river); margin-bottom: 10px; padding-inline-end: 30px; }

/* english */
.en-hero { background: var(--river); color: #fff; padding: 56px 0; }
.en-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.en-title { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.en-lead { font-size: 1.2rem; color: #cfe4e8; max-width: 36ch; }
.en-hero-img { border-radius: var(--radius-l); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.en-body { padding: 40px 0 72px; }
.en-intro { margin-bottom: 40px; }
.en-list { list-style: none; margin: 18px 0 48px; padding: 0; display: grid; gap: 14px; }
.en-list-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.en-item { display: flex; gap: 20px; background: var(--paper); padding: 22px; border-radius: var(--radius-m); box-shadow: inset 0 0 0 1px var(--line); }
.en-item img { width: 220px; border-radius: var(--radius-s); object-fit: cover; }
.en-item h3 { color: var(--river); font-size: 1.2rem; margin-bottom: 6px; }
.en-item p { margin: 0; }
.en-note { color: var(--ink-2); font-size: .9rem; margin-top: 6px !important; }
.en-contacts { margin: 12px 0 0; font-size: .9rem; }
.en-contacts div { display: flex; gap: 8px; }
.en-contacts dt { color: var(--ink-2); min-width: 64px; }
.en-contacts dd { margin: 0; }
.en-eu { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .9rem; }
.en-eu img { height: 40px; }
@media (max-width: 800px) { .en-hero-grid { grid-template-columns: 1fr; } .en-item { flex-direction: column; } .en-item img { width: 100%; } }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--river-2); color: #b7d2d8; padding: 70px 0 0; margin-top: 0; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 44px; fill: var(--foam); }
.is-home .footer-wave { fill: var(--river); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 58px; margin-bottom: 10px; filter: brightness(0) invert(1); opacity: .9; }
.footer-name { font-family: var(--f-display); color: #fff; font-size: 1.2rem; margin: 0 0 14px; }
.footer-contact, .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .93rem; }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; }
.footer-contact i { color: var(--net); width: 16px; }
.footer a { color: #dcecef; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-h { font-size: 1.05rem; color: #fff; margin-bottom: 14px; }
.footer-lead { margin: 0 0 12px; font-size: .92rem; }
.newsletter { display: flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 5px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; color: #fff; outline: none; }
.newsletter input::placeholder { color: #8fb3bb; }
.form-flash { color: var(--net); font-size: .9rem; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--net); color: var(--ink); text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 26px; font-size: .83rem; }
.footer-base-links { display: flex; gap: 16px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- accessibility panel ---------- */
html.a11y-contrast { --foam: #fff; --ink: #000; --ink-2: #222; --line: #000; --sea: #0040a0; --river: #00303a; }
html.a11y-contrast .hero-shade { background: rgba(0, 0, 0, .78); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff59a; color: #000 !important; }
html.a11y-readable { --f-display: Arial, Tahoma, sans-serif; --f-body: Arial, Tahoma, sans-serif; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable button, html.a11y-readable input { font-family: Arial, Tahoma, sans-serif !important; }
html.a11y-nomotion *, html.a11y-nomotion *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-nomotion .wave-line { stroke-dashoffset: 0; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 95; font-size: .9rem; animation: rise .25s var(--ease); }
.toast[hidden] { display: none; }

.closed-page { display: grid; place-items: center; min-height: 100vh; text-align: center; padding: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wave-line { stroke-dashoffset: 0; }
  .ticker-list { animation: none; }
  .ticker-track { overflow-x: auto; }
}
@media print { .utility, .masthead, .footer, .side, .a11y, .hero-media, .meta-share { display: none !important; } .pagehead { background: none; color: #000; } }

/* ---- phone fixes ---- */
.brand { min-width: 0; flex-shrink: 1; }
.brand-text { min-width: 0; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-grid > *, .contact-grid > * { min-width: 0; }
.footer-contact a, .footer-contact span, .footer-about { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .brand-logo + .brand-text { display: none; }
  .masthead-row { gap: 10px; }
  .masthead-tools { flex-shrink: 0; }
}
.hero > .hero-body { min-width: 0; flex-shrink: 1; }

/* ---------- floating accessibility widget ---------- */
.a11y-fab { position: fixed; z-index: 95; bottom: 22px; inset-inline-start: 22px; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; font-size: 1.6rem;
  background: radial-gradient(circle at 30% 25%, #2a8fa6, var(--river) 60%, var(--river-2)); box-shadow: 0 14px 30px -10px rgba(8, 40, 50, .65), 0 0 0 4px rgba(255, 255, 255, .9); transition: transform .25s var(--ease), box-shadow .25s; }
.a11y-fab:hover { transform: scale(1.07) rotate(-8deg); }
.a11y-fab:focus-visible { outline: 3px solid var(--net); outline-offset: 4px; }
.a11y-fab::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--net); opacity: 0; animation: a11y-ping 2.6s var(--ease) 1.2s 3; }
@keyframes a11y-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.a11y-fab[aria-expanded=true] { transform: rotate(0); background: var(--river-2); }
.a11y-fab-badge { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--net); color: var(--ink); font: 700 .7rem/20px var(--f-body); box-shadow: 0 0 0 2px #fff; }
.a11y-fab-tip { position: absolute; inset-inline-start: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: var(--ink); color: #fff; font: 600 .82rem var(--f-body); padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
[dir=rtl] .a11y-fab-tip { transform: translateY(-50%) translateX(-6px); }
.a11y-fab:hover .a11y-fab-tip, .a11y-fab:focus-visible .a11y-fab-tip { opacity: 1; transform: translateY(-50%); }
.a11y-fab[aria-expanded=true] .a11y-fab-tip { display: none; }

.a11y-panel { position: fixed; z-index: 96; bottom: 94px; inset-inline-start: 22px; width: 380px; max-height: calc(100vh - 120px); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(6, 30, 38, .6), 0 0 0 1px rgba(16, 38, 46, .08); transform-origin: bottom left; animation: a11y-in .3s var(--ease); font-family: var(--f-body); font-size: 15px; line-height: 1.4; }
[dir=rtl] .a11y-panel { transform-origin: bottom right; }
.a11y-panel[hidden] { display: none; }
@keyframes a11y-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.a11y-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff; background: linear-gradient(135deg, var(--river), var(--river-2)); }
.a11y-head-ic { width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 1.3rem; color: var(--net); flex-shrink: 0; }
.a11y-head > div { flex: 1; }
.a11y-head h2 { margin: 0; font-size: 1.05rem; font-family: var(--f-display); font-weight: 600; }
.a11y-head small { color: #bcd8de; font-size: .76rem; }
.a11y-x { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; font-size: 1rem; }
.a11y-x:hover { background: rgba(255, 255, 255, .24); }
.a11y-body { overflow-y: auto; padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 16px; overscroll-behavior: contain; }
.a11y-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .03em; color: var(--ink-2); margin-bottom: 8px; }
.a11y-size { background: var(--foam); border-radius: 16px; padding: 12px 14px; }
.a11y-stepper { display: flex; align-items: center; gap: 10px; }
.a11y-stepper button { width: 44px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--river); cursor: pointer; font-size: 1rem; transition: background .15s, transform .1s; }
.a11y-stepper button:hover { background: var(--sea-soft); }
.a11y-stepper button:active { transform: scale(.95); }
.a11y-stepper output { flex: 1; text-align: center; font-weight: 700; font-size: 1.15rem; color: var(--river); font-variant-numeric: tabular-nums; }
.a11y-meter { height: 5px; border-radius: 5px; background: var(--line); margin-top: 10px; overflow: hidden; }
.a11y-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sea), var(--net)); border-radius: 5px; transition: width .3s var(--ease); }
.a11y-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.a11y-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 84px; padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font: 500 .78rem/1.25 var(--f-body); text-align: center; transition: border-color .15s, background .15s, transform .15s var(--ease); }
.a11y-opt > i { font-size: 1.2rem; color: var(--river); transition: transform .25s var(--ease); }
.a11y-opt:hover { border-color: var(--sea); background: var(--foam); }
.a11y-opt:hover > i { transform: translateY(-2px); }
.a11y-opt:focus-visible { outline: 3px solid var(--net); outline-offset: 2px; }
.a11y-opt[aria-pressed=true] { border-color: var(--river); background: var(--sea-soft); box-shadow: inset 0 0 0 1px var(--river); }
.a11y-check { position: absolute; top: 6px; inset-inline-end: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--river); color: #fff; font-size: .6rem; display: grid; place-items: center; transform: scale(0); transition: transform .2s var(--ease); }
.a11y-opt[aria-pressed=true] .a11y-check { transform: scale(1); }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--foam); }
.a11y-reset { border: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font: 600 .82rem var(--f-body); color: var(--river); }
.a11y-reset:hover { background: var(--sea-soft); }
.a11y-link { font-size: .8rem; color: var(--ink-2); text-decoration: none; }
.a11y-link:hover { color: var(--river); text-decoration: underline; }
.a11y-guide { position: fixed; z-index: 94; left: 0; right: 0; height: 46px; pointer-events: none; display: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); border-block: 3px solid var(--net); }
html.a11y-guide-on .a11y-guide { display: block; }
@media (max-width: 560px) {
  .a11y-fab { width: 52px; height: 52px; bottom: 16px; inset-inline-start: 16px; font-size: 1.4rem; }
  .a11y-panel { inset-inline: 10px; bottom: 80px; width: auto; max-height: calc(100vh - 100px); }
  .a11y-fab-tip { display: none; }
}

/* effects */
html.a11y-invert img, html.a11y-invert video, html.a11y-invert iframe, html.a11y-invert .hero-media, html.a11y-invert [style*="background-image"] { filter: invert(1) hue-rotate(180deg); }
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3, html.a11y-headings h4 { outline: 2px dashed var(--net); outline-offset: 4px; background: rgba(242, 179, 61, .12); }
html.a11y-spacing body *:not(i):not(.fa-solid) { line-height: 2 !important; }
html.a11y-letters body *:not(i) { letter-spacing: .08em !important; word-spacing: .16em !important; }
html.a11y-align .prose, html.a11y-align .prose *, html.a11y-align p { text-align: start !important; }
html.a11y-images img:not(.brand-logo):not(.drawer-logo), html.a11y-images video, html.a11y-images .hero-media { opacity: 0 !important; }
html.a11y-images .card-media, html.a11y-images .thumb { background: var(--foam) !important; }
html.a11y-focus *:focus { outline: 4px solid #ff8a00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px rgba(255, 138, 0, .25) !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-6.5 1.2L16 21l-3 1.4-3.4-6.9L4 20z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 6 4, auto !important; }
