/*
Theme Name: Shikshasutra Pro (GeneratePress Child)
Theme URI: https://shikshasutra.in/
Description: Elite Government Jobs & Education Portal Child Theme for GeneratePress. 100% human educational authority design with zero generic AI look. Mobile-first, sub-second performance.
Author: Shikshasutra Editorial Team
Author URI: https://shikshasutra.in/
Template: generatepress
Version: 2.2.0
*/

/* ==========================================================================
   GENERATEPRESS PARENT ARTIFACT SUPPRESSION
   ========================================================================== */
header#masthead.site-header,
.site-header,
header.site-header,
nav#site-navigation.main-navigation,
.main-navigation:not(.masthead-nav nav),
.generate-back-to-top,
.sidebar:not(.sidebar-column),
#secondary,
.right-sidebar .site-content,
footer.site-info,
.site-info,
.site-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.site-content {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   SHIKSHASUTRA (शिक्षासूत्र) — PRO NEWSROOM & GOOGLE DISCOVER DESIGN SYSTEM
   MOBILE-FIRST ARCHITECTURE (Engineered for Smartphones, Tablets & Desktops)
   Optimized for: Google Discover Mobile Feed, Core Web Vitals, Touch Ergonomics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&display=swap');

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Authority Palette */
  --brand-navy: #0A192F;
  --brand-navy-light: #112240;
  --brand-blue: #1D4ED8;
  --brand-blue-hover: #1E40AF;
  --brand-blue-subtle: #EFF6FF;
  --brand-blue-border: #BFDBFE;

  /* Accents */
  --accent-saffron: #FF6B00;
  --accent-saffron-hover: #E05D00;
  --accent-saffron-bg: #FFF7ED;

  --accent-red: #DC2626;
  --accent-red-bg: #FEF2F2;
  --accent-red-border: #FECACA;

  --accent-emerald: #059669;
  --accent-emerald-bg: #ECFDF5;
  --accent-emerald-border: #A7F3D0;

  /* Modern Slate Canvas */
  --bg-canvas: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;

  /* Text */
  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px -3px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 14px 30px -4px rgba(15, 23, 42, 0.12);
  --shadow-dock: 0 -4px 16px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading-hi: 'Noto Sans Devanagari', 'Outfit', sans-serif;
  --font-body-hi: 'Noto Sans Devanagari', sans-serif;

  --max-w: 1280px;
  --font-scale: 1;

  /* Mobile Ergonomics */
  --bottom-nav-height: 60px;
}

[lang="hi"], .lang-hi {
  --font-display: var(--font-heading-hi);
  --font-ui: var(--font-body-hi);
}

/* --- 2. BASELINE & TOUCH OPTIMIZATIONS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: calc(16px * var(--font-scale));
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-ui);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Extra space for the app-like sticky bottom nav on mobile */
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 16px) + 20px);
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

body.article-view {
  background-color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

img, svg {
  display: block;
  max-width: 100%;
}

input, select {
  font: inherit;
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) {
  .wrap {
    padding-left: clamp(20px, 3.5vw, 32px);
    padding-right: clamp(20px, 3.5vw, 32px);
  }
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--brand-navy);
  color: #FFFFFF;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
  outline: 2px solid var(--accent-saffron);
}

/* --- 3. MOBILE-OPTIMIZED UTILITY BAR --- */
.util-bar {
  background-color: var(--brand-navy);
  color: #94A3B8;
  font-size: 11.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.util-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  gap: 8px;
}

