/*
Theme Name: Edou Job Board Manager
Theme URI: https://edou.com/themes/edou-job-board
Description: A modern responsive WordPress theme for managing job listings and resumes. Compatible with Elementor, WooCommerce, EdouJob and Edou CV Resume.
Version: 1.0.1
Author: Luc Thierry Edou NDJENG
Author URI: https://edou.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edou-job-listing
Tags: job-board, responsive, bootstrap, elementor, woocommerce, one-column, two-columns, custom-menu, featured-images, threaded-comments
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4

Elementor Compatibility: yes
WooCommerce Compatibility: yes
*/

/* ============================================================
   Variables & Reset
   ============================================================ */
:root {
    /* Design tokens. Defaults only: Edou Theme → Theme Options (Colors,
       Typography, Buttons) overrides them via <style id="edou-design-css">. */
    --edou-primary:       #1a56db;
    --edou-primary-rgb:   26, 86, 219;
    --edou-primary-dark:  #1e429f;
    --edou-secondary:     #0ea5e9;
    --edou-secondary-rgb: 14, 165, 233;
    --edou-accent:        #f59e0b;
    --edou-heading:       #1f2937;
    --edou-font-heading:  var(--edou-font);
    --edou-font-size:     16px;
    --edou-line-height:   1.6;
    --edou-heading-weight: 700;
    /* Primary buttons */
    --edou-btn-bg:           var(--edou-primary);
    --edou-btn-color:        #ffffff;
    --edou-btn-border:       var(--edou-primary);
    --edou-btn-bg-hover:     var(--edou-primary-dark);
    --edou-btn-color-hover:  #ffffff;
    --edou-btn-border-hover: var(--edou-primary-dark);
    --edou-btn-shadow-rgb:   var(--edou-primary-rgb);
    --edou-btn-border-width: 2px;
    --edou-btn-radius:       8px;
    --edou-btn-py:           10px;
    --edou-btn-px:           22px;
    --edou-btn-font-size:    15px;
    --edou-btn-font-weight:  600;
    --edou-btn-transform:    none;
    --edou-btn-lift:         -1px;
    --edou-btn-lift-shadow:  0 4px 12px rgba(var(--edou-btn-shadow-rgb), .35);
    --edou-success:       #10b981;
    --edou-danger:        #ef4444;
    --edou-dark:          #1f2937;
    --edou-gray:          #6b7280;
    --edou-light:         #f9fafb;
    --edou-border:        #e5e7eb;
    --edou-white:         #ffffff;
    --edou-font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --edou-radius:        0.5rem;
    --edou-shadow:        0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --edou-shadow-md:     0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --edou-shadow-lg:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --edou-transition:    all 0.2s ease-in-out;
    --edou-header-height: 70px;
    /* Usable content width of a Bootstrap .container (width minus its 12px
       side gutters). Every content wrapper (Elementor, plugins…) uses it so
       its edges line up with the header and footer. */
    --edou-container-width: 100%;
}
@media (min-width: 576px)  { :root { --edou-container-width: 516px;  } }
@media (min-width: 768px)  { :root { --edou-container-width: 696px;  } }
@media (min-width: 992px)  { :root { --edou-container-width: 936px;  } }
@media (min-width: 1200px) { :root { --edou-container-width: 1116px; } }
@media (min-width: 1400px) { :root { --edou-container-width: 1296px; } }

