/*
Theme Name: WPH Job Pro
Theme URI: https://webpresshub.net
Description: A modern, modular, responsive child theme for GeneratePress focused on job portals, government exams, vacancies, and recruitment updates.
Author: WebPress Hub
Author URI: https://webpresshub.net
Template: generatepress
Version: 2.5.0
Text Domain: wph-news
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --wph-primary: #1b9e7e;
    /* Job Portal Emerald */
    --wph-secondary: #0d9488;
    /* 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: #22c55e;
    /* 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;
}

/* ==========================================================================
   Modern WPH Job Card Styling (Reusable Across All Templates)
   ========================================================================== */
.wph-job-card {
    background: #ffffff;
    border: 1px solid var(--wph-border, #e2e8f0);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    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;
    overflow: hidden;
}
.wph-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--wph-primary, #1b9e7e);
    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-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.wph-jc-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.wph-jc-badge-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(27, 158, 126, 0.1);
    color: var(--wph-primary, #1b9e7e);
    padding: 3px 8px;
    border-radius: 4px;
    text-decoration: none;
    line-height: 1.3;
}
.wph-jc-badge-type {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}
.badge-govt {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.badge-pvt {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
}
.wph-jc-badge-new {
    font-size: 0.65rem;
    font-weight: 800;
    background: #16a34a;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.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-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 6px;
}
.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;
}
.wph-jc-title a:hover {
    color: var(--wph-primary, #1b9e7e);
}
.wph-jc-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wph-jc-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.wph-jc-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wph-jc-spec-item i {
    font-size: 0.85rem;
    flex-shrink: 0;
}
.spec-icon-salary { color: #16a34a; }
.spec-icon-location { color: #ea580c; }
.spec-icon-qual { color: #3b82f6; }
.spec-icon-vacancies { color: #7c3aed; }
.spec-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.72rem;
}
.spec-val {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wph-jc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.wph-jc-meta-date {
    font-size: 0.75rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wph-jc-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wph-jc-btn-details {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}
.wph-jc-btn-details:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.wph-jc-btn-apply {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--wph-primary, #1b9e7e);
    border: none;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(27, 158, 126, 0.25);
}
.wph-jc-btn-apply:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}
@media (max-width: 640px) {
    .wph-jc-specs {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* ==========================================================================
   Post-End Apply CTA Section
   ========================================================================== */
.wph-post-end-cta {
    background: linear-gradient(135deg, rgba(27, 158, 126, 0.05) 0%, rgba(13, 148, 136, 0.08) 100%);
    border: 2px solid var(--wph-primary, #1b9e7e);
    border-radius: 14px;
    padding: 24px 26px;
    margin: 32px 0 28px;
    box-shadow: 0 4px 18px -2px rgba(27, 158, 126, 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, #1b9e7e);
    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(27, 158, 126, 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(27, 158, 126, 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, #1b9e7e);
    color: var(--wph-primary, #1b9e7e) !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, #1b9e7e);
    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, #1b9e7e);
}
.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(27, 158, 126, 0.12);
    color: var(--wph-primary, #1b9e7e);
}

/* ==========================================================================
   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, #1b9e7e) !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, #1b9e7e);
    box-shadow: 0 4px 14px rgba(27, 158, 126, 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, #1b9e7e);
    background: rgba(27, 158, 126, 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(27, 158, 126, 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, #1b9e7e) !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;
    }
}

/* Hide Leave Comment Section (Requirement 6) */
.wph-comments-section,
#comments,
.comment-respond,
#respond {
    display: none !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, #1b9e7e) 0%, var(--wph-secondary, #0d9488) 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, #1b9e7e);
    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(27,158,126,0.06) 0%, rgba(13,148,136,0.08) 100%);
    border: 1px solid rgba(27, 158, 126, 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(27, 158, 126, 0.12);
    color: var(--wph-primary, #1b9e7e);
    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, #1b9e7e) 0%, var(--wph-secondary, #0d9488) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(27, 158, 126, 0.3);
}
.wph-post-end-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 158, 126, 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, #1b9e7e);
    color: var(--wph-primary, #1b9e7e) !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(27, 158, 126, 0.08);
    border-color: var(--wph-primary, #1b9e7e);
    color: var(--wph-primary, #1b9e7e) !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, #1b9e7e);
    border-color: var(--wph-primary, #1b9e7e);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 158, 126, 0.25);
}