/*
Theme Name: EMRS Theme
Theme URI: https://nests.tribal.gov.in/
Description: Ultra-Premium, GIGW 3.0 Compliant Bilingual Education Portal for Eklavya Model Residential Schools (EMRS) & NESTS, Ministry of Tribal Affairs, Government of India.
Version: 4.0.0
Author: Antigravity AI
Text Domain: emrs-theme
*/

:root {
  /* Ultra-Premium EMRS & NESTS Color Palette */
  --primary-color: #3F1B50; /* Official EMRS Deep Imperial Purple */
  --primary-dark: #240C30;  /* Ultra-Deep Royal Purple */
  --primary-light: #5C2675;
  --primary-gradient: linear-gradient(135deg, #240C30 0%, #3F1B50 50%, #5C2675 100%);
  --primary-navy: #0F2942;
  
  --secondary-color: #E65100; /* Vibrant Indian Saffron / Imperial Amber */
  --secondary-hover: #C2410C;
  --secondary-light: #FFF7ED;
  --saffron-gradient: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%);
  --gold-accent: #D97706;
  --gold-light: #FEF3C7;
  
  --accent-color: #059669; /* Emerald Green */
  --accent-light: #ECFDF5;
  --saffron: #FF9933;
  --white: #FFFFFF;
  --green-india: #138808;
  
  /* Modern High-End Surface Colors */
  --bg-body: #F8FAFC; /* Slate 50 Neutral */
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;  /* Slate 100 */
  --bg-purple-subtle: #FAF5FF;
  
  /* Typography Colors */
  --text-dark: #0F172A; /* Slate 900 */
  --text-body: #334155; /* Slate 700 */
  --text-muted: #64748B; /* Slate 500 */
  --text-light: #94A3B8;
  
  /* Luxury Borders & Glassmorphism */
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --border-glass: rgba(255, 255, 255, 0.2);
  --border-purple: rgba(63, 27, 80, 0.12);
  
  /* Multi-Layered Soft Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(63, 27, 80, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 6px 16px rgba(63, 27, 80, 0.08), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 28px rgba(63, 27, 80, 0.1), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(63, 27, 80, 0.14), 0 6px 12px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(230, 81, 0, 0.35);
  
  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Smooth Cubic Easing */
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Ultra-Premium Portal Typography Hierarchy (Plus Jakarta Sans, Outfit, Noto Sans Devanagari, Eczar) */
  --font-en: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hi: 'Noto Sans Devanagari', 'Hind', 'Eczar', serif;
  --font-headings: 'Outfit', 'Plus Jakarta Sans', 'Eczar', sans-serif;
  --font-serif: 'Eczar', serif;
  --font-ui: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  --fs-base: 17px;
}