/* Bootstrap follows the theme tokens (utilities, links, forms, .btn-primary…) */
:root {
    --bs-primary:            var(--edou-primary);
    --bs-primary-rgb:        var(--edou-primary-rgb);
    --bs-primary-bg-subtle:  rgba(var(--edou-primary-rgb), .1);
    --bs-primary-border-subtle: rgba(var(--edou-primary-rgb), .3);
    --bs-primary-text-emphasis: var(--edou-primary-dark);
    --bs-link-color:         var(--edou-primary);
    --bs-link-color-rgb:     var(--edou-primary-rgb);
    --bs-link-hover-color:   var(--edou-primary-dark);
    --bs-body-font-family:   var(--edou-font);
    --bs-body-font-size:     var(--edou-font-size);
    --bs-body-line-height:   var(--edou-line-height);
    --bs-body-color:         var(--edou-dark);
    --bs-body-bg:            var(--edou-light);
    --bs-heading-color:      var(--edou-heading);
    --bs-border-color:       var(--edou-border);
    --bs-secondary-color:    var(--edou-gray);
    --bs-focus-ring-color:   rgba(var(--edou-primary-rgb), .25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--edou-font);
    font-size: var(--edou-font-size);
    line-height: var(--edou-line-height);
    color: var(--edou-dark);
    background-color: var(--edou-light);
    margin: 0;
    padding: 0;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--edou-font-heading);
    font-weight: var(--edou-heading-weight);
    line-height: 1.3;
    color: var(--edou-heading);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-top: 0; margin-bottom: 1rem; }

a {
    color: var(--edou-primary);
    text-decoration: none;
    transition: var(--edou-transition);
}

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

/* ============================================================
   Layout
   ============================================================ */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.site-main.elementor-page {
    padding-top: 0;
    padding-bottom: 0;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    background-color: var(--edou-white);
    box-shadow: var(--edou-shadow);
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--edou-header-height);
}

.site-header .navbar {
    height: var(--edou-header-height);
    padding: 0 0;
}

.site-header .navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--edou-primary) !important;
    letter-spacing: -0.5px;
}

.site-header .navbar-brand span {
    color: var(--edou-accent);
}

.site-header .navbar-brand img {
    max-height: 45px;
    width: auto;
}

/* Spacing between items: gap on the flex list rather than margins on the
   links, so the hover pills never touch and the menu edges stay flush. */
.site-header .navbar-nav {
    gap: 0.375rem;
}

.site-header .nav-link {
    font-weight: 500;
    color: var(--edou-dark) !important;
    padding: 0.5rem 0.875rem !important;
    border-radius: var(--edou-radius);
    transition: color .2s ease, background-color .2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.active,
.site-header .nav-item.active > .nav-link {
    color: var(--edou-primary) !important;
    background-color: rgba(var(--edou-primary-rgb), 0.08);
}

.site-header .nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--edou-primary-rgb), 0.35);
}

@media (max-width: 991.98px) {
    .site-header .navbar-nav {
        gap: 0.125rem;
        padding: 0.5rem 0;
    }
}

/* Label-less magnifier button: fixed square (see header.php) */
.site-header .edou_top_search_btn {
    width: 34px;
    height: 34px;
}

/* Top bar social icons (see edou_social_icons()) */
.edou-topbar .social-icon {
    color: rgba(255, 255, 255, .75);
}

/* ============================================================
   Fullscreen Search Modal
   ============================================================ */

