/*
Theme Name: Rojgareasy
Theme URI: https://rojgareasy.com
Description: A modern, modular, responsive child theme for GeneratePress focused on job portals.
Author: Rojgareasy
Author URI: https://rojgareasy.com
Template: generatepress
Version: 2.0.0
Text Domain: wph-news
*/

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

:root {
    /* Default values — overridden dynamically by Theme Settings via functions.php */
    --wph-primary: #2563eb;
    --wph-secondary: #f97316;
    --wph-bg: #ffffff;
    --wph-text: #0f172a;
    --wph-text-muted: #64748b;
    --wph-border: #e2e8f0;
    --wph-card-bg: #ffffff;
    --wph-success: #22c55e;
    --wph-container: 1240px;
    --wph-spacing: 0.85rem;
    --wph-radius: 10px;
    --wph-radius-sm: 6px;
    --wph-radius-full: 9999px;
    --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);
    --wph-font: 'Noto Sans', -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);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--wph-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    color: var(--wph-primary);
    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-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wph-text);
    font-family: var(--wph-font);
    font-weight: 800;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* =========================
   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;
}