/*
 * Homepage publique communautaire — Brainrot Fortnite.
 *
 * Mise en page calquee sur la maquette validee : header sombre, banniere
 * hero illustree pleine largeur, grille editoriale (une + colonne laterale),
 * discussions, rangee "Explorer", banniere Discord pleine largeur, footer.
 *
 * Toutes les classes sont prefixees `hc-` pour ne jamais entrer en collision
 * avec le theme de base. Aucune regle ne cible d'element nu hors de .hc-page.
 */

.hc-page {
  /* Couleurs relevees directement sur la maquette */
  --hc-bg: #02101f;
  --hc-bg-deep: #000916;
  --hc-header-bg: #000c26;
  --hc-card: #001333;
  --hc-card-soft: #041a3e;
  --hc-border: rgba(86, 124, 220, 0.20);
  --hc-text: #f2f5ff;
  --hc-muted: #92a2c8;
  --hc-dim: #6f80a8;
  --hc-violet: #5029fc;
  --hc-violet-light: #a98bff;
  --hc-radius: 14px;
  --hc-radius-sm: 10px;
  --hc-max: 1280px;
  --hc-gutter: 24px;

  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% 0, rgba(40, 32, 120, 0.35), transparent 70%),
    linear-gradient(180deg, #03142e 0%, var(--hc-bg) 40%, #010a17 100%);
  color: var(--hc-text);
  font-family: "Poppins", "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

.hc-page :where(a) {
  color: inherit;
  text-decoration: none;
}

.hc-page :where(p, h1, h2, h3, ul, ol) {
  margin: 0;
}

.hc-page :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.hc-page :focus-visible {
  outline: 2px solid var(--hc-violet-light);
  outline-offset: 2px;
  border-radius: 6px;
}

.hc-shell {
  width: 100%;
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: 0 var(--hc-gutter);
}

.hc-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--hc-violet);
  color: #fff;
  border-radius: 0 0 10px 0;
}

.hc-skip:focus {
  left: 0;
}

.hc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------- */
/* Boutons                                                               */
/* --------------------------------------------------------------------- */

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .16s ease, transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.hc-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hc-btn:hover {
  transform: translateY(-1px);
}

.hc-btn--primary {
  background: var(--hc-violet);
  color: #fff;
  box-shadow: 0 8px 22px rgba(80, 41, 252, 0.38);
}

.hc-btn--primary:hover {
  filter: brightness(1.1);
  color: #fff;
}

.hc-btn--ghost {
  background: rgba(4, 16, 42, 0.72);
  border-color: rgba(120, 150, 230, 0.28);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hc-btn--ghost:hover {
  border-color: rgba(150, 175, 255, 0.5);
  background: rgba(12, 28, 66, 0.85);
}

.hc-btn--outline {
  background: transparent;
  border-color: rgba(120, 150, 230, 0.32);
  color: #fff;
}

.hc-btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hc-btn--hero {
  height: 46px;
  padding: 0 24px;
  font-size: 14.5px;
  font-weight: 700;
}

.hc-btn--sm {
  height: 34px;
  padding: 0 16px;
  font-size: 13px;
}

/* --------------------------------------------------------------------- */
/* Header                                                                */
/* --------------------------------------------------------------------- */

.hc-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--hc-header-bg);
  border-bottom: 1px solid rgba(86, 124, 220, 0.14);
}

.hc-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}

.hc-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hc-brand__logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.hc-brand__name {
  margin-left: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hc-brand__name span {
  color: var(--hc-violet-light);
}

.hc-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.hc-nav__link {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #c7d2ee;
  transition: color .15s ease, background-color .15s ease;
}

.hc-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hc-nav__link.is-active {
  background: linear-gradient(135deg, #3f3ae0, #5a3df0);
  color: #fff;
  box-shadow: 0 6px 16px rgba(63, 58, 224, 0.4);
}

.hc-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 430px;
  margin-left: auto;
}

.hc-search__input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 16px;
  border: 1px solid rgba(86, 124, 220, 0.26);
  border-radius: var(--hc-radius-sm);
  background: #0e2049;
  color: var(--hc-text);
  font-family: inherit;
  font-size: 13.5px;
}

.hc-search__input::placeholder {
  color: #7183ad;
}

.hc-search__input:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.6);
  background: #12285a;
}

.hc-search__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #7f92bd;
  pointer-events: none;
}

.hc-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.hc-header__actions .hc-btn {
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
}

.hc-burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(120, 150, 230, 0.28);
  border-radius: var(--hc-radius-sm);
  background: transparent;
  color: var(--hc-text);
  cursor: pointer;
}

.hc-mobile-nav {
  display: none;
  flex: 1 1 100%;
  order: 9;
  padding-bottom: 14px;
}

.hc-mobile-nav.is-open {
  display: block;
}

.hc-mobile-nav__list {
  display: grid;
  gap: 4px;
}

.hc-mobile-nav__list a {
  display: block;
  padding: 11px 14px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  background: var(--hc-card);
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------- */
/* Hero illustre                                                         */
/* --------------------------------------------------------------------- */

.hc-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Proportion de la banniere de la maquette (1672 x 336) */
  height: clamp(340px, 20.1vw, 470px);
  background: linear-gradient(175deg, #0c1a52 0%, #071033 55%, #030b1f 100%);
}

/* Le decor reprend les deux pieces de la banniere de la maquette, ancrees
   en bas : la composition est conservee quelle que soit la largeur. */
.hc-hero__art {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  height: 100%;
  pointer-events: none;
}

/* Chaque piece garde la largeur qu'elle occupe dans la maquette : 200/1672
   a gauche, 1060/1672 a droite. La composition est donc identique quelle
   que soit la largeur de l'ecran. */
.hc-hero__art img {
  position: absolute;
  bottom: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: bottom center;
}

.hc-hero__art img:first-child {
  left: 0;
  width: 7.3%;
  object-position: left bottom;
}

.hc-hero__art img:last-child {
  right: 0;
  width: 63.4%;
}

/* Raccord entre les deux pieces : ciel nocturne + sol sombre. */
.hc-hero__seam {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 72%, rgba(1, 8, 20, .85) 100%),
    radial-gradient(60% 90% at 26% 100%, rgba(10, 22, 66, .55), transparent 70%);
  pointer-events: none;
}

