/* Home discoveries: 3 cards on wide screens and phones, 4 in the 2-column range. */
.discoveries-home-grid > .discoveries-home-card:nth-child(n + 4) {
  display: none;
}

@media (min-width: 761px) and (max-width: 1060px) {
  .discoveries-home-grid > .discoveries-home-card:nth-child(4) {
    display: block;
  }
}

/* Article archives: one chronological source, split into two natural-height columns by JS. */
body.index2-page.page-articles .articles-flow {
  display: block !important;
}
body.index2-page.page-articles .articles-column-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 28px);
}
body.index2-page.page-articles .articles-column {
  display: grid;
  align-content: start;
  gap: clamp(14px, 1.6vw, 22px);
  min-width: 0;
}
body.index2-page.page-articles .articles-column > .article-grid-card {
  margin: 0 !important;
  height: auto !important;
}
/* Article explicitement lié à l'étape affichée sur la carte. */
body.index2-page.index2-home .stop-card {
  min-height: 0;
  height: auto;
}

body.index2-page .stop-article-link {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 14px;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-strong, #fff) 76%, transparent);
  color: var(--ink);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.index2-page .stop-article-link:hover,
body.index2-page .stop-article-link:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ink) 11%, transparent);
  outline: none;
}

body.index2-page .stop-article-image {
  display: block;
  width: 86px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-strong, #fff));
}

body.index2-page .stop-article-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

body.index2-page .stop-article-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font: 750 .86rem/1.25 var(--font-ui);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.index2-page .stop-article-copy small {
  color: var(--ink-soft);
  font: 700 .64rem/1.25 var(--font-ui);
  letter-spacing: .055em;
  text-transform: uppercase;
}

body.index2-page .stop-article-arrow {
  color: var(--accent);
  font: 800 1.25rem/1 var(--font-ui);
}

@media (max-width: 640px) {
  body.index2-page .stop-article-link {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 12px;
    padding: 9px;
  }

  body.index2-page .stop-article-image {
    width: 72px;
    height: 52px;
  }
}
.articles-load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 36px;
}
.articles-load-more-wrap[hidden] { display: none !important; }
.articles-load-more-btn {
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--line, currentColor);
  border-radius: 999px;
  background: var(--accent, #2f6bff);
  color: var(--accent-ink, #fff);
  font: 800 0.82rem/1 Sora, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 760px) {
  body.index2-page.page-articles .articles-flow {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
  }
}
