/* Global font: Jameel Noori Nastaleeq only */
@import url('https://fonts.cdnfonts.com/css/jameel-noori-nastaleeq');
:root {
  --font-ur: 'Jameel Noori Nastaleeq', 'Noori Nastaleeq', 'Jameel Noori Nastaliq', serif;
  --font-ui: 'Jameel Noori Nastaleeq', 'Noori Nastaleeq', 'Jameel Noori Nastaliq', serif;
}
html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6,
a, p, span, li, td, th, label, div, small, strong, em, table {
  font-family: 'Jameel Noori Nastaleeq', 'Noori Nastaleeq', 'Jameel Noori Nastaliq', serif !important;
}

/* =========================================================
   Surprise Digital — Professional News Theme
   ========================================================= */

:root {
  --primary: #0b1f4a;
  --primary-mid: #12306b;
  --accent: #1e88e5;
  --accent-dark: #1565c0;
  --danger: #c62828;
  --success: #2e7d32;
  --bg: #f3f5f8;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --shadow: 0 1px 3px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.04);
  --shadow-lg: 0 8px 30px rgba(15,23,42,.1);
  --radius: 10px;
  --font-ur: 'Jameel Noori Nastaleeq', 'Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
  --font-ui: 'Jameel Noori Nastaleeq', 'Noori Nastaleeq', serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Jameel Noori Nastaleeq', 'Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
}
a { color: inherit; text-decoration: none; transition: color .15s, background .15s; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-family: var(--font-ur);
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
#liveTime { color: #90caf9; font-weight: 600; }

/* ---------- Header ---------- */
.header {
  background: var(--paper);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img {
  height: 56px; width: auto; border-radius: 8px;
  object-fit: contain; background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.logo-text {
  font-size: 1.55rem; font-weight: 700; color: var(--primary);
  line-height: 1.3;
}
.search-wrap { flex: 1; max-width: 340px; min-width: 180px; }
.search-wrap form {
  display: flex; align-items: center;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 999px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.search-wrap form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,136,229,.12);
  background: #fff;
}
.search-wrap input {
  flex: 1; border: none; outline: none; background: transparent;
  padding: 10px 16px; font-family: var(--font-ur); font-size: 15px; color: var(--ink);
}
.search-wrap button {
  border: none; background: var(--accent); color: #fff;
  min-width: 56px; height: 36px; margin-left: 4px; margin-right: 4px;
  border-radius: 999px; cursor: pointer; font-size: 13px;
  font-family: var(--font-ur); font-weight: 600; padding: 0 12px;
}
.search-wrap button:hover { background: var(--accent-dark); }
.menu-toggle {
  display: none; border: none; background: var(--primary); color: #fff;
  width: 42px; height: 42px; border-radius: 10px; font-size: 1.25rem; cursor: pointer;
}

/* ---------- Nav ---------- */
.nav {
  background: var(--primary-mid);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.nav ul {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0;
}
.nav li a {
  display: block; padding: 12px 15px; color: rgba(255,255,255,.9);
  font-size: 16px; font-weight: 500; border-bottom: 3px solid transparent;
}
.nav li a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav li a.active {
  color: #fff; background: rgba(255,255,255,.1);
  border-bottom-color: #42a5f5;
}

/* ---------- Breaking ---------- */
.breaking-wrap {
  display: flex; align-items: stretch; background: linear-gradient(90deg, #b71c1c, #e53935);
  color: #fff; overflow: hidden; min-height: 40px;
}
.breaking-label {
  background: rgba(0,0,0,.25); padding: 8px 16px; font-weight: 700;
  font-size: 14px; font-family: var(--font-ur); flex-shrink: 0;
  display: flex; align-items: center; letter-spacing: .3px;
}
.breaking-track {
  display: inline-block; padding: 8px 0; white-space: nowrap;
  animation: ticker 32s linear infinite; font-size: 16px;
}
.breaking-track a { color: #fff; margin: 0 18px; opacity: .95; }
.breaking-track a:hover { text-decoration: underline; opacity: 1; }
@keyframes ticker {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.ad-banner { text-align: center; margin: 12px 0; }
.ad-banner img { margin: 0 auto; border-radius: 8px; max-width: 100%; box-shadow: var(--shadow); }

/* ---------- Main layout ---------- */
.main { padding: 20px 0 48px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

/* Section head */
.sec-head {
  display: flex; justify-content: space-between; align-items: center;
  margin: 8px 0 14px; padding: 0 2px 10px;
  border-bottom: 2px solid var(--primary);
}
.sec-title {
  font-size: 1.25rem; font-weight: 700; color: var(--primary);
  position: relative;
}
.sec-more {
  font-family: var(--font-ur); font-size: 13px; font-weight: 600;
  color: var(--accent);
}
.sec-more:hover { color: var(--accent-dark); }

/* Hero */
.hero-post {
  background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px;
  border: 1px solid var(--line);
}
.hero-img-wrap { display: block; position: relative; }
.hero-img { width: 100%; max-height: 400px; object-fit: cover; }
.hero-post-inner { padding: 18px 20px 22px; }
.hero-post-inner h1 {
  font-size: 1.65rem; line-height: 1.55; color: var(--ink); margin: 10px 0 8px;
}
.hero-post-inner h1 a:hover { color: var(--accent-dark); }
.hero-excerpt { color: var(--muted); font-size: 1rem; margin-top: 8px; }
.meta {
  font-family: var(--font-ur); font-size: 12.5px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center;
  background: #e3f2fd; color: var(--accent-dark);
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-ur); font-size: 11.5px; font-weight: 600;
}

/* List */
.list {
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.list-item {
  display: flex; gap: 14px; padding: 14px 16px;
  border-bottom: 1px solid var(--line); transition: background .15s;
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: #f8fafc; }
.list-thumb {
  width: 112px; height: 82px; flex-shrink: 0; border-radius: 8px;
  overflow: hidden; background: #e8eef5; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-body { min-width: 0; flex: 1; }
.list-body h3 { font-size: 1.05rem; line-height: 1.6; color: var(--ink); font-weight: 600; }
.list-item:hover .list-body h3 { color: var(--accent-dark); }
.list-excerpt { font-size: .9rem; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* Widgets */
.widget {
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  margin-bottom: 16px; overflow: hidden;
}
.widget-h {
  padding: 12px 16px; font-size: 1.05rem; font-weight: 700; color: var(--primary);
  background: linear-gradient(180deg, #f8fafc, #fff);
  border-bottom: 1px solid var(--line);
}
.widget-b { padding: 6px 0; }
.pop-item {
  display: flex; gap: 12px; padding: 11px 16px;
  border-bottom: 1px solid #f1f5f9; align-items: flex-start;
}
.pop-item:last-child { border-bottom: none; }
.pop-num {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-family: var(--font-ur); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pop-item h4 { font-size: .95rem; line-height: 1.55; font-weight: 600; }
.pop-item h4 a:hover { color: var(--accent-dark); }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff; padding: 28px 0; text-align: center;
}
.page-hero h1 { font-size: 1.75rem; margin-bottom: 6px; }
.page-hero p { opacity: .85; font-family: var(--font-ur); font-size: 13px; }

/* Article */
.post-full {
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px;
}
.post-title { font-size: 1.75rem; line-height: 1.5; color: var(--ink); margin: 12px 0 16px; }
.post-hero-img { border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.post-hero-img img { width: 100%; max-height: 440px; object-fit: cover; }
.post-lead {
  font-size: 1.1rem; color: #334155; border-right: 3px solid var(--accent);
  padding-right: 14px; margin-bottom: 18px;
}
.post-content { font-size: 1.05rem; line-height: 1.95; color: #1e293b; }
.post-content p { margin-bottom: 1em; }
.post-content img { border-radius: 10px; margin: 14px 0; }
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  margin-bottom: 20px; border-radius: 12px; overflow: hidden; background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-share {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 28px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--font-ur); font-size: 13px;
}
.share-btn {
  background: var(--bg); padding: 7px 14px; border-radius: 999px;
  font-weight: 600; color: var(--primary); border: 1px solid var(--line);
}
.share-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.comments-section { margin-top: 28px; }
.comments-section h2 { font-size: 1.25rem; color: var(--primary); margin-bottom: 14px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 8px; font-family: inherit; font-size: 15px; margin-bottom: 10px;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,136,229,.12);
}
.comment-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.comment-date { font-family: var(--font-ur); font-size: 12px; color: var(--muted); }

/* Footer */
.footer {
  background: var(--primary); color: rgba(255,255,255,.8);
  padding: 40px 0 18px; margin-top: 24px; font-size: 15px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px;
}
.footer h3, .footer h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 7px; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #90caf9; }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px;
  text-align: center; font-family: var(--font-ur); font-size: 12px; color: rgba(255,255,255,.5);
}
.social-links a {
  background: rgba(255,255,255,.1) !important; padding: 6px 12px !important;
  border-radius: 6px !important; font-family: var(--font-ur); font-size: 12px !important;
}
.social-links a:hover { background: rgba(255,255,255,.2) !important; }

/* Buttons */
.btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 8px; font-weight: 600; border: none; cursor: pointer;
  font-family: var(--font-ur); font-size: 13px;
}
.btn-primary, a.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff !important;
}
.btn-primary:hover { filter: brightness(1.05); }

/* E-paper cards */
.epaper-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: #f8fafc; border-radius: 10px; border: 1px solid var(--line); transition: .15s;
}
.epaper-card:hover { border-color: var(--accent); background: #e3f2fd; }
.epaper-dl {
  background: var(--primary); color: #fff; padding: 7px 12px; border-radius: 6px;
  font-family: var(--font-ur); font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* Forms generic */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: .95rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 8px; font-family: inherit; font-size: 15px; background: #fff;
}

/* Responsive */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .logo img { height: 44px; }
  .logo-text { font-size: 1.2rem; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .search-wrap { order: 3; max-width: none; width: 100%; }
  .nav ul { display: none; flex-direction: column; }
  .nav ul.open { display: flex; }
  .nav li a { border-bottom: 1px solid rgba(255,255,255,.08); padding: 13px 16px; }
  .hero-post-inner h1, .post-title { font-size: 1.3rem; }
  .post-full { padding: 16px; }
  .list-thumb { width: 88px; height: 66px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .breaking-label { font-size: 12px; padding: 6px 10px; }
}


/* ===== Icons & mobile menu (SVG, no emoji) ===== */
.search-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--accent);
  color: #fff;
  width: 40px;
  min-width: 40px;
  height: 36px;
  margin: 0 4px;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.search-btn:hover { background: var(--accent-dark); }
.search-btn svg { display: block; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-menu { display: none; }
.menu-toggle.is-open .icon-close { display: block; }

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8eef5, #dbe4f0);
  color: #7b8ba3;
}
.thumb-placeholder svg { opacity: .85; }

@media (max-width: 680px) {
  .header .container {
    flex-wrap: wrap;
    position: relative;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
  .search-wrap {
    order: 3;
    width: 100%;
    max-width: none;
  }
  .nav .container { padding: 0; }
  .nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-mid);
  }
  .nav ul.open {
    display: flex !important;
  }
  .nav li a {
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 14px 18px;
    text-align: right;
  }
}


/* Force hamburger visible on phones */
@media screen and (max-width: 680px) {
  button.menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  #navMenu { display: none; flex-direction: column; width: 100%; }
  #navMenu.open { display: flex !important; }
}


/* ===== Urdu spacing & layout fixes ===== */
body {
  line-height: 2.05 !important;
}
.list-body h3,
.hero-post-inner h1,
.post-title,
.pop-item h4 {
  line-height: 1.85 !important;
  padding-top: 0.15em;
  padding-bottom: 0.2em;
}
.list-item {
  align-items: flex-start;
  gap: 16px !important;
  padding: 18px 16px !important;
}
.list-body {
  padding-top: 2px;
}
.list-excerpt {
  line-height: 1.9 !important;
  margin-top: 8px !important;
}
.meta {
  margin-top: 8px !important;
  margin-bottom: 4px;
  gap: 10px !important;
  line-height: 1.6;
}
.badge {
  line-height: 1.4;
  padding: 4px 12px !important;
}
.sec-head {
  margin: 18px 0 16px !important;
  padding-bottom: 12px !important;
}
.hero-post-inner {
  padding: 20px 18px 24px !important;
}
.hero-excerpt {
  line-height: 1.95 !important;
  margin-top: 12px !important;
}
.pop-item {
  padding: 14px 16px !important;
  gap: 12px !important;
}
.pop-item h4 {
  margin: 0;
  padding-top: 2px;
}
.widget-h {
  padding: 14px 16px !important;
  line-height: 1.7;
}
.page-hero h1 {
  line-height: 1.8 !important;
  padding: 4px 0;
}

/* Mobile menu must work */
@media screen and (max-width: 900px) {
  button#menuBtn.menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    z-index: 220;
    position: relative;
  }
  nav.nav ul#navMenu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #12306b;
  }
  nav.nav ul#navMenu.open {
    display: flex !important;
  }
  nav.nav ul#navMenu li a {
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
    line-height: 1.7;
  }
  .list-item {
    padding: 16px 12px !important;
  }
  .list-body h3 {
    font-size: 1.05rem !important;
    line-height: 1.9 !important;
  }
  .list-thumb {
    width: 92px !important;
    height: 72px !important;
  }
}


/* ===== Navy header: logo center only ===== */
.header.header-navy {
  background: #0a1628;
  border-bottom: none;
  padding: 12px 0 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-navy .header-inner {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
  position: relative;
}
.header-navy .logo-center {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.header-navy .logo-center img {
  height: 70px;
  width: auto;
  max-width: min(280px, 70vw);
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.header-navy .logo-text { display: none !important; }
.header-navy .menu-toggle {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.header-navy .search-wrap {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  margin-top: 4px;
  z-index: 2;
}
.header-navy .search-wrap form {
  background: #fff;
  border: none;
}
@media (min-width: 681px) {
  .header-navy .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .header-navy .menu-toggle { display: none !important; }
  .header-navy .logo-center {
    grid-column: 2;
    grid-row: 1;
  }
  .header-navy .search-wrap {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    margin-top: 0;
    max-width: 280px;
  }
}

/* Social sidebar widgets */
.fb-box, .yt-box, .wa-box { overflow: hidden; }
.yt-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff !important;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 1rem;
}
.wa-btn:hover { filter: brightness(1.05); color: #fff !important; }
.fb-page-wrap {
  min-height: 120px;
  overflow: hidden;
}

/* =========================================================
   MOBILE MENU — final overrides (do not move)
   ========================================================= */
.header-navy .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 30;
}
.header-navy .menu-toggle .icon-close { display: none; }
.header-navy .menu-toggle.is-open .icon-menu { display: none; }
.header-navy .menu-toggle.is-open .icon-close { display: block; }

nav.nav ul#navMenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .header-navy .header-inner {
    display: grid !important;
    grid-template-columns: 48px 1fr 48px !important;
    align-items: center;
    gap: 8px;
  }
  .header-navy .menu-toggle {
    display: inline-flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .header-navy .logo-center {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: center;
    pointer-events: none;
  }
  .header-navy .logo-center img {
    pointer-events: auto;
    height: 56px !important;
  }
  .header-navy .search-wrap {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-self: stretch !important;
    margin-top: 6px !important;
  }

  nav.nav {
    position: relative;
    z-index: 50;
  }
  nav.nav .container {
    padding: 0 !important;
  }
  nav.nav ul#navMenu {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #0a1628 !important;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  nav.nav ul#navMenu.open {
    display: flex !important;
  }
  nav.nav ul#navMenu li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  nav.nav ul#navMenu li a {
    display: block !important;
    padding: 14px 18px !important;
    color: #fff !important;
    font-size: 1.05rem;
    line-height: 1.7;
  }
  nav.nav ul#navMenu li a.active {
    background: #1e88e5 !important;
  }
}

@media screen and (min-width: 769px) {
  .header-navy .menu-toggle {
    display: none !important;
  }
  nav.nav ul#navMenu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* ===== Logo-only blue header bar ===== */
.header.header-navy {
  background: #002D72 !important;
  border-bottom: none;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-navy .header-inner {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 72px;
  grid-template-columns: none !important;
}
.header-navy .logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  grid-column: auto !important;
  grid-row: auto !important;
  pointer-events: auto;
}
.header-navy .logo-center img {
  height: 64px;
  width: auto;
  max-width: min(260px, 72vw);
  object-fit: contain;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.header-navy .logo-text,
.header-navy .search-wrap {
  display: none !important;
}
.header-navy .menu-toggle {
  position: absolute;
  right: 0; /* physical left in RTL? use inset-inline-start */
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 5;
  grid-column: auto !important;
  grid-row: auto !important;
}
@media screen and (max-width: 768px) {
  .header-navy .menu-toggle {
    display: inline-flex !important;
  }
  .header-navy .logo-center img {
    height: 52px !important;
  }
  .header-navy .header-inner {
    min-height: 60px;
  }
}
@media screen and (min-width: 769px) {
  .header-navy .menu-toggle {
    display: none !important;
  }
}

/* Social sidebar polish */
.widget-hint {
  padding: 14px 10px;
  color: #64748b;
  font-size: .9rem;
  text-align: center;
  line-height: 1.7;
}
.fb-page-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f2f5;
  min-height: 200px;
}
.fb-page-wrap iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
}
.ig-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
  color: #fff !important;
  text-decoration: none !important;
}
.ig-profile-card:hover { filter: brightness(1.05); color: #fff !important; }
.ig-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ig-profile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ig-profile-text strong { font-size: 1.05rem; }
.ig-profile-text span {
  font-size: .85rem;
  opacity: .95;
  font-family: 'Jameel Noori Nastaleeq', 'Noori Nastaleeq', serif;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yt-short-wrap { margin-top: 12px; }
.yt-short-label {
  font-size: .85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  text-align: center;
}
.yt-short-embed {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding-bottom: 177%; /* 9:16 shorts */
  height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.yt-short-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ===== Social sidebar cards (fixed layout) ===== */
.social-pad { padding: 12px !important; }
.social-widget .widget-h { text-align: center; }
.fb-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f2f5;
  line-height: 0;
}
.fb-frame iframe { width: 100% !important; max-width: 100%; }
.ig-card, .yt-card, .x-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #fff !important;
  text-decoration: none !important;
  margin-bottom: 10px;
}
.ig-card {
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 80%, #515bd4);
}
.yt-card { background: #c62828; }
.x-card { background: #0f1419; }
.ig-card-icon, .yt-card-icon, .x-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ig-card-meta, .yt-card-meta, .x-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: right;
}
.ig-card-meta strong, .yt-card-meta strong, .x-card-meta strong {
  font-size: 1.05rem;
  color: #fff;
}
.ig-card-meta span, .yt-card-meta span, .x-card-meta span {
  font-size: .88rem;
  opacity: .95;
  direction: ltr;
  unicode-bidi: isolate;
}
.social-link-btn {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
}
.social-link-btn.fb { background: #e7f0ff; color: #1877f2 !important; }
.social-link-btn.ig { background: #fce7f3; color: #9d174d !important; }
.social-link-btn.yt { background: #fee2e2; color: #b91c1c !important; }
.wa-btn {
  display: flex !important;
  width: 100%;
  box-sizing: border-box;
}

/* Facebook / Instagram feed frames — no clipping */
.fb-widget .social-pad,
.ig-widget .social-pad {
  padding: 10px !important;
  overflow: visible !important;
}
.fb-frame {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: visible !important;
  background: #fff;
  border: 1px solid #e4e6eb;
  /* Facebook plugin needs room so share/follow aren't clipped */
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.fb-frame iframe {
  display: block !important;
  width: 100% !important;
  max-width: 340px;
  height: 560px !important;
  margin: 0 auto;
  border: 0 !important;
  overflow: visible !important;
}
.ig-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #efefef;
  min-height: 480px;
}
.ig-frame iframe {
  display: block;
  width: 100% !important;
  height: 560px !important;
  border: 0;
}
/* Sidebar wide enough for FB plugin */
.layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px) !important;
}
@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr !important;
  }
  .fb-frame iframe {
    max-width: 100%;
  }
}

/* Scrollable social feeds */
.fb-scroll, .ig-scroll {
  width: 100%;
  max-height: 560px;
  overflow-x: auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e4e6eb;
  background: #fff;
  text-align: center;
}
.fb-scroll iframe, .ig-scroll iframe {
  display: inline-block;
  vertical-align: top;
}
.yt-playlist-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.yt-playlist-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-help {
  font-size: .82rem;
  color: #64748b;
  text-align: center;
  margin: 8px 0 4px;
  line-height: 1.6;
}

/* ===== Bigger Urdu text site-wide ===== */
html, body {
  font-size: 20px !important;
  line-height: 2.1 !important;
}
.list-body h3 { font-size: 1.2rem !important; line-height: 1.95 !important; }
.hero-post-inner h1, .post-title { font-size: 1.85rem !important; line-height: 1.9 !important; }
.nav li a { font-size: 17px !important; }
.topbar { font-size: 15px !important; }
.topbar a { font-size: 15px !important; white-space: nowrap; }
.widget-h { font-size: 1.15rem !important; }
.sec-head h2 { font-size: 1.35rem !important; }

/* Social header: logo + name + followers ONE row */
.soc-head {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 8px 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 10px;
}
.soc-logo {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border: 2px solid #e2e8f0;
  background: #fff;
}
.soc-meta {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  text-align: right;
  gap: 2px;
}
.soc-name {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.soc-sub {
  font-size: .82rem !important;
  color: #64748b !important;
  direction: ltr !important;
  unicode-bidi: isolate;
  line-height: 1.4 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Full scrollable social feeds */
.soc-feed {
  width: 100%;
  height: 560px;
  max-height: 70vh;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e4e6eb;
  border-radius: 12px;
  background: #fff;
}
.soc-feed iframe {
  width: 100% !important;
  min-height: 800px !important;
  border: 0 !important;
  display: block;
}
.x-feed {
  min-height: 500px;
  padding: 4px;
}
.social-link-btn.x {
  background: #e2e8f0;
  color: #0f1419 !important;
  margin-top: 10px;
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
}
.fb-scroll, .ig-scroll { display: none; } /* old classes unused */

/* Sidebar a bit wider for embeds */
@media (min-width: 961px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
    gap: 22px;
  }
}



/* ===== Social rail pro 2026-09b (no Twitter) ===== */
.social-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sr-box {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.sr-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  border-bottom: 1px solid #eef2f7;
}
.sr-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
  font-family: system-ui, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.sr-badge.fb { background: #1877f2; }
.sr-badge.ig { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af); font-size: 12px; letter-spacing: .02em; }
.sr-badge.yt { background: #ff0000; }
.sr-badge.wa { background: #25d366; }
.sr-titles { min-width: 0; text-align: right; }
.sr-titles h3 {
  margin: 0;
  font-size: 1.08rem !important;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}
.sr-titles p {
  margin: 3px 0 0;
  font-size: 0.82rem !important;
  color: #64748b;
  line-height: 1.4;
}
.sr-titles a { color: #1e40af !important; text-decoration: none; }
.sr-titles a:hover { text-decoration: underline; }

/* Outer scroll so user can scroll through long feeds */
.sr-scroll {
  height: 520px;
  max-height: 65vh;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #f1f5f9;
}
.sr-scroll::-webkit-scrollbar { width: 8px; }
.sr-scroll::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 8px; }
.sr-scroll iframe {
  width: 100% !important;
  border: 0 !important;
  display: block;
  /* Tall inner content = more posts visible while outer box scrolls */
  min-height: 2000px !important;
  height: 2000px !important;
}
.sr-ig iframe {
  min-height: 2200px !important;
  height: 2200px !important;
}
.sr-yt {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #0f0f0f;
}
.sr-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sr-wa { padding: 18px 16px 20px; text-align: center; }
.sr-more {
  display: block;
  text-align: center;
  padding: 12px 14px;
  font-size: 0.92rem !important;
  font-weight: 700;
  color: #0b1f4a !important;
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  text-decoration: none !important;
}
.sr-more:hover { background: #eef4ff; color: #1e40af !important; }
.wa-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  background: #25d366 !important;
  color: #fff !important;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.wa-btn:hover { filter: brightness(1.05); color: #fff !important; }

@media (max-width: 900px) {
  .sr-scroll { height: 460px; max-height: 70vh; }
}

/* ===== Nav spacing + social pro 2026-09c ===== */
nav.nav ul#navMenu {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px !important;
}
nav.nav ul#navMenu li a {
  padding: 12px 18px !important;
  margin: 0 2px;
  border-radius: 8px;
  font-size: 15px !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
nav.nav ul#navMenu li a.active {
  background: #1e88e5 !important;
  color: #fff !important;
}

.layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px) !important;
  gap: 24px !important;
  align-items: start;
  padding-top: 12px;
  padding-bottom: 24px;
}
.layout > aside {
  position: sticky;
  top: 64px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
}

.social-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sr-box {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(15,23,42,.05);
}
.sr-head {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
}
.sr-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  font-family: system-ui, sans-serif;
  flex-shrink: 0;
}
.sr-badge.fb { background: #1877f2; }
.sr-badge.ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); font-size: 11px; }
.sr-badge.yt { background: #ff0000; }
.sr-badge.wa { background: #25d366; }
.sr-titles { flex: 1; text-align: right; min-width: 0; }
.sr-titles h3 { margin: 0; font-size: 1.05rem !important; color: #0f172a; }
.sr-titles p { margin: 2px 0 0; font-size: .8rem !important; color: #64748b; }
.sr-titles a { color: #1d4ed8 !important; }

.sr-scroll {
  height: 480px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  background: #fafafa;
  text-align: center;
}
.sr-iframe-inner {
  display: inline-block;
  width: 340px;
  max-width: 100%;
}
.sr-scroll iframe {
  display: block;
  margin: 0 auto;
}
.sr-yt-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.sr-yt-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sr-wa-body { padding: 16px; text-align: center; }
.sr-more {
  display: block;
  text-align: center;
  padding: 11px;
  font-size: .9rem !important;
  font-weight: 700;
  color: #0b1f4a !important;
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  text-decoration: none !important;
}
.sr-more:hover { background: #eef4ff; }

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr !important;
  }
  .layout > aside {
    position: static;
    max-height: none;
    order: 2;
  }
  .layout > div:first-child {
    order: 1;
  }
  nav.nav ul#navMenu li a {
    padding: 12px 14px !important;
  }
}
@media (max-width: 768px) {
  nav.nav ul#navMenu {
    gap: 0;
  }
  nav.nav ul#navMenu li a {
    padding: 13px 16px !important;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .sr-scroll { height: 420px; }
}

/* =========================================================
   FINAL: Mobile hamburger + responsive typography
   (wins over earlier conflicting rules)
   ========================================================= */

/* Base body text scales */
html { font-size: 16px; }
body {
  font-size: 1.125rem; /* 18px desktop */
  line-height: 1.9;
}

/* Desktop nav always visible, hamburger hidden */
@media (min-width: 901px) {
  button#menuBtn.menu-toggle,
  .header-navy .menu-toggle,
  .menu-toggle {
    display: none !important;
  }
  nav.nav ul#navMenu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    background: transparent;
  }
  nav.nav ul#navMenu li a {
    border-bottom: 3px solid transparent !important;
    padding: 12px 15px !important;
  }
  body.nav-open { overflow: visible; }
}