/* Voile assombrissant la moitie gauche pour la lisibilite du texte. */
.hc-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(2, 10, 28, .42) 0%,
    rgba(2, 10, 28, .58) 6%,
    rgba(2, 10, 28, .88) 13%,
    rgba(2, 10, 28, .80) 30%,
    rgba(2, 10, 28, .30) 48%,
    transparent 64%);
  pointer-events: none;
}

.hc-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hc-hero__content {
  max-width: 560px;
}

.hc-hero__eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9c6ea;
}

.hc-hero__title {
  margin-bottom: 14px;
  font-size: clamp(28px, 2.9vw, 44px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .55);
}

.hc-hero__title em {
  font-style: normal;
  color: #8b5cff;
}

.hc-hero__lead {
  margin-bottom: 22px;
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: #d3dcf3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.hc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------- */
/* Corps de page                                                         */
/* --------------------------------------------------------------------- */

.hc-main {
  padding-top: 22px;
}

.hc-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.32fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.hc-col {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hc-card {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: var(--hc-card);
  box-shadow: 0 14px 30px rgba(0, 4, 18, 0.45);
}

.hc-section-title {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hc-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--hc-violet);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hc-badge--cyan {
  background: #0e7fb8;
}

.hc-meta {
  font-size: 12px;
  color: var(--hc-dim);
}

/* Actualite a la une ---------------------------------------------------- */

.hc-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  overflow: hidden;
  min-height: 196px;
}

.hc-feature__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 22px 24px;
}

.hc-feature__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-feature__title {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.hc-feature__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--hc-muted);
}

.hc-feature__cta {
  margin-top: 4px;
}

.hc-feature__visual {
  position: relative;
  overflow: hidden;
  background: #061033;
}

.hc-feature__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Widgets de la colonne laterale --------------------------------------- */

.hc-widget {
  padding: 16px 16px 18px;
}

.hc-widget + .hc-widget {
  margin-top: 16px;
}

.hc-widget__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.hc-widget__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.hc-widget__title svg {
  width: 17px;
  height: 17px;
  color: var(--hc-violet-light);
}

.hc-widget__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--hc-dim);
}

.hc-widget__more svg {
  width: 13px;
  height: 13px;
}

.hc-widget__more:hover {
  color: var(--hc-violet-light);
}

.hc-event {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.hc-event__thumb {
  display: block;
  width: 128px;
  height: 88px;
  border-radius: var(--hc-radius-sm);
  overflow: hidden;
}

.hc-event__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-event__name {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.hc-event__when {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--hc-muted);
}

.hc-event__when svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--hc-dim);
}

/* Quoi de neuf */

.hc-news__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(86, 124, 220, 0.12);
}

.hc-news li:first-child .hc-news__link {
  border-top: 0;
  padding-top: 0;
}

.hc-news__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  background: #16295e;
  color: #7fa8ff;
}

.hc-news__icon svg {
  width: 16px;
  height: 16px;
}

.hc-news__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #dbe3f7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-news__arrow {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: #4f5f85;
}

.hc-news__link:hover .hc-news__label {
  color: #fff;
}

.hc-news__link:hover .hc-news__arrow {
  color: var(--hc-violet-light);
}

/* Discussions ---------------------------------------------------------- */

.hc-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hc-post {
  display: flex;
  gap: 14px;
  padding: 13px;
  transition: border-color .16s ease, transform .16s ease;
}

.hc-post:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.4);
}

.hc-post__media {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: var(--hc-radius-sm);
  overflow: hidden;
}

.hc-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-post__body {
  flex: 1 1 auto;
  min-width: 0;
}

.hc-post__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hc-post__time {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--hc-dim);
}

.hc-post__title {
  margin-bottom: 5px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.hc-post__text {
  margin-bottom: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--hc-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hc-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hc-stats__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #8b9ac2;
}

.hc-stats__item svg {
  width: 15px;
  height: 15px;
  color: #6f83b2;
}

/* Explorer ------------------------------------------------------------- */

.hc-explore-section {
  margin-top: 22px;
}

.hc-explore {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hc-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  transition: border-color .16s ease, transform .16s ease;
}

.hc-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.4);
}

.hc-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(140deg, #1d40a8, #3a2fbd);
  color: #cfe2ff;
}

.hc-tile__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-tile__icon svg {
  width: 26px;
  height: 26px;
}

.hc-tile__body {
  flex: 1 1 auto;
  min-width: 0;
}

.hc-tile__title {
  margin-bottom: 3px;
  font-size: 14.5px;
  font-weight: 700;
}

.hc-tile__text {
  font-size: 11.8px;
  line-height: 1.45;
  color: var(--hc-muted);
}

.hc-tile__arrow {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #5d6e98;
}

.hc-tile:hover .hc-tile__arrow {
  color: var(--hc-violet-light);
}

/* --------------------------------------------------------------------- */
/* Banniere Discord (pleine largeur)                                     */
/* --------------------------------------------------------------------- */

