/* ===========================================
   Sarkari Yojana MP - Custom Styles
   =========================================== */

:root {
  --maroon: #A91F3F;
  --darkmaroon: #7a1428;
  --cream: #FFF8E7;
  --gold: #D4AF37;
  --navy: #1a3a8a;
  --hotpink: #d81b60;
  --lightpink: #fce4ec;
  --lightblue: #e3f2fd;
  --black: #000000;
}

/* ===========================================
   SARKARI-RESULT STYLE HERO BANNER
   =========================================== */
.sr-hero {
  background: linear-gradient(180deg, #A91F3F 0%, #8a1934 100%);
  padding: 36px 16px;
  text-align: center;
  border: 3px solid #000;
  margin: 14px auto 0;
  max-width: 1100px;
}
.sr-hero-inner {
  max-width: 1050px;
  margin: 0 auto;
}
.sr-hero-title {
  font-family: 'Poppins', 'Arial Black', sans-serif;
  font-size: clamp(32px, 6.5vw, 64px);
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
  line-height: 1.05;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.25);
}
.sr-hero-state {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 1px;
  margin-left: 8px;
}
.sr-hero-url {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-size: clamp(12px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: 2px;
  margin: 6px 0 0;
  text-transform: uppercase;
  opacity: 0.95;
}

/* ===========================================
   BLACK HORIZONTAL NAV (like SarkariResult)
   =========================================== */
.sr-nav {
  background: #000000;
  max-width: 1100px;
  margin: 0 auto;
  border-left: 3px solid #000;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  position: sticky;
  top: 0;
  z-index: 40;
}
.sr-nav-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}
.sr-nav-list {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  justify-content: space-around;
}
.sr-nav-list li {
  flex: 1 1 auto;
  text-align: center;
  position: relative;
}
.sr-nav-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22%;
  right: 0;
  height: 56%;
  width: 2px;
  background: #ffffff;
  opacity: 0.95;
  pointer-events: none;
}
.sr-nav-link {
  display: block;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 10px;
  text-decoration: none;
  transition: all 0.18s ease;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.sr-nav-link:hover, .sr-nav-link.active {
  background: var(--maroon);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 900px) {
  .sr-nav-link { font-size: 13.5px; padding: 13px 6px; }
}
.sr-nav-mobile-btn {
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
}
.sr-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #111;
}
.sr-mobile-nav li { border-top: 1px solid #222; }
.sr-mobile-nav li a {
  display: block;
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}
.sr-mobile-nav li a:hover { background: var(--maroon); }

@media (max-width: 768px) {
  .sr-nav-list { display: none; }
}

/* ===========================================
   BREADCRUMB (like SarkariResult)
   =========================================== */
.sr-breadcrumb {
  max-width: 1100px;
  margin: 0 auto 4px;
  padding: 10px 16px 6px;
  font-size: 14px;
  color: #333;
}
.sr-breadcrumb-inner strong { color: #000; font-weight: 700; }
.sr-breadcrumb-inner a {
  color: #1a3a8a;
  text-decoration: underline;
  font-weight: 600;
}
.sr-breadcrumb-inner a:hover { color: var(--maroon); }
.sr-breadcrumb-inner .current { color: var(--maroon); font-weight: 700; }

/* ===========================================
   SILO CATEGORY CARDS (SarkariResult-style solid tiles)
   =========================================== */
.silo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--c, #8B0000);
  border: none;
  border-radius: 4px;
  padding: 14px 10px;
  min-height: 78px;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
  line-height: 1.25;
}
.silo-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 5px 12px rgba(0,0,0,0.22);
  color: #fff !important;
  text-decoration: none;
}
.silo-title {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.2px;
  color: #fff;
  line-height: 1.2;
}
.silo-desc {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .silo-card {
    min-height: 88px;
    padding: 16px 12px;
  }
  .silo-title { font-size: 1.25rem; }
  .silo-desc  { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .silo-title { font-size: 0.98rem; }
  .silo-desc  { font-size: 0.92rem; }
  .silo-card  { min-height: 68px; padding: 10px 6px; }
}

/* ===========================================
   SR-TICKER (Live Horizontal Banner)
   =========================================== */
.sr-ticker {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(90deg, #fff8dc 0%, #fff3bf 50%, #fff8dc 100%);
  border: 2px solid #111;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  width: 100%;
}
.sr-ticker-tag {
  background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
  color: #fff;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: 1.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  flex: 0 0 auto;
  align-self: stretch;
  line-height: 1;
}
.sr-ticker-tag::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
  animation: pulseDot 1s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(0.6); opacity: 0.5; }
}
.sr-ticker-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 10px 0;
  color: #7a1428;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