/* Tablet + phone: hamburger works, menu hidden until .open */
@media (max-width: 900px) {
  button#menuBtn.menu-toggle,
  .header-navy .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    z-index: 250;
    position: relative;
  }

  nav.nav ul#navMenu {
    display: none !important;
    flex-direction: column !important;
    width: 100%;
    background: #0f2a5a;
    margin: 0;
    padding: 0;
  }
  nav.nav ul#navMenu.open {
    display: flex !important;
  }
  nav.nav ul#navMenu li {
    width: 100%;
    border: 0;
  }
  nav.nav ul#navMenu li a {
    display: block;
    width: 100%;
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.7;
    text-align: right;
  }
  nav.nav ul#navMenu li a.active {
    background: rgba(66, 165, 245, 0.18);
    border-bottom-color: transparent !important;
  }

  body.nav-open {
    overflow: hidden; /* prevent background scroll while menu open */
  }
}

/* ---- Responsive type scale ---- */
/* Tablet */
@media (max-width: 960px) {
  body { font-size: 1.0625rem; } /* ~17px */
  .hero-post-inner h1,
  .post-title { font-size: 1.45rem !important; line-height: 1.75 !important; }
  .list-body h3 { font-size: 1.08rem !important; }
  .sec-head h2 { font-size: 1.2rem !important; }
  .page-hero h1 { font-size: 1.5rem !important; }
}

