/* styles.css (FULL FILE) */
:root{
  --bg:#f2f2f2;
  --card:#ffffff;
  --ink:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;

  --blue:#1f5ea8;
  --nav:#ffffff;
  --help:#f3c430;
  --lang:#24a148;
  --shadow: 0 6px 18px rgba(17,24,39,.08);

  --radius: 12px;
  --radius2: 14px;
  --wrap: 1180px;

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--ink);
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:none}

.wrap{max-width:var(--wrap); margin:0 auto; padding:0 18px}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:#eeeede;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.topbarInner{
  height:40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.topbarText{
  font-size:13px;
  color:#111827;
  opacity:.9;
}
.topbarRight{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#111827;
  opacity:.75;
}
.topbarDot{
  width:8px;height:8px;border-radius:999px;background:#d14343;
  box-shadow:0 0 0 4px rgba(209,67,67,.16);
}
.topbarMini{font-weight:700; letter-spacing:.08em; text-transform:uppercase}

/* Header */
.hdr{
  background:var(--nav);
  border-bottom:1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  z-index:40;
}
.hdrInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}
.brandMark{
  width:30px;height:30px;border-radius:8px;
  background: linear-gradient(135deg, rgba(31,94,168,.9), rgba(31,94,168,.15));
  border:1px solid rgba(31,94,168,.25);
}
.brandText{display:flex;flex-direction:column;line-height:1.1}
.brandName{font-weight:800; font-size:16px}
.brandTag{font-size:12px;color:var(--muted); margin-top:3px}

.hdrRight{
  display:flex;
  align-items:center;
  gap:12px;
}

