/* ============================================================
   Immo-Hub — Ressources (archive + single)
   ============================================================ */

/* ── Hero archive ─────────────────────────────────────── */
.ih-ressources-hero {
  padding: 56px var(--ih-side-pad) 32px;
  background: var(--ih-surface);
  border-bottom: 1px solid var(--ih-line);
}
.ih-ressources-hero__inner {
  max-width: var(--ih-max-w);
  margin: 0 auto;
}
.ih-ressources-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ih-muted);
  margin-bottom: 22px;
  font-family: var(--ih-font-mono);
  letter-spacing: 0.04em;
}
.ih-ressources-hero__breadcrumb a {
  color: var(--ih-muted);
  text-decoration: none;
}
.ih-ressources-hero__breadcrumb a:hover { color: var(--ih-cyan-700); }

.ih-ressources-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  background: var(--ih-cyan-tint);
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 11px;
  font-family: var(--ih-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ih-cyan-700);
  font-weight: 600;
}

.ih-ressources-hero__title {
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 14px;
}
.ih-ressources-hero__title-em {
  font-family: var(--ih-font-serif);
  font-style: italic;
}

.ih-ressources-hero__desc {
  font-size: 16px;
  font-weight: 400;          /* v0.66.194 — élément passé en <h2> (SEO) : neutralise gras + serif UA. */
  font-family: inherit;
  color: var(--ih-muted);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 0 28px;
}

.ih-ressources-hero__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ih-ressources-hero__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #f2f3f6;
  color: var(--ih-ink-soft);
  text-decoration: none;
  transition: var(--ih-transition);
}
.ih-ressources-hero__filter:hover {
  background: var(--ih-line);
  color: var(--ih-ink);
}
.ih-ressources-hero__filter.is-active {
  background: var(--ih-ink);
  color: #fff;
}
.ih-ressources-hero__filter-count {
  font-family: var(--ih-font-mono);
  font-size: 11px;
  opacity: 0.6;
}
.ih-ressources-hero__filter.is-active .ih-ressources-hero__filter-count { opacity: 0.9; }

/* ── Liste ────────────────────────────────────────────── */
.ih-ressources-list {
  padding: 32px var(--ih-side-pad) 60px;
  background: var(--ih-bg);
  min-height: 50vh;
}
.ih-ressources-list__inner {
  max-width: var(--ih-max-w);
  margin: 0 auto;
}
.ih-ressources-list__count {
  font-size: 14px;
  color: var(--ih-muted);
  margin-bottom: 22px;
}
.ih-ressources-list__count strong {
  color: var(--ih-ink);
  font-weight: 600;
  font-family: var(--ih-font-mono);
}

.ih-ressources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* Sous-titres des 2 sliders « biens du partenaire » (single ressource) :
   distinguent visuellement Annonces vs Zones d'activités (v0.66.77). */
.ih-ressource-partenaire__subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ih-ink);
}
.ih-ressource-partenaire__subtitle svg { color: var(--ih-cyan-700, var(--ih-muted)); flex: 0 0 auto; }

/* Toggle Annonces / Zones (segmented control) — un panneau visible à la fois (v0.66.79). */
.ih-rp-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--ih-surface-2, #f1f3f7);
  border: 1px solid var(--ih-line, #e6e8ee);
  border-radius: 11px;
  padding: 4px;
  margin-bottom: 18px;
}
.ih-rp-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ih-ink-soft, #55617a);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.ih-rp-toggle__btn:hover { color: var(--ih-ink); }
.ih-rp-toggle__btn.is-active {
  background: #fff;
  color: var(--ih-ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.ih-rp-toggle__btn svg { flex: 0 0 auto; }
.ih-rp-pane[hidden] { display: none; }

.ih-ressource-card {
  background: var(--ih-surface);
  border: 1px solid var(--ih-line);
  border-radius: var(--ih-radius-lg);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.ih-ressource-card:hover {
  border-color: var(--ih-cyan-tint);
  transform: translateY(-2px);
  box-shadow: var(--ih-shadow);
}
.ih-ressource-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.ih-ressource-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ih-bg);
}
.ih-ressource-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* v0.50.9 — placeholder amélioré : gradient cyan + icône grande + pattern dots */
.ih-ressource-card__cover .ih-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ih-cyan-700);
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 168, 224, 0.12) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(135deg, var(--ih-cyan-tint) 0%, #fff 70%);
  position: relative;
}
.ih-ressource-card__cover .ih-img-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.55;
  filter: drop-shadow(0 2px 8px rgba(0, 168, 224, 0.18));
}
.ih-ressource-card__format {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ih-ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--ih-font-mono);
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.ih-ressource-card__body {
  padding: 18px 20px 20px;
}
.ih-ressource-card__eyebrow {
  font-size: 10.5px;
  font-family: var(--ih-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ih-cyan-700);
  margin-bottom: 6px;
  font-weight: 600;
}
.ih-ressource-card__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--ih-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ih-ressource-card__excerpt {
  font-size: 13.5px;
  color: var(--ih-muted);
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ih-ressource-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ih-muted);
  font-family: var(--ih-font-mono);
}
.ih-ressource-card__sep {
  color: var(--ih-muted-2);
}