/* Dark background for the Bootstrap modal-content (fullscreen) */
.edou-search-modal-content {
    background: rgba(10, 18, 36, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: none;
}

/* --- Semi-transparent centre card --- */
.edou-search-modal-inner {
    width: 100%;
    max-width: 660px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 2.25rem 2.5rem 2.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* --- Card header (brand + close button) --- */
.edou-search-modal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.edou-search-modal-brand {
    font-size: .95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.edou-search-modal-card-close {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: .8rem;
    font-weight: 600;
    padding: .35rem .85rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: .03em;
}

.edou-search-modal-card-close i {
    font-size: .85rem;
}

.edou-search-modal-card-close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* --- Title & subtitle --- */
.edou-search-modal-label {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.edou-search-modal-sub {
    color: rgba(255, 255, 255, 0.45);
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

/* --- Search field --- */
.edou-search-modal-field {
    position: relative;
    margin-bottom: 1.25rem;
}

.edou-search-modal-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.15rem;
    pointer-events: none;
}

.edou-search-modal-field input[type="search"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: .75rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: .95rem 1.25rem .95rem 3rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    box-shadow: none;
}

.edou-search-modal-field input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}

.edou-search-modal-field input[type="search"]:focus {
    border-color: var(--edou-primary);
    background: rgba(var(--edou-primary-rgb), 0.1);
    box-shadow: 0 0 0 4px rgba(var(--edou-primary-rgb), 0.2);
}

.edou-search-modal-field input[type="search"]::-webkit-search-cancel-button { display: none; }

/* --- Button row + keyboard shortcuts --- */
.edou-search-modal-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.edou-search-modal-submit {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--edou-primary);
    color: #fff;
    border: none;
    border-radius: .75rem;
    font-size: 1rem;
    font-weight: 700;
    padding: .8rem 1.75rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: .01em;
}

.edou-search-modal-submit i {
    font-size: 1.1rem;
}

.edou-search-modal-submit:hover {
    background: var(--edou-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--edou-primary-rgb), 0.4);
}

.edou-search-modal-hint {
    color: rgba(255, 255, 255, 0.3);
    font-size: .8rem;
    font-weight: 500;
}

.edou-search-modal-hint kbd {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: .3rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: .75rem;
    padding: .1rem .4rem;
}

/* ============================================================
   .site-header .btn-post-job (continued)
   ============================================================ */
/* Colors/shape come from the shared primary-button rule (Buttons section);
   !important beats the navbar .nav-link padding and color. */
.site-header .btn-post-job {
    padding: var(--edou-btn-py) var(--edou-btn-px) !important;
    color: var(--edou-btn-color) !important;
}

.site-header .btn-post-job:hover {
    color: var(--edou-btn-color-hover) !important;
}

/* Dropdown */
.site-header .dropdown-menu {
    border: 1px solid var(--edou-border);
    border-radius: var(--edou-radius);
    box-shadow: var(--edou-shadow-md);
    padding: 0.5rem;
}

/* Same spacing logic as the top-level menu: items never touch on hover */
.site-header .dropdown-menu > li + li {
    margin-top: 2px;
}

.site-header .dropdown-item {
    border-radius: calc(var(--edou-radius) - 2px);
    padding: 0.5rem 0.875rem;
    font-weight: 500;
    color: var(--edou-dark);
    transition: color .2s ease, background-color .2s ease;
    /* Bootstrap's pressed state would otherwise flash its default blue */
    --bs-dropdown-link-active-bg: rgba(var(--edou-primary-rgb), 0.14);
    --bs-dropdown-link-active-color: var(--edou-primary);
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus-visible,
.site-header .dropdown-menu .nav-item.active > .dropdown-item,
.site-header .dropdown-menu > li.active > .dropdown-item {
    background-color: rgba(var(--edou-primary-rgb), 0.08);
    color: var(--edou-primary);
}

.site-header .dropdown-item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--edou-primary-rgb), 0.35);
}

/* ============================================================
   Hero Section
   ============================================================ */
