/*
 * Fixes made after the move off Webflow. french-alumni.webflow.css is left as
 * exported, so every deliberate change to it lives here, loaded after it.
 * Design review of 29 Sep 2026; see docs/PRODUCT.md.
 */

/* Contrast. White or off-white text on the brand yellow is 1.7:1, well
   under the 4.5:1 AA minimum. The brand navy on the same yellow is about 9:1. */
.button-fa.header,
.filter-button {
  color: var(--blue);
}

/* The active filter and Reset keep their dark backgrounds, so they keep
   light text. */
.filter-button.reset,
.filter-button.mixitup-control-active {
  color: #fff;
}

/* Keyboard users can jump past the header straight to the page content. */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 1100;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: var(--blue);
  color: #fff;
  font-family: Hind, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

/* A visible focus ring everywhere; Webflow's buttons suppress the default. */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* /events with no upcoming event: a pointer to the city groups instead of a
   blank box. */
.fa-next-empty {
  padding: 8px 0 0;
  text-align: center;
}

.fa-next-empty .div-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.fa-next-empty .div-center .button-fa {
  margin: 0;
}

.fa-next-empty__lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
}

/* ---- Typography ---------------------------------------------------------
   Justified text left rivers of space between words, worst on phones, and
   body lines ran to 120-200 characters. Left-aligned, capped near 70
   characters, with more generous leading. */
.c-section .paragraphe-fa,
.c-section .rich-paragraphe-fa {
  text-align: left;
  line-height: 1.55;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.rich-paragraphe-fa p,
.rich-paragraphe-fa li {
  line-height: 1.55;
}

/* The hero subline was set at 24px on 28px (1.17). */
.e-paragraph_hero {
  line-height: 1.4;
}

/* Footer: the "follow us" note was justified, and the land acknowledgement
   ran the full 1200px (~200 characters a line) in 12px grey italic. */
.footer .paragraphe-fa {
  text-align: center;
  line-height: 1.5;
}

.e-container1200.is-ackno .paragraphe-fa {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  line-height: 1.5;
}

/* Headings are written in sentence case in the HTML; capitalize turned
   "Run by volunteers, for the community" into Title Case. */
.h2-fa {
  text-transform: none;
  text-wrap: balance;
}

/* ---- Hero photos --------------------------------------------------------
   The heroes were stock photos (a mountain lake, hands-in, a phone) under
   text that relied on text-shadow alone. They now show the community's own
   photos, with a navy scrim so white text holds its contrast on any photo.
   The inset shadow paints above the background and below the content. */
.c-section_first.home {
  background-image: url('../images/groupe2-2.jpg');
  background-position: 50% 40%;
}

.section-first.event {
  background-image: url('../assets/cms/6151afa399f2c10dc886c64f_16-2.jpg');
  background-position: 50% 45%;
}

.section-first.about {
  background-image: url('../images/20180616_143345-2.jpg');
  background-position: 50% 40%;
}

.c-section_first.home,
.section-first.about,
.section-first.cities,
.section-first.event-one {
  box-shadow: inset 0 0 0 100vmax rgba(27, 21, 72, 0.45);
}

/* A navy button disappears into the navy scrim, so the About hero's call to
   action matches the homepage's yellow one. */
.section-first.about .button-fa {
  background-color: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue);
  font-weight: 600;
}

/* The homepage photo band was a stock café shot; it is now a French Sunrise
   on the terrace (June 2021). */
.div-block-pic.fa-home-band {
  background-image: url('../assets/cms/60dfbe6c0bb6adc4208aed7c_IMG_7901-2.JPG');
  background-position: 50% 50%;
}

/* ---- Past-event cards ---------------------------------------------------
   The whole card is now the link. */
.fa-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 200ms cubic-bezier(0.25, 1, 0.5, 1), transform 200ms cubic-bezier(0.25, 1, 0.5, 1);
}

.fa-card:hover {
  box-shadow: 1px 4px 8px -2px rgba(27, 21, 72, 0.5);
  transform: translateY(-2px);
}

/* A card without a photo shows its series pictogram on navy, not a blank. */
.fa-card-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background-color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .fa-card {
    transition: none;
  }

  .fa-card:hover {
    transform: none;
  }
}