/* ── Single ressource ─────────────────────────────────── */
.ih-ressource-hero {
  background-color: var(--ih-ink);
  color: #fff;
  padding: 80px var(--ih-side-pad) 64px;
  position: relative;
  overflow: hidden;
}
.ih-ressource-hero__inner {
  max-width: var(--ih-max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* v0.64.1 — fond du hero = version floutée+assombrie de la cover, portée par
   .ih-ressource-hero__inner (sert juste de backdrop). La vraie image, elle, est
   affichée en entier dans .ih-ressource-content (haut du corps). */
.ih-ressource-hero--has-cover .ih-ressource-hero__inner::before {
  content: "";
  position: absolute;
  inset: -64px calc(var(--ih-side-pad) * -1);
  z-index: -1;
  background-image: var(--ih-hero-cover);
  background-size: cover;
  background-position: center;
  filter: blur(34px) brightness(0.5);
  transform: scale(1.05);
}
.ih-ressource-hero--has-cover .ih-ressource-hero__inner::after {
  content: "";
  position: absolute;
  inset: -64px calc(var(--ih-side-pad) * -1);
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.5) 0%, rgba(10, 13, 18, 0.82) 100%);
}
/* v0.64.1 — vraie image (entière) en tête du corps de la ressource */
.ih-ressource-content__cover {
  margin: 0 0 28px;
}
.ih-ressource-content__cover img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--ih-radius-md, 12px);
}
.ih-ressource-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  font-family: var(--ih-font-mono);
  letter-spacing: 0.04em;
}
.ih-ressource-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.ih-ressource-hero__breadcrumb a:hover {
  color: var(--ih-cyan);
  border-bottom-color: var(--ih-cyan);
}

.ih-ressource-hero__pill {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 11px;
  font-family: var(--ih-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.ih-ressource-hero__eyebrow {
  font-size: 12px;
  font-family: var(--ih-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ih-cyan);
  margin-bottom: 12px;
  font-weight: 600;
}
.ih-ressource-hero__title {
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 22px;
  color: #fff;
}
.ih-ressource-hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  flex-wrap: wrap;
}
.ih-ressource-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Body */
/* ── Layout corps (v0.50.17) — structure ISO single-offre.
   Le wrapper, le container et le grid 2 colonnes (.ih-single-body /
   .ih-container / .ih-single-layout / .ih-single-main / .ih-single-sidebar)
   sont définis dans single-annonce.css, enqueué sur les guides.
   ────────────────────────────────────────────────────────────── */
.ih-ressource-content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ih-ink-soft);
}
.ih-ressource-content > * + * { margin-top: 1.2em; }
.ih-ressource-content figure { margin: 0; }
.ih-ressource-content h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 2em;
  margin-bottom: 0.6em;
  color: var(--ih-ink);
}
.ih-ressource-content h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  color: var(--ih-ink);
}
/* v0.66.195 — listes du WYSIWYG : le reset global base.css masque les puces/numéros.
   On les restaure + retrait + marges (ISO .ih-single-desc__body). Corrige « les listes
   à puces ne s'affichent pas » dans les guides/articles. */
.ih-ressource-content ul,
.ih-ressource-content ol {
  padding-left: 1.5em;
  margin: 1.2em 0;
}
.ih-ressource-content ul { list-style: disc; }
.ih-ressource-content ol { list-style: decimal; }
.ih-ressource-content li { margin: 0.45em 0; }
.ih-ressource-content li:first-child { margin-top: 0; }
.ih-ressource-content li::marker { color: var(--ih-cyan-600); }
.ih-ressource-content li > ul,
.ih-ressource-content li > ol { margin: 0.45em 0; }

/* v0.66.196 — Pagination ISO des autres archives (listing.css) : centrée + marge +
   pastilles. Nécessaire ici car listing.css n'est pas chargé sur l'archive ressources. */
