/**
 * "Notre conviction" page (template: archery-conviction-template.php).
 *
 * Loaded only on pages using that template, on top of css/generique.css (see
 * inc/enqueue.php). Like "Notre approche" (css/approche.css), the prototype
 * (demo/notre-conviction (1).html) is built from the "Page modèle" blocks, and
 * generique.css already carries all of them, big-screen scaling included. This
 * file only holds what the page does differently, scoped under `.cnv`:
 *
 * - three challenge cards instead of four (.who);
 * - the buttons closing the last .wys block get the prototype's top margin
 *   (an inline style in the demo).
 *
 * The prototype's standalone-header hacks (.ui-banner / .ui-footer overrides,
 * sticky Menu clone) are dropped, as on every inner page: the theme's inner
 * banner (template-parts/inner-banner.php) renders that row.
 */

/* ============================================================
   Three challenges
   ============================================================ */
.cnv .who {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   Aller plus loin
   ============================================================ */
.cnv .wys .lh-btns {
  margin-top: 26px;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Re-stated because the scoped three-column rule above outranks
   generique.css's own 1050px step. At 600px generique.css turns .who into a
   flex carousel, which ignores grid-template-columns, so nothing is needed
   below. */
@media (max-width: 1050px) {
  .cnv .who {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Big screens: px → vw at the 1440px design width, like generique.css. */
@media (min-width: 1700px) {
  .cnv .wys .lh-btns {
    margin-top: 1.80566vw;
  }
}
