.gmch-page {
  --gmch-blue-950: #06294d;
  --gmch-blue-900: #073a6b;
  --gmch-blue-800: #0b4d87;
  --gmch-blue-100: #e8f3fb;
  --gmch-sky: #35a9e1;
  --gmch-ink: #172638;
  --gmch-muted: #5b6b7d;
  --gmch-line: #dfe7ef;
  --gmch-soft: #f4f7fa;
  --gmch-white: #fff;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 46px;
  color: var(--gmch-ink);
  font-size: 16px;
  line-height: 1.65;
}

.gmch-page *,
.gmch-page *::before,
.gmch-page *::after { box-sizing: border-box; }

.gmch-page a { color: var(--gmch-blue-800); text-decoration: none; }
.gmch-page a:hover { color: var(--gmch-blue-950); text-decoration: none; }
.gmch-page a:focus-visible,
.gmch-page button:focus-visible { outline: 3px solid rgba(53, 169, 225, .45); outline-offset: 3px; }
.gmch-page img { display: block; max-width: 100%; }

/* Hummingbird masque globalement le fil d'Ariane sur les pages `.page`.
   Les contrôleurs gm_contenthub fournissent déjà la hiérarchie complète :
   on réaffiche uniquement ce fil existant sur les pages publiques du module. */
body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
  padding: 0;
  list-style: none;
  color: #5b6b7d;
  font-size: 13px;
  line-height: 1.4;
}

body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb-item + .breadcrumb-item::before {
  float: none;
  padding: 0 9px;
  color: #9aa9b8;
  content: "›";
}

body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb-link {
  color: #0b4d87;
  font-weight: 700;
}

body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb-link:hover {
  color: #06294d;
  text-decoration: underline;
}

body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb-item:last-child {
  color: #5b6b7d;
}

.gmch-portals {
  display: flex;
  gap: 6px;
  margin: 2px 0 12px;
  padding: 4px;
  border: 1px solid var(--gmch-line);
  border-radius: 12px;
  background: var(--gmch-white);
  box-shadow: 0 5px 16px rgba(21, 50, 78, .05);
}

.gmch-portals__link {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 8px;
  color: #42556a !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.gmch-portals__link:hover { background: var(--gmch-soft); transform: translateY(-1px); }
.gmch-portals__link.is-active { color: var(--gmch-white) !important; background: var(--gmch-blue-900); }

.gmch-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .7fr);
  gap: 28px;
  min-height: 330px;
  padding: clamp(32px, 4.5vw, 58px);
  overflow: hidden;
  border-radius: 22px;
  color: var(--gmch-white);
  background: linear-gradient(135deg, var(--gmch-blue-950), var(--gmch-blue-800));
  box-shadow: 0 18px 44px rgba(5, 42, 77, .17);
}

.gmch-hero::after {
  position: absolute;
  right: -140px;
  bottom: -230px;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .035), 0 0 0 110px rgba(255, 255, 255, .025);
  content: "";
}