.ih-listing-pagination { margin-top: 40px; display: flex; justify-content: center; }
.ih-listing-pagination__pages { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.ih-listing-pagination__pages .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px;
  font-size: 13px; color: var(--ih-ink); text-decoration: none; gap: 4px;
  transition: background .15s;
}
.ih-listing-pagination__pages .page-numbers:hover { background: var(--ih-cream, #f6f7f9); }
.ih-listing-pagination__pages .page-numbers.current { background: var(--ih-ink); color: #fff; font-weight: 600; }
.ih-listing-pagination__pages .page-numbers.dots { color: var(--ih-muted); }
.ih-ressource-content blockquote {
  border-left: 3px solid var(--ih-cyan);
  margin: 1.6em 0;
  padding: 12px 22px;
  background: var(--ih-cyan-tint);
  font-style: italic;
  color: var(--ih-ink);
  border-radius: 0 10px 10px 0;
}
.ih-ressource-content img {
  border-radius: 12px;
  /* v0.63.6 — !important pour neutraliser les width/height en px collés dans le WYSIWYG
     (cause des images déformées « qui sautent » sur implantations/actualités/événements). */
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
.ih-ressource-content figure {
  margin: 1.6em 0;
  max-width: 100%;
}
.ih-ressource-content figure img { margin-left: auto; margin-right: auto; }
.ih-ressource-content figcaption {
  font-size: 13px;
  color: var(--ih-muted);
  text-align: center;
  margin-top: 8px;
}
/* Pas de breakout des blocs alignés dans la colonne article */
.ih-ressource-content .alignfull,
.ih-ressource-content .alignwide { max-width: 100%; margin-left: 0; margin-right: 0; }
.ih-ressource-content .aligncenter { margin-left: auto; margin-right: auto; }
.ih-ressource-content a {
  color: var(--ih-cyan-700);
  text-decoration: underline;
}

.ih-ressource-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--ih-line);
}
.ih-ressource-tags__label {
  font-size: 11px;
  font-family: var(--ih-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ih-muted-2);
  margin-right: 6px;
}
.ih-ressource-tags__tag {
  display: inline-block;
  padding: 5px 11px;
  background: var(--ih-bg);
  border: 1px solid var(--ih-line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ih-ink-soft);
  text-decoration: none;
  transition: var(--ih-transition);
}
.ih-ressource-tags__tag:hover {
  border-color: var(--ih-cyan);
  color: var(--ih-cyan-700);
}

/* ── Bloc Implantation réussie (format=cas-client, v0.45.0) ──────────── */
.ih-cas-client-block {
  position: relative;
  margin: 0 0 32px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--ih-cream, #fbf6ec) 0%, #fff 100%);
  border: 1px solid var(--ih-line);
  border-radius: var(--ih-radius-lg);
  border-left: 4px solid var(--ih-cyan);
}
.ih-cas-client-block__logo {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ih-cas-client-block__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ih-cas-client-block__head { margin-bottom: 20px; }
.ih-cas-client-block__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ih-cyan-700, var(--ih-cyan));
  margin-bottom: 6px;
}
.ih-cas-client-block__client {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ih-ink);
}
/* v0.66.20 — titre cliquable vers la fiche partenaire */
.ih-cas-client-block__client a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--ih-cyan), var(--ih-cyan));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.2s, color 0.15s;
}
.ih-cas-client-block__client a:hover,
.ih-cas-client-block__client a:focus-visible {
  color: var(--ih-cyan-700, var(--ih-cyan));
  background-size: 100% 2px;
}
.ih-cas-client-block__secteur {
  font-size: 13px;
  color: var(--ih-muted);
}
.ih-cas-client-block__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--ih-line);
  border-bottom: 1px solid var(--ih-line);
  margin-bottom: 20px;
}
.ih-cas-client-block__stat-value {
  font-family: var(--ih-font-serif, Georgia, serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--ih-ink);
}
.ih-cas-client-block__stat-value span {
  font-size: 16px;
  color: var(--ih-muted);
  margin-left: 4px;
}
.ih-cas-client-block__stat-label {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ih-muted);
  font-weight: 600;
}
.ih-cas-client-block__quote {
  margin: 0;
  padding: 0;
  font-style: italic;
  color: var(--ih-ink-soft, var(--ih-ink));
  position: relative;
}
.ih-cas-client-block__quote svg {
  color: var(--ih-cyan);
  margin-bottom: 8px;
  opacity: 0.6;
}
.ih-cas-client-block__quote p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.ih-cas-client-block__quote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--ih-muted);
  font-weight: 600;
}
/* v0.64.0 — Lien vers la fiche du compte client (CPT partenaire) */
.ih-cas-client-block__partner-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 9px 16px;
  background: var(--ih-ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.ih-cas-client-block__partner-link:hover {
  background: var(--ih-cyan);
  color: var(--ih-ink);
  transform: translateY(-1px);
}

/* v0.66.18 — Bloc « Implantation réussie » rendu compact dans la sidebar droite */
.ih-single-sidebar .ih-cas-client-block { margin: 0; padding: 9px 22px; }
.ih-single-sidebar .ih-cas-client-block__logo {
  position: static; width: auto; height: 52px;
  justify-content: flex-start; margin-bottom: 12px;
}
.ih-single-sidebar .ih-cas-client-block__logo img { max-height: 52px; }
.ih-single-sidebar .ih-cas-client-block__head { margin-bottom: 14px; }
.ih-single-sidebar .ih-cas-client-block__client { font-size: 19px; }
.ih-single-sidebar .ih-cas-client-block__stats {
  grid-template-columns: 1fr 1fr; gap: 10px 14px;
  padding: 14px 0; margin-bottom: 14px;
}
.ih-single-sidebar .ih-cas-client-block__stat-value { font-size: 20px; }
.ih-single-sidebar .ih-cas-client-block__quote p { font-size: 14px; line-height: 1.5; }
.ih-single-sidebar .ih-cas-client-block__partner-link { margin-top: 14px; width: 100%; justify-content: center; }

/* v0.66.18/19 — Slider horizontal (scroll-snap) + flèches & bullets pour « Les biens de <partenaire> » */
.ih-slider-wrap { position: relative; }
.ih-slider {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ih-slider::-webkit-scrollbar { display: none; }
.ih-slider__track { display: flex; gap: 20px; }
.ih-slider__track > * {
  scroll-snap-align: start;
  flex: 0 0 320px; max-width: 320px;
}
.ih-slider--compact .ih-slider__track > * { flex-basis: 244px; max-width: 244px; }
.ih-slider:focus-visible { outline: 2px solid var(--ih-cyan); outline-offset: 4px; border-radius: 4px; }

/* Flèches */
.ih-slider__arrow {
  position: absolute; top: 42%; transform: translateY(-50%);
  z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--ih-line); background: #fff; color: var(--ih-ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
  transition: background .15s, color .15s, opacity .15s;
}
.ih-slider__arrow--prev { left: -10px; }
.ih-slider__arrow--next { right: -10px; }
.ih-slider__arrow:hover { background: var(--ih-cyan); color: var(--ih-ink); }
.ih-slider__arrow:disabled { opacity: 0; pointer-events: none; }

/* Bullets */
.ih-slider__bullets { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ih-slider__bullet {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ih-line); cursor: pointer; transition: background .15s, transform .15s;
}
.ih-slider__bullet.is-active { background: var(--ih-cyan); transform: scale(1.35); }

/* Slider non scrollable (peu d'items) → on masque les contrôles */
.ih-slider-wrap--static .ih-slider__arrow,
.ih-slider-wrap--static .ih-slider__bullets { display: none; }

@media (max-width: 600px) {
  .ih-slider__track > * { flex-basis: 84%; max-width: 84%; }
  .ih-slider--compact .ih-slider__track > * { flex-basis: 70%; max-width: 70%; }
  .ih-slider__arrow { display: none; }
}

/* ── Bloc Événement (format=evenement, v0.45.0) ──────────────────────── */
.ih-evenement-block {
  position: relative;
  margin: 0 0 32px;
  padding: 24px 28px;
  background: var(--ih-ink);
  color: #fff;
  border-radius: var(--ih-radius-lg);
}
.ih-evenement-block--prochain { background: linear-gradient(135deg, var(--ih-cyan) 0%, #097a87 100%); }
.ih-evenement-block--passe    { background: var(--ih-bg, #f6f7f9); color: var(--ih-ink); border: 1px solid var(--ih-line); }
.ih-evenement-block__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin-bottom: 16px;
}
.ih-evenement-block--passe .ih-evenement-block__eyebrow {
  background: var(--ih-line);
  color: var(--ih-muted);
}
.ih-evenement-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.ih-evenement-block__cell-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}
.ih-evenement-block__cell-value {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ih-evenement-block__cell--geolink .ih-evenement-block__cell-label,
.ih-evenement-block__cell--geolink .ih-evenement-block__cell-value {
  color: #fff;
  opacity: 1;
}
.ih-evenement-block__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ih-ressource-cta {
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--ih-bg);
  border: 1px solid var(--ih-line);
  border-radius: var(--ih-radius-lg);
  text-align: center;
}
.ih-ressource-cta__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.ih-ressource-cta p {
  font-size: 14.5px;
  color: var(--ih-muted);
  margin: 0 0 18px;
}

/* Articles liés */
.ih-ressource-related {
  padding: 48px var(--ih-side-pad);
  background: var(--ih-bg);
  border-top: 1px solid var(--ih-line);
}
.ih-ressource-related__inner {
  max-width: var(--ih-max-w);
  margin: 0 auto;
}
.ih-ressource-related__title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .ih-ressources-hero__title { font-size: 42px; }
  .ih-ressource-hero__title { font-size: 38px; }
  .ih-ressource-hero { padding: 56px var(--ih-side-pad) 44px; }
}
@media (max-width: 640px) {
  .ih-ressources-hero__title { font-size: 32px; }
  .ih-ressource-hero__title { font-size: 28px; }
  .ih-ressources-grid { grid-template-columns: 1fr; }

  /* QA mobile v0.45.4 — cas-client + evenement blocs */
  .ih-cas-client-block {
    padding: 20px 18px;
  }
  .ih-cas-client-block__logo {
    position: static;
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }
  .ih-cas-client-block__client { font-size: 22px; }
  .ih-cas-client-block__stat-value { font-size: 22px; }
  .ih-cas-client-block__quote p { font-size: 15px; }

  .ih-evenement-block { padding: 20px 18px; }
  .ih-evenement-block__grid { grid-template-columns: 1fr; gap: 14px; }
  .ih-evenement-block__cell-value { font-size: 16px; }
}

/* ── Filtre année archive ressources (v0.50.10) ──────────────── */
.ih-ressources-hero__years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}
.ih-ressources-hero__years-label {
  font-family: var(--ih-font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ih-muted);
  margin-right: 4px;
}
.ih-ressources-hero__year {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--ih-radius-full);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ih-ink);
  text-decoration: none;
  background: var(--ih-bg);
  border: 1px solid var(--ih-line);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ih-ressources-hero__year:hover {
  background: var(--ih-cyan-tint);
  border-color: var(--ih-cyan-tint);
  color: var(--ih-cyan-700);
}
.ih-ressources-hero__year.is-active {
  background: var(--ih-ink);
  border-color: var(--ih-ink);
  color: #fff;
}