/* High Contrast Mode (GIGW 3.0 Standard) */
body.high-contrast {
  --primary-color: #000000;
  --primary-dark: #000000;
  --bg-body: #000000;
  --bg-card: #121212;
  --bg-alt: #1E1E1E;
  --text-dark: #FFFF00;
  --text-body: #FFFFFF;
  --text-muted: #CCCCCC;
  --border-color: #FFFF00;
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

body.high-contrast a { color: #FFFF00 !important; }
body.high-contrast .branding-header,
body.high-contrast .nav-container,
body.high-contrast .utility-bar,
body.high-contrast .site-section,
body.high-contrast .tabs-container,
body.high-contrast .nests-about-card,
body.high-contrast .nests-leader-card,
body.high-contrast .nests-useful-card,
body.high-contrast .happening-card,
body.high-contrast .genesis-3col-card,
body.high-contrast .floating-card-item,
body.high-contrast .footer-wrap {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #FFFF00 !important;
}

/* Global Reset & Base Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-en);
  font-size: var(--fs-base);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-hi {
  font-family: var(--font-hi);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Headings (Outfit / Plus Jakarta Sans / Eczar) */
h1, h2, h3, h4, h5, h6, .display, .section-header h2 {
  font-family: var(--font-headings);
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.4em;
  letter-spacing: -0.02em;
}

h1 { font-size: 36px; line-height: 1.22; }
h2 { font-size: 30px; line-height: 1.28; }
h3 { font-size: 23px; line-height: 1.32; }
h4 { font-size: 20px; line-height: 1.38; }
h5 { font-size: 17.5px; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header - Ultra-Polished Portal Header (NESTS Inspired) */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-color);
  background: var(--secondary-light);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(230, 81, 0, 0.18);
  box-shadow: var(--shadow-xs);
}

.section-header h2 {
  font-size: 30px;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 65px;
  height: 4px;
  background: var(--saffron-gradient);
  border-radius: 3px;
  margin: 12px auto 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16.5px;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ========================================================
   1. TRICOLOR STRIPE & UTILITY TOP BAR (WITH LIVE CLOCK)
   ======================================================== */
.tricolor-stripe {
  height: 4px;
  width: 100%;
  display: flex;
}
.stripe-saffron { flex: 1; background: var(--saffron); }
.stripe-white { flex: 1; background: #FFFFFF; }
.stripe-green { flex: 1; background: var(--green-india); }

.utility-bar {
  background: #190824; /* Ultra Dark Royal Purple */
  color: #E2E8F0;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12.5px;
}

.utility-live-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FEF08A; /* Soft Gold */
  font-weight: 600;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-link {
  color: #CBD5E1;
  font-weight: 500;
}
.utility-link:hover { color: var(--saffron); }

.utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.accessibility-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.acc-btn {
  background: none;
  border: none;
  color: #FFF;
  cursor: pointer;
  font-weight: 700;
  padding: 1px 6px;
  font-size: 12px;
  border-radius: 2px;
  transition: var(--transition);
}
.acc-btn:hover { background: var(--saffron); color: #000; }

.contrast-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
}
.contrast-toggle-btn:hover { background: #FFFF00; color: #000; }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
}

.utility-contact-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px;
}

.utility-contact-item {
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.utility-contact-item:hover {
  color: #F59E0B;
}

.lang-btn {
  color: #CBD5E1;
  padding: 2px 8px;
  border-radius: 4px;
}
.lang-btn.active {
  background: var(--secondary-color);
  color: #FFF !important;
}

/* ========================================================
   2. BRANDING HEADER (UNIVERSITY-GRADE MAJESTIC IDENTITY)
   ======================================================== */
.branding-header {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  width: 100%;
}

.branding-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1440px;
  width: 100%;
}

.branding-left-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none !important;
  flex: 1 1 auto;
  min-width: 0;
}

.branding-logo-img {
  height: 102px;
  max-height: 102px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.12));
  flex-shrink: 0;
}