.edou-hero {
    background: linear-gradient(135deg, var(--edou-primary) 0%, var(--edou-primary-dark) 50%, #1e3a8a 100%);
    color: var(--edou-white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.edou-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.edou-hero h1 {
    color: var(--edou-white);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.edou-hero p.lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Search bar */
.edou-search-bar {
    background: var(--edou-white);
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: var(--edou-shadow-lg);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.edou-search-bar .form-control {
    border: none;
    box-shadow: none !important;
    font-size: 1rem;
}

.edou-search-bar .btn-search {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================================
   Cards
   ============================================================ */
.edou-card {
    background: var(--edou-white);
    border: 1px solid var(--edou-border);
   
    box-shadow: var(--edou-shadow);
    transition: var(--edou-transition);
    overflow: hidden;
}

article {
	margin-bottom: 25px;
}

.edou-card:hover {
    box-shadow: var(--edou-shadow-md);
    transform: translateY(-2px);
    border-color: rgba(var(--edou-primary-rgb), 0.2);
}

/* ============================================================
   Buttons
   ============================================================ */
/* Every primary button of the site shares this rule; values come from
   Edou Theme → Theme Options → Buttons (--edou-btn-* tokens). */
.btn-edou-primary,
.btn-edou-outline,
.site-header .btn-post-job,
.edou-search-bar .btn-search,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: var(--edou-btn-bg);
    color: var(--edou-btn-color);
    border: var(--edou-btn-border-width) solid var(--edou-btn-border);
    border-radius: var(--edou-btn-radius);
    padding: var(--edou-btn-py) var(--edou-btn-px);
    font-family: var(--edou-font);
    font-size: var(--edou-btn-font-size);
    font-weight: var(--edou-btn-font-weight);
    line-height: 1.4;
    text-transform: var(--edou-btn-transform);
    text-decoration: none;
    cursor: pointer;
    transition: var(--edou-transition);
}

.btn-edou-primary:hover,
.btn-edou-primary:focus-visible,
.site-header .btn-post-job:hover,
.edou-search-bar .btn-search:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--edou-btn-bg-hover);
    border-color: var(--edou-btn-border-hover);
    color: var(--edou-btn-color-hover);
    transform: translateY(var(--edou-btn-lift));
    box-shadow: var(--edou-btn-lift-shadow);
}

/* Outline variant: same shape, button color as text/border */
.btn-edou-outline {
    background-color: transparent;
    color: var(--edou-btn-bg);
    border-color: var(--edou-btn-bg);
}

.btn-edou-outline:hover,
.btn-edou-outline:focus-visible {
    background-color: var(--edou-btn-bg);
    border-color: var(--edou-btn-bg);
    color: var(--edou-btn-color);
}

/* Bootstrap buttons follow the same tokens (sizes .btn-sm/.btn-lg keep their own padding) */
.btn-primary,
.btn-outline-primary {
    --bs-btn-border-width:  var(--edou-btn-border-width);
    --bs-btn-border-radius: var(--edou-btn-radius);
    --bs-btn-font-weight:   var(--edou-btn-font-weight);
    --bs-btn-focus-shadow-rgb: var(--edou-btn-shadow-rgb);
    text-transform: var(--edou-btn-transform);
}

.btn-primary:not(.btn-sm):not(.btn-lg),
.btn-outline-primary:not(.btn-sm):not(.btn-lg) {
    --bs-btn-padding-y:    var(--edou-btn-py);
    --bs-btn-padding-x:    var(--edou-btn-px);
    --bs-btn-font-size:    var(--edou-btn-font-size);
}

.btn-primary {
    --bs-btn-bg:                  var(--edou-btn-bg);
    --bs-btn-color:               var(--edou-btn-color);
    --bs-btn-border-color:        var(--edou-btn-border);
    --bs-btn-hover-bg:            var(--edou-btn-bg-hover);
    --bs-btn-hover-color:         var(--edou-btn-color-hover);
    --bs-btn-hover-border-color:  var(--edou-btn-border-hover);
    --bs-btn-active-bg:           var(--edou-btn-bg-hover);
    --bs-btn-active-color:        var(--edou-btn-color-hover);
    --bs-btn-active-border-color: var(--edou-btn-border-hover);
    --bs-btn-disabled-bg:         var(--edou-btn-bg);
    --bs-btn-disabled-color:      var(--edou-btn-color);
    --bs-btn-disabled-border-color: var(--edou-btn-border);
}

.btn-outline-primary {
    --bs-btn-color:               var(--edou-btn-bg);
    --bs-btn-border-color:        var(--edou-btn-bg);
    --bs-btn-hover-bg:            var(--edou-btn-bg);
    --bs-btn-hover-color:         var(--edou-btn-color);
    --bs-btn-hover-border-color:  var(--edou-btn-bg);
    --bs-btn-active-bg:           var(--edou-btn-bg-hover);
    --bs-btn-active-color:        var(--edou-btn-color-hover);
    --bs-btn-active-border-color: var(--edou-btn-border-hover);
    --bs-btn-disabled-color:      var(--edou-btn-bg);
    --bs-btn-disabled-border-color: var(--edou-btn-bg);
}

/* ============================================================
   Badges & Tags
   ============================================================ */
.edou-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    line-height: 1;
}

.edou-badge-primary   { background-color: rgba(var(--edou-primary-rgb), .12);  color: var(--edou-primary); }
.edou-badge-success   { background-color: rgba(16,185,129,.12); color: var(--edou-success); }
.edou-badge-warning   { background-color: rgba(245,158,11,.12); color: #d97706; }
.edou-badge-danger    { background-color: rgba(239,68,68,.12);  color: var(--edou-danger); }
.edou-badge-gray      { background-color: rgba(107,114,128,.1); color: var(--edou-gray); }
.edou-badge-secondary { background-color: rgba(14,165,233,.12); color: #0284c7; }

/* ============================================================
   Sidebar
   ============================================================ */
.edou-sidebar {
    position: sticky;
    top: calc(var(--edou-header-height) + 1rem);
}

.edou-widget {
    background: var(--edou-white);
    border: 1px solid var(--edou-border);
    border-radius: var(--edou-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--edou-shadow);
}

.site-footer .edou-widget {
	background-color: rgba(0, 0, 0, 0);	border: 0px solid #e5e7eb !important; border-bottom: 2px solid #ab871d ;
}


.edou-widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--edou-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--edou-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer .edou-widget-title {
	color: #fff;

}


/* ============================================================
   Pagination
   ============================================================ */
.edou-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.edou-pagination .page-link {
    color: var(--edou-primary);
    border-color: var(--edou-border);
    padding: 0.5rem 0.875rem;
    border-radius: var(--edou-radius) !important;
    margin: 0 2px;
    font-weight: 500;
    transition: var(--edou-transition);
}

.edou-pagination .page-link:hover,
.edou-pagination .page-item.active .page-link {
    background-color: var(--edou-primary);
    border-color: var(--edou-primary);
    color: var(--edou-white);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background-color: var(--edou-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.site-footer h5 {
    color: var(--edou-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--edou-transition);
    display: block;
    padding: 0.2rem 0;
}

.site-footer a:hover {
    color: var(--edou-white);
    padding-left: 0.3rem;
}

.site-footer .footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 1.25rem 0;
    margin-top: 3rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    margin-right: 0.5rem;
    transition: var(--edou-transition);
    padding: 0;
}

.site-footer .social-links a:hover {
    background-color: var(--edou-primary);
    color: var(--edou-white);
    padding-left: 0;
    transform: translateY(-2px);
}

/* ============================================================
   WooCommerce overrides
   ============================================================ */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: auto;
}

.woocommerce-page .woocommerce-breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: var(--edou-gray);
}

/* ============================================================
   Elementor overrides
   ============================================================ */
.elementor-page .site-main {
    padding: 0;margin-top: 30px;
}

/* Align Elementor boxed content with the header/footer .container.
   The kit CSS sets the width on .e-con itself; the body prefix outranks it. */
body .e-con {
    --container-max-width: var(--edou-container-width);
}

body .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--edou-container-width);
}

/* Plugin wrappers with their own hard-coded width */
body .ecvf.ecvs {
    max-width: var(--edou-container-width);
}

/* ============================================================
   Forms
   ============================================================ */
.edou-form .form-control,
.edou-form .form-select {
    border: 1.5px solid var(--edou-border);
    border-radius: var(--edou-radius);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: var(--edou-transition);
    background-color: var(--edou-white);
}

.edou-form .form-control:focus,
.edou-form .form-select:focus {
    border-color: var(--edou-primary);
    box-shadow: 0 0 0 3px rgba(var(--edou-primary-rgb), 0.15);
}

.edou-form label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--edou-dark);
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.edou-breadcrumb {
    background-color: var(--edou-white);
    border-bottom: 1px solid var(--edou-border);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.edou-breadcrumb .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.edou-breadcrumb .breadcrumb-item a {
    color: var(--edou-primary);
}

/* ============================================================
   Notices
   ============================================================ */
.edou-notice {
    padding: 1rem 1.25rem;
    border-radius: var(--edou-radius);
    border-left: 4px solid;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.edou-notice-info    { background: rgba(var(--edou-primary-rgb), .06);  border-color: var(--edou-primary); }
.edou-notice-success { background: rgba(16,185,129,.06); border-color: var(--edou-success); }
.edou-notice-warning { background: rgba(245,158,11,.06); border-color: var(--edou-accent); }
.edou-notice-danger  { background: rgba(239,68,68,.06);  border-color: var(--edou-danger); }

/* ============================================================
   Utilities
   ============================================================ */
.text-primary-edou { color: var(--edou-primary) !important; }
.bg-primary-edou   { background-color: var(--edou-primary) !important; }
.border-primary-edou { border-color: var(--edou-primary) !important; }

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--edou-dark);
    position: relative;
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--edou-primary);
    border-radius: 2px;
    margin-top: 0.5rem;
}

