/* ============================================================
   ESUDO 2026 — header decoration, hero story slider, 8:4 grid
   Loaded after style.css; only additions and overrides here.
   ============================================================ */

/* ---------- TOPBAR ---------- */
.topbar{background:linear-gradient(100deg,var(--blue2) 0%,#0d2f61 55%,#123f7d 100%);color:#dce8fa;font-size:12.5px;border-bottom:1px solid rgba(255,255,255,.08)}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0;min-height:44px;flex-wrap:wrap}
.tb-contacts{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tb-item{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;font-weight:600;letter-spacing:.2px;color:#e6efff;transition:background .18s ease,color .18s ease}
.tb-item:hover{background:rgba(255,255,255,.12);color:#fff}
.tb-ico{width:14px;height:14px;fill:var(--gold);flex:0 0 14px}
.tb-right{display:flex;align-items:center;gap:14px}
.tb-short{display:none}
.tb-tag{color:#9fc0ea;letter-spacing:1.4px;text-transform:uppercase;font-size:10.5px;font-weight:700}

/* ---------- SOCIAL ICONS ---------- */
.social{display:inline-flex;align-items:center;gap:7px}
.s-ico{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);transition:transform .18s ease,background .18s ease,border-color .18s ease}
.s-ico svg{width:15px;height:15px;fill:#e9f1ff;transition:fill .18s ease}
.s-ico:hover{transform:translateY(-2px)}
.s-ico.s-facebook:hover{background:#1877f2;border-color:#1877f2}
.s-ico.s-x:hover{background:#000;border-color:#000}
.s-ico.s-instagram:hover{background:linear-gradient(45deg,#f09433,#dc2743,#bc1888);border-color:#dc2743}
.s-ico.s-tiktok:hover{background:#000;border-color:#25f4ee}
.s-ico.s-youtube:hover{background:#ff0000;border-color:#ff0000}
.s-ico.s-whatsapp:hover{background:#25d366;border-color:#25d366}
.s-ico.s-linkedin:hover{background:#0a66c2;border-color:#0a66c2}
.s-ico:hover svg{fill:#fff}
.social-sm .s-ico{width:27px;height:27px;border-radius:8px}
.social-sm .s-ico svg{width:13px;height:13px}
.social-footer{margin-top:18px}
.social-footer .s-ico{width:36px;height:36px;border-radius:11px;background:rgba(255,255,255,.07)}
.social-footer .s-ico svg{width:17px;height:17px}

/* ---------- HEADER ---------- */
.header{box-shadow:0 2px 18px rgba(12,42,88,.06)}
.brand-mark{display:flex;flex-direction:column;align-items:center;gap:2px;flex:0 0 auto}
.brand-mark b{color:var(--blue);line-height:1;letter-spacing:.3px}
.brand-text{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:1px}
.brand small.bn{display:block;line-height:1.2;color:var(--muted);white-space:normal}
.bn-ta{font-family:"Noto Sans Tamil",Manrope,Arial,sans-serif}
.bn-si{font-family:"Noto Sans Sinhala",Manrope,Arial,sans-serif}
.nav nav a{position:relative;padding:6px 0}
.nav nav a:not(.nav-cta):after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--gold),var(--blue));transition:right .25s ease}
.nav nav a:not(.nav-cta):hover:after,.nav nav a.is-active:after{right:0}
.nav nav a.is-active{color:var(--blue)}

/* ---------- HERO STORY SLIDER ---------- */
.hero-slider{position:relative;height:clamp(460px,72vh,660px);overflow:hidden;background:var(--blue2)}
.hs-track{position:absolute;inset:0}
.hs-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility .8s ease;display:flex;align-items:center}
.hs-slide.is-active{opacity:1;visibility:visible}
.hs-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.06);transition:transform 7.5s linear}
.hs-slide.is-active .hs-bg{transform:scale(1)}
.hs-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,56,.93) 0%,rgba(7,26,56,.78) 42%,rgba(7,26,56,.30) 75%,rgba(7,26,56,.15) 100%)}
.hs-shade.solid{background:radial-gradient(circle at 80% 12%,rgba(214,173,69,.22),transparent 40%),linear-gradient(135deg,var(--blue2),var(--blue))}
.hs-copy{position:relative;z-index:3;color:#fff;max-width:760px;opacity:0;transform:translateY(26px);transition:opacity .7s ease .25s,transform .7s ease .25s}
.hs-slide.is-active .hs-copy{opacity:1;transform:none}
.hs-label{display:inline-block;text-transform:uppercase;letter-spacing:2.4px;font-size:11.5px;font-weight:800;color:#f4d77f;padding:7px 14px;border:1px solid rgba(244,215,127,.4);border-radius:999px;background:rgba(244,215,127,.08);margin-bottom:18px}
.hero-slider h1{font-size:clamp(36px,5vw,66px);line-height:1.05;margin:0 0 18px;letter-spacing:-.5px}
.hs-h2{font-size:clamp(30px,4vw,50px);line-height:1.1;margin:0 0 26px}
.hero-slider p{font-size:clamp(15px,1.6vw,18.5px);color:#d9e5f7;max-width:620px;margin:0}
.hs-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}

/* video slide */
.hs-copy-video{display:flex;align-items:center;gap:40px;max-width:1000px;flex-wrap:wrap}
.hs-play{display:inline-flex;flex-direction:column;align-items:center;gap:10px;background:transparent;border:0;color:#fff;font:inherit;font-weight:800;cursor:pointer;padding:0}
.hs-play svg{width:34px;height:34px;fill:var(--blue2);margin-left:5px}
.hs-play:before{content:"";position:absolute}
.hs-play>svg{background:#fff;border-radius:50%;padding:22px;box-sizing:content-box;box-shadow:0 0 0 0 rgba(255,255,255,.55);animation:hsPulse 2.4s infinite;transition:transform .2s ease}
.hs-play:hover>svg{transform:scale(1.07)}
@keyframes hsPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.5)}70%{box-shadow:0 0 0 26px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.hs-play span{font-size:13px;letter-spacing:1.4px;text-transform:uppercase}

/* cards slide */
.hs-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1100px}
.hs-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:22px 20px;backdrop-filter:blur(6px);transition:transform .22s ease,background .22s ease,border-color .22s ease}
.hs-card:hover{transform:translateY(-6px);background:rgba(255,255,255,.15);border-color:rgba(244,215,127,.55)}
.hs-card b{display:block;font-size:16px;margin-bottom:8px;color:#fff}
.hs-card span{font-size:13.5px;color:#cbdcf3;line-height:1.5}
.hs-slide-cards{align-items:center}
.hs-slide-cards .hs-copy{max-width:100%}

/* controls */
.hs-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(7,26,56,.4);color:#fff;font-size:16px;cursor:pointer;display:grid;place-items:center;backdrop-filter:blur(6px);transition:background .2s ease,border-color .2s ease}
.hs-nav:hover{background:var(--gold);border-color:var(--gold);color:var(--blue2)}
.hs-prev{left:22px}.hs-next{right:22px}
.hs-dots{position:absolute;left:0;right:0;bottom:30px;z-index:6;display:flex;justify-content:center;gap:10px}
.hs-dot{width:34px;height:4px;border-radius:999px;border:0;padding:0;background:rgba(255,255,255,.34);cursor:pointer;transition:background .2s ease,width .2s ease}
.hs-dot.is-active{background:var(--gold);width:52px}
.hs-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.12);z-index:6}
.hs-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--gold),#f3d47c)}
.hs-progress i.run{animation:hsBar linear forwards}
@keyframes hsBar{from{width:0}to{width:100%}}

/* video modal */
.video-modal{position:fixed;inset:0;z-index:100;background:rgba(4,14,30,.93);display:grid;place-items:center;padding:20px}
.video-modal[hidden]{display:none!important}
.vm-frame{width:min(1000px,94vw);aspect-ratio:16/9;background:#000;border-radius:16px;overflow:hidden}
.vm-frame iframe,.vm-frame video{width:100%;height:100%;border:0;display:block}
.vm-close{position:absolute;top:22px;right:26px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.vm-close:hover{background:var(--gold);color:var(--blue2)}
.vm-msg{color:#cfe0f5;text-align:center;padding:40px;font-weight:600}

/* ---------- 8:4 LAYOUT ---------- */
.layout-84{display:grid;grid-template-columns:8fr 4fr;gap:30px;align-items:start}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.side-widget{background:#fff;border:1px solid #e6ecf4;border-radius:var(--radius);padding:24px;box-shadow:0 12px 35px rgba(20,50,90,.06);margin-bottom:22px}
.side-widget h4{margin:0 0 16px;font-size:15px;text-transform:uppercase;letter-spacing:1.3px;color:var(--blue);position:relative;padding-bottom:12px}
.side-widget h4:after{content:"";position:absolute;left:0;bottom:0;width:42px;height:3px;border-radius:2px;background:var(--gold)}
.popular-item{display:flex;gap:14px;align-items:flex-start;padding:13px 0;border-bottom:1px dashed #e4ebf4}
.popular-item:last-child{border-bottom:0}
.popular-num{flex:0 0 30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#edf4ff;color:var(--blue);font-weight:800;font-size:14px}
.popular-info b{display:block;font-size:14.5px;line-height:1.4;margin-bottom:3px}
.popular-info small{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.6px}
.popular-item:hover .popular-info b{color:var(--blue)}
.side-cta{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;border:0}
.side-cta h4{color:#f4d77f}.side-cta h4:after{background:#f4d77f}
.side-cta p{color:#d3e2f7;margin-bottom:18px}
.side-note{background:#fff8e8;border-color:#f0e0b8}
.side-note p{color:#6f5c22;margin:0}

/* focus cards */
.focus-card{padding:0;overflow:hidden}
.focus-card img{aspect-ratio:16/10;object-fit:cover;width:100%;transition:transform .5s ease}
.focus-card:hover img{transform:scale(1.05)}
.focus-body{padding:22px}
.focus-body h3{margin:12px 0 8px;font-size:19px}

/* complaint helpers */
.form-title{margin:6px 0 0;font-size:14px;text-transform:uppercase;letter-spacing:1.3px;color:var(--blue)}
.hint{font-weight:600;color:var(--muted);text-transform:none;letter-spacing:0}
.steps{list-style:none;counter-reset:s;margin:0;padding:0}
.steps li{counter-increment:s;position:relative;padding:0 0 18px 42px}
.steps li:before{content:counter(s);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px}
.steps li:not(:last-child):after{content:"";position:absolute;left:13.5px;top:30px;bottom:4px;width:1px;background:#dce6f2}
.steps b{display:block;font-size:14.5px}
.steps span{color:var(--muted);font-size:13.5px}
.f-contact a{display:inline-block;color:#cfe0f5}
.f-contact a:hover{color:var(--gold)}
footer .f-contact a{color:#ced9ea}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1000px){
  .hs-cards{grid-template-columns:repeat(2,1fr)}
  .layout-84{grid-template-columns:1fr}
}
@media(max-width:900px){
  .topbar-in{justify-content:center;text-align:center;padding:8px 0}
  .tb-tag{display:none}
  .hero-slider{height:auto;min-height:540px}
  .hs-slide{padding:70px 0}
  .hs-copy-video{gap:26px}
  .hs-nav{width:38px;height:38px}
  .hs-prev{left:10px}.hs-next{right:10px}
}
@media(max-width:600px){
  .grid-2{grid-template-columns:1fr}
  .hs-cards{grid-template-columns:1fr;gap:12px}
  .hs-card{padding:16px}
  .hero-slider{min-height:480px}
  .hs-dots{bottom:18px}
  .hs-nav{display:none}
}

/* social icon awaiting its URL — visible but inert */
.s-ico.is-pending{opacity:.5;cursor:default}
.s-ico.is-pending:hover{transform:none;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.14)}
.s-ico.is-pending:hover svg{fill:#e9f1ff}

/* nav CTA must never wrap or overflow its pill */
.nav-cta{white-space:nowrap}
@media(max-width:1150px){
  .nav nav{gap:16px;font-size:13.5px}
  .nav-cta{padding:10px 14px}
}
@media(max-width:980px){
}

/* ---------- BRAND MARK (transparent PNG emblem) ---------- */
.brand img{width:76px;height:76px;border-radius:0;object-fit:contain;background:transparent}
.nav{height:98px}
.brand b{font-size:26px;letter-spacing:-.3px}
.brand small.bn{max-width:none;white-space:nowrap;margin:0;font-size:11px}
.bn-ta,.bn-si{font-size:10.5px}
.brand-mark img{width:64px;height:64px}
.brand-mark b{font-size:20px}
.header .brand img{transition:transform .25s ease}
.header .brand:hover img{transform:scale(1.04)}
.footer-logo{width:110px;border-radius:0;background:transparent}
.sidebar .brand img{width:52px;height:52px;border-radius:0;object-fit:contain}
.hero-logo{background:transparent;box-shadow:none;padding:0}

/* ---------- SVG ICONS (replace unrenderable unicode glyphs) ---------- */
.icon{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,#edf4ff,#dce9fb);
      color:var(--blue);display:grid;place-items:center;margin-bottom:18px}
.ico-svg{width:27px;height:27px;display:block}
.svc-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#edf4ff;color:var(--blue)}
.svc-icon .ico-svg{width:22px;height:22px}
.icon-preview-bar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;background:#fff;border:1px solid #e6ecf4;
      border-radius:16px;padding:16px 20px;margin-top:18px}
.icon-chip{display:flex;flex-direction:column;align-items:center;gap:4px;width:74px;color:var(--blue)}
.icon-chip .ico-svg{width:24px;height:24px}
.icon-chip small{font-size:10.5px;color:var(--muted);text-align:center;line-height:1.2}

@media(max-width:900px){
  .brand img{width:62px;height:62px}
}
@media(max-width:600px){
}

/* ---------- HEADER CTA — the one gold element in the header ----------
   Solid brand gold with navy type (high contrast, no gradient wash),
   generous padding, grounded in a navy-tinted shadow rather than grey. */
.nav nav a.nav-cta{
  background:var(--gold);
  color:var(--blue2)!important;
  padding:14px 26px;
  border-radius:12px;
  font-weight:800;
  font-size:14.5px;
  letter-spacing:.2px;
  white-space:nowrap;
  box-shadow:0 6px 16px rgba(18,63,125,.18), inset 0 -2px 0 rgba(7,31,70,.14);
  transition:background .18s ease, transform .14s ease, box-shadow .18s ease;
  margin-left:8px;
}
.nav nav a.nav-cta:hover{
  background:#e5bf5c;
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(18,63,125,.26), inset 0 -2px 0 rgba(7,31,70,.14);
}
.nav nav a.nav-cta:active{
  transform:translateY(1px);
  box-shadow:0 3px 9px rgba(18,63,125,.2), inset 0 2px 4px rgba(7,31,70,.18);
}
.nav nav a.nav-cta:focus-visible{
  outline:3px solid rgba(18,63,125,.45);
  outline-offset:3px;
}
/* the CTA is a button, not a nav link — no underline sweep on it */
.nav nav a.nav-cta:after{content:none}

@media(max-width:1150px){ .nav nav a.nav-cta{padding:12px 20px;font-size:13.5px} }
@media(max-width:900px){
  .nav nav a.nav-cta{margin:14px 0 0;padding:15px 22px;text-align:center;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  .nav nav a.nav-cta,.nav nav a.nav-cta:hover,.nav nav a.nav-cta:active{transition:none;transform:none}
}

/* ---------- NAV TYPE SCALE ---------- */
.nav nav{gap:28px;font-size:16px;font-weight:700}
.nav nav a:not(.nav-cta){padding:8px 0}
.nav nav a.nav-cta{font-size:15.5px}
@media(max-width:1250px){ .nav nav{gap:20px;font-size:15px} .nav nav a.nav-cta{font-size:14.5px;padding:13px 22px} }
@media(max-width:1080px){ .nav nav{gap:16px;font-size:14px} }
@media(max-width:900px){ .nav nav{font-size:16px;gap:4px} }

/* ---------- ARTICLE TYPOGRAPHY ---------- */
.article{max-width:760px}
.article h1{font-size:clamp(32px,4vw,46px);line-height:1.12;margin:14px 0 6px;letter-spacing:-.4px}
.article-date{color:var(--muted);font-size:14px;margin:0 0 26px}
.article-media{border-radius:20px;overflow:hidden;margin:0 0 30px;width:100%}
.article-lead{font-size:20px;line-height:1.55;color:var(--ink);font-weight:600;
  border-left:3px solid var(--gold);padding-left:20px;margin:0 0 30px}
.article-body p{font-size:17.5px;line-height:1.75;color:#2b3a51;margin:0 0 22px;max-width:68ch}
.article-body p:first-child:first-letter{font-size:1.05em}
.article-related{margin-top:50px;padding-top:32px;border-top:1px solid #e4ebf4}
.article-related h3{font-size:16px;text-transform:uppercase;letter-spacing:1.3px;color:var(--blue);margin:0 0 20px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.related-card{display:block}
.related-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;margin-bottom:10px;
  transition:transform .35s ease}
.related-card:hover img{transform:scale(1.04)}
.related-card span{font-size:14.5px;font-weight:700;line-height:1.4;display:block}
.related-card:hover span{color:var(--blue)}

/* video modal placeholder message */
.vm-msg{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;height:100%;
  color:#e8f1fb;text-align:center;padding:40px}
.vm-msg b{font-size:21px;font-weight:800;color:#fff}
.vm-msg span{font-size:15px;color:#b9cde5;max-width:420px;line-height:1.6;font-weight:500}

@media(max-width:600px){
  .related-grid{grid-template-columns:1fr;gap:14px}
  .article-lead{font-size:18px;padding-left:15px}
  .article-body p{font-size:16.5px}
}

/* ---------- STACKING: keep slider chrome under the stats card ----------
   .hero-slider had no z-index, so its dots/progress (z-index 6) escaped into
   the root stacking context and painted over .stats (z-index 3). Giving the
   slider its own stacking context contains them, and the stats card sits above. */
.hero-slider{z-index:1}
.stats{position:relative;z-index:5}
.stats-grid{position:relative;z-index:5}

/* ============================================================
   MOBILE LAYOUT PASS — stats, type scale, menu
   ============================================================ */
@media(max-width:600px){

  /* --- stats: clean 2x2 with internal hairlines only.
     Labels were wrapping to three lines and the full-height
     dividers read as broken rules. --- */
  .stats{margin-top:-22px}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat{padding:16px 10px;border-right:1px solid #e8edf5;border-bottom:1px solid #e8edf5}
  .stat:nth-child(2n){border-right:0}
  .stat:nth-child(n+3){border-bottom:0}
  .stat b{font-size:25px;line-height:1.1;margin-bottom:3px}
  .stat span{display:block;font-size:12.5px;line-height:1.35;color:var(--muted)}

  /* --- type scale: the desktop sizes made the phone page ~12,000px
     long. Tighten headings, card titles and body copy. --- */
  .section{padding:52px 0}
  .section h2{font-size:27px;line-height:1.2}
  .section-head{margin-bottom:26px}
  .card h3,.post-card h3,.focus-body h3{font-size:18.5px;line-height:1.32;margin:10px 0 7px}
  .card p,.post-body p,.focus-body p{font-size:14.5px;line-height:1.55}
  .post-body,.focus-body{padding:18px}
  .card{padding:22px}
  .icon{width:50px;height:50px;border-radius:14px;margin-bottom:14px}
  .ico-svg{width:24px;height:24px}
  .side-widget{padding:20px}
  .popular-info b{font-size:14px}
  .cta{padding:26px}
  .cta h2{font-size:24px}
  .feature-panel{padding:28px}

  /* --- mobile menu: the active underline stretched the full panel
     width and read as a divider. Use a gold edge marker instead. --- */
  .nav nav{padding:14px 0 18px}
  .nav nav a:not(.nav-cta){padding:13px 16px;border-radius:9px}
  .nav nav a:not(.nav-cta):after{content:none}
  .nav nav a.is-active{color:var(--blue);background:#f2f7ff;box-shadow:inset 3px 0 0 var(--gold)}
  .nav nav a.nav-cta{margin:14px 16px 0}
}

/* ============================================================
   HIGHLIGHTED UNITY STORIES
   The site's priority content. Set on deep navy so it reads as a
   distinct chapter rather than another row of white cards, with the
   lead story given real size instead of a "featured" ribbon.
   ============================================================ */
.unity-section{background:linear-gradient(160deg,var(--blue2) 0%,#0c2c5c 55%,var(--blue) 100%);color:#fff;position:relative}
.unity-section:before{content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 88% 8%,rgba(214,173,69,.16),transparent 42%);pointer-events:none}
.unity-section .container{position:relative;z-index:2}
.unity-section h2{color:#fff}
.unity-section .muted{color:#bed2ec;max-width:62ch}

.unity-grid{display:grid;grid-template-columns:1.6fr 1fr;grid-template-rows:auto auto;gap:22px}
.unity-card{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.14);
  border-radius:20px;overflow:hidden;transition:border-color .25s ease,background .25s ease,transform .25s ease}
.unity-card:hover{background:rgba(255,255,255,.1);border-color:rgba(244,215,127,.5);transform:translateY(-3px)}
.unity-card a{display:flex;flex-direction:column;height:100%}
.unity-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.unity-body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:9px;flex:1}
.unity-tag{align-self:flex-start;font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;
  color:var(--blue2);background:var(--gold);padding:5px 11px;border-radius:999px}
.unity-card h3{margin:0;font-size:20px;line-height:1.3;color:#fff}
.unity-card p{margin:0;color:#c3d5ec;font-size:14.5px;line-height:1.6}
.unity-more{margin-top:auto;padding-top:6px;font-weight:800;font-size:13.5px;color:#f4d77f}
.unity-card:hover .unity-more{color:#fff}

/* the lead story spans both rows and gets a bigger frame */
.unity-lead{grid-row:1 / span 2}
.unity-lead img{aspect-ratio:4/3}
.unity-lead h3{font-size:27px;line-height:1.22}
.unity-lead p{font-size:15.5px}
.unity-lead .unity-body{padding:26px 28px 30px}
/* the two stacked cards run image-left so they stay compact */
.unity-grid .unity-card:not(.unity-lead) a{flex-direction:row}
.unity-grid .unity-card:not(.unity-lead) img{width:132px;aspect-ratio:1;flex:0 0 132px;height:100%}
.unity-grid .unity-card:not(.unity-lead) .unity-body{padding:18px 20px}
.unity-grid .unity-card:not(.unity-lead) h3{font-size:17px}
.unity-grid .unity-card:not(.unity-lead) p{font-size:13.5px}

.focus-card a{display:block;color:inherit}

@media(max-width:900px){
  .unity-grid{grid-template-columns:1fr;grid-template-rows:none}
  .unity-lead{grid-row:auto}
  .unity-lead img{aspect-ratio:16/9}
  .unity-lead h3{font-size:23px}
}
@media(max-width:600px){
  .unity-lead h3{font-size:21px}
  .unity-lead .unity-body{padding:20px}
  .unity-grid .unity-card:not(.unity-lead) a{flex-direction:column}
  .unity-grid .unity-card:not(.unity-lead) img{width:100%;flex:none;aspect-ratio:16/9;height:auto}
  .unity-grid .unity-card:not(.unity-lead) .unity-body{padding:18px}
  .unity-grid .unity-card:not(.unity-lead) h3{font-size:18px}
}

/* admin: highlight switch + row marker */
.switch{display:flex;align-items:flex-start;gap:9px;font-weight:600;font-size:13px;color:var(--muted);margin:0}
.switch input{width:auto;margin-top:2px;flex:0 0 auto}
.row-featured{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;
  background:var(--gold);color:var(--blue2);padding:3px 8px;border-radius:999px;margin-left:8px}

/* side cards stretch to match the lead's height, which stranded the
   "Read the story" link at the bottom of a tall empty box */
.unity-grid .unity-card:not(.unity-lead) .unity-body{justify-content:flex-start}
.unity-grid .unity-card:not(.unity-lead) .unity-more{margin-top:10px}

/* ============================================================
   MOBILE HEADER — single source of truth (<=600px)
   Most visitors arrive on a phone, so this is the primary design.
   Rules:
     · ONE row: phone + phone + email + social icons
     · the topbar must stay SHORTER than the nav below it
     · the organisation's full name stays visible next to ESUDO
   ============================================================ */
@media(max-width:600px){

  /* ---------- TOPBAR : one row, everything on it ----------
     Two full international numbers + a full email + four icons do not fit
     a 320-430px row, so the numbers switch to their local short form
     (the tel: link keeps the full number) and the social block is pinned
     to its content width instead of being allowed to grow. ---------- */
  .topbar{display:block;border-bottom:0}
  .topbar .topbar-in{
    display:flex;align-items:stretch;flex-wrap:nowrap;
    width:100%;padding:0;min-height:0;gap:0;
  }
  .topbar .tb-contacts{display:contents}

  .topbar .tb-item{
    flex:1 1 auto;min-width:0;
    display:flex;align-items:center;justify-content:center;gap:3px;
    min-height:36px;padding:0 5px;margin:0;border-radius:0;
    font-size:10px;font-weight:700;letter-spacing:0;white-space:nowrap;
    color:#f4d77f;
  }
  .topbar .tb-full{display:none}
  .topbar .tb-short{display:inline}
  .topbar .tb-item:nth-child(3){color:#dbe8fa;font-weight:600;flex:1 1 auto}
  .topbar .tb-item .tb-ico{width:10px;height:10px;flex:0 0 10px;fill:#f4d77f}
  .topbar .tb-item:nth-child(3) .tb-ico{fill:#9fc0ea}
  .topbar .tb-item:active{background:rgba(244,215,127,.14)}
  .topbar .tb-item:not(:last-of-type){border-right:1px solid rgba(255,255,255,.13)}

  /* social closes the row at its natural width — never grows */
  .topbar .tb-right{
    flex:0 0 auto;width:auto;
    display:flex;align-items:center;justify-content:flex-end;
    margin:0;padding:0 5px;min-height:36px;
    border-left:1px solid rgba(255,255,255,.13);
  }
  .topbar .tb-tag{display:none}
  .topbar .social-sm{display:flex;gap:3px}
  .topbar .social-sm .s-ico{
    width:22px;height:22px;flex:0 0 22px;border-radius:6px;
    background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);
  }
  .topbar .social-sm .s-ico svg{width:11px;height:11px}
  .topbar .s-ico.is-pending{opacity:.75}

  /* ---------- NAV : taller than the topbar, name restored ---------- */
  .nav{height:auto;min-height:86px;padding:9px 0}
  .header .container.nav{width:100%;padding:0 10px}
  .brand{gap:8px;align-items:center;flex:1 1 auto;min-width:0}
  .brand-mark{gap:1px}
  .brand-mark img{width:44px;height:44px;flex:0 0 44px}
  .brand-mark b{font-size:13px;letter-spacing:.2px}
  .brand-text{flex:1 1 auto;min-width:0}
  .brand small.bn{
    display:block;max-width:none;white-space:nowrap;overflow:visible;
    line-height:1.32;color:var(--muted);margin:0;
  }
  /* One line each. Each string was measured at 10px (Tamil 319px,
     Sinhala 307px, English 249px); the divisors below convert the
     leftover width — viewport minus mark, gaps and menu button (~108px)
     — into the exact size that fits, capped so it never looks oversized.
     NOTE specificity: `.brand small.bn` is (0,2,0), so a bare `.bn-ta`
     would lose. These selectors must stay at (0,2,0) or higher. */
  .brand small.bn-ta{font-size:min(11px,calc((100vw - 122px) / 32.9))}
  .brand small.bn-si{font-size:min(11px,calc((100vw - 122px) / 31.6))}
  .brand small.bn-en{font-size:min(11px,calc((100vw - 122px) / 25.6));letter-spacing:.1px}
  .menu{font-size:27px;padding:6px 2px;line-height:1}

  /* the dropdown was pinned to a hard top:84px in style.css, which
     misaligns the moment the nav grows — anchor it to the nav instead */
  .nav nav{top:100%}
}

/* below ~420px the email address itself no longer fits beside two numbers
   and four icons, so it keeps its icon (still a mailto tap target) and
   drops the text rather than letting everything collide */
@media(max-width:420px){
  .topbar .tb-item{font-size:9.5px;padding:0 4px;gap:2px}
  .topbar .tb-item:nth-child(3){flex:0 0 auto;padding:0 8px}
  .topbar .tb-mail{display:none}
  .topbar .tb-item:nth-child(3) .tb-ico{width:12px;height:12px;flex:0 0 12px}
  .topbar .social-sm .s-ico{width:21px;height:21px;flex:0 0 21px}
  .topbar .social-sm .s-ico svg{width:11px;height:11px}
}
@media(max-width:345px){
  .topbar .tb-item{font-size:9px;padding:0 3px}
  .topbar .social-sm{gap:2px}
  .topbar .social-sm .s-ico{width:19px;height:19px;flex:0 0 19px}
  .topbar .social-sm .s-ico svg{width:10px;height:10px}
  .brand-mark img{width:40px;height:40px;flex:0 0 40px}
  .brand-mark b{font-size:12px}
}

/* ---------- PAGE HERO + CARD TEXT on phones ----------
   Long headings and unbroken strings were running outside the
   coloured band on About / Services. */
@media(max-width:600px){
  .page-hero{padding:34px 0 30px}
  .page-hero h1{font-size:29px;line-height:1.16;margin:6px 0 8px}
  .page-hero p{font-size:14.5px;line-height:1.55;margin:0}
  .page-hero .eyebrow{font-size:10.5px;letter-spacing:1.6px}
  .page-hero,.page-hero *{overflow-wrap:break-word;word-break:break-word}
  .card h3,.card p,.section h2,.article-body p{overflow-wrap:break-word}
  .grid-3 .card{padding:20px}
}

/* style.css pins .hero-logo to max-width:380px below 900px, which is wider
   than a 320-360px phone — it forced the About page grid column to 380px and
   pushed the body text off-screen. Never exceed the column. */
.hero-logo{max-width:min(380px,100%);height:auto}
/* grid/flex children default to min-width:auto and refuse to shrink */
.split>*,.layout-84>*,.grid-3>*,.grid-2>*{min-width:0}
