/**
 * Ticket 6.2.1-A — Orientation haut de page catégorie
 * Scope strict : body.category uniquement.
 * Objectif CRO : rendre explicite univers → sous-catégories (audit Kyeo 6.2.1 p.20).
 */

body.category .category-info__title {
  font-size: 26px;
  line-height: 1.15;
}

body.category .category-info__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--prozon-accent-color);
  margin-top: 10px;
}

body.category .category-info .max-w-prose.category-info__description {
  font-size: 14px;
  color: #fff;
}

body.category .subcat-lead {
  font-size: 18px;
  color: var(--prozon-black-color);
  margin: 0 0 14px;
  text-transform: none;
}

/* Hiérarchie secondaire — Populaires, leaf head (un cran sous subcat-lead) */
body.category .category-head-secondary__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--prozon-black-color);
  opacity: 0.85;
  margin: 0 0 4px;
  text-transform: none;
}

body.category .category-head-secondary__lead {
  font-size: 13px;
  color: var(--prozon-black-color);
  opacity: 0.6;
  margin: 0 0 12px;
}

body.category .category-header__subcategories {
  padding-top: 18px;
}

@media (min-width: 768px) {
  /* 2/3 du conteneur hero (lg:max-w-md ≈ 1010px → ~673px) */
  body.category .category-info__description,
  body.category .category-info .max-w-prose.category-info__description {
    max-width: 66.666%;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body.category .category-info__title {
    font-size: 22px;
    line-height: 1.2;
  }

  body.category .category-info__description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
  }

  body.category .subcat-lead {
    font-size: 17px;
    margin-bottom: 12px;
  }

  body.category .category-head-secondary__title {
    font-size: 14px;
  }

  body.category .category-head-secondary__lead {
    font-size: 12px;
  }
}