.util-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  to { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

.edition-tag {
  color: #94A3B8;
  font-weight: 500;
  font-size: 11px;
  display: none;
}
@media (min-width: 640px) {
  .edition-tag { display: inline; }
}

.util-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.font-resizer {
  display: none;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 2px 5px;
}
@media (min-width: 500px) {
  .font-resizer { display: flex; }
}

.font-btn {
  font-weight: 800;
  font-size: 10.5px;
  padding: 1px 4px;
  color: #CBD5E1;
  border-radius: 2px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  padding: 2px;
}

.lang-tab {
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  color: #94A3B8;
  border-radius: 2px;
  transition: all 0.2s;
}
.lang-tab.active {
  background-color: var(--accent-saffron);
  color: #FFFFFF;
}

/* --- 4. BREAKING TICKER --- */
.ticker-band {
  background: linear-gradient(90deg, #B91C1C 0%, #DC2626 40%, #EA580C 100%);
  color: #FFFFFF;
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-band .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.ticker-badge {
  flex-shrink: 0;
  background-color: #0F172A;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ticker-badge svg {
  width: 12px;
  height: 12px;
  color: #FBBF24;
}

.ticker-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  padding-left: 100%;
  animation: marquee-scroll 28s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-track a {
  margin-right: 36px;
  color: #FFFFFF;
}
.ticker-track a::after {
  content: "•";
  margin-left: 36px;
  color: var(--brand-saffron);
  opacity: 0.8;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --- 5. MASTHEAD HEADER --- */
.masthead {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
@media (min-width: 768px) {
  .masthead-inner {
    padding: 14px 0;
    gap: clamp(14px, 2.5vw, 32px);
  }
}

/* Brand Wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
  position: relative;
}
@media (min-width: 768px) {
  .brand-emblem {
    width: 42px;
    height: 42px;
  }
}

.brand-emblem::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  background: var(--accent-saffron);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.brand-emblem svg {
  width: 20px;
  height: 20px;
}
@media (min-width: 768px) {
  .brand-emblem svg {
    width: 24px;
    height: 24px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--brand-navy);
}

.brand-title em {
  font-style: normal;
  color: var(--brand-blue);
  position: relative;
}

.brand-sub {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 2px;
  display: none;
}
@media (min-width: 480px) {
  .brand-sub { display: block; }
}

/* Desktop Search Box */
.search-trigger-box {
  flex: 1;
  max-width: 440px;
  display: none;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  cursor: pointer;
}
@media (min-width: 768px) {
  .search-trigger-box { display: flex; }
}
.search-trigger-box:hover {
  background-color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.search-trigger-box svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}
.search-trigger-text {
  font-size: 13.5px;
  color: var(--text-muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-shortcut {
  font-size: 10px;
  font-weight: 800;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Header Actions */
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background-color: var(--bg-surface);
}
.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-alert {
  display: none;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}
@media (min-width: 600px) {
  .btn-alert { display: inline-flex; }
}
.btn-alert svg {
  width: 15px;
  height: 15px;
}

.btn-mobile-search, .btn-mobile-menu {
  display: flex;
}
@media (min-width: 768px) {
  .btn-mobile-search { display: none; }
}
@media (min-width: 1024px) {
  .btn-mobile-menu { display: none; }
}

/* Horizontally Swipeable Category Nav with Smooth Touch Momentum */
.masthead-nav {
  border-top: 1px solid var(--border-subtle);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.masthead-nav::-webkit-scrollbar {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0 4px;
}
@media (min-width: 768px) {
  .nav-list {
    gap: clamp(16px, 2.5vw, 30px);
    font-size: 14px;
  }
}

.nav-link {
  padding: 10px 2px;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-link.active {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.nav-badge-new {
  font-size: 9px;
  font-weight: 900;
  background-color: var(--accent-red);
  color: #FFFFFF;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* --- 6. GOOGLE DISCOVER HERO FEED SECTION (MOBILE-FIRST) --- */
.discover-hero-wrap {
  padding: 14px 0 28px;
}

.discover-lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 960px) {
  .discover-lead-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 24px;
  }
}

/* Flagship Discover Card */
.discover-card-lead {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.discover-card-lead:active {
  background: var(--bg-subtle);
}

.discover-media-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-subtle);
}
.discover-media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-floating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.discover-content-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (min-width: 640px) {
  .discover-content-body {
    padding: 24px;
  }
}

.discover-headline {
  font-family: var(--font-display);
  font-size: clamp(19px, 4.5vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.discover-summary {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.discover-publisher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}

.discover-author-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discover-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.verified-gazette-tag {
  color: var(--accent-emerald);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
}
.verified-gazette-tag svg {
  width: 14px;
  height: 14px;
}

/* Discover Trending Rail */
.discover-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rail-header-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-saffron);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rail-header-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rail-header-title svg {
  color: var(--accent-saffron);
  width: 14px;
  height: 14px;
}

.rail-items-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rail-mini-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.rail-mini-card:hover {
  border-color: var(--brand-blue);
  background-color: #F8FAFC;
  transform: translateX(2px);
}

.rail-card-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rail-category-pill {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  color: var(--brand-navy);
  border: 1px solid var(--border-subtle);
}
.rail-category-pill.admit { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.rail-category-pill.job { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.rail-category-pill.exam { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.rail-category-pill.scholar { background: #F5F3FF; color: #6D28D9; border-color: #DDD6FE; }

.rail-card-body h4 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.36;
  color: var(--text-main);
  margin: 0;
}
.rail-mini-card:hover .rail-card-body h4 {
  color: var(--brand-blue);
}

.rail-card-meta {
  font-size: 10.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- 7. STATS STRIP --- */
.stats-strip {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 12px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}
@media (min-width: 640px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px clamp(18px, 4vw, 36px);
  }
}

.stat-item {
  border-left: 3px solid var(--brand-blue);
  padding-left: 10px;
}
.stat-item:nth-child(2) { border-left-color: var(--accent-saffron); }
.stat-item:nth-child(3) { border-left-color: var(--accent-red); }
.stat-item:nth-child(4) { border-left-color: var(--accent-emerald); }

.stat-val {
  font-family: var(--font-display);
  font-size: clamp(20px, 4.5vw, 28px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.3;
}

/* --- 8. RECRUITMENT FILTER & JOB CARDS --- */
.section-headline-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-navy);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(19px, 4.2vw, 25px);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.18;
}

.section-more-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
}

/* Mobile Filter Bar with Touch Scroll */
.job-filter-bar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.filter-heading {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-chips-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}
.filter-chips-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.filter-chip.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

.filter-selects-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
}

.filter-select {
  flex: 1;
  min-width: 140px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   PRESTIGE 6-CARD JOB GRID (Eye-Catching Editorial Architecture)
   ========================================================================== */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
@media (min-width: 640px) {
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .job-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.job-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .job-card {
    padding: 18px 20px;
  }
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #059669, #10B981);
}
.job-card.urgent::before {
  background: linear-gradient(90deg, #DC2626, #EF4444);
}
.job-card.info::before {
  background: linear-gradient(90deg, #1D4ED8, #3B82F6);
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: #CBD5E1;
}

/* Card Header with Department Avatar & Live Pulse Beacon */
.job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.card-beacon-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 9999px;
}
.card-beacon-pill.open {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.card-beacon-pill.urgent {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}
.card-beacon-pill.info {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}
.beacon-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: beaconPulse 2s infinite ease-in-out;
}
@keyframes beaconPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.org-avatar-box {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #F8FAFC, #EDF2F7);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #0A192F;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px #FFFFFF;
}

/* Card Titles & Organization */
.job-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.34;
  color: #0F172A;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .job-title {
    font-size: 16.5px;
  }
}
.job-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}
.job-title a:hover {
  color: #1D4ED8;
}

.job-organization {
  font-size: 11.5px;
  font-weight: 700;
  color: #1D4ED8;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Gazette Pay Scale Callout Badge */
.gazette-pay-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 10px;
  font-size: 11.5px;
}
.gazette-pay-badge .pay-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.04em;
}
.gazette-pay-badge .pay-amount {
  font-family: var(--font-display);
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* High-Density Micro-Specs Grid */
.job-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 8px;
  padding: 8px 0;
  margin-bottom: 10px;
  border-top: 1px dashed #E2E8F0;
  border-bottom: 1px dashed #E2E8F0;
  font-size: 11.5px;
  color: #475569;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-meta-item svg {
  width: 13px;
  height: 13px;
  color: #64748B;
  flex-shrink: 0;
}

/* Deadline Meter Bar */
.deadline-meter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.deadline-meter-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
}
.deadline-meter-info .deadline-date {
  color: #64748B;
}
.deadline-meter-info .deadline-days-left {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}
.job-card.open .deadline-meter-info .deadline-days-left {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}
.job-card.info .deadline-meter-info .deadline-days-left {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.deadline-bar-bg {
  width: 100%;
  height: 3px;
  background: #F1F5F9;
  border-radius: 9999px;
  overflow: hidden;
}
.deadline-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #059669, #10B981);
  border-radius: 9999px;
}
.job-card.urgent .deadline-bar-fill {
  background: linear-gradient(90deg, #DC2626, #EF4444);
}
.job-card.info .deadline-bar-fill {
  background: linear-gradient(90deg, #1D4ED8, #3B82F6);
}

/* High-Converting CTA Buttons */
.job-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-apply {
  flex: 1;
  background: linear-gradient(180deg, #0A192F 0%, #060D17 100%);
  color: #FFFFFF;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 9px 12px;
  border-radius: 8px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(10, 25, 47, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-card-apply svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}
.btn-card-apply:hover {
  background: linear-gradient(180deg, #1D4ED8 0%, #1E40AF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
  transform: translateY(-1px);
}
.btn-card-apply:hover svg {
  transform: translateX(3px);
}

.btn-card-share {
  width: 38px;
  height: 38px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16A34A;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-card-share:hover {
  background: #DCFCE7;
  border-color: #86EFAC;
  transform: scale(1.05);
}
.btn-card-share {
  width: 36px;
  height: 36px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803D;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-card-share:hover {
  background: #DCFCE7;
  border-color: #86EFAC;
}

.job-card-top-dummy {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--accent-emerald);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
}
@media (min-width: 480px) {
  .job-card {
    padding: 20px;
  }
}

.job-card.urgent {
  border-top-color: var(--accent-red);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.status-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.status-badge.open {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
}
.status-badge.urgent {
  background: var(--accent-red-bg);
  color: var(--accent-red);
  border: 1px solid var(--accent-red-border);
}

.org-avatar {
  width: 34px;
  height: 34px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-navy);
  flex-shrink: 0;
}

.job-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
  color: var(--text-main);
  margin-bottom: 3px;
}

.job-organization {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 12px;
  display: inline-block;
}

.job-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  padding: 10px 0;
  margin-bottom: 12px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11.5px;
  color: var(--text-secondary);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.job-meta-item svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.job-qualification-tag {
  font-size: 10px;
  font-weight: 800;
  background: var(--bg-subtle);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.deadline-meter {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.deadline-meter-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}
.deadline-days-left {
  color: var(--accent-red);
}
.deadline-bar-bg {
  width: 100%;
  height: 4px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.deadline-bar-fill {
  height: 100%;
  background: var(--accent-emerald);
}
.job-card.urgent .deadline-bar-fill {
  background: var(--accent-red);
}

.job-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-apply {
  flex: 1;
  background: var(--brand-navy);
  color: #FFFFFF;
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-card-apply:hover {
  background: var(--brand-blue);
}

.btn-card-share {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--bg-surface);
  flex-shrink: 0;
}
.btn-card-share svg {
  width: 18px;
  height: 18px;
}

/* --- 9. TABBED SECTION --- */
.tabbed-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}

.tab-header-strip {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}
.tab-header-strip::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
}
.tab-btn.active {
  background: #FFFFFF;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.tab-content-list {
  padding: 4px 0;
}

.tab-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.tab-row-item:last-child {
  border-bottom: none;
}

.tab-row-time {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* --- 10. NEWS GRID --- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
@media (min-width: 540px) {
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

.news-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9.5;
  background: var(--bg-subtle);
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-cat {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 5px;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 8px;
}

.news-card-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* --- 11. WHATSAPP ALERT CTA BAND --- */
.cta-alert-band {
  background: linear-gradient(135deg, #0A192F 0%, #1E3A8A 100%);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .cta-alert-band {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: clamp(28px, 4.5vw, 40px);
  }
}

.cta-alert-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.cta-alert-text p {
  font-size: 13.5px;
  color: #CBD5E1;
  line-height: 1.5;
}

.cta-form {
  display: flex;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cta-input {
  flex: 1;
  background: #FFFFFF;
  border: none;
  padding: 12px 14px;
  font-size: 14px;
  min-width: 0;
}

.cta-submit-btn {
  background: var(--accent-saffron);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 0 16px;
  white-space: nowrap;
}

/* --- 12. SOCIAL HUB --- */
.social-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .social-hub-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.social-network-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}
.social-icon-wrapper.whatsapp { background: #25D366; }
.social-icon-wrapper.telegram { background: #229ED9; }
.social-icon-wrapper.youtube { background: #FF0000; }
.social-icon-wrapper.x { background: #0F172A; }
.social-icon-wrapper svg {
  width: 18px;
  height: 18px;
}

.social-card-info {
  flex: 1;
  min-width: 0;
}
.social-card-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-card-count {
  font-size: 11px;
  color: var(--text-muted);
}
.social-card-action {
  display: none;
}
@media (min-width: 500px) {
  .social-card-action {
    display: inline;
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-blue);
  }
}

/* --- 13. ARTICLE DETAIL VIEW (MOBILE READING OPTIMIZATIONS) --- */
.article-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--accent-saffron) 100%);
  z-index: 1050;
}

.article-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 16px 0 40px;
}
@media (min-width: 990px) {
  .article-page-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(24px, 4vw, 54px);
    padding: clamp(20px, 3vw, 36px) 0 60px;
  }
}

.article-body-col {
  max-width: 780px;
  min-width: 0;
}

.breadcrumbs-nav {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumbs-nav a {
  color: var(--brand-blue);
  font-weight: 600;
}

.article-main-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 5.5vw, 38px);
  line-height: 1.22;
  color: var(--text-main);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.article-main-dek {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-editorial-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.byline-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.byline-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  border: 2px solid var(--accent-saffron);
}

.byline-author-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.byline-meta-details {
  font-size: 11.5px;
  color: var(--text-muted);
}

.share-action-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.share-btn-pill {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: #FFFFFF;
}
.share-btn-pill svg {
  width: 15px;
  height: 15px;
}

.article-hero-media {
  margin-bottom: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
}
.article-hero-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-image-caption {
  font-size: 11.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

/* Mobile Collapsible TOC */
.toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 24px;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.toc-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.toc-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}
.toc-link:last-child {
  border-bottom: none;
}

/* Key Highlights Callout */
.key-highlights-card {
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  border-left: 4px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 22px 0;
}

.key-highlights-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-emerald);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.key-highlights-list {
  padding-left: 16px;
  list-style: disc;
}
.key-highlights-list li {
  font-size: 14px;
  line-height: 1.65;
  color: #064E3B;
  margin-bottom: 5px;
}

/* Article Prose */
.article-prose {
  font-size: clamp(15.5px, 2vw, 17.5px);
  line-height: 1.78;
  color: #1E293B;
}

.article-prose p {
  margin-bottom: 18px;
}

.article-prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 4vw, 25px);
  color: var(--text-main);
  margin: 32px 0 14px;
  scroll-margin-top: 70px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-quote-block {
  border-left: 4px solid var(--accent-saffron);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 3.5vw, 19px);
  color: var(--text-main);
  margin: 24px 0;
  background: var(--accent-saffron-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Responsive Table Wrapper with Mobile Swipe Hint */
.responsive-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 26px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  position: relative;
}

.table-swipe-hint {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  padding: 4px 12px;
  text-align: right;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
}
@media (min-width: 640px) {
  .table-swipe-hint { display: none; }
}

.official-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 380px;
}

.official-table th {
  background: var(--brand-navy);
  color: #FFFFFF;
  text-align: left;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 12px;
}

.official-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.official-table tr:nth-child(even) td {
  background: var(--bg-subtle);
}

/* FAQ */
.faq-block-wrapper {
  margin: 36px 0;
}

.faq-accordion-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  background: #FFFFFF;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  background: #FFFFFF;
}

.faq-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-accordion-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-content {
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}
.faq-accordion-item.open .faq-answer-content {
  display: block;
}

/* E-E-A-T Author Card */
.author-profile-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 36px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 600px) {
  .author-profile-card {
    flex-direction: row;
    padding: 24px;
  }
}

.author-large-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid var(--accent-saffron);
}

.author-card-content {
  flex: 1;
}

.author-card-name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
}

.author-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.author-card-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.author-card-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.author-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

.author-social-links {
  display: flex;
  gap: 6px;
}
.author-social-links a {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: #FFFFFF;
}

.article-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
}

.article-tag-item {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}
.article-tag-item:hover {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  border-color: var(--brand-blue-border);
}

/* Related Posts Section below Author Box */
.related-posts-section {
  margin: 36px 0 28px;
  padding-top: 24px;
  border-top: 2px solid var(--border-subtle);
}

.related-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.related-posts-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-posts-title svg {
  color: var(--brand-blue);
  width: 20px;
  height: 20px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-post-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.related-post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue-border);
}

.related-post-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-subtle);
}
.related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.related-post-card:hover .related-post-thumb img {
  transform: scale(1.05);
}