.section-title.centered::after {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        background: var(--edou-white);
        padding: 1rem;
        border-radius: var(--edou-radius);
        box-shadow: var(--edou-shadow-md);
        margin-top: 0.5rem;
    }

    .edou-hero h1 { font-size: 2rem; }
    .edou-hero { padding: 50px 0 40px; }
    .edou-search-bar { flex-direction: column; }
    .edou-search-bar .btn-search { width: 100%; justify-content: center; }
    .edou-sidebar { position: static; margin-top: 2rem; }
}

@media (max-width: 575.98px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .edou-hero h1 { font-size: 1.625rem; }
    .site-main { padding-top: 1.5rem; padding-bottom: 2rem; }
}

.ejl-active-filters { display: none !important; }

/* ============================================================
   Page My Account (WooCommerce) — full-width
   ============================================================ */
.edou-myaccount-page {
    padding: 2.5rem 0;
}

.edou-myaccount-page .entry-content {
    max-width: 100%;
    padding: 0;
}

/* Grid layout: 280px sidebar + content */
.edou-myaccount-page .woocommerce {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
    max-width: calc(var(--edou-container-width) + 2rem); /* + side padding */
    margin: 0 auto;
    padding: 0 1rem;
}

/* The nav now wraps the whole card */
.edou-myaccount-page .woocommerce-MyAccount-navigation {
    position: sticky;
    top: calc(var(--edou-header-height) + 1rem);
}