/* Le decor (tour et montgolfiere a gauche, palmier et bus a droite) reprend
   la banniere de la maquette : deux pieces ancrees aux extremites, le centre
   restant le violet plat sur lequel se pose le texte. */
.hc-discord {
  position: relative;
  margin-top: 26px;
  overflow: hidden;
  background:
    url("../../img/home/discord-right.jpg") right center / auto 100% no-repeat,
    url("../../img/home/discord-left.jpg") left center / auto 100% no-repeat,
    linear-gradient(90deg, #6544ff 0%, #5a3ffb 45%, #2d36f9 100%);
}

/* Fondu des deux pieces vers le violet central. */
.hc-discord::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(92, 62, 252, 0) 0%,
    rgba(92, 62, 252, 0) 9%,
    rgba(90, 60, 251, .94) 17%,
    rgba(80, 48, 250, .94) 83%,
    rgba(72, 52, 250, 0) 91%,
    rgba(72, 52, 250, 0) 100%);
  pointer-events: none;
}

.hc-discord__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.hc-discord__logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: #fff;
}

.hc-discord__body {
  flex: 1 1 auto;
  min-width: 0;
}

.hc-discord__title {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hc-discord__text {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
}

.hc-discord__btn {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 22px;
  background: #fff;
  color: #3b2fb8;
  font-weight: 700;
}

.hc-discord__btn:hover {
  background: #f2efff;
  color: #2f24a0;
}

/* --------------------------------------------------------------------- */
/* Footer                                                               */
/* --------------------------------------------------------------------- */

.hc-footer {
  background: var(--hc-bg-deep);
}

.hc-footer__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.hc-footer .hc-brand__logo {
  height: 30px;
}

.hc-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hc-footer__links li {
  display: inline-flex;
  align-items: center;
}

.hc-footer__links li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 14px;
  background: rgba(140, 160, 210, 0.28);
}

.hc-footer__links a {
  font-size: 12.5px;
  color: #a7b4d4;
}

.hc-footer__links a:hover {
  color: #fff;
}

.hc-footer__end {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.hc-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hc-social__link {
  display: inline-flex;
  color: #8fa0c6;
  transition: color .15s ease;
}

.hc-social__link:hover {
  color: #fff;
}

.hc-social__link svg {
  width: 17px;
  height: 17px;
}

.hc-footer__tagline {
  font-size: 12px;
  color: var(--hc-dim);
  white-space: nowrap;
}

/* --------------------------------------------------------------------- */
/* Responsive                                                            */
/* --------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hc-nav {
    display: none;
  }

  .hc-burger {
    display: inline-flex;
  }

  .hc-search {
    max-width: none;
  }

  .hc-explore {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 34px;
    flex-direction: column;
    align-items: stretch;
  }

  /* Sur mobile, le decor passe sous le texte en bandeau : seule la piece de
     droite est conservee, recadree pour rester lisible sur petit ecran. */
  .hc-hero__art {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin-bottom: 26px;
    aspect-ratio: 16 / 7;
  }

  .hc-hero__art img:first-child {
    display: none;
  }

  .hc-hero__art img:last-child {
    width: 100%;
    height: 100%;
    object-position: center bottom;
  }

  .hc-hero__veil {
    background: linear-gradient(180deg, rgba(2, 10, 28, .6), transparent 40%);
  }

  .hc-hero__content {
    max-width: none;
  }

  .hc-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-feature__visual {
    order: -1;
    min-height: 170px;
  }

  .hc-discord__inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .hc-page {
    --hc-gutter: 16px;
  }

  .hc-header__inner {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .hc-search {
    order: 4;
    flex: 1 1 100%;
    margin-left: 0;
  }

  .hc-header__actions {
    margin-left: auto;
  }

  .hc-header__actions .hc-btn--outline {
    display: none;
  }

  .hc-posts,
  .hc-explore {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-hero__title {
    font-size: 30px;
  }

  .hc-footer__inner {
    justify-content: center;
    text-align: center;
  }

  .hc-footer__end {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Sur telephone la signature passe a la ligne : gardee sur une seule
     ligne, elle debordait de l ecran et creait un defilement horizontal. */
  .hc-footer__tagline {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-page * {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* Les cartes "Explorer" sont des liens : leurs blocs internes sont des spans. */
.hc-tile__body,
.hc-tile__title,
.hc-tile__text {
  display: block;
}


/* Une colonne quand la colonne laterale n a aucun contenu reel a montrer. */
.hc-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

/* Repli visuel quand un contenu reel n a pas d image (article sans
   couverture, discussion sans avatar) : jamais d image cassee. */
.hc-media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 56px;
  background: linear-gradient(140deg, #1d2a6b 0%, #2a1f72 55%, #0f1640 100%);
  color: #b9c6ff;
  font-size: 22px;
  font-weight: 700;
}

.hc-feature__visual .hc-media-fallback {
  font-size: 46px;
}

/* --------------------------------------------------------------------- */
/* Pages secondaires : evenements, detail, recherche                      */
/* --------------------------------------------------------------------- */

.hc-page-hero {
  padding: 34px 0 26px;
  border-bottom: 1px solid rgba(86, 124, 220, 0.14);
  background:
    radial-gradient(700px 240px at 18% 0, rgba(80, 41, 252, 0.28), transparent 68%),
    linear-gradient(180deg, #0a1235 0%, #04102a 100%);
}

.hc-page-hero__eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-violet-light);
}

.hc-page-hero__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hc-page-hero__lead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--hc-muted);
}

.hc-page-hero__lead svg {
  width: 16px;
  height: 16px;
  color: var(--hc-violet-light);
}

.hc-event-notice {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 140, 140, 0.35);
  border-radius: 999px;
  background: rgba(180, 40, 40, 0.18);
  font-size: 13px;
  font-weight: 600;
  color: #ffc9c9;
}

.hc-tabs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.hc-tab {
  padding: 8px 16px;
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hc-muted);
}

.hc-tab:hover {
  color: #fff;
}

.hc-tab.is-active {
  background: linear-gradient(135deg, #3f3ae0, #5a3df0);
  border-color: transparent;
  color: #fff;
}

/* Etat vide ------------------------------------------------------------ */

.hc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
}

.hc-empty__icon {
  width: 42px;
  height: 42px;
  color: var(--hc-violet-light);
  opacity: .7;
}

.hc-empty__title {
  font-size: 19px;
  font-weight: 700;
}

.hc-empty__text {
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hc-muted);
}

