/* DSN-Z4 — hero de l'accueil : H1 unique rendu par le theme + titre du
   module angarhomecat en <p> (override theme). Tokens uniquement,
   aucun !important, aucune couleur en dur. */

/* H1 unique de l'accueil : ligne kicker visible a toutes les largeurs. */
body.page-index .euray-home-h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 4px;
  padding: 0;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.page-index .euray-home-h1::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 3px;
  border-radius: 4px;
  background: var(--brand-accent);
}

/* Logo en <div> sur l'accueil : meme boite que l'ancien <h1>. */
#_desktop_logo .euray-logo-wrap {
  line-height: 1;
}

/* Titre du hero module : meme rendu que l'ancien <h2> (at_homecat_v9.css). */
#home_categories .homecat-heading p.homecat-title {
  max-width: 680px;
  margin: 0;
  color: var(--homecat-ink, var(--brand-text));
  font-size: clamp(29px, 3.2vw, 43px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-transform: none;
}

@media (max-width: 991px) {
  #home_categories .homecat-heading p.homecat-title {
    font-size: 31px;
  }
}

@media (max-width: 600px) {
  #home_categories .homecat-heading p.homecat-title {
    font-size: 26px;
    line-height: 1.08;
  }
}

/* Mobile (<= 767 px) : meme rendu que l'ancien <h2> du theme (28 px). */
@media (max-width: 767px) {
  body.page-index .euray-home-h1 {
    margin: 14px 0 2px;
  }

  body.page-index #home_categories .homecat-heading p.homecat-title {
    color: var(--brand-text);
    font-size: 28px;
    line-height: 1.16;
    letter-spacing: -.8px;
  }

  /* Ancien .euray-mobile-home__action h1 devenu h2 (regle d'origine inchangee). */
  .euray-mobile-home__action h2 {
    margin: 0;
    color: var(--brand-text);
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -1px;
    font-weight: 760;
  }
}