.related-post-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  background: var(--brand-navy);
}
.related-post-badge.badge-urgent { background: var(--accent-red); }
.related-post-badge.badge-open { background: var(--accent-emerald); }
.related-post-badge.badge-result { background: var(--brand-blue); }

.related-post-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.related-post-headline {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.38;
  color: var(--text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-post-card:hover .related-post-headline {
  color: var(--brand-blue);
}

.related-post-time {
  margin-top: auto;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sidebar (Hidden on mobile, block on desktop) */
/* Mobile-First Sidebar Containers for Article & Category Pages */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
@media (min-width: 1024px) {
  .sidebar-column {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
  }
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}
.sidebar-widget:hover {
  border-color: #CBD5E1;
}

.sidebar-widget-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-navy);
}

.sidebar-widget-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-navy);
  border-bottom: 2px solid var(--brand-navy);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.ad-sponsor-box {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 30px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- 14. APP-LIKE MOBILE BOTTOM NAVIGATION (DOCK) --- */
.mobile-bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 920;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: var(--shadow-dock);
}
@media (min-width: 900px) {
  .mobile-bottom-dock { display: none; }
}

.bottom-dock-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  transition: all 0.15s ease;
  min-height: 48px;
}
.bottom-dock-btn svg {
  width: 20px;
  height: 20px;
}
.bottom-dock-btn.active {
  color: var(--brand-blue);
}
.bottom-dock-btn.alert-dock {
  color: #16A34A;
}

