/*
Theme Name: Rojgar Saathi Pro
Theme URI: https://rojgarsaathi.com
Description: A modern, modular, responsive child theme for GeneratePress focused on job portals, government exams, vacancies, and recruitment updates.
Author: Amnish
Author URI: https://rojgarsaathi.com
Template: generatepress
Version: 2.9.3
Text Domain: rojgarsaathi
*/

:root {
    /* Color Palette */
    --wph-primary: #0b5cff;
    /* Job Portal Emerald */
    --wph-secondary: #0846c4;
    /* Teal Accent */
    --wph-bg: #ffffff;
    /* Light Slate Body Background */
    --wph-text: #0f172a;
    /* Slate 900 Text */
    --wph-text-muted: #64748b;
    /* Slate 500 Subtext */
    --wph-border: #e2e8f0;
    /* Slate 200 border */
    --wph-card-bg: #ffffff;
    /* Card Background */
    --wph-success: #0b5cff;
    /* Verified / Success Green */

    /* Layout */
    --wph-container: 1240px;
    --wph-spacing: 0.85rem;
    --wph-radius: 10px;
    --wph-radius-sm: 6px;
    --wph-radius-full: 9999px;

    /* Shadows */
    --wph-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
    --wph-shadow-hover: 0 12px 20px -5px rgba(15, 23, 42, 0.06), 0 6px 8px -6px rgba(15, 23, 42, 0.06);
    --wph-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

    /* Typography defaults */
    --wph-font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base resets & typography */
*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--wph-text);
    font-family: var(--wph-font);
    line-height: 1.5;
    background-color: #ffffff !important;
}

.site,
#page {
    overflow-x: hidden;
    width: 100%;
}

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

a {
    color: var(--wph-text);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Typography Scale & Hierarchy */
h1 {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 0.65rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.4rem;
}

h5 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.35rem;
}

h6 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0;
    margin-bottom: 0.3rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.65;
    color: #334155;
    font-size: 0.96rem;
}

/* =========================
   Logo Sizing & Responsiveness
========================= */
.wph-header-inner .site-branding {
    width: 18%;
    /* Scale dynamically relative to header container on desktop */
    max-width: 200px;
    min-width: 130px;
}

.wph-header-inner .site-branding .custom-logo-link {
    display: block;
    width: 100%;
}

.wph-header-inner .site-branding img,
.wph-header-inner .site-branding .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Mobile header logo responsive width */
.wph-mobile-header .site-branding {
    width: 40%;
    max-width: 145px;
    min-width: 115px;
}

.wph-mobile-header .site-branding .custom-logo-link {
    display: block;
    width: 100%;
}

.wph-mobile-header .site-branding img,
.wph-mobile-header .site-branding .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Mobile drawer logo responsive width */
.wph-mobile-drawer .site-branding {
    width: 55%;
    max-width: 160px;
    min-width: 115px;
}

.wph-mobile-drawer .site-branding .custom-logo-link {
    display: block;
    width: 100%;
}

.wph-mobile-drawer .site-branding img,
.wph-mobile-drawer .site-branding .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Footer logo responsive width */
.footer-widget-col .custom-logo-link {
    display: block;
    width: 55%;
    max-width: 160px;
    min-width: 110px;
    margin-bottom: 1.25rem;
}

.footer-widget-col .custom-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* ==========================================================================
   Compact Job Card (archive, category and search listings)
   Shows only: title, last date, Apply Now. The whole card opens the post.
   ========================================================================== */