.branding-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.branding-title-hi {
  font-size: 24px;
  color: #7B1113; /* Deep University Maroon / Burgundy */
  font-weight: 800;
  font-family: var(--font-hi);
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.branding-sub-hi {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  font-family: var(--font-hi);
  line-height: 1.35;
  margin: 2px 0 3px;
  white-space: nowrap;
}

.branding-title-en {
  font-size: 22px;
  color: #0A3D62; /* Deep Royal Navy Blue */
  font-weight: 800;
  font-family: var(--font-en);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.branding-sub-en {
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  font-family: var(--font-en);
  line-height: 1.35;
  margin-top: 1px;
  white-space: nowrap;
}

.branding-right-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-motto-col {
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.motto-script {
  font-family: 'Brush Script MT', 'Segoe Script', cursive, serif;
  font-size: 21px;
  color: #0284C7; /* Cyan / Blue Script like GGU */
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.emblem-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.emblem-badge-col img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.emblem-tag-hi {
  font-size: 10px;
  font-weight: 700;
  color: #334155;
  margin-top: 2px;
  white-space: nowrap;
}

.emblem-tag-en {
  font-size: 8.5px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Viksit Bharat 1947 to 2047 Badge */
.viksit-bharat-badge {
  display: flex;
  align-items: center;
  border-left: 1px solid #E2E8F0;
  padding-left: 18px;
}

.viksit-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vb-title {
  font-size: 19px;
  font-weight: 900;
  color: #0A3D62;
  font-family: var(--font-hi);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.vb-chakra {
  color: #1E3A8A;
  font-size: 15px;
  display: inline-block;
  vertical-align: middle;
}

.vb-sub {
  font-size: 16px;
  font-weight: 900;
  color: #0A3D62;
  font-family: var(--font-hi);
  line-height: 1;
  letter-spacing: 0.04em;
}

.vb-stripes {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  width: 100%;
}

.vb-saffron {
  height: 3px;
  flex: 1;
  background: #FF9933;
  border-radius: 2px;
}

.vb-white {
  font-size: 8.5px;
  font-weight: 800;
  color: #64748B;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.vb-green {
  height: 3px;
  flex: 1;
  background: #138808;
  border-radius: 2px;
}
  width: auto;
  object-fit: contain;
}

.emblem-tag-hi {
  font-size: 10.5px;
  font-weight: 700;
  color: #334155;
  margin-top: 3px;
}

.emblem-tag-en {
  font-size: 9.5px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
}

.nests-slogan-col {
  border-left: 1px solid var(--border-color);
  padding-left: 20px;
  max-width: 230px;
}

.nests-slogan-col span {
  color: #991B1B;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  display: block;
}

.admissions-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1.5px solid var(--secondary-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--secondary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  text-decoration: none;
}
.admissions-header-pill:hover {
  background: var(--secondary-color);
  color: #FFF !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.admissions-header-pill .pill-dot {
  width: 7px;
  height: 7px;
  background: #EF4444;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}
.admissions-header-pill .pill-tag {
  background: var(--secondary-color);
  color: #FFF;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 800;
}
.admissions-header-pill:hover .pill-tag {
  background: #FFF;
  color: var(--secondary-color);
}

/* ========================================================
   3. MAIN NAVIGATION MENU (STRICT SINGLE LINE - PREMIUM SLEEK)
   ======================================================== */
.nav-container {
  background: var(--primary-gradient);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--secondary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  width: 100%;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
  flex-shrink: 0;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF !important;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu > li:hover > a,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  background: rgba(255, 255, 255, 0.14);
  color: var(--saffron) !important;
  box-shadow: inset 0 -3px 0 var(--secondary-color);
}

/* Submenu with Smooth Elevation */
.nav-menu li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  min-width: 250px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--secondary-color);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 1001;
}

.nav-menu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu li ul.sub-menu li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-menu li ul.sub-menu li a {
  padding: 12px 20px;
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #E2E8F0 !important;
  white-space: nowrap;
}

.nav-menu li ul.sub-menu li a:hover {
  background: var(--primary-color);
  color: var(--saffron);
  padding-left: 24px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* ========================================================
   4. HERO SLIDER & 4 FLOATING PRESTIGE CARDS
   ======================================================== */
.hero-slider-wrap {
  width: 100%;
  position: relative;
  background: #0B192C;
  overflow: hidden;
}

/* Ensure Full Proportional Display for 1200x600 Slider Banner (Zero Clipping) */
.hero-slider-wrap .n2-section-smartslider,
.hero-slider-wrap .n2-ss-slider {
  width: 100% !important;
  max-width: 100% !important;
}

.hero-slider-wrap .n2-ss-slide-background-image img,
div#n2-ss-2 .n2-ss-slide-background-image img {
  object-fit: fill !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}

.nests-default-hero {
  position: relative;
  padding: 75px 20px 85px;
  text-align: center;
  color: #FFF;
  background: linear-gradient(135deg, #190824 0%, #3F1B50 60%, #190824 100%);
  background-size: cover;
  background-position: center;
}

.nests-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25, 8, 36, 0.72);
  z-index: 1;
}

.nests-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.nests-hero-badge {
  background: var(--saffron-gradient);
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.35);
}

.nests-default-hero h1 {
  color: #FFF;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}

.nests-default-hero p {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.94;
  margin-bottom: 26px;
}

.nests-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-nests-primary {
  background: var(--saffron-gradient);
  color: #FFF !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(230, 81, 0, 0.4);
  transition: var(--transition);
}
.btn-nests-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.5);
}

.btn-nests-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF !important;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.btn-nests-outline:hover {
  background: #FFF;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Quick Access 4 Cards Strip (Clean Position Below Slider) */
.hero-floating-cards-wrap {
  margin-top: 0;
  padding-top: 20px;
  position: relative;
  z-index: 10;
  margin-bottom: 28px;
}

.floating-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.floating-card-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.floating-card-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 5px; height: 100%;
  background: var(--secondary-color);
  transition: var(--transition);
}

.floating-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--saffron);
}

.floating-card-item:hover::before {
  width: 7px;
  background: var(--primary-color);
}

.floating-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.floating-card-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--primary-color);
}

.floating-card-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* ========================================================
   5. NESTS NEWS TICKER STRIP
   ======================================================== */