.social{display:flex; align-items:center; gap:8px}
.iconBtn{
  width:34px;height:34px;border-radius:10px;
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  background:#fff;
}
.iconBtn svg{width:18px;height:18px; fill:#111827; opacity:.85}
.iconBtn:hover{box-shadow: 0 8px 22px rgba(17,24,39,.10)}

.navToggle{
  display:none;
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
}
.navToggleBars{
  display:block;
  width:18px; height:2px;
  background:#111827;
  margin:0 auto;
  position:relative;
}
.navToggleBars::before,
.navToggleBars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;height:2px;background:#111827;
}
.navToggleBars::before{top:-6px}
.navToggleBars::after{top:6px}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.navLink{
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  color:#111827;
  opacity:.9;
}
.navLink.active{font-weight:800}
.navLink:hover{background:#f3f4f6}

.navBtn{
  font-size:14px;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}
.navBtn:hover{box-shadow: 0 8px 22px rgba(17,24,39,.10)}

.navBtnHelp{
  border-color: rgba(243,196,48,.65);
  color:#7a5a00;
  background: rgba(243,196,48,.18);
  font-weight:800;
}
.navBtnLang{
  border-color: rgba(36,161,72,.55);
  color:#0f5a2a;
  background: rgba(36,161,72,.14);
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px;
}
.chev{width:18px;height:18px; fill:currentColor; opacity:.85}

.dropdown{position:relative}
.menu{
  position:absolute;
  right:0;
  top:44px;
  width:180px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow: var(--shadow);
  padding:6px;
  display:none;
  z-index:60;
}
.menu.open{display:block}
.menuItem{
  width:100%;
  text-align:left;
  padding:10px 10px;
  border-radius:10px;
  border:0;
  background:#fff;
  cursor:pointer;
  font-size:14px;
}
.menuItem:hover{background:#f3f4f6}

/* Layout */
.main{padding:18px 0 32px}

/* ========== ARTICLE PAGE LAYOUT (unchanged) ========== */
.layout{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:18px;
  align-items:start;
}

.content{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.articleMedia{
  border-bottom:1px solid var(--line);
}
.articleMedia img{
  width:100%;
  height:320px;
  object-fit:cover;
}

.articleMeta{
  padding:14px 18px 0 18px;
  font-size:13px;
  color:var(--muted);
}

.articleTitle{
  margin:10px 0 0 0;
  padding:0 18px;
  font-size:38px;
  line-height:1.05;
  letter-spacing:-.5px;
}

.articleBody{
  padding:10px 18px 18px 18px;
  color:#374151;
  line-height:1.65;
  font-size:15px;
}
.articleBody p{margin:12px 0}

.articleFigure{
  margin:24px 0;
}
.articleFigure img{
  width:100%;
  border-radius:12px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.articleFigure figcaption{
  margin-top:8px;
  font-size:13px;
  line-height:1.45;
  color:var(--muted);
  text-align:center;
}

.articleSubheading{
  margin:26px 0 10px 0;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.2px;
  color:#111827;
}

.articleQuote{
  margin:22px 0;
  padding:14px 16px;
  border-left:4px solid #1f5ea8;
  background:rgba(31,94,168,.06);
  border-radius:10px;
  color:#1f2937;
  font-style:italic;
}

/* Newsletter block */
.newsletter{
  margin:0 0 18px 0;
  border-radius: 12px;
  background: #3f6aa8;
  color:#fff;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 44px rgba(17,24,39,.10);
}
.newsletterLeft{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}
.nlThumb{
  width:56px;height:56px;
  border-radius:12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.nlTitle{font-weight:900;font-size:18px; line-height:1.1}
.nlSub{opacity:.85;font-size:13px;margin-top:4px}

.nlForm{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nlForm input{
  width:260px;
  max-width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.94);
  outline:none;
}
.nlForm input:focus{
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}
.nlForm button{
  padding:10px 14px;
  border-radius:10px;
  border:0;
  background:#0b0f18;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.nlForm button:hover{filter:brightness(1.06)}

/* Sidebar */
.sidebar{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.sideBox{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:12px;
}

.brandLogo{
  width:26px;
  height:26px;
  margin-right:10px;
  object-fit:contain;
}
.sideHead{
  padding:6px 8px 10px 8px;
}
.sideHead h2{
  margin:0;
  font-size:18px;
  letter-spacing:-.2px;
}

.sideList{display:flex; flex-direction:column; gap:10px}
.sideCard{
  border:1px solid var(--line);
  border-radius: 12px;
  padding:12px;
  background:#fff;
  box-shadow: 0 2px 0 rgba(0,0,0,.02);
}
.sideCard:hover{
  box-shadow: 0 12px 28px rgba(17,24,39,.10);
  border-color: rgba(31,94,168,.25);
}
.sideTitle{font-weight:800; font-size:14px; color:#111827; line-height:1.25}
.sideRead{margin-top:8px; font-size:12px; color: #2563eb; font-weight:700}

/* Ads */
.ads{display:flex; flex-direction:column; gap:10px; padding:2px 4px 6px 4px}
.ad{
  border:1px solid var(--line);
  border-radius: 12px;
  background:#fff;
  overflow:hidden;
}
.ad:hover{border-color: rgba(31,94,168,.25); box-shadow: 0 12px 28px rgba(17,24,39,.10)}
.adImg{
  height:92px;
  background: linear-gradient(135deg, rgba(31,94,168,.15), rgba(31,94,168,.02));
}
.adImg.alt{
  background: linear-gradient(135deg, rgba(17,24,39,.08), rgba(17,24,39,.02));
}
.adText{padding:10px 12px}
.adTitle{font-weight:900; font-size:13px}
.adSub{margin-top:4px; font-size:12px; color:var(--muted)}

.srOnly{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* ========== HOMEPAGE ========== */
.homeGrid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:18px;
  align-items:start;
}
.homeLeft{display:flex; flex-direction:column; gap:18px}
.homeRight{display:flex; flex-direction:column; gap:14px}

.kicker{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color:#1f5ea8;
  opacity:.95;
}
.homeH1{
  margin:8px 0 0 0;
  font-size:34px;
  line-height:1.05;
  letter-spacing:-.6px;
}

.slider{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.sliderHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px 10px 14px;
  border-bottom:1px solid var(--line);
  background: linear-gradient(180deg, rgba(31,94,168,.06), rgba(255,255,255,0));
}
.sliderControls{display:flex; gap:8px}
.sBtn{
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  line-height:0;
}
.sBtn:hover{box-shadow: 0 12px 28px rgba(17,24,39,.10)}

.sliderViewport{
  overflow:hidden;
}
.slides{
  display:flex;
  scroll-behavior:smooth;
  overflow:hidden;
}
.slide{
  min-width:100%;
  display:block;
  position:relative;
}
.slideMedia{
  position:relative;
  height:340px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.slideMedia img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.slideShade{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45));
}
.slideBody{
  position:absolute;
  left:0; right:0;
  bottom:0;
  padding:16px 16px 16px 16px;
  color:#fff;
}
.slideMeta{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  opacity:.95;
  flex-wrap:wrap;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  font-weight:800;
}
.metaDot{opacity:.8}
.slideTitle{
  margin-top:10px;
  font-size:24px;
  line-height:1.12;
  letter-spacing:-.4px;
  font-weight:900;
  text-shadow: 0 12px 24px rgba(0,0,0,.25);
}
.slideSub{
  margin-top:8px;
  font-size:14px;
  line-height:1.45;
  opacity:.92;
  max-width:72ch;
  text-shadow: 0 12px 24px rgba(0,0,0,.25);
}

.sliderFoot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-top:1px solid var(--line);
  background:#fff;
  flex-wrap:wrap;
}
.dots{display:flex; gap:8px; align-items:center}
.dot{
  width:10px;height:10px;border-radius:999px;
  border:1px solid rgba(17,24,39,.18);
  background:#fff;
  cursor:pointer;
}
.dot.on{
  width:22px;
  background: rgba(31,94,168,.18);
  border-color: rgba(31,94,168,.35);
}

.chips{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.chip{
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:8px 10px;
  font-size:13px;
  cursor:pointer;
  font-weight:700;
  color:#111827;
}
.chip:hover{box-shadow: 0 10px 24px rgba(17,24,39,.10)}
.chip.active{
  border-color: rgba(31,94,168,.35);
  background: rgba(31,94,168,.08);
  color:#0f2f55;
}

/* Latest */
.homeSection{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:12px;
}
.sectionBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 8px 10px 8px;
}
.sectionTitle{
  margin:0;
  font-size:18px;
  letter-spacing:-.2px;
}
.sectionLink{
  font-size:13px;
  font-weight:800;
  color:#1f5ea8;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(31,94,168,.20);
  background: rgba(31,94,168,.06);
}
.sectionLink:hover{box-shadow: 0 12px 28px rgba(17,24,39,.10)}

.cards{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  padding:2px 4px 6px 4px;
}
.card{
  border:1px solid var(--line);
  border-radius: 14px;
  background:#fff;
  overflow:hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,.02);
}
.card:hover{
  box-shadow: 0 12px 28px rgba(17,24,39,.10);
  border-color: rgba(31,94,168,.25);
}
.cardMedia{
  position:relative;
  height:160px;
  border-bottom:1px solid var(--line);
}
.cardMedia img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.cardBadge{
  position:absolute;
  left:10px;
  top:10px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(17,24,39,.65);
  color:#fff;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.cardBody{padding:12px}
.cardMeta{
  font-size:12px;
  color:rgba(17,24,39,.72);
  font-weight:700;
}
.cardTitle{
  margin-top:8px;
  font-size:15px;
  line-height:1.22;
  font-weight:900;
  letter-spacing:-.2px;
}
.cardSub{
  margin-top:8px;
  font-size:13px;
  color:#374151;
  line-height:1.45;
}

/* Updates */
.updates{display:flex; flex-direction:column; gap:10px; padding:2px 4px 6px 4px}
.update{
  border:1px solid var(--line);
  background:#fff;
  border-radius: 12px;
  padding:12px;
}
.update:hover{
  border-color: rgba(31,94,168,.25);
  box-shadow: 0 12px 28px rgba(17,24,39,.10);
}
.updateHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.updateTag{
  font-size:12px;
  font-weight:900;
  color:#0f2f55;
  background: rgba(31,94,168,.10);
  border:1px solid rgba(31,94,168,.18);
  padding:6px 10px;
  border-radius:999px;
}
.updateTime{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}
.updateText{
  margin-top:10px;
  font-size:13px;
  color:#374151;
  line-height:1.5;
}

/* ========== FOOTER ========== */
.footer{
  margin-top:18px;
  background:#0b0f18;
  color:#e5e7eb;
  border-top:1px solid rgba(255,255,255,.08);
}
.footerInner{
  padding:22px 0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footBrand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}
.footMark{
  width:34px;height:34px;border-radius:10px;
  background: linear-gradient(135deg, rgba(243,196,48,.22), rgba(31,94,168,.35));
  border:1px solid rgba(255,255,255,.12);
}
.footName{font-weight:900}
.footSub{margin-top:4px; font-size:13px; color:rgba(229,231,235,.78)}
.footCols{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.footCol{min-width:180px}
.footTitle{
  font-weight:900;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
  color:rgba(255,255,255,.90);
}
.footLink{
  display:block;
  padding:6px 0;
  font-size:14px;
  color:rgba(229,231,235,.88);
}
.footLink:hover{color:#fff}
.footText{
  font-size:14px;
  color:rgba(229,231,235,.82);
  padding:4px 0;
}
.footBottom{
  padding:14px 0 18px 0;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.muted{color:rgba(229,231,235,.70)}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:80;
}
.modal.open{display:block}
.modalBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
}
.modalCard{
  position:relative;
  width:min(720px, calc(100% - 24px));
  margin: 12vh auto 0 auto;
  background:#fff;
  border-radius: 16px;
  border:1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  overflow:hidden;
}
.modalHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.modalTitle{font-weight:900}
.modalClose{
  width:38px;height:38px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  line-height:0;
}
.modalBody{padding:14px 16px 16px 16px}
.modalRow{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.modalInput{
  flex:1;
  min-width:220px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  outline:none;
}
.modalInput:focus{
  border-color: rgba(31,94,168,.45);
  box-shadow: 0 0 0 4px rgba(31,94,168,.12);
}
.modalBtn{
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:800;
}
.modalBtn:hover{box-shadow: 0 10px 24px rgba(17,24,39,.10)}

.results{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.resultItem{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  background:#fff;
}
.resultItem:hover{border-color: rgba(31,94,168,.25); box-shadow: 0 12px 28px rgba(17,24,39,.10)}
.resultTitle{font-weight:900}
.resultSub{margin-top:6px; font-size:13px; color:var(--muted)}
.resultEmpty{color:var(--muted); font-size:13px; padding:8px 2px}

/* Responsive */
@media (max-width: 980px){
  .layout{grid-template-columns: 1fr}
  .homeGrid{grid-template-columns: 1fr}
  .social{display:none}
  .cards{grid-template-columns: 1fr}
  .slideMedia{height:300px}
}

@media (max-width: 860px){
  .navToggle{display:inline-flex; align-items:center; justify-content:center}
  .nav{
    position:absolute;
    right:18px;
    top:74px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow: var(--shadow);
    padding:10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    min-width:220px;
    z-index:70;
  }
  .nav.open{display:flex}
  .navLink,.navBtn{width:100%; text-align:left}
  .hdrInner{position:relative}
  .articleTitle{font-size:30px}
  .articleMedia img{height:260px}
  .newsletter{flex-direction:column; align-items:stretch}
  .nlForm{justify-content:flex-start}
  .nlForm input{width:100%}
  .homeH1{font-size:28px}
  .slideTitle{font-size:20px}
}