/* Page Communauté : uniquement ce que style.css ne fournit pas */

.page-hero h1 span {
  display: inline;
}

.c-numbers {
  padding-block: 0 clamp(1rem, 3vw, 2rem);
}

.c-strip {
  display: grid;
  gap: 1.4rem;
  padding: 1.8rem clamp(1.2rem, 4vw, 2.6rem);
}

@media (min-width: 700px) {
  .c-strip {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
  }
}

.c-feature {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  height: 100%;
  padding: 1.6rem 1.5rem 1.7rem;
}

.c-feature h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.c-feature p {
  color: var(--dim);
  font-size: 0.95rem;
}

.c-news {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.c-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.7rem;
}

.c-news-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 0 100%, 0 11px);
  background: #120d26;
}

.c-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.glow:hover .c-news-media img {
  transform: scale(1.06);
}

.c-news-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  padding: 1rem 0.5rem 0.5rem;
}

.c-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.c-news-meta time {
  font-size: 0.76rem;
  color: var(--mute);
}

.c-news-body h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.c-news-text {
  color: var(--dim);
  font-size: 0.93rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.c-news-body .link-arrow {
  align-self: flex-start;
  margin-top: auto;
}

.c-join {
  display: grid;
  justify-items: center;
  gap: 1.3rem;
  padding: clamp(2.2rem, 6vw, 3.6rem) 1.5rem;
  text-align: center;
}

.c-join-crown {
  width: 3.4rem;
  height: 2.2rem;
  color: var(--mag-hi);
  filter: drop-shadow(0 0 16px rgba(255, 43, 214, 0.6));
}

.empty:not(:has(a))::before {
  content: "Aucune actualité publiée pour le moment.";
}