/* Phone */
@media (max-width: 680px) {
  body { font-size: 1rem; } /* 16px base – readable, not huge */
  .topbar { font-size: 11.5px; }
  .header-navy .logo-center img {
    height: 52px;
    max-width: min(220px, 62vw);
  }
  .hero-post-inner h1,
  .post-title { font-size: 1.25rem !important; line-height: 1.8 !important; }
  .list-body h3 { font-size: 1.02rem !important; line-height: 1.85 !important; }
  .list-excerpt { font-size: 0.92rem !important; }
  .sec-head h2 { font-size: 1.1rem !important; }
  .page-hero h1 { font-size: 1.35rem !important; }
  .meta, .badge { font-size: 0.8rem !important; }
  .breaking-label { font-size: 12px; padding: 6px 10px; }
  .breaking-track { font-size: 0.95rem; }
  .nav li a { font-size: 1rem !important; }
  .footer-grid { font-size: 0.95rem; }
  .widget-h { font-size: 1rem !important; }
  .pop-item h4 { font-size: 0.95rem !important; }
  .sr-titles h3 { font-size: 1rem !important; }
  .sr-more { font-size: 0.88rem !important; }
}

/* Very small phones */
@media (max-width: 380px) {
  body { font-size: 0.95rem; }
  .header-navy .logo-center img { height: 46px; }
  .hero-post-inner h1,
  .post-title { font-size: 1.15rem !important; }
  .list-body h3 { font-size: 0.98rem !important; }
}