/* ====== Ticker Marquee Track ====== */
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: ticker 55s linear infinite;
  will-change: transform;
}
.ticker-track strong { font-weight: 700; }
.sr-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ===========================================
   DISCLAIMER BANNER (Horizontal headline strip)
   =========================================== */
.sr-disclaimer {
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
  border-top: 2px solid #d97706;
  border-bottom: 2px solid #d97706;
  color: #7c2d12;
  font-weight: 700;
  font-size: 15.5px;
  padding: 10px 12px;
  text-align: center;
  letter-spacing: 0.3px;
  font-family: 'Noto Sans Devanagari','Poppins',sans-serif;
  line-height: 1.45;
}
.sr-disclaimer strong { color: #991b1b; font-weight: 800; }
.sr-disclaimer-inline {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sr-disclaimer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@media (max-width: 640px) {
  .sr-disclaimer { font-size: 13.5px; padding: 8px 8px; }
  .sr-disclaimer-icon { width: 22px; height: 22px; font-size: 13px; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans Devanagari', 'Poppins', system-ui, sans-serif;
  background-color: #ffffff;
  line-height: 1.55;
}
main { max-width: 1100px; }

a { color: #1a3a8a; text-decoration: none; }
a:hover { color: var(--maroon); text-decoration: underline; }

/* ====== Section Title (like pink divider bar) ====== */
.section-title {
  background: linear-gradient(90deg, #d81b60 0%, #ad1457 100%);
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 4px;
  margin: 16px 0 12px;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(216, 27, 96, 0.3);
  text-transform: none;
}

/* ====== Yojana Table ====== */
.yojana-table { border-collapse: collapse; }
.yojana-table th, .yojana-table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  vertical-align: middle;
}
.yojana-table tbody tr:nth-child(even) { background: #fff7fb; }
.yojana-table tbody tr:hover { background: #fef3c7; }
.yojana-table a {
  color: #1a3a8a;
  font-weight: 600;
  font-size: 0.95rem;
}
.yojana-table a:hover { color: var(--maroon); }

/* ====== Badges ====== */
.badge-new {
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: blink 1.2s ease-in-out infinite;
}
.badge-active {
  background: #16a34a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.badge-closed {
  background: #6b7280;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ====== Category Cards ====== */
.category-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.category-card:hover { box-shadow: 0 6px 16px rgba(139, 0, 0, 0.15); }
.category-header {
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 10px 12px;
  font-size: 1rem;
  letter-spacing: 0.3px;
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  border-bottom: 1px dashed #e5e7eb;
}
.category-list li:last-child { border-bottom: none; }
.category-list li a {
  display: block;
  padding: 9px 14px;
  color: #1a3a8a;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s;
}
.category-list li a:hover {
  background: #fff7fb;
  color: var(--maroon);
  padding-left: 20px;
  text-decoration: none;
}
.category-list li a::before {
  content: "▸ ";
  color: var(--hotpink);
  font-weight: bold;
}

/* ====== Quick Links / Important Links ====== */
.quick-link {
  display: block;
  padding: 16px 14px;
  min-height: 58px;
  text-align: center;
  color: var(--maroon);
  font-weight: 600;
  border: 1px solid #f3d9e4;
  font-size: 1rem;
  line-height: 1.4;
  transition: all 0.2s ease;
}
.quick-link:hover {
  background: var(--maroon) !important;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(169, 31, 63, 0.25);
}
@media (min-width: 768px) {
  .quick-link {
    font-size: 1.05rem;
    padding: 18px 16px;
    min-height: 62px;
  }
}
@media (max-width: 480px) {
  .quick-link {
    font-size: 0.9rem;
    padding: 12px 8px;
    min-height: 50px;
  }
}

/* ====== Buttons ====== */
.btn-primary, .btn-success, .btn-info {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  transition: all 0.15s;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.btn-primary { background: var(--maroon); }
.btn-primary:hover { background: var(--darkmaroon); transform: translateY(-1px); }
.btn-success { background: #16a34a; }
.btn-success:hover { background: #15803d; transform: translateY(-1px); }
.btn-info { background: var(--navy); }
.btn-info:hover { background: #142966; transform: translateY(-1px); }

/* ====== FAQ ====== */
.faq-item {
  border-bottom: 1px solid #f3d9e4;
  padding-bottom: 10px;
}
.faq-item summary {
  padding: 6px 0;
  list-style: none;
  position: relative;
  padding-left: 22px;
}
.faq-item summary::before {
  content: "➕";
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 0.8rem;
  color: var(--hotpink);
}
.faq-item[open] summary::before { content: "➖"; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ====== Social Buttons ====== */
.social-btn {
  background: rgba(255,255,255,0.15);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff8e7;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.15s;
}
.social-btn:hover {
  background: var(--gold);
  color: var(--maroon);
  text-decoration: none;
}

/* ====== Footer links ====== */
footer a { color: #fff8e7; }
footer a:hover { color: var(--gold); text-decoration: underline; }

/* ====== Back to top ====== */
#backToTop.show {
  display: flex !important;
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== Article Page ====== */
.article-content h2 {
  color: var(--maroon);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.2rem 0 0.6rem;
  border-left: 5px solid var(--hotpink);
  padding-left: 10px;
}
.article-content h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}
.article-content p { margin: 0.6rem 0; line-height: 1.75; }
.article-content ul, .article-content ol {
  margin: 0.6rem 0 0.6rem 1.5rem;
  line-height: 1.75;
}
.article-content li { margin: 0.25rem 0; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.article-content table th {
  background: var(--hotpink);
  color: #fff;
  padding: 8px 12px;
  text-align: left;
}
.article-content table td {
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
}
.article-content table tr:nth-child(even) td { background: #fff7fb; }
.article-content strong { color: var(--maroon); }
.article-content blockquote {
  background: #fff7fb;
  border-left: 4px solid var(--hotpink);
  padding: 10px 15px;
  margin: 1rem 0;
  font-style: italic;
}

/* ===========================================
   LINK VISIBILITY (content area - so users know these are links)
   =========================================== */
.article-content a:not([class*="btn-"]),
main p a:not([class*="btn-"]),
.sr-content-link {
  color: #0b4ea2;
  text-decoration: underline;
  text-decoration-color: rgba(11, 78, 162, 0.55);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.article-content a:not([class*="btn-"]):hover,
main p a:not([class*="btn-"]):hover,
.sr-content-link:hover {
  color: var(--maroon);
  text-decoration-color: var(--maroon);
  text-decoration-thickness: 2px;
  background: #fff3bf;
  border-radius: 2px;
  padding: 0 2px;
  margin: 0 -2px;
}
.article-content a:not([class*="btn-"])::after {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 2px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b4ea2'%3E%3Cpath d='M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.15s;
}
.article-content a[target="_blank"]:not([class*="btn-"])::after { opacity: 0.6; }
.article-content a[target="_blank"]:not([class*="btn-"]):hover::after { opacity: 1; }

/* ===========================================
   FOOTER (Redesigned - clean, modern, structured)
   =========================================== */
.sr-footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #e5e7eb;
  margin-top: 32px;
  border-top: 4px solid var(--maroon);
}
.sr-footer-top {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--darkmaroon) 100%);
  padding: 24px 16px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sr-footer-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.sr-footer-top h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  position: relative;
}
.sr-footer-top p {
  font-size: 0.95rem;
  opacity: 0.95;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.sr-footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.sr-footer-col h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #ffd54f;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,213,79,0.3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.sr-footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #cbd5e1;
}
.sr-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sr-footer-col ul li { margin-bottom: 8px; }
.sr-footer-col ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0 4px 14px;
  position: relative;
  display: inline-block;
  transition: all 0.15s ease;
}
.sr-footer-col ul li a::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ffd54f;
  font-size: 0.8rem;
  transition: transform 0.15s ease;
}
.sr-footer-col ul li a:hover {
  color: #ffd54f;
  padding-left: 18px;
  text-decoration: none;
}
.sr-footer-col ul li a:hover::before { transform: translateX(2px); }

.sr-footer-brand-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffd54f;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.sr-footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.sr-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,213,79,0.25);
  padding: 7px 12px;
  border-radius: 6px;
  color: #e5e7eb;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}
.sr-footer-social a:hover {
  background: #ffd54f;
  color: #1a1a1a;
  border-color: #ffd54f;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255,213,79,0.25);
  text-decoration: none;
}
.sr-footer-disclaimer {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: #fecaca;
  line-height: 1.55;
}
.sr-footer-disclaimer strong { color: #fca5a5; }

.sr-footer-bottom {
  background: #000;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
  border-top: 1px solid #222;
}
.sr-footer-bottom a {
  color: #ffd54f;
  font-weight: 700;
  text-decoration: none;
}
.sr-footer-bottom a:hover { text-decoration: underline; }
.sr-footer-bottom-line { opacity: 0.9; }
.sr-footer-bottom-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1f2937;
}
.sr-footer-bottom-nav a {
  color: #d1d5db;
  font-size: 0.82rem;
  font-weight: 500;
}
.sr-footer-bottom-nav a:hover { color: #ffd54f; text-decoration: none; }

@media (max-width: 900px) {
  .sr-footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px 16px 20px; }
  .sr-footer-top h2 { font-size: 1.25rem; }
}
@media (max-width: 560px) {
  .sr-footer-main { grid-template-columns: 1fr; gap: 22px; }
  .sr-footer-bottom-nav { gap: 10px; font-size: 0.78rem; }
}

/* ====== Responsive fixes ====== */
@media (max-width: 640px) {
  .category-header { font-size: 0.95rem; }
  .section-title { font-size: 0.95rem; }
  .yojana-table th, .yojana-table td { padding: 6px 8px; font-size: 0.85rem; }
}

/* ====== Print friendly ====== */
@media print {
  nav, footer, .ad-slot, #backToTop { display: none !important; }
  body { background: #fff; }
}

/* ===========================================
   GLOBAL SEARCH BAR (Cross-browser safe)
   Works in Chrome, Edge, Firefox, Safari
   =========================================== */
.gs-strip {
  background: #2a3f8a;
  width: 100%;
  border-top: 3px solid #1a2d6b;
  border-left: 3px solid #000;
  border-right: 3px solid #000;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
}
.gs-form {
  position: relative;
  width: 100%;
  max-width: 860px;
  display: flex;
  align-items: center;
}
.gs-input {
  flex: 1;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 15px;
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  font-weight: 600;
  color: #111;
  outline: none;
  background: #ffffff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}
.gs-input:focus { box-shadow: 0 0 0 2px #ffd54f; }
.gs-btn {
  background: #A91F3F;
  color: #ffffff;
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease;
}
.gs-btn:hover { background: #7a1428; }
.gs-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none;
  max-height: 380px;
  overflow-y: auto;
  text-align: left;
}
.gs-dropdown.open { display: block !important; }
.gs-dropdown-header {
  padding: 8px 14px;
  background: #f9fafb;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e5e7eb;
}
.gs-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: #1f2937;
  font-size: 14px;
  transition: background 0.12s ease;
}
.gs-item:hover { background: #f3f4f6; }
.gs-item-title { display: flex; align-items: center; gap: 8px; }
.gs-item-title span.icon { color: #9ca3af; font-size: 13px; }
.gs-item-arrow { color: #d1d5db; font-size: 13px; }
.gs-no-result {
  padding: 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}
.gs-footer-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  background: #fff0f3;
  color: #A91F3F;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border-top: 1px solid #e5e7eb;
  transition: background 0.15s;
}
.gs-footer-link:hover { background: #ffe4e8; }
mark.gs-mark {
  background: #fef08a;
  color: #000;
  font-weight: 600;
  border-radius: 2px;
  padding: 0 2px;
}

