/*
Theme Name: Pariksha Sathi
Theme URI: https://noryzen.com
Author: Pariksha Sathi
Author URI: https://noryzen.com
Description: प्रतियोगी परीक्षा की तैयारी करने वाले विद्यार्थियों के लिए बना एक साफ़, तेज़ और पूरी तरह ब्लॉक-एडिटर से एडिट होने वाला वर्डप्रेस थीम। गणित, रीज़निंग, अंग्रेज़ी, हिंदी, GK/GS, करंट अफेयर्स, कंप्यूटर व इंटरव्यू तैयारी के लिए उपयुक्त।
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: exam-prep
Tags: education, block-theme, custom-colors, full-site-editing, one-column

यह एक ब्लॉक थीम (Full Site Editing) है — रंग व फ़ॉन्ट theme.json में परिभाषित हैं,
यह फाइल थीम-हेडर के अलावा कुछ अतिरिक्त कस्टम विज़ुअल (टिकर, कार्ड, OMR-स्टाइल बॉक्स) के लिए है।
*/

/* ---------- बेस ---------- */
body {
  background-color: #F1EFE6;
}
.ep-mono { font-family: var(--wp--preset--font-family--mono); }

/* ---------- हेडर ---------- */
.ep-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241,239,230,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(23,34,59,0.14);
  padding: 14px 32px !important;
}
.ep-header .wp-block-navigation a {
  font-weight: 500;
  text-decoration: none;
}
.ep-header .wp-block-site-title a {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  color: #132A50;
  text-decoration: none;
}

/* ---------- eyebrow लेबल ---------- */
.ep-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12.5px;
  color: #1F3F73;
  background: rgba(31,63,115,0.08);
  border: 1px dashed #1F3F73;
  border-radius: 999px;
  padding: 6px 14px;
}
.ep-eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #2E7D4F;
  display: inline-block;
}

