/**
 * Sarkari Job Sathi - Custom CSS Styling
 */

/* 1. Global Dark Theme & Fonts */
body.home {
    background-color: #0c102a !important;
    color: #ffffff !important;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Force GeneratePress container/content area to adopt dark theme */
body.home #page, 
body.home .site-content, 
body.home .inside-article, 
body.home .separate-containers .inside-article, 
body.home .one-container .site-content,
body.home .container,
body.home #content {
    background-color: #0c102a !important;
    background: #0c102a !important;
    color: #ffffff !important;
}

/* Force header and navigation background */
body.home .site-header, 
body.home .inside-header, 
body.home .main-navigation, 
body.home .navigation-clone,
body.home .sticky-navigation-placeholder,
body.home .inside-navigation {
    background-color: #090c21 !important;
    background: #090c21 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Force footer styling */
body.home .site-footer, 
body.home .footer-widgets, 
body.home .site-info, 
body.home .inside-footer-widgets,
body.home .inside-site-info {
    background-color: #090c21 !important;
    background: #090c21 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.home .site-footer a, 
body.home .site-info a {
    color: #9d4edd !important;
}

/* Hide default page title ("Home") */
body.home .entry-header,
body.home .entry-title {
    display: none !important;
}

/* Header branding and title styling */
body.home .main-title a, 
body.home .site-branding .main-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

body.home .site-description, 
body.home .site-branding .site-description {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12px !important;
}

/* Custom Nav Menu styling */
body.home .main-navigation ul,
body.home .main-navigation .menu ul {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.home .main-navigation li,
body.home .main-navigation .menu li {
    margin: 0 15px !important;
    list-style: none !important;
    list-style-type: none !important;
}

body.home .main-navigation a,
body.home .main-navigation .main-nav ul li a {
    color: #ffffff !important;
    background: transparent !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 15px !important;
    display: block !important;
    transition: background-color 0.2s, color 0.2s;
}

body.home .main-navigation .main-nav ul li:hover > a,
body.home .main-navigation .main-nav ul li.current-menu-item > a {
    background-color: #7b2cbf !important;
    color: #ffffff !important;
    border-radius: 4px;
}

/* Ensure headings in home match the dark theme colors */
body.home h1, body.home h2, body.home h3, body.home h4, body.home h5, body.home h6 {
    color: #ffffff !important;
}

/* 2. Top Trending Bar Ticker */
.trending-bar {
    background-color: #090c21;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trending-title {
    color: #ff007f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* 3. Navigation Bar Styling overrides */
.main-navigation {
    background-color: #12163b !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-navigation a {
    color: #ffffff !important;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.main-navigation .main-nav ul li:hover > a, 
.main-navigation .main-nav ul li.current-menu-item > a {
    background-color: #7b2cbf !important;
    color: #ffffff !important;
    border-radius: 4px;
}

/* 4. Hero Section Search & Filter Form */
.job-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 24px;
    border-radius: 50px;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0;
}

.job-filter-form .filter-group {
    flex: 1;
    min-width: 150px;
    position: relative;
}

/* Subtle separator between select groups */
.job-filter-form .filter-group:not(:last-of-type)::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.job-filter-form select {
    width: 100%;
    background: transparent;
    color: #ffffff;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 10px 10px 10px 5px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Custom Select Dropdown Arrow */
.job-filter-form .filter-group::before {
    content: "▼";
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.job-filter-form select option {
    background: #0c102a;
    color: #ffffff;
}

.filter-submit-btn {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.filter-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.5);
    color: #ffffff;
}

@media (max-width: 768px) {
    .job-filter-form {
        border-radius: 16px;
        padding: 16px;
    }
    .job-filter-form .filter-group::after {
        display: none;
    }
    .job-filter-form .filter-group {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .job-filter-form select {
        padding: 10px 0;
    }
    .job-filter-form .filter-submit-btn {
        width: 100%;
        margin-top: 8px;
    }
}

/* 5. Stat Counter Cards in Hero */
.hero-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border 0.3s;
}

.hero-stat-card:hover {
    border-color: rgba(123, 44, 191, 0.4);
}

.hero-stat-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Counter Accent Colors */
.stat-jobs { background: rgba(123, 44, 191, 0.15); color: #9d4edd; }
.stat-results { background: rgba(33, 150, 243, 0.15); color: #2196f3; }
.stat-admit { background: rgba(76, 175, 80, 0.15); color: #4caf50; }
.stat-answers { background: rgba(255, 152, 0, 0.15); color: #ff9800; }

.hero-stat-val {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-stat-lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

/* 6. Important Updates Sidebar List */
.important-updates-card {
    background: #12163b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
}

.important-updates-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.important-updates-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.important-updates-item:last-child {
    border-bottom: none;
}

.important-updates-link {
    font-size: 13.5px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    padding-right: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.important-updates-link:hover {
    color: #9d4edd;
}

.important-updates-date {
    font-size: 11px;
    color: #a0aec0;
    white-space: nowrap;
    text-align: right;
}

/* Blinking New Badge */
.badge-new {
    background: linear-gradient(135deg, #ff007f, #ff40a0);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
    display: inline-block;
    animation: blinker-badge 1.5s infinite;
}

@keyframes blinker-badge {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

/* 7. Quick Access Grid Styling */
.quick-access-box {
    background: #ffffff;
    color: #0c102a;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
}

.quick-access-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.25);
}

.quick-access-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.quick-access-lbl {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.quick-access-desc {
    font-size: 10.5px;
    color: #718096;
}

/* 8. Explore Jobs by Category Card Styling */
.category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(157, 78, 221, 0.4);
    transform: translateY(-2px);
}

.category-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-card-icon {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.category-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.category-card-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.category-card-arrow {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s;
}

.category-card:hover .category-card-arrow {
    transform: translateX(3px);
    color: #9d4edd;
}

/* 9. Three Columns Latest Updates Lists */
.update-grid-card {
    background: #12163b;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.update-card-header {
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid;
}

/* Column Header Color Coding */
.header-jobs { border-bottom-color: #00e676; background: rgba(0, 230, 118, 0.03); }
.header-admit { border-bottom-color: #2196f3; background: rgba(33, 150, 243, 0.03); }
.header-results { border-bottom-color: #ff007f; background: rgba(255, 0, 127, 0.03); }

.update-card-body {
    padding: 10px 18px 18px 18px;
    flex-grow: 1;
}

.cpt-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cpt-list-item:last-child {
    border-bottom: none;
}

.cpt-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-right: 15px;
}

.cpt-item-link {
    font-size: 13.5px;
    font-weight: 500;
    color: #e2e8f0;
    text-decoration: none;
    line-height: 1.4;
}

.cpt-item-link:hover {
    color: #9d4edd;
}

.cpt-item-sub {
    font-size: 11px;
    color: #718096;
}

/* Action Badges in lists */
.badge-action-apply {
    background: rgba(0, 230, 118, 0.08);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.25);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border 0.2s;
}

.badge-action-apply:hover {
    background: rgba(0, 230, 118, 0.16);
    border-color: #00e676;
}

.badge-action-download {
    background: rgba(33, 150, 243, 0.08);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.25);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border 0.2s;
}

.badge-action-download:hover {
    background: rgba(33, 150, 243, 0.16);
    border-color: #2196f3;
}

/* 10. Tools Grid & CTA Newsletter Section */
.tool-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(157, 78, 221, 0.4);
    transform: translateY(-3px);
}

.tool-card-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.tool-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.tool-card-desc {
    font-size: 10.5px;
    color: #a0aec0;
}

/* Telegram CTA box styling */
.cta-telegram-box {
    background: linear-gradient(135deg, #172554, #1e3a8a, #7b2cbf);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Newsletter Box styling */
.cta-newsletter-box {
    background: #12163b;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hide default GeneratePress header/navigation on homepage */
body.home .site-header,
body.home .main-navigation {
    display: none !important;
}

/* Custom Header Styling to Match Mockup */
.custom-header-container {
    background-color: #090c21;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trending-bar {
    max-width: 100% !important;
    margin: 0 auto;
    background-color: transparent !important;
    border-bottom: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px !important;
    font-size: 12px;
}

.trending-left {
    display: flex;
    align-items: center;
}

.trending-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #9d4edd;
}

.social-links svg {
    fill: currentColor;
}

.dark-mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
    background-color: #333;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}

/* Active status shows toggle switched to the right */
.toggle-active .toggle-switch,
.toggle-switch-on {
    background-color: #7b2cbf;
}

.toggle-active .toggle-switch::after,
.toggle-switch-on::after {
    transform: translateX(16px);
}

/* Brand Header Bar */
.brand-header-bar {
    max-width: 100% !important;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px !important;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7b2cbf, #ff007f);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.logo-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.header-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    width: 480px;
    height: 42px;
}

.header-search-cat {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: none !important;
    outline: none !important;
    padding: 0 15px !important;
    font-size: 13px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    cursor: pointer !important;
    height: 100% !important;
    width: auto !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.header-search-cat option {
    background: #090c21;
    color: #ffffff;
}

.header-search-input {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    padding: 0 15px !important;
    font-size: 13px !important;
    flex-grow: 1 !important;
    height: 100% !important;
}

.header-search-btn {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    padding: 0 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    height: 100% !important;
    transition: opacity 0.2s;
}

.header-search-btn:hover {
    opacity: 0.9;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-reg-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.login-reg-btn:hover,
.login-reg-btn:focus,
.login-reg-btn:active {
    color: #9d4edd !important;
    text-decoration: none !important;
}

.bookmark-icon-btn {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s;
}

.bookmark-icon-btn:hover,
.bookmark-icon-btn:focus,
.bookmark-icon-btn:active {
    color: #ff007f !important;
    text-decoration: none !important;
}

/* Custom Navigation Menu Bar */
.menu-bar-container {
    background-color: #0c102a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-menu-bar {
    max-width: 100% !important;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 10px 40px !important;
}

.menu-item-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.2s;
}

.menu-item-btn:hover,
.menu-item-btn:focus,
.menu-item-btn:active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    text-decoration: none !important;
}

.menu-item-btn.active {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(123, 44, 191, 0.3) !important;
}

.menu-item-btn.active:hover,
.menu-item-btn.active:focus,
.menu-item-btn.active:active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #7b2cbf, #9d4edd) !important;
}

.menu-item-more {
    margin-left: auto;
}

/* Force filter form select layout styling overrides */
.job-filter-form select {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.job-filter-form .filter-group {
    background: transparent !important;
    border: none !important;
}

/* Hide default GeneratePress footer widgets & copyright site info on homepage */
body.home .site-footer {
    display: none !important;
}

/* Custom Footer Styling */
.custom-footer {
    background-color: #090c21;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0 30px 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    max-width: 100% !important;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding: 0 40px !important;
}

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

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px 0;
    font-family: 'Outfit', sans-serif;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(135deg, #7b2cbf, #ff007f);
}

.footer-logo-desc {
    font-size: 13px;
    line-height: 1.6;
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.footer-social-links a:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.footer-social-links svg {
    fill: currentColor;
}

/* Social media colors */
.social-tg { background-color: #0088cc; }
.social-wa { background-color: #25d366; }
.social-fb { background-color: #1877f2; }
.social-tw { background-color: #000000; border: 1px solid rgba(255, 255, 255, 0.15); }
.social-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-yt { background-color: #ff0000; }

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul li a:hover {
    color: #9d4edd;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
    color: #7b2cbf;
    flex-shrink: 0;
}

.footer-bottom-bar {
    max-width: 100% !important;
    margin: 40px auto 0 auto;
    padding: 20px 40px 0 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-bar a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* Force ALL pages main wrappers to be 100% full-width, overriding theme defaults */
html body #page,
html body #page.grid-container,
html body #page #content,
html body #page .site-content,
html body #page #main,
html body #page .site-main,
html body #page main,
html body #page article,
html body #page .inside-article,
html body #page .entry-content,
html body #page .wp-block-group,
html body #page .wp-block-group__inner-container,
html body #page .entry-content > *,
html body #page .entry-content > .wp-block-group,
html body #page .entry-content > .wp-block-columns {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Homepage-specific layout overrides to match header and footer width */
html body.home #page .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    background-color: #0c102a !important;
}

html body.home #page #primary {
    width: 100% !important;
    max-width: 100% !important;
}

html body.home #page #primary,
html body.home #page main,
html body.home #page article,
html body.home #page .inside-article,
html body.home #page .entry-content,
html body.home #page .wp-block-group,
html body.home #page .wp-block-group__inner-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide default GeneratePress theme header, navigation and footer components on all pages */
.site-header, 
.main-navigation,
#site-navigation,
.site-footer,
.footer-widgets {
    display: none !important;
}

/* Styling for Archives and Single Pages to match the premium theme */

/* General background and container overrides for non-homepage */
body:not(.home) {
    background-color: #090c21 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Inter', sans-serif !important;
}

body:not(.home) #page,
body:not(.home) #primary,
body:not(.home) main {
    background-color: #090c21 !important;
}

html body:not(.home) #page .inside-article {
    padding: 0 !important;
    background-color: transparent !important;
    background: transparent !important;
}

/* Outer layout margins and paddings for non-homepage site-content - Full Width layout matching header and footer spacing */
html body:not(.home) #page .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 40px 40px !important; /* Matches 40px spacing of header/footer logo alignment */
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    background-color: #090c21 !important;
}

/* Prevent theme flexbox/float widths from squishing the sidebar in grid layout */
html body:not(.home) #page #primary {
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
}

html body:not(.home) #page #right-sidebar,
html body:not(.home) #page #secondary,
html body:not(.home) #page .sidebar {
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
}

/* Responsive grid layout for archives content/sidebar */
@media (max-width: 991px) {
    html body:not(.home) #page .site-content {
        grid-template-columns: 1fr;
        padding: 20px 20px !important;
    }
    html body.home #page .site-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Beautiful Archive Page Header */
.archive .page-header,
.blog .page-header {
    background: #0c102a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.archive .page-title {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Archive List Item Cards */
body:not(.home) article.post,
body:not(.home) article.type-jobs,
body:not(.home) article.type-admit_cards,
body:not(.home) article.type-results,
body:not(.home) article.type-answer_keys,
body:not(.home) article.type-syllabus {
    background: #0c102a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s !important;
}

body:not(.home) article:hover {
    transform: translateY(-2px);
    border-color: #7b2cbf !important;
    box-shadow: 0 8px 30px rgba(123, 44, 191, 0.15) !important;
}

/* Post/Archive Titles inside Cards */
body:not(.home) .entry-title,
body:not(.home) .entry-title a {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    transition: color 0.2s !important;
}

body:not(.home) .entry-title a:hover {
    color: #9d4edd !important;
}

/* Entry content & metadata text */
body:not(.home) .entry-meta,
body:not(.home) .entry-summary,
body:not(.home) .entry-content {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-top: 12px !important;
}

/* Archive read more link / detail buttons */
body:not(.home) .read-more,
body:not(.home) a.read-more {
    display: inline-block !important;
    margin-top: 15px !important;
    background: linear-gradient(135deg, #7b2cbf, #9d4edd) !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

body:not(.home) .read-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4) !important;
}

/* Sidebar Widgets for Archives and Single Pages */
html body #page .sidebar,
html body #page .widget-area,
html body #page #secondary {
    background-color: transparent !important;
    background: transparent !important;
}

html body #page .sidebar .widget,
html body #page .right-sidebar .widget,
html body #page .inside-right-sidebar .widget,
html body #page .inside-left-sidebar .widget,
html body #page .widget-area .widget,
html body #page .widget {
    background-color: #0c102a !important;
    background: #0c102a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure no Gutenberg block container inside widgets has a white background */
html body #page .sidebar .widget *,
html body #page .sidebar .widget .wp-block-group,
html body #page .sidebar .widget .wp-block-group__inner-container,
html body #page .sidebar .widget .wp-block-latest-posts,
html body #page .sidebar .widget .wp-block-search {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html body #page .sidebar .widget-title,
html body #page .sidebar .widget h2,
html body #page .sidebar .widget h3,
html body #page .sidebar .widget h4 {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    border-left: 3px solid #7b2cbf !important;
    padding-left: 10px !important;
    line-height: 1 !important;
    background: transparent !important;
}

/* Sidebar List Item Elements */
html body #page .sidebar .widget ul,
html body #page .sidebar .widget ol,
html body #page .sidebar .widget .wp-block-latest-posts__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body #page .sidebar .widget ul li,
html body #page .sidebar .widget ol li,
html body #page .sidebar .widget li,
html body #page .sidebar .widget .wp-block-latest-posts__list li {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    line-height: 1.4 !important;
    list-style: none !important;
    background: transparent !important;
}

html body #page .sidebar .widget ul li:last-child,
html body #page .sidebar .widget ol li:last-child,
html body #page .sidebar .widget li:last-child,
html body #page .sidebar .widget .wp-block-latest-posts__list li:last-child {
    border-bottom: none !important;
}

/* Sidebar Link Items styling */
html body #page .sidebar .widget a,
html body #page .sidebar .widget ul li a,
html body #page .sidebar .widget .wp-block-latest-posts a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    transition: color 0.2s !important;
    background: transparent !important;
}

html body #page .sidebar .widget a:hover,
html body #page .sidebar .widget ul li a:hover,
html body #page .sidebar .widget .wp-block-latest-posts a:hover {
    color: #9d4edd !important;
    text-decoration: none !important;
}

/* Gutenberg / Search Widget input & button styles */
html body #page .sidebar .wp-block-search__input,
html body #page .sidebar .search-field {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    outline: none !important;
    margin-right: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body #page .sidebar .wp-block-search__button,
html body #page .sidebar .search-submit {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    margin-top: 8px !important;
    width: 100% !important;
    display: block !important;
}

html body #page .sidebar .wp-block-search__button:hover,
html body #page .sidebar .search-submit:hover {
    opacity: 0.9 !important;
}

/* Beautiful Single Post Layouts */
.single-post #primary,
.single-jobs #primary,
.single-admit_cards #primary,
.single-results #primary,
.single-answer_keys #primary,
.single-syllabus #primary {
    background: transparent !important;
}

.single-post article,
.single-jobs article,
.single-admit_cards article,
.single-results article,
.single-answer_keys article,
.single-syllabus article {
    background: #0c102a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.single .entry-header {
    margin-bottom: 25px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 20px !important;
}

.single .entry-title {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 32px !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.single .entry-content {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.8 !important;
    font-size: 15.5px !important;
}

.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3 {
    /* color: #ffffff !important; */
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
}

/* Style default comment sections for single views */
.comments-area {
    background: #0c102a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin-top: 30px !important;
}

.comments-title,
.comment-reply-title {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
}

/* Beautiful Archive Navigation pagination styling */
.nav-links {
    display: flex !important;
    gap: 8px !important;
    margin-top: 30px !important;
}

.nav-links a,
.nav-links span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    width: auto !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 20px !important;
    background: #0c102a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}

.nav-links a:hover,
.nav-links span.current {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(123, 44, 191, 0.3) !important;
}

/* ==========================================
   HOMEPAGE RESPONSIVE STYLING
   ========================================== */

@media (max-width: 1024px) {
    /* Header branding adjustments */
    html body #page .brand-header-bar {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 15px 20px !important;
    }
    
    html body #page .header-search-bar {
        width: 100% !important;
        max-width: 500px !important;
    }
    
    /* Horizontal scrollable premium navigation bar on mobile/tablet */
    html body #page .menu-bar-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    html body #page .custom-menu-bar {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        padding: 8px 15px !important;
        width: max-content !important;
    }
    
    html body #page .menu-item-btn {
        flex-shrink: 0 !important;
    }

    /* Stack main homepage columns on tablet/mobile */
    html body.home #page .wp-block-columns {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    html body.home #page .wp-block-column {
        flex-basis: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* Top trending bar stacking */
    html body #page .trending-bar {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        text-align: center !important;
        padding: 8px 10px !important;
    }
    
    html body #page .trending-right {
        justify-content: center !important;
        width: 100% !important;
    }

    /* Header action buttons stacking */
    html body #page .header-actions {
        width: 100% !important;
        justify-content: center !important;
        gap: 15px !important;
    }
    
    /* Quick Access grid columns on mobile */
    html body.home #page .quick-access-grid,
    html body.home #page .entry-content .wp-block-columns:has(.quick-access-box) {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        flex-direction: row !important;
    }
    
    /* Stats counter grid columns on mobile */
    html body.home #page .entry-content .wp-block-columns:has(.hero-stat-card) {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        flex-direction: row !important;
    }

    /* Explore Jobs by Category columns on mobile */
    html body.home #page .entry-content .wp-block-columns:has(.category-card) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        flex-direction: row !important;
    }
    
    /* Footer layout on mobile */
    html body #page .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 40px 20px !important;
    }
    
    html body #page .footer-col {
        text-align: center !important;
    }
    
    html body #page .footer-col .logo-section {
        justify-content: center !important;
    }
    
    html body #page .footer-col .social-links {
        justify-content: center !important;
    }
    
    html body #page .footer-bottom-bar .container {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
        padding: 15px 20px !important;
    }
}

