/* ==========================================================================
   Naukriya Design System & Theme Styles
   Color Palette: Primary Blue (#0b63f6), Navy Blue (#041438), Light BG (#f4f7fe)
   ========================================================================== */

:root {
    --navy: #041438;
    --navy-light: #082156;
    --blue: #0b63f6;
    --blue-hover: #0047c4;
    --bg-light: #f4f7fe;
    --border: #cbd5e1;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --red: #ef4444;
    --green: #10b981;
    --purple: #8b5cf6;
    --orange: #f97316;
    --teal: #14b8a6;
    --dark: #334155;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* Top Announcement Bar & Social Links (Web Only, Hidden in Mobile) */
.top-bar {
    background: #020b1e;
    color: #94a3b8;
    padding: 7px 16px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar a.wa-link {
    color: #25D366;
    font-weight: 700;
    text-decoration: none;
}

.top-bar a.wa-link:hover { text-decoration: underline; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-us-label {
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 700;
}

.social-links-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
}

.social-icon-link {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    text-decoration: none;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon-link:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-1px);
    border-color: var(--blue);
}

/* Header & Navigation (Unified Modern Desktop & Drawer for Mobile) */
header {
    background: var(--navy);
    padding: 10px 16px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    max-height: 38px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.brand-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.brand-name span { color: #60a5fa; }

/* Desktop Navigation integrated inside Header */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.header-nav::-webkit-scrollbar { display: none; }

.header-nav a {
    flex: 0 0 auto;
    color: #cbd5e1;
    text-decoration: none;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.header-nav a:hover, .header-nav a.active {
    background: var(--blue);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 22px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    min-height: 40px;
    min-width: 40px;
}

.mobile-menu-btn:hover { background: var(--blue); }

.mobile-nav-drawer {
    display: none;
    background: var(--navy-light);
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
    border-bottom: 2px solid var(--blue);
}

.mobile-nav-drawer a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}

.mobile-nav-drawer a:hover, .mobile-nav-drawer a.active {
    background: var(--blue);
    color: white;
}

/* Fallback for standard nav if needed */
nav {
    background: var(--navy-light);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 12px;
}

.nav-container::-webkit-scrollbar { display: none; }

nav a {
    flex: 0 0 auto;
    color: #cbd5e1;
    text-decoration: none;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

nav a:hover, nav a.active {
    background: var(--blue);
    color: white;
}

/* Hero Section (Dynamic Background & Animated Rotating Headings) */
.hero {
    background: linear-gradient(135deg, #041438 0%, #082156 50%, #0b63f6 100%);
    color: white;
    text-align: center;
    padding: 34px 16px 26px;
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: clamp(20px, 4.2vw, 32px);
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    line-height: 1.35;
    min-height: 2.6em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-static-title {
    color: #ffffff;
    display: inline-block;
}

.hero-rotator-wrapper {
    display: inline-block;
    position: relative;
    min-height: 1.3em;
    margin-top: 2px;
}

.hero-rotating-text {
    display: inline-block;
    color: #60a5fa;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: transform, opacity;
}

.hero-rotating-text.fade-out {
    opacity: 0;
    transform: translateY(-12px);
}

.hero-rotating-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero p { font-size: 14px; color: #e2e8f0; margin-top: 4px; }
.hero p.sub-text { font-size: 12.5px; color: #94a3b8; margin-top: 4px; }

.search {
    max-width: 800px;
    margin: 20px auto 10px;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    flex-wrap: wrap;
}

.search input { flex: 2 1 180px; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; font-size: 14px; min-width: 0; min-height: 44px; }
.search select { flex: 1 1 130px; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; font-size: 13px; background: white; font-weight: 600; cursor: pointer; min-width: 0; min-height: 44px; }
.search button { flex: 1 1 120px; background: #10b981; color: white; border: none; padding: 11px 18px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 14px; transition: background 0.2s; min-height: 44px; }
.search button:hover { background: #059669; }

/* News Ticker & Quick Category Bar */
.news-ticker {
    background: white;
    border-bottom: 2px solid var(--blue);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-title {
    background: var(--red);
    color: white;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    z-index: 2;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

marquee {
    font-size: 13px;
    padding-top: 4px;
}

marquee a {
    color: var(--navy);
    text-decoration: none;
}

marquee a:hover {
    color: var(--blue);
    text-decoration: underline;
}

/* Category Quick Links Bar (Right under News Ticker) */
.quick-category-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.quick-category-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    gap: 8px 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 0;
}

.quick-cat-btn {
    background: #f8fafc;
    color: #334155;
    padding: 7px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

.quick-cat-btn:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(11,99,246,0.25);
}

/* State Filter */
.state-filter-section { background: white; border-bottom: 1px solid #e2e8f0; padding: 10px 16px; }
.state-filter-container { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.state-filter-label { font-size: 12.5px; font-weight: 800; color: var(--navy); white-space: nowrap; }

.state-pills-wrapper { display: flex; gap: 6px; overflow-x: auto; white-space: nowrap; padding-bottom: 2px; scrollbar-width: none; }
.state-pills-wrapper::-webkit-scrollbar { display: none; }

.state-pill { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; padding: 5px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.state-pill:hover, .state-pill.active { background: var(--blue); color: white; border-color: var(--blue); }

/* Main Containers & 2-Cards-per-row Desktop Grid */
.container {
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}

.post-main-column, .post-detail-card, .category-card, .legal-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* PC: Exactly 2 cards per row with increased width */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.card-header {
    color: white;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cat-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-header-left a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
}

.cat-header-left a:hover {
    text-decoration: underline;
}

.cat-month-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.cat-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bg-blue { background: linear-gradient(135deg, #0b63f6, #0442ab); }
.bg-green { background: linear-gradient(135deg, #10b981, #047857); }
.bg-red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.bg-dark { background: linear-gradient(135deg, #334155, #1e293b); }
.bg-orange { background: linear-gradient(135deg, #f97316, #c2410c); }
.bg-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }

.state-select-dropdown {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 11px;
    outline: none;
    cursor: pointer;
    font-weight: 600;
}
.state-select-dropdown option { background: white; color: var(--text-dark); }

.post-list {
    list-style: none;
    padding: 12px 16px;
    max-height: 420px;
    overflow-y: auto;
    margin: 0;
}

.post-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.post-list li:last-child { border-bottom: none; }

.post-item-content {
    flex: 1 1 auto;
    min-width: 0;
}

.post-item-link {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.45;
    display: inline;
}

.post-item-link:hover {
    color: var(--navy);
    text-decoration: underline;
}

.post-item-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.post-month-tag {
    font-size: 10.5px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid #bae6fd;
    white-space: nowrap;
}

.no-post-item { color: #94a3b8; font-size: 12px; text-align: center; padding: 15px 0 !important; }

.badge-new-glow {
    background: #ef4444;
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 4px;
    display: inline-block;
    animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.state-tag { color: #64748b; font-size: 11px; font-weight: 600; }

/* Responsive Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    position: relative;
}

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

.table-job th { background: var(--navy); color: white; padding: 10px 12px; text-align: left; }
.table-job td { padding: 10px 12px; border: 1px solid #cbd5e1; background: #ffffff; }
.table-job tr:nth-child(even) td { background: #f8fafc; }

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12.5px;
}

.breadcrumb-list {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    gap: 6px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: #64748b;
}

.breadcrumb-item a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin-right: 6px;
    color: #94a3b8;
    font-weight: bold;
}
.breadcrumb-item.active {
    color: #334155;
    font-weight: 600;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Post Published & Updated Timestamps */
.post-dates-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 18px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--blue);
    font-size: 12.5px;
}

.date-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.date-pill-pub { color: #475569; }
.date-pill-upd { color: #166534; background: #dcfce7; padding: 2px 8px; border-radius: 4px; }

/* Related Posts Section */
.related-posts-section {
    margin-top: 35px;
    background: white;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.related-posts-section h3 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.related-post-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    transition: all 0.2s;
}

.related-post-card:hover {
    border-color: var(--blue);
    background: #eff6ff;
    transform: translateY(-2px);
}

.related-post-card a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.4;
    display: block;
}

/* AdSense Slots Hidden (Hidden by default until real AdSense script delivers) */
.ad-slot-container {
    display: none !important;
}

.ad-slot-container.ad-active {
    display: flex !important;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin: 18px auto;
    position: relative;
    min-height: 90px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-banner-top { max-width: 728px; }
.ad-sidebar { min-height: 250px; }

/* Pagination Controls */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.page-btn {
    background: white;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 38px;
    min-width: 38px;
}

.page-btn:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.page-btn.active {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

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

/* Skeleton Shimmer Loading Screens */
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.skeleton {
    background: #f1f5f9;
    background-image: linear-gradient(to right, #f1f5f9 0%, #e2e8f0 20%, #f1f5f9 40%, #f1f5f9 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    animation: shimmer 1.2s linear infinite;
    border-radius: 6px;
}

.skeleton-text { height: 14px; margin-bottom: 8px; width: 100%; }
.skeleton-title { height: 26px; width: 75%; margin-bottom: 14px; }
.skeleton-box { height: 140px; width: 100%; margin-bottom: 16px; }
.skeleton-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Auto-Closing Dynamic Popup Modal */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(4, 20, 56, 0.75); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 99999; padding: 16px; }
.popup-box { background: white; padding: 26px 20px; border-radius: 16px; max-width: 420px; width: 100%; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.3); text-align: center; border: 2px solid var(--blue); }
.popup-close { position: absolute; top: 8px; right: 12px; font-size: 22px; font-weight: 800; cursor: pointer; color: #64748b; }
.popup-timer-bar { height: 3px; background: var(--blue); position: absolute; bottom: 0; left: 0; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; transition: width linear; }

/* Official Government-Grade Footer */
footer {
    background: #020b1e;
    color: #cbd5e1;
    padding: 42px 16px 20px;
    margin-top: 45px;
    border-top: 3px solid var(--blue);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 28px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo {
    max-height: 36px;
    width: auto;
    border-radius: 6px;
}

.footer-title {
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #ffffff;
}

.footer-title span { color: #60a5fa; }

.footer-about-text {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    width: fit-content;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 6px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

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

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list a:hover {
    color: #60a5fa;
    transform: translateX(3px);
}

.footer-admin-link {
    color: #f59e0b !important;
    font-weight: 700 !important;
}

.footer-admin-link:hover {
    color: #fbbf24 !important;
}

.footer-disclaimer-box {
    max-width: 1240px;
    margin: 18px auto 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.6;
    text-align: center;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Header Fixed/Sticky on Mobile */
    header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* 1. Hide Top-Bar on Mobile */
    .top-bar {
        display: none !important;
    }

    /* 2. Hide Desktop Navigation inside Header */
    .header-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Quick Category Multi-line Wrap on Mobile */
    .quick-category-bar {
        padding: 10px 12px;
    }

    .quick-category-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 8px;
    }

    .quick-cat-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 21px;
        min-height: auto;
    }

    .search input, .search select, .search button {
        flex: 1 1 100%;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .post-page-grid {
        grid-template-columns: 1fr !important;
    }

    .post-detail-card, .category-card, .legal-card {
        padding: 16px !important;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-bottom {
        text-align: center;
    }
}