.gmch-hero__copy { position: relative; z-index: 2; align-self: center; max-width: 760px; }
.gmch-eyebrow { display: block; margin-bottom: 14px; color: #8bd7f7; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.gmch-hero h1 { max-width: 720px; margin: 0 0 14px; color: inherit; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.gmch-hero p { max-width: 710px; margin: 0 0 20px; color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; }
.gmch-hero__visual { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center; gap: 13px; min-height: 230px; }
.gmch-hero__visual span { width: 56px; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, #80d8f4, #2ca5dc); box-shadow: 0 13px 25px rgba(0, 0, 0, .18); }
.gmch-hero__visual span:nth-child(1) { height: 44%; opacity: .72; }
.gmch-hero__visual span:nth-child(2) { height: 70%; }
.gmch-hero__visual span:nth-child(3) { height: 92%; background: linear-gradient(180deg, #fff, #addff4); }

.gmch-hero--with-image {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  gap: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--gmch-line);
  color: var(--gmch-ink);
  background: var(--gmch-white);
  box-shadow: 0 15px 38px rgba(17, 48, 77, .11);
}
.gmch-hero--with-image::after { display: none; }
.gmch-hero__media { align-self: center; min-width: 0; margin: 0; overflow: hidden; background: var(--gmch-soft); }
.gmch-hero__media picture { display: block; width: 100%; }
.gmch-hero__media img { display: block; width: 100%; height: auto; }
.gmch-hero--with-image .gmch-hero__copy { max-width: none; padding: clamp(24px, 3vw, 38px); }
.gmch-hero--with-image .gmch-eyebrow { color: var(--gmch-blue-800); }
.gmch-hero--with-image h1 { margin-bottom: 11px; color: var(--gmch-ink); font-size: clamp(29px, 3vw, 40px); }
.gmch-hero--with-image p { margin-bottom: 17px; color: var(--gmch-muted); font-size: clamp(15px, 1.5vw, 16px); line-height: 1.5; }
.gmch-hero--with-image .gmch-btn--primary { color: var(--gmch-white) !important; background: var(--gmch-blue-900); box-shadow: 0 9px 22px rgba(7, 58, 107, .2); }

.gmch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 9px 17px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 800; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease; }
.gmch-btn:hover { transform: translateY(-2px); }
.gmch-btn--primary { color: var(--gmch-blue-950) !important; background: var(--gmch-white); box-shadow: 0 10px 25px rgba(0, 0, 0, .13); }
.gmch-btn--light { color: var(--gmch-blue-950) !important; background: var(--gmch-white); }

.gmch-section { padding: clamp(34px, 4.5vw, 54px) 0 0; }
.gmch-section__heading { margin-bottom: 19px; }
.gmch-section__heading > span,
.gmch-section__heading > div > span { display: block; margin-bottom: 5px; color: var(--gmch-blue-800); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gmch-section__heading h2 { margin: 0; color: var(--gmch-ink); font-size: clamp(24px, 2.7vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
.gmch-section__heading--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.gmch-section__heading--row small { color: var(--gmch-muted); }
.gmch-rss-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; min-height: 42px; padding: 9px 14px; border: 1px solid #c9dce9; border-radius: 10px; color: var(--gmch-blue-800) !important; background: var(--gmch-white); font-size: 13px; font-weight: 800; line-height: 1.2; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.gmch-rss-link:hover { border-color: #9dc6df; background: var(--gmch-blue-100); transform: translateY(-1px); }
.gmch-rss-link svg { width: 18px; height: 18px; fill: currentColor; }

.gmch-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gmch-topic { position: relative; min-height: 188px; padding: 23px; overflow: hidden; border: 1px solid var(--gmch-line); border-radius: 17px; color: var(--gmch-ink) !important; background: var(--gmch-white); box-shadow: 0 9px 24px rgba(25, 54, 82, .055); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.gmch-topic:hover { border-color: #bcd8ea; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(25, 54, 82, .11); }
.gmch-topic__count { position: absolute; top: 14px; right: 14px; display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; color: var(--gmch-blue-800); background: var(--gmch-blue-100); font-size: 11px; font-weight: 800; }
.gmch-topic h3 { max-width: calc(100% - 35px); margin: 0 0 8px; color: var(--gmch-ink); font-size: 19px; line-height: 1.28; }
.gmch-topic p { margin: 0 0 13px; color: var(--gmch-muted); font-size: 13.5px; line-height: 1.55; }
.gmch-topic__link { position: absolute; right: 23px; bottom: 18px; left: 23px; color: var(--gmch-blue-800); font-size: 12.5px; font-weight: 800; }

.gmch-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gmch-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--gmch-line); border-radius: 17px; background: var(--gmch-white); box-shadow: 0 9px 25px rgba(25, 54, 82, .06); transition: transform .2s ease, box-shadow .2s ease; }
.gmch-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(25, 54, 82, .12); }
.gmch-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gmch-blue-100); }
.gmch-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gmch-card:hover .gmch-card__media img { transform: scale(1.025); }
.gmch-card__media--empty { display: grid; place-items: center; color: rgba(255, 255, 255, .82) !important; background: linear-gradient(135deg, var(--gmch-blue-950), var(--gmch-blue-800)); font-size: 42px; font-weight: 900; }
.gmch-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.gmch-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--gmch-muted); font-size: 12px; }
.gmch-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; border-radius: 999px; color: var(--gmch-blue-800); background: var(--gmch-blue-100); font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.gmch-card h3 { margin: 0 0 8px; color: var(--gmch-ink); font-size: 19px; line-height: 1.3; }
.gmch-card h3 a { color: inherit; }
.gmch-card__body > p { margin: 0 0 12px; color: var(--gmch-muted); font-size: 13.5px; line-height: 1.55; }
.gmch-card__location { color: var(--gmch-blue-800) !important; font-size: 12px !important; font-weight: 700; }
.gmch-card__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 11px; border-top: 1px solid #edf1f5; font-size: 13px; font-weight: 800; }

