/* ==========================================================================
   EduPulse — Master Design System (Phase 0)
   Editorial, high-trust, mobile-first design system for Indian Education
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary: #1e3a8a;          /* Deep Navy/Royal Blue (Trust & Authority) */
    --color-primary-hover: #172554;
    --color-primary-light: #eff6ff;
    
    --color-secondary: #0f766e;        /* Deep Emerald/Teal (Academic & Verified) */
    --color-secondary-light: #f0fdfa;
    
    --color-accent: #b45309;           /* Amber/Ochre (High Priority Alerts) */
    --color-accent-light: #fffbeb;

    --color-success: #15803d;
    --color-success-light: #f0fdf4;
    --color-warning: #b45309;
    --color-warning-light: #fffbeb;
    --color-danger: #b91c1c;
    --color-danger-light: #fef2f2;

    /* Backgrounds & Surfaces */
    --bg-page: #f8fafc;                /* Neutral Cool Canvas */
    --bg-surface: #ffffff;             /* Crisp Card Surface */
    --bg-surface-subtle: #f1f5f9;      /* Subtle Neutral */
    --bg-surface-elevated: #ffffff;

    /* Typography Colors */
    --text-main: #0f172a;              /* Slate 900 */
    --text-body: #334155;              /* Slate 700 */
    --text-muted: #64748b;             /* Slate 500 */
    --text-light: #94a3b8;             /* Slate 400 */
    --text-on-primary: #ffffff;

    /* Borders & Dividers */
    --border-subtle: #f1f5f9;
    --border-color: #e2e8f0;          /* Slate 200 */
    --border-strong: #cbd5e1;         /* Slate 300 */

    /* Typography System */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.07), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 12px 20px -4px rgba(15, 23, 42, 0.12);

    /* Radii */
    --radius-xs: 3px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;

    /* Layout Constraints */
    --container-max: 1240px;
    --container-narrow: 840px;
    --header-height: 64px;
    --topbar-height: 38px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 0.9375rem; /* 15px */
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    position: relative;
}

main {
    flex: 1 0 auto;
}

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

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

a:hover {
    color: var(--color-primary-hover);
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Container & Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.container-narrow {
    max-width: var(--container-narrow);
}

.site-main {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

/* Flex & Grid Utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Icons
   ========================================================================== */
.icon {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    vertical-align: -0.15em;
    stroke-width: 2;
    flex-shrink: 0;
}

.icon-sm {
    width: 0.95em;
    height: 0.95em;
}

.icon-lg {
    width: 1.5em;
    height: 1.5em;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-strong);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--text-muted);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-xs);
    background-color: var(--bg-surface-subtle);
    color: var(--text-muted);
    line-height: 1.2;
}

.badge-pill {
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.75rem;
}

.badge-live {
    background-color: var(--color-danger-light);
    color: var(--color-danger);
    font-weight: 800;
}

.badge-verified {
    background-color: var(--color-success-light);
    color: var(--color-success);
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease;
    will-change: transform;
}

.site-header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none !important;
}