.nests-ticker-bar {
  background: #EFF6FF;
  border-bottom: 1px solid #DBEAFE;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.nests-ticker-label {
  background: var(--primary-color);
  color: var(--white);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nests-ticker-label .ticker-pulse {
  width: 9px;
  height: 9px;
  background: #EF4444;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.nests-ticker-track-wrap {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 20px;
  white-space: nowrap;
}

.nests-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: smoothTicker 32s linear infinite;
}

.nests-ticker-track-wrap:hover .nests-ticker-track {
  animation-play-state: paused;
}

@keyframes smoothTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.nests-ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}
.nests-ticker-item:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.badge-new,
.i-badge-new,
.notice-badge-new {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  margin-right: 8px !important;
  margin-left: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  letter-spacing: 0.05em !important;
  position: relative !important;
  z-index: 10 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6) !important;
  animation: emrs-badge-blink 0.75s ease-in-out infinite alternate !important;
}

@keyframes emrs-badge-blink {
  0% {
    opacity: 0.25;
    transform: scale(0.92);
    box-shadow: 0 0 2px rgba(239, 68, 68, 0.2);
  }
  100% {
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 0 12px 3px rgba(239, 68, 68, 0.75);
  }
}

.nests-ticker-all-btn {
  background: var(--secondary-color);
  color: #FFF !important;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.nests-ticker-all-btn:hover { background: var(--secondary-dark); }

/* ========================================================
   6. STATS COUNTER STRIP
   ======================================================== */
.nests-stats-strip {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 46px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nests-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.nests-stat-item {
  text-align: center;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.nests-stat-item:last-child { border-right: none; }

.nests-stat-num {
  font-size: 46px;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1.1;
  margin-bottom: 6px;
}

.nests-stat-lbl {
  font-size: 15.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E2E8F0;
}

/* ========================================================
   7. ABOUT EMRS & LEADERSHIP SPOTLIGHT (SPLIT GRID)
   ======================================================== */
section.site-section {
  padding: 80px 0 90px;
}

.bg-white { background-color: #FFFFFF; }
.bg-alt { background-color: var(--bg-body); }

.nests-about-leadership-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 32px;
  align-items: stretch;
}

.nests-about-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 42px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--primary-color);
  min-height: 440px;
}

.nests-about-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 18px;
}

.nests-about-card p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Leaders Column (Right Side - Minister & Commissioner/Principal) */
.nests-leaders-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nests-leader-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 22px;
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
  min-height: 120px;
}

.nests-leader-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.nests-leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.nests-leader-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  flex-shrink: 0;
  border: 3px solid var(--secondary-color);
}

.nests-leader-info h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0 4px;
}

.nests-leader-role {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 3px;
}

.nests-leader-org {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ========================================================
   8. CIRCULARS BOARD & USEFUL LINKS
   ======================================================== */
.nests-circulars-links-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
}

.tabs-container {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tab-headers {
  display: flex;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-color);
}

.tab-header {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.tab-header.active {
  color: var(--primary-color);
  border-bottom-color: var(--secondary-color);
  background: var(--white);
}

.tab-panels {
  padding: 28px 24px;
  min-height: 380px;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.nests-notice-list {
  list-style: none;
}

.nests-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.nests-notice-item:last-child { border-bottom: none; }

.nests-notice-date-badge {
  background: var(--bg-alt);
  border-left: 4px solid var(--secondary-color);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  text-align: center;
  min-width: 76px;
  flex-shrink: 0;
}

.nests-notice-date-badge .day {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  line-height: 1.1;
}

.nests-notice-date-badge .month {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.nests-notice-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}
.nests-notice-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Useful Links Grid */
.nests-useful-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nests-useful-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--primary-color);
  min-height: 135px;
}

.nests-useful-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary-color);
}

.nests-useful-card .card-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.nests-useful-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.nests-useful-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.btn-learn-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-learn-more:hover { color: var(--primary-color); }

/* ========================================================
   9. GENESIS, VISION, MISSION PILLARS
   ======================================================== */
.genesis-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.genesis-3col-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--primary-color);
  position: relative;
  min-height: 350px;
}

.genesis-3col-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--secondary-color);
}

.genesis-3col-card h3 {
  color: var(--primary-color);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.genesis-3col-card p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* ========================================================
   10. SUCCESS STORIES & PHOTO GALLERY
   ======================================================== */
.see-happening-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.happening-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.happening-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}

