/*
Theme Name: ResultDekho Portal Theme
Theme URI: https://resultdekho.in/
Author: ResultDekho Research Team
Author URI: https://resultdekho.in/
Description: Official Class 10 & 12 Result Portal Theme for India (CBSE + 15+ State Boards).
Version: 1.4.0
License: GNU General Public License v2 or later
Text Domain: resultdekho
*/

/* ==========================================================================
   10thresult2027.co.in - Unified Official Portal Stylesheet
   Navy Blue (#0f2544 primary, #1a3c6e secondary) + Saffron (#c4281c accent)
   ========================================================================== */

:root {
  --navy-1: #0f2544;
  --navy-2: #1a3c6e;
  --navy-3: #254d86;
  --navy-4: #eaf1fb;
  --saffron-1: #c4281c;
  --saffron-2: #e03a2c;
  --saffron-light: #fff5f2;
  --gold: #f5b14e;
  --gold-bg: #fffbf0;
  --green: #1b7a3d;
  --green-bg: #dcfce7;
  --white: #ffffff;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #5a6573;
  --line: #d9dee5;
  --line-light: #e8ebf0;
  --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container-max: 1120px;
  --article-max: 880px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-2);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--saffron-1);
  text-decoration: underline;
}

/* ===== TOP BAR ===== */
.topbar {
  background: #2b040e;
  color: rgba(255, 241, 242, 0.88);
  font-size: 0.72rem;
  padding: 0.35rem 0;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(251, 191, 36, 0.22);
}

.topbar .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar .brand {
  font-weight: 700;
  color: #fef08a;
}

.topbar .tag {
  color: rgba(255, 241, 242, 0.75);
}

.topbar .topbar-links a {
  color: rgba(255, 241, 242, 0.85);
  margin-left: 0.85rem;
  font-size: 0.7rem;
}
.topbar .topbar-links a:hover {
  color: #fbbf24;
}

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 3px solid #881337;
  box-shadow: 0 2px 10px rgba(76, 5, 25, 0.05);
}

.header .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-block:hover {
  text-decoration: none;
}

.seal {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.seal svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text h1, .brand-text .site-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #4c0519;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-text .tagline {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.2rem;
  max-width: 520px;
  line-height: 1.4;
}

.header-meta {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.45;
}

.pill-status {
  display: inline-block;
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-meta {
  display: none;
}

/* ===== NAV BAR (Secondary) ===== */
.nav-strip {
  background: #4c0519;
  color: #fff;
  font-size: 0.82rem;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  border-bottom: 2px solid #2b040e;
}

.nav-strip .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  gap: 1.5rem;
}

.nav-strip a {
  color: rgba(255, 241, 242, 0.92);
  padding: 0.65rem 0;
  font-weight: 600;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.nav-strip a:hover {
  color: #fff;
  border-bottom-color: #fbbf24;
  text-decoration: none;
}

@media (min-width: 821px) {
  .nav-strip .wrap {
    overflow: visible;
  }
}

/* ===== NAV DROPDOWN MENU ===== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown .nav-dropbtn {
  color: rgba(255, 241, 242, 0.92);
  padding: 0.65rem 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.nav-dropdown .nav-dropbtn:hover,
.nav-dropdown:hover .nav-dropbtn,
.nav-dropdown.open .nav-dropbtn {
  color: #fff;
  border-bottom-color: #fbbf24;
}

.nav-dropdown .drop-arrow {
  font-size: 0.72rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .drop-arrow,
.nav-dropdown.open .drop-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 500px;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 38px rgba(15, 37, 68, 0.22);
  border: 1px solid var(--line);
  border-top: 3px solid #881337;
  padding: 1.1rem 1.25rem 0.85rem;
  z-index: 1000;
  white-space: normal;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown.open .nav-dropdown-content {
  display: block;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.dropdown-heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #881337;
  margin-bottom: 0.45rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #fee2e2;
}

.dropdown-col a {
  display: block !important;
  color: #1f2937 !important;
  padding: 0.35rem 0.5rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border-radius: 4px;
  border-bottom: none !important;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.35;
}

.dropdown-col a:hover {
  background: #fff1f2 !important;
  color: #9f1239 !important;
  text-decoration: none;
}

.dropdown-footer {
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}

.dropdown-footer a {
  display: inline-block !important;
  color: #881337 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}

.dropdown-footer a:hover {
  color: #4c0519 !important;
  text-decoration: underline;
}

/* ===== HERO (Homepage) ===== */
.hero {
  background:
    radial-gradient(ellipse 85% 65% at 50% 0%, rgba(225, 29, 72, 0.25) 0%, transparent 70%),
    linear-gradient(180deg, #4c0519 0%, #2b040e 65%, #180208 100%);
  color: #fff;
  padding: 3.2rem 1.25rem 2.8rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 191, 36, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.65;
  pointer-events: none;
}

.hero .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fef08a;
  margin-bottom: 1.1rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: #f59e0b;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h2, .hero .hero-heading {
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.hero .accent {
  color: #fbbf24;
}

.hero .lead {
  font-size: 1.02rem;
  color: rgba(255, 241, 242, 0.92);
  max-width: 700px;
  margin: 0 auto 1.2rem;
  line-height: 1.7;
}

.hero .tagline-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1.3rem;
  border-radius: 6px;
  max-width: 740px;
  margin: 0 auto 1.6rem;
}

.hero .tagline-box .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fcd34d;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.hero .tagline-box .tt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1e050b !important;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transition: all 0.15s ease;
}