.site-header.header-pinned {
    transform: translateY(0);
    box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.06) !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Brand Logo */
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.brand-emblem {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

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

.brand-name {
    color: var(--color-primary);
}

.brand-name span {
    color: var(--color-accent);
}

.brand-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.nav-link.active {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    font-weight: 700;
}

/* More Categories Dropdown */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

.nav-dropdown-chevron-icon svg {
    transform: rotate(90deg);
    transition: transform 0.2s ease;
    width: 14px;
    height: 14px;
}

.nav-dropdown-wrapper:hover .nav-dropdown-chevron-icon svg {
    transform: rotate(-90deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 270px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.nav-dropdown-item-icon {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.nav-dropdown-item:hover .nav-dropdown-item-icon {
    background: #dbeafe;
    color: var(--color-primary);
}

.nav-dropdown-item-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.nav-dropdown-item-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: inherit;
}

.nav-dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

@media (max-width: 1200px) and (min-width: 992px) {
    .desktop-nav {
        gap: 0.15rem;
    }
    .nav-link {
        font-size: 0.875rem;
        padding: 0.45rem 0.65rem;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.header-btn:hover {
    background-color: var(--bg-surface-subtle);
    color: var(--color-primary);
    border-color: var(--border-strong);
}

.mobile-menu-toggle {
    display: none;
}

/* ==========================================================================
   Top Breaking / Updates Bar
   ========================================================================== */
.top-update-bar {
    background-color: #0f172a; /* Slate 900 */
    color: #cbd5e1;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-update-inner {
    display: flex;
    align-items: center;
    height: var(--topbar-height);
    overflow: hidden;
    gap: 0.85rem;
}

.update-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: var(--color-danger);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    flex-shrink: 0;
}

.update-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.update-ticker {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    flex: 1;
}

.update-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    animation: ticker-slide 28s linear infinite;
}

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

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

.ticker-item {
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.ticker-item:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.ticker-time {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* ==========================================================================
   Mobile Navigation Drawer & Search Modal
   ========================================================================== */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-drawer.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100%;
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.active .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list {
    padding: 1rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    border-left-color: var(--color-primary);
}

/* Search Dropdown / Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    padding-left: 1rem;
    padding-right: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-box {
    width: 100%;
    max-width: 600px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.search-modal-form {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-surface);
}

.search-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    padding: 0.5rem;
    background: transparent;
    color: var(--text-main);
}

.search-quick-tags {
    padding: 1rem;
    background-color: var(--bg-surface-subtle);
}

.search-tags-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.search-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-tag-chip {
    font-size: 0.8125rem;
    background-color: var(--bg-surface);
    color: var(--text-body);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.search-tag-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ==========================================================================
   Hero Section (Editorial Split)
   ========================================================================== */
.hero-editorial-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Hero Main Card */
.hero-card-featured {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: 100%;
}

.hero-card-featured:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.card-media {
    position: relative;
    width: 100%;
    background-color: var(--bg-surface-subtle);
    overflow: hidden;
}

.hero-media-large {
    aspect-ratio: 16 / 9;
}

.card-media img, .card-media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-card-featured:hover .card-media img,
.hero-card-featured:hover .card-media svg {
    transform: scale(1.02);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-light);
}

.card-title-hero {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.card-title-hero a {
    color: inherit;
}

.card-title-hero a:hover {
    color: var(--color-primary);
}

.card-excerpt {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.card-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
}

.card-author {
    font-weight: 600;
    color: var(--text-main);
}

/* Secondary Hero Stack */
.hero-secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

.hero-secondary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.25rem;
}

.card-compact-row {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.85rem;
    display: flex;
    gap: 1.15rem;
    align-items: center;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease-in-out;
    flex: 1;
}

.card-compact-row:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
    transform: translateY(-2px);
    background-color: #ffffff;
}

.compact-row-thumb {
    width: 175px;
    min-width: 175px;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--bg-surface-subtle);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.compact-row-thumb img, .compact-row-thumb svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card-compact-row:hover .compact-row-thumb img,
.card-compact-row:hover .compact-row-thumb svg {
    transform: scale(1.04);
}

.compact-row-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.compact-row-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-row-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.compact-row-title a:hover {
    color: var(--color-primary);
}

.compact-row-excerpt {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-row-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 0.25rem;
}

.compact-read-more {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    transition: transform 0.15s ease;
}

.compact-read-more:hover {
    transform: translateX(2px);
    text-decoration: underline;
}

.compact-row-title a {
    color: var(--text-main);
}

.compact-row-title a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background-color: var(--color-primary);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-link-more {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.section-link-more:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.content-section {
    margin-bottom: 3rem;
}

/* ==========================================================================
   Standard Article Card (Vertical Grid)
   ========================================================================== */
.article-card {
    background-color: var(--bg-surface);
    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);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.article-card-thumb {
    aspect-ratio: 16 / 9;
    background-color: var(--bg-surface-subtle);
    overflow: hidden;
}

.article-card-thumb img, .article-card-thumb svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-thumb img,
.article-card:hover .article-card-thumb svg {
    transform: scale(1.03);
}

.article-card-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.article-card-title a {
    color: var(--text-main);
}

.article-card-title a:hover {
    color: var(--color-primary);
}

.article-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

/* ==========================================================================
   Government Job Card
   ========================================================================== */
.job-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
    border-left-color: var(--color-accent);
}

.job-org-tag {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.job-title a {
    color: var(--text-main);
}

.job-title a:hover {
    color: var(--color-primary);
}

.job-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    font-size: 0.8125rem;
    padding: 0.75rem 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
}

.job-detail-item {
    display: flex;
    flex-direction: column;
}

.job-detail-label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.job-detail-val {
    font-weight: 600;
    color: var(--text-main);
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
}

/* ==========================================================================
   Exam Updates Pill Cards
   ========================================================================== */
.exam-update-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
}

.exam-update-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-surface-elevated);
}