.edou-myaccount-page .woocommerce-MyAccount-content {
    background: #fff;
    border: 1px solid var(--edou-border);
    border-radius: var(--edou-radius);
    box-shadow: var(--edou-shadow);
    padding: 2rem;
}

/* ── Nav card ── */
.edou-myaccount-nav-card {
    background: #fff;
    border: 1px solid var(--edou-border);
    border-radius: calc(var(--edou-radius) * 2);
    box-shadow: var(--edou-shadow-md);
    overflow: hidden;
}

/* ── Nav list ── */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    list-style-type: none !important;
    border-radius: 0;
    margin-bottom: 0;
}

/* Standard items (everything except header-endpoint) */
.woocommerce-MyAccount-navigation ul li:not(.woocommerce-MyAccount-navigation-link--header-endpoint) {
    padding: 0 .75rem;
    margin-bottom: 2px;
}

.woocommerce-MyAccount-navigation ul li:not(.woocommerce-MyAccount-navigation-link--header-endpoint):first-of-type {
    padding-top: .25rem;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    padding-bottom: .75rem;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .75rem;
    border-radius: var(--edou-radius);
    text-decoration: none;
    color: var(--edou-dark);
    font-size: .875rem;
    font-weight: 500;
    transition: var(--edou-transition);
}

/* Icon in its light-blue square */
.edou-nav-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background-color: rgba(var(--edou-primary-rgb), .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--edou-primary);
    transition: var(--edou-transition);
}

.edou-nav-label {
    flex: 1;
}

/* Active item arrow */
.edou-nav-arrow {
    font-size: .75rem;
    color: #fff;
    opacity: .8;
}

