/**
 * Hookeen V2 — harmonisation des pages existantes (Superio + WP Job Board Pro) avec la charte.
 * Chargée seulement si hookeen_v2_chrome() (inc/hookeen-v2.php). STYLE SEUL : aucun gabarit du
 * plugin n'est copié, aucune logique (droits, formulaires, AJAX) n'est modifiée.
 * Préfixe .hk-v2 (classe du body) : sans effet si V2 est désactivé.
 */

/* ---------- Variables Superio (257 usages) ---------- */
/* Liens et accents : bleu Hookeen lisible sur blanc (5:1). Actions principales : orange (plus bas). */
html:root {
	--superio-theme-color: #1d5fd6;
	--superio-theme-hover-color: #10275a;
	--superio-heading-font: "Hookeen Display", system-ui, sans-serif;
	/* teintes orange dérivées de l'option Superio (#da8932 en base) : orange V2 unique */
	--superio-theme-color-001: rgba(255, 138, 29, .01); --superio-theme-color-005: rgba(255, 138, 29, .05);
	--superio-theme-color-007: rgba(255, 138, 29, .07); --superio-theme-color-008: rgba(255, 138, 29, .08);
	--superio-theme-color-01: rgba(255, 138, 29, .1); --superio-theme-color-015: rgba(255, 138, 29, .15);
	--superio-theme-color-08: rgba(255, 138, 29, .8);
}
/* Extension de publications (nsp-*) : variables en ligne #DA8932 / #c47a2a -> orange V2, survol navy */
body.hk-v2 { --nsp-primary: var(--hk-orange); --nsp-primary-h: var(--hk-navy-700); }
.hk-v2 h1, .hk-v2 h2, .hk-v2 h3, .hk-v2 h4 { font-family: var(--hk-font-display); letter-spacing: -.01em; }

/* ---------- Bandeau de titre de page et en-tête de fiche d'offre : navy ---------- */
.hk-v2 .apus-breadscrumb,
.hk-v2 .job-detail-header {
	background: radial-gradient(60% 120% at 80% 0%, rgba(47, 123, 255, .25), transparent 70%), linear-gradient(180deg, var(--hk-navy-800), var(--hk-navy-900)) !important; /* fond défini en ligne par Superio */
	color: var(--hk-muted);
}
.hk-v2 .apus-breadscrumb .bread-title { color: var(--hk-text); font-family: var(--hk-font-display); font-weight: 800; text-transform: none; }
.hk-v2 .apus-breadscrumb .breadcrumb,
.hk-v2 .apus-breadscrumb .breadcrumb a { color: var(--hk-muted); }
.hk-v2 .apus-breadscrumb .breadcrumb .active { color: var(--hk-orange-soft); }
.hk-v2 .job-detail-header .job-detail-title,
.hk-v2 .job-detail-header .job-detail-title a { color: var(--hk-text); }
.hk-v2 .job-detail-header .job-metas-detail,
.hk-v2 .job-detail-header .job-metas-detail a,
.hk-v2 .job-detail-header .job-metas-detail > div { color: var(--hk-muted); }
.hk-v2 .job-detail-header .employer-logo { border-radius: 18px; overflow: hidden; }
.hk-v2 .job-detail-header .type-job,
.hk-v2 .job-detail-header .job-type a { background: rgba(255, 255, 255, .14) !important; color: var(--hk-text) !important; } /* couleur en ligne par type */
.hk-v2 .job-detail-header .btn-add-job-shortlist { background: rgba(255, 255, 255, .1); color: var(--hk-text); } /* arrondi : règle globale des boutons */