/* Liste d evenements --------------------------------------------------- */

.hc-events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.hc-event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease;
}

.hc-event-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.4);
}

.hc-event-card.is-cancelled {
  opacity: .72;
}

.hc-event-card__media {
  position: relative;
  display: block;
  height: 160px;
  overflow: hidden;
  background: #061033;
}

.hc-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-event-card__date {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  border-radius: 10px;
  background: rgba(6, 12, 34, .88);
  border: 1px solid rgba(124, 92, 255, .4);
  line-height: 1.1;
}

.hc-event-card__date strong {
  font-size: 18px;
  font-weight: 700;
}

.hc-event-card__date span {
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--hc-muted);
}

.hc-event-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 18px 18px;
}

.hc-event-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
}

.hc-event-card__when {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--hc-muted);
}

.hc-event-card__when svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--hc-violet-light);
}

.hc-event-card__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--hc-muted);
}

/* Detail d un evenement ------------------------------------------------ */

.hc-event-detail {
  overflow: hidden;
}

.hc-event-detail__media {
  height: 280px;
  background: #061033;
}

.hc-event-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-event-detail__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.hc-event-detail__lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: #d5dcf2;
}

.hc-event-detail__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--hc-muted);
}

.hc-widget__empty {
  font-size: 13px;
  color: var(--hc-muted);
}

/* Le libelle des listes laterales peut porter une precision sur 2 lignes. */
.hc-news__text {
  flex: 1 1 auto;
  min-width: 0;
}

.hc-news__hint {
  display: block;
  font-size: 11.5px;
  color: var(--hc-dim);
}

.hc-news__text .hc-news__label {
  display: block;
}

/* --------------------------------------------------------------------- */
/* Recherche : barre de page, suggestions et resultats                    */
/* --------------------------------------------------------------------- */

.hc-search-big {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-top: 18px;
}

.hc-search-big__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(86, 124, 220, 0.3);
  border-radius: var(--hc-radius-sm);
  background: #0e2049;
  color: var(--hc-text);
  font-family: inherit;
  font-size: 14.5px;
}

.hc-search-big__input:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.65);
}

.hc-search-big .hc-btn {
  height: 46px;
}

/* Panneau de suggestions ancre sous la barre du header. */
.hc-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  max-height: 70vh;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  background: #05132f;
  box-shadow: 0 24px 50px rgba(0, 4, 18, 0.6);
}

.hc-suggest[hidden] {
  display: none;
}

.hc-suggest__label {
  padding: 8px 10px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hc-dim);
}

.hc-suggest ul {
  margin: 0 0 4px;
}

.hc-suggest li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
}

.hc-suggest li a:hover,
.hc-suggest li a:focus-visible {
  background: rgba(124, 92, 255, 0.16);
}

.hc-suggest__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-suggest__sub {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--hc-dim);
}

.hc-suggest__empty {
  padding: 14px 10px;
  font-size: 13px;
  color: var(--hc-muted);
}

.hc-suggest__all {
  display: block;
  margin-top: 4px;
  padding: 10px;
  border-top: 1px solid rgba(86, 124, 220, 0.14);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hc-violet-light);
  text-align: center;
}

.hc-suggest-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hc-results {
  display: grid;
  gap: 16px;
}

.hc-result-group {
  padding: 18px 20px;
}

.hc-result-group__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

.hc-result-group__title svg {
  width: 17px;
  height: 17px;
  color: var(--hc-violet-light);
}

.hc-result-group__title span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--hc-dim);
}

.hc-result-list {
  display: grid;
  gap: 4px;
}

.hc-result-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--hc-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(86, 124, 220, 0.12);
  transition: border-color .15s ease, background-color .15s ease;
}

.hc-result-list li a:hover {
  background: rgba(124, 92, 255, 0.12);
  border-color: rgba(124, 92, 255, 0.35);
}

.hc-result-list__text {
  flex: 1 1 auto;
  min-width: 0;
}

.hc-result-list__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-result-list__sub {
  display: block;
  font-size: 12px;
  color: var(--hc-muted);
}

.hc-result-list__arrow {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #4f5f85;
}

/* ===================================================================== */
/* Page Actualites (/blog)                                               */
/*                                                                       */
/* Aucune nouvelle base : on reutilise .hc-card, .hc-btn, .hc-badge,     */
/* .hc-tab, .hc-feature, .hc-widget. Seules les specificites de la page  */
/* (hero court illustre, grille d articles, colonne « En ce moment »)    */
/* sont definies ici.                                                    */
/* ===================================================================== */

.hc-news-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.hc-news-hero__art {
  position: absolute;
  inset: 0;
  display: flex;
}

/* Le decor reprend les deux pieces de la banniere d accueil : le mur graffe
   a gauche, la scene nocturne et ses brainrots a droite. Les proportions
   suivent celles des visuels d origine pour ne pas les deformer. */