.gmch-empty { padding: 34px; border: 1px dashed #bdccda; border-radius: 16px; color: var(--gmch-muted); background: var(--gmch-soft); text-align: center; }

.gmch-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: clamp(42px, 5vw, 62px); padding: clamp(26px, 3.8vw, 40px); border-radius: 20px; color: var(--gmch-white); background: linear-gradient(120deg, var(--gmch-blue-950), var(--gmch-blue-800)); box-shadow: 0 16px 38px rgba(5, 42, 77, .16); }
.gmch-cta__eyebrow { display: block; margin-bottom: 6px; color: #8bd7f7; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.gmch-cta h2 { margin: 0 0 7px; color: inherit; font-size: clamp(24px, 3vw, 34px); }
.gmch-cta p { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .82); }
.gmch-cta > .gmch-btn { flex: 0 0 auto; }

.gmch-category-hero { padding: clamp(25px, 3.8vw, 42px); border-radius: 20px; background: linear-gradient(145deg, #edf6fc, #f7fafc); box-shadow: inset 0 0 0 1px #dceaf3; }
.gmch-back { display: inline-block; margin-bottom: 24px; color: var(--gmch-blue-800); font-size: 13px; font-weight: 800; }
.gmch-category-hero h1 { max-width: 850px; margin: 0 0 10px; color: var(--gmch-ink); font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; }
.gmch-category-hero p { max-width: 800px; margin: 0 0 14px; color: var(--gmch-muted); font-size: 17px; }
.gmch-category-hero__count { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: var(--gmch-blue-800); background: var(--gmch-white); font-size: 11.5px; font-weight: 800; }
.gmch-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.gmch-pagination a,
.gmch-pagination span { min-height: 40px; padding: 8px 14px; border: 1px solid var(--gmch-line); border-radius: 9px; background: var(--gmch-white); font-size: 13px; font-weight: 700; }
.gmch-pagination span { color: var(--gmch-muted); background: var(--gmch-soft); }

.gmch-article { max-width: 1060px; margin: 0 auto; }
.gmch-article__header { max-width: 880px; margin: 0 auto; padding: clamp(24px, 3.5vw, 42px) 0 27px; text-align: center; }
.gmch-article__meta { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 12px; color: var(--gmch-muted); font-size: 12.5px; font-weight: 700; }
.gmch-article__header h1 { margin: 0 0 14px; color: var(--gmch-ink); font-size: clamp(33px, 4.5vw, 52px); line-height: 1.12; letter-spacing: -.04em; }
.gmch-article__lead { max-width: 780px; margin: 0 auto 17px; color: #526477; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.58; }
.gmch-article__byline { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 19px; color: var(--gmch-muted); font-size: 12px; }
.gmch-article__location { display: inline-flex; margin-top: 16px; padding: 7px 12px; border-radius: 999px; color: var(--gmch-blue-800); background: var(--gmch-blue-100); font-size: 12px; }
.gmch-article__hero-image { aspect-ratio: 16 / 8.3; margin: 0 0 34px; overflow: hidden; border-radius: 20px; background: var(--gmch-soft); box-shadow: 0 16px 40px rgba(25, 54, 82, .11); }
.gmch-article__hero-image img { width: 100%; height: 100%; object-fit: cover; }
.gmch-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 42px; }
.gmch-richtext { min-width: 0; color: #26384a; font-size: 17px; line-height: 1.72; }
.gmch-richtext > :first-child { margin-top: 0; }
.gmch-richtext h2 { margin: 36px 0 12px; color: var(--gmch-ink); font-size: clamp(24px, 2.8vw, 31px); line-height: 1.25; letter-spacing: -.025em; }
.gmch-richtext h3 { margin: 28px 0 10px; color: var(--gmch-ink); font-size: 22px; line-height: 1.35; }
.gmch-richtext h4 { margin: 27px 0 10px; color: var(--gmch-ink); font-size: 18px; }
.gmch-richtext p { margin: 0 0 17px; }
.gmch-richtext ul,
.gmch-richtext ol { margin: 0 0 23px; padding-left: 25px; }
.gmch-richtext li { margin-bottom: 8px; }
.gmch-richtext blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--gmch-sky); border-radius: 0 12px 12px 0; color: #41566a; background: var(--gmch-soft); }
.gmch-richtext table { display: block; width: 100%; max-width: 100%; margin: 25px 0; overflow-x: auto; border-collapse: collapse; }
.gmch-richtext th,
.gmch-richtext td { min-width: 130px; padding: 11px 13px; border: 1px solid var(--gmch-line); text-align: left; }
.gmch-richtext th { background: var(--gmch-soft); }
.gmch-article__aside { position: sticky; top: 25px; padding: 25px; border: 1px solid #cfe1ee; border-radius: 18px; background: #f1f8fc; }
.gmch-article__aside > span { color: var(--gmch-blue-800); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.gmch-article__aside h2 { margin: 8px 0 9px; color: var(--gmch-ink); font-size: 22px; line-height: 1.3; }
.gmch-article__aside p { margin: 0 0 18px; color: var(--gmch-muted); font-size: 14px; }
.gmch-article__aside .gmch-btn { width: 100%; color: var(--gmch-white) !important; background: var(--gmch-blue-900); }
.gmch-sources { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--gmch-line); }
.gmch-sources h2 { margin-top: 0; font-size: 23px; }
.gmch-sources ol { font-size: 14px; }
.gmch-related { max-width: 1060px; margin: 0 auto; }

@media (max-width: 980px) {
  .gmch-hero { grid-template-columns: 1fr; min-height: 0; }
  .gmch-hero.gmch-hero--with-image { grid-template-columns: minmax(0, 1.35fr) minmax(275px, .85fr); }
  .gmch-hero--with-image .gmch-hero__copy { padding: 26px; }
  .gmch-hero__visual { display: none; }
  .gmch-topic-grid,
  .gmch-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gmch-article__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gmch-article__aside { position: static; }
}

@media (max-width: 760px) {
  .gmch-hero.gmch-hero--with-image { grid-template-columns: 1fr; }
  .gmch-hero__media { aspect-ratio: 16 / 7.5; }
  .gmch-hero__media picture { height: 100%; }
  .gmch-hero__media img { width: 100%; height: 100%; object-fit: cover; }
}

@media (max-width: 640px) {
  body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb {
    flex-wrap: nowrap;
    margin-bottom: 7px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  body[id^="module-gm_contenthub-"] .breadcrumb__wrapper .breadcrumb::-webkit-scrollbar { display: none; }
  .gmch-page { width: min(100% - 20px, 1180px); margin-bottom: 32px; font-size: 15px; }
  .gmch-portals { flex-wrap: wrap; gap: 4px; margin-bottom: 9px; padding: 3px; }
  .gmch-portals__link { flex: 1 1 calc(50% - 4px); padding: 7px; font-size: 12px; }
  .gmch-portals__link:last-child { flex-basis: 100%; }
  .gmch-hero { padding: 28px 20px; border-radius: 18px; }
  .gmch-hero--with-image { padding: 0; }
  .gmch-hero--with-image .gmch-hero__copy { padding: 22px 18px 24px; }
  .gmch-hero h1 { font-size: 32px; }
  .gmch-hero--with-image h1 { font-size: 29px; }
  .gmch-hero p { font-size: 15px; }
  .gmch-topic-grid,
  .gmch-card-grid { grid-template-columns: 1fr; }
  .gmch-topic { min-height: 180px; padding: 20px; }
  .gmch-topic__link { right: 20px; bottom: 16px; left: 20px; }
  .gmch-section { padding-top: 32px; }
  .gmch-section__heading--row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .gmch-rss-link { margin-top: 5px; }
  .gmch-cta { align-items: stretch; flex-direction: column; gap: 20px; padding: 25px 20px; border-radius: 17px; }
  .gmch-cta > .gmch-btn { width: 100%; }
  .gmch-category-hero { padding: 24px 20px; border-radius: 17px; }
  .gmch-category-hero p { font-size: 15.5px; }
  .gmch-pagination { gap: 6px; }
  .gmch-pagination a,
  .gmch-pagination span { padding: 8px 9px; font-size: 11px; }
  .gmch-article__header { padding: 22px 0; }
  .gmch-article__header h1 { font-size: 32px; }
  .gmch-article__lead { font-size: 16.5px; }
  .gmch-article__hero-image { margin-bottom: 26px; border-radius: 15px; }
  .gmch-richtext { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .gmch-page *,
  .gmch-page *::before,
  .gmch-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