/* Sticky Mobile Apply Bar on Article Views */
.sticky-mobile-apply-bar {
  position: fixed;
  bottom: var(--bottom-nav-height);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  z-index: 915;
  gap: 10px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
@media (min-width: 900px) {
  .sticky-mobile-apply-bar { display: none; }
}

.sticky-apply-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--accent-saffron) 0%, #EA580C 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13.5px;
  text-align: center;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-share-btn-group {
  display: flex;
  gap: 6px;
}
.sticky-share-icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: #FFFFFF;
}
.sticky-share-icon-btn svg {
  width: 18px;
  height: 18px;
}

/* --- 15. SEARCH MODAL DIALOG --- */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 12px 20px;
}
@media (min-width: 600px) {
  .search-modal-backdrop {
    padding: clamp(20px, 6vw, 60px) 16px 20px;
  }
}
.search-modal-backdrop.open {
  display: flex;
}

.search-modal-container {
  background: #FFFFFF;
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.search-input-row svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input-field {
  flex: 1;
  border: none;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  background: transparent;
}

.search-close-btn {
  font-size: 11px;
  font-weight: 800;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.search-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.search-tags-row::-webkit-scrollbar { display: none; }

.search-tag-chip {
  font-size: 11.5px;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.search-tag-chip.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

.search-results-area {
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px 12px;
}

.search-result-group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 6px 6px 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.search-result-item:active {
  background: var(--brand-blue-subtle);
}

.search-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-item-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.search-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.search-item-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.search-item-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.search-footer-hint {
  padding: 8px 16px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- 16. MOBILE DRAWER NAVIGATION --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(3px);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 320px;
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  z-index: 960;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px;
}
.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-xs);
}
.drawer-nav-link:active {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
}

/* --- 17. GLOBAL FOOTER --- */
.global-footer {
  background: var(--brand-navy);
  color: #94A3B8;
  border-top: 4px solid var(--accent-saffron);
  margin-top: 40px;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 0 24px;
}
@media (min-width: 600px) {
  .footer-top-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 990px) {
  .footer-top-row {
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 36px;
    padding: 48px 0 36px;
  }
}

.footer-brand-summary .brand-title {
  color: #FFFFFF;
}

.footer-desc-text {
  font-size: 13px;
  line-height: 1.6;
  color: #CBD5E1;
  margin: 12px 0 16px;
}

.footer-social-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}
.footer-social-btn svg {
  width: 15px;
  height: 15px;
}

