/* Présentation exclusivement. Aucun sélecteur global gcui / gcr / gc-ui. */
:where(.wp-site-blocks) { min-height: 100vh; display:flex; flex-direction:column; }
:where(.wp-site-blocks > footer) { margin-block-start:auto; }
.gc-site-header { border-bottom:1px solid #e5eaf0; background:#fff; position:relative; z-index:30; }
.gc-site-header__inner { min-height:76px; }
.gc-site-header .wp-block-site-title a { text-decoration:none; color:var(--wp--preset--color--ink); font-weight:800; letter-spacing:-.045em; }
.gc-site-header .wp-block-navigation a { text-decoration:none; }
.gc-site-header .wp-block-navigation a:hover { text-decoration:underline; }
.gc-site-footer { border-top:1px solid #e3e9ef; background:#f8fafc; }
.gc-site-footer a { color:#394a62; text-decoration:none; }
.gc-site-footer a:hover { text-decoration:underline; }
.gc-site-content { min-height:52vh; }
.gc-site-content > .wp-block-post-content { overflow-wrap:anywhere; }
.gc-site-content .wp-block-post-content > :first-child { margin-block-start:0; }
.gc-site-content .wp-block-post-content > :last-child { margin-block-end:0; }
.gc-site-legacy { min-height:100vh; }
.gc-site-legacy .wp-block-post-content { width:100%; max-width:none !important; }
.gc-site-wide .wp-block-post-content { width:min(100%,1240px); max-width:1240px; }
.gc-site-legacy .wp-block-post-content, .gc-site-legacy .wp-block-post-content > * { margin-block-start:0; }
.gc-site-legacy > .wp-block-post-content > .gc-ui { margin-top:0; }
.gc-site-dashboard { background:#f7f9fc; }
.gc-site-card { border:1px solid #e3e9ef; border-radius:12px; background:#fff; padding:clamp(20px,3vw,36px); }
.gc-site-card a { text-underline-offset:3px; }
.gc-site-search-results .wp-block-post-template { list-style:none; padding-left:0; }
.gc-site-search-results .wp-block-post { border-bottom:1px solid #e5eaf0; padding-bottom:1.25rem; }
:where(.gc-site-content, .gc-site-footer) a:focus-visible { outline:3px solid #7ba7e9; outline-offset:4px; }
@media (max-width: 780px) {
  .gc-site-header__inner { min-height:68px; }
  .gc-site-header__action { display:none !important; }
  .gc-site-footer__columns { gap:20px !important; }
  .gc-site-page-title { font-size:clamp(1.7rem,6vw,2.4rem) !important; }
}
@media (prefers-reduced-motion:reduce){ .gc-site-content *, .gc-site-header *, .gc-site-footer * { scroll-behavior:auto!important; animation-duration:.01ms!important;transition-duration:.01ms!important; } }

/* Étape 03 — Header professionnel commun. Styles isolés du moteur métier. */
.wp-site-blocks > header:has(.gc-site-header) { position:sticky; top:0; z-index:100; }
body.admin-bar .wp-site-blocks > header:has(.gc-site-header) { top:32px; }
.gc-site-header { box-shadow:0 1px 0 rgba(19,38,68,.03); }
.gc-site-header__inner { gap:clamp(18px,2vw,32px); padding-block:10px; }
.gc-site-header .gct-header-brand { flex-shrink:0; gap:10px; }
.gc-site-header .wp-block-site-logo { line-height:0; }
.gc-site-header .wp-block-site-title { margin:0; white-space:nowrap; }
.gc-site-header .wp-block-site-title a { font-size:clamp(17px,1.5vw,21px); }
.gct-nav { margin-left:auto; min-width:0; }
.gct-nav__desktop { display:flex; align-items:center; justify-content:flex-end; gap:clamp(12px,2vw,30px); }
.gct-nav__items { display:flex; align-items:center; gap:clamp(10px,1.75vw,28px); list-style:none; margin:0; padding:0; }
.gct-nav__items li { list-style:none; margin:0; padding:0; }
.gct-nav__link { font-size:.9rem; line-height:1.4; font-weight:650; white-space:nowrap; color:var(--wp--preset--color--ink,#1c2d43); text-decoration:none; border-radius:8px; padding:8px 6px; display:inline-flex; align-items:center; justify-content:center; }
.gct-nav__link:hover,.gct-nav__link.is-active { color:var(--wp--preset--color--accent,#255db0); text-decoration:none; }
.gct-nav__link:focus-visible,.gct-nav__toggle:focus-visible { outline:3px solid #88b4ee; outline-offset:3px; }
.gct-nav__link--cta { padding:12px 18px; color:#fff; border:1px solid #255db0; background:#255db0; box-shadow:0 3px 10px rgba(37,93,176,.12); font-weight:700; }
.gct-nav__link--cta:hover,.gct-nav__link--cta.is-active { background:#174680; border-color:#174680; color:#fff; }
.gct-nav__mobile { display:none; }
.gct-header-editor-preview { border:1px dashed #a7bcd1; border-radius:10px; padding:12px 16px; background:#f6f9fc; font-size:13px; }
.gct-header-editor-preview p { margin:4px 0; }
.gct-header-editor-preview small { color:#64748b; }
.gc-site-header--minimal .wp-block-home-link { font-size:.9rem; font-weight:650; }
@media(max-width:900px) {
  .gc-site-header__inner { min-height:64px; }
  .gct-nav__desktop { display:none; }
  .gct-nav__mobile { display:block; position:relative; }
  .gct-nav__toggle { cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid #dce3ed; border-radius:10px; min-height:42px; padding:8px 12px; font-size:.9rem; font-weight:700; color:#1c2d43; list-style:none; user-select:none; }
  .gct-nav__toggle::-webkit-details-marker { display:none; }
  .gct-nav__toggle::marker { content:''; }
  .gct-nav__mobile[open] .gct-nav__toggle { background:#eef3fa; }
  .gct-nav__panel { position:absolute; z-index:120; right:0; top:calc(100% + 12px); width:min(340px,calc(100vw - 32px)); max-height:calc(100dvh - 92px); overflow-y:auto; border:1px solid #dce5ef; border-radius:14px; background:#fff; box-shadow:0 18px 44px rgba(29,45,67,.15); padding:12px; }
  .gct-nav__panel .gct-nav__items { display:flex; flex-direction:column; align-items:stretch; gap:4px; }
  .gct-nav__panel .gct-nav__link { display:flex; width:100%; box-sizing:border-box; justify-content:flex-start; padding:12px 14px; white-space:normal; }
  .gct-nav__panel .gct-nav__link:hover,.gct-nav__panel .gct-nav__link.is-active { background:#f1f6fd; }
  .gct-nav__mobile-action { border-top:1px solid #e3e9ef; padding-top:12px; margin-top:8px; }
  .gct-nav__mobile-action .gct-nav__link--cta { justify-content:center; }
  .gct-nav__mobile-action .gct-nav__link--cta:hover { background:#174680; }
}
@media (max-width:782px) { body.admin-bar .wp-site-blocks > header:has(.gc-site-header) { top:46px; } }
@media (max-width:420px) {
  .gc-site-header__inner { gap:7px; }
  .gc-site-header .gct-header-brand { gap:6px; }
  .gc-site-header .wp-block-site-title a { font-size:16px; letter-spacing:-.025em; }
  .gc-site-header .wp-block-site-logo img { max-width:28px; height:auto; }
  .gct-nav__toggle { padding:8px 10px; }
}
@media (prefers-reduced-motion: reduce) { .gct-nav *, .gct-nav *::before, .gct-nav *::after { animation:none!important; transition:none!important; } }

/* Étape 04 — Footer commun éditable, indépendant du plugin Gotham Career métier. */
.gc-site-footer {
  background:#f6f8fb;
  color:var(--wp--preset--color--ink,#1c2d43);
  border-top:1px solid #e2e8f0;
}
.gc-site-footer__container { padding:clamp(48px,5vw,70px) clamp(16px,3vw,32px) 0; box-sizing:border-box; }
.gc-site-footer__columns { align-items:start; margin:0 !important; }
.gc-site-footer__columns > .wp-block-column { min-width:0; }
.gc-site-footer__brandline { gap:10px; margin-bottom:16px; }
.gc-site-footer__brandline .wp-block-site-logo { line-height:0; }
.gc-site-footer__brandline .wp-block-site-title { margin:0; }
.gc-site-footer__brandline .wp-block-site-title a { color:#1c2d43; text-decoration:none; font-weight:800; letter-spacing:-.035em; font-size:1.12rem; }
.gc-site-footer__tagline { margin:0 0 18px; max-width:335px; line-height:1.65; }
.gc-site-footer__column h3 { color:#1c2d43; margin:0 0 18px !important; font-weight:750; font-size:.91rem; letter-spacing:.005em; line-height:1.3; }
.gct-footer-links { margin:0; }
.gct-footer-links__list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; align-items:flex-start; gap:13px; }
.gct-footer-links__list li { list-style:none; margin:0; padding:0; }
.gc-site-footer .gct-footer-links__list a { text-decoration:none; color:#53657c; font-weight:500; font-size:.875rem; line-height:1.5; overflow-wrap:anywhere; }
.gc-site-footer .gct-footer-links__list a:hover { color:#255db0; text-decoration:underline; text-underline-offset:4px; }
.gct-footer-links--contact .gct-footer-links__list { flex-direction:row; gap:10px 18px; flex-wrap:wrap; }
.gct-footer-links--contact .gct-footer-links__list a { font-weight:650; }
.gc-site-footer__bottom { margin-top:clamp(42px,5vw,60px) !important; padding:24px 0 28px; border-top:1px solid #dde5ed; gap:10px 30px; }
.gc-site-footer .gct-footer-copyright { color:#66778b; font-size:.8rem; line-height:1.5; margin:0; }
.gc-site-footer__bottom-note { margin:0; font-size:.8rem; line-height:1.5; }
.gct-footer-editor-preview { border:1px dashed #b4c6d9; background:#fff; color:#435875; border-radius:10px; padding:12px; }
.gct-footer-editor-preview p { font-size:.85rem; margin:6px 0; }
.gct-footer-editor-preview small { color:#63778c; }
.gct-footer-copyright-editor { font-size:.8rem; color:#66778b; }
@media (max-width:1020px) {
  .gc-site-footer__columns { display:grid !important; grid-template-columns:minmax(0,1.45fr) repeat(2,minmax(0,1fr)); gap:30px 32px !important; }
  .gc-site-footer__brand { grid-column:1; }
  .gc-site-footer__legal { grid-column:2 / 4; }
  .gc-site-footer__columns > .wp-block-column { width:100% !important; flex-basis:auto !important; }
}
@media (max-width:700px) {
  .gc-site-footer__container { padding-top:44px; }
  .gc-site-footer__columns { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 20px !important; }
  .gc-site-footer__brand { grid-column:1 / -1; }
  .gc-site-footer__legal { grid-column:auto; }
  .gc-site-footer__brandline { margin-bottom:12px; }
  .gc-site-footer__tagline { max-width:440px; }
  .gc-site-footer__bottom { margin-top:38px !important; padding:22px 0 26px; }
}
@media (max-width:440px) {
  .gc-site-footer__columns { gap:28px 16px !important; }
  .gc-site-footer__column h3 { font-size:.88rem; margin-bottom:12px !important; }
  .gct-footer-links__list { gap:11px; }
  .gc-site-footer .gct-footer-links__list a { font-size:.825rem; }
  .gc-site-footer__bottom { align-items:flex-start; flex-direction:column; }
}

/* Étape 05 — Gabarits éditoriaux indépendants : ne modifie pas les modules métier. */
.gc-page { min-width:0; padding-bottom:clamp(50px,6vw,100px); }
.gc-page > .wp-block-post-content { width:100%; box-sizing:border-box; }
.gc-page--home, .gc-page--offers, .gc-page--candidate, .gc-page--recruiter { background:#fff; }
.gc-page--company, .gc-page--companies, .gc-page--job-detail { background:#f8fafc; }
.gc-page--editorial { max-width:100%; }
.gc-page__title { padding-top:clamp(24px,4vw,46px); font-size:clamp(1.7rem,3.1vw,2.55rem); }
.gc-page-hero { background:#f0f5fb; padding:clamp(28px,5vw,70px); border-radius:18px; margin-block:clamp(24px,4vw,56px); }
.gc-page-hero h1 { font-size:clamp(2rem,4vw,3.5rem); line-height:1.1; letter-spacing:-.035em; max-width:18ch; }
.gc-page-eyebrow { color:#255db0; font-size:.8rem; font-weight:750; letter-spacing:.14em; }
.gc-page-card { border:1px solid #e1e8f0; background:#fff; border-radius:14px; padding:clamp(20px,3vw,36px); margin-block:28px; }
.gc-page-columns { gap:clamp(24px,4vw,58px); margin-block:36px; }
.gc-page .wp-block-post-content img { max-width:100%; height:auto; }
.gc-page .wp-block-post-content :where(h1,h2,h3,p) { overflow-wrap:break-word; }
.gc-page .wp-block-details { border-bottom:1px solid #e0e7ef; padding:14px 0; }
.gc-page .wp-block-details summary { cursor:pointer; font-weight:650; }
@media(max-width:760px) { .gc-page-hero { border-radius:12px; margin-inline:0; } .gc-page-columns { flex-direction:column; } }