.hc-news-hero__art img {
  height: 100%;
  object-fit: cover;
}

.hc-news-hero__art img:first-child {
  width: 26%;
  object-position: center;
}

.hc-news-hero__art img:last-child {
  width: 74%;
  object-position: center;
}

.hc-news-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 8, 24, .93) 0%, rgba(1, 8, 24, .78) 38%, rgba(1, 8, 24, .35) 100%),
    linear-gradient(180deg, rgba(1, 8, 24, .10), rgba(1, 8, 24, .62));
}

.hc-news-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 26px;
  padding-bottom: 26px;
}

.hc-news-hero__head {
  max-width: 62ch;
}

.hc-news-hero__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hc-pills .hc-tab {
  background: rgba(3, 12, 32, .72);
  backdrop-filter: blur(2px);
}

.hc-news-search {
  position: relative;
  flex: 0 1 320px;
  min-width: 220px;
}

.hc-news-search .hc-search__input {
  width: 100%;
  height: 40px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  background: rgba(3, 12, 32, .82);
  color: var(--hc-text);
  font-family: inherit;
  font-size: 13.5px;
}

.hc-news-search .hc-search__input::placeholder {
  color: var(--hc-dim);
}

.hc-news-search__submit {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--hc-muted);
  cursor: pointer;
}

.hc-news-search__submit:hover {
  color: #fff;
}

.hc-news-search__submit svg {
  width: 17px;
  height: 17px;
}

/* Bandeau de filtre actif ---------------------------------------------- */

.hc-news-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  background: rgba(124, 92, 255, .08);
  font-size: 13.5px;
  color: var(--hc-muted);
}

.hc-news-filter strong {
  color: var(--hc-text);
}

/* Une + colonne « En ce moment » --------------------------------------- */

.hc-news-top {
  margin-bottom: 26px;
}

.hc-news-feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 260px;
}

/* L image ne doit pas dicter la hauteur de la carte : elle remplit la
   colonne, et c est la carte qui impose sa hauteur. */
.hc-news-feature .hc-feature__visual {
  overflow: hidden;
  min-height: 260px;
}

/* Les visuels de brainrots sont des portraits detoures : `contain` les
   montre en entier, la ou `cover` n en garderait qu une bande. */
.hc-news-feature .hc-feature__visual {
  background:
    radial-gradient(70% 70% at 50% 60%, rgba(94, 60, 220, .38), transparent 70%),
    #061033;
}

.hc-news-feature .hc-feature__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
}

.hc-news-feature .hc-feature__visual .hc-media-fallback {
  position: absolute;
  inset: 0;
}

.hc-now__list {
  display: grid;
  gap: 4px;
  padding: 6px 8px 10px;
}

.hc-now__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: var(--hc-radius-sm);
  transition: background-color .16s ease;
}

.hc-now__item:hover {
  background: rgba(124, 92, 255, .12);
}

.hc-now__media {
  display: block;
  width: 52px;
  height: 46px;
  overflow: hidden;
  border-radius: 8px;
  background: #061033;
}

.hc-now__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-now__body {
  display: block;
  min-width: 0;
}

.hc-now__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hc-now__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hc-violet-light);
}

.hc-now__label svg {
  width: 13px;
  height: 13px;
}

.hc-now__meta {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--hc-dim);
}

.hc-now__title {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--hc-text);
}

.hc-now__text {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--hc-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hc-now__arrow {
  width: 16px;
  height: 16px;
  color: var(--hc-dim);
}

/* Grille « Dernieres actualites » -------------------------------------- */

.hc-news-list {
  padding-bottom: 8px;
}

.hc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hc-news-card {
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease;
}

.hc-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, .42);
}

/* La carte entiere est un lien : ses blocs internes sont des spans. */
.hc-news-card__link {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  height: 100%;
}

.hc-news-card__media {
  display: block;
  overflow: hidden;
  background: #061033;
}

.hc-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hc-news-card__body {
  display: block;
  padding: 12px 14px;
}

.hc-news-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.hc-news-card__title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--hc-text);
}