/* =========================================================
   v3 — CLEAN HEADER + MOBILE MENU (final authority)
   ========================================================= */

/* Header bar: 3-column flex — button | logo | spacer */
.header.header-navy {
  background: #002D72 !important;
  border-bottom: none !important;
  padding: 10px 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  position: relative;
  z-index: 100;
}
.header-navy .header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  min-height: 64px !important;
  gap: 8px !important;
  grid-template-columns: none !important;
}
.header-navy .logo-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  pointer-events: auto !important;
  order: 2;
}
.header-navy .logo-center img {
  height: 58px !important;
  width: auto !important;
  max-width: min(240px, 58vw) !important;
  object-fit: contain !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.header-navy .menu-toggle {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  cursor: pointer !important;
  display: none; /* shown only on mobile below */
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  order: 1;
  grid-column: auto !important;
  grid-row: auto !important;
}
.header-navy .menu-toggle .icon-close { display: none !important; }
.header-navy .menu-toggle.is-open .icon-menu { display: none !important; }
.header-navy .menu-toggle.is-open .icon-close { display: block !important; }
.header-navy .header-spacer {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  order: 3;
  display: none; /* shown on mobile to balance logo centering */
}
.header-navy .logo-text,
.header-navy .search-wrap {
  display: none !important;
}

/* Desktop: horizontal nav, no hamburger */
@media (min-width: 901px) {
  .header-navy .menu-toggle,
  button#menuBtn.menu-toggle {
    display: none !important;
  }
  .header-navy .header-spacer {
    display: none !important;
  }
  .header-navy .logo-center img {
    height: 64px !important;
    max-width: min(280px, 40vw) !important;
  }
  nav.nav ul#navMenu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: auto !important;
    background: transparent !important;
  }
  nav.nav ul#navMenu li a {
    border-bottom: 3px solid transparent !important;
    padding: 12px 14px !important;
  }
  body.nav-open { overflow: visible !important; }
}

