/*
Theme Name: AODA Theme
Author: AODA
Version: 0.2.4
Text Domain: aoda-theme
*/

/* =========================================================
   Cairo direct webfont declarations.
   Avoids dependency on the fonts.googleapis.com stylesheet.
   ========================================================= */
@font-face{
  font-family:'Cairo';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hOA-W1HoLQ-HmkA.woff2') format('woff2');
}
@font-face{
  font-family:'Cairo';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hNI-W1HoLQ-HmkA.woff2') format('woff2');
}
@font-face{
  font-family:'Cairo';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hD45W1HoLQ-HmkA.woff2') format('woff2');
}
@font-face{
  font-family:'Cairo';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hAc5W1HoLQ-HmkA.woff2') format('woff2');
}
@font-face{
  font-family:'Cairo';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hGA5W1HoLQ-HmkA.woff2') format('woff2');
}
@font-face{
  font-family:'Cairo';
  font-style:normal;
  font-weight:900;
  font-display:swap;
  src:url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hEk5W1HoLQ-HmkA.woff2') format('woff2');
}

:root{--navy:#081c2c;--paper:#fffdf8;--warm:#f6f2e8;--cream:#efe3cf;--brass:#c59a50;--red:#bd3340;--green:#326a58;--muted:#697a87;--border:#d8c8af;--shadow:0 16px 50px rgba(8,28,44,.08);--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--warm);color:#172c3c;font-family:'Cairo','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif;line-height:1.75}body.ltr{direction:ltr}a{color:inherit;text-decoration:none}img{max-width:100%}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.utility{background:var(--navy);color:#c8d6df;font-size:11px}.utility-row{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,253,248,.97);border-bottom:1px solid var(--border);backdrop-filter:blur(14px)}.head{min-height:86px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:12px;min-width:max-content}.brand img{width:60px;height:60px;object-fit:cover;border-radius:50%;border:1px solid #ddd}.brand strong{display:block;color:var(--navy);font-size:15px;line-height:1.2}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.head nav{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.head nav a{padding:9px 10px;border-radius:9px;color:#465d6d;font-size:12px;font-weight:900}.head nav a:hover,.head nav a.active{background:#edf1f3;color:var(--navy)}.lang{border:1px solid var(--border);background:#fff;padding:7px 11px;border-radius:10px;color:var(--navy);font-size:12px;font-weight:900}.hero-home{position:relative;overflow:hidden;background:var(--navy)}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.72}.hero-overlay{position:absolute;inset:0;background:linear-gradient(270deg,rgba(8,28,44,.97),rgba(8,28,44,.87) 52%,rgba(8,28,44,.22))}.ltr .hero-overlay{background:linear-gradient(90deg,rgba(8,28,44,.97),rgba(8,28,44,.87) 52%,rgba(8,28,44,.22))}.hero-inner{position:relative;z-index:2;min-height:570px;display:grid;grid-template-columns:1fr .42fr;align-items:center;gap:35px;padding:70px 0}.hero-copy{color:#fff}.eyebrow{display:inline-flex;padding:6px 11px;border:1px solid rgba(197,154,80,.58);border-radius:999px;background:rgba(255,255,255,.05);color:#e5ca91;font-size:11px;font-weight:900}.hero-copy h1{font-size:clamp(50px,6.5vw,84px);line-height:1.04;margin:18px 0 16px;letter-spacing:-.04em}.hero-copy p{font-size:16px;color:#d5e1e8;max-width:760px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:25px}.primary-btn,.secondary-btn{padding:11px 16px;border-radius:11px;font-weight:900}.primary-btn{background:var(--brass);color:#19252d}.secondary-btn{border:1px solid rgba(255,255,255,.4);color:white;background:rgba(255,255,255,.05)}.security{margin-top:22px;padding:10px 13px;border-inline-start:3px solid var(--brass);background:rgba(255,255,255,.05);font-size:11px;color:#d7e2e8}.hero-logo{display:grid;place-items:center}.hero-logo img{width:min(310px,100%);aspect-ratio:1;object-fit:cover;border-radius:50%;background:#fff;border:9px solid rgba(255,255,255,.12);box-shadow:0 20px 50px rgba(0,0,0,.25)}.stats{background:var(--cream);border-bottom:1px solid #d4c09d}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.stats-grid>div{padding:18px;text-align:center;border-inline-end:1px solid #d4c09d}.stats-grid>div:last-child{border:0}.stats strong{display:block;font-size:27px;color:var(--navy)}.stats span{font-size:10px;color:#6a604e}.section{padding:70px 0}.alt{background:var(--paper);border-block:1px solid var(--border)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}.section-head h2,.page-hero h1{margin:0;color:var(--navy);font-size:clamp(32px,4vw,48px);line-height:1.18}.section-head p,.page-hero p{margin:8px 0 0;color:var(--muted);max-width:850px}.section-head>a{font-size:12px;font-weight:900}.page-hero{padding:54px 0 38px;background:linear-gradient(180deg,var(--paper),var(--warm));border-bottom:1px solid var(--border)}.crumb{font-size:10px;color:var(--muted);margin-bottom:9px}.editorial-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.feature-story{position:relative;min-height:520px;border-radius:22px;overflow:hidden;color:#fff;box-shadow:var(--shadow)}.feature-story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.feature-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,28,44,.97),rgba(8,28,44,.22) 72%)}.feature-copy{position:absolute;z-index:2;inset:auto 26px 26px}.feature-copy h3{font-size:32px;line-height:1.2;margin:6px 0 8px}.feature-copy p{font-size:12px;color:#d7e2e9}.feature-copy a{font-size:11px;font-weight:900}.kicker{font-size:10px;font-weight:900;color:#8a661f}.feature-copy .kicker{color:var(--brass)}.side-list{display:grid;gap:16px}.side-list .article-card{display:grid;grid-template-columns:155px 1fr}.side-list .article-card>img{height:100%;aspect-ratio:auto}.side-list .article-body h3{font-size:16px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.article-card{background:white;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(8,28,44,.05)}.article-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.article-body{padding:18px}.article-meta{display:flex;justify-content:space-between;gap:10px;font-size:9px;text-transform:uppercase;color:#77858f;font-weight:900}.article-meta span{color:#89661f}.article-body h3{margin:6px 0 8px;color:var(--navy);font-size:19px;line-height:1.4}.article-body p{margin:0;color:#596c79;font-size:12px}.card-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #eee7dc}.card-foot a{font-size:10px;font-weight:900}.status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:900}.status.green{background:#e7f0ec;color:var(--green)}.status.gold{background:#f8efdd;color:#82621f}.status.gray{background:#edf1f3;color:#566b7a}.notice{padding:13px 15px;border-radius:11px;background:#fff7e8;border:1px solid #e8d4aa;border-inline-start:4px solid var(--brass);color:#6f5a2b;font-size:11px;margin-bottom:20px}.notice.danger{background:#fff0f2;border-color:#efc9ce;border-inline-start-color:var(--red);color:#7a323a}.logo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.group-logo-card{background:white;border:1px solid var(--border);border-radius:17px;padding:16px;box-shadow:0 7px 20px rgba(8,28,44,.04)}.logo-frame{background:linear-gradient(180deg,#faf6ef,#efe3cf);border-radius:14px;padding:12px;margin-bottom:12px}.logo-frame img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#fff}.group-logo-card h3{margin:5px 0 6px;color:var(--navy);font-size:16px;line-height:1.35}.group-logo-card>span{font-size:10px;color:var(--muted)}.group-logo-card p{font-size:11px;color:#5b6d79}.laws-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.law-card{background:white;border:1px solid var(--border);border-inline-start:5px solid var(--green);border-radius:17px;padding:20px;box-shadow:0 7px 22px rgba(8,28,44,.04)}.law-card.proposed{border-inline-start-color:var(--brass)}.law-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:#6c7b86}.law-card h3{margin:10px 0 4px;color:var(--navy);font-size:19px}.law-card .meta{font-size:10px;color:#8a969e}.law-card p{font-size:12px;color:#586b78}.law-card>a{font-size:10px;font-weight:900}.filter-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:white;border:1px solid var(--border);border-radius:13px;padding:10px;margin-bottom:18px}.filter-bar input{flex:1;min-width:230px;border:1px solid var(--border);border-radius:9px;padding:10px}.filter-bar button{border:1px solid var(--border);background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;cursor:pointer}.filter-bar button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:16px;background:#fff}table{width:100%;border-collapse:collapse;min-width:1000px}th,td{padding:11px 12px;border-bottom:1px solid #eee7dc;text-align:start;font-size:11px}th{background:#f1e9dc;color:var(--navy)}td:nth-child(2){font-weight:900;color:var(--navy)}td:nth-child(6){min-width:300px}.detail-grid{display:grid;gap:14px}.detail-panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px}.detail-panel.official{border-inline-start:5px solid var(--navy)}.detail-panel.editorial{border-inline-start:5px solid var(--brass)}.detail-panel.position{border-inline-start:5px solid var(--red)}.detail-panel h3{margin-top:0;color:var(--navy)}.issue-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.issue-card{background:var(--navy);color:white;border-radius:16px;padding:18px;min-height:140px}.issue-card strong{display:block;font-size:28px;color:var(--brass)}.issue-card span{font-size:10px;color:#afc1cd}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.source-card{background:white;border:1px solid var(--border);border-radius:16px;padding:18px}.source-card h3{margin:4px 0 7px;color:var(--navy)}.source-card p{font-size:11px;color:#5c6e7b}.source-card a{font-size:10px;font-weight:900}.footer{margin-top:70px;background:var(--navy);color:white;padding:42px 0 18px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,.8fr);gap:24px}.footer h4{margin:0 0 9px;font-size:13px}.footer p,.footer a{font-size:10px;color:#afc0cc}.footer a{display:block;margin:6px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:23px;padding-top:14px;display:flex;justify-content:space-between;gap:18px;color:#8398a7;font-size:9px}@media(max-width:1000px){.head nav{display:none}.hero-inner{grid-template-columns:1fr}.hero-logo{display:none}.editorial-grid{grid-template-columns:1fr}.card-grid,.logo-grid,.source-grid{grid-template-columns:repeat(2,1fr)}.laws-grid{grid-template-columns:1fr}.issue-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.wrap{width:calc(100% - 24px)}.utility{display:none}.head{min-height:70px;grid-template-columns:1fr auto}.brand img{width:48px;height:48px}.brand small{display:none}.hero-inner{min-height:480px;padding:46px 0}.hero-copy h1{font-size:44px}.stats-grid{grid-template-columns:repeat(2,1fr)}.section{padding:52px 0}.side-list .article-card{grid-template-columns:1fr}.card-grid,.logo-grid,.source-grid,.issue-grid,.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}}


/* =========================================================
   AODA 0.2.1 — Hero convergence + verified group marks
   ========================================================= */
.hero-home{min-height:0;background:#081c2c}
.hero-home .hero-bg{opacity:.34;filter:saturate(.75) contrast(1.08)}
.hero-home .hero-overlay{
  background:
    linear-gradient(270deg,rgba(8,28,44,.98) 0%,rgba(8,28,44,.93) 48%,rgba(8,28,44,.73) 100%),
    radial-gradient(circle at 18% 35%,rgba(197,154,80,.16),transparent 34%);
}
.ltr .hero-home .hero-overlay{
  background:
    linear-gradient(90deg,rgba(8,28,44,.98) 0%,rgba(8,28,44,.93) 48%,rgba(8,28,44,.73) 100%),
    radial-gradient(circle at 82% 35%,rgba(197,154,80,.16),transparent 34%);
}
.hero-home .hero-inner{
  min-height:520px;
  grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr);
  gap:64px;
  padding:64px 0;
}
.hero-home .hero-copy{max-width:760px}
.hero-home .hero-copy h1{
  max-width:760px;
  margin:18px 0 17px;
  font-size:clamp(48px,5.4vw,74px);
  letter-spacing:-.045em;
}
.hero-home .hero-copy h1 span{color:#f2e6d1}
.hero-home .hero-copy p{max-width:720px;font-size:15px;line-height:2;color:#d3e0e8}
.hero-home .eyebrow{background:rgba(197,154,80,.08);letter-spacing:.02em}
.hero-trust{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.hero-trust span{
  padding:5px 9px;border:1px solid rgba(255,255,255,.15);border-radius:999px;
  color:#becdd7;background:rgba(255,255,255,.035);font-size:10px;font-weight:800
}
.hero-brief{
  position:relative;
  overflow:hidden;
  background:rgba(255,253,248,.96);
  border:1px solid rgba(216,200,175,.78);
  border-radius:22px;
  padding:24px;
  color:#172c3c;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}
.hero-brief:before{
  content:"";position:absolute;inset:0 0 auto 0;height:4px;
  background:linear-gradient(90deg,#c59a50,#bd3340)
}
.brief-label{font-size:9px;letter-spacing:.09em;font-weight:900;color:#8a661f;text-transform:uppercase}
.brief-date{margin-top:8px;color:#7b8992;font-size:10px}
.hero-brief h2{margin:8px 0 10px;color:#081c2c;font-size:24px;line-height:1.42}
.hero-brief p{margin:0;color:#596d7a;font-size:11px;line-height:1.8}
.brief-source{
  display:flex;align-items:center;gap:8px;margin-top:17px;padding-top:14px;
  border-top:1px solid #e9e0d2;font-size:10px
}
.brief-source .pulse{width:7px;height:7px;border-radius:50%;background:#326a58;box-shadow:0 0 0 4px rgba(50,106,88,.10)}
.brief-source strong{color:#334d60}
.brief-source a{margin-inline-start:auto;font-weight:900;color:#081c2c}
.brief-links{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}
.brief-links a{background:#f4eee3;border:1px solid #e3d6c2;border-radius:12px;padding:11px;text-align:center}
.brief-links b{display:block;color:#081c2c;font-size:19px;line-height:1.1}
.brief-links span{display:block;margin-top:4px;color:#687985;font-size:8px}

.group-logo-card .logo-frame{
  height:150px;display:grid;place-items:center;padding:16px;background:#fff;border:1px solid #e9e0d2
}
.group-logo-card .group-mark{
  width:100%;height:100%;object-fit:contain;border-radius:8px;background:#fff
}
.group-logo-card .group-mark.is-photo{object-fit:cover;object-position:72% 68%}
.logo-grid .group-logo-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.logo-grid .group-logo-card:hover{transform:translateY(-3px);border-color:#c7ac7a;box-shadow:0 14px 32px rgba(8,28,44,.09)}

@media(max-width:1000px){
  .hero-home .hero-inner{grid-template-columns:1fr;gap:26px}
  .hero-brief{max-width:760px}
}
@media(max-width:680px){
  .hero-home .hero-inner{padding:44px 0}
  .hero-home .hero-copy h1{font-size:42px}
  .hero-brief{padding:19px;border-radius:17px}
  .hero-brief h2{font-size:20px}
  .brief-links{grid-template-columns:repeat(3,1fr)}
  .group-logo-card .logo-frame{height:170px}
}


/* =========================================================
   AODA 0.2.2 — Cairo + user-supplied visual archive
   ========================================================= */
html,body,button,input,textarea,select,
.site-header,.hero-home,.page-hero,.article-card,.law-card,.group-logo-card,.footer{
  font-family:'Cairo','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif !important;
}

body.rtl,html[dir="rtl"] body{
  font-weight:500;
}
.head nav a,.lang,.primary-btn,.secondary-btn,.status,.eyebrow,.kicker{
  font-family:'Cairo','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif !important;
}

.hero-home .hero-bg{
  object-position:center 48%;
  opacity:.28;
  filter:saturate(.55) contrast(1.08) brightness(.75);
}
.hero-home .hero-overlay{
  background:
    linear-gradient(270deg,rgba(8,28,44,.985) 0%,rgba(8,28,44,.94) 46%,rgba(8,28,44,.80) 72%,rgba(8,28,44,.68) 100%),
    radial-gradient(circle at 12% 50%,rgba(197,154,80,.10),transparent 36%);
}
.ltr .hero-home .hero-overlay{
  background:
    linear-gradient(90deg,rgba(8,28,44,.985) 0%,rgba(8,28,44,.94) 46%,rgba(8,28,44,.80) 72%,rgba(8,28,44,.68) 100%),
    radial-gradient(circle at 88% 50%,rgba(197,154,80,.10),transparent 36%);
}
.hero-home .hero-copy h1{
  font-weight:900;
}
.hero-home .hero-copy p{
  font-weight:500;
}
.article-card>img{
  object-position:center;
}
.logo-frame img{
  background:#fff;
}


/* =========================================================
   AODA 0.2.4 — Cairo lock + group-card layout repair
   ========================================================= */

/* Cairo lock.
   The high specificity and !important are intentional because WordPress
   blocks/plugins may inject their own typography rules after the theme. */
:root,
html,
body,
body.rtl,
body.ltr,
button,
input,
select,
textarea,
option,
a,
p,
span,
strong,
b,
small,
label,
h1,h2,h3,h4,h5,h6,
.site-header,
.site-header *,
.hero-home,
.hero-home *,
.page-hero,
.page-hero *,
.section,
.section *,
.footer,
.footer *{
  font-family:'Cairo','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif !important;
}

html[lang="ar"] body{
  font-family:'Cairo','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif !important;
}

/* Never let browser faux styling or inherited WordPress line-height
   wreck Arabic titles. */
.group-logo-card h3{
  font-family:'Cairo','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif !important;
  font-weight:800 !important;
  line-height:1.55 !important;
}

/* Groups section */
.logo-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:20px !important;
  align-items:stretch !important;
}

.group-logo-card{
  display:flex !important;
  flex-direction:column !important;
  min-width:0 !important;
  height:100% !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid #ddccb2 !important;
  border-radius:18px !important;
  box-shadow:0 8px 24px rgba(8,28,44,.045) !important;
}

.group-logo-card .logo-frame{
  width:100% !important;
  height:190px !important;
  min-height:190px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px !important;
  margin:0 !important;
  overflow:hidden !important;
  background:#fffdf8 !important;
  border:0 !important;
  border-bottom:1px solid #eee2cf !important;
  border-radius:0 !important;
}

.group-logo-card .logo-frame img,
.group-logo-card .group-mark{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:146px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:auto !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
}

.group-card-body{
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  padding:17px 18px 19px !important;
  min-width:0 !important;
}

.group-logo-card h3{
  position:static !important;
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  margin:0 0 8px !important;
  padding:0 !important;
  color:#081c2c !important;
  font-size:17px !important;
  text-align:start !important;
  white-space:normal !important;
  overflow:visible !important;
  word-break:normal !important;
}

.group-logo-card .group-status{
  display:block !important;
  margin-top:auto !important;
  color:#6b7a87 !important;
  font-size:10px !important;
  line-height:1.6 !important;
}

.group-directory-card .kicker{
  margin:0 0 6px !important;
}

.group-directory-card p{
  margin:0 0 14px !important;
  color:#586b78 !important;
  font-size:11px !important;
  line-height:1.8 !important;
}

.group-directory-card .card-foot{
  margin-top:auto !important;
}

/* Temporary monogram marks must not look like screenshots/cards nested in cards. */
.group-logo-card .logo-frame img[src*="adfl_logo"],
.group-logo-card .logo-frame img[src*="solidarity_logo"],
.group-logo-card .logo-frame img[src*="expat_logo"],
.group-logo-card .logo-frame img[src*="amwaluna_logo"],
.group-logo-card .logo-frame img[src*="mouttahidoun_logo"],
.group-logo-card .logo-frame img[src*="depositor_union_logo"]{
  max-width:138px !important;
  max-height:138px !important;
  border-radius:18px !important;
}

/* Keep real marks visually larger. */
.group-logo-card .logo-frame img[src*="sarkhat-official"],
.group-logo-card .logo-frame img[src*="association-depositors-lebanon"]{
  max-width:155px !important;
  max-height:155px !important;
}

/* Section heading spacing */
.section-head{
  margin-bottom:30px !important;
}
.section-head h2{
  line-height:1.35 !important;
}
.section-head p{
  line-height:1.9 !important;
}

/* Responsive */
@media(max-width:1100px){
  .logo-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media(max-width:850px){
  .logo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:520px){
  .logo-grid{
    grid-template-columns:1fr !important;
  }
  .group-logo-card .logo-frame{
    height:210px !important;
  }
  .group-logo-card .logo-frame img,
  .group-logo-card .group-mark{
    max-height:165px !important;
  }
}


/* =========================================================
   AODA 0.2.6 — Cairo lock + editorial hero redesign
   ========================================================= */

/* HARD FONT LOCK */
html,
body,
body *,
button,
input,
textarea,
select,
option{
  font-family:'Cairo',sans-serif !important;
}
html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] body *{
  font-family:'Cairo',sans-serif !important;
}
html[lang="en"],
html[lang="en"] body,
html[lang="en"] body *{
  font-family:'Cairo',sans-serif !important;
}

/* HERO */
.hero-v026{
  position:relative;
  min-height:610px;
  overflow:hidden;
  background:#071b2a;
}

.hero-v026 .hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 44%;
  opacity:.34;
  filter:saturate(.55) contrast(1.08) brightness(.75);
}

.hero-v026 .hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(270deg,
      rgba(7,27,42,.99) 0%,
      rgba(7,27,42,.96) 37%,
      rgba(7,27,42,.84) 62%,
      rgba(7,27,42,.58) 100%
    );
}
.ltr .hero-v026 .hero-overlay{
  background:
    linear-gradient(90deg,
      rgba(7,27,42,.99) 0%,
      rgba(7,27,42,.96) 37%,
      rgba(7,27,42,.84) 62%,
      rgba(7,27,42,.58) 100%
    );
}

.hero-geometry{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.55;
  background:
    radial-gradient(circle at 78% 26%,transparent 0 92px,rgba(197,154,80,.15) 93px 94px,transparent 95px),
    radial-gradient(circle at 78% 26%,transparent 0 145px,rgba(197,154,80,.10) 146px 147px,transparent 148px);
}
.ltr .hero-geometry{
  transform:scaleX(-1);
}

.hero-editorial{
  position:relative;
  z-index:2;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:74px 0 120px;
}
.rtl .hero-editorial{justify-content:flex-start}
.ltr .hero-editorial{justify-content:flex-start}

.hero-message{
  width:min(760px,68vw);
  margin-inline-start:auto;
  color:#fff;
}
.ltr .hero-message{
  margin-inline-start:0;
  margin-inline-end:auto;
}

.hero-v026 .eyebrow{
  display:inline-flex;
  padding:7px 12px;
  border:1px solid rgba(197,154,80,.62);
  border-radius:999px;
  background:rgba(197,154,80,.08);
  color:#efcf95;
  font-size:11px;
  font-weight:800;
}

.hero-v026 h1{
  margin:20px 0 16px;
  color:#fff;
  font-size:clamp(48px,5.7vw,78px);
  font-weight:900;
  line-height:1.22;
  letter-spacing:-.035em;
  max-width:760px;
}
.hero-v026 h1 span{
  color:#f1dfbd;
}

.hero-deck{
  max-width:700px;
  margin:0;
  color:#d7e2e9;
  font-size:15px;
  font-weight:500;
  line-height:2;
}

.hero-v026 .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:27px;
}

.hero-v026 .primary-btn,
.hero-v026 .secondary-btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 17px;
  border-radius:11px;
  font-size:13px;
  font-weight:800;
}

.hero-proof{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-top:26px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
}
.hero-proof span{
  color:#aebfca;
  font-size:10px;
}
.hero-proof b{
  margin-inline-end:5px;
  color:#fff;
  font-size:16px;
  font-weight:800;
}

.hero-news-rail{
  position:absolute;
  inset:auto 0 0 0;
  z-index:3;
  border-top:1px solid rgba(255,255,255,.14);
  background:rgba(6,23,36,.90);
  backdrop-filter:blur(14px);
}

.hero-news-inner{
  min-height:90px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
}

.rail-label{
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  color:#e5c885;
  font-size:9px;
  font-weight:900;
  letter-spacing:.06em;
}
.rail-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#4aa17f;
  box-shadow:0 0 0 5px rgba(74,161,127,.11);
}

.rail-story{
  min-width:0;
  display:flex;
  align-items:center;
  gap:14px;
  border-inline-start:1px solid rgba(255,255,255,.12);
  padding-inline-start:20px;
}
.rail-story time{
  flex:0 0 auto;
  color:#8094a3;
  font-size:9px;
}
.rail-story strong{
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#f3f6f8;
  font-size:13px;
  font-weight:700;
}

.rail-source{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
  color:#afc0ca;
  font-size:10px;
}
.rail-source a{
  color:#fff;
  font-weight:800;
}

/* reduce redundant stat strip visual weight after hero */
.hero-v026 + .stats .stats-grid>div{
  padding:14px 18px;
}
.hero-v026 + .stats .stats strong{
  font-size:22px;
}

/* responsive */
@media(max-width:900px){
  .hero-v026{
    min-height:620px;
  }
  .hero-editorial{
    min-height:520px;
    padding:56px 0 135px;
  }
  .hero-message{
    width:min(760px,88vw);
  }
  .hero-v026 h1{
    font-size:clamp(44px,8vw,66px);
  }
  .hero-news-inner{
    grid-template-columns:1fr;
    gap:5px;
    padding:14px 0;
  }
  .rail-story{
    border-inline-start:0;
    padding-inline-start:0;
  }
  .rail-source{
    justify-content:space-between;
  }
}

@media(max-width:600px){
  .hero-v026{
    min-height:680px;
  }
  .hero-editorial{
    padding:44px 0 150px;
  }
  .hero-message{
    width:100%;
  }
  .hero-v026 h1{
    font-size:42px;
    line-height:1.3;
  }
  .hero-deck{
    font-size:13px;
  }
  .hero-proof{
    gap:11px 16px;
  }
  .hero-news-inner{
    min-height:120px;
  }
  .rail-story{
    display:block;
  }
  .rail-story time{
    display:block;
    margin-bottom:4px;
  }
  .rail-story strong{
    display:block;
    white-space:normal;
    line-height:1.6;
  }
}


/* =========================================================
   AODA 0.2.7 — compact institutional hero
   ========================================================= */

.hero-v027{
  position:relative;
  min-height:500px;
  overflow:hidden;
  background:#071b2a;
}

.hero-v027 .hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
  opacity:.22;
  filter:saturate(.55) contrast(1.1) brightness(.72);
}

.hero-v027 .hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(270deg,
      rgba(7,27,42,.995) 0%,
      rgba(7,27,42,.97) 48%,
      rgba(7,27,42,.80) 72%,
      rgba(7,27,42,.64) 100%
    );
}
.ltr .hero-v027 .hero-overlay{
  background:
    linear-gradient(90deg,
      rgba(7,27,42,.995) 0%,
      rgba(7,27,42,.97) 48%,
      rgba(7,27,42,.80) 72%,
      rgba(7,27,42,.64) 100%
    );
}

.hero-v027-grid{
  position:relative;
  z-index:2;
  min-height:410px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr);
  gap:72px;
  align-items:center;
  padding:56px 0 112px;
}

.hero-copy-v027{
  max-width:720px;
}

.hero-v027 .eyebrow{
  display:inline-flex;
  padding:6px 11px;
  border:1px solid rgba(197,154,80,.58);
  border-radius:999px;
  background:rgba(197,154,80,.07);
  color:#eacb8e;
  font-size:10px;
  font-weight:800;
}

.hero-copy-v027 h1{
  margin:18px 0 14px;
  max-width:700px;
  color:#fff;
  font-size:clamp(44px,4.6vw,66px);
  font-weight:900;
  line-height:1.18;
  letter-spacing:-.035em;
}

.hero-copy-v027 h1 span{
  color:#f0dfbf;
}

.hero-deck-v027{
  max-width:650px;
  margin:0;
  color:#d5e0e7;
  font-size:14px;
  font-weight:500;
  line-height:1.95;
}

.hero-actions-v027{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}

.hero-actions-v027 .primary-btn,
.hero-actions-v027 .secondary-btn{
  min-height:44px;
  padding:9px 15px;
  font-size:12px;
  font-weight:800;
  border-radius:10px;
}

/* right-side info panel */
.hero-side-v027{
  align-self:center;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.11);
  border-radius:20px;
  padding:22px;
  backdrop-filter:blur(8px);
}

.hero-side-label{
  margin-bottom:14px;
  color:#d9be84;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}

.hero-side-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
}

.hero-side-metrics a{
  min-width:0;
  padding:14px 10px;
  border-radius:13px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
  text-align:center;
}

.hero-side-metrics strong{
  display:block;
  color:#fff;
  font-size:26px;
  font-weight:900;
  line-height:1;
}

.hero-side-metrics span{
  display:block;
  margin-top:6px;
  color:#aebfca;
  font-size:9px;
  line-height:1.5;
}

.hero-side-note{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:15px;
  padding-top:13px;
  border-top:1px solid rgba(255,255,255,.10);
}

.hero-side-note span{
  color:#8398a7;
  font-size:9px;
}

/* rail is shallower */
.hero-v027 .hero-news-rail{
  position:absolute;
  inset:auto 0 0 0;
  z-index:3;
  min-height:72px;
  border-top:1px solid rgba(255,255,255,.12);
  background:rgba(5,22,35,.91);
  backdrop-filter:blur(12px);
}

.hero-v027 .hero-news-inner{
  min-height:72px;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
}

.hero-v027 .rail-story strong{
  font-size:12px;
}

.hero-v027 + .stats{
  border-top:0;
}
.hero-v027 + .stats .stats-grid>div{
  padding:12px 16px;
}
.hero-v027 + .stats .stats strong{
  font-size:20px;
}

/* Arabic composition */
html[dir="rtl"] .hero-copy-v027{
  text-align:right;
}
html[dir="rtl"] .hero-side-v027{
  text-align:right;
}

/* responsive */
@media(max-width:1000px){
  .hero-v027{
    min-height:560px;
  }
  .hero-v027-grid{
    grid-template-columns:1fr;
    gap:28px;
    padding:48px 0 120px;
  }
  .hero-copy-v027{
    max-width:760px;
  }
  .hero-side-v027{
    max-width:760px;
  }
}

@media(max-width:700px){
  .hero-v027{
    min-height:650px;
  }
  .hero-v027-grid{
    padding:42px 0 150px;
  }
  .hero-copy-v027 h1{
    font-size:41px;
    line-height:1.25;
  }
  .hero-deck-v027{
    font-size:13px;
  }
  .hero-side-metrics{
    grid-template-columns:repeat(3,1fr);
  }
  .hero-side-v027{
    padding:17px;
  }
  .hero-v027 .hero-news-inner{
    grid-template-columns:1fr;
    min-height:112px;
    gap:4px;
    padding:11px 0;
  }
  .hero-v027 .rail-story{
    border-inline-start:0;
    padding-inline-start:0;
  }
  .hero-v027 .rail-source{
    justify-content:space-between;
  }
}


/* =========================================================
   AODA 0.2.8 — social media utility menu
   ========================================================= */
.utility .utility-row{
  min-height:36px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:18px;
}

.utility-brand{
  justify-self:start;
  white-space:nowrap;
}

.utility-sections{
  justify-self:end;
  white-space:nowrap;
}

.social-menu{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:7px;
  direction:ltr;
}

.social-handle{
  margin-inline-end:3px;
  color:#d6e1e8;
  font-size:10px;
  font-weight:700;
  letter-spacing:.02em;
}

.social-link{
  width:25px;
  height:25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  color:#e9f0f4;
  background:rgba(255,255,255,.035);
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}

.social-link svg{
  width:13px;
  height:13px;
  display:block;
  fill:currentColor;
}

.social-link:hover,
.social-link:focus-visible{
  color:#fff;
  background:rgba(197,154,80,.18);
  border-color:rgba(197,154,80,.68);
  transform:translateY(-1px);
  outline:none;
}

/* Tablet: keep social links, reduce utility copy */
@media(max-width:900px){
  .utility .utility-row{
    grid-template-columns:1fr auto;
  }
  .utility-sections{
    display:none;
  }
  .social-menu{
    justify-self:end;
  }
}

/* Mobile: keep the social strip visible instead of hiding the utility bar */
@media(max-width:680px){
  .utility{
    display:block !important;
  }
  .utility .utility-row{
    min-height:34px;
    grid-template-columns:1fr auto;
    gap:8px;
  }
  .utility-brand{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:9px;
  }
  .social-handle{
    display:none;
  }
  .social-menu{
    gap:5px;
  }
  .social-link{
    width:24px;
    height:24px;
  }
}