.hero-cta:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e050b !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}

.hero-cta svg path {
  stroke: #1e050b !important;
}

.hero-cta-alt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #ffffff !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.15s ease;
}

.hero-cta-alt:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(251, 191, 36, 0.65);
  color: #fef08a !important;
  text-decoration: none;
}

.hero-foot {
  margin-top: 1.8rem;
  font-size: 0.76rem;
  color: rgba(255, 241, 242, 0.75);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===== COUNTDOWN STRIP ===== */
.countdown-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1.25rem;
}

.countdown-bar .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.countdown-bar .cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.countdown-bar .label {
  font-size: 0.82rem;
  color: var(--navy-1);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.countdown-row {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.countdown-cell {
  text-align: center;
  min-width: 52px;
  background: var(--navy-4);
  border: 1px solid #cdd9ee;
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
}

.countdown-cell .num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-1);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-cell .lbl {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 0.15rem;
}

.countdown-sep {
  color: var(--navy-2);
  font-weight: 800;
}

/* ===== CAPTURE / ALERT BAR ===== */
.capture {
  background: #fdfefe;
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 1.25rem;
}

.capture .wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.capture h3 {
  font-size: 1.15rem;
  color: var(--navy-1);
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.capture p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.capture-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
}

.capture-form input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  background: var(--bg);
}

.capture-form input:focus {
  border-color: var(--navy-2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
}

.capture-form button {
  padding: 0.6rem 1.2rem;
  background: var(--navy-1);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s;
}

.capture-form button:hover {
  background: var(--navy-2);
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.4rem 0.85rem;
  background: #25D366;
  color: #fff;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.15s;
}

.wa-link:hover {
  background: #1da85a;
  color: #fff;
  text-decoration: none;
}

/* ===== FILTER / SEARCH BAR ===== */
.filter-bar {
  max-width: var(--container-max);
  margin: 1.25rem auto 0;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  max-width: 380px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  background: #fff;
}

.search-input:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
}

/* ===== SECTION HEADERS ===== */
.section-head {
  padding: 1.8rem 1.25rem 0.6rem;
}

.section-head .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-head h2 {
  font-size: 1.35rem;
  color: var(--navy-1);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head .sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
  max-width: 800px;
}

/* ===== CARDS GRID ===== */
.cards-wrap {
  padding: 0.6rem 1.25rem 2rem;
}

.cards-wrap .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1rem;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 37, 68, 0.08);
  border-color: var(--navy-3);
}

.card.featured {
  border-color: #b5c7e3;
  background: #fbfcfe;
  border-top: 3px solid var(--navy-2);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-name {
  font-weight: 800;
  color: var(--navy-1);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.card-name a {
  color: var(--navy-1);
}

.card-name a:hover {
  color: var(--saffron-1);
}

.card-full {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.badge-coming {
  background: #fff5e6;
  color: var(--saffron-1);
  border: 1px solid #fde2dc;
}

.badge-top {
  background: #eaf1fb;
  color: var(--navy-1);
  border: 1px solid #cdd9ee;
}

.badge-declared {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid #bbf7d0;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.75rem;
  margin: 0.5rem 0 0.65rem;
  font-size: 0.82rem;
  background: #f8fafc;
  padding: 0.6rem 0.75rem;
  border-radius: 4px;
}

.card-grid .cr-lbl {
  color: var(--muted);
}

.card-grid .cr-val {
  font-weight: 700;
  color: var(--navy-1);
  text-align: right;
}

.card-official {
  font-size: 0.76rem;
  margin-bottom: 0.45rem;
}

.card-official a {
  color: var(--navy-3);
  font-weight: 600;
}

.card-footnote {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line-light);
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line-light);
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  background: var(--navy-1);
  color: #fff;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-portal:hover {
  background: var(--navy-2);
  color: #fff;
  text-decoration: none;
}

.wa-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  background: #25D366;
  color: #fff;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
}

