/*
Theme Name: WPH Job Pro
Theme URI: https://webpresshub.net
Description: A modern, modular, responsive child theme for GeneratePress focused on news and blog portals.
Author: WebPressHub
Author URI: https://webpresshub.net
Template: generatepress
Version: 2.0.0
Text Domain: wph-news
*/
 
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
 
:root {
    /* Color Palette */
    --wph-primary: #dc2626;
    /* News Portal Red */
    --wph-secondary: #e11d48;
    /* Accent Rose */
    --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: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, 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);
}
 
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wph-text);
    font-family: var(--wph-font);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
 
/* =========================
   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;
}
 
/* =========================================================
   JOB POST CONTENT DESIGN
   ========================================================= */
 
.wph-post-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--wph-text);
    margin-bottom: 24px;
}
 
 
/* =========================================================
   H2 - GREEN SECTION HEADING
   ========================================================= */
 
.wph-post-content h2 {
    display: block;
    width: 100%;
 
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
 
    color: #ffffff !important;
    background: #2563eb !important;
 
    padding: 11px 15px;
    margin: 25px 0 12px;
 
    border: none;
    border-radius: 5px;
 
    box-sizing: border-box;
}
 
 
/* First H2 */
 
.wph-post-content h2:first-child {
    margin-top: 0;
}
 
 
/* =========================================================
   H3
   ========================================================= */
 
.wph-post-content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
 
    color: var(--wph-text);
 
    margin: 20px 0 12px;
    padding-left: 10px;
 
    border-left: 4px solid #2563eb;
}
 
 
/* =========================================================
   PARAGRAPH
   ========================================================= */
 
.wph-post-content p {
    margin: 0 0 14px;
 
    font-size: 15px;
    line-height: 1.7;
 
    color: var(--wph-text);
}
 
 
/* =========================================================
   NORMAL LINKS
   ========================================================= */
 
.wph-post-content a {
    color: var(--wph-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
 
 
/* =========================================================
   TABLE
   ========================================================= */
 
.wph-post-content table {
    width: 100%;
    max-width: 100%;
 
    margin: 0 0 22px;
 
    border-collapse: collapse;
    border-spacing: 0;
 
    background: #ffffff;
 
    font-size: 14px;
    line-height: 1.5;
}
 
 
/* =========================================================
   TABLE TH + TD
   ========================================================= */
 
.wph-post-content table th,
.wph-post-content table td {
    padding: 10px 12px;
 
    border: 1px solid #d9e3df;
 
    text-align: left;
    vertical-align: middle;
 
    color: #333333;
 
    box-sizing: border-box;
}
 
 
/* =========================================================
   TABLE HEADER
   ========================================================= */
 
.wph-post-content table th {
    background: #eff6ff;
 
    color: #222222;
 
    font-weight: 700;
}
 
 
/* =========================================================
   FIRST COLUMN
   ========================================================= */
 
.wph-post-content table td:first-child {
    background: #fafafa;
 
    font-weight: 600;
}
 
 
/* =========================================================
   TABLE ROW HOVER
   ========================================================= */
 
.wph-post-content table tbody tr:hover td {
    background: #f8fbff;
}
 
 
/* =========================================================
   TABLE LINKS
   BLUE BUTTON
   ========================================================= */
 
.wph-post-content table a {
    display: inline-block;
 
    padding: 7px 14px;
 
    background: #C80230 !important;
 
    color: #ffffff !important;
 
    border: none;
 
    border-radius: 5px;
 
    font-size: 12px;
    font-weight: 700;
 
    line-height: 1.4;
 
    text-decoration: none !important;
 
    white-space: nowrap;
 
    transition: all 0.2s ease;
}
 
 
/* =========================================================
   BLUE BUTTON HOVER
   ========================================================= */
 
.wph-post-content table a:hover {
    background: #A80128 !important;
 
    color: #ffffff !important;
 
    text-decoration: none !important;
 
    transform: translateY(-1px);
}
 
 
/* =========================================================
   ORDERED LIST
   ========================================================= */
 
.wph-post-content ol {
    margin: 0 0 20px;
 
    padding-left: 25px;
 
    font-size: 14px;
 
    line-height: 1.7;
}
 
 
.wph-post-content ol li {
    margin-bottom: 7px;
}
 
 
.wph-post-content ol li::marker {
    color: #2563eb;
 
    font-weight: 700;
}
 
 
/* =========================================================
   UNORDERED LIST
   ========================================================= */
 
.wph-post-content ul {
    margin: 0 0 20px;
 
    padding-left: 25px;
 
    font-size: 14px;
 
    line-height: 1.7;
}
 
 
.wph-post-content ul li {
    margin-bottom: 7px;
}
 
 
.wph-post-content ul li::marker {
    color: #2563eb;
}
 
 
/* =========================================================
   BLOCKQUOTE
   ========================================================= */
 
.wph-post-content blockquote {
    border-left: 4px solid #2563eb;
 
    padding: 12px 15px;
 
    margin: 20px 0;
 
    background: #eff6ff;
 
    border-radius: 0 8px 8px 0;
 
    font-style: italic;
 
    color: var(--wph-text-muted);
}
 
 
/* =========================================================
   IMAGES
   ========================================================= */
 
.wph-post-content img {
    max-width: 100%;
    height: auto;
 
    border-radius: 12px;
 
    margin: 24px 0;
}
 
 
/* =========================================================
   BOLD
   ========================================================= */
 
.wph-post-content strong,
.wph-post-content b {
    font-weight: 700;
}
 
 
/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */
 
@media (max-width: 768px) {
 
    .wph-post-content {
        font-size: 15px;
        line-height: 1.65;
    }
 
 
    .wph-post-content h2 {
        font-size: 16px;
 
        padding: 9px 12px;
 
        margin: 20px 0 10px;
    }
 
 
    .wph-post-content h3 {
        font-size: 18px;
    }
 
 
    .wph-post-content p {
        font-size: 14px;
    }
 
 
    /* TABLE SCROLL */
 
    .wph-post-content table {
        display: block;
 
        width: 100%;
 
        overflow-x: auto;
 
        -webkit-overflow-scrolling: touch;
 
        font-size: 13px;
    }
 
 
    .wph-post-content table th,
    .wph-post-content table td {
        min-width: 120px;
 
        padding: 8px 9px;
    }
 
 
    /* BLUE BUTTON */
 
    .wph-post-content table a {
        padding: 6px 10px;
 
        font-size: 11px;
    }
 
 
    .wph-post-content ol,
    .wph-post-content ul {
        font-size: 13px;
    }
}
 
 
/* =========================================================
   SMALL MOBILE
   ========================================================= */
 
@media (max-width: 480px) {
 
    .wph-post-content h2 {
        font-size: 15px;
 
        padding: 8px 10px;
    }
 
 
    .wph-post-content h3 {
        font-size: 17px;
    }
 
 
    .wph-post-content table {
        font-size: 12px;
    }
 
 
    .wph-post-content table th,
    .wph-post-content table td {
        padding: 7px 8px;
    }
 
 
    .wph-post-content table a {
        padding: 5px 8px;
 
        font-size: 10px;
    }
}