.exam-update-info {
    flex: 1;
}

.exam-update-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.exam-update-title a {
    color: var(--text-main);
}

.exam-update-title a:hover {
    color: var(--color-primary);
}

.exam-update-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.75rem;
}

/* ==========================================================================
   Scholarship Card
   ========================================================================== */
.scholarship-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.scholarship-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.scholarship-award-badge {
    display: inline-block;
    background-color: var(--color-secondary-light);
    color: var(--color-secondary);
    font-weight: 800;
    font-size: 0.875rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.scholarship-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.scholarship-title a {
    color: var(--text-main);
}

.scholarship-title a:hover {
    color: var(--color-primary);
}

.scholarship-eligibility {
    font-size: 0.845rem;
    color: var(--text-body);
    margin-bottom: 1rem;
    flex: 1;
}

/* ==========================================================================
   Trending 1 to 5 Numbered List
   ========================================================================== */
.trending-numbered-list {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.trending-item-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.trending-item-row:last-child {
    border-bottom: none;
}

.trending-item-row:hover {
    background-color: var(--bg-surface-subtle);
}

.trending-rank-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1;
    min-width: 28px;
    font-feature-settings: "tnum";
}

.trending-item-row:nth-child(1) .trending-rank-num { color: var(--color-danger); }
.trending-item-row:nth-child(2) .trending-rank-num { color: var(--color-accent); }
.trending-item-row:nth-child(3) .trending-rank-num { color: var(--color-primary); }

.trending-item-content {
    flex: 1;
}

.trending-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.trending-item-title a {
    color: var(--text-main);
}

.trending-item-title a:hover {
    color: var(--color-primary);
}

.trending-item-meta {
    font-size: 0.785rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* ==========================================================================
   Category Cards Grid
   ========================================================================== */
.category-overview-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: var(--transition);
}

.category-overview-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.cat-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-card-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cat-card-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Newsletter Signup Box
   ========================================================================== */
.newsletter-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

.newsletter-content {
    max-width: 540px;
}

.newsletter-title {
    color: #ffffff;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    margin-bottom: 0.5rem;
}

.newsletter-desc {
    color: #cbd5e1;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 440px;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    outline: none;
    font-size: 0.9375rem;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

.newsletter-btn {
    background-color: #f59e0b; /* Amber */
    color: #0f172a;
    font-weight: 700;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: #d97706;
}

@media (max-width: 860px) {
    .newsletter-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.25rem;
    }
    .newsletter-form {
        max-width: 100%;
        flex-direction: column;
    }
}

/* ==========================================================================
   Article Page Layout (2-Column Desktop, 1-Column Mobile)
   ========================================================================== */
.article-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.article-main-column {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-xs);
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    min-width: 0;
    max-width: 100%;
}

/* Breadcrumbs */
.breadcrumbs-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 600;
}

