/* === Base Layout (layouts/public) === */
/* Modern Design Tokens with WCAG AAA/AA Contrast Compliance */
        :root {
            --bg-body: #f8fafc;
            --bg-surface: #ffffff;
            --bg-subtle: #f1f5f9;
            --bg-card: #ffffff;
            --bg-dark: #0f172a;

            --color-text-main: #0f172a;       /* Contrast > 15:1 */
            --color-text-muted: #334155;      /* Contrast > 7:1 */
            --color-text-light: #ffffff;

            --brand-primary: #1e3a8a;        /* Deep Navy Blue */
            --brand-primary-hover: #1e40af;
            --brand-secondary: #047857;      /* Emerald Green */
            --brand-accent: #b45309;         /* High-Contrast Amber */

            --border-color: #cbd5e1;
            --border-subtle: #e2e8f0;

            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
            --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);

            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-full: 9999px;

            --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --max-width: 1240px;
            --sidebar-width: 280px;
            --space-section: 1.25rem;
        }

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

        html, body {
            max-width: 100%;
            overflow-x: clip;
        }

        html {
            font-family: var(--font-family);
            line-height: 1.6;
            color: var(--color-text-main);
            background-color: var(--bg-body);
            -webkit-text-size-adjust: 100%;
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            top: 0 !important;
            font-weight: 400;
        }

        /* Skip Link for Accessibility */
        .skip-link {
            position: absolute;
            top: -100px;
            left: 1rem;
            background: var(--brand-accent);
            color: #ffffff;
            padding: 0.75rem 1.25rem;
            z-index: 9999;
            font-weight: 700;
            border-radius: var(--radius-md);
            text-decoration: none;
            transition: top 0.2s ease;
        }
        .skip-link:focus {
            top: 1rem;
            outline: 3px solid #ffffff;
        }

        /* Focus Ring Styles for A11y */
        a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
            outline: 3px solid #2563eb;
            outline-offset: 3px;
        }

        a {
            color: var(--brand-primary);
            text-decoration: none !important;
            transition: color 0.15s ease;
        }
        a:hover, a:focus, a:active {
            color: var(--brand-primary-hover);
            text-decoration: none !important;
        }

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

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        /* Global Main & Sidebar 2-Column Layout System */
        .global-layout-grid,
        .list-layout-grid,
        .sector-layout-grid,
        .article-shell {
            display: grid;
            grid-template-columns: minmax(0, 1fr) var(--sidebar-width, 280px);
            gap: 1.25rem;
            align-items: flex-start;
        }
        .global-main-col,
        .list-main-col,
        .sector-main-col {
            min-width: 0;
            width: 100%;
        }
        .global-sidebar-col,
        .list-sidebar-col,
        .sector-sidebar-col {
            width: 100%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        @media (max-width: 992px) {
            .global-layout-grid,
            .list-layout-grid,
            .sector-layout-grid,
            .article-shell {
                grid-template-columns: 1fr;
            }
        }

        /* Global Sidebar Widgets & Cards */
        .sidebar-widget-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md, 8px);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .sidebar-widget-header {
            padding: 0.75rem 1rem;
            background: var(--bg-subtle, #f1f5f9);
            border-bottom: 1px solid var(--border-color);
            font-weight: 800;
            font-size: 0.95rem;
            color: var(--color-text-main);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
        }
        .sidebar-widget-body {
            padding: 0.85rem 1rem;
        }
        .sidebar-header-link {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--brand-primary);
            text-decoration: none;
        }
        .sidebar-header-link:hover {
            text-decoration: underline;
        }

        /* Sidebar Deadlines List */
        .sidebar-deadline-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-deadline-item {
            padding: 0.6rem 0;
            border-bottom: 1px dashed var(--border-subtle, #e2e8f0);
        }
        .sidebar-deadline-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .sidebar-deadline-title {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--color-text-main);
            text-decoration: none;
            display: block;
            line-height: 1.35;
            margin-bottom: 0.25rem;
        }
        .sidebar-deadline-title:hover {
            color: var(--brand-primary);
            text-decoration: none;
        }
        .sidebar-deadline-meta {
            font-size: 0.725rem;
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            font-weight: 600;
        }

        /* Sidebar Categories List */
        .sidebar-categories-grid {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
        .sidebar-cat-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.45rem 0.65rem;
            border-radius: var(--radius-sm, 4px);
            font-size: 0.825rem;
            font-weight: 700;
            color: var(--color-text-main);
            text-decoration: none;
            background: var(--bg-subtle, #f8fafd);
            border: 1px solid var(--border-subtle, #e2e8f0);
            transition: all 0.15s ease;
        }
        .sidebar-cat-link:hover {
            background: var(--bg-body);
            color: var(--brand-primary);
            border-color: var(--brand-primary);
            text-decoration: none;
            transform: translateX(2px);
        }
        .sidebar-cat-badge {
            font-size: 0.75rem;
            background: var(--bg-surface);
            padding: 0.1rem 0.45rem;
            border-radius: 4px;
            color: var(--brand-primary);
            font-weight: 800;
            border: 1px solid var(--border-color);
        }

        /* Sidebar Related List (Post Detail) */
        .sidebar-related-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-related-item {
            padding: 0.65rem 0;
            border-bottom: 1px dashed var(--border-subtle, #e2e8f0);
        }
        .sidebar-related-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .sidebar-related-title {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--color-text-main);
            text-decoration: none;
            display: block;
            line-height: 1.4;
            margin-bottom: 0.25rem;
        }
        .sidebar-related-title:hover {
            color: var(--brand-primary);
            text-decoration: none;
        }
        .sidebar-related-meta {
            font-size: 0.75rem;
            color: var(--color-text-muted);
        }

        /* Global Social Alerts & Push Action Buttons */
        .social-join-card {
            padding: 0.85rem 1.1rem;
            border-radius: var(--radius-md, 8px);
            margin-bottom: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-decoration: none !important;
            font-weight: 800;
            font-size: 0.875rem;
            font-family: inherit;
            border: none;
            cursor: pointer;
            width: 100%;
            box-sizing: border-box;
            transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
        }
        .social-join-card:hover {
            transform: translateY(-2px);
        }
        .join-push {
            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
        }
        .join-push:hover {
            background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
            box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
        }
        .join-whatsapp {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 10px rgba(34, 197, 94, 0.25);
        }
        .join-whatsapp:hover {
            background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
            box-shadow: 0 6px 14px rgba(34, 197, 94, 0.35);
        }
        .join-telegram {
            background: linear-gradient(135deg, #0284c7 0%, #0088cc 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 10px rgba(0, 136, 204, 0.25);
        }
        .join-telegram:hover {
            background: linear-gradient(135deg, #0369a1 0%, #0077b5 100%) !important;
            box-shadow: 0 6px 14px rgba(0, 136, 204, 0.35);
        }
        .join-discussion {
            background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
        }
        .join-discussion:hover {
            background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
            box-shadow: 0 6px 14px rgba(13, 148, 136, 0.35);
        }

        /* Global Category & Organization Cards Grid (Left Aligned with Counter Badges) */
        .category-pills-section {
            margin-top: 2.25rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
        }
        .category-pills-heading {
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--color-text-main);
            margin-bottom: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .category-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 0.65rem;
        }
        .category-card-item {
            background-color: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm, 6px);
            padding: 0.55rem 0.85rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            box-shadow: var(--shadow-sm);
            transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
            text-decoration: none !important;
            color: var(--color-text-main);
            text-align: left;
        }
        .category-card-item:hover, .category-card-item:focus {
            transform: translateY(-2px);
            border-color: var(--brand-primary);
            background-color: #f0f7fa;
            box-shadow: var(--shadow-md);
        }
        html[data-theme="dark"] .category-card-item:hover {
            background-color: #1e293b;
        }
        .category-card-name {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--color-text-main);
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-align: left;
            flex: 1;
            min-width: 0;
        }
        .category-card-count-badge {
            font-size: 0.75rem;
            font-weight: 800;
            color: var(--brand-primary);
            background-color: var(--bg-subtle, #f1f5f9);
            border: 1px solid var(--border-subtle, #e2e8f0);
            padding: 0.15rem 0.45rem;
            border-radius: 4px;
            flex-shrink: 0;
        }
        @media (max-width: 640px) {
            .category-cards-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.5rem;
            }
            .category-card-item {
                padding: 0.45rem 0.65rem;
            }
            .category-card-name {
                font-size: 0.825rem;
            }
        }

        /* Top Announcement Ticker Bar */
        .top-banner {
            background-color: var(--bg-dark);
            color: #f8fafc;
            font-size: 0.875rem;
            border-bottom: 2px solid #334155;
            padding: 0.45rem 0;
            line-height: 1.2;
        }
        .top-banner-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        .top-banner-left, .top-banner-right {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .live-badge {
            background-color: #dc2626;
            color: #ffffff;
            font-size: 0.75rem;
            font-weight: 800;
            padding: 0.25rem 0.55rem;
            border-radius: var(--radius-sm);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            line-height: 1;
            flex-shrink: 0;
        }
        .live-pulse {
            width: 8px;
            height: 8px;
            background-color: #ffffff;
            border-radius: 50%;
            display: inline-block;
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse {
            0% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(1.2); }
            100% { opacity: 1; transform: scale(1); }
        }
        .top-banner-text {
            font-weight: 600;
            font-size: 0.85rem;
            color: #f1f5f9;
        }
        .top-banner-date {
            font-size: 0.8rem;
            color: #cbd5e1;
            font-weight: 600;
            white-space: nowrap;
        }

        /* Google Translate Custom Widget Styling - Exact 140x30px Layout */
        .translate-box {
            display: inline-flex;
            align-items: center;
            position: relative;
            width: 140px;
            height: 30px;
        }
        .translate-skeleton {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            padding: 0 0.5rem;
            border-radius: var(--radius-sm);
            background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
            background-size: 200% 100%;
            animation: translateSkeletonPulse 1.8s infinite;
            color: #cbd5e1;
            font-size: 0.775rem;
            font-weight: 700;
            border: 1px solid #475569;
            width: 140px;
            height: 30px;
            box-sizing: border-box;
            cursor: pointer;
            user-select: none;
        }
        @keyframes translateSkeletonPulse {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        #google_translate_element {
            display: inline-block;
            width: 140px;
            height: 30px;
        }
        .goog-te-gadget {
            font-family: inherit !important;
            font-size: 0px !important;
            color: transparent !important;
        }
        .goog-te-gadget span,
        .goog-te-gadget a,
        .goog-logo-link {
            display: none !important;
        }
        .goog-te-gadget .goog-te-combo {
            margin: 0 !important;
            padding: 0.25rem 0.5rem !important;
            border-radius: var(--radius-sm) !important;
            border: 1px solid #475569 !important;
            background-color: #0f172a !important;
            color: #ffffff !important;
            font-size: 0.8rem !important;
            font-weight: 700 !important;
            outline: none !important;
            cursor: pointer;
            width: 140px !important;
            height: 30px !important;
            box-sizing: border-box !important;
            display: inline-block !important;
        }
        .goog-te-banner-frame, iframe.goog-te-banner-frame, .goog-te-balloon-frame {
            display: none !important;
        }

        /* Site Main Header */
        .site-header {
            background-color: var(--bg-surface);
            border-bottom: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            position: relative;
            z-index: 1000;
        }
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            gap: 1rem;
        }
        .brand-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            color: var(--color-text-main);
        }
        .logo-emblem {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #1e3a8a 0%, #047857 100%);
            color: #ffffff;
            border-radius: var(--radius-md);
            display: grid;
            place-items: center;
            font-weight: 900;
            font-size: 1.25rem;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .brand-title {
            display: flex;
            flex-direction: column;
        }
        .brand-title-main {
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.2;
            color: var(--brand-primary);
            letter-spacing: -0.02em;
        }
        .brand-title-sub {
            font-size: 0.78rem;
            color: var(--color-text-muted);
            font-weight: 600;
        }

        /* Main Navigation Links */
        .main-nav {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .nav-link-item {
            color: var(--color-text-main);
            font-weight: 700;
            font-size: 0.925rem;
            padding: 0.4rem 0.75rem;
            border-radius: var(--radius-sm);
            transition: background-color 0.15s ease, color 0.15s ease;
        }
        .nav-link-item:hover, .nav-link-item:focus {
            background-color: var(--bg-subtle);
            color: var(--brand-primary);
            text-decoration: none;
        }
        .btn-admin-link {
            background-color: var(--brand-primary);
            color: #ffffff !important;
            font-weight: 700;
            font-size: 0.875rem;
            padding: 0.45rem 1rem;
            border-radius: var(--radius-full);
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            box-shadow: var(--shadow-sm);
        }
        .btn-admin-link:hover {
            background-color: var(--brand-primary-hover);
            text-decoration: none;
        }

        /* Page Layout Shell */
        .page-content {
            flex: 1;
            padding: 0;
        }

        /* Site Footer */
        .site-footer {
            background-color: var(--bg-dark);
            color: #f8fafc;
            border-top: 4px solid var(--brand-primary);
            margin-top: var(--space-section);
        }
        .footer-top {
            padding: 2.5rem 0 1.5rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 2rem;
        }
        .footer-heading {
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 800;
            margin-bottom: 1rem;
            border-left: 3px solid var(--brand-accent);
            padding-left: 0.6rem;
        }
        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-links a {
            color: #cbd5e1;
            font-size: 0.9rem;
            transition: color 0.15s ease;
        }
        .footer-links a:hover {
            color: #ffffff;
            text-decoration: none !important;
        }
        .footer-bottom {
            background-color: #020617;
            padding: 1rem 0;
            border-top: 1px solid #1e293b;
            font-size: 0.85rem;
            color: #94a3b8;
            text-align: center;
        }

        /* Responsive Breakpoints & Mobile Navigation Drawer */
        .mobile-nav-toggle {
            display: none;
            background: var(--bg-subtle);
            border: 1px solid var(--border-color);
            color: var(--color-text-main);
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        .mobile-nav-toggle:hover {
            background: var(--border-subtle);
        }

        .mobile-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(4px);
            z-index: 1998;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .mobile-backdrop.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-drawer {
            position: fixed;
            top: 0;
            right: -320px;
            width: 320px;
            max-width: 85vw;
            height: 100vh;
            background: var(--bg-surface);
            color: var(--color-text-main);
            z-index: 1999;
            box-shadow: var(--shadow-lg);
            display: flex;
            flex-direction: column;
            transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
            overflow-y: auto;
            visibility: hidden;
        }
        .mobile-drawer.active {
            right: 0;
            visibility: visible;
        }

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

        .drawer-close-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--color-text-muted);
            cursor: pointer;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s ease;
        }
        .drawer-close-btn:hover {
            background: var(--bg-subtle);
            color: var(--color-text-main);
        }

        .drawer-body {
            padding: 1rem 1.25rem 2rem;
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
            flex: 1;
        }

        .drawer-auth-box {
            background: var(--bg-subtle);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .drawer-nav-list {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            list-style: none;
        }

        .drawer-nav-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 0.85rem;
            color: var(--color-text-main);
            font-weight: 700;
            font-size: 0.95rem;
            border-radius: var(--radius-sm);
            text-decoration: none;
            transition: background 0.15s ease, color 0.15s ease;
        }
        .drawer-nav-item:hover, .drawer-nav-item:focus {
            background: var(--bg-subtle);
            color: var(--brand-primary);
            text-decoration: none;
        }

        .drawer-accordion-btn {
            width: 100%;
            background: none;
            border: none;
            cursor: pointer;
            font-family: inherit;
            text-align: left;
        }
        .drawer-accordion-content {
            display: none;
            flex-direction: column;
            gap: 0.35rem;
            padding-left: 0.75rem;
            margin-top: 0.35rem;
            border-left: 2px solid var(--border-color);
        }
        .drawer-accordion-content.active {
            display: flex;
        }
        .drawer-sublink {
            display: block;
            padding: 0.45rem 0.75rem;
            font-size: 0.875rem;
            color: var(--color-text-muted);
            font-weight: 600;
            border-radius: var(--radius-sm);
            text-decoration: none;
        }
        .drawer-sublink:hover {
            color: var(--brand-primary);
            background: var(--bg-subtle);
            text-decoration: none;
        }

        /* Horizontal Ticker Chips Scrollbar styling */
        .states-chip-bar {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            overflow-x: auto;
            white-space: nowrap;
            padding: 0.5rem 0;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .states-chip-bar::-webkit-scrollbar {
            display: none;
        }
        .state-chip-link {
            display: inline-flex;
            align-items: center;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--color-text-main);
            text-decoration: none;
            padding: 6px 14px;
            border-radius: var(--radius-full);
            border: 1px solid var(--border-color);
            background-color: var(--bg-subtle);
            transition: all 0.15s ease;
            flex-shrink: 0;
        }
        .state-chip-link:hover {
            border-color: var(--brand-primary);
            background-color: var(--brand-primary);
            color: #ffffff;
            text-decoration: none;
        }
        .states-swiper-wrapper {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.35rem 0;
        }
        .states-swiper {
            flex: 1 1 auto;
            min-width: 0;
            overflow: hidden;
        }
        .states-swiper .swiper-slide,
        .quick-actions-swiper .swiper-slide {
            width: auto !important;
        }
        .quick-actions-swiper {
            overflow: hidden;
            padding: 0.25rem 0;
        }
        /* Global Select2 Filter Styling */
        .select2-container { width: 100% !important; display: block; }
        .select2-container--default .select2-selection--single {
            height: 38px;
            background-color: var(--bg-body);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .select2-container--default.select2-container--open .select2-selection--single,
        .select2-container--default.select2-container--focus .select2-selection--single {
            border-color: var(--brand-primary);
            outline: none;
            box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.12);
        }
        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: var(--color-text-main);
            font-size: 0.875rem;
            font-weight: 700;
            line-height: 36px;
            padding-left: 12px;
            padding-right: 34px;
        }
        .select2-container--default .select2-selection--single .select2-selection__placeholder {
            color: var(--color-text-main);
            font-weight: 700;
        }
        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 36px;
            right: 6px;
        }
        .select2-container--default .select2-selection--single .select2-selection__clear {
            margin-right: 4px;
            font-size: 1rem;
            color: var(--color-text-muted);
        }
        .select2-dropdown {
            background-color: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-lg);
            z-index: 1050;
        }
        .select2-search--dropdown { padding: 8px; }
        .select2-search--dropdown .select2-search__field {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            padding: 6px 10px;
            font-size: 0.875rem;
            background: var(--bg-body);
            color: var(--color-text-main);
            outline: none;
        }
        .select2-search--dropdown .select2-search__field:focus {
            border-color: var(--brand-primary);
        }
        .select2-results__option {
            font-size: 0.875rem;
            font-weight: 600;
            padding: 8px 12px;
            color: var(--color-text-main);
        }
        .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
            background-color: var(--brand-primary);
            color: #ffffff;
        }
        /* Global Single-Line Ellipsis Breadcrumb */
        nav[aria-label="Breadcrumb"] {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            max-width: 100%;
        }
        nav[aria-label="Breadcrumb"] ol {
            display: flex !important;
            flex-wrap: nowrap !important;
            align-items: center;
            overflow: hidden;
            white-space: nowrap;
            min-width: 0;
        }
        nav[aria-label="Breadcrumb"] ol > li {
            flex: 0 0 auto;
            white-space: nowrap;
        }
        nav[aria-label="Breadcrumb"] ol > li:last-child {
            flex: 1 1 auto;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .states-swiper-btn {
            flex: 0 0 28px;
            width: 28px;
            height: 28px;
            border-radius: 9999px;
            border: 1px solid var(--border-color);
            background: var(--bg-subtle);
            color: var(--color-text-main);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 800;
            line-height: 1;
            transition: all 0.15s ease;
        }
        .states-swiper-btn:hover {
            background: var(--brand-primary);
            border-color: var(--brand-primary);
            color: #ffffff;
        }
        .states-swiper-btn.swiper-button-disabled {
            opacity: 0.35;
            cursor: default;
            pointer-events: none;
        }

        /* Quick Blue Category Action Buttons Strip */
        .quick-category-action-strip {
            background-color: var(--bg-surface);
            border-top: 1px solid var(--border-subtle);
            padding: 0.35rem 0.75rem;
        }
        .quick-action-buttons-list {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            flex-wrap: wrap;
        }
        .quick-btn-item {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: #0060cc;
            color: #ffffff !important;
            font-size: 0.835rem;
            font-weight: 700;
            padding: 0.35rem 0.75rem;
            border-radius: 4px;
            text-decoration: none !important;
            white-space: nowrap;
            transition: all 0.15s ease-in-out;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }
        .quick-btn-item:hover, .quick-btn-item:focus {
            background-color: #004da3;
            color: #ffffff !important;
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
        }

        @media (max-width: 868px) {
            .quick-action-buttons-list {
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                padding-bottom: 2px;
            }
            .quick-action-buttons-list::-webkit-scrollbar {
                display: none;
            }
            .quick-btn-item {
                flex-shrink: 0;
                font-size: 0.8rem;
                padding: 0.3rem 0.65rem;
            }
            :root {
                --space-section: 1.25rem;
            }
            .mobile-nav-toggle {
                display: inline-flex;
            }
            .desktop-nav-strip {
                display: none !important;
            }
            .top-banner-text {
                font-size: 0.775rem;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            .top-banner-date {
                display: none;
            }
            .user-nav-controls .nav-link-item,
            .user-nav-controls .btn-admin-link {
                display: none !important;
            }
            .brand-title-main {
                font-size: 1.15rem;
            }
            .brand-title-sub {
                font-size: 0.7rem;
            }
            .logo-emblem {
                width: 38px;
                height: 38px;
                font-size: 1.1rem;
            }
        }

        /* Dark Mode Theme Variables */
        html[data-theme="dark"] {
            --bg-body: #0f172a;
            --bg-surface: #1e293b;
            --bg-subtle: #0f172a;
            --bg-card: #1e293b;
            --bg-dark: #020617;

            --color-text-main: #f8fafc;
            --color-text-muted: #cbd5e1;
            --color-text-light: #ffffff;

            --brand-primary: #3b82f6;
            --brand-primary-hover: #60a5fa;
            --brand-secondary: #10b981;
            --brand-accent: #fbbf24;

            --border-color: #334155;
            --border-subtle: #475569;
        }

        /* Accessible Dropdowns */
        .dropdown {
            position: relative;
            display: inline-block;
        }
        .dropdown-trigger {
            background: none;
            border: none;
            color: var(--color-text-muted);
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            padding: 0.4rem 0.75rem;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            transition: color 0.15s ease;
        }
        .dropdown-trigger:hover {
            color: var(--brand-primary);
        }
        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
            z-index: 9999;
            min-width: 220px;
            max-height: 320px;
            overflow-y: auto;
            padding: 0.5rem 0;
            text-align: left;
        }
        @media (min-width: 869px) {
            .dropdown:hover .dropdown-menu {
                display: block;
            }
        }
        @media (max-width: 868px) {
            .dropdown-trigger {
                white-space: nowrap;
                font-size: 0.85rem;
                padding: 0.35rem 0.6rem;
                background-color: var(--bg-subtle);
                border-radius: 4px;
            }
            .dropdown.active .dropdown-menu {
                display: block;
                position: fixed;
                top: 120px;
                left: 16px;
                right: 16px;
                width: calc(100% - 32px);
                max-height: 200px;
                box-shadow: var(--shadow-lg);
            }
        }
        .dropdown-item {
            display: block;
            padding: 8px 16px;
            color: var(--color-text-main);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 600;
            transition: background 0.15s ease, color 0.15s ease;
        }
        .dropdown-item:hover {
            background-color: var(--bg-subtle);
            color: var(--brand-primary);
        }

        /* Hide scrollbars for states navigation strip */
        .states-strip-scroll::-webkit-scrollbar {
            display: none;
        }
        .states-strip-scroll {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* Sticky fixed Telegram and WhatsApp floating buttons */
        .sticky-channel-buttons {
            position: fixed;
            bottom: 20px;
            right: 18px;
            display: flex;
            flex-direction: column;
            gap: 3px;
            z-index: 99999;
            background: rgba(15, 23, 42, 0.12);
            padding: 3px;
            border-radius: 8px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
            backdrop-filter: blur(4px);
            cursor: grab;
            touch-action: none;
            user-select: none;
            -webkit-user-select: none;
            will-change: transform;
            transform: translate3d(0, 0, 0);
            -webkit-transform: translate3d(0, 0, 0);
        }

        .sticky-channel-buttons.is-dragging {
            cursor: grabbing !important;
            transition: none !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        }

        .sticky-channel-buttons.is-dragging a,
        .sticky-channel-buttons.is-dragging button {
            pointer-events: none;
        }

        .sticky-channel-buttons.tooltip-on-right .sticky-btn .tooltip-text {
            left: 52px;
            right: auto;
        }

        .sticky-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 6px;
            color: white !important;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            text-decoration: none;
        }

        .sticky-btn svg {
            width: 21px;
            height: 21px;
        }

        .sticky-btn:hover {
            transform: scale(1.12);
            z-index: 2;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .sticky-btn-wa {
            background-color: #25d366;
        }

        .sticky-btn-wa:hover {
            background-color: #20ba5a;
        }

        .sticky-btn-tg {
            background-color: #0088cc;
        }

        .sticky-btn-tg:hover {
            background-color: #0077b5;
        }

        .sticky-btn-chat {
            background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
            border: none;
            cursor: pointer;
        }

        .sticky-btn-chat:hover {
            background: linear-gradient(135deg, #064e46 0%, #0f766e 100%);
        }

        .sticky-btn .tooltip-text {
            visibility: hidden;
            width: max-content;
            white-space: nowrap;
            background-color: #0f172a;
            color: #fff;
            text-align: center;
            border-radius: 4px;
            padding: 4px 8px;
            position: absolute;
            z-index: 100000;
            right: 52px;
            opacity: 0;
            transition: opacity 0.2s;
            font-size: 11px;
            font-weight: 700;
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .sticky-btn:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

        @media (max-width: 768px) {
            .sticky-channel-buttons {
                bottom: 14px;
                right: 12px;
                gap: 3px;
                padding: 3px;
            }
            .sticky-btn {
                width: 39px;
                height: 39px;
                border-radius: 6px;
            }
            .sticky-btn svg {
                width: 20px;
                height: 20px;
            }
            .sticky-btn .tooltip-text {
                display: none;
            }
        }

        /* Universal Accessible Pagination Styles */
        .pagination-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 2.25rem 0 1rem;
            width: 100%;
        }
        .pagination-container {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
            width: 100%;
            padding: 0.85rem 1.25rem;
            background-color: var(--bg-surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            box-sizing: border-box;
        }
        .pagination-nav {
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: wrap;
            gap: 0.4rem;
        }
        .pagination-item {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
            min-width: 2.4rem;
            height: 2.4rem;
            padding: 0.3rem 0.75rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            background-color: var(--bg-surface);
            color: var(--color-text-main);
            font-weight: 700;
            font-size: 0.875rem;
            text-decoration: none;
            transition: all 0.15s ease;
            user-select: none;
            box-sizing: border-box;
        }
        a.pagination-item:hover, a.pagination-item:focus {
            background-color: var(--brand-primary);
            color: #ffffff;
            border-color: var(--brand-primary);
            text-decoration: none;
            box-shadow: var(--shadow-sm);
            transform: translateY(-1px);
        }
        .pagination-item.pagination-active {
            background-color: var(--brand-primary);
            color: #ffffff;
            border-color: var(--brand-primary);
            font-weight: 800;
            box-shadow: 0 2px 4px rgba(30, 58, 138, 0.25);
            cursor: default;
        }
        .pagination-item.pagination-disabled {
            background-color: var(--bg-subtle);
            color: var(--color-text-muted);
            border-color: var(--border-subtle);
            cursor: not-allowed;
            opacity: 0.65;
        }
        .pagination-item.pagination-ellipsis {
            border: none;
            background: transparent;
            min-width: 1.25rem;
            padding: 0 0.2rem;
            color: var(--color-text-muted);
            cursor: default;
        }

        /* Pagination Jump To Page & Total Info */
        .pagination-jump-wrapper {
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            gap: 0.85rem;
            flex-wrap: wrap;
            font-size: 0.85rem;
        }
        .pagination-page-info {
            color: var(--color-text-main);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            white-space: nowrap;
        }
        .pagination-page-info strong {
            color: var(--brand-primary);
            font-weight: 800;
        }
        .pagination-total-badge {
            display: inline-block;
            background-color: var(--bg-subtle);
            color: var(--color-text-muted);
            font-weight: 700;
            font-size: 0.785rem;
            padding: 0.15rem 0.5rem;
            border-radius: var(--radius-full);
            border: 1px solid var(--border-subtle);
        }
        .pagination-jump-form {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
        .pagination-jump-label {
            font-size: 0.825rem;
            font-weight: 700;
            color: var(--color-text-muted);
            margin: 0;
            white-space: nowrap;
        }
        .pagination-jump-input {
            width: 54px;
            height: 32px;
            padding: 0 0.35rem;
            text-align: center;
            border-radius: var(--radius-sm);
            border: 1.5px solid var(--border-color);
            background-color: var(--bg-main);
            color: var(--color-text-main);
            font-weight: 800;
            font-size: 0.85rem;
            outline: none;
            transition: all 0.15s ease;
            box-sizing: border-box;
        }
        .pagination-jump-input:focus {
            border-color: var(--brand-primary);
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18);
        }
        /* Hide default number stepper buttons on jump input */
        .pagination-jump-input::-webkit-outer-spin-button,
        .pagination-jump-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .pagination-jump-input[type=number] {
            -moz-appearance: textfield;
            appearance: textfield;
        }
        .pagination-jump-btn {
            height: 32px;
            padding: 0 0.85rem;
            background-color: var(--brand-primary);
            color: #ffffff;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 800;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.15s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }
        .pagination-jump-btn:hover, .pagination-jump-btn:focus {
            background-color: var(--brand-accent);
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        @media (max-width: 768px) {
            .pagination-container {
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 0.85rem;
                padding: 1rem 0.85rem;
            }
            .pagination-nav {
                justify-content: center;
                gap: 0.3rem;
            }
            .pagination-jump-wrapper {
                justify-content: center;
                width: 100%;
                gap: 0.65rem;
            }
        }
        @media (max-width: 480px) {
            .pagination-item {
                min-width: 2.15rem;
                height: 2.15rem;
                padding: 0.2rem 0.45rem;
                font-size: 0.8rem;
            }
        }

        /* Common Unified Post Card System */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.25rem;
        }
        @media (max-width: 992px) {
            .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 640px) {
            .cards-grid { grid-template-columns: 1fr; }
        }

        .common-post-card {
            background-color: var(--bg-surface, #ffffff);
            border: 1px solid var(--border-color, #cbd5e1);
            border-radius: var(--radius-md, 10px);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
            height: 100%;
            position: relative;
        }
        .common-post-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
            border-color: var(--brand-primary, #2563eb);
        }
        .common-card-thumb {
            width: 100%;
            aspect-ratio: 16 / 9;
            background-color: var(--bg-dark, #0f172a);
            position: relative;
            overflow: hidden;
            display: block;
            text-decoration: none;
        }
        .common-card-thumb-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.35s ease;
        }
        .common-post-card:hover .common-card-thumb-img {
            transform: scale(1.05);
        }
        .common-card-thumb-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 50%, #047857 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            padding: 1rem;
            text-align: center;
        }
        .common-placeholder-logo {
            font-size: 2rem;
            font-weight: 900;
            letter-spacing: -0.03em;
            color: #ffffff;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .common-placeholder-text {
            font-size: 0.75rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.85);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-top: 2px;
        }
        .common-card-type-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(4px);
            color: #ffffff;
            font-size: 0.65rem;
            font-weight: 800;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            z-index: 2;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .common-card-new-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            font-size: 0.65rem;
            font-weight: 900;
            padding: 0.2rem 0.55rem;
            border-radius: 4px;
            letter-spacing: 0.05em;
            z-index: 2;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            white-space: nowrap;
            animation: liveBadgePulse 1.8s infinite ease-in-out;
        }
        .common-card-new-badge::before {
            content: '';
            display: inline-block;
            width: 5px;
            height: 5px;
            background-color: #ffffff;
            border-radius: 50%;
            box-shadow: 0 0 4px #ffffff;
        }
        .common-card-new-badge.badge-today {
            background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #b45309 100%) !important;
            box-shadow: 0 0 10px rgba(245, 158, 11, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
            color: #ffffff !important;
        }
        .common-card-new-badge.badge-yesterday {
            background: linear-gradient(135deg, #ff7700 0%, #ea580c 50%, #c2410c 100%) !important;
            box-shadow: 0 0 10px rgba(234, 88, 12, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
            color: #ffffff !important;
        }
        .common-card-new-badge.badge-new {
            background: linear-gradient(135deg, #ff1e1e 0%, #dc2626 50%, #b91c1c 100%) !important;
            box-shadow: 0 0 10px rgba(220, 38, 38, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
            color: #ffffff !important;
        }
        .common-card-body {
            padding: 1rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .common-card-meta {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.75rem;
            color: var(--color-text-muted, #64748b);
            font-weight: 600;
            margin-bottom: 0.4rem;
        }
        .common-card-category-tag {
            color: var(--brand-primary, #2563eb);
            font-weight: 800;
            text-transform: uppercase;
            font-size: 0.7rem;
            letter-spacing: 0.03em;
        }
        .common-card-title {
            font-size: 0.98rem;
            font-weight: 800;
            line-height: 1.35;
            margin: 0 0 0.5rem 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .common-card-title a {
            color: var(--color-text-main, #0f172a);
            text-decoration: none;
            transition: color 0.15s ease;
        }
        .common-card-title a:hover {
            color: var(--brand-primary, #2563eb);
        }
        .common-card-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.35rem;
            margin-bottom: 0.5rem;
            font-size: 0.72rem;
            font-weight: 700;
        }
        .pill-badge {
            padding: 0.15rem 0.45rem;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
        }
        .pill-org { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
        .pill-deadline { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
        .pill-vacancies { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
        .pill-admit { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
        .pill-result { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
        .pill-start { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }

        .common-card-excerpt {
            font-size: 0.825rem;
            color: var(--color-text-muted, #475569);
            line-height: 1.45;
            margin: 0 0 0.75rem 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .common-card-footer {
            margin-top: auto;
            padding-top: 0.5rem;
            border-top: 1px solid var(--border-subtle, #f1f5f9);
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.78rem;
        }
        .common-card-footer .author-text {
            color: var(--color-text-muted, #64748b);
            font-weight: 600;
        }
        .common-card-footer .details-link {
            font-weight: 800;
            color: var(--brand-primary, #2563eb);
            text-decoration: none;
        }
        /* Mobile-only Alerts Wrapper */
        @media (min-width: 993px) {
            .mobile-alerts-only {
                display: none !important;
            }
        }

        /* Sidebar Alerts Widget (Vertical 1-Column Stacked inside Sidebar) */
        aside .social-alerts-grid,
        .list-sidebar-col .social-alerts-grid,
        .landing-sidebar-col .social-alerts-grid,
        .desktop-alerts-widget .social-alerts-grid {
            display: flex !important;
            flex-direction: column !important;
            gap: 0.65rem !important;
            padding: 0.85rem 1rem !important;
        }
        aside .social-alerts-grid .social-join-card,
        .list-sidebar-col .social-alerts-grid .social-join-card,
        .landing-sidebar-col .social-alerts-grid .social-join-card,
        .desktop-alerts-widget .social-alerts-grid .social-join-card {
            width: 100% !important;
            padding: 0.85rem 1.1rem !important;
            font-size: 0.9rem !important;
            font-weight: 800 !important;
            margin-bottom: 0 !important;
            white-space: normal !important;
            border-radius: var(--radius-md, 8px) !important;
        }

        /* Article Assistance Widget (Horizontal 4-Column Grid under Post Content) */
        .article-alerts-widget .sidebar-widget-body,
        .main-content-alerts .social-alerts-grid {
            display: grid !important;
            grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
            gap: 0.55rem !important;
            padding: 0.85rem 1rem !important;
        }
        .article-alerts-widget .social-join-card,
        .main-content-alerts .social-join-card {
            padding: 0.5rem 0.75rem !important;
            font-size: 0.8125rem !important;
            font-weight: 700 !important;
            border-radius: 6px !important;
            margin-bottom: 0 !important;
            white-space: nowrap !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            height: auto !important;
            min-height: 38px !important;
        }
        @media (max-width: 992px) {
            .article-alerts-widget .sidebar-widget-body,
            .main-content-alerts .social-alerts-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }
        }
        @media (max-width: 540px) {
            .article-alerts-widget .sidebar-widget-body,
            .main-content-alerts .social-alerts-grid {
                grid-template-columns: 1fr !important;
            }
        }

/* === Post Card Component === */
.common-post-card {
        background-color: var(--bg-surface, #ffffff);
        border: 1px solid var(--border-color, #cbd5e1);
        border-radius: var(--radius-md, 10px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        height: 100%;
        position: relative;
        box-sizing: border-box;
    }
    .common-post-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
        border-color: var(--brand-primary, #2563eb);
    }
    .common-card-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
        background-color: var(--bg-dark, #0f172a);
        position: relative;
        overflow: hidden;
        display: block;
        text-decoration: none;
    }
    .common-card-thumb-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease;
    }
    .common-post-card:hover .common-card-thumb-img {
        transform: scale(1.05);
    }
    .common-card-thumb-placeholder {
        width: 100%;
        height: 100%;
        min-height: 160px;
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 50%, #047857 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        padding: 1rem;
        text-align: center;
        box-sizing: border-box;
    }
    .common-placeholder-logo {
        font-size: 2rem;
        font-weight: 900;
        letter-spacing: -0.03em;
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .common-placeholder-text {
        font-size: 0.75rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.85);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-top: 2px;
    }
    .common-card-type-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(4px);
        color: #ffffff !important;
        font-size: 0.65rem;
        font-weight: 800;
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .common-card-new-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 0.65rem;
        font-weight: 900;
        padding: 0.2rem 0.55rem;
        border-radius: 4px;
        letter-spacing: 0.05em;
        z-index: 2;
        text-transform: uppercase;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        white-space: nowrap;
        animation: liveBadgePulse 1.8s infinite ease-in-out;
    }
    .common-card-new-badge::before {
        content: '';
        display: inline-block;
        width: 5px;
        height: 5px;
        background-color: #ffffff;
        border-radius: 50%;
        box-shadow: 0 0 4px #ffffff;
    }
    .common-card-new-badge.badge-today {
        background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #b45309 100%) !important;
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
        color: #ffffff !important;
    }
    .common-card-new-badge.badge-yesterday {
        background: linear-gradient(135deg, #ff7700 0%, #ea580c 50%, #c2410c 100%) !important;
        box-shadow: 0 0 10px rgba(234, 88, 12, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
        color: #ffffff !important;
    }
    .common-card-new-badge.badge-new {
        background: linear-gradient(135deg, #ff1e1e 0%, #dc2626 50%, #b91c1c 100%) !important;
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
    }
    .common-card-body {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .common-card-meta {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.75rem;
        color: var(--color-text-muted, #64748b);
        font-weight: 600;
        margin-bottom: 0.4rem;
    }
    .common-card-category-tag {
        color: var(--brand-primary, #2563eb);
        font-weight: 800;
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 0.03em;
    }
    .common-card-title {
        font-size: 0.98rem;
        font-weight: 800;
        line-height: 1.35;
        margin: 0 0 0.5rem 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .common-card-title a {
        color: var(--color-text-main, #0f172a);
        text-decoration: none;
        transition: color 0.15s ease;
    }
    .common-card-title a:hover {
        color: var(--brand-primary, #2563eb);
    }
    .common-card-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-bottom: 0.5rem;
        font-size: 0.72rem;
        font-weight: 700;
    }
    .pill-badge {
        padding: 0.15rem 0.45rem;
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
    }
    .pill-org { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
    .pill-deadline { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
    .pill-vacancies { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
    .pill-admit { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
    .pill-result { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
    .pill-start { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }

    .common-card-excerpt {
        font-size: 0.825rem;
        color: var(--color-text-muted, #475569);
        line-height: 1.45;
        margin: 0 0 0.75rem 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .common-card-footer {
        margin-top: auto;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-subtle, #f1f5f9);
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.78rem;
    }
    .common-card-footer .author-text {
        color: var(--color-text-muted, #64748b);
        font-weight: 600;
    }
    .common-card-footer .details-link {
        font-weight: 800;
        color: var(--brand-primary, #2563eb);
        text-decoration: none;
    }
    .common-card-footer .details-link:hover {
        text-decoration: underline;
    }

/* === Post Meta Grid Partial === */
.sarkari-meta-flow {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 6px;
        margin-top: 5px;
        font-size: 0.68rem;
        color: var(--color-text-muted);
        font-weight: 600;
    }
    .sarkari-meta-flow > span {
        white-space: nowrap;
    }
    .sarkari-meta-flow .meta-details-link {
        margin-left: auto;
        font-size: 0.72rem;
        font-weight: 800;
        color: var(--brand-primary, #2563eb);
        text-decoration: none;
        white-space: nowrap;
    }
    .sarkari-meta-flow .meta-details-link:hover {
        text-decoration: underline;
    }
    .sarkari-meta-flow .admin-studio-actions {
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
    }
    .sarkari-meta-flow .admin-studio-btn,
    .sarkari-meta-flow .smart-pill,
    .sarkari-meta-flow .new-badge {
        width: auto;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        margin: 0 !important;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        padding: 1px 5px;
        font-size: 0.56rem;
        line-height: 1.2;
        border-radius: 3px;
    }
    .smart-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.65rem;
        font-weight: 800;
        padding: 0.12rem 0.45rem;
        border-radius: 4px;
        line-height: 1.2;
        white-space: nowrap;
        letter-spacing: 0.02em;
    }
    .smart-pill.pill-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; box-shadow: 0 1px 3px rgba(220, 38, 38, 0.15); }
    .smart-pill.pill-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
    .smart-pill.pill-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
    .smart-pill.pill-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
    .smart-pill.pill-purple { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
    .smart-pill.pill-teal { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
    .common-card-meta-wrap {
        margin-top: auto;
        padding-top: 0.6rem;
        border-top: 1px solid var(--border-subtle, #f1f5f9);
    }

/* === AI Chatbot Partial === */
/* Floating AI Trigger Button */
    .ai-chat-trigger {
        position: fixed;
        bottom: 24px;
        left: 24px;
        z-index: 99990;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
        color: #ffffff;
        border: none;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
        cursor: grab;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        transition: box-shadow 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
        outline: none;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
        will-change: transform;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
    .ai-chat-trigger:hover {
        transform: scale(1.08);
        box-shadow: 0 12px 30px rgba(124, 58, 237, 0.55);
    }
    .ai-chat-trigger.is-dragging {
        cursor: grabbing !important;
        transition: none !important;
        transform: scale(1.08) !important;
        box-shadow: 0 16px 36px rgba(124, 58, 237, 0.65) !important;
    }
    .ai-chat-trigger .ai-badge-pulse {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 14px;
        height: 14px;
        background: #10b981;
        border: 2px solid #ffffff;
        border-radius: 50%;
        animation: aiPulse 2s infinite;
        pointer-events: none;
    }
    @keyframes aiPulse {
        0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
        70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
        100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }

    /* AI Chat Window */
    .ai-chat-window {
        position: fixed;
        bottom: 92px;
        left: 24px;
        right: auto;
        z-index: 99995;
        width: 380px;
        max-width: calc(100vw - 32px);
        height: 540px;
        max-height: calc(100vh - 110px);
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: translateY(20px) scale(0.95);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        font-family: inherit;
    }
    .ai-chat-window.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    /* Chat Header */
    .ai-chat-header {
        background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 100%);
        color: #ffffff;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .ai-chat-header-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .ai-chat-avatar {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    .ai-chat-title {
        font-size: 14px;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.2;
    }
    .ai-chat-subtitle {
        font-size: 11px;
        color: #cbd5e1;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .ai-chat-status-dot {
        width: 7px;
        height: 7px;
        background: #34d399;
        border-radius: 50%;
        display: inline-block;
    }
    .ai-chat-close-btn {
        background: rgba(255, 255, 255, 0.12);
        border: none;
        color: #ffffff;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: background 0.2s;
    }
    .ai-chat-close-btn:hover {
        background: rgba(239, 68, 68, 0.8);
    }

    /* Messages Body */
    .ai-chat-body {
        flex: 1;
        padding: 16px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
        background: #f8fafc;
        scroll-behavior: smooth;
    }
    .ai-msg {
        display: flex;
        flex-direction: column;
        max-width: 85%;
        font-size: 13px;
        line-height: 1.5;
        word-break: break-word;
        animation: fadeInMsg 0.25s ease-out;
    }
    @keyframes fadeInMsg {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .ai-msg.user {
        align-self: flex-end;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: #ffffff;
        padding: 10px 14px;
        border-radius: 16px 16px 2px 16px;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    }
    .ai-msg.bot {
        align-self: flex-start;
        background: #ffffff;
        color: #1e293b;
        padding: 14px 16px;
        border-radius: 18px 18px 18px 4px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
        border: 1px solid #e2e8f0;
        max-width: 90%;
    }
    .ai-msg.bot a {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #2563eb;
        background: #eff6ff;
        padding: 4px 10px;
        border-radius: 6px;
        font-weight: 700;
        font-size: 12px;
        text-decoration: none;
        border: 1px solid #bfdbfe;
        transition: all 0.2s ease;
        margin-top: 4px;
    }
    .ai-msg.bot a:hover {
        background: #2563eb;
        color: #ffffff;
        border-color: #2563eb;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }
    .ai-msg.bot strong {
        color: #0f172a;
        font-weight: 700;
    }

    /* Super Clean & Genuine Paragraph Format */
    .ai-para {
        margin-bottom: 10px;
        line-height: 1.55;
        font-size: 13px;
        color: #1e293b;
    }
    .ai-para:last-child {
        margin-bottom: 0;
    }
    .ai-post-item-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #2563eb;
        font-weight: 700;
        font-size: 12px;
        text-decoration: none;
        margin-top: 2px;
    }
    .ai-post-item-link:hover {
        text-decoration: none !important;
        color: #1d4ed8;
    }

    /* Suggested Chips - Equal Width 2-Column Grid */
    .ai-chips-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px 0;
        margin-top: 6px;
        width: 100%;
    }
    .ai-chip {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        color: #1e293b;
        font-size: 11.5px;
        font-weight: 600;
        padding: 9px 10px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        width: 100%;
        box-sizing: border-box;
    }
    .ai-chip:hover {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-color: #3b82f6;
        color: #1d4ed8;
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(59, 130, 246, 0.18);
    }

    /* Typing Indicator */
    .ai-typing-indicator {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 10px 14px;
        background: #ffffff;
        border-radius: 16px 16px 16px 2px;
        border: 1px solid #e2e8f0;
        width: fit-content;
    }
    .ai-typing-dot {
        width: 6px;
        height: 6px;
        background: #94a3b8;
        border-radius: 50%;
        animation: aiBounce 1.4s infinite ease-in-out;
    }
    .ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
    .ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }
    @keyframes aiBounce {
        0%, 80%, 100% { transform: scale(0); }
        40% { transform: scale(1); }
    }

    /* Chat Footer Input */
    .ai-chat-footer {
        padding: 10px 12px;
        background: #ffffff;
        border-top: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .ai-chat-input {
        flex: 1;
        border: 1px solid #e2e8f0;
        border-radius: 24px;
        padding: 9px 14px;
        font-size: 13px;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
    }
    .ai-chat-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }
    .ai-send-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
        color: #ffffff;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: transform 0.2s, opacity 0.2s;
    }
    .ai-send-btn:hover:not(:disabled) {
        transform: scale(1.08);
    }
    .ai-send-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    @media (max-width: 768px) {
        .ai-chat-trigger {
            bottom: 16px;
            left: 16px;
            width: 50px;
            height: 50px;
            font-size: 24px;
        }
        .ai-chat-window {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            height: 100dvh !important;
            max-width: 100vw !important;
            max-height: 100vh !important;
            max-height: 100dvh !important;
            border-radius: 0 !important;
            border: none !important;
            box-shadow: none !important;
            z-index: 999999 !important;
            transform: translateY(100%) !important;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
        }
        .ai-chat-window.active {
            transform: translateY(0) !important;
            opacity: 1 !important;
        }
        .ai-chat-header {
            padding: max(14px, env(safe-area-inset-top, 14px)) 16px 14px 16px;
            border-radius: 0;
        }
        .ai-chat-close-btn {
            width: 32px;
            height: 32px;
            font-size: 16px;
        }
        .ai-chat-body {
            padding: 14px;
            gap: 12px;
        }
        .ai-chat-footer {
            padding: 10px 12px max(12px, env(safe-area-inset-bottom, 12px)) 12px;
            background: #ffffff;
        }
    }

/* === Post Chat Room Component === */
.post-chat-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: #ffffff;
        border: 1px solid var(--border-color, #cbd5e1);
        border-radius: var(--radius-md, 8px);
        margin: 0;
        overflow: hidden;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05));
    }
    .post-chat-header {
        background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
        color: #ffffff;
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        box-sizing: border-box;
        width: 100%;
    }
    .post-chat-title {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 6px;
        color: #ffffff !important;
        flex-shrink: 1;
        min-width: 0;
    }
    .post-chat-header-right {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        flex-wrap: wrap;
    }
    .post-chat-badge {
        background: rgba(255, 255, 255, 0.2);
        padding: 2px 7px;
        border-radius: 9999px;
        font-size: 0.7rem;
        font-weight: 700;
        white-space: nowrap;
    }
    .chat-live-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(239, 68, 68, 0.25);
        border: 1px solid #fca5a5;
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 900;
        padding: 2px 7px;
        border-radius: 9999px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .chat-live-dot {
        width: 6px;
        height: 6px;
        background: #ef4444;
        border-radius: 50%;
        display: inline-block;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.9);
        animation: chat-live-blink-red 1.3s infinite cubic-bezier(0.66, 0, 0, 1);
    }
    @keyframes chat-live-blink-red {
        0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.9); opacity: 1; }
        50% { opacity: 0.35; }
        70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); opacity: 0.95; }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); opacity: 1; }
    }
    .post-chat-body {
        background: #efeae2;
        padding: 0.75rem;
        min-height: 160px;
        max-height: 320px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        width: 100%;
        box-sizing: border-box;
    }
    .post-chat-bubble {
        max-width: 88%;
        padding: 7px 10px;
        border-radius: 10px;
        font-size: 0.85rem;
        line-height: 1.45;
        position: relative;
        box-shadow: 0 1px 2px rgba(0,0,0,0.08);
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }
    .post-chat-bubble.my-msg {
        align-self: flex-end;
        margin-left: auto;
        margin-right: 0;
        background: #d9fdd3;
        color: #111b21;
        border-bottom-right-radius: 2px;
    }
    .post-chat-bubble.other-msg {
        align-self: flex-start;
        margin-right: auto;
        margin-left: 0;
        background: #ffffff;
        color: #111b21;
        border-bottom-left-radius: 2px;
    }
    .post-chat-bubble.ai-msg {
        align-self: flex-start;
        margin-right: auto;
        margin-left: 0;
        background: #f0fdf4;
        border: 1.5px solid #86efac;
        color: #064e3b;
    }
    .post-chat-sender {
        font-weight: 800;
        font-size: 0.72rem;
        color: #075e54;
        margin-bottom: 2px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    .post-chat-quote {
        background: rgba(0,0,0,0.05);
        border-left: 3px solid #075e54;
        border-radius: 4px;
        padding: 3px 7px;
        font-size: 0.75rem;
        margin-bottom: 5px;
        color: #475569;
    }
    .post-chat-quote-sender {
        font-weight: 800;
        color: #075e54;
    }
    .post-chat-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 4px;
        font-size: 0.7rem;
        color: #64748b;
        flex-wrap: wrap;
    }
    .post-chat-btn-action {
        background: none;
        border: none;
        color: #475569;
        font-weight: 700;
        font-size: 0.7rem;
        cursor: pointer;
        padding: 2px 5px;
        border-radius: 4px;
        transition: background 0.15s ease;
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }
    .post-chat-btn-action:hover { background: rgba(0,0,0,0.08); color: #0f172a; }
    .post-chat-btn-action.active { color: #075e54; font-weight: 900; }
    .post-chat-reply-bar {
        background: #ffffff;
        border-top: 1px solid #cbd5e1;
        padding: 5px 10px;
        font-size: 0.78rem;
        display: none;
        justify-content: space-between;
        align-items: center;
        border-left: 4px solid #075e54;
        width: 100%;
        box-sizing: border-box;
    }

    /* ── Single-Row Clean Input Layout ── */
    .post-chat-form-box {
        background: #ffffff;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        gap: 6px;
        border-top: 1px solid #e2e8f0;
        width: 100%;
        box-sizing: border-box;
    }
    .post-chat-input {
        flex: 1;
        min-width: 0;
        height: 38px;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 0.825rem;
        outline: none;
        background: #ffffff;
        color: #0f172a;
        box-sizing: border-box;
    }
    .post-chat-input:focus {
        outline: none;
        border-color: #cbd5e1;
        box-shadow: none;
    }
    .post-chat-ai-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        background: #f0fdf4;
        color: #166534;
        border: 1.5px solid #86efac;
        border-radius: 8px;
        font-size: 1.1rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.15s;
    }
    .post-chat-ai-btn:hover { background: #dcfce7; border-color: #4ade80; transform: translateY(-1px); }
    .post-chat-send-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
        color: #ffffff;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 2px 5px rgba(7,94,84,0.18);
        transition: all 0.15s;
    }
    .post-chat-send-btn:hover {
        background: linear-gradient(135deg, #064e3b 0%, #075e54 100%);
        box-shadow: 0 3px 8px rgba(7,94,84,0.28);
        transform: translateY(-1px);
    }

    /* ── Guest Login Prompt ── */
    .post-chat-login-prompt {
        background: #f8fafc;
        padding: 10px 12px;
        border-top: 1px solid #e2e8f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
    }
    .btn-chat-auth-login {
        background: #075e54;
        color: #ffffff !important;
        font-size: 0.75rem;
        font-weight: 800;
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: background 0.15s;
    }
    .btn-chat-auth-login:hover { background: #064e3b; }
    .btn-chat-auth-signup {
        background: #2563eb;
        color: #ffffff !important;
        font-size: 0.75rem;
        font-weight: 800;
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: background 0.15s;
    }
    .btn-chat-auth-signup:hover { background: #1d4ed8; }

    /* Very small screens */
    @media (max-width: 400px) {
        .post-chat-body { max-height: 280px; }
    }

    /* ── Full View Modal Styles ── */
    .post-chat-fullview-btn {
        background: rgba(255, 255, 255, 0.22);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.35);
        font-size: 0.72rem;
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 6px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
        transition: all 0.15s ease;
    }
    .post-chat-fullview-btn:hover {
        background: rgba(255, 255, 255, 0.38);
        transform: scale(1.02);
    }
    .post-chat-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.75);
        backdrop-filter: blur(4px);
        z-index: 999999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        box-sizing: border-box;
    }
    .post-chat-modal-overlay.active {
        display: flex;
        animation: postChatFadeIn 0.2s ease-out;
    }
    @keyframes postChatFadeIn {
        from { opacity: 0; transform: scale(0.98); }
        to { opacity: 1; transform: scale(1); }
    }
    .post-chat-modal-dialog {
        width: 90vw;
        max-width: 900px;
        height: 88vh;
        max-height: 800px;
        background: #ffffff;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .post-chat-modal-body {
        flex: 1 !important;
        min-height: 0 !important;
        max-height: none !important;
        height: 100% !important;
    }
    .post-chat-close-btn {
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
        border: none;
        font-size: 1.1rem;
        font-weight: 900;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s ease, transform 0.15s ease;
        line-height: 1;
    }
    .post-chat-close-btn:hover {
        background: #dc2626;
        color: #ffffff;
        transform: scale(1.1);
    }

    /* Mobile full width & height popup styling */
    @media (max-width: 768px) {
        .post-chat-modal-overlay {
            padding: 0 !important;
            inset: 0 !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100% !important;
            height: 100% !important;
            height: 100dvh !important;
            position: fixed !important;
            z-index: 999999 !important;
            animation: none !important;
            overscroll-behavior: contain !important;
            touch-action: none !important;
            display: none;
            align-items: stretch !important;
            justify-content: stretch !important;
        }
        .post-chat-modal-overlay.active {
            display: flex !important;
        }
        .post-chat-modal-dialog {
            position: fixed !important;
            inset: 0 !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100% !important;
            height: 100% !important;
            height: 100dvh !important;
            max-width: 100% !important;
            max-height: 100% !important;
            max-height: 100dvh !important;
            border-radius: 0 !important;
            border: none !important;
            margin: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            overflow: hidden !important;
            background: #ffffff !important;
            box-shadow: none !important;
        }
        .post-chat-header {
            flex-shrink: 0 !important;
            position: sticky !important;
            top: 0 !important;
            z-index: 50 !important;
            border-radius: 0 !important;
        }
        .post-chat-modal-body {
            flex: 1 1 auto !important;
            min-height: 0 !important;
            height: 100% !important;
            max-height: none !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            -webkit-overflow-scrolling: touch !important;
            overscroll-behavior: contain !important;
            touch-action: pan-y !important;
            padding: 12px !important;
        }
        .post-chat-reply-bar {
            flex-shrink: 0 !important;
            position: sticky !important;
            bottom: 56px !important;
            z-index: 60 !important;
            background: #f8fafc !important;
        }
        .post-chat-form-box,
        .post-chat-login-prompt {
            flex-shrink: 0 !important;
            position: sticky !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            box-sizing: border-box !important;
            background: #ffffff !important;
            border-top: 1px solid #e2e8f0 !important;
            padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 12px !important;
            z-index: 100 !important;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
        }
    }

/* === Homepage (posts/index) === */
.filters-section form > div { min-width: 0; }
    /* Structured 2-Column Grid for Portal Card Facts & Labels */
    .sarkari-facts-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 3px 8px;
        font-size: 0.68rem;
        color: var(--color-text-muted);
        margin-top: 5px;
        font-weight: 500;
        align-items: center;
    }
    .sarkari-facts-grid > span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sarkari-labels-grid {
        display: grid;
        grid-template-columns: repeat(3, max-content) 1fr;
        gap: 3px 4px;
        margin-top: 4px;
        align-items: center;
        justify-content: start;
    }
    .sarkari-labels-grid:empty {
        display: none;
    }
    .sarkari-labels-grid .admin-studio-actions {
        grid-column: 1 / -1;
        display: inline-flex !important;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 1px;
    }
    .sarkari-labels-grid .new-badge {
        grid-column: 4;
        justify-self: end;
    }
    .sarkari-footer-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        margin-top: 4px;
        font-size: 0.68rem;
        font-weight: 600;
    }
    .sarkari-footer-row:empty {
        display: none;
    }
    .sarkari-footer-row .admin-studio-actions {
        margin-left: auto;
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
    }
    .sarkari-footer-row .admin-studio-btn,
    .sarkari-labels-grid .smart-pill,
    .sarkari-labels-grid .new-badge {
        width: auto;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        margin: 0 !important;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        padding: 1px 5px;
        font-size: 0.56rem;
        line-height: 1.2;
        border-radius: 3px;
    }
    /* Public Homepage Specific Styles */
    /* Standardized Module Section Spacing System */
    .site-module-section {
        margin-bottom: var(--space-section);
    }
    .site-module-section:last-child {
        margin-bottom: 0;
    }

    .hero-section {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 1.25rem 1.5rem;
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
    }
    .hero-section::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(4, 120, 87, 0.2) 0%, transparent 70%);
        pointer-events: none;
    }
    .hero-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 1.25rem;
        align-items: center;
    }
    .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: rgba(255, 255, 255, 0.15);
        color: #fde047;
        font-weight: 800;
        font-size: 0.725rem;
        padding: 0.2rem 0.6rem;
        border-radius: var(--radius-full);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.35rem;
        border: 1px solid rgba(253, 224, 71, 0.3);
    }
    .hero-heading {
        font-size: clamp(1.15rem, 2.2vw, 1.65rem);
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 0.35rem;
        color: #ffffff;
        letter-spacing: -0.02em;
    }
    .hero-subtext {
        font-size: 0.875rem;
        color: #cbd5e1;
        line-height: 1.45;
        margin-bottom: 0.75rem;
        max-width: 580px;
    }
    .hero-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .pill-item {
        background-color: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        font-size: 0.775rem;
        font-weight: 700;
        padding: 0.25rem 0.65rem;
        border-radius: var(--radius-full);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.15s ease;
    }
    .pill-item:hover, .pill-item:focus {
        background-color: var(--brand-accent);
        color: #ffffff;
        text-decoration: none;
        border-color: var(--brand-accent);
    }

    .hero-stats-card {
        background-color: var(--bg-surface);
        color: var(--color-text-main);
        border-radius: var(--radius-md);
        padding: 0.85rem 1.15rem;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-color);
    }
    .stat-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.35rem 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    .stat-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .stat-number {
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--brand-primary);
    }

    /* Sarkari Quick 4-Column Table Grid */
    .portal-section-header {
        margin: 0 0 var(--space-section);
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .section-title-wrapper {
        border-left: 4px solid var(--brand-primary);
        padding-left: 0.75rem;
    }
    .section-title {
        font-size: 1.5rem;
        font-weight: 900;
        color: var(--color-text-main);
        line-height: 1.2;
    }
    .section-subtitle {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        margin-top: 0.2rem;
    }

    .sarkari-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
    .sarkari-box {
        background-color: var(--bg-surface);
        border: 2px solid var(--border-color);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }
    .sarkari-box-header {
        padding: 0.65rem 0.85rem;
        color: #ffffff;
        font-weight: 800;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .sarkari-box-title {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        min-width: 0;
        font-weight: 800;
        font-size: 0.95rem;
        color: #ffffff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .sarkari-view-all-btn {
        font-size: 0.725rem;
        font-weight: 800;
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.22);
        padding: 0.22rem 0.55rem;
        border-radius: var(--radius-sm, 4px);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        white-space: nowrap;
        flex-shrink: 0;
        border: 1px solid rgba(255, 255, 255, 0.38);
        transition: all 0.15s ease-in-out;
        letter-spacing: 0.01em;
        line-height: 1.2;
    }
    .sarkari-view-all-btn:hover,
    .sarkari-view-all-btn:focus {
        background-color: #ffffff;
        color: #0f172a;
        text-decoration: none;
        border-color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    .sarkari-box-actions {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
    }
    .sarkari-info-wrapper {
        position: relative;
        display: inline-flex;
        align-items: center;
    }
    .sarkari-info-btn {
        font-size: 0.725rem;
        font-weight: 800;
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.22);
        padding: 0;
        width: 22px;
        height: 22px;
        border-radius: var(--radius-sm, 4px);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.38);
        cursor: pointer;
        transition: all 0.15s ease-in-out;
        flex-shrink: 0;
    }
    .sarkari-info-btn:hover,
    .sarkari-info-btn:focus,
    .sarkari-info-wrapper:hover .sarkari-info-btn,
    .sarkari-info-wrapper.active .sarkari-info-btn {
        background-color: #ffffff;
        color: #0f172a;
        border-color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    .sarkari-info-popover {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 265px;
        max-width: 82vw;
        background-color: var(--bg-surface, #ffffff);
        color: var(--color-text-main, #0f172a);
        border: 1px solid var(--border-color, #cbd5e1);
        border-radius: 8px;
        padding: 0.75rem 0.85rem;
        box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.28), 0 8px 12px -6px rgba(0, 0, 0, 0.15);
        z-index: 1050;
        font-size: 0.78rem;
        font-weight: 500;
        line-height: 1.45;
        text-align: left;
        cursor: default;
    }
    .sarkari-info-popover::before {
        content: '';
        position: absolute;
        top: -5px;
        right: 6px;
        width: 10px;
        height: 10px;
        background-color: var(--bg-surface, #ffffff);
        border-left: 1px solid var(--border-color, #cbd5e1);
        border-top: 1px solid var(--border-color, #cbd5e1);
        transform: rotate(45deg);
        z-index: 1;
    }
    .sarkari-info-wrapper:hover .sarkari-info-popover,
    .sarkari-info-wrapper:focus-within .sarkari-info-popover,
    .sarkari-info-wrapper.active .sarkari-info-popover {
        display: block;
        animation: infoPopoverAnim 0.18s ease-out;
    }
    @keyframes infoPopoverAnim {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .info-popover-title {
        font-weight: 800;
        font-size: 0.825rem;
        color: var(--color-text-main, #0f172a);
        margin-bottom: 0.45rem;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid var(--border-subtle, #e2e8f0);
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    .info-popover-list {
        list-style: none;
        padding: 0;
        margin: 0 0 0.45rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }
    .info-popover-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.35rem;
        color: var(--color-text-muted, #475569);
        font-size: 0.74rem;
        line-height: 1.35;
    }
    .info-popover-list li strong {
        color: var(--color-text-main, #0f172a);
        font-weight: 700;
    }
    .info-popover-list li code {
        background: var(--bg-subtle, #f1f5f9);
        padding: 1px 4px;
        border-radius: 3px;
        font-size: 0.68rem;
        color: var(--brand-primary, #2563eb);
        font-family: monospace;
        border: 1px solid var(--border-subtle, #e2e8f0);
    }
    .info-popover-list li code.badge-non-date {
        background: #fef2f2 !important;
        color: #dc2626 !important;
        border: 1px solid #fecaca !important;
        font-weight: 700;
    }
    .info-popover-note {
        font-size: 0.7rem;
        color: var(--brand-primary, #2563eb);
        background: var(--bg-subtle, #f8fafc);
        padding: 0.3rem 0.45rem;
        border-radius: 4px;
        border-left: 3px solid var(--brand-primary, #2563eb);
        line-height: 1.3;
    }
    .header-lastdate { background-color: #b91c1c; }
    .header-jobs { background-color: #1e3a8a; }
    .header-admit { background-color: #b45309; }
    .header-result { background-color: #047857; }
    .header-answerkey { background-color: #c2410c; }
    .header-examdates { background-color: #5b21b6; }
    .header-syllabus { background-color: #0f766e; }
    .header-admission { background-color: #4338ca; }

    .sarkari-list {
        list-style: none;
        padding: 0.25rem 0;
        margin: 0;
        max-height: 540px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--border-color) transparent;
    }
    .sarkari-list::-webkit-scrollbar {
        width: 5px;
    }
    .sarkari-list::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 4px;
    }
    .sarkari-list-item {
        border-bottom: 1.5px solid #94a3b8;
    }
    .sarkari-list-item:last-child {
        border-bottom: none;
    }
    .sarkari-list-item a {
        display: block;
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--color-text-main);
        line-height: 1.4;
    }
    .sarkari-list-item a:hover {
        background-color: var(--bg-subtle);
        color: var(--brand-primary);
        text-decoration: none;
    }
    .new-badge {
        background: linear-gradient(135deg, #ff1e1e 0%, #dc2626 50%, #b91c1c 100%);
        background-size: 200% 200%;
        color: #ffffff !important;
        font-size: 0.62rem;
        font-weight: 900;
        padding: 0.12rem 0.45rem;
        border-radius: 4px;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        line-height: 1.2;
        letter-spacing: 0.05em;
        box-shadow: 0 0 10px rgba(255, 30, 30, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.5);
        vertical-align: middle;
        text-transform: uppercase;
        animation: liveBadgePulse 1.8s infinite ease-in-out, liveGlow 3s infinite linear;
        white-space: nowrap;
    }
    .new-badge::before {
        content: '';
        display: inline-block;
        width: 5px;
        height: 5px;
        background-color: #ffffff;
        border-radius: 50%;
        box-shadow: 0 0 4px #ffffff;
        animation: liveDotBlink 1.2s infinite alternate ease-in-out;
    }
    .card-new-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: linear-gradient(135deg, #ff1e1e 0%, #dc2626 50%, #b91c1c 100%);
        background-size: 200% 200%;
        color: #ffffff !important;
        font-size: 0.68rem;
        font-weight: 900;
        padding: 0.2rem 0.55rem;
        border-radius: 4px;
        letter-spacing: 0.06em;
        box-shadow: 0 0 12px rgba(255, 30, 30, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.5);
        z-index: 2;
        text-transform: uppercase;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        animation: liveBadgePulse 1.8s infinite ease-in-out, liveGlow 3s infinite linear;
        white-space: nowrap;
    }
    .card-new-badge::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        background-color: #ffffff;
        border-radius: 50%;
        box-shadow: 0 0 5px #ffffff;
        animation: liveDotBlink 1.2s infinite alternate ease-in-out;
    }
    .new-badge.badge-today, .card-new-badge.badge-today {
        background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #b45309 100%) !important;
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
        color: #ffffff !important;
    }
    .new-badge.badge-yesterday, .card-new-badge.badge-yesterday {
        background: linear-gradient(135deg, #ff7700 0%, #ea580c 50%, #c2410c 100%) !important;
        box-shadow: 0 0 10px rgba(234, 88, 12, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
        color: #ffffff !important;
    }
    .new-badge.badge-new, .card-new-badge.badge-new {
        background: linear-gradient(135deg, #ff1e1e 0%, #dc2626 50%, #b91c1c 100%) !important;
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.85), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
    }
    @keyframes liveBadgePulse {
        0%, 100% { transform: scale(1); box-shadow: 0 0 6px rgba(255, 30, 30, 0.6); }
        50% { transform: scale(1.08); box-shadow: 0 0 14px rgba(255, 30, 30, 0.95); }
    }
    @keyframes liveDotBlink {
        0% { opacity: 0.3; transform: scale(0.7); }
        100% { opacity: 1; transform: scale(1.2); }
    }
    @keyframes liveGlow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Live Dynamic Indication Badges (Days Remaining / Status Pills) */
    .smart-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.65rem;
        font-weight: 800;
        padding: 0.12rem 0.45rem;
        border-radius: 4px;
        line-height: 1.2;
        white-space: nowrap;
        letter-spacing: 0.02em;
        margin-left: auto;
    }
    .smart-pill.pill-danger {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
        box-shadow: 0 1px 3px rgba(220, 38, 38, 0.15);
    }
    .smart-pill.pill-warning {
        background: #fffbeb;
        color: #b45309;
        border: 1px solid #fde68a;
    }
    .smart-pill.pill-success {
        background: #ecfdf5;
        color: #047857;
        border: 1px solid #a7f3d0;
    }
    .smart-pill.pill-info {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }
    .smart-pill.pill-purple {
        background: #f5f3ff;
        color: #6d28d9;
        border: 1px solid #ddd6fe;
    }
    .smart-pill.pill-teal {
        background: #f0fdfa;
        color: #0f766e;
        border: 1px solid #99f6e4;
    }

    /* Featured Post Box */
    .featured-card {
        background-color: var(--bg-surface);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 0;
    }
    .featured-img-wrap {
        width: 100%;
        background-color: var(--bg-dark);
        position: relative;
        display: flex;
        align-items: center;
    }
    .featured-img {
        width: 100%;
        height: auto;
        display: block;
    }
    .featured-content {
        padding: 1.75rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .featured-badge {
        display: inline-block;
        background-color: #fef3c7;
        color: #92400e;
        font-weight: 800;
        font-size: 0.75rem;
        padding: 0.25rem 0.65rem;
        border-radius: var(--radius-sm);
        margin-bottom: 0.75rem;
        width: fit-content;
    }
    .featured-title {
        font-size: 1.4rem;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    .featured-excerpt {
        font-size: 0.925rem;
        color: var(--color-text-muted);
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    /* Compact Category Cards Grid */
    .category-cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.65rem;
    }
    .category-card-item {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm, 6px);
        padding: 0.55rem 0.85rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        box-shadow: var(--shadow-sm);
        transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
        text-decoration: none !important;
        color: var(--color-text-main);
    }
    .category-card-item:hover, .category-card-item:focus {
        transform: translateY(-2px);
        border-color: var(--brand-primary);
        background-color: #f0f7fa;
        box-shadow: var(--shadow-md);
    }
    html[data-theme="dark"] .category-card-item:hover {
        background-color: #1e293b;
    }
    .category-card-name {
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--color-text-main);
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .category-card-count-badge {
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--brand-primary);
        background-color: var(--bg-subtle, #f1f5f9);
        border: 1px solid var(--border-subtle, #e2e8f0);
        padding: 0.15rem 0.45rem;
        border-radius: 4px;
        flex-shrink: 0;
    }
    @media (max-width: 640px) {
        .category-cards-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.5rem;
        }
        .category-card-item {
            padding: 0.45rem 0.65rem;
        }
        .category-card-name {
            font-size: 0.825rem;
        }
    }



    /* Responsive Breakpoints */
    @media (max-width: 1024px) {
        .sarkari-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .hero-grid { grid-template-columns: 1fr; }
        .featured-card { grid-template-columns: 1fr; }
    }

    @media (max-width: 868px) {
        .hero-section {
            padding: 1rem 0.85rem;
            margin-bottom: 1rem;
        }
        .hero-heading {
            font-size: 1.2rem;
            line-height: 1.25;
            margin-bottom: 0.35rem;
        }
        .hero-subtext {
            font-size: 0.8rem;
            line-height: 1.4;
            margin-bottom: 0.65rem;
        }
        .hero-eyebrow {
            font-size: 0.68rem;
            padding: 0.18rem 0.5rem;
            margin-bottom: 0.35rem;
        }
        .section-title {
            font-size: 1.25rem;
            line-height: 1.25;
        }
        .section-subtitle {
            font-size: 0.8rem;
        }
        .sarkari-box-header {
            font-size: 0.875rem;
            padding: 0.55rem 0.75rem;
        }
        .sarkari-box-title {
            font-size: 0.875rem;
        }
        .sarkari-view-all-btn {
            font-size: 0.7rem;
            padding: 0.18rem 0.45rem;
        }
        .featured-title {
            font-size: 1.15rem;
            line-height: 1.3;
        }
        .card-title {
            font-size: 1rem;
            line-height: 1.35;
        }
    }

    @media (max-width: 640px) {
        .sarkari-grid { grid-template-columns: 1fr; }
        .cards-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
        .filters-section form {
            grid-template-columns: 1fr !important;
            gap: 0.85rem !important;
        }
    }

/* === Post List & Directory (posts/list) === */
/* Dedicated List Page Styles */
    .list-page-container {
        padding-top: 1rem;
        padding-bottom: 3.5rem;
    }

    /* Clean Compact Page Header */
    .list-header-bar {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 1.15rem 1.35rem;
        margin-bottom: 1.25rem;
        box-shadow: var(--shadow-sm);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.85rem;
        border-left: 5px solid var(--brand-primary);
    }
    .list-header-title {
        font-size: clamp(1.2rem, 2.6vw, 1.75rem);
        font-weight: 900;
        color: var(--color-text-main);
        line-height: 1.25;
        margin-bottom: 0.2rem;
    }
    .list-header-desc {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        line-height: 1.4;
    }
    .list-count-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--bg-subtle, #f1f5f9);
        color: var(--brand-primary);
        font-size: 0.825rem;
        font-weight: 800;
        padding: 0.35rem 0.85rem;
        border-radius: var(--radius-full, 9999px);
        border: 1px solid var(--border-subtle, #e2e8f0);
        white-space: nowrap;
    }

    /* Main & Sidebar Layout Grid */
    .list-layout-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--sidebar-width, 280px);
        gap: 1.25rem;
        align-items: flex-start;
    }

    /* Left Main Content */
    .list-main-col {
        min-width: 0;
        width: 100%;
    }
    .list-sidebar-col {
        min-width: 0;
        width: 100%;
    }

    /* Quick Filter Pills Bar */
    .quick-filter-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        margin-bottom: 1.15rem;
        align-items: center;
    }
    .quick-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.8rem;
        border-radius: var(--radius-full, 9999px);
        font-size: 0.825rem;
        font-weight: 700;
        background: var(--bg-surface);
        color: var(--color-text-main);
        border: 1px solid var(--border-color);
        text-decoration: none;
        transition: all 0.15s ease;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }
    .quick-pill:hover {
        border-color: var(--brand-primary);
        color: var(--brand-primary);
        transform: translateY(-1px);
        text-decoration: none;
    }
    .quick-pill.active {
        background: var(--brand-primary);
        color: #ffffff;
        border-color: var(--brand-primary);
        box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
    }

    /* Search & Filter Toolbar */
    .list-filter-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 1rem 1.15rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: 1.25rem;
    }
    .filter-grid-form {
        display: grid;
        grid-template-columns: 1.4fr 0.9fr 0.95fr 1fr 1fr auto;
        gap: 0.6rem;
        align-items: flex-end;
    }
    .filter-grid-form .form-group {
        margin-bottom: 0 !important;
        min-width: 0;
    }
    .filter-grid-form .select2-container {
        display: block !important;
        width: 100% !important;
        height: 38px !important;
    }
    .filter-grid-form .select2-container--default .select2-selection--single,
    .filter-grid-form .form-control-input,
    .filter-grid-form button[type="submit"],
    .filter-grid-form .btn-admin-link {
        height: 38px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .select2-container--default .select2-selection--single {
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        border: 1px solid var(--border-color) !important;
        border-radius: var(--radius-sm, 6px) !important;
        background-color: var(--bg-body) !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 36px !important;
        padding-left: 10px !important;
        padding-right: 30px !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        color: var(--color-text-main) !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 36px !important;
        top: 0 !important;
        right: 6px !important;
    }
    .form-group label {
        display: block;
        font-size: 0.725rem;
        font-weight: 800;
        color: var(--color-text-main);
        margin-bottom: 0.3rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .form-control-input {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm, 6px);
        font-size: 0.85rem;
        background: var(--bg-body);
        color: var(--color-text-main);
        font-weight: 600;
        height: 38px;
        box-sizing: border-box;
    }
    .form-control-input:focus {
        outline: none;
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.15);
    }

    /* View Switcher Controls Bar (Grid View / List View) */
    .list-controls-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .list-controls-left {
        display: inline-flex;
        align-items: center;
        gap: 0.85rem;
        flex-wrap: wrap;
    }
    .list-controls-info {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-text-muted);
    }
    .list-view-switcher {
        display: inline-flex;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm, 6px);
        padding: 3px;
        gap: 3px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }
    .view-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--color-text-muted);
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.15s ease;
    }
    .view-toggle-btn:hover {
        color: var(--color-text-main);
        background: var(--bg-subtle, #f1f5f9);
    }
    .view-toggle-btn.active {
        background: #005d82;
        color: #ffffff !important;
        box-shadow: 0 1px 3px rgba(0, 93, 130, 0.3);
    }
    html[data-theme="dark"] .view-toggle-btn.active {
        background: #2563eb;
        color: #ffffff !important;
    }

    /* =========================================================
       Tabular List View Styles (Modeled after all-india-govt-jobs)
       ========================================================= */
    .job-table-responsive {
        width: 100%;
        background: var(--bg-surface);
        border: 1px solid #136387;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        margin-bottom: 1.25rem;
        border-radius: 4px;
        overflow: hidden;
    }
    .job-notification-table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        font-size: 0.825rem;
        text-align: left;
    }
    .job-notification-table th {
        background-color: #005d82;
        color: #ffffff;
        font-weight: 800;
        font-size: 0.775rem;
        padding: 0.5rem 0.25rem;
        border: 1px solid #004c6b;
        vertical-align: middle;
        text-align: center;
        white-space: nowrap;
        line-height: 1.25;
    }
    .job-notification-table th.th-left {
        text-align: left;
        padding-left: 0.5rem;
    }
    .job-notification-table td {
        padding: 0.5rem 0.4rem;
        border: 1px solid #c2dbe6;
        vertical-align: top;
        color: var(--color-text-main, #1e293b);
        line-height: 1.35;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    html[data-theme="dark"] .job-notification-table td {
        border-color: #334155;
    }
    .job-notification-table tbody tr:nth-child(even) {
        background-color: var(--bg-subtle, #f8fafd);
    }
    .job-notification-table tbody tr:hover {
        background-color: #f0f7fa;
    }
    html[data-theme="dark"] .job-notification-table tbody tr:hover {
        background-color: #1e293b;
    }

    .col-board {
        font-weight: 700;
        text-align: center;
        font-size: 0.825rem;
    }
    .board-badge {
        display: inline-block;
        padding: 3px 8px;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        font-weight: 800;
        font-size: 0.775rem;
        color: #005d82;
        text-decoration: none !important;
        transition: all 0.15s ease-in-out;
        cursor: pointer;
    }
    .board-badge:hover {
        background: #005d82;
        color: #ffffff !important;
        border-color: #005d82;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    }
    html[data-theme="dark"] .board-badge {
        background: #1e293b;
        border-color: #334155;
        color: #93c5fd;
    }
    html[data-theme="dark"] .board-badge:hover {
        background: #2563eb;
        color: #ffffff !important;
        border-color: #2563eb;
    }

    .col-title {
        font-weight: 700;
        padding-left: 0.6rem !important;
    }
    .col-title a {
        color: var(--color-text-main, #0f172a);
        text-decoration: none;
        transition: color 0.15s ease;
    }
    .col-title a:hover {
        color: #0060cc;
        text-decoration: underline;
    }

    .col-qual {
        font-size: 0.8rem;
        color: var(--color-text-muted, #475569);
        vertical-align: top;
    }
    .qual-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        width: 100%;
    }
    .qual-text {
        line-height: 1.35;
        word-break: break-word;
        font-size: 0.8rem;
    }
    .qual-text.clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .qual-text.expanded {
        display: block;
        overflow: visible;
    }
    .qual-toggle-btn {
        display: none;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        background: var(--bg-subtle, #f1f5f9);
        border: 1px solid var(--border-subtle, #cbd5e1);
        border-radius: 4px;
        color: #005d82;
        padding: 2px 6px;
        cursor: pointer;
        font-size: 0.75rem;
        line-height: 1;
        transition: all 0.15s ease;
        margin-top: 2px;
    }
    .qual-toggle-btn:hover {
        background: #005d82;
        color: #ffffff;
        border-color: #005d82;
    }
    html[data-theme="dark"] .qual-toggle-btn {
        background: #1e293b;
        border-color: #334155;
        color: #93c5fd;
    }
    html[data-theme="dark"] .qual-toggle-btn:hover {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
    }
    .qual-chevron {
        transition: transform 0.2s ease;
        display: block;
    }
    .qual-toggle-btn.is-expanded .qual-chevron {
        transform: rotate(180deg);
    }

    .col-advt {
        text-align: center;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .col-startdate {
        text-align: center;
        font-size: 0.8rem;
        white-space: nowrap;
        color: var(--color-text-main);
        vertical-align: top !important;
        text-align: left;
    }
    .col-lastdate {
        text-align: left;
        font-weight: 700;
        font-size: 0.8rem;
        white-space: nowrap;
        vertical-align: top !important;
    }
    .date-meta-cell {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 3px;
        width: 100%;
    }
    .date-val {
        font-weight: 700;
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
    }
    .date-badge {
        display: inline-block;
        font-size: 0.675rem;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 4px;
        line-height: 1.25;
        white-space: nowrap;
        letter-spacing: 0.01em;
        text-align: center;
        margin-top: auto;
    }

    .badge-urgent {
        background: #fee2e2;
        color: #b91c1c;
        border: 1px solid #fca5a5;
    }
    .badge-warning {
        background: #ffedd5;
        color: #c2410c;
        border: 1px solid #fdba74;
    }
    .badge-amber {
        background: #fef3c7;
        color: #b45309;
        border: 1px solid #fcd34d;
    }
    .badge-info {
        background: #dbeafe;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }
    .badge-cyan {
        background: #e0f2fe;
        color: #0369a1;
        border: 1px solid #7dd3fc;
    }
    .badge-green {
        background: #dcfce7;
        color: #15803d;
        border: 1px solid #86efac;
    }
    .badge-purple {
        background: #f3e8ff;
        color: #6b21a8;
        border: 1px solid #d8b4fe;
    }
    .badge-subtle {
        background: #f1f5f9;
        color: #475569;
        border: 1px solid #cbd5e1;
    }
    .badge-closed {
        background: #f1f5f9;
        color: #64748b;
        border: 1px solid #cbd5e1;
    }
    html[data-theme="dark"] .badge-urgent { background: rgba(220, 38, 38, 0.2); color: #fca5a5; border-color: rgba(220, 38, 38, 0.4); }
    html[data-theme="dark"] .badge-warning { background: rgba(234, 88, 12, 0.2); color: #fdba74; border-color: rgba(234, 88, 12, 0.4); }
    html[data-theme="dark"] .badge-amber { background: rgba(217, 119, 6, 0.2); color: #fde68a; border-color: rgba(217, 119, 6, 0.4); }
    html[data-theme="dark"] .badge-info { background: rgba(37, 99, 235, 0.2); color: #93c5fd; border-color: rgba(37, 99, 235, 0.4); }
    html[data-theme="dark"] .badge-cyan { background: rgba(2, 132, 199, 0.2); color: #7dd3fc; border-color: rgba(2, 132, 199, 0.4); }
    html[data-theme="dark"] .badge-green { background: rgba(22, 163, 74, 0.2); color: #86efac; border-color: rgba(22, 163, 74, 0.4); }
    html[data-theme="dark"] .badge-purple { background: rgba(124, 58, 237, 0.2); color: #c084fc; border-color: rgba(124, 58, 237, 0.4); }
    html[data-theme="dark"] .badge-subtle { background: #1e293b; color: #94a3b8; border-color: #334155; }
    html[data-theme="dark"] .badge-closed { background: #1e293b; color: #64748b; border-color: #334155; }
    .badge-urgent-text { color: #dc2626 !important; font-weight: 800; }
    html[data-theme="dark"] .badge-urgent-text { color: #f87171 !important; }

    .col-action {
        text-align: center;
        white-space: nowrap;
    }
    .get-details-link {
        display: inline-block;
        color: #0044cc;
        font-weight: 800;
        text-decoration: none;
        font-size: 0.8rem;
        white-space: nowrap;
        transition: color 0.15s ease, text-decoration 0.15s ease;
    }
    .get-details-link:hover {
        color: #002288;
        text-decoration: underline;
    }
    html[data-theme="dark"] .get-details-link {
        color: #60a5fa;
    }

    /* Stackable Table View on Mobile (< 768px) */
    @media (max-width: 768px) {
        .job-table-responsive {
            background: transparent;
            border: none;
            box-shadow: none;
            overflow: visible;
        }
        .job-notification-table {
            display: block;
            table-layout: auto;
        }
        .job-notification-table thead {
            display: none;
        }
        .job-notification-table tbody {
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }
        .job-notification-table tbody tr {
            display: block;
            background: var(--bg-surface) !important;
            border: 1px solid #136387;
            border-radius: 8px;
            padding: 0.75rem 0.85rem;
            box-shadow: var(--shadow-sm);
        }
        .job-notification-table td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.4rem 0;
            border: none !important;
            border-bottom: 1px dashed var(--border-subtle, #e2e8f0) !important;
            text-align: right;
            font-size: 0.85rem;
        }
        .job-notification-table td:last-child {
            border-bottom: none !important;
            padding-bottom: 0;
            padding-top: 0.6rem;
            justify-content: center;
        }
        .job-notification-table td::before {
            content: attr(data-label);
            font-weight: 800;
            color: #005d82;
            font-size: 0.775rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            text-align: left;
            margin-right: 0.75rem;
            flex-shrink: 0;
        }
        html[data-theme="dark"] .job-notification-table td::before {
            color: #93c5fd;
        }
        .col-title {
            padding-left: 0 !important;
        }
        .col-title a {
            text-align: right;
        }
        .qual-wrapper {
            align-items: flex-end;
            text-align: right;
        }
        .qual-text {
            text-align: right;
        }
        .date-meta-cell {
            min-height: auto;
            align-items: flex-end;
            flex-direction: row;
            gap: 0.4rem;
        }
    }

    /* Responsive Grid View */
    @media (max-width: 992px) {
        .list-layout-grid {
            grid-template-columns: 1fr;
        }
        .filter-grid-form {
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }
    }

    @media (max-width: 640px) {
        .list-header-bar {
            padding: 1rem;
            flex-direction: column;
            align-items: flex-start;
        }
        .filter-grid-form {
            grid-template-columns: 1fr !important;
            gap: 0.65rem;
        }
    }

/* === Sector Jobs (pages/sector-jobs) === */
.sector-page-wrapper {
        padding-top: 1rem;
        padding-bottom: 3.5rem;
    }

    /* Page Header Section */
    .sector-header-box {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.25rem;
        box-shadow: var(--shadow-sm);
        border-left: 5px solid var(--brand-primary);
    }
    .sector-title {
        font-size: clamp(1.35rem, 2.5vw, 1.85rem);
        font-weight: 900;
        color: var(--color-text-main);
        line-height: 1.25;
        margin-bottom: 0.35rem;
    }
    .sector-subtitle {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.5;
        margin: 0;
    }

    /* Main & Sidebar Layout Grid */
    .sector-layout-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--sidebar-width, 280px);
        gap: 1.25rem;
        align-items: flex-start;
    }
    .sector-main-col {
        min-width: 0;
        width: 100%;
    }
    .sector-sidebar-col {
        width: 100%;
        min-width: 0;
    }
    @media (max-width: 992px) {
        .sector-layout-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Sort Controls Bar */
    .sector-sort-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding: 0.65rem 1rem;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        box-shadow: var(--shadow-sm);
    }
    .sort-bar-label {
        font-size: 0.825rem;
        font-weight: 800;
        color: var(--color-text-main);
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }
    .sort-toggle-group {
        display: inline-flex;
        background: var(--bg-subtle, #f1f5f9);
        border: 1px solid var(--border-subtle, #cbd5e1);
        border-radius: 6px;
        padding: 3px;
        gap: 4px;
        flex-wrap: wrap;
    }
    html[data-theme="dark"] .sort-toggle-group {
        background: #1e293b;
        border-color: #334155;
    }
    .sort-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
        font-weight: 700;
        border: none;
        border-radius: 4px;
        background: transparent;
        color: var(--color-text-muted);
        text-decoration: none !important;
        transition: all 0.15s ease-in-out;
    }
    .sort-btn:hover {
        color: var(--brand-primary, #0060cc);
        background: rgba(0, 96, 204, 0.08);
    }
    .sort-btn.active {
        background: #005d82;
        color: #ffffff !important;
        font-weight: 800;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }
    html[data-theme="dark"] .sort-btn.active {
        background: #2563eb;
        color: #ffffff !important;
    }

    /* Quick Jump Pills by Category */
    .deadline-nav-pills {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
        padding: 0.75rem 1rem;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        box-shadow: var(--shadow-sm);
    }
    .deadline-nav-label {
        font-size: 0.8rem;
        font-weight: 800;
        color: var(--color-text-muted);
        text-transform: uppercase;
        margin-right: 0.35rem;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }
    .deadline-pill-link {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.3rem 0.65rem;
        font-size: 0.8rem;
        font-weight: 700;
        border-radius: 6px;
        text-decoration: none !important;
        transition: all 0.15s ease-in-out;
        border: 1px solid transparent;
    }
    .deadline-pill-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .pill-count {
        display: inline-block;
        font-size: 0.75rem;
        padding: 1px 5px;
        border-radius: 10px;
        font-weight: 800;
        background: rgba(0,0,0,0.08);
    }
    html[data-theme="dark"] .pill-count {
        background: rgba(255,255,255,0.15);
    }

    /* Pill Color Variations */
    .pill-today, .pill-started_today, .pill-published_today {
        background: #fee2e2;
        color: #991b1b !important;
        border-color: #fecaca;
    }
    .pill-today:hover, .pill-started_today:hover, .pill-published_today:hover { background: #dc2626; color: #ffffff !important; }
    
    .pill-tomorrow {
        background: #ffedd5;
        color: #9a3412 !important;
        border-color: #fed7aa;
    }
    .pill-tomorrow:hover { background: #ea580c; color: #ffffff !important; }

    .pill-within_3_days {
        background: #fef3c7;
        color: #92400e !important;
        border-color: #fde68a;
    }
    .pill-within_3_days:hover { background: #d97706; color: #ffffff !important; }

    .pill-this_week, .pill-started_this_week, .pill-published_this_week {
        background: #dbeafe;
        color: #1e40af !important;
        border-color: #bfdbfe;
    }
    .pill-this_week:hover, .pill-started_this_week:hover, .pill-published_this_week:hover { background: #2563eb; color: #ffffff !important; }

    .pill-within_15_days {
        background: #ccfbf1;
        color: #115e59 !important;
        border-color: #99f6e4;
    }
    .pill-within_15_days:hover { background: #0d9488; color: #ffffff !important; }

    .pill-within_30_days, .pill-started_earlier, .pill-published_this_month {
        background: #ede9fe;
        color: #5b21b6 !important;
        border-color: #ddd6fe;
    }
    .pill-within_30_days:hover, .pill-started_earlier:hover, .pill-published_this_month:hover { background: #7c3aed; color: #ffffff !important; }

    .pill-more_than_30_days {
        background: #d1fae5;
        color: #065f46 !important;
        border-color: #a7f3d0;
    }
    .pill-more_than_30_days:hover { background: #059669; color: #ffffff !important; }

    .pill-ongoing, .pill-starting_soon {
        background: #e0f2fe;
        color: #0369a1 !important;
        border-color: #bae6fd;
    }
    .pill-ongoing:hover, .pill-starting_soon:hover { background: #0284c7; color: #ffffff !important; }

    .pill-closed, .pill-start_date_tba, .pill-published_earlier {
        background: #f1f5f9;
        color: #475569 !important;
        border-color: #e2e8f0;
    }
    .pill-closed:hover, .pill-start_date_tba:hover, .pill-published_earlier:hover { background: #64748b; color: #ffffff !important; }

    /* Timeline Section & Header */
    .timeline-table-section {
        margin-bottom: 2.5rem;
        scroll-margin-top: 1.5rem;
    }
    .timeline-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .timeline-heading {
        font-size: 1.25rem;
        font-weight: 900;
        color: #0a1e5c;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    html[data-theme="dark"] .timeline-heading {
        color: #93c5fd;
    }
    .timeline-hindi-tag {
        font-size: 0.8rem;
        font-weight: 700;
        background: var(--bg-subtle, #f1f5f9);
        border: 1px solid var(--border-subtle, #cbd5e1);
        padding: 0.15rem 0.55rem;
        border-radius: 4px;
        color: var(--color-text-muted);
    }
    .timeline-count-badge {
        font-size: 0.8rem;
        font-weight: 800;
        padding: 0.2rem 0.6rem;
        border-radius: 20px;
        background: var(--bg-subtle, #f1f5f9);
        color: var(--color-text-muted);
        border: 1px solid var(--border-color);
    }

    /* Table Container - 100% Fluid & Stackable */
    .job-table-responsive {
        width: 100%;
        background: var(--bg-surface);
        border: 1px solid #136387;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        margin-bottom: 1.25rem;
        border-radius: 4px;
        overflow: hidden;
    }
    .job-notification-table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        font-size: 0.825rem;
        text-align: left;
    }
    .job-notification-table th {
        background-color: #005d82;
        color: #ffffff;
        font-weight: 800;
        font-size: 0.775rem;
        padding: 0.5rem 0.25rem;
        border: 1px solid #004c6b;
        vertical-align: middle;
        text-align: center;
        white-space: nowrap;
        line-height: 1.25;
    }
    .job-notification-table th.th-left {
        text-align: left;
        padding-left: 0.45rem;
    }
    .th-link {
        color: #ffffff !important;
        text-decoration: none !important;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        font-weight: 800;
        transition: opacity 0.15s ease;
    }
    .th-link:hover {
        opacity: 0.85;
    }
    .job-notification-table td {
        padding: 0.5rem 0.4rem;
        border: 1px solid #c2dbe6;
        vertical-align: top;
        color: var(--color-text-main, #1e293b);
        line-height: 1.35;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    html[data-theme="dark"] .job-notification-table td {
        border-color: #334155;
    }
    .job-notification-table tbody tr:nth-child(even) {
        background-color: var(--bg-subtle, #f8fafd);
    }
    .job-notification-table tbody tr:hover {
        background-color: #f0f7fa;
    }
    html[data-theme="dark"] .job-notification-table tbody tr:hover {
        background-color: #1e293b;
    }

    .col-board {
        font-weight: 700;
        text-align: center;
        font-size: 0.825rem;
    }
    .board-badge {
        display: inline-block;
        padding: 3px 8px;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        font-weight: 800;
        font-size: 0.775rem;
        color: #005d82;
        text-decoration: none !important;
        transition: all 0.15s ease-in-out;
        cursor: pointer;
    }
    .board-badge:hover {
        background: #005d82;
        color: #ffffff !important;
        border-color: #005d82;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    }
    html[data-theme="dark"] .board-badge {
        background: #1e293b;
        border-color: #334155;
        color: #93c5fd;
    }
    html[data-theme="dark"] .board-badge:hover {
        background: #2563eb;
        color: #ffffff !important;
        border-color: #2563eb;
    }
    .col-title {
        font-weight: 700;
        padding-left: 0.6rem !important;
    }
    .col-title a {
        color: var(--color-text-main, #0f172a);
        text-decoration: none;
        transition: color 0.15s ease;
    }
    .col-title a:hover {
        color: #0060cc;
        text-decoration: underline;
    }
    .col-qual {
        font-size: 0.8rem;
        color: var(--color-text-muted, #475569);
        vertical-align: top;
    }
    .qual-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        width: 100%;
    }
    .qual-text {
        line-height: 1.35;
        word-break: break-word;
        font-size: 0.8rem;
    }
    .qual-text.clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .qual-text.expanded {
        display: block;
        overflow: visible;
    }
    .qual-toggle-btn {
        display: none;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        background: var(--bg-subtle, #f1f5f9);
        border: 1px solid var(--border-subtle, #cbd5e1);
        border-radius: 4px;
        color: #005d82;
        padding: 2px 6px;
        cursor: pointer;
        font-size: 0.75rem;
        line-height: 1;
        transition: all 0.15s ease;
        margin-top: 2px;
    }
    .qual-toggle-btn:hover {
        background: #005d82;
        color: #ffffff;
        border-color: #005d82;
    }
    html[data-theme="dark"] .qual-toggle-btn {
        background: #1e293b;
        border-color: #334155;
        color: #93c5fd;
    }
    html[data-theme="dark"] .qual-toggle-btn:hover {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
    }
    .qual-chevron {
        transition: transform 0.2s ease;
        display: block;
    }
    .qual-toggle-btn.is-expanded .qual-chevron {
        transform: rotate(180deg);
    }
    .col-advt {
        text-align: center;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .col-startdate {
        text-align: center;
        font-size: 0.8rem;
        white-space: nowrap;
        color: var(--color-text-main);
        vertical-align: bottom !important;
    }
    .col-lastdate {
        text-align: center;
        font-weight: 700;
        font-size: 0.8rem;
        white-space: nowrap;
        vertical-align: top !important;
        text-align: left;
    }
    .date-meta-cell {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 3px;
        width: 100%;
    }
    .date-val {
        font-weight: 700;
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
    }
    .date-badge {
        display: inline-block;
        font-size: 0.675rem;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 4px;
        line-height: 1.25;
        white-space: nowrap;
        letter-spacing: 0.01em;
        text-align: center;
        margin-top: auto;
    }
    .badge-urgent {
        background: #fee2e2;
        color: #b91c1c;
        border: 1px solid #fca5a5;
    }
    .badge-warning {
        background: #ffedd5;
        color: #c2410c;
        border: 1px solid #fdba74;
    }
    .badge-amber {
        background: #fef3c7;
        color: #b45309;
        border: 1px solid #fcd34d;
    }
    .badge-info {
        background: #dbeafe;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }
    .badge-cyan {
        background: #e0f2fe;
        color: #0369a1;
        border: 1px solid #7dd3fc;
    }
    .badge-green {
        background: #dcfce7;
        color: #15803d;
        border: 1px solid #86efac;
    }
    .badge-purple {
        background: #f3e8ff;
        color: #6b21a8;
        border: 1px solid #d8b4fe;
    }
    .badge-subtle {
        background: #f1f5f9;
        color: #475569;
        border: 1px solid #cbd5e1;
    }
    .badge-closed {
        background: #f1f5f9;
        color: #64748b;
        border: 1px solid #cbd5e1;
    }
    html[data-theme="dark"] .badge-urgent { background: rgba(220, 38, 38, 0.2); color: #fca5a5; border-color: rgba(220, 38, 38, 0.4); }
    html[data-theme="dark"] .badge-warning { background: rgba(234, 88, 12, 0.2); color: #fdba74; border-color: rgba(234, 88, 12, 0.4); }
    html[data-theme="dark"] .badge-amber { background: rgba(217, 119, 6, 0.2); color: #fde68a; border-color: rgba(217, 119, 6, 0.4); }
    html[data-theme="dark"] .badge-info { background: rgba(37, 99, 235, 0.2); color: #93c5fd; border-color: rgba(37, 99, 235, 0.4); }
    html[data-theme="dark"] .badge-cyan { background: rgba(2, 132, 199, 0.2); color: #7dd3fc; border-color: rgba(2, 132, 199, 0.4); }
    html[data-theme="dark"] .badge-green { background: rgba(22, 163, 74, 0.2); color: #86efac; border-color: rgba(22, 163, 74, 0.4); }
    html[data-theme="dark"] .badge-purple { background: rgba(124, 58, 237, 0.2); color: #c084fc; border-color: rgba(124, 58, 237, 0.4); }
    html[data-theme="dark"] .badge-subtle { background: #1e293b; color: #94a3b8; border-color: #334155; }
    html[data-theme="dark"] .badge-closed { background: #1e293b; color: #64748b; border-color: #334155; }
    .badge-urgent-text { color: #dc2626 !important; font-weight: 800; }
    html[data-theme="dark"] .badge-urgent-text { color: #f87171 !important; }

    .col-action {
        text-align: center;
        white-space: nowrap;
    }

    .get-details-link {
        display: inline-block;
        color: #0044cc;
        font-weight: 800;
        text-decoration: none;
        font-size: 0.8rem;
        white-space: nowrap;
        transition: color 0.15s ease, text-decoration 0.15s ease;
    }
    .get-details-link:hover {
        color: #002288;
        text-decoration: underline;
    }
    html[data-theme="dark"] .get-details-link {
        color: #60a5fa;
    }

    /* Stackable View on Mobile (< 768px) */
    @media (max-width: 768px) {
        .job-table-responsive {
            background: transparent;
            border: none;
            box-shadow: none;
            overflow: visible;
        }
        .job-notification-table {
            display: block;
            table-layout: auto;
        }
        .job-notification-table thead {
            display: none;
        }
        .job-notification-table tbody {
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }
        .job-notification-table tbody tr {
            display: block;
            background: var(--bg-surface) !important;
            border: 1px solid #136387;
            border-radius: 8px;
            padding: 0.75rem 0.85rem;
            box-shadow: var(--shadow-sm);
        }
        .job-notification-table td {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.4rem 0;
            border: none !important;
            border-bottom: 1px dashed var(--border-subtle, #e2e8f0) !important;
            text-align: right;
            font-size: 0.85rem;
        }
        .job-notification-table td:last-child {
            border-bottom: none !important;
            padding-bottom: 0;
            padding-top: 0.6rem;
            justify-content: center;
        }
        .job-notification-table td::before {
            content: attr(data-label);
            font-weight: 800;
            color: #005d82;
            font-size: 0.775rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            text-align: left;
            margin-right: 0.75rem;
            flex-shrink: 0;
        }
        html[data-theme="dark"] .job-notification-table td::before {
            color: #93c5fd;
        }
        .job-notification-table td.col-title {
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            padding-left: 0 !important;
        }
        .job-notification-table td.col-title::before {
            margin-bottom: 0.25rem;
        }
        .job-notification-table td.col-qual {
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }
        .job-notification-table td.col-qual::before {
            margin-bottom: 0.25rem;
        }
        .job-notification-table td .date-meta-cell {
            align-items: flex-end;
        }
        .job-notification-table td.col-action {
            width: 100%;
        }
        .job-notification-table td.col-action .get-details-link {
            width: 100%;
            background: #0060cc;
            color: #ffffff !important;
            text-align: center;
            padding: 0.45rem 1rem;
            border-radius: 4px;
            font-size: 0.875rem;
            font-weight: 800;
            box-sizing: border-box;
        }
        .job-notification-table td.col-action .get-details-link:hover {
            background: #004da3;
            text-decoration: none;
        }
    }

    /* Empty state */
    .empty-sector-box {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 3rem 1.5rem;
        text-align: center;
        color: var(--color-text-muted);
    }

/* === Post Detail (posts/show) === */
.article-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--sidebar-width, 280px);
        gap: 1.25rem;
        align-items: flex-start;
        margin-top: 1rem;
    }
    .list-sidebar-col {
        min-width: 0;
        width: 100%;
    }
    .article-main {
        min-width: 0;
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 1.15rem;
        box-shadow: var(--shadow-sm);
    }
    .article-header-meta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.875rem;
        color: var(--color-text-muted);
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    .article-badges-swiper {
        overflow: hidden;
        margin-bottom: 0.75rem;
    }
    .article-badges-swiper .swiper-slide {
        width: auto !important;
    }
    .article-category-badge {
        background-color: var(--brand-primary);
        color: #ffffff;
        font-weight: 800;
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
        border-radius: var(--radius-sm);
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }
    .social-actions-bar {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 0.4rem 0 0.85rem;
        border-bottom: 1px solid var(--border-subtle);
        flex-wrap: wrap;
    }
    .action-pill-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        border-radius: var(--radius-full);
        font-weight: 700;
        cursor: pointer;
        font-size: 0.78rem;
        line-height: 1.25;
        transition: all 0.15s ease;
    }
    .action-pill-count {
        background: var(--border-color);
        padding: 1px 5px;
        border-radius: 9999px;
        font-size: 0.7rem;
        color: var(--color-text-main);
    }
    .action-update-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 11px;
        border-radius: var(--radius-full);
        border: 1.5px solid #2563eb;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: #ffffff;
        font-weight: 700;
        cursor: pointer;
        font-size: 0.78rem;
        line-height: 1.25;
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22);
        transition: all 0.15s ease;
    }
    .share-icon-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 6px;
        text-decoration: none;
        transition: transform 0.15s ease;
        padding: 0;
    }
    .article-h1 {
        font-size: clamp(1.25rem, 2.1vw, 1.55rem);
        font-weight: 900;
        line-height: 1.28;
        color: var(--color-text-main);
        margin-bottom: 0.75rem;
        letter-spacing: -0.015em;
    }
    .article-featured-img-wrap {
        width: 100%;
        margin: 0.65rem 0;
        border-radius: var(--radius-md);
        overflow: hidden;
        border: 1px solid var(--border-color);
        position: relative;
        background-color: var(--bg-subtle);
    }
    .article-featured-img {
        width: 100%;
        height: auto;
        display: block;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    
    /* Skeleton Shimmer Loading Effect */
    .loading-shimmer::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
        background-image: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0) 100%
        );
        animation: shimmer-load 1.6s infinite;
    }
    
    @keyframes shimmer-load {
        100% {
            transform: translateX(100%);
        }
    }
    .article-excerpt-callout {
        background-color: var(--bg-subtle);
        border-left: 3px solid var(--brand-primary);
        padding: 0.65rem 0.9rem;
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--color-text-main);
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    .article-body-content {
        font-size: 0.88rem;
        line-height: 1.55;
        color: var(--color-text-main);
    }
    .article-body-content p {
        margin-bottom: 0.75rem;
    }
    .article-body-content h2 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--brand-primary);
        background: none;
        border-left: none;
        border-bottom: 2px solid var(--brand-primary);
        padding: 0 0 0.3rem 0;
        border-radius: 0;
        margin-top: 1.15rem;
        margin-bottom: 0.6rem;
        line-height: 1.35;
    }
    .article-body-content h3 {
        font-size: 0.92rem;
        font-weight: 800;
        color: var(--brand-primary);
        background: none;
        border-left: 3px solid var(--brand-secondary);
        padding: 0.1rem 0 0.1rem 0.55rem;
        border-radius: 0;
        margin-top: 0.9rem;
        margin-bottom: 0.45rem;
        line-height: 1.35;
    }
    .article-body-content ul {
        list-style-type: disc;
        margin-top: 0.3rem;
        margin-bottom: 0.85rem;
        padding-left: 1.25rem;
    }
    .article-body-content ol {
        list-style-type: decimal;
        margin-top: 0.3rem;
        margin-bottom: 0.85rem;
        padding-left: 1.25rem;
    }
    .article-body-content li {
        margin-bottom: 0.25rem;
        line-height: 1.5;
        color: var(--color-text-main);
    }
    /* Sidebar Widget Cards (Identical to List View) */
    .sidebar-widget-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        margin-bottom: 1.5rem;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }
    .sidebar-widget-header {
        padding: 0.75rem 1rem;
        background: var(--bg-subtle, #f1f5f9);
        border-bottom: 1px solid var(--border-color);
        font-weight: 800;
        font-size: 0.95rem;
        color: var(--color-text-main);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .sidebar-widget-body {
        padding: 0.85rem 1rem;
    }
    .sidebar-related-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .sidebar-related-item {
        padding: 0.6rem 0;
        border-bottom: 1px dashed var(--border-subtle);
    }
    .sidebar-related-item:first-child {
        padding-top: 0;
    }
    .sidebar-related-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .sidebar-related-title {
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--color-text-main);
        text-decoration: none;
        display: block;
        line-height: 1.4;
        margin-bottom: 0.25rem;
    }
    .sidebar-related-title:hover {
        color: var(--brand-primary);
        text-decoration: none;
    }
    .sidebar-related-meta {
        font-size: 0.725rem;
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        font-weight: 600;
    }

    /* Social Channel Cards */
    .social-join-card {
        padding: 0.95rem 1.15rem;
        border-radius: var(--radius-md, 8px);
        margin-bottom: 0.65rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-decoration: none !important;
        font-weight: 800;
        font-size: 0.95rem;
        font-family: inherit;
        border: none;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .social-join-card:last-child {
        margin-bottom: 0;
    }
    .social-join-card:hover {
        transform: translateY(-2px);
    }
    /* Mobile Sidebar Section: hidden on desktop, shown on mobile */
    .mobile-sidebar-section {
        display: none;
    }

    @media (max-width: 992px) {
        .article-shell {
            grid-template-columns: 1fr;
        }
        .article-main {
            padding: 1.25rem;
        }
        /* Hide desktop sidebar on mobile */
        .list-sidebar-col {
            display: none !important;
        }
        /* Show mobile sidebar section below article */
        .mobile-sidebar-section {
            display: block;
            margin-top: 1.5rem;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }
        .mobile-sidebar-section .sidebar-widget-card {
            margin-bottom: 1rem;
            width: 100%;
            box-sizing: border-box;
        }
        .mobile-sidebar-section .social-join-card {
            width: 100%;
            box-sizing: border-box;
        }
    }

    /* Job details styles */
    .recruitment-overview-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem;
        margin: 0.85rem 0;
        align-items: start;
    }
    .age-limits-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .spec-block {
        margin-bottom: 1.15rem;
    }
    .exam-stage-card {
        margin-bottom: 14px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        overflow: hidden;
        background: var(--bg-surface);
    }
    .exam-stage-body {
        padding: 0;
    }
    .spec-block-title {
        font-size: 1rem;
        font-weight: 800;
        color: var(--brand-primary);
        border-bottom: 2px solid var(--brand-primary);
        padding-bottom: 0.3rem;
        margin-bottom: 0.6rem;
        display: flex;
        align-items: center;
        gap: 0.45rem;
    }
    .recruitment-table-show {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 0.5rem;
        font-size: 0.86rem;
    }
    .recruitment-table-show th, .recruitment-table-show td {
        border: 1px solid var(--border-color);
        padding: 5px 8px;
        text-align: left;
    }
    .recruitment-table-show th {
        background-color: var(--bg-subtle);
        font-weight: 800;
        color: var(--color-text-main);
    }
    .recruitment-table-show tr:nth-child(even) td {
        background-color: var(--bg-subtle);
    }
    .link-btn-accent {
        display: inline-block;
        background-color: var(--brand-accent);
        color: white;
        padding: 6px 12px;
        border-radius: var(--radius-sm);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.875rem;
        transition: opacity 0.2s;
    }
    .link-btn-accent:hover {
        opacity: 0.9;
        color: white;
        text-decoration: none;
    }
    .faq-block {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .faq-item-show {
        margin-bottom: 4px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm, 6px);
        overflow: hidden;
        transition: all 0.15s ease;
    }
    .faq-item-show summary {
        padding: 9px 12px;
        font-weight: 800;
        font-size: 0.9rem;
        cursor: pointer;
        background: var(--bg-subtle, #f8fafc);
        color: var(--color-text-main);
        user-select: none;
    }
    .faq-item-show summary:hover {
        background: var(--bg-body, #f1f5f9);
        color: var(--brand-primary);
    }
    .faq-answer-body {
        padding: 10px 12px;
        border-top: 1px solid var(--border-color);
        line-height: 1.5;
        font-size: 0.875rem;
        background: var(--bg-surface);
        color: var(--color-text-main);
    }
    .topics-container {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 12px;
        font-size: 0.9rem;
        color: var(--color-text-main);
        line-height: 1.5;
    }
    .topic-separator {
        color: var(--brand-accent);
        margin-left: 8px;
        font-weight: bold;
    }

    @media (max-width: 640px) {
        .recruitment-overview-grid {
            grid-template-columns: 1fr;
            gap: 0.85rem;
            margin: 0.75rem 0;
        }
        .article-main {
            padding: 0.75rem 0.5rem;
            border: none;
            box-shadow: none;
        }
        .spec-block {
            margin-bottom: 0.85rem;
        }
        .age-limits-grid {
            grid-template-columns: 1fr !important;
            gap: 4px !important;
        }
        .recruitment-table-show {
            font-size: 0.72rem;
            margin-bottom: 0.35rem;
        }
        .recruitment-table-show:not(.table-labelled-mobile) th,
        .recruitment-table-show:not(.table-labelled-mobile) td {
            padding: 4px 5px;
            word-break: break-word;
            vertical-align: top;
        }
        .recruitment-table-show.table-labelled-mobile,
        .recruitment-table-show.table-labelled-mobile thead,
        .recruitment-table-show.table-labelled-mobile tbody,
        .recruitment-table-show.table-labelled-mobile tr,
        .recruitment-table-show.table-labelled-mobile th,
        .recruitment-table-show.table-labelled-mobile td {
            display: block;
            width: 100%;
            box-sizing: border-box;
        }
        .recruitment-table-show.table-labelled-mobile thead {
            display: none;
        }
        .recruitment-table-show.table-labelled-mobile tr {
            margin-bottom: 0.45rem;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            background: var(--bg-surface);
            padding: 5px 8px;
            box-shadow: var(--shadow-sm);
        }
        .recruitment-table-show.table-labelled-mobile tr:nth-child(even) td {
            background-color: transparent;
        }
        .recruitment-table-show.table-labelled-mobile td {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            border: none;
            padding: 4px 0;
            border-bottom: 1px solid var(--border-subtle);
            gap: 10px;
            text-align: left;
            position: relative;
        }
        .recruitment-table-show.table-labelled-mobile td:last-child {
            border-bottom: none;
        }
        .recruitment-table-show.table-labelled-mobile td::before {
            content: attr(data-label);
            font-weight: 800;
            color: var(--color-text-main);
            flex-shrink: 0;
            width: 35%;
            text-align: left;
        }
        .recruitment-table-show.table-labelled-mobile td > * {
            text-align: right;
        }
        .recruitment-table-show.table-labelled-mobile td .topics-container {
            justify-content: flex-end;
        }
        .exam-stage-body {
            padding: 12px;
        }
        .exam-stage-body .recruitment-table-show tr {
            margin-bottom: 10px;
            background: var(--bg-subtle, #f8fafc);
            border: 1px solid var(--border-color);
            box-shadow: none;
        }
        .exam-stage-body .recruitment-table-show tr:last-child {
            margin-bottom: 0;
        }
        .article-h1 {
            font-size: 1.12rem;
            line-height: 1.28;
            margin-bottom: 0.5rem;
            text-align: left;
        }
        .article-header-meta {
            justify-content: flex-start;
            font-size: 0.76rem;
            gap: 5px;
            margin-bottom: 0.65rem;
        }
        .article-category-badge {
            font-size: 0.68rem;
            padding: 2px 7px;
        }
        .social-actions-bar { gap: 5px; padding: 0.35rem 0 0.75rem; }
        .action-pill-btn, .action-update-btn { padding: 3px 8px; font-size: 0.72rem; gap: 3px; }
        .action-pill-count { font-size: 0.65rem; padding: 0 4px; }
        .share-label-desktop { display: none !important; }
        .share-icon-btn { width: 24px; height: 24px; }
        .article-excerpt-callout {
            font-size: 0.95rem;
            padding: 0.75rem 1rem;
            margin-bottom: 1rem;
        }
        .spec-block-title {
            font-size: 1.05rem;
            margin-bottom: 0.75rem;
        }
        .article-body-content h2 {
            font-size: 1.15rem;
            line-height: 1.3;
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
            padding: 0.4rem 0.65rem;
        }
        .article-body-content h3 {
            font-size: 1.05rem;
            line-height: 1.35;
            margin-top: 1rem;
            margin-bottom: 0.4rem;
            padding: 0.35rem 0.55rem;
        }
        .sidebar-widget-header {
            font-size: 0.9rem;
            padding: 0.65rem 0.85rem;
        }
    }

    /* Article Main Instant Alerts Widget (3 Columns on Desktop, 1 Column on Mobile) */
    .article-alerts-widget {
        margin: 1.25rem 0;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }
    .article-alerts-widget .sidebar-widget-body {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 0.75rem !important;
        padding: 0.85rem 1rem !important;
    }
    .article-alerts-widget .social-join-card {
        margin-bottom: 0 !important;
        font-size: 0.85rem;
        padding: 0.75rem 0.85rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
    }

    @media (max-width: 768px) {
        .article-alerts-widget .sidebar-widget-body {
            grid-template-columns: 1fr !important;
            gap: 0.65rem !important;
        }
    }

/* === State & Category Landing === */
/* Dedicated List & State Page Styles */
    .list-page-container {
        padding-top: 1rem;
        padding-bottom: 3.5rem;
    }

    /* Clean Compact Page Header (No Hero Banner) */
    .list-header-bar {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 1.15rem 1.35rem;
        margin-bottom: 1.25rem;
        box-shadow: var(--shadow-sm);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.85rem;
        border-left: 5px solid var(--brand-primary);
    }
    .list-header-title {
        font-size: clamp(1.2rem, 2.6vw, 1.75rem);
        font-weight: 900;
        color: var(--color-text-main);
        line-height: 1.25;
        margin-bottom: 0.2rem;
    }
    .list-header-desc {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        line-height: 1.4;
    }
    .list-count-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--bg-subtle, #f1f5f9);
        color: var(--brand-primary);
        font-size: 0.825rem;
        font-weight: 800;
        padding: 0.35rem 0.85rem;
        border-radius: var(--radius-full, 9999px);
        border: 1px solid var(--border-subtle, #e2e8f0);
        white-space: nowrap;
    }

    /* Main & Sidebar Layout Grid */
    .list-layout-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--sidebar-width, 280px);
        gap: 1.25rem;
        align-items: flex-start;
    }

    /* Left Main Content */
    .list-main-col {
        min-width: 0;
        width: 100%;
    }
    .list-sidebar-col {
        min-width: 0;
        width: 100%;
    }

    /* Quick Filter Pills Bar */
    .quick-filter-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        margin-bottom: 1.15rem;
        align-items: center;
    }
    .quick-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.8rem;
        border-radius: var(--radius-full, 9999px);
        font-size: 0.825rem;
        font-weight: 700;
        background: var(--bg-surface);
        color: var(--color-text-main);
        border: 1px solid var(--border-color);
        text-decoration: none;
        transition: all 0.15s ease;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }
    .quick-pill:hover {
        border-color: var(--brand-primary);
        color: var(--brand-primary);
        transform: translateY(-1px);
        text-decoration: none;
    }
    .quick-pill.active {
        background: var(--brand-primary);
        color: #ffffff;
        border-color: var(--brand-primary);
        box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
    }

    /* Search & Filter Toolbar */
    .list-filter-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 1rem 1.15rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: 1.25rem;
    }
    .filter-grid-form.filter-grid-3 {
        display: grid;
        grid-template-columns: 1.8fr 1fr 1fr auto;
        gap: 0.75rem;
        align-items: flex-end;
    }
    .form-group label {
        display: block;
        font-size: 0.725rem;
        font-weight: 800;
        color: var(--color-text-main);
        margin-bottom: 0.3rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .form-control-input {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm, 6px);
        font-size: 0.85rem;
        background: var(--bg-body);
        color: var(--color-text-main);
        font-weight: 600;
        height: 38px;
        box-sizing: border-box;
    }
    .form-control-input:focus {
        outline: none;
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.15);
    }

    /* View Switcher Controls Bar */
    .list-controls-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    .list-controls-info {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-text-muted);
    }
    .list-view-switcher {
        display: inline-flex;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm, 6px);
        padding: 3px;
        gap: 3px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }
    .view-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.32rem 0.75rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--color-text-muted);
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.15s ease;
    }
    .view-toggle-btn:hover {
        color: var(--color-text-main);
        background: var(--bg-subtle, #f1f5f9);
    }
    .view-toggle-btn.active {
        background: var(--brand-primary);
        color: #ffffff !important;
        box-shadow: 0 1px 3px rgba(30, 58, 138, 0.3);
    }

    /* Post Container - List View (Default) */
    .post-list-container {
        margin-bottom: 2rem;
        transition: all 0.2s ease;
    }
    .post-list-container.view-list {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    .post-list-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 1.25rem;
        box-shadow: var(--shadow-sm);
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        box-sizing: border-box;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    .post-list-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: var(--brand-primary);
    }

    .post-card-top-row {
        display: grid;
        grid-template-columns: 240px 1fr;
        gap: 1.25rem;
        align-items: start;
        width: 100%;
    }

    .post-list-media {
        width: 100%;
        aspect-ratio: 16 / 9;
        background: var(--bg-dark);
        border-radius: var(--radius-sm, 6px);
        overflow: hidden;
        position: relative;
        display: block;
        text-decoration: none;
        flex-shrink: 0;
    }
    .post-list-thumb-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }
    .post-list-card:hover .post-list-thumb-img {
        transform: scale(1.04);
    }
    .post-list-thumb-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #1e3a8a 0%, #047857 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        padding: 0.5rem;
    }
    .post-list-thumb-placeholder-logo {
        font-size: 1.75rem;
        font-weight: 900;
    }
    .post-list-thumb-placeholder-text {
        font-size: 0.7rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.85);
        text-transform: uppercase;
        margin-top: 2px;
    }

    .post-type-floating-badge {
        position: absolute;
        top: 8px;
        left: 8px;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(4px);
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 800;
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .post-card-header-info {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .post-list-meta-top {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 0.4rem;
        font-size: 0.775rem;
    }
    .post-badge-category {
        background: #eff6ff;
        color: #1d4ed8;
        font-weight: 800;
        padding: 0.15rem 0.5rem;
        border-radius: var(--radius-sm, 4px);
        border: 1px solid #bfdbfe;
        text-transform: uppercase;
        font-size: 0.7rem;
    }
    .post-badge-state {
        background: #f0fdf4;
        color: #15803d;
        font-weight: 800;
        padding: 0.15rem 0.5rem;
        border-radius: var(--radius-sm, 4px);
        border: 1px solid #bbf7d0;
        font-size: 0.7rem;
    }
    .post-meta-date {
        color: var(--color-text-muted);
        font-weight: 600;
    }

    .post-list-title {
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }
    .post-list-title a {
        color: var(--color-text-main);
        text-decoration: none;
        transition: color 0.15s ease;
    }
    .post-list-title a:hover {
        color: var(--brand-primary);
    }

    .post-list-key-details {
        display: flex;
        gap: 0.5rem 0.85rem;
        flex-wrap: wrap;
        align-items: center;
        background: var(--bg-subtle, #f8fafc);
        padding: 0.5rem 0.75rem;
        border-radius: var(--radius-sm, 6px);
        border: 1px solid var(--border-subtle, #e2e8f0);
        font-size: 0.785rem;
        margin-top: auto;
    }
    .key-detail-item {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        color: var(--color-text-muted);
    }
    .key-detail-item strong {
        color: var(--color-text-main);
    }
    .key-detail-org {
        color: var(--brand-primary);
        font-weight: 800;
    }
    .key-detail-vacancies {
        color: #047857;
        font-weight: 800;
    }
    .key-detail-last-date {
        color: #dc2626;
        font-weight: 800;
        background: #fef2f2;
        padding: 1px 6px;
        border-radius: 3px;
        border: 1px solid #fecaca;
    }

    .post-card-bottom-row {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        border-top: 1px dashed var(--border-subtle, #e2e8f0);
        padding-top: 0.75rem;
    }
    .post-list-excerpt {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        line-height: 1.5;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .post-list-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
    }
    .post-author-info {
        color: var(--color-text-muted);
        font-weight: 600;
    }
    .btn-view-details {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: var(--brand-primary);
        color: #ffffff !important;
        font-weight: 800;
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        border-radius: var(--radius-sm, 6px);
        text-decoration: none !important;
        transition: all 0.15s ease;
        box-shadow: 0 1px 3px rgba(30, 58, 138, 0.2);
    }
    .btn-view-details:hover {
        background: var(--brand-primary-hover, #1e40af);
        transform: translateX(2px);
        box-shadow: 0 3px 8px rgba(30, 58, 138, 0.3);
    }

    /* GRID VIEW (When switched to Grid) */
    .post-list-container.view-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
    .post-list-container.view-grid .post-list-card {
        padding: 0;
        gap: 0;
    }
    .post-list-container.view-grid .post-card-top-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .post-list-container.view-grid .post-list-media {
        border-radius: 0;
    }
    .post-list-container.view-grid .post-card-header-info {
        padding: 1rem;
    }
    .post-list-container.view-grid .post-card-bottom-row {
        padding: 0 1rem 1rem 1rem;
        border-top: none;
        margin-top: auto;
    }
    .post-list-container.view-grid .post-list-title {
        font-size: 1rem;
    }
    .post-list-container.view-grid .post-list-excerpt {
        -webkit-line-clamp: 2;
        margin-bottom: 0.75rem;
    }

    /* Get Assistance Horizontal 4-Column Strip */
    .article-alerts-widget {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }
    .article-alerts-widget .sidebar-widget-body {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0.55rem !important;
        padding: 0.85rem 1rem !important;
    }
    .article-alerts-widget .social-join-card {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8125rem !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: auto !important;
        min-height: 38px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    @media (max-width: 992px) {
        .list-layout-grid { grid-template-columns: 1fr; }
        .article-alerts-widget .sidebar-widget-body { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    }
    @media (max-width: 540px) {
        .article-alerts-widget .sidebar-widget-body { grid-template-columns: 1fr !important; }
    }
        .filter-grid-form.filter-grid-3 { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
        .filter-grid-form.filter-grid-3 { grid-template-columns: 1fr; }
        .post-card-top-row { grid-template-columns: 1fr; }
        .post-list-container.view-grid { grid-template-columns: 1fr; }
    }


/* === auth_modal.blade.php === */
.auth-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 10000000 !important;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        box-sizing: border-box;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .auth-modal-overlay.active {
        display: flex;
        opacity: 1;
    }
    .auth-modal-card {
        background: #ffffff;
        width: 100%;
        max-width: 420px;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
        overflow: hidden;
        border: 1px solid #e2e8f0;
        animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        max-height: 90vh;
    }
    @keyframes modalScaleIn {
        from { transform: scale(0.92); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
    .auth-modal-header {
        background: linear-gradient(135deg, #075e54 0%, #0f172a 100%);
        color: #ffffff;
        padding: 1rem 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .auth-modal-title {
        font-size: 1.05rem;
        font-weight: 800;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .auth-modal-close {
        background: rgba(255, 255, 255, 0.18);
        border: none;
        color: #ffffff;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
    }
    .auth-modal-close:hover { background: rgba(255, 255, 255, 0.3); }
    .auth-modal-tabs {
        display: flex;
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
    }
    .auth-tab-btn {
        flex: 1;
        padding: 0.75rem;
        font-size: 0.85rem;
        font-weight: 800;
        font-family: inherit;
        border: none;
        background: none;
        color: #64748b;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        transition: all 0.15s;
        text-align: center;
    }
    .auth-tab-btn.active {
        color: #075e54;
        border-bottom-color: #075e54;
        background: #ffffff;
    }
    .auth-modal-body {
        padding: 1.25rem;
        overflow-y: auto;
    }
    .auth-form-group {
        margin-bottom: 0.85rem;
    }
    .auth-form-label {
        display: block;
        font-size: 0.78rem;
        font-weight: 800;
        color: #334155;
        margin-bottom: 4px;
    }
    .auth-form-input {
        width: 100%;
        height: 38px;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        padding: 0 10px;
        font-size: 0.85rem;
        font-family: inherit;
        color: #0f172a;
        box-sizing: border-box;
        outline: none;
        transition: border-color 0.15s;
    }
    .auth-form-input:focus {
        border-color: #075e54;
        box-shadow: 0 0 0 2px rgba(7, 94, 84, 0.12);
    }
    .auth-form-btn-submit {
        width: 100%;
        height: 40px;
        background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
        color: #ffffff;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 800;
        font-family: inherit;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.15s;
        box-shadow: 0 2px 6px rgba(7, 94, 84, 0.25);
    }
    .auth-form-btn-submit:hover {
        background: linear-gradient(135deg, #064e3b 0%, #075e54 100%);
        transform: translateY(-1px);
    }
    .auth-error-alert {
        display: none;
        background: #fef2f2;
        border: 1px solid #fecaca;
        color: #b91c1c;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 0.78rem;
        font-weight: 700;
        margin-bottom: 0.85rem;
    }
    .auth-success-alert {
        display: none;
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
        color: #15803d;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 0.78rem;
        font-weight: 700;
        margin-bottom: 0.85rem;
    }
    .auth-google-btn {
        width: 100%;
        height: 38px;
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        color: #334155;
        font-size: 0.825rem;
        font-weight: 800;
        font-family: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        margin-bottom: 0.85rem;
        transition: all 0.15s;
    }
    .auth-google-btn:hover {
        background: #f8fafc;
        border-color: #94a3b8;
    }
    .auth-divider {
        display: flex;
        align-items: center;
        text-align: center;
        color: #94a3b8;
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        margin: 0.75rem 0;
    }
    .auth-divider::before, .auth-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e2e8f0;
    }
    .auth-divider:not(:empty)::before { margin-right: 0.5em; }
    .auth-divider:not(:empty)::after { margin-left: 0.5em; }
    .auth-row-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

/* === admin_card_studio_buttons.blade.php === */
.admin-studio-actions {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            vertical-align: middle;
        }
        .admin-studio-btn {
            display: inline-flex;
            align-items: center;
            gap: 3.5px;
            font-size: 0.62rem;
            font-weight: 800;
            padding: 0.12rem 0.45rem;
            border-radius: 4px;
            line-height: 1.25;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.15s ease-in-out;
            user-select: none;
            box-sizing: border-box;
            letter-spacing: 0.02em;
        }
        .admin-studio-btn.btn-video {
            background: #eff6ff;
            color: #1d4ed8;
            border: 1px solid #bfdbfe;
            box-shadow: 0 1px 2px rgba(29, 78, 216, 0.08);
        }
        .admin-studio-btn.btn-video:hover {
            background: #1d4ed8;
            color: #ffffff;
            border-color: #1e40af;
            box-shadow: 0 2px 5px rgba(29, 78, 216, 0.35);
            transform: translateY(-1px);
        }
        .admin-studio-btn.btn-video:active {
            transform: translateY(0);
        }
        .admin-studio-btn.btn-image {
            background: #f0fdf4;
            color: #047857;
            border: 1px solid #a7f3d0;
            box-shadow: 0 1px 2px rgba(4, 120, 87, 0.08);
        }
        .admin-studio-btn.btn-image:hover {
            background: #047857;
            color: #ffffff;
            border-color: #065f46;
            box-shadow: 0 2px 5px rgba(4, 120, 87, 0.35);
            transform: translateY(-1px);
        }
        .admin-studio-btn.btn-image:active {
            transform: translateY(0);
        }

/* === _author_update_modal.blade.php === */
@keyframes authorModalPop {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

/* === directory.blade.php === */
.directory-container {
        padding-top: 1rem;
        padding-bottom: 3.5rem;
    }
    .directory-layout-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 1.75rem;
        align-items: start;
    }
    @media (max-width: 1024px) {
        .directory-layout-grid {
            grid-template-columns: 1fr;
        }
    }
    .directory-header-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-left: 5px solid var(--brand-primary);
        border-radius: var(--radius-md, 8px);
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.25rem;
        box-shadow: var(--shadow-sm);
    }
    .directory-title {
        font-size: clamp(1.3rem, 2.3vw, 1.75rem);
        font-weight: 900;
        color: var(--color-text-main);
        margin: 0 0 0.35rem 0;
    }
    .directory-subtitle {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        margin: 0 0 1rem 0;
        line-height: 1.5;
    }
    .directory-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .directory-tabs {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .directory-tab {
        padding: 6px 14px;
        border-radius: 999px;
        font-size: 0.825rem;
        font-weight: 700;
        text-decoration: none;
        border: 1px solid var(--border-color);
        background: var(--bg-subtle, #f8fafc);
        color: var(--color-text-main);
    }
    .directory-tab.active {
        background: var(--brand-primary);
        border-color: var(--brand-primary);
        color: #ffffff;
    }
    .directory-search-input {
        padding: 7px 14px;
        border-radius: 999px;
        border: 1px solid var(--border-color);
        background: var(--bg-body);
        color: var(--color-text-main);
        font-size: 0.85rem;
        min-width: 240px;
    }
    .directory-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
        gap: 0.85rem;
    }
    .directory-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 0.8rem 1rem;
        text-decoration: none;
        color: var(--color-text-main);
        font-weight: 700;
        font-size: 0.875rem;
        box-shadow: var(--shadow-sm);
        transition: border-color 0.15s ease, transform 0.15s ease;
    }
    .directory-card:hover {
        border-color: var(--brand-primary);
        transform: translateY(-1px);
    }
    .directory-count-badge {
        background: var(--bg-subtle, #eff6ff);
        color: var(--brand-primary);
        border: 1px solid var(--border-color);
        border-radius: 999px;
        padding: 2px 9px;
        font-size: 0.75rem;
        font-weight: 800;
        flex-shrink: 0;
    }

/* === author.blade.php === */
.author-profile-hero {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg, 16px);
        padding: 3rem 2rem;
        margin-bottom: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }
    .author-hero-inner {
        display: flex;
        gap: 2rem;
        align-items: center;
        max-width: 960px;
        margin: 0 auto;
        flex-wrap: wrap;
    }
    .author-hero-avatar {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        background: #334155;
        flex-shrink: 0;
    }
    .author-hero-details {
        flex: 1;
        min-width: 280px;
    }
    .author-hero-name {
        font-size: 2rem;
        font-weight: 800;
        margin: 0 0 0.25rem 0;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .author-hero-title {
        font-size: 1.1rem;
        color: #38bdf8;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
    .author-credentials-bar {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        font-size: 0.875rem;
        color: #94a3b8;
    }
    .author-cred-item {
        background: rgba(255, 255, 255, 0.08);
        padding: 0.25rem 0.75rem;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    .author-social-links {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    .author-social-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        padding: 0.45rem 1.1rem;
        border-radius: 999px;
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .author-social-btn:hover {
        background: #2563eb;
        color: #ffffff;
        transform: translateY(-2px);
    }
    .author-bio-card {
        background: var(--bg-surface, #ffffff);
        border: 1px solid var(--border-color, #e2e8f0);
        border-radius: var(--radius-lg, 16px);
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    }
    .author-bio-text {
        font-size: 1rem;
        line-height: 1.7;
        color: var(--color-text-main, #334155);
        margin: 0;
    }
    .expertise-pill {
        display: inline-block;
        background: #eff6ff;
        color: #1d4ed8;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 0.3rem 0.8rem;
        border-radius: 999px;
        margin: 0 6px 6px 0;
        border: 1px solid #bfdbfe;
    }
    .post-grid-author {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    .post-card-author {
        background: var(--bg-surface, #ffffff);
        border: 1px solid var(--border-color, #e2e8f0);
        border-radius: 12px;
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        text-decoration: none;
        color: inherit;
    }
    .post-card-author:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.08);
        border-color: #93c5fd;
    }

/* === about.blade.php === */
.page-hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 3.5rem 2rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .page-hero h1 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.85rem;
        color: #ffffff;
        letter-spacing: -0.02em;
    }
    .page-hero p {
        font-size: 1.15rem;
        color: #cbd5e1;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }
    .badge-tag {
        display: inline-block;
        background: rgba(255, 255, 255, 0.15);
        color: #60a5fa;
        font-weight: 700;
        padding: 0.35rem 1rem;
        border-radius: 999px;
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
    .page-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 3rem 2.5rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--space-section);
    }
    .content-section {
        margin-bottom: 2.75rem;
    }
    .content-section:last-child {
        margin-bottom: 0;
    }
    .content-section h2 {
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1.15rem;
        display: flex;
        align-items: center;
        gap: 0.65rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.65rem;
    }
    .content-section p {
        color: var(--color-text-main);
        line-height: 1.85;
        font-size: 1.025rem;
        margin-bottom: 1.15rem;
    }
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
        margin: 2rem 0;
    }
    .stat-card {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
        border: 1px solid rgba(37, 99, 235, 0.2);
        border-radius: var(--radius-md);
        padding: 1.5rem;
        text-align: center;
    }
    .stat-number {
        font-size: 2.25rem;
        font-weight: 900;
        color: var(--brand-primary);
        line-height: 1.2;
    }
    .stat-label {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--color-text-muted);
        margin-top: 0.35rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .feature-card {
        background-color: var(--bg-subtle);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 1.75rem;
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .feature-card:hover {
        transform: translateY(-3px);
        border-color: var(--brand-primary);
        box-shadow: var(--shadow-md);
    }
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    .feature-card h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--brand-primary);
        margin-bottom: 0.5rem;
    }
    .feature-card p {
        font-size: 0.95rem;
        color: var(--color-text-muted);
        margin-bottom: 0;
        line-height: 1.65;
    }
    .process-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    .step-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 1.5rem;
        position: relative;
    }
    .step-number {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: var(--brand-primary);
        color: #ffffff;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .step-card h4 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: var(--color-text-main);
    }
    .step-card p {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.6;
        margin-bottom: 0;
    }
    .sectors-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
        margin-top: 1.25rem;
    }
    .sector-item {
        background-color: var(--bg-subtle);
        border: 1px solid var(--border-subtle);
        padding: 1rem 1.25rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-weight: 600;
        color: var(--color-text-main);
    }
    .sector-icon {
        font-size: 1.25rem;
    }
    .highlight-banner {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(37, 99, 235, 0.12) 100%);
        border-left: 4px solid var(--brand-primary);
        padding: 1.5rem 1.75rem;
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        margin: 2rem 0;
    }
    .highlight-banner h3 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--brand-primary);
        margin-bottom: 0.5rem;
    }
    .highlight-banner p {
        margin-bottom: 0;
        font-size: 0.975rem;
        line-height: 1.7;
    }

/* === contact.blade.php === */
.page-hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 3rem 2rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .page-hero h1 {
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    .page-hero p {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 750px;
        margin: 0 auto;
    }
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1.6fr;
        gap: 2rem;
        margin-bottom: var(--space-section);
    }
    @media (max-width: 868px) {
        .contact-grid {
            grid-template-columns: 1fr;
        }
    }
    .info-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 2.25rem;
        box-shadow: var(--shadow-sm);
        height: 100%;
    }
    .info-card h2 {
        font-size: 1.35rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1.25rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .info-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    .info-icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background-color: rgba(30, 58, 138, 0.1);
        color: var(--brand-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    .info-text h3 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
        color: var(--color-text-main);
    }
    .info-text p {
        font-size: 0.925rem;
        color: var(--color-text-muted);
        margin-bottom: 0;
        line-height: 1.55;
    }
    .form-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 2.25rem;
        box-shadow: var(--shadow-sm);
    }
    .form-group {
        margin-bottom: 1.35rem;
    }
    .form-label {
        display: block;
        font-weight: 700;
        font-size: 0.925rem;
        color: var(--color-text-main);
        margin-bottom: 0.45rem;
    }
    .form-input, .form-select, .form-textarea {
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        background-color: var(--bg-subtle);
        color: var(--color-text-main);
        font-size: 0.95rem;
        outline: none;
        transition: border-color 0.2s;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
        border-color: var(--brand-primary);
        background-color: var(--bg-surface);
    }
    .btn-submit {
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        color: #ffffff;
        font-weight: 800;
        border: none;
        padding: 0.9rem 2rem;
        border-radius: var(--radius-md);
        cursor: pointer;
        font-size: 1rem;
        transition: transform 0.2s ease, opacity 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: var(--shadow-sm);
    }
    .btn-submit:hover {
        transform: translateY(-1px);
        opacity: 0.95;
    }
    .alert-success {
        background-color: #dcfce7;
        border: 1px solid #86efac;
        color: #166534;
        padding: 1rem 1.25rem;
        border-radius: var(--radius-md);
        margin-bottom: 1.5rem;
        font-weight: 700;
    }
    .alert-danger {
        background-color: #fee2e2;
        border: 1px solid #fca5a5;
        color: #991b1b;
        padding: 1rem 1.25rem;
        border-radius: var(--radius-md);
        margin-bottom: 1.5rem;
    }
    .dept-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 2.5rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-sm);
    }
    .dept-card h2 {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1.25rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .dept-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.25rem;
    }
    .dept-item {
        background-color: var(--bg-subtle);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 1.25rem;
    }
    .dept-item h3 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
        color: var(--color-text-main);
    }
    .dept-item p {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    .dept-item a {
        color: var(--brand-primary);
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
    }
    .faq-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 2.5rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--space-section);
    }
    .faq-card h2 {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1.5rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .faq-item {
        margin-bottom: 1.25rem;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 1.25rem;
    }
    .faq-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .faq-question {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--color-text-main);
        margin-bottom: 0.4rem;
    }
    .faq-answer {
        font-size: 0.95rem;
        color: var(--color-text-muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

/* === privacy.blade.php === */
.page-hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 3rem 2rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .page-hero h1 {
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    .page-hero p {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 750px;
        margin: 0 auto;
    }
    .page-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 3rem 2.5rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--space-section);
    }
    .policy-section {
        margin-bottom: 2.5rem;
    }
    .policy-section:last-child {
        margin-bottom: 0;
    }
    .policy-section h2 {
        font-size: 1.45rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .policy-section h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--color-text-main);
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }
    .policy-section p, .policy-section ul {
        color: var(--color-text-main);
        line-height: 1.85;
        font-size: 0.985rem;
        margin-bottom: 1rem;
    }
    .policy-section ul {
        padding-left: 1.5rem;
    }
    .policy-section li {
        margin-bottom: 0.5rem;
    }
    .info-callout {
        background-color: var(--bg-subtle);
        border-left: 4px solid var(--brand-primary);
        padding: 1.25rem 1.5rem;
        border-radius: var(--radius-sm);
        margin: 1.25rem 0;
    }
    .info-callout p {
        margin-bottom: 0;
        font-size: 0.95rem;
    }

/* === terms.blade.php === */
.page-hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 3rem 2rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .page-hero h1 {
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    .page-hero p {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 750px;
        margin: 0 auto;
    }
    .page-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 3rem 2.5rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--space-section);
    }
    .terms-section {
        margin-bottom: 2.5rem;
    }
    .terms-section:last-child {
        margin-bottom: 0;
    }
    .terms-section h2 {
        font-size: 1.45rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .terms-section p, .terms-section ul {
        color: var(--color-text-main);
        line-height: 1.85;
        font-size: 0.985rem;
        margin-bottom: 1rem;
    }
    .terms-section ul {
        padding-left: 1.5rem;
    }
    .terms-section li {
        margin-bottom: 0.5rem;
    }

/* === disclaimer.blade.php === */
.page-hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 3rem 2rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .page-hero h1 {
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    .page-hero p {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 750px;
        margin: 0 auto;
    }
    .page-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 3rem 2.5rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--space-section);
    }
    .disclaimer-box {
        background-color: rgba(239, 68, 68, 0.08);
        border: 1px solid rgba(239, 68, 68, 0.3);
        border-radius: var(--radius-md);
        padding: 1.75rem;
        margin-bottom: 2.5rem;
    }
    .disclaimer-box h3 {
        color: #dc2626;
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 0.65rem;
    }
    .disclaimer-box p {
        color: var(--color-text-main);
        margin-bottom: 0;
        line-height: 1.75;
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.45rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .text-content p, .text-content ul {
        color: var(--color-text-main);
        line-height: 1.85;
        font-size: 0.985rem;
        margin-bottom: 1.15rem;
    }
    .text-content ul {
        padding-left: 1.5rem;
    }
    .text-content li {
        margin-bottom: 0.5rem;
    }
    .warning-card {
        background-color: rgba(245, 158, 11, 0.08);
        border: 1px solid rgba(245, 158, 11, 0.3);
        border-radius: var(--radius-md);
        padding: 1.25rem 1.5rem;
        margin: 1.5rem 0;
    }
    .warning-card h4 {
        color: #b45309;
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
    }
    .warning-card p {
        color: var(--color-text-main);
        margin-bottom: 0;
        font-size: 0.95rem;
    }

/* === dmca.blade.php === */
.page-hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 3rem 2rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .page-hero h1 {
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    .page-hero p {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 750px;
        margin: 0 auto;
    }
    .page-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 3rem 2.5rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--space-section);
    }
    .dmca-section {
        margin-bottom: 2.5rem;
    }
    .dmca-section:last-child {
        margin-bottom: 0;
    }
    .dmca-section h2 {
        font-size: 1.45rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .dmca-section p, .dmca-section ul {
        color: var(--color-text-main);
        line-height: 1.85;
        font-size: 0.985rem;
        margin-bottom: 1.15rem;
    }
    .dmca-section ul {
        padding-left: 1.5rem;
    }
    .dmca-section li {
        margin-bottom: 0.5rem;
    }
    .code-box {
        background-color: var(--bg-subtle);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 1.25rem;
        font-family: monospace;
        font-size: 0.9rem;
        color: var(--color-text-main);
        margin: 1.25rem 0;
        white-space: pre-wrap;
        line-height: 1.6;
    }

/* === data_deletion.blade.php === */
.page-hero {
        background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 3rem 2rem;
        margin-bottom: var(--space-section);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .page-hero h1 {
        font-size: 2.25rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }
    .page-hero p {
        font-size: 1rem;
        color: #cbd5e1;
        max-width: 750px;
        margin: 0 auto;
    }
    .page-card {
        background-color: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 3rem 2.5rem;
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--space-section);
    }
    .policy-section {
        margin-bottom: 2.5rem;
    }
    .policy-section:last-child {
        margin-bottom: 0;
    }
    .policy-section h2 {
        font-size: 1.45rem;
        font-weight: 800;
        color: var(--brand-primary);
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--border-subtle);
        padding-bottom: 0.5rem;
    }
    .policy-section h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--color-text-main);
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }
    .policy-section p, .policy-section ul, .policy-section ol {
        color: var(--color-text-main);
        line-height: 1.85;
        font-size: 0.985rem;
        margin-bottom: 1rem;
    }
    .policy-section ul, .policy-section ol {
        padding-left: 1.5rem;
    }
    .policy-section li {
        margin-bottom: 0.5rem;
    }
    .info-callout {
        background-color: var(--bg-subtle);
        border-left: 4px solid var(--brand-primary);
        padding: 1.25rem 1.5rem;
        border-radius: var(--radius-sm);
        margin: 1.25rem 0;
    }
    .info-callout p {
        margin-bottom: 0;
        font-size: 0.95rem;
    }
    .deletion-form-card {
        background: #f8fafc;
        border: 1.5px solid #cbd5e1;
        border-radius: 14px;
        padding: 24px;
        margin: 20px 0;
    }
    .form-group-custom {
        margin-bottom: 16px;
    }
    .form-label-custom {
        display: block;
        font-size: 13.5px;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 6px;
    }
    .form-input-custom {
        width: 100%;
        padding: 10px 14px;
        border-radius: 8px;
        border: 1.5px solid #cbd5e1;
        font-size: 14px;
        background: #ffffff;
        box-sizing: border-box;
        transition: border-color 0.2s ease;
    }
    .form-input-custom:focus {
        outline: none;
        border-color: #2563eb;
    }
    .step-box {
        background: #f1f5f9;
        border-radius: 10px;
        padding: 16px 20px;
        margin-bottom: 14px;
        border-left: 4px solid #2563eb;
    }

/* === mobile-app.blade.php === */
.app-hero-card {
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
        color: #ffffff;
        border-radius: var(--radius-lg, 12px);
        padding: 3rem 2rem;
        margin-bottom: var(--space-section, 1.75rem);
        box-shadow: var(--shadow-lg);
        position: relative;
        overflow: hidden;
    }
    .app-hero-card::after {
        content: "";
        position: absolute;
        top: -30%;
        right: -10%;
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .app-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .app-feature-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md, 8px);
        padding: 1.5rem;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .app-feature-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }
    .app-feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        background: var(--bg-subtle);
    }
    .app-action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
        font-weight: 800;
        border-radius: var(--radius-full, 9999px);
        text-decoration: none !important;
        transition: all 0.2s ease;
        box-shadow: var(--shadow-md);
    }
    .btn-android {
        background: #10b981;
        color: #ffffff !important;
    }
    .btn-android:hover {
        background: #059669;
        transform: scale(1.03);
    }
    .btn-pwa {
        background: #0284c7;
        color: #ffffff !important;
    }
    .btn-pwa:hover {
        background: #0369a1;
        transform: scale(1.03);
    }
    .btn-whatsapp-channel {
        background: #25d366;
        color: #ffffff !important;
    }
    .btn-telegram-channel {
        background: #0088cc;
        color: #ffffff !important;
    }

/* === signup.blade.php === */
@media (max-width: 480px) {
        .form-row-grid {
            grid-template-columns: 1fr !important;
        }
    }

/* === index.blade.php === */
@media (max-width: 480px) {
        .form-row-grid {
            grid-template-columns: 1fr !important;
        }
    }

/* === index.blade.php === */
@media (max-width: 1024px) {
        .ca-grid-layout {
            grid-template-columns: 1fr !important;
        }
    }

/* === mcqs.blade.php === */
@media (max-width: 1024px) {
        .ca-grid-layout {
            grid-template-columns: 1fr !important;
        }
    }

/* === show.blade.php === */
@media (max-width: 1024px) {
        .ca-show-grid {
            grid-template-columns: 1fr !important;
        }
    }

/* === exams/calendar === */
.exam-calendar-page {
        padding-top: 1rem;
        padding-bottom: 3.5rem;
    }

    /* Hero Header */
    .calendar-hero {
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #172554 100%);
        color: #ffffff;
        border-radius: var(--radius-lg);
        padding: 2.25rem 2rem;
        margin-bottom: 1.75rem;
        box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.12);
        position: relative;
        overflow: hidden;
    }

    .calendar-hero::after {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(255,255,255,0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    /* Master Toolbar: Duration & Jump Controls */
    .calendar-toolbar {
        background: var(--bg-surface);
        border: 1.5px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
        display: flex;
        flex-wrap: wrap;
        gap: 1.25rem;
        align-items: center;
        justify-content: space-between;
    }

    .toolbar-group {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .toolbar-label {
        font-size: 0.8rem;
        font-weight: 800;
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    /* Duration Selector Buttons */
    .duration-pills {
        display: inline-flex;
        background: #f1f5f9;
        padding: 4px;
        border-radius: var(--radius-md);
        gap: 4px;
        border: 1px solid #e2e8f0;
    }

    .duration-pill {
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.825rem;
        font-weight: 700;
        color: #475569;
        text-decoration: none;
        transition: all 0.15s ease;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .duration-pill:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

    .duration-pill.active {
        background: var(--brand-primary);
        color: #ffffff;
        box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
    }

    /* Jump Selector */
    .jump-select {
        padding: 7px 12px;
        border-radius: var(--radius-md);
        border: 1.5px solid var(--border-color);
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-text-main);
        background: #f8fafc;
        cursor: pointer;
        outline: none;
        transition: border-color 0.15s ease;
    }

    .jump-select:focus {
        border-color: var(--brand-primary);
        background: #ffffff;
    }

    .today-reset-btn {
        padding: 7px 14px;
        border-radius: var(--radius-md);
        font-size: 0.825rem;
        font-weight: 700;
        color: #1e40af;
        background: #eff6ff;
        border: 1.5px solid #bfdbfe;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: all 0.15s ease;
    }

    .today-reset-btn:hover {
        background: #dbeafe;
        border-color: #93c5fd;
        transform: translateY(-1px);
    }

    /* Pagination Navigation Bar */
    .calendar-pagination-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        color: #ffffff;
        padding: 0.9rem 1.25rem;
        border-radius: var(--radius-md);
        margin-bottom: 1.75rem;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
        flex-wrap: wrap;
    }

    .pagination-nav-btn {
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 800;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
    }

    .pagination-nav-btn:hover {
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.35);
        transform: translateY(-1px);
    }

    .pagination-current-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2px;
    }

    .pagination-title {
        font-size: 1.1rem;
        font-weight: 900;
        letter-spacing: -0.01em;
        color: #f8fafc;
    }

    .pagination-subtitle {
        font-size: 0.775rem;
        color: #94a3b8;
        font-weight: 600;
    }

    /* Filter Container */
    .calendar-filters-container {
        background: var(--bg-surface);
        border: 1.5px solid var(--border-color);
        border-radius: var(--radius-lg);
        padding: 1.25rem 1.35rem;
        margin-bottom: 1.75rem;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
        display: flex;
        flex-direction: column;
        gap: 0.9rem;
    }

    .filter-row {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .filter-row-label {
        font-size: 0.775rem;
        font-weight: 800;
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
        white-space: nowrap;
        min-width: 110px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .filter-row-footer {
        justify-content: space-between;
        border-top: 1px dashed var(--border-subtle);
        padding-top: 0.9rem;
        margin-top: 0.25rem;
    }

    .calendar-search-wrapper {
        display: flex;
        flex: 1;
        max-width: 340px;
        min-width: 220px;
    }

    /* Month Quick Nav Bar */
    .month-nav-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        overflow-x: auto;
        scrollbar-width: thin;
        flex: 1;
    }

    .month-nav-btn {
        padding: 6px 14px;
        border-radius: 8px;
        font-size: 0.825rem;
        font-weight: 700;
        color: #334155;
        background: #f8fafc;
        border: 1.5px solid #cbd5e1;
        text-decoration: none;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        transition: all 0.15s ease;
    }

    .month-nav-btn:hover {
        background: #e2e8f0;
        border-color: #94a3b8;
        color: #0f172a;
        transform: translateY(-1px);
    }

    .month-nav-btn.active {
        background: #075e54 !important;
        color: #ffffff !important;
        border-color: #075e54 !important;
        box-shadow: 0 2px 8px rgba(7, 94, 84, 0.35);
    }

    /* Filter Controls Bar */
    .filter-pills-bar {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
        flex: 1;
    }

    .filter-pill {
        padding: 6px 14px;
        border-radius: 9999px;
        font-size: 0.825rem;
        font-weight: 700;
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        color: #475569;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.15s ease;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

    .filter-pill:hover {
        border-color: #075e54;
        color: #075e54;
        background: #f0fdf4;
    }

    .filter-pill.active {
        background: #075e54 !important;
        color: #ffffff !important;
        border-color: #075e54 !important;
        box-shadow: 0 2px 6px rgba(7, 94, 84, 0.25);
    }

    /* Badges */
    .month-nav-btn .badge-count,
    .filter-pill .badge-count {
        background: #f1f5f9;
        color: #475569;
        padding: 2px 7px;
        border-radius: 9999px;
        font-size: 0.725rem;
        font-weight: 800;
        margin-left: 5px;
        display: inline-block;
        line-height: 1.2;
        transition: all 0.2s ease;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .filter-pill:hover .badge-count,
    .month-nav-btn:hover .badge-count {
        background: #e2e8f0;
        color: #075e54;
    }

    .month-nav-btn.active .badge-count,
    .filter-pill.active .badge-count {
        background: rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.35) !important;
    }

    .filter-pill.is-zero,
    .month-nav-btn.is-zero {
        opacity: 0.45;
    }

    .filter-pill.is-zero:hover,
    .month-nav-btn.is-zero:hover {
        opacity: 0.85;
    }

    .filter-pill.is-zero .badge-count,
    .month-nav-btn.is-zero .badge-count {
        background: #f1f5f9;
        color: #94a3b8;
    }

    /* Modern Searchable Dropdowns & Filter Controls */
    .filter-dropdowns-row {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        width: 100%;
    }

    .custom-dropdown-container {
        position: relative;
        flex: 1 1 200px;
        min-width: 190px;
        max-width: 100%;
        user-select: none;
    }

    .dropdown-trigger-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 8px 12px;
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        border-radius: 10px;
        font-size: 0.84rem;
        font-weight: 600;
        color: #334155;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 1px 2px rgba(0,0,0,0.03);
        box-sizing: border-box;
    }

    .dropdown-trigger-btn:hover {
        border-color: #075e54;
        background: #f8fafc;
        color: #0f172a;
        box-shadow: 0 2px 6px rgba(7, 94, 84, 0.12);
    }

    .custom-dropdown-container.open .dropdown-trigger-btn {
        border-color: #075e54;
        box-shadow: 0 0 0 3px rgba(7, 94, 84, 0.16);
        background: #ffffff;
    }

    .dropdown-trigger-btn.has-selected {
        border-color: #075e54;
        background: #f0fdf4;
        color: #075e54;
    }

    .dropdown-trigger-left {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }

    .dropdown-trigger-icon {
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .dropdown-trigger-title {
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        color: #64748b;
        letter-spacing: 0.03em;
        margin-right: 4px;
        flex-shrink: 0;
    }

    .dropdown-trigger-btn.has-selected .dropdown-trigger-title {
        color: #075e54;
    }

    .dropdown-trigger-preview {
        font-weight: 600;
        font-size: 0.82rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #1e293b;
    }

    .dropdown-trigger-btn.has-selected .dropdown-trigger-preview {
        color: #075e54;
        font-weight: 700;
    }

    .dropdown-trigger-right {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        margin-left: 6px;
    }

    .dropdown-selected-badge {
        background: #075e54;
        color: #ffffff;
        font-size: 0.72rem;
        padding: 1px 7px;
        border-radius: 9999px;
        font-weight: 800;
        line-height: 1.3;
    }

    .dropdown-caret {
        font-size: 0.68rem;
        color: #94a3b8;
        transition: transform 0.2s ease;
    }

    .custom-dropdown-container.open .dropdown-caret {
        transform: rotate(180deg);
        color: #075e54;
    }

    /* Floating Dropdown Popup */
    .dropdown-menu-box {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        min-width: 290px;
        max-width: 380px;
        width: 100%;
        background: #ffffff;
        border-radius: 12px;
        border: 1.5px solid #e2e8f0;
        box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.18), 0 6px 12px -2px rgba(15, 23, 42, 0.08);
        z-index: 1050;
        padding: 10px;
        box-sizing: border-box;
        animation: dropdownPopup 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes dropdownPopup {
        from { opacity: 0; transform: translateY(-4px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

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

    .dropdown-search-box {
        position: relative;
        margin-bottom: 8px;
    }

    .dropdown-search-input {
        width: 100%;
        padding: 8px 30px 8px 30px;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        font-size: 0.84rem;
        color: #1e293b;
        background: #f8fafc;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.15s ease;
    }

    .dropdown-search-input:focus {
        border-color: #075e54;
        background: #ffffff;
        box-shadow: 0 0 0 2px rgba(7, 94, 84, 0.15);
    }

    .dropdown-search-icon {
        position: absolute;
        left: 9px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.8rem;
        color: #94a3b8;
        pointer-events: none;
    }

    .dropdown-search-clear {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: #e2e8f0;
        border: none;
        color: #64748b;
        font-size: 0.72rem;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .dropdown-search-clear:hover {
        background: #cbd5e1;
        color: #0f172a;
    }

    .dropdown-quick-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 2px 8px 2px;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 6px;
    }

    .dropdown-action-link {
        background: none;
        border: none;
        color: #075e54;
        font-weight: 700;
        font-size: 0.76rem;
        cursor: pointer;
        padding: 3px 6px;
        border-radius: 4px;
        transition: background 0.15s ease;
    }

    .dropdown-action-link:hover {
        background: #e6f4ea;
    }

    .dropdown-action-link.clear-btn {
        color: #dc2626;
    }

    .dropdown-action-link.clear-btn:hover {
        background: #fee2e2;
    }

    .dropdown-items-count-label {
        color: #94a3b8;
        font-size: 0.72rem;
        font-weight: 600;
    }

    .dropdown-options-scroll {
        max-height: 250px;
        overflow-y: auto;
        padding-right: 2px;
    }

    .dropdown-options-scroll::-webkit-scrollbar {
        width: 5px;
    }

    .dropdown-options-scroll::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .dropdown-item-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 8px;
        border-radius: 7px;
        cursor: pointer;
        transition: all 0.12s ease;
        font-size: 0.83rem;
        color: #334155;
        margin-bottom: 2px;
        user-select: none;
    }

    .dropdown-item-label:hover {
        background: #f1f5f9;
        color: #0f172a;
    }

    .dropdown-item-label.is-checked {
        background: #f0fdf4;
        color: #075e54;
        font-weight: 600;
    }

    .dropdown-item-left {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }

    .dropdown-item-checkbox {
        width: 15px;
        height: 15px;
        border-radius: 3px;
        accent-color: #075e54;
        cursor: pointer;
        flex-shrink: 0;
    }

    .dropdown-item-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dropdown-item-sub {
        font-size: 0.72rem;
        color: #64748b;
        margin-left: 4px;
        opacity: 0.85;
    }

    .dropdown-item-count {
        font-size: 0.72rem;
        font-weight: 800;
        color: #64748b;
        background: #f1f5f9;
        padding: 1px 6px;
        border-radius: 9999px;
        margin-left: 6px;
        flex-shrink: 0;
    }

    .dropdown-item-label.is-checked .dropdown-item-count {
        background: #dcfce7;
        color: #15803d;
    }

    .dropdown-no-results {
        padding: 14px;
        text-align: center;
        color: #94a3b8;
        font-size: 0.82rem;
    }

    .btn-apply-filters {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: #ffffff;
        border: none;
        border-radius: 10px;
        padding: 8px 18px;
        font-size: 0.84rem;
        font-weight: 800;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
        transition: all 0.2s ease;
        white-space: nowrap;
        height: 38px;
        box-sizing: border-box;
    }
    .btn-apply-filters:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
    }
    .btn-reset-filters {
        color: #dc2626;
        background: #fef2f2;
        border: 1.5px solid #fecaca;
        border-radius: 10px;
        padding: 7px 14px;
        font-size: 0.82rem;
        font-weight: 800;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: all 0.15s ease;
        white-space: nowrap;
        height: 38px;
        box-sizing: border-box;
    }
    .btn-reset-filters:hover {
        background: #fee2e2;
        border-color: #f87171;
    }
    .apply-badge {
        background: rgba(255, 255, 255, 0.3);
        color: #ffffff;
        padding: 1px 7px;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 900;
    }

    /* Month Cards Grid */
    .months-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
        gap: 1.75rem;
        align-items: start;
    }

    @media (min-width: 1200px) {
        .months-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
    }

    @media (max-width: 768px) {
        .months-grid {
            grid-template-columns: 1fr;
        }
        .calendar-hero {
            padding: 1.5rem 1.25rem;
        }
        .calendar-toolbar {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }
        .calendar-pagination-bar {
            flex-direction: column;
            text-align: center;
            gap: 10px;
        }
        .pagination-nav-btn {
            width: 100%;
            justify-content: center;
        }
    }

    /* Month Card */
    .month-card {
        background: var(--bg-surface);
        border: 1.5px solid var(--border-color);
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        display: flex;
        flex-direction: column;
    }

    .month-card:hover {
        border-color: var(--brand-primary);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

    .month-card.current-month {
        border-color: #2563eb;
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    }

    /* Month Card Header */
    .month-card-header {
        padding: 1.25rem 1.5rem;
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        color: #ffffff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .month-card.current-month .month-card-header {
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    }

    .month-title-group {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .month-name {
        font-size: 1.35rem;
        font-weight: 900;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .month-subtitle {
        font-size: 0.8rem;
        color: #94a3b8;
        font-weight: 600;
    }

    .month-card.current-month .month-subtitle {
        color: #bfdbfe;
    }

    /* Mini Calendar Grid */
    .mini-calendar-wrapper {
        padding: 1rem 1.25rem;
        background: #f8fafc;
        border-bottom: 1px solid var(--border-subtle);
    }

    .calendar-weekdays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        text-align: center;
        font-size: 0.75rem;
        font-weight: 800;
        color: #64748b;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .calendar-days-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 3px;
    }

    .cal-day-cell {
        aspect-ratio: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        font-size: 0.775rem;
        font-weight: 600;
        color: #334155;
        background: #ffffff;
        border: 1px solid transparent;
        position: relative;
        transition: all 0.15s ease;
    }

    .cal-day-cell.empty {
        background: transparent;
        border: none;
    }

    .cal-day-cell.today {
        border-color: #2563eb;
        background: #eff6ff;
        color: #1e40af;
        font-weight: 900;
        box-shadow: 0 0 0 1.5px #2563eb;
    }

    .cal-day-cell.has-event {
        background: #fef3c7;
        color: #92400e;
        font-weight: 900;
        border-color: #fde68a;
        cursor: pointer;
    }

    .cal-day-cell.has-event:hover {
        background: #fde047;
        transform: scale(1.1);
        z-index: 2;
    }

    .cal-day-cell.has-event .event-dot {
        width: 5px;
        height: 5px;
        background: #d97706;
        border-radius: 50%;
        position: absolute;
        bottom: 2px;
    }

    /* Events List Container inside Card */
    .month-events-container {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        flex: 1;
    }

    .event-card {
        background: #ffffff;
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 1rem;
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        transition: all 0.2s ease;
        box-shadow: var(--shadow-sm);
    }

    .event-card:hover {
        border-color: var(--brand-primary);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
        transform: translateY(-2px);
    }

    .event-date-box {
        min-width: 60px;
        text-align: center;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 6px 4px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .event-date-day {
        font-size: 1.35rem;
        font-weight: 900;
        color: #0f172a;
        line-height: 1;
    }

    .event-date-month {
        font-size: 0.725rem;
        font-weight: 800;
        color: #64748b;
        text-transform: uppercase;
        margin-top: 2px;
    }

    .event-date-dow {
        font-size: 0.675rem;
        font-weight: 700;
        color: #94a3b8;
    }

    .event-main-content {
        flex: 1;
        min-width: 0;
    }

    .event-meta-bar {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        margin-bottom: 6px;
    }

    .event-type-badge {
        font-size: 0.75rem;
        font-weight: 800;
        padding: 2px 8px;
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .event-org-tag {
        font-size: 0.75rem;
        font-weight: 700;
        color: #475569;
        background: #f1f5f9;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .event-title {
        font-size: 0.975rem;
        font-weight: 800;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .event-title a {
        color: #0f172a;
        text-decoration: none;
        transition: color 0.15s;
    }

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

    .event-actions-bar {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 8px;
    }

    .event-btn {
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 0.775rem;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: all 0.15s;
    }

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

    .event-btn-primary:hover {
        background: var(--brand-primary-hover);
    }

    .event-btn-admit {
        background: #ea580c;
        color: #ffffff;
    }

    .event-btn-admit:hover {
        background: #c2410c;
    }

    .event-btn-secondary {
        background: #f1f5f9;
        color: #334155;
        border: 1px solid #cbd5e1;
    }

    .event-btn-secondary:hover {
        background: #e2e8f0;
    }

    .empty-month-state {
        padding: 2rem 1rem;
        text-align: center;
        color: #64748b;
        background: #f8fafc;
        border-radius: 8px;
        border: 1px dashed #cbd5e1;
        font-size: 0.875rem;
    }

    @keyframes pulseGlow {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(0.96); }
    }

    /* WhatsApp Share Bar */
    .calendar-share-bar {
        padding: 0.75rem 1.25rem;
        background: #f8fafc;
        border-bottom: 1.5px solid var(--border-subtle);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .whatsapp-share-btn {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        color: #ffffff;
        border: none;
        border-radius: var(--radius-md);
        padding: 8px 16px;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
        width: 100%;
        justify-content: center;
        text-decoration: none;
    }

    .whatsapp-share-btn:hover {
        transform: translateY(-1.5px);
        box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
        background: linear-gradient(135deg, #2ae06e 0%, #149c8c 100%);
    }

    .whatsapp-share-btn:active {
        transform: translateY(0);
    }

    .whatsapp-icon {
        flex-shrink: 0;
        fill: currentColor;
    }

    /* Share Modal Styles */
    .share-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .share-modal-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .share-modal-container {
        background: var(--bg-surface);
        border-radius: var(--radius-lg);
        width: 90%;
        max-width: 550px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
        transform: scale(0.9);
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .share-modal-overlay.active .share-modal-container {
        transform: scale(1);
    }

    .share-modal-header {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        color: #ffffff;
        padding: 1.25rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .share-modal-title {
        font-size: 1.15rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .share-modal-close {
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.5rem;
        cursor: pointer;
        transition: color 0.15s;
        line-height: 1;
        padding: 4px;
    }

    .share-modal-close:hover {
        color: #ffffff;
    }

    .share-modal-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .share-modal-description {
        font-size: 0.85rem;
        color: var(--color-text-muted);
        line-height: 1.4;
    }

    .share-text-area {
        width: 100%;
        height: 220px;
        padding: 0.75rem;
        border: 1.5px solid var(--border-color);
        border-radius: var(--radius-md);
        font-family: inherit;
        font-size: 0.875rem;
        line-height: 1.5;
        color: var(--color-text-main);
        background: #f8fafc;
        resize: vertical;
        outline: none;
        transition: border-color 0.15s;
    }

    .share-text-area:focus {
        border-color: var(--brand-primary);
        background: #ffffff;
    }

    .share-modal-footer {
        padding: 0 1.5rem 1.5rem 1.5rem;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .modal-btn {
        padding: 10px 18px;
        border-radius: var(--radius-md);
        font-size: 0.875rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.15s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: none;
    }

    .modal-btn-copy {
        background: #eff6ff;
        color: #1e40af;
        border: 1.5px solid #bfdbfe;
    }

    .modal-btn-copy:hover {
        background: #dbeafe;
        border-color: #93c5fd;
    }

    .modal-btn-whatsapp {
        background: #25D366;
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    }

    .modal-btn-whatsapp:hover {
        background: #128C7E;
        box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
    }

    /* Toast Notification */
    .share-toast {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        background: #0f172a;
        color: #ffffff;
        padding: 10px 20px;
        border-radius: var(--radius-full);
        font-size: 0.85rem;
        font-weight: 700;
        box-shadow: var(--shadow-lg);
        z-index: 10000;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        display: flex;
        align-items: center;
        gap: 8px;
        pointer-events: none;
    }

    .share-toast.active {
        transform: translateX(-50%) translateY(0);
    }