/* Standard items hover */
.woocommerce-MyAccount-navigation ul li:not(.is-active):not(.woocommerce-MyAccount-navigation-link--header-endpoint) a:hover {
    background-color: var(--edou-light);
    color: var(--edou-primary);
}

.woocommerce-MyAccount-navigation ul li:not(.is-active) a:hover .edou-nav-icon-box {
    background-color: rgba(var(--edou-primary-rgb), .18);
}

/* Active item (standard) */
.woocommerce-MyAccount-navigation ul li.is-active:not(.woocommerce-MyAccount-navigation-link--header-endpoint) {
    background-color: var(--edou-primary) !important;
    border-radius: var(--edou-radius);
}

.woocommerce-MyAccount-navigation ul li.is-active:not(.woocommerce-MyAccount-navigation-link--header-endpoint) > a {
    color: #fff !important;
    background-color: transparent !important;
}

/* Active dashboard: black background */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active {
    background-color: #000 !important;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active .edou-nav-icon-box {
    background-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.woocommerce-MyAccount-navigation ul li.is-active:not(.woocommerce-MyAccount-navigation-link--header-endpoint) .edou-nav-icon-box {
    background-color: rgba(255, 255, 255, .2);
    color: #fff;
}

/* Logout item — danger accent */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout > a {
    color: var(--edou-danger);
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout .edou-nav-icon-box {
    background-color: rgba(239, 68, 68, .1);
    color: var(--edou-danger);
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout > a:hover {
    background-color: rgba(239, 68, 68, .08);
}

/* ═══════════════════════════════════════════════════════════
   LI PROFILE — header-endpoint endpoint
   ═══════════════════════════════════════════════════════════ */
.woocommerce-MyAccount-navigation-link--header-endpoint {
    padding: 0 !important;
    overflow: hidden;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Divider after the profile block */
.edou-nav-divider {
    margin: 0;
    border-color: var(--edou-border);
}

/* ── Profile card ──
   Markup: "Edou WooCommerce Stuffs" plugin → templates/profile-header.php.
   The generic classes (.header, .sections, .joiner-badge, .section-item,
   .progress-bar) are deliberately scoped under .profile-card: unscoped,
   they leaked across the whole site (.progress-bar notably overrode
   Bootstrap's). */
.profile-card {
    border: 2px solid #ccc;
    margin-bottom: 45px;
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.profile-card .edou-nav-profile-banner {
    height: 70px;
    background-color: var(--edou-primary);
}

.profile-card .header {
    border-radius: 50px;
    margin: 10px;
    margin-top: -40px;
    background: linear-gradient(135deg, #e6f0ff, #f9fbff);
    padding: 20px;
    text-align: center;
    position: relative;
}

.profile-card .header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.profile-card .header h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
}

.profile-card .header p {
    font-size: .9rem;
    color: #555;
    line-height: 1.4;
}

.profile-card .joiner-badge {
    display: inline-block;
    background-color: #00c853;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.profile-card .sections {
    padding: 20px;
}

.profile-card .sections h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.profile-card .progress-bar {
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.profile-card .progress-bar span {
    display: block;
    height: 100%;
    width: 70%;
    background-color: #0078d4;
}

.profile-card .section-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9fafc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    transition: background-color .3s;
}

.profile-card .section-item:hover {
    background-color: #eef6ff;
}

.profile-card .section-item span {
    font-size: .9rem;
    color: #333;
}

@media (max-width: 480px) {
    .profile-card {
        max-width: 90%;
    }

    .profile-card .header h2 {
        font-size: 1.2rem;
    }

    .profile-card .header p {
        font-size: .85rem;
    }

    .profile-card .section-item span {
        font-size: .85rem;
    }
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .edou-myaccount-page .woocommerce {
        grid-template-columns: 1fr;
    }

    .edou-myaccount-page .woocommerce-MyAccount-navigation {
        position: static;
    }

    .edou-myaccount-nav-card {
        margin-bottom: 1rem;
    }
}

/* ============================================================
   WooCommerce — surcharge globale
   ============================================================ */

/* Main WC wrapper */
.edou-wc-main {
    padding: 2.5rem 0;
}

/* WooCommerce form fields → Bootstrap style */
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--edou-dark);
    background-color: #fff;
    border: 1px solid var(--edou-border);
    border-radius: var(--edou-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: none;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
    border-color: var(--edou-primary);
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(var(--edou-primary-rgb), .2);
}

/* WooCommerce buttons → shared button rule (Buttons section).
   .alt (checkout, add to cart) has higher specificity in WooCommerce's CSS. */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--edou-btn-bg);
    border-color: var(--edou-btn-border);
    color: var(--edou-btn-color);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--edou-btn-bg-hover);
    border-color: var(--edou-btn-border-hover);
    color: var(--edou-btn-color-hover);
}

/* ── Notices / alerts ── */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    border-radius: var(--edou-radius);
    margin-bottom: 1rem;
}