/* Article Header */
.article-header {
    margin-bottom: 1.5rem;
}

.article-headline {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.3;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.article-lead-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 400;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
    background-color: var(--bg-surface-subtle);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.845rem;
    color: var(--text-muted);
}

.byline-author-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.byline-author-name {
    font-weight: 700;
    color: var(--text-main);
}

.byline-dates {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: right;
}

/* ==========================================================================
   Interactive Audio Article Player Bar
   ========================================================================== */
.audio-article-player {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin: 1rem 0 1.5rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
    transition: all 0.2s ease;
}

.audio-article-player.is-playing {
    border-color: #93c5fd;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.audio-player-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.audio-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
    transition: transform 0.15s ease, background-color 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.audio-play-btn span,
.audio-play-btn svg,
.audio-stop-btn svg {
    pointer-events: none;
}

.audio-play-btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.audio-play-btn:active {
    transform: scale(0.95);
}

.audio-player-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.audio-player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.audio-player-title {
    font-size: 0.845rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-player-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.audio-progress-container {
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

.audio-progress-bar {
    height: 100%;
    background: #2563eb;
    border-radius: 3px;
    transition: width 0.2s linear;
}

.audio-player-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.audio-speed-btn,
.audio-stop-btn {
    height: 30px;
    padding: 0 0.55rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.audio-speed-btn:hover,
.audio-stop-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

/* Article Hero Image */
.article-featured-media {
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 9;
    background-color: var(--bg-surface-subtle);
}

.article-featured-media img,
.article-featured-media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Body Content & Typography */
.article-body-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
}

.article-body-content h2 {
    font-size: 1.45rem;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: var(--text-main);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border-color);
}

.article-body-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--text-main);
}

.article-body-content p {
    margin-bottom: 1.35rem;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body-content ul { list-style: disc; }
.article-body-content ol { list-style: decimal; }

.article-body-content li {
    margin-bottom: 0.5rem;
}

.article-body-content strong {
    color: var(--text-main);
}

/* ==========================================================================
   Comprehensive High-Precision Data Tables
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.75rem 0 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.article-body-content table,
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    text-align: left;
    margin: 1.75rem 0 2rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    background: #ffffff;
}

.table-responsive > table,
.table-responsive > .data-table {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Table Header */
.article-body-content table th,
.data-table th {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.95rem 1.15rem;
    border-bottom: 2px solid #172554;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: middle;
    white-space: nowrap;
}

.article-body-content table th:last-child,
.data-table th:last-child {
    border-right: none;
}

/* Table Body Cells */
.article-body-content table td,
.data-table td {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    font-size: 0.925rem;
}

.article-body-content table td:last-child,
.data-table td:last-child {
    border-right: none;
}

/* Row Styling & Alternating Colors */
.article-body-content table tbody tr:nth-child(even),
.data-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.article-body-content table tbody tr:nth-child(odd),
.data-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.article-body-content table tbody tr:hover,
.data-table tbody tr:hover {
    background-color: #f0fdf4;
    transition: background-color 0.15s ease-in-out;
}

.article-body-content table tbody tr:last-child td,
.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* First Column Bold Highlight */
.article-body-content table tbody tr td:first-child,
.data-table tbody tr td:first-child {
    font-weight: 600;
    color: #0f172a;
}

/* Code and Strong inside Table Cells */
.article-body-content table td code,
.data-table td code {
    background-color: #f1f5f9;
    color: #0f172a;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   Article Quick Schedule & Timings Board (At-a-Glance)
   ========================================================================== */
.article-quick-facts-board {
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    margin: 0.5rem 0 2rem 0;
    box-shadow: 0 4px 16px -4px rgba(37, 99, 235, 0.08);
}

.quick-facts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
    flex-wrap: wrap;
}

.quick-facts-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1d4ed8;
}

.quick-facts-heading {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.quick-facts-badge {
    font-size: 0.6875rem;
    font-weight: 800;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
}

.quick-fact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.4rem;
    transition: all 0.15s ease;
}