/* Mobile + tablet: hamburger + collapsible menu */
@media (max-width: 900px) {
  .header-navy .menu-toggle,
  button#menuBtn.menu-toggle {
    display: inline-flex !important;
  }
  .header-navy .header-spacer {
    display: block !important; /* keeps logo truly centered */
  }
  .header-navy .logo-center img {
    height: 50px !important;
    max-width: min(200px, 52vw) !important;
  }
  .header-navy .header-inner {
    min-height: 58px !important;
  }

  nav.nav {
    background: #0a1628 !important;
    position: relative;
    z-index: 90;
  }
  nav.nav .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  nav.nav ul#navMenu {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #0a1628 !important;
    list-style: none !important;
  }
  nav.nav ul#navMenu.open {
    display: flex !important;
  }
  nav.nav ul#navMenu li {
    width: 100% !important;
    border: 0 !important;
  }
  nav.nav ul#navMenu li a {
    display: block !important;
    width: 100% !important;
    padding: 14px 18px !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    text-align: right !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  nav.nav ul#navMenu li a.active {
    background: rgba(30, 136, 229, 0.35) !important;
    border-bottom-color: transparent !important;
  }
  nav.nav ul#navMenu li a:hover,
  nav.nav ul#navMenu li a:active {
    background: rgba(255,255,255,.08) !important;
  }

  body.nav-open {
    overflow: hidden !important;
  }
}

/* Responsive type (phone / tablet / desktop) */
@media (max-width: 960px) {
  body { font-size: 1.0625rem !important; }
  .hero-post-inner h1,
  .post-title { font-size: 1.4rem !important; line-height: 1.75 !important; }
  .list-body h3 { font-size: 1.06rem !important; }
}
@media (max-width: 680px) {
  body { font-size: 1rem !important; }
  .topbar { font-size: 11.5px !important; }
  .hero-post-inner h1,
  .post-title { font-size: 1.22rem !important; }
  .list-body h3 { font-size: 1rem !important; }
  .list-excerpt { font-size: 0.92rem !important; }
  .meta, .badge { font-size: 0.8rem !important; }
}
@media (max-width: 380px) {
  body { font-size: 0.95rem !important; }
  .header-navy .logo-center img { height: 44px !important; }
  .hero-post-inner h1,
  .post-title { font-size: 1.12rem !important; }
}