.happening-img-wrap {
  height: 240px;
  background: #E2E8F0;
  position: relative;
  overflow: hidden;
}

.happening-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.happening-card:hover .happening-img-wrap img {
  transform: scale(1.06);
}

.happening-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.happening-date {
  font-size: 13px;
  color: var(--secondary-color);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.happening-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 10px;
  line-height: 1.45;
}

/* ========================================================
   11. FOOTER & COPYRIGHT
   ======================================================== */
/* ========================================================
   11. FOOTER PARTNER LOGOS (CONTINUOUS SCROLLING MARQUEE)
   ======================================================== */
.partner-section {
  background: #FFFFFF;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.partner-slider-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partner-slider-wrap::before,
.partner-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partner-slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF, rgba(255,255,255,0));
}

.partner-slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF, rgba(255,255,255,0));
}

.partner-slider-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: partnerMarquee 32s linear infinite;
}

.partner-slider-wrap:hover .partner-slider-track {
  animation-play-state: paused;
}

@keyframes partnerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 72px;
  min-width: 140px;
}

.partner-logo-item:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-logo-item img {
  max-height: 48px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-wrap {
  background: var(--primary-dark);
  color: #CBD5E1;
  padding: 60px 0 24px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr 1.8fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--saffron);
  display: inline-block;
  font-weight: 700;
}

.footer-about p {
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 15px;
}

.footer-links-list {
  list-style: none;
}
.footer-links-list li {
  margin-bottom: 10px;
}
.footer-links-list li a {
  color: #94A3B8;
  font-size: 15px;
}
.footer-links-list li a:hover {
  color: var(--saffron);
  padding-left: 6px;
}

.footer-contact p {
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.55;
}

.footer-contact svg,
.footer-contact p svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 20px !important;
  fill: var(--saffron) !important;
  color: var(--saffron) !important;
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-block !important;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #94A3B8;
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--secondary-color);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top-btn.show { opacity: 1; visibility: visible; }
.back-to-top-btn:hover { background: var(--primary-color); transform: translateY(-3px); }

/* Responsive */
@media (max-width: 1024px) {
  .floating-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .nests-about-leadership-grid, .nests-circulars-links-grid, .see-happening-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block !important; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-dark);
  }
  .nav-menu.mobile-open { display: flex; }
  .nav-menu > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .floating-cards-grid, .nests-stats-grid, .footer-grid, .nests-useful-links-grid, .genesis-3col-grid {
    grid-template-columns: 1fr;
  }
  .branding-left-wrap { flex-direction: column; }
  .branding-right-badges { justify-content: center; }
}

/* ========================================================
   12. MODERN RESPONSIVE TABLES & STAFF DIRECTORY
   ======================================================== */
.emrs-staff-directory-wrap {
  margin: 10px 0 30px;
  font-family: var(--font-en);
}

.staff-directory-header {
  background: linear-gradient(135deg, #FAF5FF 0%, #FFF7ED 100%);
  border: 1px solid #E9D5FF;
  border-left: 5px solid var(--secondary-color);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 16px;
}

.staff-header-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0 5px;
}

.staff-header-info p {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.staff-stats-badge {
  background: var(--primary-gradient);
  color: #FFF;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 12px rgba(63, 27, 80, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.staff-stats-badge .badge-number {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--saffron);
}

.staff-stats-badge .badge-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-top: 3px;
}

/* Toolbar & Filters */
.staff-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.staff-search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}

.staff-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
}

.staff-search-box input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-full);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: #FFF;
}

.staff-search-box input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.15);
}

.staff-filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.staff-filter-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
}

.staff-filter-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.staff-filter-btn.active {
  background: var(--primary-gradient);
  color: #FFF;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(63, 27, 80, 0.25);
}

/* Generic & Dedicated Table Styles */
.emrs-table-container,
.entry-content table {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
  background: #FFF;
  margin-bottom: 28px;
}

.emrs-table,
.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.emrs-table thead tr,
.entry-content table thead tr {
  background: var(--primary-gradient) !important;
  color: #FFF !important;
}

.emrs-table thead th,
.entry-content table thead th,
.entry-content table thead td {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFF !important;
  border-bottom: 3px solid var(--secondary-color);
  white-space: nowrap;
}