.wa-mini:hover {
  background: #1da85a;
  color: #fff;
  text-decoration: none;
}

/* ===== BLOG POSTS PREVIEW GRID (Homepage) ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, box-shadow 0.15s;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 37, 68, 0.08);
  border-color: var(--navy-3);
}

.post-card .cat {
  font-size: 0.68rem;
  color: var(--saffron-1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.post-card h3 {
  font-size: 0.98rem;
  color: var(--navy-1);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.post-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.post-card .meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 0.5rem;
}

/* ===== ARTICLE & BOARD PAGE LAYOUT ===== */
.page-container {
  max-width: var(--article-max);
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
}

.breadcrumbs {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--navy-2);
}

.breadcrumbs span.sep {
  color: #a0aec0;
}

.page-article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 2.2rem;
  box-shadow: 0 2px 8px rgba(15, 37, 68, 0.04);
}

.article-header {
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.article-header h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: var(--navy-1);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Status Banner */
.status-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff8e6;
  border-left: 4px solid var(--saffron-1);
  padding: 0.9rem 1.2rem;
  border-radius: 0 4px 4px 0;
  margin: 1.2rem 0 1.8rem;
}

.status-banner.status-green {
  background: #dcfce7;
  border-left-color: var(--green);
}

.status-banner .badge {
  background: var(--saffron-1);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.status-banner.status-green .badge {
  background: var(--green);
}

.status-banner .text {
  font-size: 0.88rem;
  color: var(--navy-1);
  font-weight: 600;
}

/* Table of Contents */
.toc-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.4rem;
  margin: 1.5rem 0 2rem;
}

.toc-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-1);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}

.toc-list li a {
  color: var(--navy-2);
}

.toc-list li a:hover {
  color: var(--saffron-1);
}

/* Content Typography */
.content-body h2 {
  font-size: 1.35rem;
  color: var(--navy-1);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 2.2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--navy-4);
}