/* ── Pagination archive ressources (v0.50.10) ─────────────────
   Style des liens .page-numbers générés par the_posts_pagination().
   ────────────────────────────────────────────────────────────── */
.ih-ressources .navigation.pagination,
.ih-ressources .pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.ih-ressources .navigation.pagination .nav-links,
.ih-ressources .pagination .nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.ih-ressources .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ih-ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--ih-line);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ih-ressources .page-numbers:hover {
  background: var(--ih-cyan-tint);
  border-color: var(--ih-cyan-tint);
  color: var(--ih-cyan-700);
}
.ih-ressources .page-numbers.current {
  background: var(--ih-ink);
  border-color: var(--ih-ink);
  color: #fff;
  cursor: default;
}
.ih-ressources .page-numbers.dots {
  border-color: transparent;
  color: var(--ih-muted);
}
.ih-ressources .page-numbers.prev,
.ih-ressources .page-numbers.next {
  gap: 6px;
  padding: 0 14px;
  font-family: var(--ih-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Section générique (réplique de home.css pour usage hors home, v0.50.7) ─
   Permet d'utiliser `.ih-section.ih-section--white` + `.ih-section-head` +
   `.ih-grid--3/4` sur les pages single-ressource (guides M2) sans dépendre
   de home.css qui n'est pas enqueued ici. Long terme : déplacer dans
   hubs/components.css pour usage global.
   ──────────────────────────────────────────────────────────── */
.ih-section { padding: var(--ih-space-18) var(--ih-side-pad); }
.ih-section--white { background: var(--ih-surface); }
.ih-section--bg    { background: #fafbfc; }
.ih-section--cream { background: var(--ih-cream); }

.ih-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--ih-space-8);
    gap: 16px;
}
.ih-section-head h2 { margin-top: 8px; }

.ih-section-title {
    font-family: var(--ih-font-sans);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ih-ink);
    margin: 0 0 12px;
}
.ih-section-title .ih-italic { font-style: italic; }
.ih-section-title .ih-accent { color: var(--ih-accent-700); }

.ih-italic { font-style: italic; }
.ih-accent { color: var(--ih-accent-700); }

.ih-grid { display: grid; gap: 20px; }
.ih-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ih-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ih-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1200px) {
    .ih-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ih-grid--4,
    .ih-grid--3,
    .ih-grid--2 { grid-template-columns: 1fr; }
    .ih-section-head { flex-direction: column; align-items: flex-start; }
}