.quick-fact-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.quick-fact-label {
    font-size: 0.725rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.quick-fact-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

/* Status Badges */
.status-pill {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.status-pill-confirmed {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-pill-released {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.status-pill-upcoming {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-pill-closed {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    .quick-facts-grid {
        grid-template-columns: 1fr;
    }
    .article-quick-facts-board {
        padding: 1rem;
    }
}

/* Official Source Verification Box */
.source-verification-box {
    background-color: var(--color-secondary-light);
    border: 1px solid #99f6e4;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.source-ver-icon {
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.source-ver-title {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.source-ver-text {
    font-size: 0.875rem;
    color: #134e4a;
    margin-bottom: 0.5rem;
}

.source-ver-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: underline;
}

/* Info Callout */
.info-callout {
    background-color: var(--color-primary-light);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #1e3a8a;
}

.info-callout-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section-block {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.faq-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.faq-accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background-color: var(--bg-surface);
    overflow: hidden;
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question-btn:hover {
    background-color: var(--bg-surface-subtle);
}

.faq-answer-panel {
    padding: 0 1.25rem 1rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
    display: none;
}

.faq-accordion-item.open .faq-answer-panel {
    display: block;
}

.faq-accordion-item.open .faq-question-btn svg {
    transform: rotate(180deg);
}

/* Author Bio Card */
.author-bio-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-surface-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 2.5rem;
}

.author-bio-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-bio-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.author-bio-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.author-bio-desc {
    font-size: 0.875rem;
    color: var(--text-body);
    margin-bottom: 0;
}

/* Share Bar */
.article-share-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.share-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.share-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-main);
}

.share-btn-pill:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sidebar-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sidebar-article-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-article-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.sidebar-article-title a {
    color: var(--text-main);
}

.sidebar-article-title a:hover {
    color: var(--color-primary);
}

.sidebar-article-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Category Page Header & Layout
   ========================================================================== */
.category-page-header {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xs);
}

.category-page-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.category-page-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 780px;
    margin-bottom: 0;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.page-btn:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--border-strong);
}

.page-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   Search Page
   ========================================================================== */
.search-page-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xs);
}

.search-page-form {
    display: flex;
    gap: 0.75rem;
}

.search-page-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    outline: none;
}

.search-page-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-results-info {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.search-empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background-color: var(--bg-surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
}

.empty-icon {
    color: var(--text-light);
    margin: 0 auto 1rem auto;
}

/* ==========================================================================
   Static / Policy Pages
   ========================================================================== */
.static-page-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3.5vw, 3rem);
    box-shadow: var(--shadow-xs);
}

.static-page-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.static-page-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.5rem;
}

.static-page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.static-page-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.static-page-content h3 {
    font-size: 1.15rem;
    margin-top: 1.35rem;
    margin-bottom: 0.5rem;
}

.static-page-content p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.static-page-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.static-page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    outline: none;
    background-color: var(--bg-surface);
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404-container {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 680px;
    margin: 2rem auto;
    box-shadow: var(--shadow-sm);
}

.error-404-code {
    font-size: clamp(4rem, 10vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--color-primary);
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.error-404-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.error-404-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 1.75rem auto;
}
/* ==========================================================================
   Institutional Authority Footer (Sarkari.online Brand Match)
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, #0a1128 0%, #050a18 100%);
    color: #94a3b8;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    position: relative;
}

/* Main Section */
.footer-main-section {
    padding: 3.25rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.75rem;
}

.footer-col-brand {
    padding-right: 1.25rem;
}

.footer-brand-logo {
    display: inline-block;
    margin-bottom: 0.85rem;
    transition: opacity 0.2s ease;
}

.footer-brand-logo:hover {
    opacity: 0.9;
}

.footer-brand-desc {
    color: #94a3b8;
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
    font-size: 0.875rem;
}