.footer-col-header {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col-links a {
  font-size: 13px;
  color: #94A3B8;
}

.footer-disclaimer-card {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  font-size: 11.5px;
  color: #94A3B8;
  line-height: 1.6;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: #64748B;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  right: 16px;
  left: 16px;
  max-width: 360px;
  margin: 0 auto;
  background: var(--brand-navy);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 600px) {
  .toast-notice {
    left: auto;
    bottom: 24px;
    right: 24px;
  }
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Print */
@media print {
  .util-bar, .ticker-band, .masthead-actions, .search-trigger-box,
  .btn-alert, .masthead-nav, .cta-alert-band, .social-hub-grid,
  .sticky-mobile-apply-bar, .mobile-bottom-dock, .global-footer,
  .toc-box, .sidebar-column, .share-action-toolbar {
    display: none !important;
  }
}

/* ==========================================================================
   18. CATEGORY & SUBDIRECTORY ARCHIVE LAYOUT
   Mobile-First, Google Discover Friendly, Fast-Filtering Category Engine
   ========================================================================== */

.category-hero-banner {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 100%);
  color: #FFFFFF;
  padding: 24px 0 28px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-saffron);
}
@media (min-width: 768px) {
  .category-hero-banner {
    padding: 36px 0 42px;
  }
}

