/*
 * Global brand values for Welder Recruiter.
 *
 * IMPORTANT: The primary place these colors and fonts belong is
 * Elementor's own Site Settings → Global Colors / Global Fonts panel
 * (Elementor → Site Settings), so every Elementor widget on every page
 * can use them from the color/font pickers. See
 * GLOBAL-COLOR-FONT-GUIDE.md for the exact click path and values.
 *
 * This file mirrors the same values as CSS custom properties, for the
 * small number of things Elementor's panel doesn't reach: the staging
 * banner, the skip-link, and focus-state outlines.
 */

:root {
    --wr-navy: #0B1D33;
    --wr-navy-dark: #071525;
    --wr-gold: #F7AD09;
    --wr-gold-dark: #916100;
    --wr-text: #172433;
    --wr-text-muted: #5D6875;
    --wr-border: #DCE2E8;
    --wr-bg-soft: #F3F6F8;
    --wr-white: #FFFFFF;
    --wr-error: #A52828;

    --wr-font-body: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
    --wr-font-heading: Georgia, 'Times New Roman', serif;

    --wr-max-width: 1240px;
    --wr-section-spacing: 96px;
    --wr-card-radius: 18px;
    --wr-button-radius: 9px;
    --wr-hero-min-height: 650px;
}

/* ------------------------------------------------------------------ */
/* Staging design-preview banner (see WRC_Staging_Mode::print_staging_banner) */
/* ------------------------------------------------------------------ */
.wr-staging-banner {
    background: var(--wr-gold);
    color: var(--wr-navy-dark);
    font-family: var(--wr-font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    padding: 8px 16px;
    position: relative;
    z-index: 9999;
}

/* ------------------------------------------------------------------ */
/* Accessibility: skip link + focus states                             */
/* ------------------------------------------------------------------ */
.wr-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--wr-navy);
    color: var(--wr-white);
    padding: 12px 20px;
    z-index: 100000;
    font-family: var(--wr-font-body);
    text-decoration: none;
    border-radius: 0 0 6px 0;
}
.wr-skip-link:focus {
    left: 0;
}

/* Never remove focus outlines — required by the accessibility spec. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--wr-gold-dark);
    outline-offset: 2px;
}

/* Reduced-motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------------ */
/* Sample-content labeling (jobs, staging notices) — small utility     */
/* classes referenced by the companion plugin's shortcodes.            */
/* ------------------------------------------------------------------ */
.sample-label {
    display: inline-block;
    background: var(--wr-bg-soft);
    color: var(--wr-text-muted);
    border: 1px solid var(--wr-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    margin-bottom: 8px;
}
.demo-notice {
    background: var(--wr-bg-soft);
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-card-radius);
    padding: 12px 16px;
    color: var(--wr-text-muted);
    font-size: 0.9rem;
}
.wrc-field-list {
    margin: 0;
    padding-left: 20px;
}
.wrc-field-list li {
    margin-bottom: 6px;
}
