/* Fainu Council website - same family as the citizen portal: soft cards, rounded corners, gentle motion.
   Palette: linear-gradient(135deg, #04363f, #0a4d75 60%, #0d95a1). */
@font-face { font-family: "mv waheed"; src: url("/assets/fonts/MV_Waheed.otf?v=1") format("opentype"); font-display: swap; }
@font-face { font-family: "Faruma";    src: url("/assets/fonts/Faruma.otf?v=1") format("opentype"); font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --deep: #04363f; --mid: #0a4d75; --accent: #0d95a1;
  --grad: linear-gradient(135deg, #04363f, #0a4d75 60%, #0d95a1);
  --faint: #e8f6f7; --light: #c4e8ec; --ink: #0d2a30; --ink-mid: #3a5960; --ink-soft: #789398;
  --border: #e0ecee; --surface: #fff; --bg: #f7fbfb; --gold: #f5c04a; --gold-2: #e9a526;
  --radius: 14px; --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(4,54,63,.05);
  --shadow: 0 1px 2px rgba(4,54,63,.04), 0 4px 16px rgba(4,54,63,.07);
  --shadow-lg: 0 4px 12px rgba(4,54,63,.07), 0 16px 40px rgba(4,54,63,.12);
  --wrap: 1180px; --ease: cubic-bezier(.22,.68,.2,1);
}
.tone-a { --tc: #0d95a1; --tb: #e3f5f6; } .tone-b { --tc: #0a4d75; --tb: #e4eff7; } .tone-c { --tc: #16a35e; --tb: #e6f7ee; }
.tone-d { --tc: #e08a2b; --tb: #fdf1e2; } .tone-e { --tc: #7c5cf5; --tb: #f0ecfe; } .tone-f { --tc: #e2508f; --tb: #fdecf3; }
.tone-g { --tc: #dc4b4b; --tb: #fdeaea; } .tone-h { --tc: #2f6fed; --tb: #e9f0ff; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', Faruma, system-ui, sans-serif; color: var(--ink); line-height: 1.7; font-size: 17px;
  background:
    radial-gradient(620px circle at 12% 8%, rgba(13,149,161,.09), transparent 60%),
    radial-gradient(560px circle at 90% 4%, rgba(10,77,117,.07), transparent 60%),
    radial-gradient(720px circle at 55% 30%, rgba(226,80,143,.04), transparent 60%), var(--bg);
  background-attachment: fixed; direction: rtl; text-align: right; -webkit-font-smoothing: antialiased; min-height: 100vh;
  animation: pageIn .55s ease both; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'DM Sans', "mv waheed", Faruma, sans-serif; font-weight: normal; line-height: 1.45; }
a { color: var(--mid); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; position: relative; z-index: 1; }
.en { direction: ltr; unicode-bidi: embed; font-family: 'DM Sans', sans-serif; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; background: #fff; color: var(--deep); padding: 8px 14px; border-radius: 10px; z-index: 200; box-shadow: var(--shadow); }
.skip:focus { top: 8px; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.i.big { width: 2.2em; height: 2.2em; stroke-width: 1.6; }
.i.caret { width: .8em; height: .8em; transition: transform .25s var(--ease); }

@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,35px) scale(1.08); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,192,74,.55); } 70% { box-shadow: 0 0 0 14px rgba(245,192,74,0); } 100% { box-shadow: 0 0 0 0 rgba(245,192,74,0); } }
.rise { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0ms); }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ top bar + header */
.topbar { background: var(--deep); color: #b9d4d8; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #dcecee; }
.topbar .contacts { display: flex; gap: 18px; align-items: center; }
.topbar .contacts a { display: inline-flex; gap: 6px; align-items: center; }
.btn-portal { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3a2800 !important; font-weight: 700; padding: 3px 14px; border-radius: 999px; font-size: 13px; text-decoration: none !important; display: inline-flex; gap: 6px; align-items: center; transition: transform .2s; }
.btn-portal:hover { transform: translateY(-1px); }

.site-header { background: var(--grad); position: sticky; top: 0; z-index: 90; box-shadow: 0 6px 24px rgba(4,54,63,.25); transition: box-shadow .3s; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 70px; transition: min-height .3s var(--ease); }
.site-header.scrolled .wrap { min-height: 56px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; display: block; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 44px; }
.mainnav { margin-inline-start: auto; }
.mainnav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.mainnav li { position: relative; }
.mainnav > ul > li > a { display: flex; align-items: center; gap: 5px; color: #e9f6f7; padding: 9px 12px; border-radius: 10px; font-family: "mv waheed", Faruma, sans-serif; font-size: 18px; white-space: nowrap; transition: background .2s; }
.mainnav > ul > li > a:hover, .mainnav > ul > li:hover > a, .mainnav > ul > li.on > a { background: rgba(255,255,255,.14); color: #fff; text-decoration: none; }
.mainnav .sub { visibility: hidden; opacity: 0; transform: translateY(8px); transition: all .22s var(--ease); position: absolute; top: 100%; inset-inline-start: 0; min-width: 250px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; list-style: none; border: 1px solid var(--border); }
.mainnav li:hover > .sub, .mainnav li:focus-within > .sub, .mainnav li.open > .sub { visibility: visible; opacity: 1; transform: none; }
.mainnav li:hover > a .caret { transform: rotate(180deg); }
.mainnav .sub a { display: block; padding: 9px 14px; border-radius: 9px; color: var(--ink); font-family: "mv waheed", Faruma, sans-serif; font-size: 17px; }
.mainnav .sub a:hover { background: var(--faint); color: var(--mid); text-decoration: none; }
.icon-btn { background: rgba(255,255,255,.12); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; display: inline-grid; place-items: center; font-size: 17px; transition: background .2s, transform .2s; }
.icon-btn:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.menu-btn { display: none; }
.searchbar { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); background: #06495a; }
.searchbar > .wrap { overflow: hidden; min-height: 0 !important; display: block; }
.searchbar.open { grid-template-rows: 1fr; }
.searchbar form { display: flex; gap: 10px; padding: 14px 0; }
.searchbar input { flex: 1; border: 0; border-radius: 12px; padding: 12px 16px; font-family: Faruma, 'DM Sans', sans-serif; direction: rtl; font-size: 18px; min-width: 0; }
.searchbar button { border: 0; border-radius: 12px; padding: 0 22px; background: var(--gold); color: #3a2800; font-family: "mv waheed", sans-serif; font-size: 18px; cursor: pointer; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 24px; border-radius: 999px; font-family: "mv waheed", Faruma, sans-serif; font-size: 18px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s, background .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(10,77,117,.28); }
.btn.solid:hover { box-shadow: 0 10px 24px rgba(10,77,117,.35); }
.btn.ghost { background: var(--faint); color: var(--mid); }
.btn.gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3a2800; font-weight: 700; animation: pulse 2.8s infinite; }
.btn.glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.glass:hover { background: rgba(255,255,255,.22); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--faint); color: var(--mid); border-radius: 999px; padding: 1px 12px; font-size: 14px; border: 0; }
.chip.ok { background: #e6f7ee; color: #14804a; }
.chip.pill { padding: 5px 15px; font-family: "mv waheed", Faruma, sans-serif; font-size: 16px; cursor: pointer; transition: all .2s; }
a.chip.pill:hover, button.chip.pill:hover, button.chip.pill.on { background: var(--mid); color: #fff; text-decoration: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; color: #fff; min-height: 560px; display: flex; align-items: center; background: var(--grad); }
.hero .video { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s ease; }
.hero .video.on { opacity: 1; }
.hero .video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,54,63,.74), rgba(10,77,117,.50) 55%, rgba(4,54,63,.86)); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; z-index: 1; pointer-events: none; }
.blob.b1 { width: 380px; height: 380px; background: #0d95a1; top: -90px; inset-inline-end: -60px; animation: float1 14s ease-in-out infinite; }
.blob.b2 { width: 320px; height: 320px; background: #f5c04a; opacity: .22; bottom: -80px; inset-inline-start: 8%; animation: float2 17s ease-in-out infinite; }
.blob.b3 { width: 260px; height: 260px; background: #2f6fed; opacity: .25; top: 30%; inset-inline-start: 40%; animation: float1 19s ease-in-out infinite reverse; }
.hero .inner { position: relative; z-index: 2; text-align: center; padding: 70px 0 130px; }
.hero h1 { font-family: "mv waheed", sans-serif; font-size: clamp(2.3rem, 6vw, 4.3rem); text-shadow: 0 4px 28px rgba(0,0,0,.35); margin-bottom: 22px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hero .wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; z-index: 2; fill: var(--bg); }
.bigsearch { display: flex; max-width: 620px; margin-inline: auto; background: #fff; border-radius: 999px; padding: 6px; box-shadow: var(--shadow-lg); }
.bigsearch input { flex: 1; border: 0; background: transparent; padding: 10px 20px; font-family: Faruma, 'DM Sans', sans-serif; font-size: 19px; direction: rtl; min-width: 0; color: var(--ink); }
.bigsearch input:focus { outline: none; }
.bigsearch button { border: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 19px; transition: transform .2s; }
.bigsearch button:hover { transform: scale(1.08) rotate(-8deg); }
.bigsearch:focus-within { box-shadow: 0 0 0 4px rgba(245,192,74,.5), var(--shadow-lg); }

/* quick tiles that overlap the hero */
.quick { margin-top: -78px; position: relative; z-index: 5; }
.quick .grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.qtile { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px 8px 14px; text-align: center; color: var(--ink); border: 1px solid var(--border); transition: transform .25s var(--ease), box-shadow .25s; display: block; }
.qtile:hover { transform: translateY(-6px); text-decoration: none; box-shadow: 0 14px 34px rgba(4,54,63,.2); }
.qtile .ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; margin: 0 auto 10px; font-size: 22px; background: var(--tb); color: var(--tc); transition: transform .35s var(--ease); }
.qtile:hover .ic { transform: scale(1.12) rotate(-6deg); }
.qtile .t { font-family: "mv waheed", Faruma, sans-serif; font-size: 17px; display: block; line-height: 1.4; }

/* ------------------------------------------------------------------ sections + rows + cards */
.section { padding: 56px 0 4px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.sec-head h2 { font-size: 30px; color: var(--deep); position: relative; padding-inline-start: 16px; }
.sec-head h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 4px; background: linear-gradient(var(--accent), var(--mid)); }
.more { font-family: "mv waheed", Faruma, sans-serif; font-size: 17px; display: inline-flex; gap: 8px; align-items: center; background: var(--faint); padding: 6px 16px; border-radius: 999px; transition: all .2s; }
.more:hover { background: var(--mid); color: #fff; text-decoration: none; }
.more:hover .i { transform: translateX(-4px); }
.more .i { transition: transform .2s; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.rows { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 16px; align-items: center; padding: 15px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.row:hover { text-decoration: none; transform: translateX(-4px) translateY(-2px); box-shadow: var(--shadow); border-color: var(--light); }
.row .badge { flex: none; width: 56px; height: 62px; border-radius: 14px; background: var(--faint); color: var(--mid); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; font-family: 'DM Sans', sans-serif; transition: background .2s, color .2s; }
.row:hover .badge { background: var(--grad); color: #fff; }
.row .badge b { font-size: 22px; }
.row .badge small { font-size: 12px; font-family: "mv waheed", Faruma, sans-serif; }
.row .badge.pg { font-size: 24px; }
.row .tx { flex: 1; min-width: 0; }
.row .tt { font-family: "mv waheed", Faruma, sans-serif; font-size: 20px; color: var(--deep); line-height: 1.55; overflow-wrap: anywhere; }
.row .ex { font-family: Faruma, sans-serif; font-size: 16px; color: var(--ink-mid); margin-top: 4px; }
.row .go { color: var(--ink-soft); flex: none; transition: transform .2s; }
.row:hover .go { transform: translateX(-4px); color: var(--mid); }
mark { background: #fff1b8; color: inherit; border-radius: 4px; padding: 0 2px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-soft); margin-top: 3px; align-items: center; }
.meta .i { margin-inline-end: 4px; }
.month { font-family: "mv waheed", Faruma, sans-serif; font-size: 20px; color: var(--mid); margin: 18px 4px 2px; display: flex; gap: 12px; align-items: center; position: sticky; top: 60px; z-index: 3; background: linear-gradient(var(--bg) 70%, transparent); padding: 6px 0; }
.month.meet { justify-content: space-between; }
.list-card { padding: 18px 20px 8px; }
.list-card .li { display: block; padding: 11px 0; border-bottom: 1px dashed var(--border); color: var(--ink); transition: padding .2s; }
.list-card .li:last-child { border-bottom: 0; }
.list-card .li:hover { text-decoration: none; color: var(--mid); padding-inline-start: 8px; }
.list-card .li .tt { font-family: "mv waheed", Faruma, sans-serif; font-size: 18px; line-height: 1.6; }
.list-card .li .d { font-size: 13px; color: var(--ink-soft); }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news .feature { grid-column: 1 / -1; }
.ncard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.ncard:hover { text-decoration: none; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ncard .img { aspect-ratio: 16 / 10; background: var(--faint) center / cover no-repeat; position: relative; transition: transform .6s var(--ease); }
.ncard:hover .img { transform: scale(1.05); }
.ncard .imgwrap { overflow: hidden; }
.ncard .bd { padding: 14px 16px 16px; background: #fff; position: relative; }
.ncard .tt { font-family: "mv waheed", Faruma, sans-serif; font-size: 20px; line-height: 1.55; color: var(--deep); }
.ncard .d { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.ncard { overflow: hidden; }
.count-pill { position: absolute; bottom: 10px; inset-inline-start: 10px; background: rgba(4,54,63,.75); color: #fff; border-radius: 999px; padding: 2px 11px; font-size: 14px; display: inline-flex; gap: 5px; align-items: center; backdrop-filter: blur(4px); font-family: 'DM Sans', sans-serif; }
.feature { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); color: var(--ink); min-height: 320px; margin-bottom: 4px; }
.feature:hover { text-decoration: none; }
.feature .img { background: var(--faint) center / cover no-repeat; min-height: 220px; transition: transform .8s var(--ease); }
.feature:hover .img { transform: scale(1.04); }
.feature .bd { padding: 28px; display: flex; flex-direction: column; gap: 14px; justify-content: center; position: relative; background: #fff; }
.feature h2 { font-size: 30px; color: var(--deep); line-height: 1.5; }
.feature .go { font-size: 26px; color: var(--accent); transition: transform .25s; }
.feature:hover .go { transform: translateX(-8px); }
.feature { overflow: hidden; }
.feature .img { overflow: hidden; }

/* stats band */
.stats { margin-top: 60px; background: var(--grad); color: #fff; padding: 52px 0; position: relative; overflow: hidden; }
.stats .grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.stat { text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 24px 12px; backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .3s; }
.stat:hover { transform: translateY(-5px); background: rgba(255,255,255,.14); }
.stat .i.big { color: var(--gold); margin-bottom: 6px; }
.stat .n { font-family: 'DM Sans', sans-serif; font-size: 42px; font-weight: 700; line-height: 1.1; }
.stat .l { font-family: "mv waheed", Faruma, sans-serif; font-size: 19px; color: #d3ebee; margin-top: 4px; }
.stats .foot { position: relative; z-index: 2; text-align: center; margin-top: 26px; }

/* ------------------------------------------------------------------ inner page frame */
.pagehead { background: var(--grad); color: #fff; padding: 40px 0 78px; position: relative; overflow: hidden; }
.pagehead .blob.b1 { width: 280px; height: 280px; top: -100px; }
.pagehead .blob.b2 { width: 220px; height: 220px; bottom: -90px; }
.pagehead h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-family: "mv waheed", Faruma, sans-serif; overflow-wrap: anywhere; }
.pagehead .sub { color: #cfe8eb; font-size: 18px; margin-top: 6px; }
.crumbs { font-size: 14px; color: #b3d3d8; margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #e0f0f2; }
.crumbs .sep { opacity: .5; }
.pagebody { margin-top: -50px; position: relative; z-index: 3; padding-bottom: 54px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; margin-bottom: 14px; align-items: center; }
.fld { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 12px; padding: 0 12px; background: #fff; color: var(--ink-soft); transition: border-color .2s, box-shadow .2s; }
.fld:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,149,161,.18); }
.fld.grow { flex: 1 1 240px; }
.fld.narrow { width: 130px; }
.fld input, .fld select { border: 0; background: transparent; padding: 10px 2px; font-family: Faruma, 'DM Sans', sans-serif; font-size: 17px; color: var(--ink); min-width: 0; width: 100%; direction: rtl; }
.fld input:focus, .fld select:focus { outline: none; }
.chk { display: inline-flex; align-items: center; cursor: pointer; user-select: none; }
.chk input { position: absolute; opacity: 0; }
.chk span { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 9px 14px; font-family: "mv waheed", Faruma, sans-serif; font-size: 16px; transition: all .2s; background: #fff; }
.chk input:checked + span { background: var(--mid); color: #fff; border-color: var(--mid); }
.chk input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.filters .btn { padding: 9px 20px; font-size: 17px; }
.count { color: var(--ink-soft); margin: 4px 4px 8px; font-size: 15px; }
.count b { font-family: 'DM Sans', sans-serif; color: var(--deep); font-size: 20px; }
.loadmore { text-align: center; margin: 26px 0 6px; }
.js .pager { display: none; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 26px 0 6px; flex-wrap: wrap; }
.pager .pg, .pager .gap { min-width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--border); font-family: 'DM Sans', sans-serif; padding: 0 8px; }
.pager .pg.on { background: var(--grad); color: #fff; border-color: transparent; }
.pager a.pg:hover { background: var(--faint); text-decoration: none; }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.empty p { margin-top: 10px; font-size: 20px; }
.skeleton { height: 78px; border-radius: var(--radius); background: linear-gradient(90deg, #eef5f6 25%, #f8fcfc 50%, #eef5f6 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; margin-bottom: 12px; }
.tiles-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 30px 0; }

/* agenda terms / members (details) */
.term { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.term > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-family: "mv waheed", Faruma, sans-serif; font-size: 22px; color: var(--deep); transition: background .2s; }
.term > summary::-webkit-details-marker { display: none; }
.term > summary:hover { background: var(--faint); }
.term .tn { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: 'DM Sans', sans-serif; font-size: 22px; font-weight: 700; flex: none; }
.term .tl { flex: 1; }
.term .tc { background: var(--faint); color: var(--mid); border-radius: 999px; padding: 0 12px; font-family: 'DM Sans', sans-serif; font-size: 15px; }
.term[open] > summary .caret { transform: rotate(180deg); }
.meetings { padding: 4px 14px 14px; }
.meeting { display: flex; gap: 10px; align-items: center; padding: 8px 6px; border-top: 1px dashed var(--border); flex-wrap: wrap; }
.meeting .mt { flex: 1 1 320px; display: flex; gap: 14px; align-items: center; color: var(--ink); min-width: 0; }
.meeting .mt:hover { text-decoration: none; color: var(--mid); }
.meeting .mn { min-width: 46px; height: 40px; border-radius: 12px; background: var(--faint); color: var(--mid); display: grid; place-items: center; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 18px; flex: none; transition: all .2s; }
.meeting .mt:hover .mn { background: var(--grad); color: #fff; }
.meeting .tx { display: flex; flex-direction: column; min-width: 0; }
.meeting .tt { font-family: "mv waheed", Faruma, sans-serif; font-size: 18px; line-height: 1.55; }
.meeting .d { font-size: 13px; color: var(--ink-soft); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; padding: 8px 20px 24px; }
.person { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.person img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; display: block; background: var(--faint); transition: transform .6s var(--ease); }
.person:hover img { transform: scale(1.06); }
.person .noimg { aspect-ratio: 5 / 6; background: var(--grad); opacity: .12; }
.person figcaption { padding: 12px 10px 16px; position: relative; background: #fff; }
.person b { display: block; font-family: "mv waheed", Faruma, sans-serif; font-weight: normal; font-size: 20px; color: var(--deep); line-height: 1.5; }
.person span { color: var(--accent); font-size: 16px; }
.person { overflow: hidden; }

/* ------------------------------------------------------------------ article */
.article { padding: 28px clamp(18px, 4vw, 46px); }
.article .meta.top { margin: 0 0 14px; }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 16px; background: var(--faint); border: 1px solid var(--light); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }
.info b { display: block; font-family: "mv waheed", Faruma, sans-serif; font-weight: normal; color: var(--accent); font-size: 15px; }
.info span { font-size: 18px; }
.info .refno { font-weight: 700; letter-spacing: .02em; }
.copy { background: transparent; border: 0; color: var(--ink-soft); cursor: pointer; padding: 4px 6px; margin-inline-start: 6px; border-radius: 8px; transition: color .2s, background .2s; }
.copy:hover { color: var(--mid); background: #fff; }
.copy.done { color: #14804a; }
.dl { display: inline-flex; align-items: center; gap: 14px; margin: 2px 0 22px; padding: 12px 22px; border-radius: 14px; background: var(--grad); color: #fff !important; text-decoration: none !important; box-shadow: 0 8px 22px rgba(10,77,117,.3); transition: transform .2s var(--ease), box-shadow .2s; max-width: 100%; }
.dl:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,77,117,.38); }
.dl .i { font-size: 26px; }
.dl span { display: flex; flex-direction: column; font-family: "mv waheed", Faruma, sans-serif; font-size: 19px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.dl small { font-size: 13px; opacity: .8; }
.prose { font-family: Faruma, 'DM Sans', sans-serif; font-size: 19px; line-height: 2.05; color: #142f35; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose div { margin: 0 0 .5em; }
.prose img { border-radius: 12px; margin: 12px auto; display: block; box-shadow: var(--shadow-sm); max-width: min(100%, 900px); cursor: zoom-in; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 12px; vertical-align: top; }
.prose th { background: var(--faint); }
.prose ul, .prose ol { margin: 0 0 1em; padding-inline-start: 1.6em; }
.prose h2, .prose h3 { margin: 1.3em 0 .5em; color: var(--deep); font-family: "mv waheed", Faruma, sans-serif; font-size: 1.25em; }
.prose iframe { max-width: 100%; border: 0; border-radius: 12px; }
.prose strong, .prose b { font-family: "mv waheed", Faruma, sans-serif; font-weight: normal; color: var(--mid); }
.prose.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.prose.gallery > * { grid-column: 1 / -1; }
.prose.gallery > .gi { grid-column: auto; margin: 0; }
.prose.gallery img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.prose.gallery img:hover { transform: scale(1.03); }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 15px; color: var(--ink-soft); }
.share a, .share button { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: var(--faint); color: var(--mid); font-size: 16px; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--grad); color: #fff; text-decoration: none; transform: translateY(-2px); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.pn { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); font-family: "mv waheed", Faruma, sans-serif; font-size: 17px; box-shadow: var(--shadow-sm); transition: all .2s var(--ease); line-height: 1.5; }
.pn:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); color: var(--mid); }
.pn.prev { justify-content: flex-end; text-align: left; }
.pn span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.related { margin-top: 38px; }

/* ------------------------------------------------------------------ number pages */
.sgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 16px; margin-bottom: 18px; }
.scard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 16px; text-align: center; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.scard .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 10px; background: var(--tb); color: var(--tc); font-size: 22px; }
.scard .n { font-family: 'DM Sans', sans-serif; font-size: 34px; font-weight: 700; color: var(--deep); line-height: 1.15; }
.scard .l { font-family: "mv waheed", Faruma, sans-serif; font-size: 19px; color: var(--ink-mid); }
.money-grid .n { font-size: 26px; }
.panel { padding: 22px 24px; margin-bottom: 18px; }
.panel h2 { font-size: 24px; color: var(--deep); margin-bottom: 12px; }
.hint { color: var(--ink-mid); margin-bottom: 14px; }
.genderbar { display: flex; height: 58px; border-radius: 16px; overflow: hidden; background: var(--faint); }
.genderbar span { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-family: "mv waheed", Faruma, sans-serif; font-size: 18px; width: var(--w); transition: width 1.2s var(--ease); white-space: nowrap; overflow: hidden; }
.genderbar .gm { background: linear-gradient(135deg, #0a4d75, #1b86b8); } .genderbar .gf { background: linear-gradient(135deg, #e2508f, #f08ab2); }
.genderbar b { font-family: 'DM Sans', sans-serif; } .genderbar em { font-style: normal; opacity: .85; font-size: 14px; }
.js .reveal:not(.in) .genderbar span { width: 0; }
.agefilter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.agefilter input { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-family: Faruma, 'DM Sans', sans-serif; font-size: 17px; flex: 1 1 180px; min-width: 0; direction: rtl; }
.agefilter input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,149,161,.18); }
.agesum { background: var(--grad); color: #fff; border-radius: 12px; padding: 8px 22px; font-size: 24px; font-weight: 700; min-width: 90px; text-align: center; }
.bands { display: flex; flex-direction: column; gap: 8px; }
.band { display: grid; grid-template-columns: 62px 1fr 60px; gap: 12px; align-items: center; transition: opacity .25s; }
.band.off { opacity: .22; }
.band .bar { height: 22px; border-radius: 8px; background: var(--faint); overflow: hidden; }
.band .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--mid)); border-radius: 8px; transition: width 1.1s var(--ease); }
.band .bl, .band .bn { font-size: 15px; color: var(--ink-mid); text-align: center; }
.js .reveal:not(.in) .band .bar i, .js .reveal:not(.in) .progress i { width: 0; }
.progress { height: 12px; border-radius: 99px; background: var(--faint); position: relative; overflow: hidden; margin: 10px 0; }
.progress i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--mid)); border-radius: 99px; transition: width 1.2s var(--ease); position: relative; overflow: hidden; }
.progress i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-100%); animation: sheen 2.6s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.progress span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; mix-blend-mode: normal; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.progress.big { height: 30px; } .progress.big span { font-size: 14px; }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pcard[hidden] { display: none; }
.pcard .ph { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pcard h3 { font-family: "mv waheed", Faruma, sans-serif; font-size: 22px; color: var(--deep); line-height: 1.5; }
.pcard .loc, .pcard .dates { color: var(--ink-mid); font-size: 15px; }
.pcard .money { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-mid); margin-top: 6px; }
.st-ongoing { background: #fff1d6; color: #9a5b00; } .st-completed { background: #e0f5e9; color: #14804a; } .st-planned { background: var(--faint); color: var(--mid); } .st-on_hold { background: #fde8d8; color: #b4531a; }
.legend { display: flex; gap: 18px; margin-bottom: 8px; font-family: "mv waheed", Faruma, sans-serif; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-inline-end: 6px; vertical-align: -1px; }
.l-inc::before { background: var(--accent); } .l-exp::before { background: #e08a2b; }
.mchart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 220px; }
.mcol { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; font-size: 12px; color: var(--ink-mid); gap: 6px; }
.mcol .bars { display: flex; gap: 3px; align-items: flex-end; height: 100%; width: 100%; justify-content: center; }
.mcol .bars i { width: 42%; max-width: 22px; border-radius: 6px 6px 0 0; height: var(--h); transition: height 1.1s var(--ease); min-height: 2px; }
.mcol .bi { background: linear-gradient(var(--accent), #0a8d97); } .mcol .be { background: linear-gradient(#f2a64a, #e08a2b); }
.js .reveal:not(.in) .mcol .bars i { height: 0; }
.fund { margin-bottom: 14px; } .fund .fh { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.asof { margin-top: 10px; color: var(--ink-soft); font-size: 14px; display: flex; gap: 6px; align-items: center; }

/* ------------------------------------------------------------------ errors, footer, lightbox */
.errorpage { padding: 70px 0; text-align: center; }
.errorpage .errcode { font-family: 'DM Sans', sans-serif; font-size: clamp(70px, 18vw, 150px); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.errorpage h1 { font-family: "mv waheed", sans-serif; font-size: 34px; margin: 6px 0 22px; color: var(--deep); }
.errorpage .bigsearch { margin-bottom: 22px; border: 1px solid var(--border); }
.site-footer { margin-top: 60px; background: var(--deep); color: #bdd7db; position: relative; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 34px; padding: 48px 0 30px; }
.site-footer h4 { color: #fff; font-family: "mv waheed", Faruma, sans-serif; font-size: 22px; margin-bottom: 10px; }
.site-footer p { font-family: Faruma, sans-serif; font-size: 16px; line-height: 2; color: #aecbd0; }
.site-footer ul { list-style: none; } .site-footer li { padding: 5px 0; }
.site-footer a { color: #dcecee; font-family: "mv waheed", Faruma, sans-serif; font-size: 17px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; direction: ltr; }
.to-top { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .3s var(--ease); z-index: 80; display: grid; place-items: center; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(2,20,24,.92); display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.lb.on { opacity: 1; }
.lb img { max-width: 94vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transform: scale(.94); transition: transform .3s var(--ease); }
.lb.on img { transform: none; }
.lb button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 20px; transition: background .2s; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb .x { top: 18px; inset-inline-end: 18px; } .lb .pv { top: 50%; inset-inline-start: 14px; } .lb .nx { top: 50%; inset-inline-end: 14px; }
.lb .cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #cfe3e6; font-family: 'DM Sans', sans-serif; font-size: 14px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) { .quick .grid { grid-template-columns: repeat(4, 1fr); } .mainnav > ul > li > a { padding: 9px 8px; font-size: 17px; } }
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .mainnav { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(340px, 88vw); background: #fff; transform: translateX(-105%); transition: transform .3s var(--ease); z-index: 120; padding: 18px; overflow-y: auto; box-shadow: 10px 0 40px rgba(0,0,0,.25); margin: 0; }
  [dir=rtl] .mainnav { transform: translateX(105%); box-shadow: -10px 0 40px rgba(0,0,0,.25); }
  .mainnav.open { transform: none !important; }
  .mainnav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav > ul > li > a { color: var(--ink); padding: 12px 8px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 19px; justify-content: space-between; }
  .mainnav > ul > li > a:hover, .mainnav > ul > li:hover > a, .mainnav > ul > li.on > a { background: var(--faint); color: var(--mid); }
  .mainnav .sub { visibility: visible; opacity: 1; transform: none; position: static; box-shadow: none; border: 0; padding: 0 12px 6px; min-width: 0; display: none; }
  .mainnav li.open > .sub { display: block; }
  .scrim { position: fixed; inset: 0; background: rgba(4,54,63,.55); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .scrim.open { opacity: 1; pointer-events: auto; }
  .cols { grid-template-columns: 1fr; } .news { grid-template-columns: repeat(2, 1fr); } .site-footer .top { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .hero .video { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { min-height: 500px; } .hero .inner { padding: 54px 0 120px; }
  .quick { margin-top: -64px; } .quick .grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .qtile { padding: 12px 4px 10px; border-radius: 16px; } .qtile .ic { width: 42px; height: 42px; font-size: 17px; border-radius: 13px; } .qtile .t { font-size: 14px; }
  .news { grid-template-columns: 1fr; }
  .row { padding: 12px; gap: 12px; } .row .badge { width: 48px; height: 54px; } .row .tt { font-size: 18px; } .row .go { display: none; }
  .sec-head h2 { font-size: 25px; }
  .topbar .contacts .mail { display: none; }
  .prose { font-size: 18px; } .prevnext { grid-template-columns: 1fr; }
  .site-header .wrap { min-height: 62px; } .brand img { height: 44px; }
  .mchart { gap: 4px; } .mcol span { font-size: 9px; }
  .band { grid-template-columns: 52px 1fr 48px; }
  .month { top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .share, .prevnext, .related, .to-top, .scrim, .hero .video, .filters, .loadmore, .pager { display: none !important; }
  body { background: #fff; animation: none; font-size: 12pt; } .pagehead { background: none; color: #000; padding: 0; } .pagehead h1 { color: #000; } .pagebody { margin-top: 0; }
  .card, .article { box-shadow: none; border: 0; } .prose { font-size: 12pt; line-height: 1.8; }
  a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
