:root {
  --red: #f70d28;
  --red-dark: #c60a20;
  --ink: #111417;
  --body: #33383d;
  --muted: #6b7280;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --nav: #1b1e23;
  --nav-hover: #2a2e35;
  --radius: 4px;
  --wrap: 1180px;
  --font: 'Roboto', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --head: 'Roboto Condensed', 'Roboto', 'Segoe UI', system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg-soft);
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(var(--wrap), 94%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #b9bec6;
  font-size: 12px;
  border-bottom: 3px solid var(--red);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar .tag { letter-spacing: .3px; }
.topbar .date { text-transform: capitalize; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 20px; }
.brand {
  font-family: var(--head);
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1;
}
.brand span { color: var(--red); }
.brand small { display: block; font-family: var(--font); font-weight: 400; font-size: .7rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

.header-search { display: flex; align-items: center; gap: 8px; }
.header-search input {
  border: 1px solid var(--line); background: var(--bg-soft);
  padding: 10px 14px; border-radius: 999px; font-size: 14px; width: 240px;
}
.header-search input:focus { outline: none; border-color: var(--red); background: #fff; }
.header-search button {
  border: none; background: var(--red); color: #fff; width: 40px; height: 40px;
  border-radius: 999px; cursor: pointer; font-size: 16px; display: grid; place-items: center;
}
.header-search button:hover { background: var(--red-dark); }

.header-right { display: flex; align-items: center; gap: 14px; }
.cta-publish {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: var(--red); color: #fff; font-family: var(--head); font-weight: 700;
  text-transform: uppercase; font-size: 14px; letter-spacing: .3px;
  padding: 11px 18px; border-radius: 999px; transition: background .15s, transform .1s;
}
.cta-publish:hover { background: var(--red-dark); transform: translateY(-1px); }
.cta-publish .cta-plus { font-size: 18px; line-height: 1; }
@media (max-width: 600px) { .cta-publish { padding: 9px 12px; font-size: 12px; } .header-search input { width: 130px; } }

/* ---------- Ads ---------- */
.ad-slot { margin: 18px 0; text-align: center; }
.ad-slot .ad-unit { margin: 0 auto; max-width: 100%; overflow: hidden; }
.ad-slot::before { content: 'Publicité'; display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #b3b9c2; margin-bottom: 4px; }
.ad-slot--sidebar_bottom.sticky { position: sticky; top: 80px; }
.ad-slot img { margin: 0 auto; }

/* ---------- Hamburger ---------- */
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: var(--nav); border: none; border-radius: 8px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; transition: transform .2s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Nav ---------- */
.mainnav { background: var(--nav); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.mainnav .container { display: flex; flex-wrap: nowrap; justify-content: flex-start; width: min(1440px, 96%); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.mainnav .container::-webkit-scrollbar { display: none; }
.navitem { position: relative; display: inline-flex; align-items: center; }
.navlink {
  color: #e9ebee; font-family: var(--head); text-transform: uppercase;
  font-size: 14px; font-weight: 500; letter-spacing: .2px; white-space: nowrap;
  padding: 14px 11px; display: inline-block; border-bottom: 3px solid transparent;
  transition: background .15s, border-color .15s;
}
.navlink:hover { background: var(--nav-hover); }
.navlink.active { border-bottom-color: var(--red); background: var(--nav-hover); }
.navlink.home { color: var(--red); }
.navitem.has-children .navlink { padding-right: 4px; }
.caret {
  background: none; border: none; color: #e9ebee; cursor: pointer;
  font-size: 11px; padding: 14px 12px 14px 4px; align-self: stretch;
}
.navitem.has-children:hover .caret { color: #fff; }

/* Dropdown submenus (desktop: hover) */
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--nav);
  border-top: 3px solid var(--red); box-shadow: 0 12px 28px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 60;
}
.navitem.has-children:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu-link {
  display: block; color: #dfe2e6; font-size: 13.5px; padding: 11px 16px;
  border-bottom: 1px solid #2a2e35; white-space: nowrap;
}
.submenu-link:hover { background: var(--red); color: #fff; }
.submenu-link.active { color: var(--red); }
.submenu-link:hover.active { color: #fff; }

/* ---------- Social icons ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.social { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #cfd4db;
  transition: background .18s, color .18s, transform .12s; }
.social:hover { color: #fff; transform: translateY(-2px); }
/* Brand-colour hovers */
.social--facebook:hover  { background: #1877f2; }
.social--linkedin:hover  { background: #0a66c2; }
.social--instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social--whatsapp:hover  { background: #25d366; }
.social--telegram:hover  { background: #229ed9; }
.social--twitter:hover   { background: #000; }
.social--youtube:hover   { background: #ff0000; }
.social--rss:hover       { background: #f26522; }

/* Compact top-bar variant */
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-socials { gap: 4px; }
.topbar-socials .social { width: 26px; height: 26px; background: transparent; color: #aeb4bd; }
.topbar-socials .social:hover { transform: none; }
.topbar-socials .social svg { width: 15px; height: 15px; }
@media (max-width: 700px) { .topbar .date { display: none; } }
@media (max-width: 480px) { .topbar-socials { display: none; } }

/* ---------- Mobile slide-in drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0;
  visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 90; }
.drawer-overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(86%, 340px);
  background: #fff; z-index: 100; transform: translateX(-100%);
  transition: transform .28s ease; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; padding: 18px 0 24px;
  box-shadow: 4px 0 30px rgba(0,0,0,.25);
}
.drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; top: 12px; right: 14px; background: none; border: none;
  font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }
.drawer-search { display: flex; margin: 6px 18px 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.drawer-search input { flex: 1; border: none; padding: 12px 14px; font-size: 15px; outline: none; }
.drawer-search button { border: none; background: none; color: var(--muted); padding: 0 14px; font-size: 18px; cursor: pointer; }
.drawer-menu { list-style: none; margin: 6px 0; padding: 0; }
.drawer-menu > li { border-bottom: 1px solid var(--line); }
.drawer-row { display: flex; align-items: center; }
.drawer-link { flex: 1; font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  color: var(--ink); padding: 15px 18px; }
.drawer-link.active { color: var(--red); }
.drawer-caret { background: none; border: none; color: var(--muted); font-size: 24px;
  padding: 10px 18px; cursor: pointer; transition: transform .2s; }
.drawer-menu > li.open .drawer-caret { transform: rotate(90deg); color: var(--red); }
.drawer-sub { list-style: none; margin: 0; padding: 0; background: var(--bg-soft); max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.drawer-menu > li.open .drawer-sub { max-height: 720px; padding: 0 0 8px; }
.drawer-sublink { display: block; padding: 11px 18px 11px 32px; font-size: 14px; color: var(--body); }
.drawer-sublink:hover, .drawer-sublink.active { color: var(--red); }
.drawer-cta { margin: 18px 18px 0; background: var(--red); color: #fff; text-align: center;
  font-family: var(--head); font-weight: 700; text-transform: uppercase; padding: 14px; border-radius: 6px; }
.drawer-cta:hover { background: var(--red-dark); }
.drawer-socials { margin: 20px 18px 8px; }
.drawer .social { background: var(--bg-soft); color: var(--body); }
.drawer .social:hover { background: var(--red); color: #fff; }
.drawer-copy { margin-top: auto; padding: 16px 18px 0; font-size: 12px; color: var(--muted); }

/* ---------- Responsive header (<= 1024px: burger drawer) ---------- */
@media (max-width: 1024px) {
  .burger { display: flex; }
  .mainnav { display: none; }
  .header-inner { padding: 14px 0; }
  .header-right { flex: 1; justify-content: flex-end; }
}
@media (max-width: 560px) {
  .cta-publish .cta-text { display: none; }
  .cta-publish { padding: 10px 13px; }
  .header-search { display: none; }
}
@media (min-width: 1025px) {
  .drawer, .drawer-overlay { display: none; }
}

/* Breadcrumb */
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.crumb a { color: var(--red); }

/* ---------- Layout ---------- */
.main { padding: 26px 0 50px; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
/* Sticky sidebar on desktop (clears the sticky nav; align-self:start so the
   grid item is content-height and sticky can take effect). */
@media (min-width: 901px) {
  .layout .sidebar { position: sticky; top: 62px; align-self: start; }
}

/* ---------- Block heading ---------- */
.block-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--ink); margin: 0 0 18px; padding-bottom: 0;
}
.block-title {
  font-family: var(--head); font-size: 1.15rem; font-weight: 700; text-transform: uppercase;
  color: var(--ink); margin: 0; background: var(--ink); color: #fff;
  padding: 8px 16px; letter-spacing: .5px;
}
.block-title strong { color: #fff; font-weight: 700; }
.block-title.red { background: var(--red); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 34px; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } }
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; background: #ddd; }
.hero-main img, .hero-side-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .overlay, .hero-side-item .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%);
}
.hero-main .h-title { font-family: var(--head); font-size: 1.7rem; font-weight: 700; line-height: 1.15; color: #fff; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero-side-item { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 172px; background: #ddd; }
.hero-side-item .h-title { font-family: var(--head); font-size: 1.05rem; font-weight: 700; line-height: 1.2; color: #fff; }
.cat-badge {
  align-self: flex-start; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; padding: 3px 9px; border-radius: 2px; margin-bottom: 8px; letter-spacing: .5px;
}

/* ---------- Post list (magazine rows) ---------- */
.post-list { display: flex; flex-direction: column; }
.post-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 0; }
.post-thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--bg-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-row:hover .post-thumb img { transform: scale(1.05); }
.post-cat { color: var(--red); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.post-title { font-family: var(--head); font-size: 1.25rem; font-weight: 700; color: var(--ink); line-height: 1.2; margin: 5px 0 6px; }
.post-row:hover .post-title { color: var(--red); }
.post-meta { color: var(--muted); font-size: 12.5px; display: flex; gap: 12px; margin-bottom: 8px; }
.post-excerpt { color: var(--body); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.readmore { color: var(--red); font-weight: 600; font-size: 13px; margin-top: 8px; display: inline-block; }
@media (max-width: 520px) { .post-row { grid-template-columns: 110px 1fr; } .post-title { font-size: 1.05rem; } .post-thumb { aspect-ratio: 1 / 1; } }

/* ---------- Sidebar ---------- */
.sidebar-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 26px; }
.sidebar-block .block-head { margin: 0; padding: 0; border-bottom: none; }
.sidebar-block .block-title { display: block; width: 100%; }
.side-list { padding: 6px 0; }
.side-item { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.side-item:last-child { border-bottom: none; }
.side-item img { width: 58px; height: 58px; object-fit: cover; border-radius: 4px; }
.side-item .s-title { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.2; }
.side-item:hover .s-title { color: var(--red); }
.side-item .s-date { color: var(--muted); font-size: 11.5px; margin-top: 3px; }

/* ---------- Sidebar extras ---------- */
.google-source {
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  line-height: 1.25; transition: box-shadow .15s, border-color .15s;
}
.google-source:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); border-color: #d5d9e0; }
.google-source svg { flex: none; }

.newsletter { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 18px; margin-bottom: 26px; box-shadow: var(--shadow); }
.newsletter h3 { font-family: var(--head); text-align: center; font-size: 1.15rem; color: var(--ink); margin: 0 0 16px; }
.newsletter form { display: flex; flex-direction: column; gap: 10px; }
.newsletter input { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 14px; text-align: center; }
.newsletter input:focus { outline: none; border-color: var(--red); }
.newsletter button { background: var(--red); color: #fff; border: none; border-radius: 8px; padding: 13px; font-family: var(--head); font-weight: 700; text-transform: uppercase; cursor: pointer; }
.newsletter button:hover { background: var(--red-dark); }
.newsletter button:disabled { opacity: .6; cursor: default; }
.nl-msg { text-align: center; font-size: 13px; margin: 10px 0 0; }
.nl-msg.ok { color: #1a8a4a; }
.nl-msg.err { color: var(--red); }

/* Wide sidebar ad (300x600 skyscraper) */
.ad-slot--sidebar_bottom.wide { min-height: 250px; }
.ad-slot--sidebar_bottom.wide .ad-unit { max-width: 300px; }

/* Job detail inside the 2-col layout */
.layout .detail { max-width: none; margin: 0; }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination button {
  min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); background: #fff;
  font-family: var(--head); font-weight: 700; cursor: pointer; border-radius: 3px;
}
.pagination button:hover:not(:disabled) { background: var(--red); color: #fff; border-color: var(--red); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination .page-info { font-size: 13px; color: var(--muted); margin: 0 6px; }

/* ---------- Detail ---------- */
.detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 860px; margin: 0 auto; }
.detail .back { color: var(--red); font-weight: 600; font-size: 13px; text-transform: uppercase; }
.detail h1 { font-family: var(--head); font-size: 2rem; line-height: 1.15; color: var(--ink); margin: 14px 0 10px; }
.detail .meta-row { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; align-items: center; }
.detail .meta-row .byline { font-weight: 600; color: var(--body); }
.detail .meta-row .byline a { color: var(--red); }
.detail .meta-row .byline a:hover { text-decoration: underline; }
.detail-img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--bg-soft); border-radius: var(--radius); margin: 0 0 22px; }
.content { line-height: 1.75; font-size: 16px; color: #24282c; }
.content img { max-width: 100%; height: auto; border-radius: 4px; margin: 12px 0; }
.content h2, .content h3 { font-family: var(--head); color: var(--ink); margin-top: 1.5em; }
.content a { color: var(--red); text-decoration: underline; }
.content ul, .content ol { padding-left: 1.3em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); color: var(--body); font-size: 12px; padding: 4px 10px; border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
a.chip:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* "Dans <cat>, <cat>…" category line under the title */
.detail-cats { margin: 8px 0 4px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.detail-cats .dc-label { color: var(--muted); margin-right: 4px; }
.dc-link { color: var(--red); font-weight: 600; }
.dc-link:hover { text-decoration: underline; }
.dc-sep { margin-right: 5px; color: var(--muted); }

/* ---------- Recruiter page ---------- */
.recruiter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rec-hero { background: linear-gradient(135deg, #1b1e23, #2a2e35); color: #fff; text-align: center; padding: 56px 24px; }
.rec-hero h1 { font-family: var(--head); font-size: 2.3rem; color: #fff; margin: 0 0 12px; }
.rec-hero p { max-width: 640px; margin: 0 auto 24px; color: #cfd4db; font-size: 1.05rem; }
.rec-cta, .rec-pack-cta { display: inline-block; background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; text-transform: uppercase; padding: 14px 28px; border-radius: 999px; }
.rec-cta:hover, .rec-pack-cta:hover { background: var(--red-dark); }
.rec-steps, .rec-packs { padding: 40px 28px; }
.rec-h2 { font-family: var(--head); font-size: 1.5rem; text-align: center; color: var(--ink); margin: 0 0 28px; text-transform: uppercase; }
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .rec-grid { grid-template-columns: 1fr; } }
.rec-step { text-align: center; padding: 20px; }
.rec-num { width: 48px; height: 48px; margin: 0 auto 14px; background: var(--red); color: #fff; border-radius: 999px; display: grid; place-items: center; font-family: var(--head); font-size: 1.4rem; font-weight: 700; }
.rec-step h3, .rec-pack h3 { font-family: var(--head); color: var(--ink); margin: 0 0 8px; }
.rec-packs { background: var(--bg-soft); }
.rec-pack { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.rec-pack.featured { border-color: var(--red); box-shadow: 0 8px 26px rgba(247,13,40,.14); }
.rec-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.rec-price { font-family: var(--head); font-size: 1.6rem; color: var(--red); font-weight: 700; margin: 6px 0 16px; }
.rec-pack ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.rec-pack li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; border-bottom: 1px solid var(--line); }
.rec-pack li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.rec-back { text-align: center; padding: 0 0 30px; }
.rec-back a { color: var(--red); font-weight: 600; }

/* ---------- Share buttons ---------- */
.share-block { margin: 26px 0 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.share-label { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 6px; transition: opacity .15s, transform .1s; }
.share-btn:hover { opacity: .9; transform: translateY(-1px); }
.share-btn--facebook { background: #3b5998; }
.share-btn--linkedin { background: #2777b5; }
.share-btn--whatsapp { background: #4caf50; }
.share-btn--twitter  { background: #111; }
.share-btn--telegram { background: #2ca5e0; }
.share-btn--email    { background: #d9534f; }

/* ---------- CVthèque ---------- */
.cvtheque-wrap { max-width: 780px; margin: 0 auto; }
.cv-heading { font-family: var(--head); font-size: 1.7rem; line-height: 1.25; color: var(--ink); text-align: center; margin: 0 0 24px; }
.cv-form { background: #fff; border: 2px solid var(--red); border-radius: 12px; padding: 30px; }
.cv-form h2 { font-family: var(--head); text-align: center; color: var(--ink); font-size: 1.6rem; margin: 0 0 24px; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
@media (max-width: 560px) { .cv-grid { grid-template-columns: 1fr; } }
.cv-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--body); }
.cv-form input, .cv-form select { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 15px; font-family: var(--font); background: #fff; }
.cv-form input:focus, .cv-form select:focus { outline: none; border-color: var(--red); }
.cv-full { margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cv-drop { border: 2px dashed var(--line); border-radius: 10px; padding: 26px; text-align: center; position: relative; transition: border-color .15s; }
.cv-drop:hover { border-color: var(--red); }
.cv-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cv-drop span { color: var(--muted); font-weight: 500; }
.cv-legal { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 22px 0 14px; }
.cv-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13.5px; }
.cv-consent input { flex: none; margin-top: 2px; }
.cv-submit { width: 100%; margin-top: 22px; background: var(--red); color: #fff; border: none; border-radius: 8px; padding: 16px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; cursor: pointer; }
.cv-submit:hover { background: var(--red-dark); }
.cv-submit:disabled { opacity: .6; cursor: default; }
.cv-success { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 50px 30px; text-align: center; }
.cv-success h1 { font-family: var(--head); color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb4bd; margin-top: 40px; }
.archive-intro { color: var(--body); font-size: 15px; line-height: 1.7; margin: 2px 0 22px; max-width: 72ch; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; padding: 46px 0 34px; }
@media (max-width: 1000px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-col h2 { font-family: var(--head); font-weight: 700; text-transform: uppercase; color: var(--red); font-size: 15px; letter-spacing: .5px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #2c3037; }
.footer-col a { display: block; color: #aeb4bd; font-size: 13.5px; padding: 8px 0; }
.footer-col a:hover { color: #fff; }
.footer-brand { font-family: var(--head); font-size: 1.6rem; color: #fff; font-weight: 700; }
.footer-brand span { color: var(--red); }
.footer-about { font-size: 13px; line-height: 1.7; margin-top: 10px; }
.footer-bottom { border-top: 1px solid #2c3037; padding: 16px 0; font-size: 12.5px; color: #7d838c; text-align: center; }

/* ---------- States ---------- */
.muted { color: var(--muted); padding: 20px 0; }
.error { color: var(--red); padding: 20px 0; font-weight: 600; }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: var(--radius); }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Legal / static pages ---------- */
.legal-page{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px 40px;max-width:820px;margin:0 auto;line-height:1.75;}
@media(max-width:600px){.legal-page{padding:24px 20px;}}
.legal-page h1{font-family:var(--head);font-size:2rem;color:var(--ink);margin:0 0 8px;line-height:1.2;}
.legal-page h2{font-family:var(--head);font-size:1.25rem;color:var(--ink);margin:1.8em 0 .5em;}
.legal-page p,.legal-page li{color:#2b3038;font-size:15.5px;}
.legal-page ul{padding-left:1.3em;} .legal-page li{margin:.3em 0;}
.legal-page a{color:var(--red);text-decoration:underline;}
.legal-updated{color:var(--muted);font-size:13px;margin:0 0 18px;}
.legal-note{background:var(--bg-soft);border:1px dashed var(--line);border-radius:8px;padding:12px 14px;font-size:13.5px;color:var(--muted);}

/* Contact form */
.contact-form{display:flex;flex-direction:column;gap:14px;margin:22px 0;}
.contact-form .cf-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media(max-width:560px){.contact-form .cf-grid{grid-template-columns:1fr;}}
.contact-form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px;color:var(--body);}
.contact-form input,.contact-form textarea{border:1px solid var(--line);border-radius:8px;padding:12px 14px;font-size:15px;font-family:var(--font);}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--red);}
.contact-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.cf-submit{align-self:flex-start;background:var(--red);color:#fff;border:none;border-radius:8px;padding:13px 26px;font-family:var(--head);font-weight:700;text-transform:uppercase;cursor:pointer;}
.cf-submit:hover{background:var(--red-dark);}
.contact-alt{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:14px;}
.flash{border-radius:8px;padding:12px 16px;margin:16px 0;font-size:14.5px;}
.flash.ok{background:#e7f5ec;border:1px solid #b7e0c6;color:#1a8a4a;}
.flash.err{background:#fcebe9;border:1px solid #f3c6c1;color:var(--red-dark);}

/* Footer legal bar */
.footer-legal{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px;justify-content:center;}
.footer-legal a{color:#aeb4bd;font-size:12.5px;display:inline-block;padding:8px 4px;}
.footer-legal a:hover{color:#fff;}

/* ---------- Accessibility: touch target sizing (mobile) ---------- */
@media (max-width: 700px) {
  .footer-col a { padding: 11px 0; }
  .footer-legal a { padding: 11px 6px; }
  .drawer-socials .social,
  .footer .socials .social,
  .site-footer .socials .social { width: 44px; height: 44px; }
  .dc-link { display: inline-block; padding: 4px 2px; }
}
.footer-bottom{display:flex;flex-direction:column;align-items:center;gap:8px;}

/* Internal linking: breadcrumb + related posts (added 2026-09-10) */
.breadcrumb{font-size:.82rem;color:var(--muted,#787d85);margin:0 0 10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.breadcrumb a{color:var(--muted,#787d85);text-decoration:none}
.breadcrumb a:hover{color:var(--accent,#f70d28);text-decoration:underline}
.breadcrumb .bc-sep{color:#c3c7cd}
.breadcrumb .bc-current{color:var(--text,#141416)}
.related{margin-top:34px;border-top:1px solid var(--border,#e6e8eb);padding-top:18px}
.related-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:8px}
@media(max-width:640px){.related-list{grid-template-columns:1fr}}
.related-item{display:flex;gap:12px;align-items:center;padding:8px;border-radius:var(--radius,10px);background:var(--bg-soft,#f5f6f8);text-decoration:none;transition:background .2s}
.related-item:hover{background:var(--bg-hover,#eceef1)}
.related-item img{width:80px;height:80px;object-fit:cover;border-radius:8px;flex:0 0 auto}
.ri-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.ri-title{font-family:var(--head,inherit);font-weight:700;font-size:.95rem;line-height:1.25;color:var(--text,#141416);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ri-meta{font-size:.78rem;color:var(--muted,#787d85)}