.hc-news-card__text {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hc-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Pagination ----------------------------------------------------------- */

.hc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hc-pagination__state {
  font-size: 13px;
  color: var(--hc-muted);
}

/* Responsive : jamais de defilement horizontal, tout s empile. --------- */

@media (max-width: 1100px) {
  .hc-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hc-news-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Le visuel passe au-dessus du texte, en bandeau contenu : une carte a la
     une ne doit pas occuper deux ecrans sur telephone. */
  .hc-news-feature .hc-feature__visual {
    order: -1;
    min-height: 0;
    height: 210px;
  }

  .hc-news-hero__art img:first-child {
    display: none;
  }

  .hc-news-hero__art img:last-child {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hc-news-hero {
    min-height: 0;
  }

  .hc-news-hero__tools {
    align-items: stretch;
    flex-direction: column;
  }

  .hc-news-search {
    flex: 1 1 auto;
  }

  .hc-news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-news-card__link {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .hc-pagination {
    flex-direction: column;
  }

  .hc-pagination .hc-btn {
    width: 100%;
  }
}

/* ===================================================================== */
/* Hub Communaute (/communaute)                                          */
/*                                                                       */
/* Meme langage visuel que l accueil et les actualites (.hc-card,        */
/* .hc-btn, .hc-widget, .hc-empty), mais une composition differente :    */
/* portes d entree, grille de categories, listing facon forum et         */
/* colonne de raccourcis.                                                */
/* ===================================================================== */

/* Teintes d icones, partagees par toutes les pastilles de la page. */
.hc-tone--violet { background: rgba(124, 92, 255, .16); color: #b39bff; }
.hc-tone--blue   { background: rgba(37, 132, 216, .16); color: #66b6f5; }
.hc-tone--green  { background: rgba(38, 176, 118, .16); color: #5fd8a4; }
.hc-tone--amber  { background: rgba(224, 160, 62, .16); color: #f0bd6a; }
.hc-tone--pink   { background: rgba(214, 74, 168, .16); color: #f08ed0; }
.hc-tone--red    { background: rgba(216, 66, 82, .16); color: #f0808e; }

/* Marqueur « connexion requise » : un visiteur sait avant de cliquer. */
.hc-lock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border: 1px solid rgba(240, 189, 106, .32);
  border-radius: 999px;
  background: rgba(224, 160, 62, .12);
  font-size: 10.5px;
  font-weight: 600;
  color: #f0bd6a;
  white-space: nowrap;
}

.hc-lock svg {
  width: 12px;
  height: 12px;
}

.hc-lock--inline {
  margin-left: 6px;
}

/* Hero compact --------------------------------------------------------- */

.hc-chero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 270px;
  display: flex;
  align-items: center;
}

.hc-chero__art {
  position: absolute;
  inset: 0;
  display: flex;
}

.hc-chero__art img {
  height: 100%;
  object-fit: cover;
}

.hc-chero__art img:first-child { width: 26%; object-position: center; }
.hc-chero__art img:last-child  { width: 74%; object-position: center; }

.hc-chero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 8, 24, .94) 0%, rgba(1, 8, 24, .80) 40%, rgba(1, 8, 24, .34) 100%),
    linear-gradient(180deg, rgba(1, 8, 24, .12), rgba(1, 8, 24, .66));
}

.hc-chero__inner {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: var(--hc-max);
}

.hc-chero__tagline {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #cfd9ff;
}

.hc-chero__lead {
  max-width: 46ch;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hc-muted);
}

.hc-chero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Trois portes d entree ------------------------------------------------ */

.hc-gateways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.hc-gateway {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  transition: transform .16s ease, border-color .16s ease;
}

.hc-gateway:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, .42);
}

.hc-gateway__icon,
.hc-cat__icon,
.hc-discover__icon,
.hc-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.hc-gateway__icon svg,
.hc-cat__icon svg,
.hc-discover__icon svg,
.hc-why__icon svg {
  width: 20px;
  height: 20px;
}

.hc-gateway__body { display: block; min-width: 0; }

.hc-gateway__title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
}

.hc-gateway__text {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hc-muted);
}

.hc-gateway__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hc-gateway__cta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hc-violet-light);
}

.hc-gateway__arrow,
.hc-cat__arrow,
.hc-discover__arrow {
  width: 16px;
  height: 16px;
  color: var(--hc-dim);
}

.hc-gateways__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--hc-muted);
}

.hc-gateways__note a {
  font-weight: 600;
  color: var(--hc-violet-light);
}

/* Grille principale ---------------------------------------------------- */

.hc-cgrid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 26px;
}

.hc-chead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hc-chead .hc-section-title {
  margin-bottom: 0;
}

/* Categories ----------------------------------------------------------- */

.hc-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hc-cat {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  transition: transform .16s ease, border-color .16s ease;
}

.hc-cat:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, .42);
}

.hc-cat__body { display: block; min-width: 0; }

.hc-cat__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.hc-cat__text {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  color: var(--hc-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hc-cat__count {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hc-text);
}

/* Discussions recentes : listing facon forum --------------------------- */

.hc-threads {
  overflow: hidden;
}

.hc-threads__head,
.hc-thread {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, .95fr);
  align-items: center;
  gap: 12px;
}

.hc-threads__head {
  padding: 11px 16px;
  border-bottom: 1px solid var(--hc-border);
  background: rgba(255, 255, 255, .02);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hc-dim);
}

.hc-threads__list {
  display: block;
}

.hc-threads__list > li + li {
  border-top: 1px solid var(--hc-border);
}

.hc-thread {
  padding: 12px 16px;
  transition: background-color .16s ease;
}

.hc-thread:hover {
  background: rgba(124, 92, 255, .10);
}

.hc-thread__main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hc-thread__avatar {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #061033;
}

.hc-thread__avatar img,
.hc-thread__avatar .hc-media-fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  font-size: 13px;
}

.hc-thread__title {
  display: block;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hc-text);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.hc-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-thread__author,
.hc-thread__time {
  font-size: 12.5px;
  color: var(--hc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-thread__replies {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--hc-muted);
}

.hc-thread__replies svg {
  width: 14px;
  height: 14px;
  color: var(--hc-dim);
}

/* A decouvrir ---------------------------------------------------------- */

.hc-discover {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

.hc-discover__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  padding: 9px 8px;
  border-radius: var(--hc-radius-sm);
  transition: background-color .16s ease;
}

.hc-discover__item:hover {
  background: rgba(124, 92, 255, .12);
}

.hc-discover__body { display: block; min-width: 0; }

.hc-discover__title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.hc-discover__text {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--hc-muted);
}

/* Creations de la communaute ------------------------------------------- */

.hc-creations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.hc-creation {
  display: block;
  overflow: hidden;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  background: var(--hc-card-soft);
  transition: transform .16s ease, border-color .16s ease;
}

.hc-creation:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, .42);
}

/* Les cartes de la galerie n ont pas de vignette : on affiche une pastille
   decorative plutot qu une fausse image. */
.hc-creation__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  background: linear-gradient(140deg, #1d2a6b 0%, #2a1f72 55%, #0f1640 100%);
  font-size: 26px;
  font-weight: 700;
  color: #b9c6ff;
}