/* ── Auth (login/register) ── */
.edou-wc-auth {
    background: var(--edou-light);
    min-height: 60vh;
}

/* ── Dashboard ── */
.edou-wc-dashboard__avatar img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

/* ── Order tables ── */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--edou-border);
    text-align: left;
    vertical-align: middle;
}

.woocommerce table.shop_table th {
    font-weight: 600;
    color: var(--edou-dark);
    background: var(--edou-light);
}

.woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   Deirajob Filter plugin — adjustments
   ============================================================ */

/* The filters shortcode already sits in a padded container on the Jobs page */
#jobspagediv .djf-template-careerfy {
    padding: 0 !important;
}

.djf-results-wrap {
    margin-top: 50px !important;
}

/* ============================================================
   My Account — legacy rules
   ------------------------------------------------------------
   Moved as-is from wp_head (functions.php) and kept at the end of the
   stylesheet to preserve the original cascade order. They predate the
   "nav card" redesign above, which largely neutralises them.
   ============================================================ */
.woocommerce-MyAccount-navigation {
    margin: 0;
    padding: 5px;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1em;
}

.woocommerce-MyAccount-navigation .is-active {
    background-color: #000;
}

.woocommerce-MyAccount-navigation .is-active a {
    color: #fff;
}

/**
 * Elementor layout helpers.
 *
 * Utility classes to add on Elementor containers (Advanced → CSS Classes).
 * Loaded after Elementor's own stylesheets (see edou_enqueue_elementor_custom()
 * in functions.php); the !important flags win over the margin/width values
 * Elementor saves per element.
 *
 * @package EdouJobListing
 */

/* ============================================================
   .deira-promo-box — promo banners (Job Guarantee, Build Your CV)
   Centred, never wider than the site container, stacked on mobile.
   ============================================================ */
.deira-promo-box.e-con {
    --margin-left: auto !important;
    --margin-right: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    /* Same width as the header/footer content, 1140px max */
    max-width: min(1140px, var(--edou-container-width, 100%), calc(100% - 32px)) !important;
    box-sizing: border-box;
}


#main .edou-card {
    background: none !important;
    border: 0px solid #fff !important;
    box-shadow: none !important;
	padding: 0 !important;
}




/* Tablet: columns still side by side, with tighter spacing */
@media (max-width: 1024px) {
    .deira-promo-box.e-con {
        --column-gap: 16px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

/* Mobile: image, text and button stacked and centred */
@media (max-width: 767px) {
    .deira-promo-box.e-con {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        max-width: calc(100% - 24px) !important;
        padding: 20px 16px !important;
        --row-gap: 12px !important;
    }

    .deira-promo-box.e-con > .e-con {
        --width: 100% !important;
        width: 100% !important;
        align-items: center !important;
    }

    .deira-promo-box .elementor-widget-image img {
        max-width: 100px;
        height: auto;
        margin: 0 auto;
    }

    .deira-promo-box .elementor-icon-list-items.elementor-inline-items {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .deira-promo-box .elementor-widget-button {
        margin-top: 8px !important;
    }
}