/* ---------- Cartes : offres, employeurs, candidats ---------- */
.hk-v2 .job-list,
.hk-v2 .job-grid,
.hk-v2 .employer-card,
.hk-v2 .employer-list,
.hk-v2 .candidate-list,
.hk-v2 .candidate-grid {
	border: 1px solid #e3e8f2;
	border-radius: 16px;
	transition: border-color .25s ease, box-shadow .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.hk-v2 .job-list:hover,
.hk-v2 .job-grid:hover,
.hk-v2 .employer-card:hover,
.hk-v2 .employer-list:hover,
.hk-v2 .candidate-list:hover,
.hk-v2 .candidate-grid:hover { border-color: rgba(255, 138, 29, .55); box-shadow: 0 16px 36px rgba(10, 24, 56, .1); transform: translateY(-2px); }
.hk-v2 .job-title a,
.hk-v2 .employer-title a { color: var(--hk-navy-800); font-family: var(--hk-font-display); font-weight: 800; }
.hk-v2 .job-title a:hover,
.hk-v2 .employer-title a:hover { color: #1d5fd6; }
.hk-v2 .employer-logo img { border-radius: 12px; }

/* ---------- RÈGLE DES BOUTONS : rectangulaires (jetons hk-tokens.css) ----------
 * Superio arrondit ses boutons avec des sélecteurs très spécifiques : le RAYON seul est imposé en
 * !important, limité aux éléments de type bouton du contenu, des fenêtres modales et du retour en haut.
 * Les deux cartes rondes Candidats / Employeurs (.hk-orb) restent l'unique exception. */
body.hk-v2 :is(#apus-main-content, .mfp-wrap, .apus-footer) :is(.btn, .button, button, input[type="submit"], input[type="button"], input[type="reset"], .page-numbers, [role="button"], .btn-action-icon, .btn-follow, .btn-action-job, .btn-add-job-shortlist, .btn-add-candidate-shortlist, .btn-show-cv, .mfp-close):not(.hk-orb):not(.hk-btn),
body.hk-v2 #back-to-top { border-radius: var(--hk-radius-btn-sm) !important; }
body.hk-v2 :is(#apus-main-content, .mfp-wrap) :is(.btn-theme, .btn-apply, .button-primary, .btn-block, [type="submit"].btn, .btn-lg):not(.hk-btn) { border-radius: var(--hk-radius-btn) !important; }
body.hk-v2 #back-to-top { background: var(--hk-navy-700); color: #fff; }
body.hk-v2 #back-to-top:hover { background: var(--hk-orange); color: var(--hk-on-orange); }

/* ---------- Actions principales : orange Hookeen ---------- */
.hk-v2 :is(#apus-main-content, .mfp-wrap) .btn-theme,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .btn-apply,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .button-primary,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap ~ [type="submit"],
.hk-v2 :is(#apus-main-content, .mfp-wrap) form [type="submit"].btn {
	border: 2px solid var(--hk-orange);
	background: var(--hk-orange);
	color: var(--hk-navy-900);
	font-family: var(--hk-font-display);
	font-weight: 800;
	text-transform: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hk-v2 :is(#apus-main-content, .mfp-wrap) .btn-theme:hover,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .btn-apply:hover,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .button-primary:hover,
.hk-v2 :is(#apus-main-content, .mfp-wrap) form [type="submit"].btn:hover {
	border-color: var(--hk-navy-800);
	background: var(--hk-navy-800);
	color: #fff;
	box-shadow: 0 10px 24px rgba(10, 24, 56, .25);
}

/* ---------- Formulaires (filtres, profil, publication, tableau de bord) ---------- */
.hk-v2 :is(#apus-main-content, .mfp-wrap) .form-control,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap input[type="text"],
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap input[type="email"],
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap input[type="url"],
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap input[type="number"],
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap select,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap textarea { border: 1.5px solid #d6deec; border-radius: 12px; background-color: #f6f8fc; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.hk-v2 :is(#apus-main-content, .mfp-wrap) .form-control:focus,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap input:focus,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap select:focus,
.hk-v2 :is(#apus-main-content, .mfp-wrap) .cmb2-wrap textarea:focus { outline: 2px solid transparent !important; border-color: var(--hk-orange); background-color: #fff; box-shadow: 0 0 0 4px rgba(255, 138, 29, .22); }

/* ---------- Focus clavier visible partout (Superio : outline: none !important) ---------- */
.hk-v2 #apus-main-content a:focus-visible,
.hk-v2 #apus-main-content button:focus-visible,
.hk-v2 #apus-main-content [role="button"]:focus-visible,
.hk-v2 #apus-main-content input[type="checkbox"]:focus-visible,
.hk-v2 #apus-main-content input[type="radio"]:focus-visible { outline: 3px solid #1d5fd6 !important; outline-offset: 2px; }

/* ---------- Pagination, puces de type de contrat ---------- */
.hk-v2 .page-numbers.current { background: var(--hk-navy-800); color: #fff; }
.hk-v2 .job-type.with-title,
.hk-v2 .type-job { border-radius: var(--hk-radius-tag); }

/* ---------- Teintes codées en dur par Superio (bleu #1967d2) -> jetons Hookeen ---------- */
.hk-v2 .type-job { background: var(--hk-info-bg); color: var(--hk-blue-ink); }
.hk-v2 .inner-header .list-item .icon { background: var(--hk-info-bg); color: var(--hk-blue-ink); }
.hk-v2 .inner-header .list-item:nth-child(2) .icon { background: var(--hk-warning-bg); color: var(--hk-orange-ink); }
.hk-v2 .inner-header .list-item:nth-child(3) .icon { background: #e9edf6; color: var(--hk-navy-700); }
.hk-v2 .inner-header .list-item:nth-child(4) .icon { background: var(--hk-success-bg); color: var(--hk-success); }
.hk-v2 .inner-header .list-item .icon i { color: inherit; }
.hk-v2 #apus-main-content .btn-action-icon { border: 1px solid var(--hk-line-light); background: var(--hk-bg-light); color: var(--hk-navy-700); transition: background-color var(--hk-dur-fast) ease, color var(--hk-dur-fast) ease, border-color var(--hk-dur-fast) ease; }
.hk-v2 #apus-main-content .btn-action-icon:hover, .hk-v2 #apus-main-content .btn-action-icon:focus-visible { border-color: var(--hk-navy-700); background: var(--hk-navy-700); color: #fff; }
.hk-v2 #apus-main-content .upload-file-btn { border: 1.5px dashed var(--hk-line-strong); border-radius: var(--hk-radius-btn-sm); background: #fff; color: var(--hk-navy-700); font-weight: var(--hk-fw-semibold); transition: border-color var(--hk-dur-fast) ease, background-color var(--hk-dur-fast) ease; }
.hk-v2 #apus-main-content .upload-file-btn:hover { border-color: var(--hk-orange); background: var(--hk-warning-bg); }
.hk-v2 #apus-main-content .btn-follow.button { border: 1px solid var(--hk-line-light); background: var(--hk-bg-light); color: var(--hk-navy-700); }
.hk-v2 #apus-main-content .btn-follow.button:hover { border-color: var(--hk-navy-700); background: var(--hk-navy-700); color: #fff; }
.hk-v2 .nb-job { background: var(--hk-warning-bg); color: var(--hk-orange-ink); }
.hk-v2 #apus-main-content .open-job, .hk-v2 #apus-main-content .open-job a { color: var(--hk-blue-ink); }
.hk-v2 #apus-main-content .icon-more { color: var(--hk-blue-ink); background-color: var(--hk-info-bg); }
.hk-v2 #apus-main-content .open-job { background-color: var(--hk-info-bg); }
.hk-v2 .inner-header .number-count { color: var(--hk-blue-ink); }
.hk-v2 .inner-header .list-item:nth-child(2) .number-count { color: var(--hk-orange-ink); }
.hk-v2 .inner-header .list-item:nth-child(3) .number-count { color: var(--hk-navy-700); }
.hk-v2 .inner-header .list-item:nth-child(4) .number-count { color: var(--hk-success); }
/* Boutons secondaires de Superio et de CMB2 : contour navy, survol plein */
.hk-v2 #apus-main-content :is(.btn-theme-lighten, .button-secondary, .btn-theme-second, .btn-outline) { border: 1.5px solid var(--hk-navy-700); background: #fff; color: var(--hk-navy-700); font-family: var(--hk-font-display); font-weight: var(--hk-fw-semibold); transition: background-color var(--hk-dur-fast) ease, color var(--hk-dur-fast) ease; }
.hk-v2 #apus-main-content :is(.btn-theme-lighten, .button-secondary, .btn-theme-second, .btn-outline):hover { background: var(--hk-navy-700); color: #fff; }
.hk-v2 .apus-social-share a { border-radius: var(--hk-radius-btn-sm); background: var(--hk-navy-700); color: #fff; }
.hk-v2 .apus-social-share a:hover, .hk-v2 .apus-social-share a:focus-visible { background: var(--hk-orange); color: var(--hk-on-orange); }

/* ---------- Pagination : cible tactile ---------- */
.hk-v2 .page-numbers { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Focus visible : listes Select2, éditeur de texte, carte, champs de fichier ---------- */
.hk-v2 .select2-container--focus .select2-selection,
.hk-v2 .select2-container--open .select2-selection,
.hk-v2 .select2-selection:focus { outline: 2px solid transparent !important; border-color: var(--hk-orange) !important; box-shadow: var(--hk-halo-orange) !important; }
.hk-v2 #apus-main-content iframe:focus,
.hk-v2 #apus-main-content .leaflet-container:focus,
.hk-v2 #apus-main-content .leaflet-container:focus-visible { outline: var(--hk-focus-ring-light) !important; outline-offset: 2px; }
.hk-v2 #apus-main-content :is(.wp-editor-wrap:focus-within, .wp-editor-wrap.is-focused) { border-radius: var(--hk-radius-field); box-shadow: var(--hk-halo-orange); }
.hk-v2 #apus-main-content :is(.mce-btn, .mce-btn button, .mce-btn .mce-txt) { color: var(--hk-ink); } /* barre d'outils de l'éditeur : contraste ≥ 4,5:1 */

@media (prefers-reduced-motion: reduce) {
	.hk-v2 .job-list, .hk-v2 .job-grid, .hk-v2 .employer-card, .hk-v2 .employer-list, .hk-v2 .candidate-list, .hk-v2 .candidate-grid { transition: none; transform: none !important; }
}

/* Éditeur TinyMCE : le focus est dans l'iframe, l'indication est portée par le cadre */
.hk-v2 #apus-main-content .mce-edit-area iframe:focus-visible { outline: var(--hk-focus-ring-light); outline-offset: -3px; }

/* Très petits écrans : les boutons à libellé long passent à la ligne au lieu de déborder */
@media (max-width: 520px) {
	.hk-v2 #apus-main-content :is(.btn, .button, button, [type="submit"]) { max-width: 100%; white-space: normal; }
}
.hk-v2 #apus-main-content .select2-container { max-width: 100%; } /* largeur fixe en ligne posée par Select2 */
.hk-v2 #apus-main-content .my-jobs-ordering .flex-middle { flex-wrap: wrap; gap: 6px; }
.hk-v2 #apus-main-content .flex-middle > .select2-container { min-width: 0; }

/* Cibles tactiles mobiles ≥ 40 px : onglets de l'éditeur, menu « Paragraphe », zoom de la carte (taille seulement) */
@media (max-width: 520px) {
	.hk-v2 #apus-main-content .wp-switch-editor { box-sizing: border-box; height: 40px; padding: 0 12px; line-height: 38px; }
	.hk-v2 #apus-main-content .mce-menubtn button { min-height: 40px; }
	.hk-v2 #apus-main-content .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; }
}

/* Listes d'offres en grille à côté des filtres : 2 colonnes entre 992 et 1199 px (3 colonnes Bootstrap trop étroites) */
@media (min-width: 992px) and (max-width: 1199px) {
	.hk-v2 #apus-main-content .items-wrapper-list { display: flex; flex-wrap: wrap; }
	.hk-v2 #apus-main-content .items-wrapper-list::before, .hk-v2 #apus-main-content .items-wrapper-list::after { display: none; }
	.hk-v2 #apus-main-content .items-wrapper-list > .col-md-4 { width: 50%; }
}
.hk-v2 #apus-main-content .candidate-detail-cv { border-color: var(--hk-line-light); background-color: var(--hk-info-bg); color: var(--hk-navy-700); }
.hk-v2 #apus-main-content .candidate-detail-cv :is(i, [class*="icon"]) { color: var(--hk-blue-ink); }

/* ---------- Contenus éditoriaux (Elementor, pages, articles, publications) : jetons Hookeen ----------
 * Couleurs héritées relevées en production (11/11/2026) : Bootstrap 3 #202124 (titres, liens), Superio #77838F
 * (texte), Elementor #696969 (posé élément par élément), kit Elementor 4593 = couleurs par défaut d'Elementor,
 * bouton Elementor #DA8932, extension de publications (nsp-*) aux couleurs Facebook. Toutes les sections
 * Elementor des pages publiques sont sur fond clair ; les zones sombres V2 sont exclues. */
body.hk-v2 {
	--novelstep-text-color: var(--hk-ink); /* css/brand-text-colors.css : #202124 (noir Superio) */
	--e-global-color-primary: var(--hk-navy-700);
	--e-global-color-secondary: var(--hk-ink-muted);
	--e-global-color-text: var(--hk-ink-muted);
	--e-global-color-accent: var(--hk-orange);
}
.hk-v2 #apus-main-content { color: var(--hk-ink-muted); }
.hk-v2 #apus-main-content :is(h1, h2, h3, h4, h5, h6, strong, b, .elementor-heading-title, .nsp-feed-title, .nsp-author-name):not(.apus-breadscrumb *, .job-detail-header *, .hk-on-dark *, .hk-home *, [class^="hk-"]) { color: var(--hk-ink); } /* QA-042 : .hk-home est entièrement sombre (badge « offres publiées cette semaine ») */
.hk-v2 #apus-main-content :is(.elementor-widget-text-editor, .elementor-text-editor, .elementor-icon-box-description, .elementor-image-box-description, .elementor-counter-title, .elementor-widget-text-editor :is(p, li, span), .entry-content :is(p, li), .nsp-post-time):not(.apus-breadscrumb *, .job-detail-header *, .hk-on-dark *) { color: var(--hk-ink-muted); }
.hk-v2 #apus-main-content :is(.elementor-widget-text-editor, .entry-content) a:not(.btn, .button, .elementor-button) { color: var(--hk-blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.hk-v2 #apus-main-content :is(.elementor-widget-text-editor, .entry-content) a:not(.btn, .button, .elementor-button):hover { color: var(--hk-navy-700); }
.hk-v2 #apus-main-content :is(.elementor-icon, .elementor-icon-box-icon .elementor-icon, .elementor-counter-number-wrapper) { color: var(--hk-navy-700); fill: var(--hk-navy-700); border-color: currentColor; }
.hk-v2 #apus-main-content .nsp-cat-link { color: var(--hk-orange-ink); }
.hk-v2 #apus-main-content .nsp-comment-bubble { background: var(--hk-bg-light); }

/* Boutons Elementor : action principale Hookeen (orange, texte navy, rectangulaire) */
.hk-v2 #apus-main-content .elementor-button {
	border: 2px solid var(--hk-orange);
	border-radius: var(--hk-radius-btn) !important;
	background: var(--hk-orange);
	color: var(--hk-on-orange);
	fill: var(--hk-on-orange);
	font-family: var(--hk-font-display);
	font-weight: 800;
	text-transform: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hk-v2 #apus-main-content .elementor-button:is(:hover, :focus-visible) { border-color: var(--hk-navy-800); background: var(--hk-navy-800); color: #fff; fill: #fff; }

/* États et messages (Bootstrap 3) -> jetons d'état */
.hk-v2 #apus-main-content .alert-warning { border-color: transparent; background: var(--hk-warning-bg); color: var(--hk-warning); }
.hk-v2 #apus-main-content .alert-warning :is(p, a, strong) { color: inherit; }
.hk-v2 #apus-main-content .alert-danger { border-color: transparent; background: var(--hk-error-bg); color: var(--hk-error); }
.hk-v2 #apus-main-content .alert-success { border-color: transparent; background: var(--hk-success-bg); color: var(--hk-success); }
.hk-v2 #apus-main-content .alert-info { border-color: transparent; background: var(--hk-info-bg); color: var(--hk-info); }
.hk-v2 #apus-main-content :is(.required, .text-danger) { color: var(--hk-error); }

/* Champs des formulaires d'inscription (classe WordPress .regular-text) : même style que les autres champs */
.hk-v2 #apus-main-content :is(input.regular-text, .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"])) { border: 1.5px solid #d6deec; border-radius: 12px; background-color: #f6f8fc; }
.hk-v2 #apus-main-content :is(input.regular-text, .wpcf7-form-control):focus { outline: 2px solid transparent; border-color: var(--hk-orange); background-color: #fff; box-shadow: 0 0 0 4px rgba(255, 138, 29, .22); }
.hk-v2 #apus-main-content .wpcf7-submit { border: 2px solid var(--hk-orange); border-radius: var(--hk-radius-btn); background: var(--hk-orange); color: var(--hk-on-orange); font-family: var(--hk-font-display); font-weight: 800; }
.hk-v2 #apus-main-content .wpcf7-submit:hover { border-color: var(--hk-navy-800); background: var(--hk-navy-800); color: #fff; }
/* Liens sans classe (Bootstrap : #202124), accordéons et onglets Elementor (FAQ), listes Select2, publications */
/* .hk-home est entièrement sombre (comme pour les titres, QA-042) : ses liens gardent leurs couleurs claires (titres des offres récentes). */
.hk-v2 #apus-main-content a:not([class], [data-toggle], .nav a, .apus-breadscrumb *, .job-detail-header *, .hk-on-dark *, .hk-home *) { color: var(--hk-ink); }
.hk-v2 #apus-main-content a:not([class], [data-toggle], .nav a, .hk-home *):hover { color: var(--hk-blue-ink); }
/* Onglets de rôle (inscription Candidat / Employeur) : actif navy, inactif clair */
.hk-v2 #apus-main-content .role-tabs > li > a { border: 1.5px solid var(--hk-line-strong); border-radius: var(--hk-radius-btn); background: var(--hk-bg-light); color: var(--hk-navy-700); font-family: var(--hk-font-display); font-weight: var(--hk-fw-semibold); }
.hk-v2 #apus-main-content .role-tabs > li.active > a, .hk-v2 #apus-main-content .role-tabs > li > a:hover { border-color: var(--hk-navy-700); background: var(--hk-navy-700); color: #fff; }
.hk-v2 #apus-main-content :is(.elementor-accordion-title, .elementor-tab-title, .elementor-tab-title a, .elementor-toggle-title) { color: var(--hk-ink); font-family: var(--hk-font-display); }
.hk-v2 #apus-main-content :is(.elementor-active, .elementor-active a) :is(.elementor-accordion-title, .elementor-toggle-title),
.hk-v2 #apus-main-content :is(.elementor-tab-title.elementor-active, .elementor-tab-title.elementor-active a) { color: var(--hk-blue-ink); }
.hk-v2 #apus-main-content :is(.elementor-accordion-icon, .elementor-toggle-icon) { color: var(--hk-orange-ink); }
.hk-v2 #apus-main-content :is(.select2-selection__placeholder, .select2-selection__rendered) { color: var(--hk-ink-muted); }
.hk-v2 #apus-main-content .nsp-text-content { color: var(--hk-ink); }
.hk-v2 #apus-main-content [class^="nsp-"] span:not([class]) { color: inherit; }
.hk-v2 #apus-main-content [class^="nsp-post-"] { color: var(--hk-ink-muted); }
.hk-v2 #apus-main-content :is(.nsp-like-icon-small, .nsp-like-icon) { background-color: var(--hk-orange); color: var(--hk-on-orange); }
/* Tableaux des contenus (politique de confidentialité) : bordures de la charte */
.hk-v2 #apus-main-content :is(table, th, td) { border-color: var(--hk-line-strong); }
.hk-v2 #apus-main-content th { color: var(--hk-ink); background: var(--hk-bg-light); }

/* Bandeau et onglet de consentement (Complianz, variables du plugin) : couleurs Hookeen */
body.hk-v2 :is(.cmplz-cookiebanner, #cmplz-manage-consent) {
	--cmplz_banner_background_color: #fff;
	--cmplz_banner_border_color: var(--hk-line-light);
	--cmplz_text_color: var(--hk-ink);
	--cmplz_hyperlink_color: var(--hk-blue-ink);
	--cmplz_button_accept_background_color: var(--hk-orange);
	--cmplz_button_accept_border_color: var(--hk-orange);
	--cmplz_button_accept_text_color: var(--hk-on-orange);
	--cmplz_button_deny_background_color: var(--hk-bg-light);
	--cmplz_button_deny_border_color: var(--hk-line-strong);
	--cmplz_button_deny_text_color: var(--hk-navy-700);
	--cmplz_button_settings_background_color: var(--hk-bg-light);
	--cmplz_button_settings_border_color: var(--hk-line-strong);
	--cmplz_button_settings_text_color: var(--hk-navy-700);
	--cmplz_button_border_radius: var(--hk-radius-btn);
}
body.hk-v2 :is(.cmplz-cookiebanner .cmplz-btn, #cmplz-manage-consent .cmplz-manage-consent) { font-family: var(--hk-font-display); font-weight: 700; }
/* Fermeture du panneau de filtres mobile : rouge Superio #e44343 (4:1) -> navy de la charte */
.hk-v2 .close-sidebar-btn { color: var(--hk-navy-700); font-family: var(--hk-font-display); font-weight: var(--hk-fw-semibold); }
/* Tableaux de contenu sur mobile : largeur de l'écran, retour à la ligne des mots longs (courriels), pas de justification */
@media (max-width: 767px) {
	.hk-v2 #apus-main-content :is(.elementor-widget-text-editor, .entry-content) table { width: 100% !important; table-layout: fixed; }
	.hk-v2 #apus-main-content :is(.elementor-widget-text-editor, .entry-content) :is(td, th) { overflow-wrap: anywhere; text-align: start; }
}

/* ---------- Fenêtres modales : connexion, candidature, message, invitation (Magnific Popup de Superio),
 * « J'aime » des publications (nsp), suggestion de langue TranslatePress. Champs et boutons : règles ci-dessus. */
body.hk-v2 .mfp-bg { background: var(--hk-navy-900); }
body.hk-v2 .apus-mfp-zoom-in .mfp-content,
body.hk-v2 .wp-job-board-pro-mfp-container .mfp-content > *,
body.hk-v2 .nsp-modal,
body.hk-v2 #trp_ald_modal_popup, body.hk-v2 #trp_ald_no_text_popup_div {
	/* Filet orange intérieur de 2 px : suit l'arrondi (remplace la bordure haute de 4 px, adoucie le 12/11). */
	border: 1px solid var(--hk-line-light); border-radius: var(--hk-radius-card) !important;
	background: #fff; box-shadow: inset 0 2px 0 var(--hk-orange), var(--hk-shadow-lg); color: var(--hk-ink-muted); font-family: var(--hk-font-body);
}
body.hk-v2 :is(.mfp-content, .nsp-modal, #trp_ald_modal_popup) :is(h1, h2, h3, h4, .widget-title, .popup-title, .title, .nsp-modal-header) { color: var(--hk-ink); font-family: var(--hk-font-display); font-weight: 800; text-transform: none; }
body.hk-v2 :is(.mfp-content, .nsp-modal) a:not(.btn, .button, [class*="btn-"]) { color: var(--hk-blue-ink); }
body.hk-v2 :is(.close-magnific-popup, .close-popup, .mfp-close, .nsp-modal-close, #trp_ald_x_button, #trp_ald_no_text_popup_x) { color: var(--hk-navy-700) !important; opacity: 1; }
body.hk-v2 :is(.close-magnific-popup, .close-popup, .mfp-close, .nsp-modal-close, #trp_ald_x_button, #trp_ald_no_text_popup_x):hover { color: var(--hk-orange-ink) !important; }
body.hk-v2 :is(.close-magnific-popup, .close-popup, .mfp-close, .nsp-modal-close, #trp_ald_x_button, #trp_ald_no_text_popup_x):focus-visible { outline: 2px solid var(--hk-orange); outline-offset: 2px; }
body.hk-v2 .nsp-modal-overlay, body.hk-v2 #trp_ald_modal_container { background: rgba(5, 12, 36, .8) !important; }
body.hk-v2 :is(#trp_ald_popup_change_language, #trp_ald_no_text_popup_change_language) { border: 2px solid var(--hk-orange) !important; border-radius: var(--hk-radius-btn) !important; background: var(--hk-orange) !important; color: var(--hk-on-orange) !important; font-family: var(--hk-font-display); font-weight: 800; }
body.hk-v2 :is(#trp_ald_popup_select_container, .trp-ald-popup-select) { border-radius: var(--hk-radius-field); color: var(--hk-ink); }
/* Onglets connexion / inscription de la fenêtre : mêmes onglets que la page d'inscription */
body.hk-v2 .mfp-content .nav-tabs > li > a { border-radius: var(--hk-radius-btn-sm); background: var(--hk-bg-light); color: var(--hk-navy-700); }
body.hk-v2 .mfp-content .nav-tabs > li.active > a { background: var(--hk-navy-700); color: #fff; }

/* ---------- Espace utilisateur (modèle « Dashboard » de Superio : /espace-utilisateur/, /mon-profil/, /mon-cv/…)
 * Superio prévoit son propre header de 60 px : barre latérale en position fixe (360 px, toute la hauteur) et
 * contenu/pied de page décalés de 360 px. Avec le header et le footer V2, la barre recouvrait le footer et
 * laissait une bande blanche (vide pour un visiteur). Ici : colonne normale dans la grille du conteneur V2,
 * collante sous le header, masquée quand elle n'a aucun widget (visiteur). Mobile : panneau Superio conservé. */
body.hk-v2 .inner-dashboard.container-fluid { padding: 40px 0 64px; }
body.hk-v2 .inner-dashboard.container-fluid > .row {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start;
	width: min(1320px, 100% - 48px); margin-inline: auto; /* QA-045 : la colonne latérale se rapproche du bord, le contenu gagne 120 px */
}
body.hk-v2 .inner-dashboard.container-fluid > .row::before,
body.hk-v2 .inner-dashboard.container-fluid > .row::after { content: none; }
body.hk-v2 .inner-dashboard.container-fluid > .row > [class*="col-"] { width: auto; float: none; padding: 0; }
body.hk-v2 .inner-dashboard:not(:has(.sidebar .widget)) :is(.sidebar-wrapper, .mobile-sidebar-btn, .mobile-sidebar-panel-overlay) { display: none; }
@media (min-width: 992px) {
	body.hk-v2 .inner-dashboard.container-fluid:is(.left-main, .main-right) { padding-left: 0; padding-right: 0; }
	body.hk-v2 .inner-dashboard.left-main:has(.sidebar .widget) > .row { grid-template-columns: 300px minmax(0, 1fr); }
	body.hk-v2 .inner-dashboard.main-right:has(.sidebar .widget) > .row { grid-template-columns: minmax(0, 1fr) 300px; }
	body.hk-v2 .inner-dashboard.container-fluid .sidebar {
		position: sticky; top: 96px; left: auto; right: auto; z-index: auto;
		width: auto; height: auto !important; max-height: calc(100vh - 112px); overflow: auto; /* hauteur posée en ligne par Superio */
		padding: 24px; border: 1px solid var(--hk-line-light); border-radius: var(--hk-radius-card); box-shadow: var(--hk-shadow-sm);
	}
}
/* Fil de publications en pleine largeur (espace utilisateur, page d'une publication) : colonne de lecture centrée,
 * au lieu de cartes de 1 260 px sur ordinateur. Les fils placés dans une colonne (profils, /publications/) sont déjà étroits. */
body.hk-v2 :is(.inner-dashboard .nsp-feed, .nsp-feed--single) { max-width: 760px; margin-inline: auto; }
body.hk-v2 .nsp-post-media:has(> img) { background: var(--hk-bg-light); } /* image non recadrée : bandes claires, pas noires */
/* Téléphones : gouttière de 16 px de chaque côté. Les colonnes Elementor des pages de l'espace (ex. /mes-publications/ :
 * marge de 30 px réglée pour le bureau) s'ajoutaient à la gouttière : cartes de 282 px sur un écran de 390. */
@media (max-width: 767px) {
	body.hk-v2 .inner-dashboard.container-fluid > .row { width: calc(100% - 32px); }
	body.hk-v2 .inner-dashboard .elementor-column > .elementor-widget-wrap.elementor-element-populated { margin-left: 0; margin-right: 0; }
}
@media (max-width: 991px) {
	body.hk-v2 .inner-dashboard.container-fluid { padding-top: 16px; }
	/* panneau mobile au-dessus du header V2 (z-index 50) */
	body.hk-v2 .inner-dashboard .mobile-sidebar-panel-overlay { z-index: 60; }
	body.hk-v2 .inner-dashboard .sidebar { z-index: 61; }
}
/* QA-035 (section II) : panneau mobile des filtres hors espace utilisateur (Trouver un emploi, annuaires) : au-dessus du
 * header V2 (z-index 50, il masquait le premier filtre), défilement natif jusqu'au dernier filtre et au bouton de
 * recherche (le défilement de perfect-scrollbar était bloqué au doigt), « Fermer » toujours visible. */
@media (max-width: 991px) {
	body.hk-v2 .mobile-sidebar-panel-overlay { z-index: 60; }
	body.hk-v2 :is(.sidebar-left, .sidebar-right).sidebar.active { z-index: 61; width: min(360px, 88vw); max-height: 100dvh; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
	body.hk-v2 .sidebar.active .close-sidebar-btn { position: sticky; top: 0; z-index: 2; display: block; padding: 12px 0; background: #fff; }
	body.hk-v2 .sidebar.active > :is(.ps-scrollbar-y-rail, .ps__rail-y, .ps-scrollbar-x-rail, .ps__rail-x) { display: none; }
}
/* Mon compte WooCommerce (/mon-compte/) : rangée Bootstrap sans conteneur (marges -15 px) -> formulaires rognés de 15 px à droite */
body.hk-v2 .woocommerce .user.row { margin-left: 0; margin-right: 0; }

/* ==================== Cahier QA du 11/11/2026 ==================== */
/* QA-001 : menu de l'espace utilisateur (barre latérale + panneau mobile) dans la typographie Hookeen */
body.hk-v2 .inner-dashboard :is(.menu_short_profile li > a, .user-short-profile-top .title) { font-family: var(--hk-font-display); font-weight: var(--hk-fw-semibold); letter-spacing: -.005em; }

/* QA-003 : bouton « Publier » de Mes publications — orange officiel, texte navy lisible ; état désactivé
   explicite (gris) au lieu d'un orange délavé par opacity:.5 ; survol et focus aux couleurs V2 */
body.hk-v2 :is(.nsp-submit-btn, .nsp-edit-save) { background: var(--hk-orange); border-color: var(--hk-orange); color: var(--hk-on-orange); font-family: var(--hk-font-display); font-weight: var(--hk-fw-bold); }
body.hk-v2 :is(.nsp-submit-btn, .nsp-edit-save):not(:disabled):hover { background: var(--hk-navy-700); border-color: var(--hk-navy-700); color: #fff; }
/* !important : Superio et WooCommerce imposent outline: none !important à tous les boutons. Fond clair : anneau bleu (≥ 3:1). */
body.hk-v2 :is(.nsp-submit-btn, .nsp-edit-save):focus-visible { outline: var(--hk-focus-ring-light) !important; outline-offset: 2px; }
body.hk-v2 :is(.nsp-submit-btn, .nsp-edit-save):disabled { opacity: 1; background: var(--hk-bg-light); border: 1.5px solid var(--hk-line-strong); color: var(--hk-ink-muted); cursor: not-allowed; }

/* QA-008 : formation / expérience du profil candidat — rouge #D93025 et bleu #1967D2 de Superio -> navy officiel ;
   les liens restent bleus et soulignés (distincts du texte) */
.hk-v2 .my_resume_eduarea :is(.year, .edu_center) { color: var(--hk-navy-700); }
.hk-v2 .my_resume_eduarea .university { color: var(--hk-navy-700); font-weight: var(--hk-fw-semibold); }
.hk-v2 .my_resume_eduarea .circle { background: rgba(16, 39, 90, .08); color: var(--hk-navy-700); }
.hk-v2 .my_resume_eduarea .content::after { border-color: var(--hk-line-light); }
.hk-v2 .my_resume_eduarea a:not(.btn) { color: var(--hk-blue-ink); text-decoration: underline; text-underline-offset: 2px; }

/* EF-023 : couverture uniforme navy des pages entreprise (aucune photo de couverture affichée) */
.hk-v2 .employer-detail-header.hk-cover-navy { background: radial-gradient(60% 120% at 80% 0%, rgba(47, 123, 255, .25), transparent 70%), linear-gradient(180deg, var(--hk-navy-800), var(--hk-navy-900)) !important; }
.hk-v2 .employer-detail-header.hk-cover-navy::before { content: none; }
.hk-v2 #apus-main-content .employer-detail-header.hk-cover-navy :is(.candidate-title, .candidate-information, .candidate-metas, .candidate-metas-bottom) { color: var(--hk-text); text-shadow: none; }
.hk-v2 #apus-main-content .employer-detail-header.hk-cover-navy :is(.candidate-metas a, .candidate-metas i) { color: var(--hk-muted); text-shadow: none; }

/* EF-010 : accès direct à la messagerie (header) et en tête du menu mobile */
.hk-msg { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0; overflow: visible; }

/* ---------- QA-045 : statistiques du tableau de bord (candidat et employeur). Superio : 4 colonnes Bootstrap de 25 %,
 * icône de 70 px et texte aligné à droite -> chiffres et libellés sortaient des cartes vers 1280-1366 px.
 * Grille : 4 cartes si chacune a 180 px, sinon 2 ou 1 ; icône à gauche, chiffre et libellé à droite de l'icône. */
body.hk-v2 .statistics.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 24px; }
body.hk-v2 .statistics.row::before,
body.hk-v2 .statistics.row::after { content: none; }
body.hk-v2 .statistics.row > [class*="col-"] { width: auto; float: none; padding: 0; }
body.hk-v2 .statistics .inner-header { height: 100%; margin: 0; padding: 18px; }
body.hk-v2 .statistics .list-item { display: flex; align-items: center; justify-content: flex-start; gap: 12px; text-align: left; }
body.hk-v2 .statistics .icon { flex: none; width: 48px; height: 48px; font-size: 22px; line-height: 48px; }
body.hk-v2 .statistics .inner { flex: 1; min-width: 0; margin: 0; text-align: left; }
body.hk-v2 .statistics .number-count { margin: 0 0 4px; font-size: 28px; line-height: 1; }
body.hk-v2 .statistics .inner span { display: block; font-size: 14px; line-height: 1.3; overflow-wrap: break-word; }

/* ---------- QA-048 : barre de recherche des offres (modèle Elementor 1637, conteneur de 1320 px) alignée sur la grille
 * filtres + résultats en dessous (conteneur Bootstrap : 750 / 970 / 1240 / 1320 px), bande moins haute. */
body.hk-v2 .jobs-filter-top-sidebar-wrapper .elementor-section.elementor-top-section { padding-block: clamp(24px, 4vw, 48px); }
body.hk-v2 .jobs-filter-top-sidebar-wrapper .elementor-section-boxed > .elementor-container { max-width: 100%; margin-inline: auto; }
@media (min-width: 768px) { body.hk-v2 .jobs-filter-top-sidebar-wrapper .elementor-section-boxed > .elementor-container { width: 750px; } }
@media (min-width: 992px) { body.hk-v2 .jobs-filter-top-sidebar-wrapper .elementor-section-boxed > .elementor-container { width: 970px; } }
@media (min-width: 1200px) { body.hk-v2 .jobs-filter-top-sidebar-wrapper .elementor-section-boxed > .elementor-container { width: 1240px; } }
@media (min-width: 1380px) { body.hk-v2 .jobs-filter-top-sidebar-wrapper .elementor-section-boxed > .elementor-container { width: 1320px; } }

/* ---------- QA-034 : image à la une de l'offre (en-tête navy V2, voile pour garder le titre lisible) et aperçu de
 * soumission : « Soumettre » orange V2 au lieu du vert Superio (.btn-success), « Modifier » en secondaire. */
.hk-v2 .job-detail-header.has-cover { background: linear-gradient(180deg, rgba(5, 12, 36, .72), rgba(5, 12, 36, .9)), var(--hk-job-cover) center / cover no-repeat !important; }
.hk-v2 .job-submission-preview-form-wrapper .action-preview { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hk-v2 .job-submission-preview-form-wrapper .action-preview .btn { margin: 0; }
.hk-v2 #apus-main-content .job-submission-preview-form-wrapper .action-preview .btn-success { border: 2px solid var(--hk-orange); background: var(--hk-orange); color: var(--hk-on-orange); font-family: var(--hk-font-display); font-weight: 800; text-transform: none; }
.hk-v2 #apus-main-content .job-submission-preview-form-wrapper .action-preview .btn-success:is(:hover, :focus-visible) { border-color: var(--hk-navy-800); background: var(--hk-navy-800); color: #fff; }
.hk-v2 #apus-main-content .job-submission-preview-form-wrapper .action-preview .btn-theme { border: 2px solid var(--hk-navy-700); background: #fff; color: var(--hk-navy-700); }
.hk-v2 #apus-main-content .job-submission-preview-form-wrapper .action-preview .btn-theme:is(:hover, :focus-visible) { background: var(--hk-navy-700); color: #fff; }

/* ---------- QA-033 : menu latéral de l'espace utilisateur (widget .widget_apus_user_short_profile).
 * - Avatar de repli : l'image grise « placeholder.png » de Superio est remplacée par une silhouette sur fond navy.
 * - Une seule entrée active : le survol ne copie plus l'état actif (Superio : li:hover > a = li.active > a),
 *   et si WordPress marque deux entrées courantes, seule la première reste en surbrillance.
 * - « Voir le profil » : une seule couleur (orange V2, texte navy) dans tous les états.
 * Préfixe :is(#apus-main-content, body) : passer devant « #apus-main-content a:not([class]) » (texte --hk-ink) où qu'il soit. */
.hk-v2 .widget_apus_user_short_profile .user-logo :is(.candidate-logo, .employer-logo) { width: 72px; height: 72px; margin-right: 16px; border-radius: 50%; overflow: hidden; flex: none; }
.hk-v2 .widget_apus_user_short_profile .user-logo img { width: 100%; height: 100%; object-fit: cover; }
.hk-v2 .widget_apus_user_short_profile .user-logo img[src*="/images/placeholder.png"] {
	object-position: -9999px 0; /* l'image grise disparaît, le fond prend sa place */
	background: var(--hk-navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b7c3e0'%3E%3Ccircle cx='12' cy='8.5' r='4'/%3E%3Cpath d='M4 20.5c0-4.1 3.6-6.5 8-6.5s8 2.4 8 6.5z'/%3E%3C/svg%3E") center / 62% no-repeat;
}
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .menu_short_profile li > a:is(:hover, :focus-visible) { background-color: var(--hk-bg-light); color: var(--hk-navy-700); }
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .menu_short_profile li.active > a { background-color: rgba(255, 138, 29, .14); color: var(--hk-orange-ink); box-shadow: inset 3px 0 0 var(--hk-orange); }
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .menu_short_profile li.active > a i { color: var(--hk-orange-ink); }
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .menu_short_profile li.active ~ li.active > a:not(:hover, :focus-visible) { background-color: transparent; color: var(--novelstep-text-color, var(--hk-ink)); box-shadow: none; }
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .menu_short_profile li.active ~ li.active > a:not(:hover, :focus-visible) i { color: var(--superio-theme-color); }
.hk-v2 .widget_apus_user_short_profile .view-profile { margin-top: 8px; }
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .view-profile .btn,
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .view-profile .btn:is(:hover, :focus, :focus-visible, :active, :visited) { border: 2px solid var(--hk-orange); background: var(--hk-orange); color: var(--hk-on-orange); box-shadow: none; }
:is(.hk-v2 #apus-main-content, body.hk-v2) .widget_apus_user_short_profile .view-profile .btn:is(:hover, :focus-visible) { filter: brightness(1.06); }

/* ---------- QA-030 : bloc « informations » de la colonne du profil candidat sans aucune ligne : masqué */
.hk-v2 .widget_apus_candidate_info:not(:has(li, a, button, form)) { display: none; }

/* ---------- QA-035 : carte de localisation des formulaires (champ pw_map) : latitude et longitude calculées, plus
 * saisissables à la main ; z-index de Leaflet confinés sous les listes select2 ; suggestions Google au premier plan. */
.hk-v2 .cmb-type-pw-map .pw-map-latitude,
.hk-v2 .cmb-type-pw-map .pw-map-longitude { display: none; }
.hk-v2 .cmb-type-pw-map .pw-map { position: relative; z-index: 0; }
.pac-container { z-index: 10050; }

/* ---------- Responsive (correctif R, 22/11/2026) : composants qui gardaient une largeur d'ordinateur sur téléphone. */
/* Panneaux du compte et des notifications : ancrés au bouton, ils sortaient par la gauche sous 430 px. Sur téléphone,
 * ils s'ouvrent sous le header, sur toute sa largeur (le header sticky sert de repère). */
@media (max-width: 520px) {
	.hk-header .hk-account { position: static; }
	.hk-header .hk-account__panel { left: 12px; right: 12px; width: auto; min-width: 0; top: calc(100% + 6px); max-height: calc(100vh - 90px); overflow-y: auto; }
}
/* Cartes d'appel à l'action : les libellés longs (« Comment cela fonctionne-t-il ? ») passent à la ligne au lieu de déborder. */
.hk-cta__actions .hk-btn { max-width: 100%; white-space: normal; text-align: center; }
/* Mes offres (template enfant, styles inline en ligne unique) : titre et bouton s'empilent si la place manque. */
.my-job-employer > .widget-title-wrapper { flex-wrap: wrap; gap: 12px; }
/* Tableaux du tableau de bord (offres, alertes) : sous 768 px, chaque ligne devient une fiche lisible au lieu d'un tableau
 * de 5 colonnes à faire défiler dans 220 px. Les cellules gardent leurs propres libellés (« Créé : », statut, actions). */
@media (max-width: 767px) {
	.hk-v2 .table-responsive > .job-table,
	.hk-v2 .table-responsive > .job-table > tbody,
	.hk-v2 .table-responsive > .job-table > tbody > tr,
	.hk-v2 .table-responsive > .job-table > tbody > tr > td { display: block; width: 100%; }
	.hk-v2 .table-responsive > .job-table > thead { display: none; }
	.hk-v2 .table-responsive > .job-table > tbody > tr { padding: 14px 16px; border-bottom: 1px solid var(--hk-line-light, #e6e9f0); }
	.hk-v2 .table-responsive > .job-table > tbody > tr > td { padding: 4px 0; border: 0; text-align: left; }
}
/* Adresse du profil (slug) : coupée proprement au lieu de dépasser à 320-360 px. */
.post-slug { overflow-wrap: anywhere; }