/* ---------- स्टैट पट्टी ---------- */
.ep-stat-strip {
  border: 1px solid rgba(23,34,59,0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ep-stat-strip .wp-block-column {
  text-align: center;
  padding: 14px 10px !important;
  border-right: 1px dashed rgba(23,34,59,0.14);
}
.ep-stat-strip .wp-block-column:last-child { border-right: none; }
.ep-stat-value {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 20px;
  color: #1F3F73;
  font-weight: 600;
  display: block;
}
.ep-stat-label { font-size: 12px; color: #54607A; }

/* ---------- एडमिट-कार्ड / उत्तर पत्रक बॉक्स ---------- */
.ep-admit-card {
  background: #fff;
  border: 1px solid rgba(23,34,59,0.14) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  position: relative;
}
.ep-admit-card::before {
  content: "उत्तर पत्रक · OMR";
  position: absolute;
  top: -12px; left: 22px;
  background: #1F3F73;
  color: #fff;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
}
.ep-admit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(23,34,59,0.14);
  font-size: 13.5px;
}
.ep-admit-row:last-child { border-bottom: none; }
.ep-admit-bubbles { display: flex; gap: 8px; }
.ep-admit-bubbles span {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #1F3F73; display: inline-block;
}
.ep-admit-bubbles span.filled { background: #E7A233; }

/* ---------- स्क्रॉलिंग पट्टी (ticker) ---------- */
.ep-ticker {
  background: #1F3F73 !important;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0 !important;
}
.ep-ticker p {
  display: inline-block;
  color: #fff !important;
  font-size: 14px;
  padding-left: 100%;
  animation: ep-scroll 28s linear infinite;
  margin: 0;
}
@keyframes ep-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ep-ticker p { animation: none; }
}

/* ---------- सेक्शन हेडिंग ---------- */
.ep-section-head {
  max-width: 640px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

/* ---------- कार्ड ग्रिड (विषय / फीचर) ---------- */
.ep-card {
  background: #fff !important;
  border: 1px solid rgba(23,34,59,0.14) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ep-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px -16px rgba(23,34,59,0.4);
}
.ep-card-code {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  color: #C8841C;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.ep-card-icon { font-size: 26px; margin-bottom: 8px; line-height: 1; }
.ep-card h3 {
  font-size: 17px !important;
  color: #132A50 !important;
  margin-bottom: 6px !important;
}
.ep-card p { font-size: 13px !important; color: #54607A !important; margin: 0 !important; }

/* ---------- चरण (Steps) ---------- */
.ep-step-num {
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 600;
  font-size: 18px;
  color: #fff !important;
  background: #1F3F73;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px !important;
}

/* ---------- सूचना बैनर ---------- */
.ep-banner {
  background: #132A50 !important;
  border-radius: 18px !important;
  padding: 34px !important;
}
.ep-banner * { color: #fff; }
.ep-banner .ep-badge {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  background: rgba(231,162,51,0.18);
  color: #E7A233 !important;
  border: 1px solid #E7A233;
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-block;
}

/* ---------- बटन ---------- */
.wp-block-button__link {
  border-radius: 9px !important;
  font-weight: 600 !important;
}
.is-style-marigold .wp-block-button__link {
  background-color: #E7A233 !important;
  color: #132A50 !important;
  box-shadow: 0 3px 0 #C8841C;
}
.is-style-outline-blue .wp-block-button__link {
  background: transparent !important;
  border: 1.5px solid #1F3F73 !important;
  color: #1F3F73 !important;
}

/* ---------- फ़ूटर ---------- */
.ep-footer {
  border-top: 1px solid rgba(23,34,59,0.14);
  padding: 40px 32px 24px !important;
}

/* ---------- रिस्पॉन्सिव ---------- */
@media (max-width: 782px) {
  .ep-header { padding: 12px 18px !important; }
  .ep-admit-card { margin-top: 24px; }
}

/* =====================================================
   विस्तारित होमपेज — नए सेक्शन (v1.1)
===================================================== */

/* ---------- टॉप बार ---------- */
.ep-topbar {
  background: #132A50 !important;
  padding: 6px 32px !important;
  font-size: 12.5px;
  color: #c9d3e3 !important;
}
.ep-topbar a, .ep-topbar p, .ep-topbar span { color: #c9d3e3 !important; }
.ep-topbar .wp-block-buttons { gap: 14px !important; }

/* ---------- मेगा मेन्यू ---------- */
.ep-header .wp-block-navigation-submenu .wp-block-navigation__submenu-container {
  background: #fff;
  border: 1px solid rgba(23,34,59,0.14);
  border-radius: 10px;
  padding: 8px !important;
  box-shadow: 0 16px 32px -18px rgba(23,34,59,0.35);
  min-width: 210px;
}
.ep-header .wp-block-navigation-submenu .wp-block-navigation-item__content {
  padding: 8px 12px !important;
  border-radius: 6px;
}
.ep-header .wp-block-navigation-submenu .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
  background: #F1EFE6;
}

/* ---------- ब्रेकिंग न्यूज़ / अपडेट पट्टी — पूरी स्टाइल नीचे v1.5 में "टिकट लुक" सेक्शन में है ---------- */
.ep-breaking { overflow: hidden; }

/* ---------- लिंक-लिस्ट (जॉब्स / एडमिट कार्ड / रिज़ल्ट / करंट अफेयर्स) ---------- */
.ep-link-list { border: 1px solid rgba(23,34,59,0.14); border-radius: 12px; overflow: hidden; background: #fff; }
.ep-link-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px dashed rgba(23,34,59,0.14);
}
.ep-link-row:last-child { border-bottom: none; }
.ep-link-row .ep-link-title { font-weight: 500; font-size: 14px; }
.ep-link-date {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px; color: #54607A;
  background: #F1EFE6; padding: 3px 9px; border-radius: 999px;
  flex-shrink: 0;
}
.ep-link-new {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px; color: #2E7D4F; background: rgba(46,125,79,0.12);
  padding: 3px 8px; border-radius: 999px; margin-right: 6px;
}

/* ---------- स्टैट्स/डैशबोर्ड मॉकअप ---------- */
.ep-dash-mock {
  background: #fff !important; border: 1px solid rgba(23,34,59,0.14) !important;
  border-radius: 16px !important; padding: 24px !important;
}
.ep-dash-bar { background: #F1EFE6; border-radius: 999px; height: 10px; overflow: hidden; margin: 6px 0 16px; }
.ep-dash-bar-fill { background: #E7A233; height: 100%; border-radius: 999px; display: block; }

/* ---------- लीडरबोर्ड ---------- */
.ep-leader-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  border-bottom: 1px dashed rgba(23,34,59,0.14);
}
.ep-leader-row:last-child { border-bottom: none; }
.ep-leader-rank {
  font-family: var(--wp--preset--font-family--mono); font-weight: 700;
  width: 30px; text-align: center; color: #1F3F73;
}
.ep-leader-rank.gold { color: #C8841C; }

/* ---------- टेस्टीमोनियल ---------- */
.ep-testimonial {
  background: #fff !important; border: 1px solid rgba(23,34,59,0.14) !important;
  border-radius: 14px !important; padding: 22px !important;
}
.ep-testimonial .ep-quote-mark { font-size: 30px; color: #E7A233; font-family: var(--wp--preset--font-family--display); line-height: 1; }

/* ---------- ब्लॉग कार्ड ---------- */
.ep-blog-card { border: 1px solid rgba(23,34,59,0.14) !important; border-radius: 12px !important; overflow: hidden; background: #fff !important; }
.ep-blog-thumb { background: linear-gradient(135deg,#1F3F73,#132A50); height: 120px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.ep-blog-card .wp-block-group { padding: 16px !important; }

/* ---------- ऐप / सोशल बैज ---------- */
.ep-app-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 10px; padding: 10px 16px;
  color: #132A50 !important; font-weight: 600; font-size: 13.5px;
}

/* ---------- न्यूज़लेटर ---------- */
.ep-newsletter-box {
  display: flex; gap: 10px; max-width: 460px; flex-wrap: wrap;
}
.ep-newsletter-box input[type="email"] {
  flex: 1; min-width: 200px; padding: 12px 14px; border-radius: 9px;
  border: 1px solid rgba(23,34,59,0.2); font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
}

/* ---------- FAQ (core/details) ---------- */
.ep-faq-list > * + * { margin-top: 10px !important; }
.ep-faq-list details {
  border: 1px solid rgba(23,34,59,0.14); border-radius: 10px;
  padding: 14px 18px; background: #fff;
}
.ep-faq-list summary {
  font-weight: 600; color: #132A50; cursor: pointer; font-size: 15px;
}
.ep-faq-list details p { margin-top: 10px; color: #54607A; font-size: 14px; }

/* ---------- छोटे टूल आइकन ग्रिड ---------- */
.ep-tool-chip {
  border: 1px solid rgba(23,34,59,0.14) !important; border-radius: 12px !important;
  padding: 16px !important; text-align: center; background: #fff !important;
}
.ep-tool-chip .ep-card-icon { font-size: 24px; margin-bottom: 6px; }

/* ---------- रिस्पॉन्सिव अतिरिक्त ---------- */
@media (max-width: 782px) {
  .ep-topbar { padding: 6px 18px !important; }
}

/* =====================================================
   v1.2 — रीडिज़ाइन: जॉब्स/एडमिट कार्ड/रिज़ल्ट/करंट अफेयर्स/
   वीडियो/डैशबोर्ड/लीडरबोर्ड/स्टोरीज़/टूल्स/ब्लॉग/ऐप/कनेक्ट/
   न्यूज़लेटर/FAQ — पेज व होमपेज टीज़र दोनों के लिए
===================================================== */

/* ---------- रिच जॉब/एडमिट-कार्ड/रिज़ल्ट कार्ड (लिस्ट की जगह कार्ड) ---------- */
.ep-info-card {
  background: #fff !important; border: 1px solid rgba(23,34,59,0.14) !important;
  border-radius: 12px !important; padding: 18px 20px !important;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.ep-info-card .ep-info-left { display: flex; align-items: center; gap: 14px; }
.ep-info-icon {
  width: 44px; height: 44px; border-radius: 10px; background: #F1EFE6;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.ep-info-card h3 { font-size: 15px !important; margin: 0 0 3px 0 !important; color: #132A50 !important; }
.ep-info-meta { font-size: 12px; color: #54607A; }
.ep-pill { font-family: var(--wp--preset--font-family--mono); font-size: 10.5px; padding: 3px 9px; border-radius: 999px; margin-right: 6px; display: inline-block; }
.ep-pill-new { background: rgba(46,125,79,0.12); color: #2E7D4F; }
.ep-pill-closing { background: rgba(184,68,46,0.1); color: #B8442E; }
.ep-mini-btn {
  font-size: 12.5px; font-weight: 600; color: #fff !important; background: #1F3F73;
  padding: 8px 16px; border-radius: 7px; white-space: nowrap; text-decoration: none !important;
}

/* ---------- करंट अफेयर्स — तारीख़ बॉक्स स्टाइल ---------- */
.ep-ca-card { background: #fff !important; border: 1px solid rgba(23,34,59,0.14) !important; border-radius: 12px !important; padding: 0 !important; overflow: hidden; display: flex; }
.ep-ca-date { background: #1F3F73; color: #fff; min-width: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; }
.ep-ca-date .num { font-family: var(--wp--preset--font-family--mono); font-size: 22px; font-weight: 700; line-height: 1; }
.ep-ca-date .mon { font-size: 11px; }
.ep-ca-body { padding: 14px 16px; flex: 1; }
.ep-ca-body h3 { font-size: 14.5px !important; margin: 0 0 4px 0 !important; }

/* ---------- वीडियो कार्ड — बेहतर थंबनेल ---------- */
.ep-video-card { border: 1px solid rgba(23,34,59,0.14) !important; border-radius: 14px !important; overflow: hidden; background: #fff !important; }
.ep-video-thumb {
  background: linear-gradient(135deg,#1F3F73,#132A50); height: 140px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.ep-video-play {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: #1F3F73;
}
.ep-video-duration {
  position: absolute; bottom: 8px; right: 10px; background: rgba(19,42,80,0.85); color: #fff;
  font-family: var(--wp--preset--font-family--mono); font-size: 10.5px; padding: 2px 7px; border-radius: 5px;
}

/* ---------- डैशबोर्ड — बड़ा स्टैट कार्ड ---------- */
.ep-metric-card { background: #fff !important; border: 1px solid rgba(23,34,59,0.14) !important; border-radius: 14px !important; padding: 20px !important; text-align: center; }
.ep-metric-value { font-family: var(--wp--preset--font-family--mono); font-size: 28px; color: #1F3F73; font-weight: 700; display: block; }
.ep-metric-label { font-size: 12.5px; color: #54607A; }

/* ---------- लीडरबोर्ड — एवतार गोला ---------- */
.ep-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #1F3F73; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.ep-leader-row.top3 { background: linear-gradient(90deg, rgba(231,162,51,0.08), transparent); border-radius: 10px; }

/* ---------- टेस्टीमोनियल — तारे ---------- */
.ep-stars { color: #E7A233; font-size: 14px; letter-spacing: 2px; }

/* ---------- टूल कार्ड — विवरण सहित ---------- */
.ep-tool-card { border: 1px solid rgba(23,34,59,0.14) !important; border-radius: 12px !important; padding: 18px !important; background: #fff !important; }
.ep-tool-card h3 { font-size: 15px !important; margin: 8px 0 4px 0 !important; }

/* ---------- सेकेंडरी बटन आउटलाइन (गहरे बैकग्राउंड पर) ---------- */
.is-style-outline-white .wp-block-button__link { background: transparent !important; border: 1.5px solid rgba(255,255,255,0.5) !important; color: #fff !important; }

/* ---------- फ़ीचर लिस्ट (चेकमार्क) ---------- */
.ep-check-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.ep-check-list li { padding: 6px 0 6px 26px; position: relative; font-size: 14px; }
.ep-check-list li::before { content: "✓"; position: absolute; left: 0; color: #2E7D4F; font-weight: 700; }

/* ---------- FAQ कैटेगरी हेडिंग ---------- */
.ep-faq-cat { font-family: var(--wp--preset--font-family--mono); font-size: 12px; color: #C8841C; margin: 22px 0 10px !important; text-transform: uppercase; letter-spacing: .04em; }
.ep-faq-cat:first-child { margin-top: 0 !important; }

/* ---------- पेज हीरो (हर इनर पेज के ऊपर) ---------- */
.ep-page-hero { padding: 46px 0 34px !important; }
.ep-page-hero h1 { font-size: 30px !important; }

/* ---------- रिस्पॉन्सिव ---------- */
@media (max-width: 600px) {
  .ep-ca-card { flex-direction: column; }
  .ep-ca-date { flex-direction: row; gap: 8px; width: 100%; }
  .ep-info-card { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   v1.3 — एंगेजिंग/अपीलिंग रीडिज़ाइन (रिसर्च-बेस्ड)
   कार्ड होवर, टिकर पॉज़-ऑन-होवर, हीरो स्लाइडर
===================================================== */

/* ---------- कार्ड — लिफ्ट + शैडो + एक्सेंट टॉप बॉर्डर (रिसर्च: transform/opacity ही एनिमेट करें) ---------- */
.ep-card, .ep-info-card, .ep-testimonial, .ep-tool-card, .ep-metric-card, .ep-video-card, .ep-blog-card {
  position: relative;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}
.ep-card::before, .ep-tool-card::before, .ep-metric-card::before {
  content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 3px;
  background: linear-gradient(90deg, #E7A233, #1F3F73);
  border-radius: 0 0 4px 4px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.ep-card:hover, .ep-info-card:hover, .ep-testimonial:hover, .ep-tool-card:hover, .ep-metric-card:hover, .ep-video-card:hover, .ep-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 32px -18px rgba(23,34,59,0.32);
  border-color: rgba(31,63,115,0.28) !important;
}
.ep-card:hover::before, .ep-tool-card:hover::before, .ep-metric-card:hover::before { transform: scaleX(1); }
.ep-card:active, .ep-info-card:active, .ep-tool-card:active { transform: translateY(-2px) scale(.98); }

.ep-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(31,63,115,0.09), rgba(231,162,51,0.14));
  transition: transform .25s ease, background .25s ease;
}
.ep-card:hover .ep-card-icon { transform: scale(1.08) rotate(-4deg); background: linear-gradient(135deg, rgba(31,63,115,0.16), rgba(231,162,51,0.22)); }

.ep-info-card, .ep-video-card, .ep-blog-card, .ep-testimonial, .ep-tool-card, .ep-metric-card { border-radius: 14px !important; }
.ep-mini-btn { transition: background .2s ease, transform .2s ease; }
.ep-info-card:hover .ep-mini-btn { background: #C8841C; transform: translateX(2px); }

.ep-video-thumb { transition: transform .3s ease; overflow: hidden; }
.ep-video-card:hover .ep-video-thumb { transform: scale(1.03); }
.ep-video-play { transition: transform .25s ease; }
.ep-video-card:hover .ep-video-play { transform: scale(1.15); }

/* सम्मानित करें prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ep-card, .ep-info-card, .ep-testimonial, .ep-tool-card, .ep-metric-card, .ep-video-card, .ep-blog-card,
  .ep-card-icon, .ep-video-thumb, .ep-video-play { transition: none !important; }
}

/* ---------- टिकर — होवर पर रुके (रिसर्च: animation-play-state: paused) ---------- */
.ep-breaking-track p { transition: opacity .2s ease; }
.ep-breaking-track:hover p { animation-play-state: paused; }
.ep-breaking-badge { animation: ep-pulse 1.8s ease-in-out infinite; }
@keyframes ep-pulse { 0%,100%{ opacity:1; } 50%{ opacity:.55; } }
@media (prefers-reduced-motion: reduce) {
  .ep-breaking-badge { animation: none; }
}

/* =====================================================
   हीरो स्लाइडर (मल्टी-स्लाइड, एक्सेसिबल — रिसर्च-बेस्ड)
===================================================== */
.ep-hero-slider {
  position: relative; overflow: hidden; border-radius: 18px;
  padding: 6px 0; /* शैडो कटने से बचाने के लिए थोड़ी जगह */
}
.ep-hero-track {
  display: flex; transition: transform .5s cubic-bezier(.2,.8,.2,1);
  align-items: stretch;
}
.ep-hero-slide {
  flex: 0 0 100%; max-width: 100%; min-width: 100%;
  padding: 8px 3px; box-sizing: border-box; /* ज़रूरी: वरना पैडिंग से चौड़ाई 100% से ज़्यादा हो जाती थी */
  overflow-wrap: break-word; word-break: break-word;
}
.ep-hero-slide h1, .ep-hero-slide p { overflow-wrap: break-word; word-break: break-word; }
.ep-hero-slide h1 {
  font-size: clamp(24px, 4.2vw + 12px, 44px) !important; /* स्मूद रिस्पॉन्सिव टाइपोग्राफ़ी */
  line-height: 1.2 !important;
}
.ep-hero-slide .wp-block-buttons {
  row-gap: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .ep-hero-track { transition: none; }
}

.ep-hero-controls {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 18px;
}
.ep-hero-arrow, .ep-hero-pause {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(23,34,59,0.16);
  background: #fff; color: #1F3F73; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.ep-hero-arrow:hover, .ep-hero-pause:hover { background: #1F3F73; color: #fff; transform: translateY(-1px); }
.ep-hero-arrow:focus-visible, .ep-hero-pause:focus-visible, .ep-hero-dot:focus-visible {
  outline: 2px solid #1F3F73; outline-offset: 2px;
}
.ep-hero-dots { display: flex; gap: 8px; }
.ep-hero-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(23,34,59,0.22);
  cursor: pointer; padding: 0; transition: background .2s ease, transform .2s ease;
}
.ep-hero-dot.is-active { background: #E7A233; transform: scale(1.25); }
.ep-hero-pause .icon-pause { display: none; }
.ep-hero-pause .icon-play { display: inline; }
.ep-hero-pause[data-playing="true"] .icon-pause { display: inline; }
.ep-hero-pause[data-playing="true"] .icon-play { display: none; }
.ep-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 782px) {
  .ep-hero-slider { border-radius: 12px; }
}

/* =====================================================
   v1.4 — बग-फिक्स, मोबाइल पॉलिश, पढ़ने में आसानी
===================================================== */

/* ---------- स्टिकी हेडर की वजह से anchor-jump पर कंटेंट छुपने की समस्या ठीक करें ---------- */
main [id] { scroll-margin-top: 132px; }
@media (max-width: 782px) {
  main [id] { scroll-margin-top: 96px; }
}

/* ---------- पढ़ने में आसानी — टेक्स्ट की लाइन-लंबाई नियंत्रित रखें ---------- */
.ep-section-head p, .ep-page-hero p { max-width: 62ch; margin-left: auto; margin-right: auto; }
.ep-card p, .ep-tool-card p, .ep-testimonial p { line-height: 1.55; }

/* ---------- हीरो स्लाइडर — मोबाइल पॉलिश ---------- */
@media (max-width: 782px) {
  .ep-hero-slide .ep-admit-card { margin-top: 20px; width: 100%; box-sizing: border-box; }
  .ep-hero-arrow, .ep-hero-pause { width: 44px; height: 44px; } /* टच टारगेट कम से कम 44px */
  .ep-hero-controls { gap: 10px; flex-wrap: wrap; margin-top: 14px; }
}
@media (max-width: 480px) {
  .ep-hero-slide .wp-block-buttons { flex-direction: column; align-items: stretch; }
  .ep-hero-slide .wp-block-button { width: 100%; }
  .ep-hero-slide .wp-block-button__link { text-align: center; width: 100%; box-sizing: border-box; }
  .ep-hero-slide .ep-admit-row { font-size: 12.5px; }
}

/* ---------- मेगा मेन्यू — मोबाइल पर ओवरले साफ़ दिखे ---------- */
@media (max-width: 782px) {
  .ep-header .wp-block-navigation__responsive-container.is-menu-open {
    background: #fff;
  }
  .ep-header .wp-block-navigation-item { font-size: 16px; padding: 6px 0; }
}

/* ---------- कार्ड ग्रिड — छोटी स्क्रीन पर 1 कॉलम (पहले से मौजूद डिफ़ॉल्ट WP behaviour को पक्का करें) ---------- */
@media (max-width: 600px) {
  .ep-info-card { padding: 16px !important; }
  .ep-info-card .ep-info-left { width: 100%; }
  .ep-mini-btn { width: 100%; text-align: center; }
}

/* ---------- टॉप बार — छोटी स्क्रीन पर कम ज़रूरी हिस्सा छुपाएँ ---------- */
@media (max-width: 480px) {
  .ep-topbar .wp-block-buttons { display: none; }
}

/* =====================================================
   v1.5 — क्विज़ पैटर्न + टिकर को "टिकट" जैसा लुक
===================================================== */

/* ---------- ब्रेकिंग/अपडेट पट्टी — अब बोर्डिंग-पास/टिकट जैसा लुक ---------- */
.ep-breaking {
  background: linear-gradient(90deg, #1F3F73, #132A50) !important;
  border-top: none !important; border-bottom: none !important;
  padding: 0 !important;
}
.ep-breaking-inner { padding: 0 !important; gap: 0 !important; align-items: stretch; }
.ep-breaking-badge {
  background: #E7A233 !important; color: #132A50 !important;
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 700; font-size: 12px; letter-spacing: .03em;
  padding: 11px 18px; display: flex; align-items: center; gap: 6px;
  flex-shrink: 0; position: relative; margin: 0 !important;
  border-right: 2px dashed rgba(19,42,80,0.35);
}
.ep-breaking-badge::before { content: "🎫 "; }
.ep-breaking-track { flex: 1; overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.ep-breaking-track p {
  display: inline-block; margin: 0 !important; color: #fff !important; font-size: 13.5px;
  padding: 11px 0 11px 100%;
  animation: ep-scroll 30s linear infinite;
}
.ep-breaking-track:hover p { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ep-breaking-track p { animation: none; padding-left: 20px; }
}
@media (max-width: 600px) {
  .ep-breaking-badge { padding: 8px 12px; font-size: 10.5px; }
  .ep-breaking-badge::before { content: ""; }
}

/* =====================================================
   क्विज़ कार्ड (रिसर्च-आधारित: बड़े क्लिक करने योग्य ऑप्शन,
   प्रोग्रेस बार, टाइमर, रंगीन सही/ग़लत फीडबैक, लेटर लेबल)
===================================================== */
.ep-quiz-card {
  background: #fff; border: 1px solid rgba(23,34,59,0.14); border-radius: 18px;
  padding: 0; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(23,34,59,0.35);
}
.ep-quiz-head {
  background: linear-gradient(90deg, #132A50, #1F3F73); color: #fff;
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ep-quiz-tag {
  font-family: var(--wp--preset--font-family--mono); font-size: 11px;
  background: rgba(231,162,51,0.2); color: #E7A233; padding: 4px 10px; border-radius: 999px;
}
.ep-quiz-timer {
  font-family: var(--wp--preset--font-family--mono); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.ep-quiz-progress { height: 5px; background: rgba(255,255,255,0.18); }
.ep-quiz-progress-fill { height: 100%; background: #E7A233; }
.ep-quiz-body { padding: 22px 22px 24px; }
.ep-quiz-qnum { font-family: var(--wp--preset--font-family--mono); font-size: 12px; color: #54607A; margin-bottom: 6px; display: block; }
.ep-quiz-question { font-size: 17px; font-weight: 600; color: #17223B; margin: 0 0 18px; line-height: 1.5; }
.ep-quiz-options { display: flex; flex-direction: column; gap: 10px; }
.ep-quiz-option {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid rgba(23,34,59,0.16); border-radius: 10px; padding: 12px 14px;
  font-size: 14.5px; color: #17223B; transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.ep-quiz-option:hover { border-color: #1F3F73; background: rgba(31,63,115,0.04); transform: translateX(2px); }
.ep-quiz-option .letter {
  width: 26px; height: 26px; border-radius: 50%; background: #F1EFE6; color: #1F3F73;
  font-family: var(--wp--preset--font-family--mono); font-weight: 700; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ep-quiz-option.is-correct { border-color: #2E7D4F; background: rgba(46,125,79,0.08); }
.ep-quiz-option.is-correct .letter { background: #2E7D4F; color: #fff; }
.ep-quiz-option.is-wrong { border-color: #B8442E; background: rgba(184,68,46,0.07); }
.ep-quiz-option.is-wrong .letter { background: #B8442E; color: #fff; }
.ep-quiz-option .mark { margin-left: auto; font-weight: 700; }
.ep-quiz-option.is-correct .mark { color: #2E7D4F; }
.ep-quiz-option.is-wrong .mark { color: #B8442E; }
.ep-quiz-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-top: 1px dashed rgba(23,34,59,0.14);
}
.ep-quiz-next {
  font-family: var(--wp--preset--font-family--mono); font-size: 12.5px; font-weight: 600; color: #1F3F73;
  margin: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  .ep-quiz-option { transition: none; }
}
@media (max-width: 600px) {
  .ep-quiz-question { font-size: 15.5px; }
  .ep-quiz-head { flex-wrap: wrap; }
}

/* =====================================================
   v1.6 — UI/UX एन्हांसमेंट: बैज सिस्टम, टैब्स, सेक्शन हेडर CTA,
   एग्ज़ाम कार्ड, कंटेंट डेंसिटी सपोर्ट
===================================================== */

/* ---------- यूनिवर्सल बैज सिस्टम ---------- */
.ep-badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--wp--preset--font-family--mono); font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.ep-badge-new { background: rgba(46,125,79,0.12); color: #2E7D4F; }
.ep-badge-updated { background: rgba(31,63,115,0.1); color: #1F3F73; }
.ep-badge-important { background: rgba(184,68,46,0.1); color: #B8442E; }
.ep-badge-open { background: rgba(46,125,79,0.12); color: #2E7D4F; }
.ep-badge-closed { background: rgba(84,96,122,0.12); color: #54607A; }
.ep-badge-level { background: rgba(231,162,51,0.15); color: #C8841C; }
.ep-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ep-card-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(23,34,59,0.12); font-size: 11.5px; color: #54607A; }

/* ---------- सेक्शन हेडर — आइकन + View All बटन सपोर्ट ---------- */
.ep-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.ep-section-head-row .ep-section-head { text-align: left; margin: 0 !important; max-width: 640px; }
.ep-section-icon { font-size: 22px; margin-right: 8px; }
.ep-view-all { flex-shrink: 0; }
@media (max-width: 600px) {
  .ep-section-head-row { flex-direction: column; align-items: flex-start; }
  .ep-section-head-row .ep-section-head { text-align: left; }
}

/* ---------- कैटेगरी टैब्स (एक्सेसिबल, JS-नियंत्रित) ---------- */
.ep-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.ep-tab {
  font-family: var(--wp--preset--font-family--body); font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid rgba(23,34,59,0.16);
  background: #fff; color: #54607A; cursor: pointer; transition: all .2s ease;
}
.ep-tab:hover { border-color: #1F3F73; color: #1F3F73; }
.ep-tab.is-active { background: #1F3F73; border-color: #1F3F73; color: #fff; }
.ep-tab:focus-visible { outline: 2px solid #1F3F73; outline-offset: 2px; }
.ep-tab-panel-item[hidden] { display: none !important; }
.ep-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ep-chip {
  font-family: var(--wp--preset--font-family--body); font-size: 12.5px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(23,34,59,0.14);
  background: #fff; color: #54607A; display: inline-block;
}
@media (max-width: 600px) {
  .ep-chip-row { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .ep-chip { flex-shrink: 0; }
}
@media (max-width: 600px) {
  .ep-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .ep-tab { flex-shrink: 0; }
}

/* ---------- एग्ज़ाम कार्ड (Popular Exams — रिच वर्ज़न) ---------- */
.ep-exam-card {
  background: #fff !important; border: 1px solid rgba(23,34,59,0.14) !important; border-radius: 14px !important;
  padding: 20px !important; display: flex; flex-direction: column;
}
.ep-exam-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.ep-exam-icon {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(31,63,115,0.1), rgba(231,162,51,0.16));
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.ep-exam-card h3 { font-size: 16px !important; margin: 0 0 4px 0 !important; color: #132A50 !important; }
.ep-exam-card p.desc { font-size: 13px !important; color: #54607A !important; margin: 4px 0 0 !important; }

/* ---------- कंटेंट-डेंस ग्रिड (6 आइटम — 3 कॉलम x 2 रो) ---------- */
.ep-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .ep-grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ep-grid-6 { grid-template-columns: 1fr; } }

/* ---------- FAQ कैटेगरी — पर्याप्त कंटेंट डेंसिटी सुनिश्चित करने हेतु स्पेसिंग ---------- */
.ep-faq-list details + p.ep-faq-cat { margin-top: 26px !important; }

/* ---------- प्रीमियम पॉलिश — शैडो/रेडियस/स्पेसिंग की एकरूपता ---------- */
.ep-card, .ep-info-card, .ep-exam-card, .ep-testimonial, .ep-tool-card, .ep-metric-card, .ep-video-card, .ep-blog-card {
  box-shadow: 0 1px 2px rgba(23,34,59,0.04);
}
.ep-section { scroll-margin-top: 132px; }

/* =====================================================
   v1.7 — करंट अफेयर्स CPT: डायनामिक कार्ड, कैटेगरी चिप्स,
   सिंगल पोस्ट व्यू, पैजिनेशन
===================================================== */

/* Query Loop से बने कार्ड — वही ep-ca-card लुक, अब डायनामिक डेटा के साथ */
.ep-ca-dyn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .ep-ca-dyn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ep-ca-dyn-grid { grid-template-columns: 1fr; } }

.ep-ca-dyn-card {
  background: #fff; border: 1px solid rgba(23,34,59,0.14); border-radius: 12px;
  overflow: hidden; display: flex; transition: transform .2s ease, box-shadow .2s ease;
}
.ep-ca-dyn-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -18px rgba(23,34,59,0.35); }
.ep-ca-dyn-date {
  background: #1F3F73; color: #fff; min-width: 60px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px;
}
.ep-ca-dyn-date .wp-block-post-date {
  font-family: var(--wp--preset--font-family--mono); color: #fff !important; display: block; margin: 0 !important;
}
.ep-ca-dyn-date .ep-dd { font-size: 20px; font-weight: 700; line-height: 1.1; }
.ep-ca-dyn-date .ep-mm { font-size: 11px; }
.ep-ca-dyn-body { padding: 14px 16px; flex: 1; min-width: 0; }
.ep-ca-dyn-body .wp-block-post-terms {
  font-family: var(--wp--preset--font-family--mono); font-size: 10.5px; font-weight: 600;
  color: #C8841C !important; text-transform: uppercase; letter-spacing: .02em; display: block; margin-bottom: 4px;
}
.ep-ca-dyn-body .wp-block-post-terms a { color: #C8841C !important; text-decoration: none; }
.ep-ca-dyn-body h3.wp-block-post-title { font-size: 15px !important; margin: 0 0 6px 0 !important; line-height: 1.4; }
.ep-ca-dyn-body h3.wp-block-post-title a { color: #132A50 !important; text-decoration: none; }
.ep-ca-dyn-body h3.wp-block-post-title a:hover { color: #1F3F73 !important; }
.ep-ca-dyn-body .wp-block-post-excerpt { font-size: 13px !important; color: #54607A !important; margin: 0 0 8px !important; }
.ep-ca-dyn-body .wp-block-read-more {
  font-family: var(--wp--preset--font-family--mono); font-size: 11.5px; font-weight: 600;
  color: #1F3F73 !important; text-decoration: none !important;
}

/* कैटेगरी चिप्स (core/categories ब्लॉक को चिप जैसा दिखाना) */
.ep-ca-categories.wp-block-categories { list-style: none !important; padding: 0 !important; margin: 0 0 28px !important; display: flex !important; flex-wrap: wrap; gap: 8px; }
.ep-ca-categories.wp-block-categories li { display: inline-block; }
.ep-ca-categories.wp-block-categories a {
  display: inline-block; font-size: 13px; font-weight: 600; text-decoration: none !important;
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(23,34,59,0.16);
  background: #fff; color: #54607A !important; transition: all .2s ease;
}
.ep-ca-categories.wp-block-categories a:hover { border-color: #1F3F73; color: #1F3F73 !important; }
.current-ca_category .ep-ca-categories.wp-block-categories a[href*="/current-affairs-category/"] { }

/* पैजिनेशन */
.wp-block-query-pagination { margin-top: 30px !important; justify-content: center !important; gap: 10px !important; }
.wp-block-query-pagination a, .wp-block-query-pagination-numbers {
  font-family: var(--wp--preset--font-family--mono); font-size: 13px; color: #1F3F73;
}
.wp-block-query-pagination .current { font-weight: 700; color: #E7A233; }

/* सिंगल करंट अफेयर्स पोस्ट व्यू */
.ep-single-ca .wp-block-post-terms { font-family: var(--wp--preset--font-family--mono); font-size: 11px; color: #C8841C; text-transform: uppercase; }
.ep-single-ca .wp-block-post-terms a { color: #C8841C; text-decoration: none; }
.ep-single-ca h1.wp-block-post-title { margin: 10px 0 12px !important; }
.ep-single-ca .wp-block-post-date { font-family: var(--wp--preset--font-family--mono); font-size: 13px; color: #54607A; }
.ep-single-ca .entry-content { max-width: 72ch; font-size: 16px; line-height: 1.75; margin-top: 22px; }
.ep-single-ca .entry-content p { margin-bottom: 16px; }
.ep-single-ca .wp-block-post-featured-image { border-radius: 14px; overflow: hidden; margin: 20px 0; }
.wp-block-post-navigation-link { font-size: 13.5px; margin-top: 36px; }
.wp-block-post-navigation-link a { color: #1F3F73; text-decoration: none; font-weight: 600; }