.emrs-table tbody tr,
.entry-content table tbody tr {
  background: #FFFFFF !important;
  color: #1E293B !important;
  transition: var(--transition);
  border-bottom: 1px solid #F1F5F9;
}

.emrs-table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even) {
  background: #F8FAFC !important;
}

.emrs-table tbody tr:hover,
.entry-content table tbody tr:hover {
  background: #FFFBEB !important;
}

.emrs-table tbody td,
.entry-content table td {
  padding: 16px 22px;
  font-size: 15.5px;
  color: #1E293B;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
}

/* Table Specific Cell Badges */
.sn-cell {
  text-align: center;
}

.sn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #EFF6FF;
  color: #1E40AF;
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  border: 1.5px solid #BFDBFE;
}

.name-cell strong {
  display: block;
  font-size: 16px;
  color: #0F172A;
  font-weight: 700;
}

.name-cell .role-sub {
  display: block;
  font-size: 13.5px;
  color: #64748B;
  margin-top: 2px;
}

.designation-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.designation-badge.pgt {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}

.designation-badge.tgt {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.designation-badge.admin {
  background: #FAF5FF;
  color: #6B21A8;
  border: 1px solid #E9D5FF;
}

.designation-badge.guest {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FED7AA;
}

.category-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-pill.reg {
  background: #DCFCE7;
  color: #15803D;
}

.category-pill.gst {
  background: #FFEDD5;
  color: #9A3412;
}

.category-pill.out {
  background: #F1F5F9;
  color: #475569;
}

.date-cell {
  text-align: center;
}

.date-badge {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  display: inline-block;
  white-space: nowrap;
}

.date-badge.muted {
  background: none;
  border: none;
  color: #94A3B8;
}

/* Page Article Styling */
.main-page-article {
  padding: 42px 48px !important;
  font-size: 17.5px;
  line-height: 1.8;
}

.main-page-article .entry-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 1.2em;
}

.main-page-article .entry-content h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.main-page-article .entry-content h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .branding-header .container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .branding-left-wrap {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .branding-logo-img {
    height: 95px;
    max-height: 95px;
    margin: 0 auto;
  }
  .branding-title-hi,
  .branding-sub-hi,
  .branding-title-en,
  .branding-sub-en {
    white-space: normal !important;
  }
  .branding-right-badges {
    justify-content: center;
    gap: 20px;
    width: 100%;
    border-top: 1px solid #E2E8F0;
    padding-top: 12px;
  }
}

@media (max-width: 768px) {
  /* Utility Bar Mobile Fix */
  .utility-bar {
    padding: 8px 0;
  }
  .utility-bar .container {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }
  .utility-left {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
  .utility-contact-links {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 11.5px;
  }
  .utility-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  /* Branding Header Mobile Fix */
  .branding-header {
    padding: 14px 0;
  }
  .branding-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .branding-left-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: 100%;
  }
  .branding-logo-img {
    height: 85px;
    max-height: 85px;
    margin: 0 auto;
    display: block;
  }
  .branding-title-hi {
    font-size: 19px;
    line-height: 1.3;
    text-align: center;
    white-space: normal !important;
  }
  .branding-sub-hi {
    font-size: 11.5px;
    line-height: 1.4;
    text-align: center;
    margin: 3px 0 5px;
    white-space: normal !important;
  }
  .branding-title-en {
    font-size: 17px;
    line-height: 1.3;
    text-align: center;
    white-space: normal !important;
  }
  .branding-sub-en {
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    margin-top: 2px;
    white-space: normal !important;
  }
  .branding-right-badges {
    justify-content: center;
    gap: 16px;
    width: 100%;
    border-top: 1px solid #E2E8F0;
    padding-top: 10px;
    margin-top: 2px;
  }
  .emblem-badge-col img {
    height: 48px;
  }
  .viksit-bharat-badge {
    border-left: 1px solid #E2E8F0;
    padding-left: 14px;
  }
  .vb-title {
    font-size: 16px;
  }
  .vb-sub {
    font-size: 13px;
  }

  .staff-directory-header { flex-direction: column; text-align: center; }
  .staff-toolbar { flex-direction: column; align-items: stretch; }
  .staff-search-box { max-width: 100%; }
  .main-page-article { padding: 22px 18px !important; }
}