.footer-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.25);
    padding: 4px 11px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fb923c; /* Saffron Badge */
    letter-spacing: 0.02em;
}

.live-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 6px #f97316;
    display: inline-block;
    animation: livePulseGlow 2s infinite ease-in-out;
}

@keyframes livePulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.footer-heading {
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1.25rem 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #ea580c, #f97316, transparent);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-link:hover {
    color: #fb923c;
    transform: translateX(3px);
}

/* Simple Minimalist Disclaimer */
.footer-disclaimer-simple {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-disclaimer-simple p {
    font-size: 0.775rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

.footer-disclaimer-simple strong {
    color: #94a3b8;
    font-weight: 600;
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.15rem 0;
    font-size: 0.8125rem;
    color: #64748b;
    background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy-left {
    color: #64748b;
    font-size: 0.8125rem;
}

.footer-legal-inline-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-legal-inline-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.15s ease;
}

.footer-legal-inline-links a:hover {
    color: #fb923c;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-editorial-grid {
        grid-template-columns: 1fr;
    }
    .article-layout-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.75rem;
    }
}

@media (max-width: 860px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-main {
        padding-top: 1rem;
    }
    .site-logo-img {
        width: 140px;
        height: auto;
        max-height: 36px;
    }
    .header-actions {
        gap: 0.35rem;
    }
    .header-btn {
        width: 34px;
        height: 34px;
    }
    .lang-select-btn {
        height: 34px;
        padding: 0 0.45rem;
        gap: 0.25rem;
        font-size: 0.75rem;
    }
    .lang-select-btn .lang-chevron-icon {
        display: none;
    }
    .current-lang-text {
        font-size: 0.75rem;
        font-weight: 600;
    }
    .footer-top {
        padding: 2.25rem 0 1.75rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem 1.15rem;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 1.25rem;
    }
    .footer-col-legal {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 1.25rem;
    }
    .footer-legal-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 0.75rem;
    }
    .footer-col-title {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    .footer-nav-list {
        gap: 0.5rem;
    }
    .footer-nav-link {
        font-size: 0.8125rem;
    }
    .footer-disclaimer-card {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }
    .card-compact-row {
        flex-direction: column;
    }
    .compact-row-thumb {
        width: 100%;
        height: 140px;
    }
    .job-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .site-logo-img {
        width: 125px;
    }
    .current-lang-text {
        display: none;
    }
    .lang-select-btn {
        width: 34px;
        padding: 0;
        justify-content: center;
    }
    .lang-dropdown-menu {
        right: -50px;
        width: 250px;
    }
}

@media (max-width: 390px) {
    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .card-body {
        padding: 1rem;
    }
    .article-main-column {
        padding: 1rem;
    }
}

/* ==========================================================================
   Multi-Language Switcher (Indian Regional Languages)
   ========================================================================== */
.lang-dropdown-container {
    position: relative;
}

.lang-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 38px;
    padding: 0 0.65rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-select-btn:hover {
    border-color: var(--color-primary);
    background-color: var(--bg-surface-subtle);
    color: var(--color-primary);
}