.hc-creation__body {
  display: block;
  padding: 9px 10px 10px;
}

.hc-creation__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hc-creation__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--hc-muted);
}

.hc-creation__votes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.hc-creation__votes svg {
  width: 13px;
  height: 13px;
  color: #f0808e;
}

/* Pourquoi rejoindre --------------------------------------------------- */

.hc-why__list {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.hc-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.hc-why__list strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.hc-why__list span span,
.hc-why__list li > span:last-child {
  font-size: 12px;
  line-height: 1.45;
  color: var(--hc-muted);
}

.hc-why__cta {
  width: 100%;
  margin-top: 16px;
}

/* Menu deroulant de la navigation -------------------------------------- */

.hc-nav__group {
  position: relative;
}

.hc-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.hc-nav__caret {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}

.hc-nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  background: var(--hc-header-bg);
  box-shadow: 0 18px 40px rgba(0, 4, 18, .55);
}

.hc-nav__menu[hidden] {
  display: none;
}

.hc-nav__menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hc-muted);
}

.hc-nav__menu a:hover {
  background: rgba(124, 92, 255, .16);
  color: #fff;
}

/* Responsive : tout s empile, la table devient une liste de cartes ------ */

@media (max-width: 1100px) {
  .hc-gateways,
  .hc-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hc-cgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-chero {
    min-height: 0;
  }

  .hc-chero__art img:first-child { display: none; }
  .hc-chero__art img:last-child  { width: 100%; }
}

@media (max-width: 760px) {
  .hc-gateways,
  .hc-cats,
  .hc-creations {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-chero__actions .hc-btn {
    flex: 1 1 100%;
  }

  .hc-chead {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  /* Le tableau devient une carte par discussion : jamais de colonnes
     compressees ni de defilement horizontal. */
  .hc-threads__head {
    display: none;
  }

  .hc-thread {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px 14px;
  }

  .hc-thread__cat:empty {
    display: none;
  }

  .hc-thread__author,
  .hc-thread__replies,
  .hc-thread__time {
    font-size: 12px;
  }

  .hc-thread__author::before {
    content: 'Par ';
    color: var(--hc-dim);
  }
}

/* ===================================================================== */
/* Module Evenements (/evenements)                                       */
/* Memes jetons et memes composants que le reste du site : seule la       */
/* composition change (hero illustre, filtres, liste, compte a rebours). */
/* ===================================================================== */

.hc-ehero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 330px;
  display: flex;
  align-items: center;
}

.hc-ehero__art {
  position: absolute;
  inset: 0;
  display: flex;
}

.hc-ehero__art img {
  height: 100%;
  object-fit: cover;
}

.hc-ehero__art img:first-child { width: 24%; object-position: center; }
.hc-ehero__art img:last-child  { width: 76%; object-position: center; }

.hc-ehero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 8, 24, .95) 0%, rgba(1, 8, 24, .82) 38%, rgba(1, 8, 24, .30) 100%),
    linear-gradient(180deg, rgba(1, 8, 24, .18), rgba(1, 8, 24, .62));
}

.hc-ehero__inner {
  position: relative;
  z-index: 1;
  padding-top: 34px;
  padding-bottom: 34px;
}

.hc-ehero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-violet-light);
}

.hc-ehero__eyebrow svg {
  width: 16px;
  height: 16px;
}

.hc-ehero__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hc-ehero__title em {
  font-style: normal;
  color: var(--hc-violet-light);
}

.hc-ehero__lead {
  max-width: 52ch;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hc-muted);
}

.hc-ehero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Filtres --------------------------------------------------------------- */

.hc-efilters {
  border-bottom: 1px solid var(--hc-border);
  background: rgba(2, 12, 32, .72);
}

.hc-efilters__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.hc-efilters .hc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hc-efilters .hc-tab svg {
  width: 15px;
  height: 15px;
}

/* Grille du hub --------------------------------------------------------- */

.hc-egrid {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.hc-ehead__sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--hc-muted);
}

/* Carte evenement ------------------------------------------------------- */

.hc-events-list {
  display: grid;
  gap: 16px;
}

.hc-event {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  transition: transform .16s ease, border-color .16s ease;
}

.hc-event:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, .42);
}

.hc-event.is-cancelled {
  opacity: .7;
}

.hc-event__media {
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  border-radius: var(--hc-radius-sm);
  background: #061033;
}

.hc-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-event__type {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(3, 10, 28, .82);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hc-event__type svg {
  width: 13px;
  height: 13px;
}

.hc-event__body {
  min-width: 0;
}

.hc-event__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hc-event__when {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hc-muted);
}

.hc-event__when svg {
  width: 14px;
  height: 14px;
  color: var(--hc-violet-light);
}

.hc-event__title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.hc-event__text {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hc-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hc-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.hc-event__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--hc-dim);
}

.hc-event__meta svg {
  width: 14px;
  height: 14px;
}

.hc-event__cta {
  flex: 0 0 auto;
}

/* Compte a rebours ------------------------------------------------------ */

.hc-countdown-card {
  background: linear-gradient(160deg, rgba(80, 41, 252, .20), var(--hc-card) 60%);
}

.hc-countdown__event {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.hc-countdown__name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
}

.hc-countdown__name svg {
  width: 16px;
  height: 16px;
  color: var(--hc-violet-light);
}

.hc-countdown__when {
  font-size: 12px;
  color: var(--hc-muted);
}

.hc-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hc-countdown > div {
  display: grid;
  gap: 2px;
  padding: 10px 4px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  background: rgba(3, 12, 34, .6);
  text-align: center;
}