.wph-job-card {
    background: #ffffff;
    border: 1px solid var(--wph-border, #e2e8f0);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    position: relative; /* anchor for the stretched title link */
    overflow: hidden;
    cursor: pointer;
}
.wph-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--wph-primary, #0b5cff);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.wph-job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}
.wph-job-card:hover::before {
    opacity: 1;
}
.wph-jc-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.38;
    margin: 0;
}
.wph-jc-title a {
    color: var(--wph-text, #0f172a);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Stretch the title link over the whole card so any click opens the post */
.wph-jc-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.wph-job-card:hover .wph-jc-title a {
    color: var(--wph-primary, #0b5cff);
}
.wph-jc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.wph-jc-deadline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #dc2626;
    background: #fef2f2;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.wph-jc-btn-apply {
    position: relative;
    z-index: 2; /* sits above the stretched title link so the button still works */
    display: inline-block;
    margin-left: auto;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--wph-primary, #0b5cff);
    border: none;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(11, 92, 255, 0.25);
}
.wph-jc-btn-apply:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}

/* ==========================================================================
   Post-End Apply CTA Section
   ========================================================================== */
.wph-post-end-cta {
    background: linear-gradient(135deg, rgba(11, 92, 255, 0.05) 0%, rgba(8, 70, 196, 0.08) 100%);
    border: 2px solid var(--wph-primary, #0b5cff);
    border-radius: 14px;
    padding: 24px 26px;
    margin: 32px 0 28px;
    box-shadow: 0 4px 18px -2px rgba(11, 92, 255, 0.12);
}
.wph-post-end-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}
.wph-post-end-cta-text h4 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--wph-text, #0f172a);
}
.wph-post-end-cta-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--wph-text-muted, #64748b);
    line-height: 1.55;
}
.wph-post-end-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.wph-post-end-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wph-primary, #0b5cff);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.96rem;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(11, 92, 255, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.wph-post-end-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 92, 255, 0.45);
    filter: brightness(1.05);
}
.wph-post-end-notif-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.wph-post-end-notif-btn:hover {
    border-color: var(--wph-primary, #0b5cff);
    color: var(--wph-primary, #0b5cff) !important;
}

/* ==========================================================================
   Sidebar UI/UX & Widget 10–15px Padding (Requirement 1 & 9)
   ========================================================================== */
.wph-single-sidebar,
.wph-sidebar {
    padding: 0;
    box-sizing: border-box;
}
.wph-sidebar-widget {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--wph-border);
    margin-bottom: 16px;
    box-sizing: border-box;
}
.wph-sidebar-widget .widget-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--wph-text);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.wph-sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--wph-primary, #0b5cff);
    border-radius: 2px;
}
.wph-stay-updated-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--wph-border);
}
.wph-stay-updated-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.wph-stay-updated-count {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
}
.wph-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: padding-left 0.2s ease;
}
.wph-cat-item:hover {
    padding-left: 6px;
}
.wph-cat-item:last-child {
    border-bottom: none;
}
.wph-cat-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--wph-text);
    text-decoration: none;
    transition: color 0.2s;
}
.wph-cat-link:hover {
    color: var(--wph-primary, #0b5cff);
}
.wph-cat-count {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    transition: all 0.2s;
}
.wph-cat-item:hover .wph-cat-count {
    background: rgba(11, 92, 255, 0.12);
    color: var(--wph-primary, #0b5cff);
}

/* ==========================================================================
   Author Box UI/UX (Requirement 7)
   ========================================================================== */
.wph-author-box {
    display: flex;
    gap: 24px;
    background: #ffffff !important;
    border: 1px solid var(--wph-border) !important;
    border-top: 4px solid var(--wph-primary, #0b5cff) !important;
    border-radius: 14px;
    padding: 26px 28px;
    margin: 36px 0;
    align-items: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.wph-author-box-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--wph-primary, #0b5cff);
    box-shadow: 0 4px 14px rgba(11, 92, 255, 0.18);
    transition: transform 0.3s ease;
}
.wph-author-box:hover .wph-author-box-avatar {
    transform: scale(1.04);
}
.wph-author-box-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wph-primary, #0b5cff);
    background: rgba(11, 92, 255, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 6px;
}
.wph-author-box-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--wph-text);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wph-author-box-bio {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--wph-text-muted);
    margin: 0 0 14px;
}
@media (max-width: 640px) {
    .wph-author-box {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        padding: 20px 16px;
    }
    .wph-author-box-name {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

/* =============================================================
   Final Settings & UI Rules
   ============================================================= */

/* Settings Wrap Padding (Requirement 4) */
.wph-settings-wrap {
    padding: 15px 15px 40px 0px !important;
}

/* Footer Theme Line (Enhanced UI/UX & Pill Radius) */
.wph-footer-theme-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 6px 18px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.wph-footer-theme-line:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(11, 92, 255, 0.4);
    transform: translateY(-1px);
}
.wph-footer-theme-line strong,
.wph-footer-theme-line a,
.wph-footer-theme-line .wph-footer-brand {
    color: var(--wph-primary, #0b5cff) !important;
    font-weight: 800;
    text-decoration: none;
}

/* Homepage Job Grid (2 Columns Desktop, 1 Column Mobile — Requirement 3) */
.wph-job-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
@media (max-width: 768px) {
    .wph-job-grid-4 {
        grid-template-columns: 1fr !important;
    }
}

/* Job Highlights & Overview Responsive Table (Requirement 11) */
.wph-overview-table {
    width: 100%;
    border-collapse: collapse;
}
.wph-overview-table th {
    width: 35%;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    text-align: left;
}
.wph-overview-table td {
    color: #0f172a;
    font-size: 0.95rem;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.wph-overview-table tr:last-child th,
.wph-overview-table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 640px) {
    .wph-overview-table,
    .wph-overview-table tbody,
    .wph-overview-table tr,
    .wph-overview-table th,
    .wph-overview-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .wph-overview-table tr {
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 10px 14px !important;
    }
    .wph-overview-table th {
        background: transparent !important;
        padding: 4px 0 2px 0 !important;
        font-size: 0.78rem !important;
        text-transform: uppercase !important;
        color: #64748b !important;
        border: none !important;
    }
    .wph-overview-table td {
        padding: 2px 0 6px 0 !important;
        font-size: 0.94rem !important;
        font-weight: 700 !important;
        border: none !important;
    }
}

/* =============================================================
   Single Post, Layout Gap & Content Rules
   ============================================================= */

/* Single Layout Gap: 15px (Requirement 2) */
.wph-single-layout {
    gap: 15px !important;
}
@media (max-width: 1024px) {
    .wph-single-layout {
        gap: 15px !important;
    }
}

/* Article Heading Highlight (Requirement 8) */
.wph-post-content h1,
.wph-post-content h2:not(.wph-overview-heading),
.wph-post-content h3,
.wph-post-content h4,
.wph-post-content h5,
.wph-post-content h6 {
    position: relative;
    padding-left: 14px;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--wph-text);
    font-weight: 800;
    line-height: 1.35;
}
.wph-post-content h1::before,
.wph-post-content h2:not(.wph-overview-heading)::before,
.wph-post-content h3::before,
.wph-post-content h4::before,
.wph-post-content h5::before,
.wph-post-content h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: linear-gradient(180deg, var(--wph-primary, #0b5cff) 0%, var(--wph-secondary, #0846c4) 100%);
    border-radius: 4px;
}

/* Article Content Styling (Requirement 9) */
.wph-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid var(--wph-border);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.wph-post-content table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
    font-size: 0.9rem;
}
.wph-post-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 0.92rem;
    vertical-align: middle;
}
.wph-post-content table tr:last-child td {
    border-bottom: none;
}
.wph-post-content table tr:hover td {
    background: #fafafa;
}

.wph-post-content ul,
.wph-post-content ol {
    margin: 18px 0 22px 20px;
    padding: 0;
    color: var(--wph-text);
    line-height: 1.75;
}
.wph-post-content ul {
    list-style: none;
}
.wph-post-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 1.02rem;
}
.wph-post-content ul li::before {
    content: '•';
    position: absolute;
    left: 2px;
    top: -2px;
    color: var(--wph-primary, #0b5cff);
    font-size: 1.4rem;
    line-height: 1;
}
.wph-post-content ol li {
    margin-bottom: 10px;
    padding-left: 6px;
    font-size: 1.02rem;
}

/* Post-End Apply Button / CTA Section (Requirement 3) */
.wph-post-end-cta {
    background: linear-gradient(135deg, rgba(11, 92, 255,0.06) 0%, rgba(8, 70, 196,0.08) 100%);
    border: 1px solid rgba(11, 92, 255, 0.22);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    margin: 32px 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.wph-post-end-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(11, 92, 255, 0.12);
    color: var(--wph-primary, #0b5cff);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.wph-post-end-cta-title {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--wph-text);
    line-height: 1.3;
}
.wph-post-end-cta-desc {
    margin: 0 auto 20px;
    color: var(--wph-text-muted);
    font-size: 0.94rem;
    max-width: 580px;
    line-height: 1.6;
}
.wph-post-end-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.wph-post-end-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.wph-post-end-btn-primary {
    background: linear-gradient(135deg, var(--wph-primary, #0b5cff) 0%, var(--wph-secondary, #0846c4) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(11, 92, 255, 0.3);
}
.wph-post-end-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 92, 255, 0.45);
}
.wph-post-end-btn-secondary {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.wph-post-end-btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--wph-primary, #0b5cff);
    color: var(--wph-primary, #0b5cff) !important;
    transform: translateY(-2px);
}

/* ── SEO Quake Nofollow Padding (5px 18px) ── */
.wph-seoquake-nofollow {
    padding: 5px 18px !important;
}

/* ── Hero Search Input Border Radius ── */
.wph-hero-search-input {
    border-radius: 10px !important;
}

/* ── Archive Page 2 Columns ── */
.wph-archive-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
    width: 100%;
}
@media (max-width: 768px) {
    .wph-archive-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
}

/* ── Header Search Button ── */
.wph-header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--wph-border, #e2e8f0);
    color: var(--wph-text, #0f172a) !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.wph-header-search-btn:hover {
    background: rgba(11, 92, 255, 0.08);
    border-color: var(--wph-primary, #0b5cff);
    color: var(--wph-primary, #0b5cff) !important;
    transform: translateY(-1px);
}

/* ── Mobile Hamburger Menu Social Buttons ── */
.wph-drawer-socials .wph-social-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.wph-drawer-socials .wph-social-links a.wph-social-icon,
.wph-drawer-socials a.wph-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155 !important;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.wph-drawer-socials .wph-social-links a.wph-social-icon:hover,
.wph-drawer-socials a.wph-social-icon:hover {
    background: var(--wph-primary, #0b5cff);
    border-color: var(--wph-primary, #0b5cff);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 92, 255, 0.25);
}

/* ==========================================================================
   Rojgar Saathi homepage (front-page.php)
   ========================================================================== */
.rs-home {
  --rs-blue: #0b5cff; --rs-blue-dark: #0846c4; --rs-ink: #0b1530; --rs-muted: #5b6477;
  --rs-page: #f1f4fa; --rs-line: #e5e8f0; --rs-green: #0b5cff;
  background: var(--rs-page); color: var(--rs-ink);
}
.rs-home a { text-decoration: none; }
.rs-home h2, .rs-home h3, .rs-home p { margin: 0; }
.rs-wrap { max-width: 1450px; margin: 0 auto; padding: 0 16px; }
/* Remove GeneratePress default gaps above the chip strip and between strip and hero */
main.rs-home.site-main { margin: 0 !important; padding: 0 !important; }
main.rs-home > .rs-chips, main.rs-home > .rs-hero { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Category chip strip */
.rs-chips { background: #fff; border-bottom: 1px solid var(--rs-line); overflow: hidden; }
.rs-chips-track {
  display: flex; width: max-content;
  padding: 0; line-height: 1; animation: rs-scroll 200s linear infinite;
}
.rs-chips:hover .rs-chips-track { animation-play-state: paused; }
.rs-chips a {
  flex: none; white-space: nowrap; color: var(--rs-ink);
  padding: 5px 12px 6px; font-size: 13px; line-height: 1; font-weight: 500;
}
.rs-chips a:hover { color: var(--rs-blue); }
@keyframes rs-scroll { to { transform: translateX(-50%); } }

/* Hero band and featured tiles */
.rs-hero { position: relative; padding-top: 10px; }
.rs-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 56px;
  background: linear-gradient(90deg, #3b4bc8 0%, #9a5a80 55%, #f0731f 100%);
}
.rs-hero-card {
  position: relative; background: #fff; border-radius: 12px; padding: 8px;
  box-shadow: 0 4px 18px rgba(11, 21, 48, .08);
}
.rs-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rs-tile {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 8px; border-radius: 8px; color: #fff; text-align: center;
  font-weight: 700; font-size: 13px; line-height: 1.3;
  background: linear-gradient(135deg, var(--t1), var(--t2));
}
.rs-home a.rs-tile { color: #fff; }
.rs-tile:hover { filter: brightness(1.08); }
.rs-tile:nth-child(8n+1) { --t1: #8b2fe8; --t2: #5b21c9; }
.rs-tile:nth-child(8n+2) { --t1: #0e95b5; --t2: #0a6585; }
.rs-tile:nth-child(8n+3) { --t1: #c47b00; --t2: #8f4e00; }
.rs-tile:nth-child(8n+4) { --t1: #0b5cff; --t2: #0846c4; }
.rs-tile:nth-child(8n+5) { --t1: #e0245e; --t2: #a3123f; }
.rs-tile:nth-child(8n+6) { --t1: #3b4bd8; --t2: #25318f; }
.rs-tile:nth-child(8n+7) { --t1: #ef6c1a; --t2: #b24a0a; }
.rs-tile:nth-child(8n+8) { --t1: #334155; --t2: #0f172a; }

/* Social circles: one line on phone and desktop */
.rs-join-row { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 12px 0; text-align: center; }
.rs-join-text { margin: 0; font-size: 14px; font-weight: 600; color: #2a3350; line-height: 1.4; }
.rs-join-icons { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 10px; max-width: 100%; }
.rs-join-btn {
  flex: 0 1 42px; width: 42px; height: 42px; min-width: 32px; aspect-ratio: 1 / 1;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
  transition: transform .15s ease, filter .15s ease;
}
.rs-home a.rs-join-btn { color: #fff; }
.rs-join-btn svg { width: 22px; height: 22px; flex: none; }
.rs-join-wa { background: #1f9d4f; }
.rs-join-tg { background: #1e8bc3; }
.rs-join-yt { background: #e62117; }
.rs-join-ig { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.rs-join-fb { background: #1877f2; }
.rs-join-x  { background: #111; }
.rs-join-in { background: #0a66c2; }
.rs-join-btn i { font-size: 19px; }
.rs-join-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
@media (min-width: 768px) {
  .rs-join-row { flex-direction: row; justify-content: center; gap: 16px; }
  .rs-join-text { font-size: 15px; }
  .rs-join-btn { flex-basis: 44px; width: 44px; height: 44px; }
}
@media (max-width: 400px) {
  .rs-join-icons { gap: 7px; }
  .rs-join-btn svg { width: 19px; height: 19px; }
  .rs-join-btn i { font-size: 16px; }
}

/* Ad space: empty and invisible until ads are added */
.rs-ad { margin: 14px 0; display: flex; align-items: center; justify-content: center; }
.rs-ad:empty { display: none; }
.rs-page-grid { display: block; }
.rs-ad-side { display: none; }

/* Job columns */
.rs-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: stretch; }
.rs-col {
  background: #fff; border: 1px solid var(--rs-line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(11, 21, 48, .04);
}
.rs-col-title {
  padding: 8px 10px; text-align: center; background: var(--rs-blue); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1.4;
}
.rs-col-body { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.rs-job { position: relative; background: #fafbfe; border: 1px solid #e6e9f2; border-radius: 8px; padding: 8px 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.rs-job:hover { border-color: var(--rs-blue); box-shadow: 0 2px 8px rgba(11, 92, 255, .12); }
.rs-job-title { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.rs-job-title a { color: var(--rs-ink); }
.rs-job:hover .rs-job-title a, .rs-job-title a:hover { color: var(--rs-blue); }
/* Stretch the title link over the whole card so any click opens the post */
.rs-job-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rs-job-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.rs-job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 12px; color: var(--rs-muted); }
.rs-job-new { display: inline-flex; align-items: center; gap: 6px; color: var(--rs-ink); font-weight: 600; }
.rs-job-new::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rs-green); }
.rs-job-upd { display: inline-block; background: #fff4e5; color: #b45309; border: 1px solid #fcd9a8; border-radius: 4px; padding: 1px 7px; font-size: 11.5px; font-weight: 700; line-height: 1.5; }
.rs-upd-date { font-size: 12px; color: var(--rs-muted); margin-left: 4px; white-space: nowrap; }
.rs-job-last { display: inline-block; background: #fdecec; color: #c0262d; border: 1px solid #f5b5b8; border-radius: 4px; padding: 1px 7px; font-size: 11.5px; font-weight: 700; line-height: 1.5; }
.rs-job-type { display: inline-block; background: #eaf1ff; color: #0846c4; border: 1px solid #bcd1fb; border-radius: 4px; padding: 1px 7px; font-size: 11.5px; font-weight: 700; line-height: 1.5; }
.rs-col-empty { padding: 14px 10px; text-align: center; color: var(--rs-muted); flex: 1; }
.rs-view-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 8px 8px; padding: 8px; background: var(--rs-blue); border-radius: 8px;
  font-weight: 700; font-size: 14px;
}
.rs-home a.rs-view-more { color: #fff; }
.rs-view-more svg { width: 16px; height: 16px; }
.rs-view-more:hover { background: var(--rs-blue-dark); }

/* Text block */
.rs-seo { background: #fff; border-radius: 18px; padding: 20px 16px; margin: 24px 0; }
.rs-seo h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; }
.rs-seo p { line-height: 1.8; color: #2a3350; max-width: 75ch; }
.rs-seo-sec { margin-top: 26px; }
.rs-seo-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 19px; line-height: 1.35; }
.rs-seo-num { flex: none; color: var(--rs-blue); font-size: 15px; font-weight: 700; }
.rs-seo-cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
.rs-seo-card { background: #fafbfe; border: 1px solid #e6e9f2; border-radius: 10px; padding: 14px 16px; }
.rs-seo-card h4 { margin: 0 0 4px; font-size: 15px; line-height: 1.35; }
.rs-seo-card p { margin: 0; font-size: 14.5px; line-height: 1.65; max-width: none; }
.rs-seo-list { margin: 0 0 14px; padding-left: 22px; color: #2a3350; line-height: 1.8; columns: 1; }
.rs-seo-list li { margin-bottom: 4px; padding-left: 4px; }
.rs-seo-links { margin: 0; padding: 0; list-style: none; line-height: 1.8; color: #2a3350; }
.rs-seo-links li { margin-bottom: 6px; overflow-wrap: anywhere; }
.rs-seo-links a { color: var(--rs-blue); text-decoration: underline; }
.rs-seo-steps { margin: 0; padding-left: 22px; color: #2a3350; line-height: 1.8; }
.rs-seo-steps li { margin-bottom: 8px; padding-left: 4px; }
.rs-seo-faq details { background: #fff; border: 1px solid #e6e9f2; border-radius: 10px; margin-bottom: 8px; }
.rs-seo-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.4; }
.rs-seo-faq summary::-webkit-details-marker { display: none; }
.rs-seo-faq summary::after { content: "+"; flex: none; color: var(--rs-blue); font-size: 22px; line-height: 1; }
.rs-seo-faq details[open] summary::after { content: "\2212"; }
.rs-seo-faq details p { margin: 0; padding: 0 14px 14px; max-width: none; }
.rs-seo-note { margin-top: 26px; padding: 14px 16px; background: var(--rs-page); border-radius: 10px; font-size: 15px; line-height: 1.7; max-width: 62rem; }

@media (min-width: 900px) {
  .rs-wrap { padding: 0 24px; }
  .rs-chips-track { padding: 0; }
  .rs-chips a { padding: 5px 14px 6px; }
  .rs-hero::before { height: 60px; }
  .rs-hero-card { padding: 10px; }
  .rs-tiles { grid-template-columns: repeat(4, 1fr); }
  .rs-tile { min-height: 50px; font-size: 14px; }
  .rs-cols { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .rs-col-title { padding: 9px 10px; font-size: 16px; }
  .rs-seo { padding: 32px; margin: 28px 0; }
  .rs-seo h2 { font-size: 26px; }
  .rs-seo-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rs-seo-list { columns: 2; column-gap: 32px; }
  .rs-seo-h { font-size: 21px; }
  .rs-seo p { max-width: none; }
  .rs-seo-note { max-width: none; margin-top: 28px; }
}
@media (min-width: 1200px) {
  .rs-page-grid { display: grid; grid-template-columns: 160px minmax(0, 1fr) 160px; gap: 16px; align-items: start; }
  .rs-page-main { min-width: 0; }
  .rs-ad-side { display: block; position: sticky; top: 70px; min-height: 600px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-chips-track { animation: none; }
  .rs-chips { overflow-x: auto; }
}


/* ==========================================================================
   Job list page (View More): title bar + table
   Post Name / Total Post / Qualification / Last Date / Click Here
   ========================================================================== */
.rs-list-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--wph-primary, #0b5cff);
    color: #ffffff;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(11, 92, 255, 0.2);
}
.rs-list-bar h1 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.rs-list-count {
    flex: none;
    background: rgba(255, 255, 255, 0.18);
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
.rs-table-wrap {
    background: #ffffff;
    border: 1px solid var(--wph-border, #e2e8f0);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.rs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: 0;
}
.rs-table th {
    background: var(--wph-secondary, #0846c4);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding: 12px 10px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}
.rs-table th:first-child { border-left: 0; }
.rs-table th.rs-th-name { text-align: left; padding-left: 16px; }
.rs-table th:nth-child(2) { width: 110px; }
.rs-table th:nth-child(3) { width: 190px; }
.rs-table th:nth-child(4) { width: 140px; }
.rs-table th:nth-child(5) { width: 130px; }
.rs-table td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.85rem;
    color: var(--wph-text, #0f172a);
    border: 0;
    border-top: 1px solid #e8edf7;
    border-left: 1px solid #eef2fa;
}
.rs-table td:first-child { border-left: 0; }
.rs-table tbody tr:nth-child(even) td { background: #f7f9ff; }
.rs-table tbody tr:hover td { background: #eaf1ff; }
.rs-table td.rs-td-name {
    text-align: left;
    padding-left: 16px;
}
.rs-table td.rs-td-name a {
    color: var(--wph-secondary, #0846c4);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.45;
    text-decoration: none;
}
.rs-table td.rs-td-name a:hover { color: var(--wph-primary, #0b5cff); text-decoration: underline; }
.rs-qual {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rs-table-btn {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--wph-primary, #0b5cff);
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(11, 92, 255, 0.25);
    transition: filter 0.2s ease, transform 0.2s ease;
}
.rs-table-btn:hover { filter: brightness(0.92); transform: translateY(-1px); }
.rs-list-empty { padding: 2.5rem 1rem; text-align: center; color: var(--wph-text-muted, #64748b); }
.rs-list-empty p { margin: 0; font-weight: 600; }
.rs-list-desc {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid var(--wph-border, #e2e8f0);
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--wph-text-muted, #64748b);
}

/* Pagination */
.rs-pagination { margin-top: 18px; }
.rs-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.rs-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--wph-border, #e2e8f0);
    border-radius: 8px;
    color: var(--wph-text, #0f172a);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}
.rs-pagination a.page-numbers:hover {
    border-color: var(--wph-primary, #0b5cff);
    color: var(--wph-primary, #0b5cff);
}
.rs-pagination .page-numbers.current {
    background: var(--wph-primary, #0b5cff);
    border-color: var(--wph-primary, #0b5cff);
    color: #ffffff;
}

/* Phones: every row becomes a stacked card */
@media (max-width: 720px) {
    .rs-list-bar { padding: 12px 14px; }
    .rs-list-bar h1 { font-size: 1rem; }
    .rs-table thead { display: none; }
    .rs-table, .rs-table tbody, .rs-table tr, .rs-table td { display: block; width: 100%; }
    .rs-table tbody tr { padding: 12px 14px; border-top: 1px solid #e8edf7; }
    .rs-table tbody tr:first-child { border-top: 0; }
    .rs-table tbody tr:nth-child(even) { background: #f7f9ff; }
    .rs-table tbody tr:nth-child(even) td, .rs-table tbody tr:hover td { background: transparent; }
    .rs-table td {
        border: 0 !important;
        padding: 3px 0;
        text-align: left;
        display: flex;
        justify-content: space-between;
        gap: 14px;
        font-size: 0.84rem;
    }
    .rs-table td::before {
        content: attr(data-label);
        flex: none;
        font-weight: 600;
        color: var(--wph-text-muted, #64748b);
    }
    .rs-table td.rs-td-name { display: block; padding: 0 0 6px; }
    .rs-table td.rs-td-name::before { content: none; }
    .rs-table td.rs-td-go { display: block; padding-top: 8px; }
    .rs-table td.rs-td-go::before { content: none; }
    .rs-table td.rs-td-go .rs-table-btn { display: block; text-align: center; padding: 9px 18px; }
    .rs-qual { text-align: right; }
}

/* Job names on list pages (View More) are black */
.rs-table td.rs-td-name a { color: #111 !important; }
.rs-table td.rs-td-name a:hover { color: var(--wph-primary, #0b5cff) !important; }


/* Post tables: scroll sideways inside a box instead of being squeezed or cut off */
.wph-post-content { min-width: 0; max-width: 100%; }
.rs-table-scroll {
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--wph-border, #e2e8f0);
    border-radius: 10px;
    background: #fff;
}
.rs-table-scroll > table,
.wph-post-content .rs-table-scroll > table {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* Featured image shown after the Related Articles block */
.wph-featured-after-related { margin: 24px 0; }