.lang-chevron-icon {
    display: inline-flex;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.lang-dropdown-container.open .lang-chevron-icon {
    transform: rotate(-90deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 270px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    padding: 0.75rem;
    z-index: 1050;
    display: none;
    animation: fadeIn 0.15s ease-out;
}

.lang-dropdown-container.open .lang-dropdown-menu {
    display: block;
}

.lang-menu-header {
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.45rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.lang-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    max-height: 270px;
    overflow-y: auto;
}

.lang-option-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.35rem 0.5rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    width: 100%;
}

.lang-option-btn:hover {
    background-color: var(--bg-surface-subtle);
    border-color: var(--border-color);
}

.lang-option-btn.active {
    background-color: var(--color-primary-light);
    border-color: rgba(30, 58, 138, 0.2);
}

.lang-native {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.lang-option-btn.active .lang-native {
    color: var(--color-primary);
}

.lang-en {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* Mobile Language Box in Drawer */
.mobile-lang-box {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface-subtle);
}

.mobile-lang-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mobile-lang-title svg, .mobile-lang-title .icon {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    flex-shrink: 0;
}

.lang-select-btn svg, .lang-select-btn .icon {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    flex-shrink: 0;
}

.mobile-lang-select {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    font-weight: 600;
}

/* Complete Suppression of Google Translate Top Bar & Widgets */
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcb,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-xl07Ob-OEVmcb,
.VIpgJd-y606Ge-b7mNX,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip-skin,
.goog-te-spinner-pos {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

body {
    top: 0px !important;
    position: static !important;
    margin-top: 0px !important;
}

html {
    margin-top: 0px !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ==========================================================================
   Sticky Mobile Bottom App Navigation Bar (< 768px)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 68px !important;
    }

    .mobile-bottom-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
        padding-bottom: max(6px, env(safe-area-inset-bottom));
        transition: transform 0.3s ease;
    }

    .mobile-bottom-nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 56px;
        max-width: 540px;
        margin: 0 auto;
        padding: 0 0.5rem;
    }

    .mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-decoration: none;
        color: #64748b;
        font-size: 0.6875rem;
        font-weight: 600;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        padding: 4px 0;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        margin-bottom: 2px;
        transition: all 0.2s ease;
    }

    .mobile-nav-icon svg {
        width: 18px;
        height: 18px;
        stroke-width: 2;
    }

    .mobile-nav-item.active {
        color: #1d4ed8;
        font-weight: 700;
    }

    .mobile-nav-item.active .mobile-nav-icon {
        background: #eff6ff;
        color: #1d4ed8;
        transform: translateY(-2px);
    }

    .mobile-nav-item:active {
        transform: scale(0.92);
    }
}

/* ==========================================================================
   Interactive Topic Pills & Category Matrix (Modern Fast Navigation)
   ========================================================================== */
.topic-matrix-section {
    margin: 3rem 0 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.04);
}

.topic-matrix-header {
    margin-bottom: 1.25rem;
}

.topic-matrix-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.35rem 0 0 0;
    line-height: 1.5;
}

.topic-pills-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.35rem;
}

.topic-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.topic-pill-item:hover {
    background: var(--pill-color, #1d4ed8);
    border-color: var(--pill-color, #1d4ed8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.18);
}

.topic-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pill-bg, #eff6ff);
    color: var(--pill-color, #1d4ed8);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.topic-pill-item:hover .topic-pill-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.topic-pill-name {
    line-height: 1;
}

.topic-pill-hindi {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.topic-pill-item:hover .topic-pill-hindi {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.topic-pill-arrow {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
    margin-left: 2px;
}

.topic-pill-item:hover .topic-pill-arrow {
    color: #ffffff;
    transform: translateX(3px);
}

.topic-boards-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.15rem;
    border-top: 1px dashed #e2e8f0;
    flex-wrap: wrap;
}

.topic-boards-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.topic-boards-chips {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.topic-board-chip {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 3px 9px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.topic-board-chip:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

@media (max-width: 768px) {
    .topic-matrix-section {
        padding: 1.25rem 1rem;
        margin: 2rem 0 1.5rem;
        border-radius: 12px;
    }
    .topic-pill-item {
        padding: 0.5rem 0.85rem;
        font-size: 0.8125rem;
    }
}

/* ==========================================================================
   Editorial Transparency & Non-Affiliation Protocol
   ========================================================================== */
.site-editorial-notice {
    margin: 3rem 0 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.editorial-notice-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
}

.editorial-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    max-width: 18px;
    color: #2563eb;
    flex-shrink: 0;
}

.editorial-notice-main {
    font-size: 0.845rem;
    color: #334155;
    line-height: 1.55;
    margin: 0 0 0.4rem 0;
}

.editorial-notice-sub {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .site-editorial-notice {
        padding: 1rem;
        margin: 2rem 0 1rem;
    }
}