.category-hero-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #94A3B8;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.category-breadcrumb a {
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 600;
}
.category-breadcrumb a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.category-breadcrumb .sep {
  color: #64748B;
}

.category-hero-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .category-hero-content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.category-hero-main {
  max-width: 720px;
}

.category-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.category-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.2;
}

.category-count-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F8FAFC;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-lead-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #CBD5E1;
  margin-bottom: 0;
}
@media (min-width: 640px) {
  .category-lead-desc {
    font-size: 14.5px;
  }
}

.category-quick-stats {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
@media (min-width: 768px) {
  .category-quick-stats {
    margin-top: 0;
  }
}

.category-stat-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 85px;
}
.category-stat-badge .stat-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}
.category-stat-badge .stat-lbl {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Sub-category Quick-Scroll Pills */
.subcategory-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: var(--header-height, 60px);
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.subcategory-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subcategory-pills-row::-webkit-scrollbar {
  display: none;
}

.subcategory-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.subcategory-pill:hover,
.subcategory-pill.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}
.subcategory-pill .count {
  font-size: 10px;
  opacity: 0.8;
}

/* Category Filter & Sorting Toolbar */
.category-toolbar {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 20px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .category-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.category-search-box {
  position: relative;
  flex: 1;
  max-width: 380px;
}
.category-search-box input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  font-size: 13px;
  font-family: var(--font-ui);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  background: var(--bg-canvas);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}