.content-body h3 {
  font-size: 1.1rem;
  color: var(--navy-2);
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.content-body p {
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.content-body strong {
  color: var(--navy-1);
}

.lead-text {
  font-size: 1.05rem;
  color: #2d3748;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 1.6rem;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  border: 1px solid var(--line);
}

table.data-table th {
  background: var(--navy-2);
  color: #fff;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

table.data-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--line-light);
}

table.data-table tr:nth-child(even) {
  background: #f8fafc;
}

table.data-table tr:hover {
  background: #f1f5f9;
}

/* Step-by-Step Instructions */
ol.steps-list {
  padding-left: 1.4rem;
  margin: 1.2rem 0 1.6rem;
}

ol.steps-list li {
  margin-bottom: 0.9rem;
  line-height: 1.65;
  padding-left: 0.3rem;
}

ol.steps-list li strong {
  color: var(--navy-1);
  display: block;
  margin-bottom: 0.15rem;
}

ul.bullet-list {
  padding-left: 1.4rem;
  margin: 1rem 0 1.4rem;
}

ul.bullet-list li {
  margin-bottom: 0.45rem;
  line-height: 1.65;
}

/* Highlight boxes */
.highlight-box {
  background: #f0f4f9;
  border-left: 4px solid var(--navy-2);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  margin: 1.4rem 0;
  font-size: 0.88rem;
}

.highlight-box.warning {
  background: #fff9e6;
  border-left-color: #d97706;
}

.sms-box {
  background: #eaf1fb;
  border: 1px solid #b5c7e3;
  border-radius: 6px;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
}

.sms-box strong {
  color: var(--navy-1);
}

.sms-code {
  display: inline-block;
  background: #fff;
  border: 1px solid #b5c7e3;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-1);
  margin: 0.3rem 0;
}

/* Screenshot Placeholder */
.screenshot-placeholder {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 6px;
  padding: 1.8rem;
  text-align: center;
  margin: 1.4rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.screenshot-placeholder strong {
  display: block;
  color: var(--navy-2);
  margin-bottom: 0.3rem;
}

/* FAQ Accordion / Box */
.faq-section {
  margin: 2.2rem 0;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-q {
  font-weight: 800;
  color: var(--navy-1);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.faq-a {
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Related Posts Strip */
.related-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.3rem 1.5rem;
  margin: 2.5rem 0 1.5rem;
}

.related-box h3 {
  font-size: 1.05rem;
  color: var(--navy-1);
  font-weight: 800;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid var(--navy-4);
  padding-bottom: 0.4rem;
}

.related-box ul {
  list-style: none;
  padding: 0;
}

.related-box li {
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
}

.related-box li a {
  color: var(--navy-2);
  font-weight: 600;
}

.related-box li a:hover {
  color: var(--saffron-1);
}

/* Trust Signals / Disclaimer */
.trust-disclaimer {
  background: #fef8f8;
  border: 1px solid #f9d8d6;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.55;
}

.trust-disclaimer strong {
  color: var(--saffron-1);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(180deg, #2b040e 0%, #150206 100%);
  border-top: 3px solid #d97706;
  color: rgba(255, 241, 242, 0.85);
  padding: 2.4rem 1.25rem 1.6rem;
  font-size: 0.78rem;
  line-height: 1.6;
}

footer .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
}

footer .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

footer h4 {
  color: #fef08a;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

footer p {
  color: rgba(255, 241, 242, 0.78);
  font-size: 0.76rem;
  margin-bottom: 0.5rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  margin-bottom: 0.4rem;
}

footer a {
  color: rgba(255, 241, 242, 0.88);
}

footer a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

footer .footer-disc {
  font-size: 0.7rem;
  color: rgba(255, 241, 242, 0.68);
  padding-top: 1rem;
  border-top: 1px solid rgba(251, 191, 36, 0.18);
  line-height: 1.55;
}

footer .footer-copy {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: rgba(255, 241, 242, 0.55);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .header .header-meta {
    display: none !important;
  }
  .footer-meta {
    display: block !important;
    text-align: center;
    margin: 1.25rem auto 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 241, 242, 0.08);
    border: 1px solid rgba(254, 205, 211, 0.18);
    border-radius: 6px;
    font-size: 0.8rem;
    color: rgba(255, 241, 242, 0.9);
    line-height: 1.5;
  }
  .footer-meta .pill-status {
    margin-bottom: 0.35rem;
    display: inline-block;
  }
  .footer-meta .footer-meta-text {
    font-size: 0.76rem;
    color: rgba(255, 241, 242, 0.75);
    margin-top: 0.2rem;
  }
  .hero {
    padding: 2.2rem 1rem;
  }
  .page-article {
    padding: 1.4rem 1.1rem;
  }
  footer .footer-top {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .cards-grid, .posts-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input {
    max-width: 100%;
  }
  .nav-dropdown-content {
    position: fixed;
    top: 130px;
    left: 0.75rem;
    right: 0.75rem;
    min-width: 0;
    max-width: calc(100vw - 1.5rem);
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  }
  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.15);
  }
}

/* ===== WPFORMS INTEGRATION ===== */
div.wpforms-container-full,
div.wpforms-container {
  margin: 0.75rem auto !important;
  max-width: 520px;
}
div.wpforms-container-full .wpforms-form .wpforms-field {
  padding: 6px 0 !important;
}
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=text] {
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  padding: 0.65rem 0.85rem !important;
  font-size: 0.9rem !important;
  background: var(--bg) !important;
  box-shadow: none !important;
  width: 100% !important;
}
div.wpforms-container-full .wpforms-form input[type=email]:focus,
div.wpforms-container-full .wpforms-form input[type=text]:focus {
  border-color: var(--navy-2) !important;
  background: #fff !important;
}
div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit {
  background: var(--saffron-1) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  padding: 0.65rem 1.6rem !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.1s ease !important;
  display: inline-block !important;
}
div.wpforms-container-full .wpforms-form button[type=submit].wpforms-submit:hover {
  background: var(--saffron-2) !important;
  transform: translateY(-1px);
}
div.wpforms-container-full .wpforms-confirmation-container-full {
  background: var(--green-bg) !important;
  border: 1px solid var(--green) !important;
  color: var(--green) !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 1rem;
  margin: 0.5rem 0;
}
