/* style.css — Sarkari Yojana Info, layout clone of the reference. Tokens measured from the reference (CLONE_AUDIT.md). */
:root {
  --page-bg: #ffffff;
  --inner-bg: #f4f4f4;
  --blue: #046bd2;
  --blue-border: #045cb4;
  --navy: #1b3764;
  --steel: #1f4e79;
  --table-light: #eaf2f8;
  --red: #cc0000;
  --maroon: #800040;
  --green: #008000;
  --nav-active: #fff48f;
  --item-text: #1e293b;
  --item-border: #d9e1ea;
  --tool-pill: #1f7a7d;
  --search-btn: #0073e6;
  --ticker-link: #0056cc;
  --footer-light: #f5f7fa;
  --wa-green: #25d367;
  --border: #c9d6e3;
  --font: Arial, Helvetica, Verdana, sans-serif;
  --font-head: Roboto, Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page-bg); color: #000; font-family: var(--font); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid #0073e6; outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 10px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ad slots: collapsed while ads are off; reserved when on */
.ad-slot { display: none; }
body.ads-on .ad-slot { display: block; min-height: 100px; background: #eef2f7; margin: 10px auto; max-width: 970px; text-align: center; color: #666; font-size: 12px; }
body.ads-on .ad-slot::after { content: "Advertisement"; line-height: 100px; }

/* ============ Header (logo LEFT of wordmark, one row, NOT sticky) ============ */
.site-header { background: #fff; }
.header-bar { display: block; }
.header-brand { display: flex; justify-content: center; align-items: center; padding: 16px 10px 16px; min-height: 96px; }
.brand { display: flex; flex-direction: row; align-items: center; gap: 14px; }
.brand:hover { text-decoration: none; }
.brand-logo { flex: none; display: block; height: 58px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.brand-word { color: #046bd2; font-family: var(--font-head); font-size: 26px; font-weight: 800; letter-spacing: 0.5px; }
.brand-tag { color: #6b7280; font-size: 13px; }
/* Search + hamburger live in the header row only on phones/tablets. */
.header-actions { display: none; }
.nav-overlay { display: none; }

/* nav */
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--blue); cursor: pointer; padding: 0; }
.mobile-search { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; color: var(--blue); border: 1px solid var(--border); background: #fff; }
.site-nav { background: var(--blue); }
.nav-wrap { max-width: 1200px; margin: 0 auto; padding: 0 6px; }
/* A's nav: flex-wrap, left-aligned inside a contained 1200px bar. It wraps naturally (Tools+More drop to row 2). */
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; }
.nav-list > li { position: relative; }
.nav-list > li > a, .more-toggle { display: inline-block; color: #fff; font-weight: 700; font-size: 18px; line-height: 30px; padding: 2px 18px; background: none; border: 0; font-family: var(--font); cursor: pointer; min-height: 34px; }
.nav-list > li > a:hover, .more-toggle:hover { color: var(--nav-active); text-decoration: none; }
.nav-list > li.current-menu-item > a { color: var(--nav-active); }
.more-toggle .caret { font-size: 12px; }
/* A's More submenu: blue bg, white text, 240px wide, border 1px #111, radius 10px, closed by default */
.more-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--blue); border: 1px solid #111; border-radius: 10px; min-width: 240px; list-style: none; margin: 0; padding: 0; z-index: 90; overflow: hidden; }
.more-menu li a { display: block; padding: 9px 16px; color: #fff; font-size: 15px; font-weight: 600; line-height: 23px; }
.more-menu li a:hover { background: var(--navy); color: #fff; text-decoration: none; }
.menu-more.open .more-menu { display: block; }
/* Tablet band (921–1200): same bar, tighter type so it wraps in two rows like A */
@media (max-width: 1200px) {
  .nav-list > li > a, .more-toggle { font-size: 16px; line-height: 28px; padding: 2px 12px; min-height: 32px; }
}
/* Mobile header + menu (Astra breakpoint 921px). One compact row: logo left,
   search + hamburger right. The nav becomes a dropdown panel below the header. */
@media (max-width: 920px) {
  /* z-index keeps the header (and the nav panel inside it) ABOVE .nav-overlay,
     otherwise the fixed overlay swallows the tap on the hamburger/X button. */
  .site-header { position: relative; z-index: 1001; }
  .header-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 60px; padding: 8px 10px; border-bottom: 1px solid #e5e7eb;
  }
  .header-brand { padding: 0; min-height: 0; justify-content: flex-start; flex: 1 1 auto; min-width: 0; }
  .brand { min-height: 0; }
  .brand-logo { height: 40px; width: auto; max-width: calc(100vw - 130px); }
  .header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
  .mobile-search, .menu-btn { border-color: #d6dbe3; color: #046BD2; }

  /* 3-line icon -> X, pure CSS */
  .menu-icon { position: relative; display: block; width: 20px; height: 14px; }
  .menu-icon span {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform 200ms ease, opacity 200ms ease, top 200ms ease;
  }
  .menu-icon span:nth-child(1) { top: 0; }
  .menu-icon span:nth-child(2) { top: 6px; }
  .menu-icon span:nth-child(3) { top: 12px; }
  .menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 1000;
    background: #fff; max-height: calc(100vh - 61px); max-height: calc(100dvh - 61px);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
  }
  .site-nav.open { display: block; animation: navSlide 220ms ease both; }
  @keyframes navSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .site-nav.open { animation: none; } .menu-icon span { transition: none; } }

  .nav-overlay { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 999; background: rgba(0, 0, 0, .35); }
  .nav-overlay[hidden] { display: none; }
  body.nav-open { overflow: hidden; }

  .nav-wrap { max-width: none; padding: 0; }
  .nav-list { flex-direction: column; padding: 0; align-items: stretch; }
  .nav-list > li { width: 100%; border-top: 1px solid #e8ecf2; }
  .nav-list > li:first-child { border-top: 0; }
  .nav-list > li > a, .more-toggle {
    display: flex; align-items: center; width: 100%; text-align: left;
    min-height: 48px; padding: 0 18px; font-size: 15.5px; font-weight: 600; line-height: 1.3;
    color: #1b3764; background: #fff;
  }
  .nav-list > li > a:hover, .more-toggle:hover { color: #046BD2; background: #f1f6fd; }
  .nav-list > li > a:active, .more-toggle:active { background: #f1f6fd; }
  .nav-list > li.current-menu-item > a { color: #046BD2; box-shadow: inset 3px 0 0 #046BD2; }
  .menu-more { display: block; }
  .more-toggle { justify-content: space-between; }
  .more-toggle .caret { transition: transform 200ms ease; }
  .menu-more.open .more-toggle .caret { transform: rotate(180deg); }
  /* More is an inline accordion on phones, not a floating box. */
  .more-menu {
    display: none; position: static; border: 0; border-radius: 0; min-width: 0;
    background: #f6f8fb; border-top: 1px solid #e8ecf2; margin: 0; padding: 0;
  }
  .menu-more.open .more-menu { display: block; }
  .more-menu li { border-top: 1px solid #e8ecf2; }
  .more-menu li:first-child { border-top: 0; }
  .more-menu li a {
    display: flex; align-items: center; min-height: 44px; padding: 0 18px 0 34px;
    color: #1b3764; font-size: 14.5px; font-weight: 600; background: #f6f8fb;
  }
  .more-menu li a:hover { background: #eaf1fa; color: #046BD2; }
  .more-menu li.current-menu-item > a { color: #046BD2; }
}
/* Tablet band inside the menu breakpoint keeps the logo a little larger (46px).
   Top-level and AFTER the block above so it wins over the 40px phone rule. */
@media (min-width: 768px) and (max-width: 920px) {
  .brand-logo { height: 46px; }
}

/* ============ Homepage ============ */
.home-h1 { font-family: var(--font-head); font-size: 20px; font-weight: 500; line-height: 28px; text-align: center; color: #000; margin: 14px auto 10px; max-width: 1140px; }
/* 4 accordion boxes, laid out exactly as Site A: 2x2 on phones, one equal-width row from 768px.
   Grid (not flex) so all four are always the same width and an open box never stretches its siblings. */
.accord-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; max-width: 1140px; margin: 0 auto 14px; padding: 0 10px; }
@media (min-width: 768px) { .accord-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.accord { background: #fbfcfd; border: 1px solid var(--border); border-radius: 8px; min-width: 0; }
.accord summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; font-weight: 700; font-size: 15.5px; color: #111; min-height: 44px; text-align: center; }
.accord summary::-webkit-details-marker { display: none; }
.accord summary .acc-icon { color: var(--blue); font-size: 14px; flex: none; }
.accord .acc-body { border-top: 1px solid var(--border); padding: 8px 12px 10px; }
.accord .acc-body a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 6px 2px; color: #1e293b; font-size: 14.5px; font-weight: 600; border-bottom: 1px dashed #e3eaf2; }
.accord .acc-body a:last-child { border-bottom: 0; }
.accord-link { display: flex; align-items: center; justify-content: center; text-align: center; gap: 8px; background: #fbfcfd; border: 1px solid var(--border); border-radius: 8px; padding: 12px 10px; min-width: 0; font-weight: 700; font-size: 15.5px; color: #111; min-height: 44px; }
.accord-link:hover { text-decoration: none; border-color: var(--blue); }
/* On narrow screens a label wraps to two lines ("Qualification Wise", "सरकारी योजना"). Site A keeps
   all four boxes the same height there, so give the header a floor instead of letting one grow alone. */
@media (max-width: 1023px) { .accord summary { min-height: 73px; } .accord-link { min-height: 75px; } }
.accord-open-list { max-height: 260px; overflow-y: auto; }

/* tool pills — 10 in A's order, one centred row on desktop, wraps on small screens (never overflows) */
.pills-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1200px; margin: 0 auto 14px; padding: 0 10px; }
.tool-pill { background: var(--tool-pill); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 100px; line-height: 18px; min-height: 26px; display: inline-flex; align-items: center; }
.tool-pill:hover { text-decoration: none; filter: brightness(1.08); }
@media (min-width: 1024px) { .pills-row { gap: 5px; padding: 0 4px; } .tool-pill { white-space: nowrap; font-size: 11px; padding: 3px 8px; letter-spacing: -0.1px; } }
@media (min-width: 1200px) { .pills-row { gap: 8px; padding: 0 10px; } .tool-pill { font-size: 11.5px; padding: 4px 9px; letter-spacing: 0; } }

/* search */
.search-row { display: flex; justify-content: center; margin: 0 auto 16px; padding: 0 10px; }
.search-form { display: flex; width: 100%; max-width: 480px; }
.search-form input { flex: 1; border: 1px solid #d6dde6; border-right: 0; padding: 12px 16px; font-size: 14px; font-family: var(--font); color: #333; background: #fff; min-height: 46px; }
.search-form input::placeholder { color: #757575; }
.search-form button { background: var(--search-btn); color: #fff; border: 0; padding: 0 18px; font-size: 15px; font-weight: 500; font-family: var(--font); border-radius: 0 15px 16px 0; cursor: pointer; min-height: 46px; }

/* ज़्यादा जानें (Discover more) box — light header + 3 arrow links, above the H1 (A: PART cl.12) */
.zyada-box { max-width: 1140px; margin: 0 auto 16px; padding: 0 10px; }
.zyada-head { background: #eef4fb; color: var(--blue); font-family: var(--font-head); font-size: 18px; font-weight: 600; margin: 0; padding: 10px 14px; border: 1px solid #d5e3f3; border-radius: 8px 8px 0 0; border-bottom: 0; }
.zyada-box a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 14px; background: #fff; border: 1px solid #d5e3f3; border-top: 0; color: #1e293b; font-size: 15px; font-weight: 600; }
.zyada-box a:last-child { border-radius: 0 0 8px 8px; }
.zyada-box a:hover { background: #f7fafd; text-decoration: none; }
.zyada-box a span { color: var(--blue); font-size: 18px; line-height: 1; }

/* LIVE block */
.live-block { text-align: center; max-width: 1140px; margin: 0 auto 16px; padding: 0 10px; }
.live-pill { display: inline-block; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; border-radius: 100px; padding: 4px 16px; margin-bottom: 8px; }
.live-list { margin: 0; padding: 0; }
.live-list a { color: var(--ticker-link); font-size: 14px; }
.live-list .sep { color: #666; margin: 0 6px; }
.live-feat { font-family: var(--font-head); color: var(--red); font-size: 22px; font-weight: 700; margin: 12px 0 4px; }
.live-feat a { color: var(--red); }

/* coloured tiles */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 1140px; margin: 0 auto 20px; padding: 0 10px; }
.hot-tile { display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.3; border-radius: 3px; padding: 12px 14px; min-height: 64px; font-family: var(--font-head); overflow-wrap: anywhere; }
.hot-tile:hover { text-decoration: none; filter: brightness(1.06); }

/* 20-box core grid */
.core-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1140px; margin: 0 auto 22px; padding: 0 10px; }
.home-box { border: 1px solid var(--blue-border); border-radius: 10px 10px 8px 8px; background: #fff; padding-bottom: 10px; }
.home-box-title { background: var(--blue); color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 600; text-align: center; margin: 0; padding: 10px 6px; border-radius: 9px 9px 0 0; line-height: 1.25; }
.home-box-list { list-style: none; margin: 8px 8px 4px; padding: 0; }
.home-box-list li { margin: 6px 0; }
.box-item { background: #fff; border: 1px solid var(--item-border); border-radius: 6px; margin: 0; font-size: 15px; font-weight: 600; text-align: center; line-height: 1.35; min-height: 44px; display: flex; }
/* The <a> must fill the whole 44px card, otherwise the tap target is only the 16px text line. */
.box-item a { color: var(--item-text); display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 8px 6px; }
.home-box-more { text-align: center; margin: 6px 0 2px; }
.view-more { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: #fff; color: #000; border: 1px solid #000; border-radius: 24px; padding: 6px 14px; font-size: 15px; font-weight: 300; }
.view-more:hover { text-decoration: none; background: #f5f7fa; }

/* bottom text cards */
.text-cards { max-width: 1140px; margin: 0 auto; padding: 0 10px 18px; }
.text-card { background: #fff; border: 1px solid #e4e9f0; border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; }
.text-card h2 { font-family: var(--font-head); color: var(--navy); font-size: 20px; margin: 0 0 8px; text-align: center; }
.text-card p { margin: 0 0 10px; }
.text-card .tick-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px; }
.text-card .tick-list li { font-size: 14.5px; }
.text-card .tick-list li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.text-card h3 { font-size: 17px; margin: 14px 0 6px; }

/* FAQ */
.faq-block { max-width: 900px; margin: 0 auto 20px; padding: 0 10px; }
.faq-block h2 { text-align: center; font-family: var(--font-head); color: var(--navy); }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 8px; }
.faq-item summary { cursor: pointer; padding: 12px 14px; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: #111; }
.faq-item .faq-a { padding: 0 14px 12px; }
.faq-item .faq-a p { margin: 0; }

/* disclaimer + stay connected */
.home-disclaimer { background: var(--footer-light); padding: 18px 10px; margin-top: 10px; }
.home-disclaimer .wrap { max-width: 1000px; }
.home-disclaimer p { text-align: center; font-size: 14.5px; margin: 6px 0; }

/* ============ inner pages ============ */
.inner-page { background: var(--inner-bg); padding-bottom: 30px; }
.page-title-band { background: var(--navy); }
.page-title-band h1 { color: #fff; font-family: var(--font-head); font-size: 21px; font-weight: 700; text-align: center; margin: 0; padding: 12px 10px; line-height: 1.4; max-width: 1160px; margin: 0 auto; }
.breadcrumbs { display: none; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; max-width: 1160px; margin: 0 auto; }
.breadcrumbs li::after { content: "›"; margin: 0 5px; color: #888; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--blue); }
.meta-line { text-align: left; color: #555; font-size: 13px; padding: 10px 0 6px; border-top: 1px solid #e3e9f0; margin-top: 14px; }
.meta-line a { color: var(--blue); }

/* prev / next post nav */
.post-pn { display: flex; gap: 10px; margin: 16px 0 4px; }
.post-pn a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; background: #f4f8fd; border: 1px solid var(--item-border); border-radius: 8px; padding: 10px 14px; text-decoration: none; min-height: 58px; justify-content: center; }
.post-pn a:hover { background: #e8f1fb; border-color: #b9d2ee; text-decoration: none; }
.post-pn .pn-empty { flex: 1 1 0; }
.post-pn .pn-lab { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .4px; }
.post-pn .pn-t { font-size: 14px; font-weight: 600; color: var(--item-text); line-height: 1.4; }
.post-pn .pn-next { text-align: right; }
@media (max-width: 600px) { .post-pn { flex-direction: column; } .post-pn .pn-next { text-align: left; } }

.banner-photo { display: block; width: 100%; max-width: 1160px; margin: 4px auto 0; }
.banner-photo img { width: 100%; height: auto; display: block; }

/* two-column inner layout */
/* A's category page: NO navy page band. The list itself sits in a box whose header is navy. */
.cat-h1 { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: #111; text-align: center; margin: 12px auto 0; max-width: 1160px; }
.inner-cols { display: flex; flex-wrap: wrap; gap: 18px; max-width: 1160px; margin: 12px auto 0; padding: 0 10px; align-items: flex-start; }
.main-col { flex: 1 1 640px; min-width: 0; }
.side-col { flex: 0 0 300px; max-width: 300px; }
@media (max-width: 1024px) { .side-col { flex: 1 1 100%; max-width: none; order: 2; } }

/* category page: navy-header bullet list */
.cat-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
.cat-box-title { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 20px; font-weight: 700; text-align: center; padding: 10px; margin: 0; border-radius: 6px 6px 0 0; }
.cat-list { list-style: none; margin: 0; padding: 0 14px; }
.cat-list li { border-bottom: 1px solid #eceff3; padding: 9px 2px; }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { color: #0d3c8b; font-weight: 600; font-size: 15.5px; }
.cat-list a::before { content: "• "; color: var(--blue); font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; padding: 14px 0; }
.pagination a, .pagination span { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: #fff; border-radius: 4px; font-weight: 700; font-size: 14px; padding: 4px 9px; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }
.cat-desc { color: #444; font-size: 14px; padding: 6px 14px 12px; }

/* sidebar */
.side-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; margin-bottom: 14px; }
.side-card-title { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 700; text-align: center; padding: 8px; margin: 0; border-radius: 6px 6px 0 0; }
.side-list { list-style: none; margin: 0; padding: 4px 12px 8px; }
.side-list li { border-bottom: 1px dashed #e7ecf2; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; padding: 7px 1px; color: #0d3c8b; font-size: 14px; font-weight: 600; }
.side-list a::before { content: "\25CE\00a0"; color: var(--blue); }
.side-list { max-height: 420px; overflow-y: auto; }

/* ============ post page ============ */
.article { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 16px 18px 24px; }
.post-body p { margin: 0 0 13px; font-size: 16px; line-height: 1.6; }
.post-body .lead strong { color: var(--maroon); }
.post-body .lead .hl-blue { color: var(--blue); font-weight: 700; }
.post-section h2 { font-family: var(--font-head); color: var(--maroon); font-size: 21px; font-weight: 700; text-align: center; margin: 24px 0 12px; }
.post-section h3 { font-size: 17px; margin: 16px 0 8px; }

/* tables (A style) */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; }
.info-table, .data-table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 420px; background: #fff; }
@media (max-width: 600px) {
  .info-table, .data-table { min-width: 0; font-size: 13.5px; }
  .info-table th, .info-table td, .data-table th, .data-table td { padding: 6px 7px; word-break: break-word; }
  .info-table th { width: 40%; }
}
.info-table th, .info-table td, .data-table th, .data-table td { border: 1px solid #d5dbe3; padding: 8px 10px; text-align: left; vertical-align: top; }
.info-table th { background: var(--table-light); color: #111; font-weight: 700; text-align: center; width: 38%; }
.data-table thead th { background: var(--steel); color: #fff; text-align: center; }
.data-table td { text-align: center; }
.data-table tbody tr:nth-child(even) { background: #f6f9fc; }
.data-table .total-row td { font-weight: 700; color: var(--red); }
.d-green { color: var(--green); font-weight: 700; }
.d-red { color: var(--red); font-weight: 700; }
.links-table th { width: 55%; }
.link-btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 4px; }
.link-btn:hover { background: #0357ab; text-decoration: none; color: #fff; }

.steps { margin: 10px 0 14px; padding-left: 24px; }
.steps li { margin-bottom: 8px; }
.plain-list { margin: 8px 0 14px; padding-left: 22px; }
.plain-list li { margin-bottom: 7px; }

/* related cards */
.related-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 768px) { .related-row { grid-template-columns: repeat(2, 1fr); } }
.rel-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; display: block; }
.rel-card:hover { text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.rel-thumb { width: 100%; height: 90px; object-fit: cover; display: block; background: #dfe6ee; }
@media (max-width: 420px) { .rel-thumb { height: 70px; } }
.rel-cat { display: block; font-size: 11px; color: #666; padding: 6px 8px 0; text-transform: uppercase; letter-spacing: 0.03em; }
.rel-title { display: block; font-size: 13.5px; font-weight: 700; color: #111; padding: 2px 8px 10px; line-height: 1.4; }

/* tools hub cards (A: 4-across, thumb + title + Click Here) */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1024px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tool-card-link { display: block; width: 100%; text-align: center; }
.tool-card-link:hover { text-decoration: none; }
.tool-card-thumb { display: block; width: 100%; aspect-ratio: 300 / 190; background: #eef2f7; border-radius: 4px; overflow: hidden; }
.tool-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tool-card-title { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: #111; margin-top: 9px; line-height: 1.35; }
.tool-card-btn { font-size: 13px; padding: 6px 18px; min-height: 34px; display: inline-flex; align-items: center; }

/* tools */
.tool-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 18px 16px; max-width: 760px; margin: 14px auto; }
.tool-box h2 { margin-top: 0; }
.tool-field { margin-bottom: 14px; }
.tool-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.tool-field input, .tool-field select, .tool-field textarea { width: 100%; min-height: 46px; border: 1.5px solid var(--border); border-radius: 6px; padding: 8px 12px; font-size: 16px; font-family: var(--font); background: #fff; }
.tool-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tool-row .tool-field { flex: 1 1 160px; }
.tool-result { background: #eef7f0; border: 1px solid #bfe3cc; border-radius: 6px; padding: 14px; margin-top: 14px; font-size: 16px; font-weight: 700; color: #0a5c2e; min-height: 20px; }
.dropzone { border: 2px dashed var(--blue); border-radius: 6px; padding: 26px 16px; text-align: center; background: var(--footer-light); cursor: pointer; }
.dropzone.dragover { background: #e3efff; }
.tool-preview { margin: 14px 0; text-align: center; }
.tool-preview img { max-height: 240px; border: 1px solid var(--border); background: #f0f0f0; }
.tool-download { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; background: var(--blue); color: #fff; font-weight: 700; border: 0; border-radius: 4px; padding: 10px 18px; min-height: 44px; font-size: 15px; cursor: pointer; font-family: var(--font); }
.btn:hover { background: #0357ab; text-decoration: none; color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.tool-note { font-size: 13.5px; color: #555; margin-top: 12px; }
.elig-q { margin-bottom: 14px; }
.elig-q p { font-weight: 700; margin: 0 0 8px; }
.opt-btn { border: 1.5px solid var(--border); background: #fff; border-radius: 4px; padding: 8px 16px; min-height: 44px; font-family: var(--font); font-size: 14.5px; cursor: pointer; margin: 0 6px 6px 0; }
.opt-btn.selected { border-color: var(--blue); background: #e3efff; font-weight: 700; }
.pdf-list .post-row { border: 1px solid var(--border); }

/* search page */
.search-head { background: var(--navy); padding: 16px 10px; text-align: center; }
.search-head h1 { color: #fff; font-family: var(--font-head); font-size: 21px; margin: 0 0 12px; }
.search-form.search-lg { margin: 0 auto; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 1160px; margin: 14px auto 8px; padding: 0 10px; }
.results-head h2 { font-size: 18px; margin: 0; color: var(--navy); }
.results-count { background: #eaf2fb; color: #0d3c8b; font-weight: 700; font-size: 13px; border-radius: 100px; padding: 4px 12px; }
.result-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; max-width: 1160px; margin: 0 auto; padding: 0 10px; }
.result-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.result-card .r-cat { font-size: 11.5px; background: #eaf2fb; color: #0d3c8b; border-radius: 3px; padding: 2px 8px; align-self: flex-start; font-weight: 700; }
.result-card .r-title { font-size: 15.5px; font-weight: 700; color: #111; }
.result-card .r-more { font-size: 13px; font-weight: 700; color: var(--blue); }
.suggest-list { position: absolute; z-index: 90; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; list-style: none; margin: 4px auto 0; padding: 6px; max-width: 480px; box-shadow: 0 8px 18px rgba(0,0,0,0.15); }
.suggest-list li a { display: block; padding: 8px 10px; color: #1e293b; font-size: 14.5px; font-weight: 600; }
.suggest-list li a:hover { background: var(--footer-light); }

/* ============ footer (A structure) ============ */
.pre-footer { background: var(--footer-light); color: #111; padding: 16px 0; border-top: 1px solid #e4e9f0; }
.pre-footer .wrap { max-width: 1100px; }
.pre-footer p { margin: 6px 0; font-size: 14px; text-align: center; }
.pf-head { font-weight: 700; font-size: 15px; }
.site-footer { background: var(--navy); color: #e7eef7; margin-top: 0; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: 1fr; padding: 26px 10px 16px; max-width: 1160px; margin: 0 auto; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
/* No social links configured => the community column is not rendered; keep a balanced 3-column grid. */
@media (min-width: 1024px) { .footer-grid:not(:has(.f-social)) { grid-template-columns: 1.4fr 1fr 1fr; } }
.f-brand { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: 0.5px; margin: 0 0 4px; }
.f-badge { display: inline-block; background: rgba(255,255,255,0.12); border-radius: 3px; padding: 3px 10px; font-size: 12px; margin: 0 0 8px; color: #cddcee; }
.f-desc { font-size: 13.5px; line-height: 1.7; margin: 0; }
.f-head { color: #fff; font-weight: 700; font-size: 15.5px; margin: 0 0 8px; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 7px; }
.f-links a { color: #cddcee; font-size: 14px; }
.f-links a::before { content: "\203A\00a0"; color: #9fb6d9; }
.f-social { display: flex; flex-wrap: wrap; gap: 8px; }
.social-btn { display: inline-block; background: rgba(255,255,255,0.14); border-radius: 4px; padding: 7px 14px; color: #fff; font-size: 13.5px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); text-align: center; padding: 12px 10px 16px; font-size: 13px; color: #cddcee; }
.footer-bottom p { margin: 3px 0; }
/* The global rule paints every link var(--blue) (#046bd2), which on the navy footer (#1b3764)
   is a 2.27:1 contrast ratio — well under the 4.5:1 WCAG AA minimum. Lighthouse flagged these
   six footer links on every post page. Light tint keeps the footer palette and passes AA. */
.site-footer a, .footer-bottom a { color: #cddcee; }
.site-footer a:hover, .footer-bottom a:hover { color: #fff; }
/* Links inside running prose must be distinguishable from surrounding text by more than colour
   alone (WCAG 1.4.1). Body copy already underlines nothing, so give prose links an underline. */
.post-body a { text-decoration: underline; }
.post-body .link-btn, .post-body a.btn { text-decoration: none; }

/* cookie bar */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; background: #10233f; color: #fff; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: 13.5px; }
.cookie-bar a { color: #9cc3f5; }
.cookie-actions { display: flex; gap: 8px; }
.ck-btn { background: var(--blue); color: #fff; border: 0; border-radius: 4px; padding: 8px 16px; min-height: 40px; font-weight: 700; cursor: pointer; font-family: var(--font); }
.ck-outline { background: transparent; border: 1px solid #6c8cb8; }

/* WhatsApp float */
.wa-float { position: fixed; right: 14px; bottom: 14px; background: var(--wa-green); color: #fff; font-weight: 700; font-size: 14px; border-radius: 100px; padding: 10px 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 110; }
.wa-float:hover { text-decoration: none; }

/* 404 */
.notfound { text-align: center; padding: 50px 16px; }
.notfound h1 { font-size: 54px; color: var(--blue); margin: 0; }

/* mobile (A-like stacking) */
@media (max-width: 640px) {
  .brand-word { font-size: 20px; }
  .nav-list > li > a, .more-toggle { font-size: 15px; padding: 2px 10px; }
  .hot-tile { font-size: 14.5px; min-height: 52px; }
  .accord, .accord-link { max-width: none; }
  .post-body p, .article { font-size: 15.5px; }
}

.pill-rows { max-width: 1200px; margin: 0 auto 18px; padding: 0 10px; }
.white-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.white-pill { display: flex; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px dotted #7c7c7c; border-radius: 20px; padding: 6px 10px; min-height: 44px; color: #1e293b; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.white-pill:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); }
.pg-help { text-align: center; color: #444; font-size: 14.5px; margin: 14px 0 4px; }
.pg-next { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 768px) { .white-pills { grid-template-columns: repeat(2, 1fr); } }

/* Tap targets >= 44px on phones (PART 20.2 / R3 checklist #2). Desktop keeps A's compact sizes.
   NOTE Round 4: .tool-pill and .live-list were removed from this block — forcing 44px blocks
   made the LIVE NOW list a long vertical column and the tool pills 5 rows tall. Their phone
   sizing now lives in the Round 4 section at the end of this file. */
@media (max-width: 920px) {
  .footer-bottom a { display: inline-block; min-height: 44px; padding: 12px 6px; }
  .nav-list > li > a, .more-toggle { min-height: 44px; display: inline-flex; align-items: center; }
  .brand { min-height: 44px; }
  .f-links li { margin-bottom: 0; }
  .f-links a { display: block; min-height: 44px; padding: 12px 0; }
  .social-btn { min-height: 44px; display: inline-flex; align-items: center; }
  .skip-link { min-height: 44px; display: inline-flex; align-items: center; }
  /* Sidebar category lists (post + category pages): every row a full 44px tap row. */
  .side-list li { display: block; }
  .side-list a { display: flex; align-items: center; min-height: 44px; padding: 10px 1px; }
  /* Category bullet list rows. */
  .cat-list li { padding: 0; }
  .cat-list a { display: flex; align-items: center; min-height: 44px; padding: 10px 2px; }
  /* "Click Here" buttons in post link tables and tool cards. */
  .link-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; }
  .tool-card-btn { min-height: 44px; }
  /* Post meta line (source / last updated) inline links. */
  .meta-line a { display: inline-block; min-height: 44px; line-height: 44px; }
}
/* ============================================================================
   ROUND 4 — MOBILE + TABLET RESPONSIVE (26 Nov 2026)
   Phone: <=767px   Tablet: 768-1024px   Desktop: >=1025px (UNCHANGED)
   Menu breakpoint: <=920px (same as the reference theme's 921px).
   Every rule here is inside a max-width media query, so desktop output is
   byte-for-byte the same as before.
   ========================================================================== */

/* --- P1/P2: homepage core boxes — 2 per row on phone, 4 per row on tablet --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .core-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 6px; }
}
@media (max-width: 767px) {
  .core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 6px; padding: 0 6px; align-items: start; }
}
/* Long Hindi/English words must never blow a narrow box open. */
@media (max-width: 1024px) {
  .home-box { min-width: 0; }
  .box-item a { overflow-wrap: anywhere; word-break: normal; }
}

/* --- P7: box typography on tablet --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .home-box-title { font-size: 17px; }
  .box-item, .box-item a { font-size: 13px; }
  .box-item a { padding: 7px 5px; }
  .view-more { font-size: 13px; }
}
/* --- P7: box typography on phone --- */
@media (max-width: 767px) {
  .home-box { padding: 0 0 6px; border-radius: 8px; }
  .home-box-title { font-size: 16px; font-weight: 600; padding: 7px 4px; line-height: 1.25; border-radius: 7px 7px 0 0; }
  .home-box-list { margin: 6px 4px 2px; }
  .home-box-list li { margin: 0 0 6px; }
  .box-item { font-size: 12.5px; font-weight: 600; line-height: 1.35; min-height: 36px; border-radius: 5px; border-color: #BEBEBE; }
  .box-item a { font-size: 12.5px; font-weight: 600; line-height: 1.35; padding: 6px 4px; min-height: 36px; border-radius: 5px; }
  .view-more { font-size: 12px; padding: 4px 12px; min-height: 32px; border-radius: 24px; }
}
@media (max-width: 380px) {
  .home-box-title { font-size: 15px; }
  .box-item, .box-item a { font-size: 12px; }
}

/* --- P3: highlight colour tiles — 4 per row on tablet, 2 per row on phone --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .hot-tile { font-size: 13px; padding: 8px 6px; min-height: 56px; }
}
@media (max-width: 767px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .hot-tile { font-size: 12px; line-height: 1.25; padding: 6px 5px; min-height: 48px; }
}

/* --- P4: white pills, accordions, tool pills, LIVE NOW --- */
@media (max-width: 767px) {
  .white-pills { grid-template-columns: repeat(2, 1fr); }
  .white-pill { font-size: 12.5px; padding: 6px 8px; min-height: 40px; }
}
@media (max-width: 1023px) {
  .accord summary, .accord-link { font-size: 13px; min-height: 52px; padding: 8px; }
}
/* P8: tool pills — 9 pills in ~3 rows at 360px instead of 5 */
@media (max-width: 767px) {
  .pills-row { gap: 6px; }
  .tool-pill { font-size: 12px; padding: 6px 10px; min-height: 34px; }
}
/* P6: LIVE NOW — inline wrapped links, no 44px blocks, "|" stays inline */
@media (max-width: 920px) {
  .live-list a { display: inline; min-height: 0; padding: 0; font-size: 13px; line-height: 1.9; }
  .live-list .sep { display: inline; margin: 0 4px; }
  .live-block { line-height: 1.9; }
}

/* --- P5/other: homepage text blocks on phone --- */
@media (max-width: 767px) {
  .home-h1 { font-size: 15px; line-height: 1.35; margin: 8px 10px; }
  .zyada-box a { font-size: 14px; padding: 10px 12px; }
  .search-form input { font-size: 14px; min-height: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-links a { font-size: 14px; }
}