.category-search-box input:focus {
  border-color: var(--brand-blue);
  background: #FFFFFF;
}
.category-search-box svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.category-sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.category-sort-select {
  height: 38px;
  padding: 0 28px 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-ui);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  background: var(--bg-canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

/* Category Discover Feed List Layout */
.category-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media (min-width: 990px) {
  .category-layout-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }
}

.category-feed-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Feed Article Item Card (Google Discover Optimized Horizontal/Vertical Card) */
.category-feed-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.category-feed-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue-border);
}

@media (min-width: 600px) {
  .category-feed-card {
    flex-direction: row;
    min-height: 170px;
  }
}

.category-feed-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-subtle);
  overflow: hidden;
  flex-shrink: 0;
}
@media (min-width: 600px) {
  .category-feed-media {
    width: 230px;
    aspect-ratio: 16 / 10;
  }
}
@media (min-width: 768px) {
  .category-feed-media {
    width: 260px;
  }
}

.category-feed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.category-feed-card:hover .category-feed-media img {
  transform: scale(1.04);
}

.category-feed-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 2;
}
.category-feed-badge.badge-urgent { background: var(--accent-red); }
.category-feed-badge.badge-open { background: var(--accent-emerald); }
.category-feed-badge.badge-result { background: var(--brand-blue); }
.category-feed-badge.badge-scholarship { background: var(--accent-saffron); }

.category-feed-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
@media (min-width: 600px) {
  .category-feed-body {
    padding: 16px 20px;
  }
}

.category-feed-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.category-feed-title {
  font-family: var(--font-display);
  font-size: clamp(15.5px, 2vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.category-feed-card:hover .category-feed-title {
  color: var(--brand-blue);
}

.category-feed-snippet {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 11.5px;
  color: var(--text-muted);
}

.category-feed-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}
.category-feed-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.category-feed-readmore {
  font-weight: 800;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
}

/* Category Pagination */
.category-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
  padding: 16px 0;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}
.page-btn:hover {
  background: var(--bg-subtle);
  color: var(--brand-blue);
  border-color: var(--brand-blue-border);
}
.page-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}
.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}



/* ==========================================================================
   PRESTIGE EDITORIAL SIDEBAR & CANDIDATE TOOLKIT (Mobile-First Architecture)
   ========================================================================== */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
@media (min-width: 1024px) {
  .sidebar-column {
    width: 330px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
  }
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.sidebar-widget:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-card-hover);
}

