/*
 Theme Name:     Hello Elementor Child
 Theme URI:      https://example.com/hello-elementor-child/
 Description:    Hello Elementor Child Theme
 Author:         Geeaig Digital Services
 Author URI:     https://geeaig.com
 Template:       hello-elementor
 Version:        1.0.3
 License:        GNU General Public License v2 or later
 License URI:    http://www.gnu.org/licenses/gpl-2.0.html
 Tags:           elementor, wordpress
 Text Domain:    hello-elementor-child
*/

/* =================================================================
   1. GLOBAL DESIGN SYSTEM (VARIABLES)
   This is the single source of truth for all colors, fonts, and sizes.
   ================================================================= */
:root {
    /* Color Palette */
    --primary: #DC2626;          /* Professional, Confident Red */
    --primary-hover: #B91C1C;     /* Darker Red for Hover */

    /* Neutral Grayscale */
    --text-primary: #111827;     /* Near-black for main headings & important text */
    --text-secondary: #374151;   /* Dark gray for body text, subtitles */
    --text-muted: #6B7280;       /* Lighter gray for meta info, placeholders */
    --surface: #FFFFFF;          /* Card backgrounds, modals */
    --background: #F8F9FA;       /* Soft Off-White for main page background */
    --border: #E5E7EB;           /* Subtle borders and dividers */
    --focus-ring: rgba(220, 38, 38, 0.4); /* For accessibility outlines */

    /* Typography (Unified Font System) */
    --font-main: 'Outfit', sans-serif;
    --line-height-heading: 1.25;
    --line-height-body: 1.7;

    /* Sizing & Effects */
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
    --transition-speed: 0.2s ease-in-out;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}


/* =================================================================
   2. BASE & TYPOGRAPHY STYLES
   These rules apply globally to create a consistent foundation.
   ================================================================= */

/* Base Body Styles */
body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text-secondary);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings (Unified Font, Differentiated by Size/Weight) */
body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

body h1 { font-size: 2.25rem; } /* 36px */
body h2 { font-size: 1.875rem; } /* 30px */
body h3 { font-size: 1.5rem; }    /* 24px */
body h4 { font-size: 1.25rem; }  /* 20px */
body h5 { font-size: 1.125rem; } /* 18px */
body h6 { font-size: 1rem; }    /* 16px */

/* Paragraph Text */
body p {
    font-family: var(--font-main);
    font-size: 1rem; /* 16px */
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* Links */
body a, .text-link {
    font-family: var(--font-main);
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

body a:hover, .text-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Responsive Typography */
@media (min-width: 768px) {
    body h1 { font-size: 3rem; }
    body h2 { font-size: 2.25rem; }
    body h3 { font-size: 1.875rem; }
    body p { font-size: 1.05rem; }
}


/* =================================================================
   3. CONTENT STYLES (.prose-content)
   Styles for content generated by a WYSIWYG editor (e.g., job descriptions).
   ================================================================= */
.prose-content h2,
.prose-content h3 {
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.prose-content p {
    margin-bottom: 1.25em;
    line-height: var(--line-height-body);
}

.prose-content ul,
.prose-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25em;
    list-style-position: outside;
}

.prose-content ul { list-style-type: disc; }
.prose-content ol { list-style-type: decimal; }

.prose-content li {
    margin-bottom: 0.5em;
    padding-left: 0.5rem;
}

.prose-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: var(--text-muted);
}

.prose-content img {
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    max-width: 100%;
    height: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}


/* =================================================================
   4. COMPONENT STYLES (Pagination, etc.)
   ================================================================= */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-medium);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background-color: var(--surface);
    transition: all var(--transition-speed);
    text-decoration: none;
    min-width: 2.5rem;
    height: 2.5rem;
}

.pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination .page-numbers.current {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    cursor: default;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
    transform: translateY(-2px);
}

.pagination .page-numbers.dots {
    border: none;
    background: none;
    box-shadow: none;
    transform: none;
}