/* --- Single Job Post UI Style Namespace --- */
.sjs-job-post {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333333;
    line-height: 1.6;
    margin: 20px 0;
}

/* Header & Title Section */
.sjs-job-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}
.sjs-job-title-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sjs-job-title-icon {
    font-size: 28px;
    color: #3f51b5;
}
.sjs-job-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
}
.sjs-job-save-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s;
}
.sjs-job-save-btn:hover {
    background: #f5f5f5;
    border-color: #bbbbbb;
}

/* Dates metadata */
.sjs-job-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #d32f2f;
    margin-bottom: 20px;
}

/* Description Text */
.sjs-job-desc {
    font-size: 15px;
    color: #e2e8f0 !important;
    margin-bottom: 20px;
}
.sjs-job-desc strong {
    color: #ffffff !important;
}

/* App CTA Bar */
.sjs-job-app-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #d32f2f;
    background: #ffffff;
    color: #d32f2f;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    margin: 20px 0;
    transition: background 0.2s, color 0.2s;
}
.sjs-job-app-cta:hover {
    background: #d32f2f;
    color: #ffffff;
}

/* Social Share Row */
.sjs-job-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}
.sjs-job-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}
.sjs-job-social-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}
.sjs-job-social-wa { background: #25d366; }
.sjs-job-social-tg { background: #0088cc; }

/* Main Card Wrapper */
.sjs-job-card {
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #ffffff;
}
.sjs-job-card-header {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #eeeeee;
}
.sjs-job-card-main-title {
    font-size: 18px;
    font-weight: 800;
    color: #002b80 !important;
    margin: 0 0 5px 0;
}
.sjs-job-card-sub-title {
    font-size: 14px;
    font-weight: 700;
    color: #2e7d32 !important;
    margin: 0 0 5px 0;
}
.sjs-job-card-url {
    font-size: 14px;
    font-weight: 700;
    color: #002b80 !important;
    text-decoration: none;
}

/* Prevent WordPress wpautop paragraphs from breaking structural grids */
.sjs-job-grid-2 > p,
.sjs-job-actions-row > p,
.sjs-job-selection-row > p,
.sjs-job-social-row > p {
    display: none !important;
}

/* Two Column Grid section */
.sjs-job-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #dcdcdc;
}
.sjs-job-grid-col {
    padding: 0;
}
.sjs-job-grid-col:first-child {
    border-right: 1px solid #dcdcdc;
}

/* Table styles inside card */
.sjs-job-section-header {
    background: #512da8;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sjs-job-section-header-green { background: #2e7d32; }
.sjs-job-section-header-orange { background: #e65100; }

.sjs-job-table-list {
    width: 100%;
    border-collapse: collapse;
}
.sjs-job-table-list td {
    padding: 10px 15px;
    font-size: 13px;
    border-bottom: 1px solid #eeeeee;
    vertical-align: middle;
}
.sjs-job-table-list tr:last-child td {
    border-bottom: none;
}
.sjs-job-table-list td.sjs-lbl {
    font-weight: 700;
    color: #444444 !important;
    width: 45%;
}
.sjs-job-table-list td.sjs-val {
    font-weight: 500;
    color: #111111 !important;
}

/* Badges and text states */
.sjs-job-badge-orange {
    background: #ffe0b2;
    color: #e65100;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
}
.sjs-job-text-bold { font-weight: 700; }
.sjs-job-text-green { color: #2e7d32; font-weight: 700; }
.sjs-job-text-red { color: #d32f2f; font-weight: 700; }

/* Payment Modes styles */
.sjs-job-pay-modes {
    margin: 5px 0 0 0;
    padding-left: 0;
    list-style: none;
}
.sjs-job-pay-mode-item {
    font-size: 12.5px;
    color: #333333 !important;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Card footer text */
.sjs-job-card-footer {
    background: #f9f9f9;
    padding: 10px 15px;
    font-size: 12.5px;
    color: #333333 !important;
    border-top: 1px solid #dcdcdc;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Age Limit & Total Posts Section */
.sjs-job-age-box {
    padding: 0;
}
.sjs-job-total-post-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    height: 100%;
}
.sjs-job-total-post-val {
    font-size: 64px;
    font-weight: 900;
    color: #d32f2f;
    line-height: 1;
    margin-bottom: 5px;
}
.sjs-job-total-post-lbl {
    font-size: 18px;
    font-weight: 700;
    color: #111111 !important;
}

/* Action Buttons Row */
.sjs-job-actions-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}
.sjs-job-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sjs-job-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}
.sjs-job-action-btn span {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 2px;
}
.sjs-job-btn-green { background: #2e7d32; }
.sjs-job-btn-red { background: #d32f2f; }
.sjs-job-btn-blue { background: #1565c0; }
.sjs-job-btn-purple { background: #6a1b9a; }

/* Table Section Styling */
.sjs-job-table-section {
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #ffffff;
}
.sjs-job-table {
    width: 100%;
    border-collapse: collapse;
}
.sjs-job-table th {
    background: #f5f5f5;
    padding: 10px 15px;
    font-size: 13.5px;
    font-weight: 700;
    color: #333333 !important;
    border-bottom: 2px solid #dcdcdc;
    text-align: left;
}
.sjs-job-table td {
    padding: 10px 15px;
    font-size: 13.5px;
    border-bottom: 1px solid #eeeeee;
    color: #444444 !important;
}
.sjs-job-table tr:last-child td {
    border-bottom: none;
}
.sjs-job-table-header-purple {
    background: #512da8;
    color: #ffffff;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Also check section */
.sjs-job-check-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 25px;
}
.sjs-job-check-text {
    font-size: 14px;
    font-weight: 700;
    color: #c62828;
}
.sjs-job-check-btn {
    background: #d32f2f;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.sjs-job-check-btn:hover {
    background: #b71c1c;
    color: #ffffff;
}

/* How to Fill Form section */
.sjs-job-fill-section {
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #ffffff;
}
.sjs-job-fill-header {
    background: #1565c0;
    color: #ffffff;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sjs-job-fill-body {
    padding: 15px;
}
.sjs-job-fill-list {
    padding-left: 0;
    list-style: none;
    margin: 0;
}
.sjs-job-fill-item {
    font-size: 13.5px;
    color: #444444 !important;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.sjs-job-fill-item:last-child {
    margin-bottom: 0;
}
.sjs-job-fill-checkmark {
    color: #2e7d32;
    font-weight: bold;
    font-size: 14px;
}

/* Selection Mode section */
.sjs-job-selection-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
    padding: 0 15px 15px 15px;
}
.sjs-job-selection-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #eeeeee;
    padding: 12px;
    border-radius: 8px;
    background: #f9f9f9;
}
.sjs-job-selection-icon {
    font-size: 20px;
    color: #512da8;
}
.sjs-job-selection-title {
    font-size: 13px;
    font-weight: 700;
    color: #333333 !important;
}

/* Channel Follow Box */
.sjs-job-channels-box {
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 5px 15px;
    background: #ffffff;
    margin-bottom: 25px;
}
.sjs-job-channel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}
.sjs-job-channel-row:last-child {
    border-bottom: none;
}
.sjs-job-channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #333333 !important;
}
.sjs-job-channel-btn {
    padding: 6px 16px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.sjs-job-channel-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}
.sjs-job-channel-wa { background: #25d366; }
.sjs-job-channel-tg { background: #0088cc; }

/* Links Section */
.sjs-job-links-section {
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #ffffff;
}
.sjs-job-links-header {
    background: #ffebee;
    color: #d32f2f;
    padding: 12px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}
.sjs-job-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eeeeee;
}
.sjs-job-links-row:last-child {
    border-bottom: none;
}
.sjs-job-links-title {
    font-size: 14px;
    font-weight: 700;
    color: #002b80 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sjs-job-links-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d32f2f;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sjs-job-grid-2 {
        grid-template-columns: 1fr;
    }
    .sjs-job-grid-col:first-child {
        border-right: none;
        border-bottom: 1px solid #dcdcdc;
    }
    .sjs-job-actions-row {
        grid-template-columns: 1fr 1fr;
    }
    .sjs-job-selection-row {
        grid-template-columns: 1fr;
    }
    .sjs-job-social-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   11. Light Theme Colors
   ========================================================================== */
html.light-theme body,
body.light-theme.home {
    background-color: #f8fafc !important;
    background: #f8fafc !important;
    color: #0f172a !important;
}

/* Force GeneratePress container/content area to adopt light theme */
html.light-theme body #page, 
html.light-theme body .site-content, 
html.light-theme body .inside-article, 
html.light-theme body .separate-containers .inside-article, 
html.light-theme body .one-container .site-content,
html.light-theme body .container,
html.light-theme body #content {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Force header and navigation background */
html.light-theme body .site-header, 
html.light-theme body .inside-header, 
html.light-theme body .main-navigation, 
html.light-theme body .navigation-clone,
html.light-theme body .sticky-navigation-placeholder,
html.light-theme body .inside-navigation,
html.light-theme .custom-header-container {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Force footer styling */
html.light-theme body .site-footer, 
html.light-theme body .footer-widgets, 
html.light-theme body .site-info, 
html.light-theme body .inside-footer-widgets,
html.light-theme body .inside-site-info {
    background-color: #f8fafc !important;
    background: #f8fafc !important;
    color: #475569 !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* Headings color */
html.light-theme h1, 
html.light-theme h2, 
html.light-theme h3, 
html.light-theme h4, 
html.light-theme h5, 
html.light-theme h6,
html.light-theme .logo-title {
    color: #0f172a !important;
}

/* Logo Subtext / Tagline */
html.light-theme .logo-tagline {
    color: #64748b !important;
}

/* Trending bar light theme styling */
html.light-theme .trending-bar {
    background-color: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html.light-theme .trending-left {
    color: #334155 !important;
}

html.light-theme .trending-left > span:not(.trending-badge):not(.badge-new) {
    color: #334155 !important;
}

html.light-theme .social-links span {
    color: #64748b !important;
}

html.light-theme .social-links a {
    color: #475569 !important;
}

html.light-theme .social-links a:hover {
    color: #7b2cbf !important;
}

/* Search bar on top */
html.light-theme .header-search-bar {
    background-color: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

html.light-theme .header-search-bar input,
html.light-theme .header-search-bar select,
html.light-theme .header-search-cat {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

html.light-theme .header-search-btn {
    color: #475569 !important;
}

/* Menu items in light theme */
html.light-theme body .main-navigation a,
html.light-theme body .main-navigation .main-nav ul li a {
    color: #334155 !important;
}

html.light-theme body .main-navigation .main-nav ul li:hover > a,
html.light-theme body .main-navigation .main-nav ul li.current-menu-item > a {
    background-color: #7b2cbf !important;
    color: #ffffff !important;
}

/* Hero form filter styling */
html.light-theme .job-filter-form {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .job-filter-form select {
    color: #0f172a !important;
}

html.light-theme .job-filter-form select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

html.light-theme .job-filter-form .filter-group::before {
    color: #475569 !important;
}

html.light-theme .job-filter-form .filter-group:not(:last-of-type)::after {
    background: #e2e8f0 !important;
}

/* Stats cards styling */
html.light-theme .hero-stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .hero-stat-card:hover {
    border-color: rgba(123, 44, 191, 0.3) !important;
}

html.light-theme .hero-stat-label {
    color: #64748b !important;
}

html.light-theme .hero-stat-val {
    color: #0f172a !important;
}

/* Quick Access Cards and items */
html.light-theme .quick-access-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .quick-access-card:hover {
    border-color: rgba(123, 44, 191, 0.3) !important;
}

html.light-theme .quick-access-title {
    color: #0f172a !important;
}

html.light-theme .quick-access-desc {
    color: #64748b !important;
}

/* Category Cards styling */
html.light-theme .category-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .category-card:hover {
    background: #f8fafc !important;
    border-color: rgba(157, 78, 221, 0.4) !important;
}

html.light-theme .category-card-icon {
    color: #475569 !important;
}

html.light-theme .category-card-title {
    color: #0f172a !important;
}

html.light-theme .category-card-count {
    color: #64748b !important;
}

html.light-theme .category-card-arrow {
    color: #64748b !important;
}

/* Three Columns Latest Updates Lists */
html.light-theme .update-grid-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .update-card-header span {
    color: #0f172a !important;
}

html.light-theme .cpt-list-item {
    border-bottom: 1px solid #f1f5f9 !important;
}

html.light-theme .cpt-item-link {
    color: #334155 !important;
}

html.light-theme .cpt-item-link:hover {
    color: #7b2cbf !important;
}

html.light-theme .cpt-item-sub {
    color: #64748b !important;
}

/* Tool Cards (Tools & Resources) */
html.light-theme .tool-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .tool-card:hover {
    background: #f8fafc !important;
    border-color: rgba(157, 78, 221, 0.4) !important;
}

html.light-theme .tool-card-title {
    color: #0f172a !important;
}

html.light-theme .tool-card-desc {
    color: #64748b !important;
}

/* Newsletter Box */
html.light-theme .cta-newsletter-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .cta-newsletter-box h3 {
    color: #0f172a !important;
}

html.light-theme .cta-newsletter-box p {
    color: #475569 !important;
}

/* Form input styling inside newsletter */
html.light-theme .cta-newsletter-box input {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

/* Toggle Switch label text */
html.light-theme .dark-mode-toggle {
    color: #475569 !important;
}

/* ==========================================================================
   12. Custom Sidebar Widgets Override
   ========================================================================== */
.inside-right-sidebar > .widget:not(.sjs-custom-widget) {
    display: none !important;
}

.sjs-custom-widget {
    background: #12163b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.sjs-custom-widget .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(157, 78, 221, 0.5);
    display: block;
}

/* Custom Search Widget */
.sjs-sidebar-search {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sjs-sidebar-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.sjs-sidebar-search-input:focus {
    border-color: #9d4edd;
}

.sjs-sidebar-search-btn {
    width: 100%;
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sjs-sidebar-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.5);
}

/* Custom Recent Comments */
.sjs-recent-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sjs-recent-comments li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.sjs-recent-comments li:last-child {
    border-bottom: none;
}

.sjs-recent-comments .comment-author {
    font-weight: 700;
    color: #e2e8f0;
}

.sjs-recent-comments a {
    color: #9d4edd;
    text-decoration: none;
    font-weight: 500;
}

.sjs-recent-comments a:hover {
    text-decoration: underline;
}

/* Remove default margins for shortcodes inside sidebar */
.sjs-custom-widget .important-updates-list {
    margin-top: 0 !important;
}

/* Light theme overrides for custom widgets */
html.light-theme .sjs-custom-widget {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .sjs-custom-widget .widget-title {
    color: #0f172a !important;
    border-bottom-color: rgba(157, 78, 221, 0.3) !important;
}

html.light-theme .sjs-sidebar-search-input {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.light-theme .sjs-recent-comments li {
    border-bottom-color: #f1f5f9 !important;
    color: #475569 !important;
}

html.light-theme .sjs-recent-comments .comment-author {
    color: #1e293b !important;
}

html.light-theme .sjs-recent-comments a {
    color: #7b2cbf !important;
}

/* ==========================================================================
   13. Mobile Responsive Media Queries
   ========================================================================== */

@media (max-width: 992px) {
    /* Footer Grid Layout - Tablet */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    .footer-grid > .footer-col:first-child {
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    /* Global & Container overrides */
    .home .entry-content > div {
        padding: 15px !important;
    }

    /* 1. Header Navigation & Branding */
    .trending-bar {
        padding: 8px 15px !important;
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
    
    .trending-right {
        width: 100% !important;
        justify-content: center !important;
        gap: 15px !important;
    }
    
    .trending-right .social-links {
        display: none !important; /* Hide social links from top header on mobile */
    }

    .brand-header-bar {
        padding: 15px 15px !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }

    .logo-section {
        justify-content: center !important;
        text-align: center !important;
    }

    .header-search-bar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .header-actions {
        justify-content: center !important;
        gap: 15px !important;
    }

    /* Horizontal scrolling mobile menu bar */
    .custom-menu-bar {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 15px !important;
        gap: 8px !important;
        -ms-overflow-style: none !important;  /* IE and Edge */
        scrollbar-width: none !important;  /* Firefox */
    }
    
    .custom-menu-bar::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari, Opera */
    }

    .menu-item-btn {
        flex-shrink: 0 !important;
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
    
    .menu-item-more {
        margin-left: 0 !important; /* Reset auto-margin push */
    }

    /* 2. Homepage Content Layouts */
    /* Hero section: Details + Sidebar Updates Card */
    .home .entry-content > div > div:has(> .important-updates-card),
    .home .entry-content > div > div:nth-child(2) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Hero section text */
    .home .entry-content h1 {
        font-size: 32px !important;
        text-align: center !important;
    }
    
    .home .entry-content p {
        font-size: 14px !important;
        text-align: center !important;
    }

    /* Counters grid */
    .home .entry-content div:has(> .hero-stat-card) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Quick Access Section */
    .home .entry-content div:has(> .quick-access-box) {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: 10px !important;
    }

    .quick-access-box {
        padding: 12px 8px !important;
    }

    /* Category Cards */
    .home .entry-content div:has(> .category-card) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Three Columns updates grids */
    .home .entry-content div:has(> .update-grid-card) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Tools & Resources Grid */
    .home .entry-content div:has(> .tool-card) {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    /* Telegram & Newsletter CTAs */
    .home .entry-content div:has(> .cta-telegram-box) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 3. Footer Layout - Mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 15px !important;
    }

    .footer-grid > .footer-col:first-child {
        grid-column: span 1 !important;
    }

    .footer-bottom-bar {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
        padding: 20px 15px 0 15px !important;
    }
}

@media (max-width: 480px) {
    /* Header search dropdown and input font adjustments to fit screen */
    .header-search-cat {
        padding: 0 8px !important;
        font-size: 11px !important;
    }

    .header-search-input {
        padding: 0 8px !important;
        font-size: 11px !important;
    }

    .header-search-btn {
        padding: 0 12px !important;
        font-size: 11px !important;
    }

    /* Category Cards to 1 column */
    .home .entry-content div:has(> .category-card) {
        grid-template-columns: 1fr !important;
    }

    /* Tools & Resources Grid to 2 columns */
    .home .entry-content div:has(> .tool-card) {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Telegram CTA Box inner flex stacking */
    .cta-telegram-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .cta-telegram-box > div {
        max-width: 100% !important;
    }

    .cta-telegram-box .filter-submit-btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Stats counter grid to 1 column if extremely narrow */
    .home .entry-content div:has(> .hero-stat-card) {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   Responsive & UX Optimizations (Phase 3)
   ========================================== */

/* Responsive Table Wrapper */
.sjs-responsive-table {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
html.light-theme .sjs-responsive-table {
    border-color: #cbd5e1;
}
.sjs-responsive-table table {
    margin-bottom: 0 !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

/* Mobile Sticky CTA Bar */
@media (max-width: 767px) {
    .sjs-mobile-sticky-cta {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #0f172a !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 10px 16px !important;
        z-index: 99999 !important;
        display: flex !important;
        gap: 10px !important;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    html.light-theme .sjs-mobile-sticky-cta {
        background: #ffffff !important;
        border-top-color: #e2e8f0 !important;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08) !important;
    }
    .sjs-mobile-sticky-cta .sjs-sticky-btn {
        flex: 1 !important;
        text-align: center !important;
        padding: 12px 10px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        color: #ffffff !important;
        transition: all 0.2s ease;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        border: none !important;
        min-height: 48px !important; /* Touch target */
    }
    .sjs-mobile-sticky-cta .sjs-sticky-btn-apply {
        background: #6366f1 !important;
    }
    .sjs-mobile-sticky-cta .sjs-sticky-btn-apply:hover {
        background: #4f46e5 !important;
    }
    .sjs-mobile-sticky-cta .sjs-sticky-btn-download {
        background: #10b981 !important;
    }
    .sjs-mobile-sticky-cta .sjs-sticky-btn-download:hover {
        background: #059669 !important;
    }
    body.has-mobile-sticky-cta {
        padding-bottom: 72px !important;
    }
}
@media (min-width: 768px) {
    .sjs-mobile-sticky-cta {
        display: none !important;
    }
}

/* E-E-A-T Author Card & Timestamps */
.sjs-meta-timestamps {
    display: flex;
    gap: 15px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}
html.light-theme .sjs-meta-timestamps {
    color: #475569;
    border-bottom-color: #cbd5e1;
}
.sjs-author-card {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 40px !important;
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
}
html.light-theme .sjs-author-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
.sjs-author-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #6366f1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}
.sjs-author-info {
    flex: 1;
}
.sjs-author-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
html.light-theme .sjs-author-name {
    color: #0f172a;
}
.sjs-author-bio {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}
html.light-theme .sjs-author-bio {
    color: #475569;
}

/* Related Notifications Widget */
.sjs-related-posts {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}
html.light-theme .sjs-related-posts {
    border-top-color: #cbd5e1;
}
.sjs-related-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}
html.light-theme .sjs-related-title {
    color: #0f172a;
}
.sjs-related-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 16px !important;
}
.sjs-related-card {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.sjs-related-card:hover {
    border-color: #6366f1 !important;
    transform: translateY(-2px);
}
html.light-theme .sjs-related-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
html.light-theme .sjs-related-card:hover {
    border-color: #6366f1 !important;
}
.sjs-related-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.45;
}
html.light-theme .sjs-related-post-title {
    color: #0f172a;
}
.sjs-related-post-meta {
    font-size: 12px;
    color: #64748b;
}
html.light-theme .sjs-related-post-meta {
    color: #475569;
}

/* ==========================================
   Accessibility & Keyboard Navigation (Phase 4)
   ========================================== */

/* WCAG Compliant Focus Outlines */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid #6366f1 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3) !important;
}

/* Older Browser Fallbacks */
@supports not selector(:focus-visible) {
    a:focus,
    button:focus,
    select:focus,
    input:focus,
    [role="button"]:focus {
        outline: 3px solid #6366f1 !important;
        outline-offset: 3px !important;
    }
}