.sidebar-widget-header {
  padding: 13px 16px;
  background: #0A192F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-widget-header.accent-emerald {
  background: linear-gradient(135deg, #0A192F 0%, #064E3B 100%);
}
.sidebar-widget-header.accent-blue {
  background: linear-gradient(135deg, #0A192F 0%, #1E3A8A 100%);
}
.sidebar-widget-header.accent-green {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
}

.sidebar-header-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.sidebar-header-title svg {
  width: 15px;
  height: 15px;
}

.sidebar-header-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

/* 1. Gazette Verification Desk Widget */
.gazette-desk-body {
  padding: 18px 16px;
  background: linear-gradient(180deg, #FAFCFF 0%, #FFFFFF 100%);
}
.gazette-cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  margin-bottom: 12px;
}
.gazette-cert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #059669;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gazette-cert-icon svg {
  width: 18px;
  height: 18px;
}
.gazette-cert-info {
  flex: 1;
}
.gazette-cert-title {
  font-size: 12px;
  font-weight: 800;
  color: #065F46;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gazette-cert-code {
  font-size: 10px;
  color: #047857;
  font-family: monospace;
  font-weight: 700;
}
.gazette-audit-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.gazette-audit-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
  list-style: none;
  margin: 0 0 14px;
}
.gazette-audit-steps li {
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gazette-audit-steps li svg {
  width: 13px;
  height: 13px;
  color: #059669;
  flex-shrink: 0;
}
.gazette-sync-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #E2E8F0;
  font-size: 11px;
  color: var(--text-muted);
}
.gazette-sync-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #059669;
  font-weight: 700;
}

/* 2. Fast Track Trending Desk */
.trending-stream {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trending-item-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.trending-item-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: transparent;
  transition: background 0.2s ease;
}
.trending-item-card:hover {
  background: #FFFFFF;
  border-color: #BFDBFE;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.05);
  transform: translateX(2px);
}
.trending-item-card:hover::before {
  background: var(--brand-blue);
}
.trending-item-card:hover h4 {
  color: var(--brand-blue);
}
.trending-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.trending-sector-tag {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
}
.tag-postal { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.tag-railway { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.tag-upsc { background: #F5F3FF; color: #6D28D9; border: 1px solid #DDD6FE; }
.tag-ssc { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.tag-defense { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

.trending-urgency-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #DC2626;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.trending-item-card h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #0F172A;
  margin: 2px 0 0;
  transition: color 0.15s ease;
}
.trending-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748B;
  margin-top: 3px;
}

/* 3. Community Broadcast Hub */
.broadcast-hub-body {
  padding: 20px 16px;
  text-align: center;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}
.broadcast-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #DCFCE7;
  color: #15803D;
  margin-bottom: 10px;
}
.broadcast-hub-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}
.broadcast-hub-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
}
.broadcast-actions-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.btn-broadcast {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 9px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.btn-broadcast:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}
.btn-broadcast.telegram {
  background: linear-gradient(180deg, #0284C7 0%, #0369A1 100%);
}
.btn-broadcast.whatsapp {
  background: linear-gradient(180deg, #16A34A 0%, #15803D 100%);
}
.btn-broadcast svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.btn-copy-invite {
  margin-top: 6px;
  background: transparent;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  transition: all 0.15s ease;
}
.btn-copy-invite:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
}

/* 4. Interactive Candidate Checklist */
.checklist-body {
  padding: 16px 16px;
}
.checklist-intro {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 12px;
  line-height: 1.45;
}
.candidate-check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.candidate-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}
.candidate-check-item:hover {
  background: #F1F5F9;
}
.candidate-check-item input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #059669;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.candidate-check-text {
  font-size: 12px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
}
.candidate-check-sub {
  font-size: 10.5px;
  color: #64748B;
  display: block;
}

/* 5. Category Page Elevated Banner */
.category-hero-banner-elevated {
  background: linear-gradient(135deg, #0A192F 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 32px 0 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.category-hero-banner-elevated::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0) 70%);
  pointer-events: none;
}
.category-hero-inner {
  position: relative;
  z-index: 2;
}
.category-hero-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F59E0B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.category-hero-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4.5vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.category-hero-dek {
  font-size: clamp(13.5px, 2vw, 16px);
  color: #CBD5E1;
  max-width: 820px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.category-stats-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11.5px;
  font-weight: 700;
  color: #E2E8F0;
}
.category-stat-pill strong {
  color: #FFFFFF;
  font-weight: 800;
}
.category-stat-pill svg {
  width: 13px;
  height: 13px;
  color: #F59E0B;
}

/* Category Feed Cards Elevated */
.category-feed-card {
  box-shadow: var(--shadow-card);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-feed-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: #CBD5E1;
}
.category-feed-org-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #1D4ED8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.category-feed-pay-tag {
  display: inline-block;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
  margin: 4px 0;
}