.hc-countdown strong {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hc-countdown span {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hc-dim);
}

/* `hidden` doit l emporter sur la mise en page du composant. */
.hc-countdown__live[hidden],
.hc-countdown[hidden],
.hc-edetail__feedback[hidden] {
  display: none;
}

.hc-countdown__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(38, 176, 118, .16);
  font-size: 13px;
  font-weight: 600;
  color: #5fd8a4;
}

.hc-countdown__live svg {
  width: 15px;
  height: 15px;
}

.hc-countdown__tz {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--hc-dim);
}

.hc-countdown__cta {
  width: 100%;
  margin-top: 14px;
}

/* Agenda lateral -------------------------------------------------------- */

.hc-agenda {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}

.hc-agenda__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--hc-radius-sm);
  transition: background-color .16s ease;
}

.hc-agenda__item:hover {
  background: rgba(124, 92, 255, .12);
}

.hc-agenda__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.hc-agenda__icon svg {
  width: 18px;
  height: 18px;
}

.hc-agenda__body { display: block; min-width: 0; }

.hc-agenda__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.hc-agenda__when {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--hc-muted);
}

/* Pourquoi participer --------------------------------------------------- */

.hc-why-row {
  margin-top: 30px;
}

.hc-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hc-why-tile {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.hc-why-tile strong {
  font-size: 14px;
  font-weight: 700;
}

.hc-why-tile > span:last-child {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--hc-muted);
}

/* Page detail ----------------------------------------------------------- */

.hc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--hc-dim);
}

.hc-breadcrumb a {
  color: var(--hc-muted);
}

.hc-breadcrumb a:hover {
  color: #fff;
}

.hc-edetail {
  overflow: hidden;
}

.hc-edetail__media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #061033;
}

.hc-edetail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-edetail__media .hc-media-fallback {
  font-size: 54px;
}

.hc-edetail__body {
  padding: 22px 24px 24px;
}

.hc-edetail__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hc-edetail__title {
  margin-top: 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.hc-edetail__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hc-border);
}

.hc-edetail__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--hc-muted);
}

.hc-edetail__facts svg {
  width: 15px;
  height: 15px;
  color: var(--hc-violet-light);
}

.hc-edetail__lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #d7deff;
}

.hc-edetail__content {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hc-muted);
}

.hc-edetail__content :where(p, ul, ol) {
  margin: 0 0 12px;
}

.hc-edetail__content :where(ul, ol) {
  padding-left: 20px;
  list-style: revert;
}

.hc-edetail__content :where(a) {
  color: var(--hc-violet-light);
  text-decoration: underline;
}

.hc-eresult {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-sm);
  background: rgba(38, 176, 118, .08);
}

.hc-eresult__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

.hc-eresult__title svg {
  width: 17px;
  height: 17px;
  color: #5fd8a4;
}

.hc-edetail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hc-border);
}

.hc-edetail__feedback {
  flex: 1 1 100%;
  margin: 0;
  font-size: 13px;
  color: #5fd8a4;
}

.hc-edetail__feedback.is-error {
  color: #f0808e;
}

.hc-edetail__actions .hc-btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

/* Article associe ------------------------------------------------------- */

.hc-earticle__link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  margin-top: 6px;
}

.hc-earticle__media {
  display: block;
  height: 86px;
  overflow: hidden;
  border-radius: var(--hc-radius-sm);
  background: #061033;
}

.hc-earticle__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-earticle__body { display: block; min-width: 0; }

.hc-earticle__title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}

.hc-earticle__text {
  display: -webkit-box;
  margin: 4px 0 6px;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hc-muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Encart evenement sur une page article --------------------------------- */

.hc-article-event {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(124, 92, 255, .32);
  border-radius: var(--hc-radius);
  background: linear-gradient(140deg, rgba(80, 41, 252, .18), rgba(0, 19, 51, .9));
}

.hc-article-event__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(124, 92, 255, .18);
  color: #b39bff;
}

.hc-article-event__icon svg { width: 20px; height: 20px; }

.hc-article-event__body { flex: 1 1 220px; min-width: 0; }

.hc-article-event__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.hc-article-event__when {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #92a2c8;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .hc-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hc-egrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-ehero {
    min-height: 0;
  }

  .hc-ehero__art img:first-child { display: none; }
  .hc-ehero__art img:last-child  { width: 100%; }

  .hc-event {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .hc-event__cta {
    grid-column: 1 / -1;
  }

  .hc-event__cta .hc-btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  /* Ordre mobile demande : hero, filtres, liste, compte a rebours, agenda.
     `display: contents` sort les cartes de la colonne laterale pour qu elles
     s intercalent elles-memes dans la pile. */
  .hc-egrid > aside {
    display: contents;
  }

  .hc-egrid > aside > * {
    margin-bottom: 18px;
  }

  /* Tout s empile : image pleine largeur, puis texte, puis bouton.
     Aucun defilement horizontal, aucun rail. */
  .hc-event {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hc-event__media {
    height: 170px;
  }

  .hc-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-edetail__media {
    height: 190px;
  }

  .hc-edetail__body {
    padding: 18px 16px 20px;
  }

  .hc-edetail__actions .hc-btn {
    width: 100%;
  }

  .hc-earticle__link {
    grid-template-columns: minmax(0, 1fr);
  }

  .hc-earticle__media {
    height: 140px;
  }

  /* Le compte a rebours garde ses quatre cases, simplement plus petites. */
  .hc-countdown strong {
    font-size: 18px;
  }

  .hc-countdown > div {
    padding: 8px 2px;
  }
}
