/* ============================================
   FullTimeJob.com – Modern Clone
   Premium LIGHT MODE Design System
   ============================================ */

/* === CSS Variables / Design Tokens === */
:root {
    /* Primary Palette */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --primary-glow: rgba(79, 70, 229, 0.2);
    --primary-bg: rgba(99, 102, 241, 0.06);

    /* Accent */
    --accent: #e11d48;
    --accent-light: #f43f5e;
    --accent-glow: rgba(225, 29, 72, 0.15);

    /* Success / WhatsApp */
    --success: #16a34a;
    --success-dark: #15803d;
    --success-light: rgba(22, 163, 74, 0.08);

    /* Warning / Orange */
    --warning: #ea580c;
    --warning-bg: rgba(234, 88, 12, 0.08);

    /* Backgrounds */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    --bg-subtle: #f1f5f9;
    --bg-hero: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 30%, #fdf2f8 60%, #eff6ff 100%);

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    /* Borders */
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-active: var(--primary);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5, #7c3aed, #db2777);
    --gradient-soft: linear-gradient(135deg, #eef2ff, #faf5ff, #fdf2f8);
    --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.04), rgba(168, 85, 247, 0.02));

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 4px 30px rgba(79, 70, 229, 0.12);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 8px 30px rgba(79, 70, 229, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);

    /* Layout */
    --container-max: 1280px;
    --header-height: 70px;
    --nav-height: 50px;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-full: 0;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-subtle);
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    max-width: 100%;
    width: 100%;
    position: relative;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-subtle);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Background Particles === */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 0;
    background: var(--primary);
    opacity: 0.04;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.04;
    }

    90% {
        opacity: 0.04;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* === Announcement Bar === */
.announcement-bar {
    background: var(--gradient-primary);
    padding: 6px 0;
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.announcement-inner {
    overflow: hidden;
    position: relative;
}

.announcement-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}
/* Two identical groups butt together; -50% shifts exactly one group => seamless. */
.announcement-marquee .ann-group {
    display: flex;
    gap: 60px;
    padding-right: 60px;
    flex-shrink: 0;
}
.announcement-marquee:hover {
    animation-play-state: paused;
}

.announcement-marquee span {
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.announcement-marquee span::after {
    content: '•';
    margin-left: 52px;
    opacity: 0.5;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === Header === */
.header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text-main {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: -2px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 6px 25px var(--primary-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-primary .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar .search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.search-bar input {
    width: 100%;
    padding: 12px 110px 12px 44px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-btn {
    position: absolute;
    right: 4px;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 0;
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Search inside the mobile hamburger menu — hidden on desktop */
.mobile-nav-search {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(15deg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 0;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Navigation === */
.nav {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--header-height);
    z-index: 999;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: var(--nav-height);
    white-space: nowrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link i {
    font-size: 0.8rem;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.nav-link.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow);
}

/* === Hero Section === */
.hero {
    position: relative;
    padding: 80px 0 60px;
    background: var(--bg-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 0;
    background: radial-gradient(circle, rgba(219, 39, 119, 0.06), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-whatsapp {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.25);
}

.btn-whatsapp:hover {
    background: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 26px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Categories Section === */
.categories-section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-xs);
}

.category-chip:hover {
    border-color: var(--primary);
    background: var(--gradient-soft);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.chip-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-chip:hover .chip-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.category-chip span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.category-chip:hover span {
    color: var(--text-primary);
}

/* === Main Content Grid === */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
}

/* Content area - ensure it doesn't overflow */
.content-area,
.content-column {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.title-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 4px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-subtle);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.filter-tab {
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    color: var(--text-primary);
    background: white;
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px var(--primary-glow);
}

/* === Job Cards === */
.job-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    animation: fadeInUp 0.4s ease both;
    box-shadow: var(--shadow-card);
}

.job-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.job-card.featured {
    border-left: 3px solid var(--primary);
}


.job-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.featured-badge {
    background: rgba(225, 29, 72, 0.08);
    color: var(--accent);
    border: 1px solid rgba(225, 29, 72, 0.15);
}

.result-badge {
    background: rgba(22, 163, 74, 0.08);
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.15);
}

/* Job Body - Image + Text Layout (like original site) */
.job-body {
    overflow: hidden;
    margin-bottom: 4px;
}

.job-thumb-img {
    float: left;
    width: 240px;
    height: 165px;
    margin: 4px 22px 12px 0;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid var(--border);
}



/* Gradient Icon Thumbnails (for cards without real images) */
.job-thumb-icon {
    float: left;
    width: 240px;
    height: 165px;
    margin: 4px 22px 12px 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
    text-align: center;
}



.job-thumb-icon i {
    font-size: 2rem;
    opacity: 0.9;
}

.job-thumb-icon span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.railway-grad {
    background: linear-gradient(135deg, #ea580c, #dc2626);
}

.army-grad {
    background: linear-gradient(135deg, #4d7c0f, #166534);
}

.banking-grad {
    background: linear-gradient(135deg, #0369a1, #1e40af);
}

.bsnl-grad {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.result-grad {
    background: linear-gradient(135deg, #059669, #0d9488);
}

.rbi-grad {
    background: linear-gradient(135deg, #1e3a5f, #0e7490);
}

.sbi-grad {
    background: linear-gradient(135deg, #3730a3, #4f46e5);
}

.private-grad {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

.admission-grad {
    background: linear-gradient(135deg, #0891b2, #0284c7);
}

/* Read More Link (original site style) */
.read-more-link {
    display: inline-block;
    color: #990000;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 14px;
}

.read-more-link:hover {
    color: #cc0000;
    text-decoration: underline;
}

.job-content {
    padding: 24px;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.job-tag {
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-govt {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}

.tag-private {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
}

.tag-banking {
    background: rgba(22, 163, 74, 0.08);
    color: var(--success);
}

.tag-railway {
    background: rgba(234, 88, 12, 0.08);
    color: var(--warning);
}

.tag-defence {
    background: rgba(14, 116, 144, 0.08);
    color: #0e7490;
}

.tag-upsc {
    background: rgba(225, 29, 72, 0.08);
    color: var(--accent);
}

.tag-result {
    background: rgba(22, 163, 74, 0.08);
    color: var(--success);
}

.job-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.job-title a {
    color: #990000;
    text-decoration: none;
}

.job-title a:hover {
    color: #cc0000;
    text-decoration: underline;
}

.job-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
    text-align: justify;
    text-justify: inter-word;
    display: block;
    overflow: hidden;
}

.job-footer {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 10px 24px;
    margin: 0 -24px -24px -24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.job-info {
    display: flex;
    gap: 6px;
    align-items: center;
}

.job-info span {
    font-size: 0.82rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-info span i {
    color: #999;
    font-size: 0.75rem;
}

.job-info .separator {
    color: #ccc;
    margin: 0 4px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.read-more-btn i {
    font-size: 0.75rem;
    transition: var(--transition);
}

/* Load More */
.load-more-wrapper {
    text-align: center;
    padding: 24px 0;
}

/* === Pagination === */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    margin-top: 20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.page-link:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.page-link i {
    font-size: 0.75rem;
}

/* === Sidebar === */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Widget */
.widget {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.glass-card {
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.widget-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-subtle);
    color: var(--text-primary);
}

.widget-title i {
    color: var(--primary);
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.25);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #333, #1d1d1d);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006daa);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.25);
}

.social-btn.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.social-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* WhatsApp CTA */
.whatsapp-cta {
    background: linear-gradient(135deg, #075e54, #128c7e, #25d366);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(7, 94, 84, 0.2);
}

.whatsapp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15), transparent 60%);
    pointer-events: none;
}

.whatsapp-icon-bg {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: white;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-cta h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    position: relative;
}

.whatsapp-cta p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    position: relative;
}

.btn-whatsapp-full {
    width: 100%;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.btn-whatsapp-full:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Trending List */
.trending-list li {
    margin-bottom: 2px;
}

.trending-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.trending-list li a:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.trending-list li a i {
    font-size: 0.65rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

/* Trending Jobs */
.trending-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trending-job-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.trending-job-item:hover {
    background: var(--primary-bg);
    border-color: var(--border);
}

.tj-rank {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    min-width: 30px;
}

.tj-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.tj-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tj-posts {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.trending-job-item:hover .tj-title {
    color: var(--primary);
}

.trending-job-item:hover .tj-rank {
    opacity: 1;
}

/* === Footer === */
.footer {
    background: var(--text-primary);
    border-top: none;
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
    color: var(--bg-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text-main {
    color: white;
}

.footer-brand .logo-highlight {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .logo-text-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-copy-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-copy-link:hover {
    text-decoration: underline;
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* In-view animation trigger */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* === Category Page === */
.category-header {
    background: white;
    border: 1px solid var(--border);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #990000;
    margin: 0 0 6px;
}

.category-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Category SEO content blocks */
.cat-seo-intro {
    background: white;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
}
.cat-seo-intro p { margin: 0 0 10px; }
.cat-seo-intro p:last-child { margin-bottom: 0; }

.cat-seo-about {
    grid-column: 1 / -1;   /* full width across content + sidebar columns */
    background: white;
    border: 1px solid var(--border);
    padding: 22px 24px;
    margin-top: 28px;
    line-height: 1.75;
    color: var(--text-secondary);
}
.cat-seo-about h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}
.cat-seo-about h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 22px 0 12px;
}
.cat-seo-about p { margin: 0 0 12px; font-size: 0.92rem; }
.cat-faq p {
    background: var(--bg-subtle);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

[data-theme="dark"] .cat-seo-intro,
[data-theme="dark"] .cat-seo-about {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-secondary);
}
[data-theme="dark"] .cat-faq p { background: var(--bg-subtle); }


/* === Post Detail Page === */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding: 12px 0 16px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb a {
    color: #990000;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-secondary);
}

.post-detail {
    background: white;
    border: 1px solid var(--border);
    padding: 0;
    margin-top: 20px;
    max-width: 100%;
    overflow-x: hidden;
}

.post-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    color: #990000;
    padding: 24px 24px 20px;
    margin: 0 0 16px 0;
}

.post-meta-bar {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 24px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.post-meta-bar .separator {
    color: #ccc;
    margin: 0 4px;
}

.post-meta-bar i {
    color: #999;
}

.post-body {
    padding: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-image {
    float: left;
    width: 250px;
    height: auto;
    margin: 4px 24px 16px 0;
    border: 1px solid var(--border);
    object-fit: cover;
}

.post-body p {
    margin-bottom: 16px;
    text-align: justify;
}

.post-body a {
    color: #990000;
    text-decoration: none;
}

.post-body a:hover {
    text-decoration: underline;
}

.post-body ul {
    margin: 12px 0 16px 20px;
}

.post-body ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.info-box {
    background: white;
    border: 1px solid #e0e0e0;
    margin: 10px 0 28px 0;
    clear: both;
    max-width: 100%;
    overflow-x: auto;
}

.info-box:first-child {
    margin-top: 0;
}

.info-box h3 {
    background: #783CED;
    border-bottom: 1px solid #783CED;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-box p,
.info-box ul {
    padding: 0 16px;
}

.info-box>p:first-of-type {
    padding-top: 16px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}

.info-table td {
    padding: 10px 16px;
    border: 1px solid #d8e0f0;
    font-size: 0.9rem;
    vertical-align: middle;
    overflow-wrap: break-word;
}

.info-table tr:last-child td {
    border-bottom: 1px solid #d8e0f0;
}

.info-table td:first-child {
    width: 35%;
    background: #EAF0FB;
    color: #000000;
    white-space: normal;
    font-weight: 400;
    word-wrap: break-word;
}

.info-table td:first-child strong {
    font-weight: 400;
    color: #000000;
}

.info-table td:last-child {
    color: #555;
    text-align: right;
}

.info-table a {
    color: #990000;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    color: white !important;
    padding: 11px 16px;
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    text-align: center;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.35;
    box-sizing: border-box;
    box-shadow: 0 3px 8px rgba(153, 0, 0, 0.25);
    letter-spacing: 0.2px;
}

.link-btn i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.link-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.link-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(153, 0, 0, 0.3);
}

.link-btn-upcoming {
    cursor: default;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
}

.link-btn-upcoming:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    transform: none;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
}

.link-btn-soon {
    cursor: default;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.25);
}

.link-btn-soon:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    transform: none;
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.25);
}

.link-btn-date {
    cursor: default;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 3px 8px rgba(139, 92, 246, 0.25);
}

.link-btn-date:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    transform: none;
    box-shadow: 0 3px 8px rgba(139, 92, 246, 0.25);
}

.link-upcoming-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px dashed #f59e0b;
}

.link-upcoming-badge i {
    font-size: 0.75rem;
    animation: pulse-clock 2s ease-in-out infinite;
}

.link-available-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px dashed #3b82f6;
}

.link-available-soon-badge i {
    font-size: 0.75rem;
    animation: pulse-clock 2s ease-in-out infinite;
}

@keyframes pulse-clock {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Hide Trending sections on contact page */
body:has(.contact-header-card) #trendingWidget,
body:has(.contact-header-card) #trendingJobsWidget {
    display: none;
}

/* Contact Header Card */
.contact-header-card {
    margin-bottom: 24px;
}

.contact-header-card .breadcrumb {
    margin-bottom: 16px;
}

.contact-header-card .page-header {
    margin: 0;
}

.contact-header-card .page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-header-card .page-title i {
    color: var(--primary);
    font-size: 1.6rem;
}

.contact-header-card .page-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Contact Form Styling */
.contact-card {
    margin-bottom: 24px;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.section-heading i {
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: inherit;
    margin-top: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary);
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 0.9rem;
}

/* Contact Information Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    align-items: flex-start;
}

.info-item:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.info-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.info-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 2px;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    word-break: break-word;
}

.info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Social Section in Contact */
.social-section {
    padding-top: 24px;
    border-top: 2px solid var(--border);
}

.social-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-section h3 i {
    color: var(--primary);
}

.contact-social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.contact-social-links .social-btn {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-social-links .social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-social-links .social-btn i {
    font-size: 1rem;
}

/* Note Box */
.note-box {
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border: 2px solid var(--primary-light);
    padding: 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 24px;
}

.note-box>i {
    font-size: 1.5rem;
    color: var(--primary);
    padding: 20px 0 20px 20px;
}

.note-box>div {
    flex: 1;
    padding: 20px 20px 20px 0;
}

.note-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.note-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    /* Mobile: Reduce gaps and spacing */
    .categories-section {
        padding: 12px 0 10px;
    }

    .main-grid {
        padding: 12px 0 30px;
        gap: 12px;
    }

    .section-header {
        margin-bottom: 10px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .section-title {
        justify-content: center;
        width: 100%;
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .job-card {
        margin-bottom: 10px;
    }

    .contact-header-card .page-title {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-header-card .page-title i {
        font-size: 1.3rem;
    }

    .contact-header-card .page-description {
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-social-links {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    .submit-btn {
        width: 100%;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-item {
        padding: 14px;
        gap: 12px;
    }

    .info-icon-wrapper {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .info-content h3 {
        font-size: 0.95rem;
    }

    .info-content p {
        font-size: 0.85rem;
    }

    .info-content a {
        font-size: 0.85rem;
    }

    .note-box {
        flex-direction: column;
    }

    .note-box>i {
        padding: 16px 16px 0 16px;
    }

    .note-box>div {
        padding: 0 16px 16px 16px;
    }

    /* Mobile: Keep table rows on single line */
    .info-table {
        width: 100%;
        display: table;
        table-layout: fixed;
        margin: 0 auto;
    }

    .info-box {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }

    .info-table tr {
        display: table-row;
    }

    .info-table td:not([style*="text-align"]) {
        display: table-cell;
        padding: 10px 12px;
        font-size: 0.85rem;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left !important;
    }

    .info-table td {
        display: table-cell;
        padding: 10px 12px;
        font-size: 0.85rem;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .info-table td:first-child:not([style*="text-align"]) {
        width: 40%;
        white-space: normal;
        word-wrap: break-word;
        font-weight: 500;
        text-align: left !important;
    }

    .info-table td:last-child:not([style*="text-align"]) {
        text-align: left !important;
    }

    /* Mobile: Align link buttons to right in Important Links table */
    .links-table td:last-child {
        text-align: right !important;
    }

    .info-box {
        overflow-x: hidden;
        max-width: 100%;
    }

    .link-btn {
        padding: 10px 12px;
        font-size: 0.7rem;
        white-space: nowrap;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border-radius: 4px;
        line-height: 1.3;
        box-sizing: border-box;
    }
    
    .link-btn-upcoming,
    .link-btn-soon,
    .link-btn-date {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    /* Mobile: Limit job post description */
    .job-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 8em;
        line-height: 1.6;
        margin: 0;
        padding: 0;
        clear: none;
    }

    /* Mobile: Responsive post title */
    .post-title {
        font-size: 1.1rem;
        line-height: 1.3;
        padding: 16px 16px 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Mobile: Full width post detail */
    .post-detail {
        margin: 20px 0 0 0;
        border-radius: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .breadcrumb {
        padding: 10px 12px;
        margin: 0 0 20px 0;
        font-size: 0.7rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .breadcrumb a,
    .breadcrumb span {
        display: inline;
        white-space: nowrap;
    }
    
    .breadcrumb .current {
        display: inline;
        max-width: none;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }

    .post-meta-bar {
        padding: 8px 5px;
        font-size: 0.75rem;
    }

    .post-body {
        padding: 16px 5px;
        overflow-x: hidden;
    }

    /* Mobile: Content area overflow fix */
    .content-area,
    .content-column {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Mobile: Responsive category chips */
    .category-chip {
        padding: 14px 8px;
        gap: 6px;
    }

    .chip-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .category-chip span {
        font-size: 0.75rem;
    }

    /* Mobile: Responsive filter tabs */
    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* Mobile: Show only first word in category names */
    .job-info strong {
        display: inline-block;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
    }

    .post-meta-bar strong,
    .post-footer-bar strong {
        display: inline-block;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: bottom;
    }
}

/* ============================================
   IMPORTANT LINKS PAGE STYLES
   ============================================ */

.imp-links-card {
    margin-bottom: 24px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.link-item:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.link-item:hover::before {
    transform: scaleY(1);
}

.link-item:hover .link-arrow {
    transform: translateX(4px);
    opacity: 1;
}

.link-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

/* Icon Colors */
.govt-icon {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.ssc-icon {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.upsc-icon {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
}

.bank-icon, .sbi-icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.railway-icon {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.army-icon {
    background: linear-gradient(135deg, #4d7c0f, #65a30d);
}

.assam-icon {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.apsc-icon {
    background: linear-gradient(135deg, #db2777, #ec4899);
}

.police-icon {
    background: linear-gradient(135deg, #0e7490, #0891b2);
}

.education-icon {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.employment-icon {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.court-icon {
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

.rbi-icon {
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
}

.nabard-icon {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.lic-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.ugc-icon {
    background: linear-gradient(135deg, #c026d3, #d946ef);
}

.ncert-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.nta-icon {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.aicte-icon {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}

.link-content {
    flex: 1;
    min-width: 0;
}

.link-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.link-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.link-arrow {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0.5;
    transition: var(--transition);
}

/* Responsive for Important Links */
@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .link-item {
        padding: 14px;
        gap: 12px;
    }

    .link-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .link-content h3 {
        font-size: 0.95rem;
    }

    .link-content p {
        font-size: 0.8rem;
    }
}

/* ============================================
   SUBMIT JOB PAGE STYLES
   ============================================ */

.submit-job-card {
    margin-bottom: 24px;
}

/* Guidelines Grid */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

.guideline-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.guideline-item:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.guideline-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.guideline-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.guideline-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* About Content */
.about-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* How to Submit Section */
.how-to-submit p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.required-info {
    background: var(--bg-subtle);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin: 20px 0;
}

.required-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.required-info h3 i {
    color: var(--primary);
}

.info-list {
    margin: 0 0 0 24px;
    padding: 0;
}

.info-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.email-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-light);
    margin: 20px 0;
}

.email-info i {
    font-size: 1.5rem;
    color: var(--primary);
}

.email-info div {
    flex: 1;
}

.email-info strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.email-info a {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.email-info a:hover {
    text-decoration: underline;
}

.important-notes {
    margin-top: 24px;
}

.note-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(234, 179, 8, 0.05);
    border-left: 4px solid #eab308;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-item i {
    color: #eab308;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.note-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Fee Content */
.fee-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fee-box {
    background: var(--bg-subtle);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.fee-amount {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
}

.fee-amount i {
    font-size: 2rem;
    opacity: 0.9;
}

.fee-amount h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.fee-amount p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

.fee-details {
    padding: 20px;
}

.fee-details > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.fee-benefits {
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.fee-benefits h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fee-benefits h4 i {
    color: var(--success);
}

.fee-benefits ul {
    margin: 0 0 0 24px;
    padding: 0;
}

.fee-benefits li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.fee-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(234, 179, 8, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid #eab308;
}

.fee-note i {
    color: #eab308;
    font-size: 1.1rem;
    margin-top: 2px;
}

.fee-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.free-posting {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), rgba(34, 197, 94, 0.05));
    border: 2px solid var(--success);
    border-radius: var(--radius-md);
}

.free-posting i {
    font-size: 2.5rem;
    color: var(--success);
    flex-shrink: 0;
}

.free-posting h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.free-posting p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.form-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.form-intro a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.form-intro a:hover {
    text-decoration: underline;
}

/* Form Sections */
.form-section {
    padding: 20px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Form Elements Enhancement */
.submit-job-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.submit-job-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.submit-job-form input[type="date"] {
    cursor: pointer;
}

.submit-job-form .submit-btn {
    margin-top: 8px;
}

/* Responsive for Submit Job Page */
@media (max-width: 768px) {
    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guideline-item {
        padding: 14px;
    }

    .guideline-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .form-section {
        padding: 16px;
    }

    .form-section-title {
        font-size: 1rem;
    }

    .fee-amount {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .fee-amount i {
        font-size: 1.5rem;
    }

    .fee-amount h3 {
        font-size: 1.3rem;
    }

    .free-posting {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .free-posting i {
        font-size: 2rem;
    }

    .info-list li {
        font-size: 0.85rem;
    }

    .email-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.faq-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item p {
    margin-bottom: 4px !important;
    padding: 0 !important;
}

.post-footer-bar {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 10px 24px;
    font-size: 0.82rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.post-footer-bar .separator {
    color: #ccc;
    margin: 0 4px;
}

.post-footer-bar i {
    color: #999;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    gap: 16px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border);
    color: #990000;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #f5f5f5;
}

/* ============================================
   NOTIFICATION SYSTEM
   ============================================ */

.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 300px;
    max-width: 500px;
    border-left: 4px solid;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left-color: var(--success);
}

.notification-success i {
    color: var(--success);
    font-size: 1.3rem;
}

.notification-error {
    border-left-color: var(--accent);
}

.notification-error i {
    color: var(--accent);
    font-size: 1.3rem;
}

.notification span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    /* Single clean column on tablet — a 2-column widget grid left ugly uneven
       gaps because widgets have very different heights (short Follow-Us vs tall
       tribute image). Stacking full width looks tidy and predictable. */
    .sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 640px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    /* Force everything full width on mobile */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .header,
    .nav,
    .announcement-bar,
    .main-content,
    .footer,
    .categories-section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Center content on mobile */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .main-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .content-area {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .header {
        height: auto;
        min-height: var(--header-height);
    }

    .header-inner {
        gap: 10px;
        height: auto;
        min-height: var(--header-height);
        padding-top: 8px;
        padding-bottom: 8px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    /* Mobile header layout: language + theme left, logo center, hamburger right */
    .lang-switcher {
        order: 1;
        flex-shrink: 0;
    }

    .theme-toggle {
        order: 2;
        flex-shrink: 0;
    }

    .logo {
        order: 3;
        flex: 1;
        justify-content: center;
        text-align: center;
        transform: translateX(-14px);
    }

    .mobile-menu-btn {
        order: 4;
        flex-shrink: 0;
    }

    .header-actions {
        display: contents;
    }

    /* Compact language switcher as an icon-button matching the theme toggle.
       Visual rules live in the trailing @media block so they win over the
       base .lang-switcher styles defined later in this file. */

    .logo .logo-img {
        height: 40px !important;
    }

    .logo-text-main {
        font-size: 1.75rem;
    }

    .logo-text-tagline {
        font-size: 0.7rem;
    }

    /* Show the search bar in the header (full-width row below logo/icons),
       instead of hiding it inside the hamburger menu. */
    .search-bar {
        display: flex;
        order: 5;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 6px;
    }

    /* Slimmer search input on mobile */
    .search-bar input {
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 0.85rem;
    }

    .search-bar .search-btn {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    /* Mobile: Prevent horizontal overflow on all major containers */
    .main-content,
    .container,
    .sidebar,
    .footer {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Keep sidebar widget cards within the screen width */
    .sidebar,
    .widget {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .widget {
        padding: 18px;
        overflow: hidden;
    }

    .trending-job-item {
        min-width: 0;
    }

    .post-navigation {
        flex-wrap: wrap;
    }

    .nav-btn {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .notification {
        top: 80px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }

    .job-thumb-img {
        width: 130px;
        height: 90px;
        float: left;
        margin: 4px 14px 8px 0;
    }

    .job-thumb-icon {
        width: 130px;
        height: 90px;
        float: left;
        margin: 4px 14px 8px 0;
    }

    .job-thumb-icon i {
        font-size: 1.4rem;
    }

    .job-thumb-icon span {
        font-size: 0.6rem;
    }
    
    .job-body {
        overflow: hidden;
        align-items: flex-start;
        gap: 12px;
    }

    .job-body .job-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
        min-width: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: calc(var(--header-height) + 46px);
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        transform: translateX(100%);
        transition: var(--transition-smooth);
        overflow-y: auto;
        z-index: 999;
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
    }

    .nav.open {
        transform: translateX(0);
    }

    /* Make header sticky on mobile */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
    }

    /* Add padding to body to account for the fixed header. On mobile the header
       now has TWO rows (logo/icons + full-width search bar), so add extra space
       for the search row to prevent it overlapping the page heading. */
    body {
        padding-top: calc(var(--header-height) + 46px);
    }

    .nav-list {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 4px;
    }

    /* Search now lives in the header on mobile, so hide the in-menu copy. */
    .mobile-nav-search {
        display: none;
    }

    .mobile-nav-search .search-icon {
        position: absolute;
        left: 16px;
        color: var(--text-muted);
        font-size: 0.9rem;
        pointer-events: none;
    }

    .mobile-nav-search input {
        width: 100%;
        padding: 12px 100px 12px 44px;
        background: var(--bg-subtle);
        border: 1px solid var(--border);
        border-radius: var(--radius-full);
        color: var(--text-primary);
        font-family: var(--font-primary);
        font-size: 0.9rem;
        outline: none;
        transition: var(--transition);
    }

    .mobile-nav-search input:focus {
        border-color: var(--primary);
        background: white;
        box-shadow: 0 0 0 3px var(--primary-glow);
    }

    .mobile-nav-search .search-btn {
        position: absolute;
        right: 4px;
        padding: 8px 18px;
        background: var(--gradient-primary);
        border: none;
        color: white;
        font-family: var(--font-primary);
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .hero {
        padding: 50px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding-bottom: 32px;
    }

    .footer {
        padding-top: 40px;
    }

    .footer-brand .logo,
    .footer-social {
        justify-content: center;
    }

    .footer-links ul li a {
        justify-content: center;
    }

    .footer-links ul li a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination {
        gap: 4px;
        flex-wrap: wrap;
    }

    .page-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
        padding: 8px 10px;
    }

    .page-link span {
        display: none;
    }

    .announcement-marquee {
        gap: 40px;
    }

    /* Hide the announcement bar (marquee) on mobile */
    .announcement-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .job-content {
        padding: 18px;
        overflow: hidden;
    }
    
    .job-title {
        font-size: 0.9rem;
        line-height: 1.3;
        clear: none;
    }
    
    .job-footer {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .job-info {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    
    .job-info span {
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .trending-job-item {
        padding: 10px;
        gap: 12px;
        display: flex;
        align-items: center;
    }
    
    .tj-rank {
        min-width: 24px;
        max-width: 24px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .tj-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        max-width: calc(100% - 40px);
    }
    
    .tj-title {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
    }
    
    .tj-posts {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ============================================
   DARK MODE THEME
   ============================================ */

[data-theme="dark"] {
    /* Primary Palette */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --primary-bg: rgba(99, 102, 241, 0.15);

    /* Accent */
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --accent-glow: rgba(244, 63, 94, 0.2);

    /* Success / WhatsApp */
    --success: #22c55e;
    --success-dark: #16a34a;
    --success-light: rgba(34, 197, 94, 0.15);

    /* Warning / Orange */
    --warning: #fb923c;
    --warning-bg: rgba(251, 146, 60, 0.15);

    /* Backgrounds - FULL DARK */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-glass: rgba(17, 17, 17, 0.9);
    --bg-glass-hover: rgba(17, 17, 17, 0.95);
    --bg-subtle: #1a1a1a;
    --bg-hero: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);

    /* Text - PURE WHITE */
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-muted: #999999;
    --text-inverse: #000000;

    /* Borders */
    --border: #222222;
    --border-hover: #333333;
    --border-active: var(--primary);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --gradient-soft: linear-gradient(135deg, #111111, #0a0a0a, #111111);
    --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.05));

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 4px 30px rgba(99, 102, 241, 0.4);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-card-hover: 0 8px 30px rgba(99, 102, 241, 0.4), 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Dark Mode Specific Adjustments */
[data-theme="dark"] .particle {
    background: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .job-card,
[data-theme="dark"] .link-item,
[data-theme="dark"] .category-card {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .job-card:hover,
[data-theme="dark"] .link-item:hover,
[data-theme="dark"] .category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-subtle);
}

[data-theme="dark"] .hero {
    background: var(--bg-hero);
}

[data-theme="dark"] .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

[data-theme="dark"] .theme-toggle {
    background: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

[data-theme="dark"] .search-bar {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] #searchInput {
    background: transparent;
    color: var(--text-primary);
}

[data-theme="dark"] #searchInput::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .nav {
    background: var(--bg-secondary);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .announcement-bar {
    background: var(--gradient-primary);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
    border-top-color: var(--border);
}

[data-theme="dark"] .job-meta-item,
[data-theme="dark"] .job-badge {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

[data-theme="dark"] .header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .job-title,
[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-primary);
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] li {
    color: var(--text-secondary);
}

[data-theme="dark"] .breadcrumb a,
[data-theme="dark"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .breadcrumb a:hover,
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-info-section,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .submit-job-section {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .info-item {
    background: var(--bg-subtle);
}

[data-theme="dark"] .fee-box,
[data-theme="dark"] .guideline-item {
    background: var(--bg-subtle);
    border-color: var(--border);
}

[data-theme="dark"] .sidebar {
    background: var(--bg-card);
}

[data-theme="dark"] .widget {
    background: var(--bg-subtle);
    border-color: var(--border);
}

[data-theme="dark"] .category-header {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .category-title {
    color: var(--text-primary);
}

[data-theme="dark"] .category-desc {
    color: var(--text-secondary);
}

[data-theme="dark"] .breadcrumb {
    color: var(--text-secondary);
}

[data-theme="dark"] .job-excerpt,
[data-theme="dark"] .job-desc {
    color: var(--text-secondary);
}

[data-theme="dark"] .btn-primary {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--primary-light);
}

[data-theme="dark"] a {
    color: var(--primary-light);
}

[data-theme="dark"] a:hover {
    color: var(--primary);
}

[data-theme="dark"] .job-title a {
    color: var(--text-primary);
}

[data-theme="dark"] .job-title a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

[data-theme="dark"] .hero-desc {
    color: var(--text-secondary);
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .social-btn {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .social-btn:hover {
    transform: translateY(-2px);
}

[data-theme="dark"] .whatsapp-widget {
    background: var(--success);
}

[data-theme="dark"] .back-to-top {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .back-to-top:hover {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .category-chip {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .category-chip:hover {
    background: var(--bg-subtle);
    border-color: var(--primary);
}

[data-theme="dark"] .category-chip span {
    color: var(--text-secondary);
}

[data-theme="dark"] .category-chip:hover span {
    color: var(--text-primary);
}

[data-theme="dark"] .chip-icon {
    background: var(--primary-bg);
    color: var(--primary);
}

[data-theme="dark"] .job-meta {
    background: transparent;
    border-color: var(--border);
}

[data-theme="dark"] .job-meta span {
    color: var(--text-secondary);
}

[data-theme="dark"] .job-meta strong {
    color: var(--text-primary);
}

[data-theme="dark"] .section-header {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .filter-tabs {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .filter-tab {
    color: var(--text-secondary);
}

[data-theme="dark"] .filter-tab.active,
[data-theme="dark"] .filter-tab:hover {
    color: var(--text-primary);
    background: var(--primary-bg);
}

[data-theme="dark"] .page-link {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-secondary);
}

[data-theme="dark"] .page-link:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
}

/* Additional Dark Mode Fixes for White Backgrounds */
[data-theme="dark"] .glass-card {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .post-content {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .info-item {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .submit-info-card {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .feature-card {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .contact-form {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

[data-theme="dark"] .trending-item {
    background: transparent;
    border-color: var(--border);
}

[data-theme="dark"] .trending-item:hover {
    background: var(--bg-subtle);
}

[data-theme="dark"] .rank-badge {
    background: var(--primary-bg);
    color: var(--primary);
}

[data-theme="dark"] .update-item {
    background: transparent;
    border-color: var(--border);
}

[data-theme="dark"] .update-item:hover {
    background: var(--bg-subtle);
}

[data-theme="dark"] .widget-title {
    color: var(--text-primary);
}

[data-theme="dark"] .widget p {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-header-card {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .page-title {
    color: var(--text-primary);
}

[data-theme="dark"] .page-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .info-icon {
    background: var(--primary-bg);
    color: var(--primary);
}

[data-theme="dark"] .search-bar input:focus {
    background: var(--bg-secondary);
    border-color: var(--primary);
}

[data-theme="dark"] .logo-text {
    color: var(--text-primary);
}

[data-theme="dark"] .logo-text span {
    color: var(--primary);
}

[data-theme="dark"] .job-footer {
    background: var(--bg-secondary);
    border-top-color: var(--border);
}

[data-theme="dark"] .job-info span {
    color: var(--text-secondary);
}

[data-theme="dark"] .job-info span i {
    color: var(--text-muted);
}

[data-theme="dark"] .job-info .separator {
    color: var(--border-hover);
}

[data-theme="dark"] .job-info strong {
    color: var(--text-primary);
}

[data-theme="dark"] .info-box {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .info-box h3 {
    background: #783CED;
    border-bottom-color: #783CED;
    color: #ffffff;
}

[data-theme="dark"] .info-box p,
[data-theme="dark"] .info-box ul,
[data-theme="dark"] .info-box li {
    color: var(--text-secondary);
}

[data-theme="dark"] .note-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: var(--primary);
}

[data-theme="dark"] .note-box > i {
    color: var(--primary-light);
}

[data-theme="dark"] .note-box h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .note-box p {
    color: var(--text-secondary);
}

[data-theme="dark"] .fee-benefits {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .fee-benefits h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .fee-benefits ul,
[data-theme="dark"] .fee-benefits li {
    color: var(--text-secondary);
}

[data-theme="dark"] .required-info {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .required-info h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .info-list li {
    color: var(--text-secondary);
}

[data-theme="dark"] .email-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: var(--primary);
}

[data-theme="dark"] .email-info i {
    color: var(--primary-light);
}

[data-theme="dark"] .email-info strong {
    color: var(--text-primary);
}

[data-theme="dark"] .email-info a {
    color: var(--primary-light);
}

[data-theme="dark"] .note-item {
    background: rgba(234, 179, 8, 0.1);
    border-left-color: #facc15;
}

[data-theme="dark"] .note-item i {
    color: #facc15;
}

[data-theme="dark"] .note-item p {
    color: var(--text-secondary);
}

[data-theme="dark"] .fee-box {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .fee-details > p {
    color: var(--text-secondary);
}

[data-theme="dark"] .fee-note {
    background: rgba(234, 179, 8, 0.1);
    border-left-color: #facc15;
}

[data-theme="dark"] .fee-note i {
    color: #facc15;
}

[data-theme="dark"] .fee-note p {
    color: var(--text-secondary);
}

[data-theme="dark"] .free-posting {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .free-posting h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .free-posting p {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-detail {
    background: var(--bg-card);
    border-color: var(--border);
}

[data-theme="dark"] .post-title {
    color: var(--text-primary);
}

[data-theme="dark"] .post-meta-bar {
    background: var(--bg-secondary);
    border-top-color: var(--border);
    border-bottom-color: var(--border);
    color: var(--text-secondary);
}

[data-theme="dark"] .post-meta-bar .separator {
    color: var(--border-hover);
}

[data-theme="dark"] .post-meta-bar i {
    color: var(--text-muted);
}

[data-theme="dark"] .post-meta-bar strong {
    color: var(--text-primary);
}

[data-theme="dark"] .post-body {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-body p {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-body a {
    color: var(--primary-light);
}

[data-theme="dark"] .post-body a:hover {
    color: var(--primary);
}

[data-theme="dark"] .post-body ul li {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-body strong {
    color: var(--text-primary);
}

[data-theme="dark"] .post-image {
    border-color: var(--border);
}

[data-theme="dark"] .info-table {
    border-color: var(--border);
}

[data-theme="dark"] .info-table tr {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .info-table td {
    color: var(--text-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .info-table strong {
    color: var(--text-primary);
}

[data-theme="dark"] .info-table a {
    color: var(--primary-light);
}

/* Dark mode: themed key column (left column) — readable dark tint + light text */
[data-theme="dark"] .info-table td:first-child {
    background: #1e2740;
    color: #c7d2fe;
}
[data-theme="dark"] .info-table td:first-child strong {
    color: #c7d2fe;
}
[data-theme="dark"] .jodit-content .vw-section table.vw-kv td:first-child {
    /* Content cells keep their inline light-blue background, so use dark text. */
    color: #1e2740 !important;
}
/* Robust: ANY content cell that has the light-blue inline background gets dark
   text in dark mode (covers old posts without the vw-kv class), including <strong>. */
[data-theme="dark"] .jodit-content [style*="EAF0FB"],
[data-theme="dark"] .jodit-content [style*="EAF0FB"] strong,
[data-theme="dark"] .jodit-content [style*="eaf0fb"],
[data-theme="dark"] .jodit-content [style*="eaf0fb"] strong {
    color: #1e2740 !important;
}

[data-theme="dark"] .breadcrumb {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .breadcrumb a {
    color: var(--primary-light);
}

[data-theme="dark"] .breadcrumb span {
    color: var(--text-muted);
}

[data-theme="dark"] .breadcrumb .current {
    color: var(--text-secondary);
}

[data-theme="dark"] .post-navigation {
    border-top-color: var(--border);
}

[data-theme="dark"] .nav-btn {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--primary-light);
}

[data-theme="dark"] .nav-btn:hover {
    background: var(--bg-subtle);
    border-color: var(--primary);
}

[data-theme="dark"] .nav-btn i {
    color: var(--primary-light);
}

[data-theme="dark"] .post-footer-bar {
    background: var(--bg-secondary);
    border-top-color: var(--border);
    color: var(--text-secondary);
}

[data-theme="dark"] .post-footer-bar .separator {
    color: var(--border-hover);
}

[data-theme="dark"] .post-footer-bar i {
    color: var(--text-muted);
}

[data-theme="dark"] .post-footer-bar strong {
    color: var(--text-primary);
}

/* Contact Page Specific - Hide Trending Widgets */
body:has(.contact-header-card) #trendingWidget,
body:has(.contact-header-card) #trendingJobsWidget {
    display: none;
}

/* ===================== JODIT CONTENT STYLES (readmore page) ===================== */
.jodit-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.jodit-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 16px 0 8px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 6px;
}

.jodit-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #334155;
    margin: 12px 0 6px;
}

.jodit-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: #475569;
    margin: 10px 0 6px;
}

.jodit-content p {
    margin: 6px 0;
    text-align: justify;
}

.jodit-content li {
    text-align: justify;
}

.jodit-content ul,
.jodit-content ol {
    margin: 10px 0 10px 24px;
    padding: 0;
}

.jodit-content li {
    margin: 4px 0;
}

.jodit-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    border: 1px solid #999 !important;
}

.jodit-content table th,
.jodit-content table td {
    border: 1px solid #bbb !important;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.jodit-content table th {
    background: #783CED !important;   /* consistent purple header for every post table */
    font-weight: 700;
    color: #ffffff !important;
    border-color: #6b27d6 !important;
}

.jodit-content table tr:nth-child(even) {
    background: #f7f7f7;
}

.jodit-content table tr:hover {
    background: #eef2ff;
}

.jodit-content table caption {
    caption-side: top;
    font-weight: 700;
    padding: 8px;
    color: #1e293b;
    font-size: 15px;
}

/* Tables: keep the desktop layout everywhere. On narrow screens the wrapper
   scrolls horizontally so the full table stays readable (same look as desktop)
   instead of being clipped at the screen edge. */
.vw-table-scroll {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.jodit-content .vw-table-scroll table {
    margin: 0;
    width: 100%;
}
.jodit-content table {
    width: 100% !important;
    max-width: 100%;
    table-layout: auto;   /* size columns by content; short columns keep their
                             word width and never collapse to one letter */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
}
.jodit-content table th,
.jodit-content table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
    vertical-align: top;
}

@media (max-width: 768px) {
    .jodit-content {
        max-width: 100%;
        overflow-x: hidden;
        font-size: 13px;          /* smaller, tidier body text on mobile */
        line-height: 1.55;
    }
    .jodit-content p,
    .jodit-content li { font-size: 13px; }
    .jodit-content h2 { font-size: 16px; }
    .jodit-content h3 { font-size: 15px; }
    .jodit-content h4 { font-size: 14px; }
    /* Section heading banners (e.g. the pink title box) — smaller on mobile. */
    .jodit-content .vw-section h2,
    .jodit-content .vw-section h3 { font-size: 15px !important; }

    .jodit-content .vw-table-scroll {
        -webkit-overflow-scrolling: touch;
        margin: 14px 0;
    }

    /* ---- Narrow tables (3 columns or fewer): FIT the screen, no scroll ---- */
    .jodit-content .vw-table-scroll:not(:has(table.vw-wide)) {
        overflow-x: hidden;
    }
    .jodit-content table:not(.vw-links):not(.links-table):not(.vw-wide),
    .jodit-content .vw-table-scroll table:not(.vw-links):not(.links-table):not(.vw-wide) {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        table-layout: auto;
        font-size: 12px;
    }
    .jodit-content table:not(.vw-links):not(.links-table):not(.vw-wide) th,
    .jodit-content table:not(.vw-links):not(.links-table):not(.vw-wide) td {
        min-width: 0 !important;
        padding: 7px 8px !important;
        font-size: 12px;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    /* ---- Wide tables (more than 3 columns): SWIPE sideways to view ---- */
    .jodit-content .vw-table-scroll:has(table.vw-wide) {
        overflow-x: auto;
    }
    .jodit-content table.vw-wide,
    .jodit-content .vw-table-scroll table.vw-wide {
        width: auto !important;
        min-width: 640px;     /* keeps columns readable; user swipes to see all */
        max-width: none;
        table-layout: auto;
        font-size: 12px;
    }
    .jodit-content table.vw-wide th,
    .jodit-content table.vw-wide td {
        min-width: 0 !important;
        padding: 8px 10px !important;
        font-size: 12px;
        line-height: 1.45;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }
}

/* Smaller post title on mobile so the header isn't overwhelming. */
@media (max-width: 768px) {
    .post-title {
        font-size: 1rem !important;
        line-height: 1.3;
    }
    .post-body {
        font-size: 13px;
    }
}

.jodit-content a {
    color: #667eea;
    text-decoration: underline;
}

.jodit-content a:hover {
    color: #4338ca;
}

.jodit-content blockquote {
    border-left: 4px solid #667eea;
    background: #f0f0ff;
    padding: 12px 20px;
    margin: 16px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.jodit-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 20px 0;
}

.jodit-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.jodit-content mark {
    background: #fef08a;
    padding: 2px 4px;
    border-radius: 3px;
}

.jodit-content strong {
    color: #1e293b;
}

/* ===== Word-doc colour theme for Section Builder content (readmore) ===== */
.jodit-content .vw-section h2,
.jodit-content .vw-section h3 {
    background: #783CED !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    border: none !important;
    border-radius: 6px !important;
    margin: 18px 0 10px !important;
}
.jodit-content .vw-section h4 {
    color: #783CED !important;
}
.jodit-content .vw-section table th {
    background: #783CED !important;
    color: #ffffff !important;
}
.jodit-content .vw-section table.vw-kv td:first-child {
    background: #EAF0FB !important;
    font-weight: 700 !important;
}
.jodit-content .vw-section h2 strong,
.jodit-content .vw-section h3 strong,
.jodit-content h2 strong,
.jodit-content h3 strong,
.jodit-content table th,
.jodit-content table th strong,
.jodit-content table th span,
.jodit-content .vw-section table th strong {
    color: #ffffff !important;
}

/* Important Web-Links: always center the link buttons (overrides any saved
   inline text-align:right on older posts). */
.jodit-content .vw-links td:last-child,
.jodit-content table.vw-links td:last-child,
.jodit-content .links-table td:last-child {
    text-align: center !important;
}

/* Web-Links "Resource" column — uniform font/weight for every row,
   whether or not the label was wrapped in <strong>. */
.jodit-content .vw-links td:first-child,
.jodit-content .vw-links td:first-child strong,
.jodit-content table.vw-links td:first-child,
.jodit-content table.vw-links td:first-child strong,
.jodit-content .links-table td:first-child,
.jodit-content .links-table td:first-child strong {
    font-weight: 700 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-style: normal !important;
}

/* Web-Links table: stop the global "overflow-wrap:anywhere" from collapsing
   the Resource column into a 1-letter-per-line vertical strip. Labels wrap
   only at spaces, and the Resource column sizes to its content. */
.jodit-content .vw-links th,
.jodit-content .vw-links td,
.jodit-content table.vw-links th,
.jodit-content table.vw-links td {
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
}
.jodit-content .vw-links th:first-child,
.jodit-content .vw-links td:first-child,
.jodit-content table.vw-links th:first-child,
.jodit-content table.vw-links td:first-child {
    white-space: nowrap;
    width: 1%;            /* shrink-to-fit the label; the Link column takes the rest */
}
@media (max-width: 768px) {
    /* On small screens: label wraps at spaces, and the button fills its cell
       instead of forcing a fixed 150px width (which overflowed on mobile). */
    .jodit-content .vw-links th:first-child,
    .jodit-content .vw-links td:first-child,
    .jodit-content table.vw-links th:first-child,
    .jodit-content table.vw-links td:first-child {
        white-space: normal !important;
        width: auto;
    }
    .jodit-content .vw-links .link-btn,
    .jodit-content table.vw-links .link-btn {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 6px !important;
        font-size: 12px !important;
    }
    .jodit-content .vw-links td,
    .jodit-content table.vw-links td {
        padding: 6px !important;
    }
}

/* Web-Links buttons — uniform look on every row. */
.jodit-content .vw-links .link-btn,
.jodit-content table.vw-links .link-btn,
.jodit-content .links-table .link-btn {
    font-family: inherit !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    font-style: normal !important;
}

/* ALL section tables — uniform font across every cell so different rows
   never look mismatched (covers Important Dates, Overview, Eligibility, etc.). */
.jodit-content .vw-section table td,
.jodit-content .vw-section table th,
.jodit-content .vw-section table td strong,
.jodit-content .vw-section table th strong,
.jodit-content table td,
.jodit-content table th {
    font-family: inherit !important;
    font-style: normal !important;
    font-size: 14px !important;
}
/* Header row + key (first) column of key/value tables stay bold. */
.jodit-content .vw-section table th,
.jodit-content .vw-section table th strong,
.jodit-content .vw-section table.vw-kv td:first-child,
.jodit-content .vw-section table.vw-kv td:first-child strong {
    font-weight: 700 !important;
}

/* Dark mode */
[data-theme="dark"] .jodit-content {
    color: #e2e8f0;
}

[data-theme="dark"] .jodit-content h2 {
    color: #f1f5f9;
    border-bottom-color: #818cf8;
}

[data-theme="dark"] .jodit-content h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .jodit-content h4 {
    color: #cbd5e1;
}

[data-theme="dark"] .jodit-content table {
    border-color: #a0aec0 !important;
}

[data-theme="dark"] .jodit-content table th {
    background: #1a202c !important;
    color: #f1f5f9;
    border-color: #a0aec0 !important;
}

[data-theme="dark"] .jodit-content table td {
    border-color: #718096 !important;
    color: #e2e8f0;
}

[data-theme="dark"] .jodit-content table tr:nth-child(even) {
    background: #1e293b;
}

[data-theme="dark"] .jodit-content table tr:hover {
    background: #1e2d4a;
}

[data-theme="dark"] .jodit-content blockquote {
    background: #1e1b4b;
    border-left-color: #818cf8;
    color: #a5b4fc;
}

[data-theme="dark"] .jodit-content a {
    color: #818cf8;
}

[data-theme="dark"] .jodit-content strong {
    color: #f1f5f9;
}

[data-theme="dark"] .jodit-content mark {
    background: #854d0e;
    color: #fef08a;
}

/* ===================== DISCLAIMER PAGE ===================== */
.disclaimer-content {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #444;
}

.disclaimer-content p {
    margin: 12px 0;
}

.disclaimer-content ul {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

.disclaimer-content ul li {
    padding: 8px 0 8px 8px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
}

.disclaimer-content ul li:last-child {
    border-bottom: none;
}

.disclaimer-content ul li i {
    color: #667eea;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.disclaimer-content ul li i.fa-times-circle {
    color: #dc2626;
}

.disclaimer-content ul li i.fa-check-circle {
    color: #059669;
}

.disclaimer-content ul li i.fa-check {
    color: #059669;
}

.disclaimer-content a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
}

.disclaimer-content a:hover {
    color: #4338ca;
}

.disclaimer-content strong {
    color: #1e293b;
}

.disclaimer-contact-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 16px 0;
}

.disclaimer-contact-info p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-contact-info i {
    color: #667eea;
    width: 20px;
    text-align: center;
}

/* Disclaimer Dark Mode */
[data-theme="dark"] .disclaimer-content {
    color: #cbd5e1;
}

[data-theme="dark"] .disclaimer-content strong {
    color: #f1f5f9;
}

[data-theme="dark"] .disclaimer-content ul li {
    border-bottom-color: #334155;
}

[data-theme="dark"] .disclaimer-content a {
    color: #818cf8;
}

[data-theme="dark"] .disclaimer-contact-info {
    background: #1e293b;
    border-color: #334155;
}

/* Hide sidebar widgets on disclaimer page */
body:has(.contact-header-card) .disclaimer-content {
    color: #444;
}
/* ===== 
Photo & Signature Resizer ===== */
.resizer-wrap {
    max-width: 1000px;
    margin: 40px auto;
}

.resizer-head {
    text-align: center;
    margin-bottom: 32px;
}

.resizer-head h1 {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.resizer-head h1 i {
    color: var(--primary);
}

.resizer-head p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.resizer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Tabs */
.resizer-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.resizer-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.resizer-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.resizer-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.resizer-panel[hidden] {
    display: none !important;
}

.resizer-card-wide {
    grid-column: 1 / -1;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.rz-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.rz-row-2 {
    grid-template-columns: 1fr 1fr;
}

.doc-preview-img {
    max-width: 100%;
    max-height: 300px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.resizer-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.resizer-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resizer-card h2 i {
    color: var(--primary);
}

.resizer-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 16px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    background: var(--bg-subtle);
}

.resizer-drop:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.resizer-drop i {
    font-size: 2rem;
    color: var(--primary);
}

.resizer-drop .drop-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.resizer-drop small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.resizer-drop.has-file {
    border-color: var(--primary);
}

.resizer-preview {
    margin: 16px 0;
    text-align: center;
}

.crop-stage {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
    touch-action: none;
    overflow: hidden;
}

.crop-stage img {
    max-width: 100%;
    max-height: 320px;
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    user-select: none;
    -webkit-user-drag: none;
}

.crop-box {
    position: absolute;
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
    cursor: move;
    box-sizing: border-box;
}

.crop-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 2px solid #fff;
    border-radius: 50%;
}

.crop-handle.tl { top: -8px; left: -8px; }
.crop-handle.tr { top: -8px; right: -8px; }
.crop-handle.bl { bottom: -8px; left: -8px; }
.crop-handle.br { bottom: -8px; right: -8px; cursor: nwse-resize; }

.resizer-result {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}

.resizer-result .result-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.resizer-result .result-label i {
    color: #10b981;
}

.resizer-result img {
    max-width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.resizer-preview > img {
    max-width: 100%;
    max-height: 220px;
}

.resizer-meta {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.resizer-controls {
    margin-top: 16px;
}

.rz-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.rz-preset {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.rz-preset:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.rz-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.rz-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.rz-field input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: white;
    outline: none;
    transition: var(--transition);
}

.rz-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.rz-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    cursor: pointer;
}

.rz-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}

.rz-btn:hover {
    box-shadow: 0 4px 15px var(--primary-glow);
}

.rz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ensure the hidden attribute always wins over the .rz-btn display rule. */
.rz-btn[hidden],
.resizer-result[hidden],
.resizer-preview[hidden],
.crop-stage[hidden] {
    display: none !important;
}

.rz-btn-download {
    background: var(--gradient-primary, #10b981);
    background: linear-gradient(135deg, #10b981, #059669);
    text-decoration: none;
}

.resizer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.resizer-note i {
    color: var(--primary);
}

@media (max-width: 768px) {
    .resizer-grid {
        grid-template-columns: 1fr;
    }

    .resizer-wrap {
        margin: 20px auto;
    }
}

/* ===================================================================
   Home Page Authority / Helpful Content (above footer, page 1 only)
   =================================================================== */
.home-seo {
    padding: 40px 0 56px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.home-seo-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    padding: 34px 38px;
    box-shadow: var(--shadow-card);
    line-height: 1.8;
    color: var(--text-secondary);
}

.home-seo-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.3vw, 1.95rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0 0 14px;
}

.home-seo-lede {
    font-size: 1.02rem;
    margin: 0 0 12px;
}

.home-seo-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 6px 12px;
    margin: 0;
}

.home-seo-updated i { color: var(--success); }

.home-seo-inner h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 30px 0 12px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
}

.home-seo-inner p {
    margin: 0 0 14px;
    font-size: 0.96rem;
}

.home-seo-inner strong { color: var(--text-primary); }

.home-seo-inner a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.home-seo-inner a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Editorial process steps */
.home-seo-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 0 0 16px;
}

.hsp-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 16px 18px;
    font-size: 0.92rem;
    line-height: 1.65;
}

.hsp-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    background: var(--gradient-primary);
}

/* Task list */
.home-seo-tasks {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.home-seo-tasks li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border);
}

.home-seo-tasks li::before {
    content: "\f105"; /* fa angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 4px;
    top: 8px;
    color: var(--primary);
}

/* FAQ */
.home-seo-faq { margin-top: 6px; }

.hs-faq-item {
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    margin-bottom: 10px;
    background: var(--bg-card);
    transition: var(--transition);
}

.hs-faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-left-color: var(--accent);
}

.hs-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 46px 14px 18px;
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--text-primary);
    position: relative;
}

.hs-faq-item summary::-webkit-details-marker { display: none; }

.hs-faq-item summary::after {
    content: "\f067"; /* fa plus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--primary);
}

.hs-faq-item[open] summary::after { content: "\f068"; color: var(--accent); }

.hs-faq-item p {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

[data-theme="dark"] .home-seo-inner {
    background: var(--bg-card);
    border-color: var(--border);
}

@media (max-width: 768px) {
    .home-seo {
        padding: 24px 0 32px;
    }
    .home-seo-inner {
        padding: 22px 20px;
    }
    .home-seo-process {
        grid-template-columns: 1fr;
    }
    .home-seo-inner h3 {
        font-size: 1.08rem;
        margin: 24px 0 10px;
    }
}

/* ===================================================================
   Language switcher (custom dropdown, Google Translate engine hidden)
   =================================================================== */
.gt-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    opacity: 0;
    pointer-events: none;
}

.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-switcher-icon {
    position: absolute;
    left: 10px;
    font-size: 0.85rem;
    color: var(--primary);
    pointer-events: none;
}

.lang-switcher select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card)
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3'><path d='M6 9l6 6 6-6'/></svg>")
        no-repeat right 9px center;
    border: 1px solid var(--border);
    padding: 8px 28px 8px 30px;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-switcher select:hover {
    border-color: var(--primary);
}

.lang-switcher select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Neutralise the banner Google injects so the layout doesn't shift */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.skiptranslate > iframe,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

html,
body {
    top: 0 !important;
    position: static !important;
    margin-top: 0 !important;
}

/* Remove Google's highlight on translated text */
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Kill the hover tooltip / feedback balloon Google shows on translated text */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-yAWNEb-L7lbkb,
.VIpgJd-yAWNEb-hvhgNd,
.VIpgJd-ZVi9od-xl07Ob-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    /* Language switcher as an icon-button (placed after base rules so it wins) */
    .lang-switcher {
        width: 42px;
        height: 42px;
        background: var(--bg-subtle);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    .lang-switcher-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.1rem;
        color: var(--text-secondary);
    }
    .lang-switcher select {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        color: transparent;
        font-size: 0;
        cursor: pointer;
        opacity: 0;
    }
    .lang-switcher select option {
        font-size: 0.85rem;
        color: var(--text-primary);
    }
}

/* ===================================================================
   Sidebar Tribute Widget
   =================================================================== */
.tribute-widget {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.tribute-figure {
    margin: 0;
    position: relative;
}

.tribute-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tribute-caption {
    font-family: var(--font-display), 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    color: #fff;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1e293b, #334155);
}

[data-theme="dark"] .tribute-caption {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* ===================================================================
   Author / Reviewed-by box (article page, E-E-A-T)
   =================================================================== */
.author-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    padding: 18px 20px;
    margin: 24px 0;
    box-shadow: var(--shadow-card);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 2px solid var(--border);
    background: #fff;
}

.author-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.author-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--success);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-name {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-desc {
    margin: 4px 0 6px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.author-updated {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-updated i { color: var(--primary); }

[data-theme="dark"] .author-box {
    background: var(--bg-card);
    border-color: var(--border);
}

@media (max-width: 768px) {
    .author-box {
        padding: 14px 16px;
        gap: 12px;
    }
    .author-avatar img { width: 48px; height: 48px; }
    .author-name { font-size: 1rem; }
    .author-desc { font-size: 0.86rem; }
}


/* =====================================================================
   Mobile polish for the single-post (readmore) page — cleaner, more
   readable and professional. No horizontal scrolling anywhere.
   ===================================================================== */
@media (max-width: 768px) {
    /* Title: a touch larger & tighter for a strong, readable headline. */
    .post-title {
        font-size: 1.28rem !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
        padding: 16px 14px 10px !important;
        letter-spacing: -0.2px;
    }

    /* Body: comfortable side padding + readable line length & spacing.
       Left-align (not justify) avoids ugly word gaps on narrow screens. */
    .post-body {
        padding: 14px 14px !important;
        font-size: 14.5px !important;
        line-height: 1.75 !important;
    }
    .post-body p,
    .info-box p,
    .jodit-content p,
    .jodit-content li {
        text-align: left !important;
        line-height: 1.75 !important;
    }
    .post-body p { margin-bottom: 14px !important; }

    /* Section heading bars: balanced padding & size so they look like neat
       section pills, not cramped strips. */
    .info-box h3,
    .jodit-content .vw-section h3,
    .jodit-content h3 {
        font-size: 15.5px !important;
        line-height: 1.4 !important;
        padding: 10px 12px !important;
        border-radius: 6px !important;
        margin: 16px 0 10px !important;
        word-break: normal;
        overflow-wrap: break-word;
    }
    .jodit-content h4 {
        font-size: 14px !important;
        margin: 12px 0 6px !important;
    }

    /* Lists: keep a sensible indent so bullets don't hug the edge. */
    .post-body ul,
    .jodit-content ul,
    .jodit-content ol {
        margin: 10px 0 14px 18px !important;
        padding-left: 4px !important;
    }

    /* Prev/Next: stack as full-width, easy-to-tap buttons. */
    .post-navigation {
        flex-direction: column;
        gap: 10px;
    }
    .post-navigation .nav-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Related Jobs block fits the narrow screen neatly. */
    .related-jobs { margin-left: 0 !important; margin-right: 0 !important; }
    .related-jobs h2 { font-size: 1.05rem !important; }
}
