/* =========================================================
   VIVER PLENAMENTE — TIPOGRAFIA DE CATEGORIAS / v0.1.30
   Escopo: somente arquivos de categoria do menu principal.
   Não altera homepage, páginas institucionais, autoria ou posts.
   ========================================================= */

body.category .page-title,
body.category .archive-title {
  font-size: clamp(36px, 2.7vw, 42px);
  line-height: 1.12;
}

body.category .archive-description,
body.category .taxonomy-description,
body.category .page-description,
body.category .archive-description p,
body.category .taxonomy-description p,
body.category .page-description p {
  font-size: 17px;
  line-height: 1.65;
}

body.category .loop-entry .entry-title,
body.category .loop-entry h2.entry-title,
body.category .post-archive .entry-title {
  font-size: clamp(21px, 1.65vw, 24px);
  line-height: 1.30;
}

body.category .loop-entry .entry-summary,
body.category .loop-entry .entry-summary p,
body.category .post-archive .entry-summary,
body.category .post-archive .entry-summary p {
  font-size: 16px;
  line-height: 1.58;
}

body.category .loop-entry .entry-taxonomies,
body.category .post-archive .entry-taxonomies {
  font-size: 12px;
}

body.category .loop-entry .post-more-link,
body.category .loop-entry .more-link,
body.category .post-archive .post-more-link,
body.category .post-archive .more-link {
  font-size: 12.5px;
}

@media (max-width: 767px) {
  body.category .page-title,
  body.category .archive-title {
    font-size: clamp(32px, 9vw, 36px);
  }

  body.category .archive-description,
  body.category .taxonomy-description,
  body.category .page-description,
  body.category .archive-description p,
  body.category .taxonomy-description p,
  body.category .page-description p {
    font-size: 16.5px;
  }

  body.category .loop-entry .entry-title,
  body.category .loop-entry h2.entry-title,
  body.category .post-archive .entry-title {
    font-size: 21px;
  }
}

/* =========================================================
   VIVER PLENAMENTE — CABEÇALHO EDITORIAL DE CATEGORIAS / v0.1.36
   Escopo: somente o bloco superior dos arquivos de categoria.
   Desktop: 40% breadcrumb+título / 60% descrição.
   Tablet/mobile: retorna a uma única coluna.
   ========================================================= */
@media (min-width: 1024px) {
  body.category .entry-hero .entry-header,
  body.category .page-header,
  body.category .archive-header {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-areas:
      "vp-crumb vp-desc"
      "vp-title vp-desc";
    column-gap: clamp(48px, 5vw, 76px);
    row-gap: 16px;
    align-items: start;
  }

  body.category .entry-hero .entry-header > .kadence-breadcrumbs,
  body.category .entry-hero .entry-header > nav,
  body.category .page-header > .kadence-breadcrumbs,
  body.category .page-header > nav,
  body.category .archive-header > .kadence-breadcrumbs,
  body.category .archive-header > nav {
    grid-area: vp-crumb;
    margin: 0;
    align-self: end;
  }

  body.category .entry-hero .entry-header > .entry-title,
  body.category .entry-hero .entry-header > .page-title,
  body.category .entry-hero .entry-header > .archive-title,
  body.category .page-header > .entry-title,
  body.category .page-header > .page-title,
  body.category .page-header > .archive-title,
  body.category .archive-header > .entry-title,
  body.category .archive-header > .page-title,
  body.category .archive-header > .archive-title {
    grid-area: vp-title;
    margin: 0;
    max-width: 100%;
  }

  body.category .entry-hero .entry-header > .archive-description,
  body.category .entry-hero .entry-header > .taxonomy-description,
  body.category .entry-hero .entry-header > .page-description,
  body.category .page-header > .archive-description,
  body.category .page-header > .taxonomy-description,
  body.category .page-header > .page-description,
  body.category .archive-header > .archive-description,
  body.category .archive-header > .taxonomy-description,
  body.category .archive-header > .page-description {
    grid-area: vp-desc;
    width: 100%;
    max-width: 620px;
    margin: 0;
    justify-self: start;
    align-self: center;
  }

  body.category .entry-hero .entry-header > .archive-description p,
  body.category .entry-hero .entry-header > .taxonomy-description p,
  body.category .entry-hero .entry-header > .page-description p,
  body.category .page-header > .archive-description p,
  body.category .page-header > .taxonomy-description p,
  body.category .page-header > .page-description p,
  body.category .archive-header > .archive-description p,
  body.category .archive-header > .taxonomy-description p,
  body.category .archive-header > .page-description p {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 620px;
  }
}

@media (max-width: 1023px) {
  body.category .entry-hero .entry-header,
  body.category .page-header,
  body.category .archive-header {
    display: block;
  }

  body.category .archive-description,
  body.category .taxonomy-description,
  body.category .page-description {
    max-width: 760px;
  }
}


/* =========================================================
   VIVER PLENAMENTE — INTRODUÇÃO DOS HUBS / v0.1.43
   Escopo: apenas Longevidade, Alimentação, Movimento,
   Sono & Mente e Ciência & Futuro.
   ========================================================= */
body.category .vp-category-hub-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: clamp(44px, 5vw, 76px);
  padding: clamp(42px, 5vw, 68px) 0;
  margin: 0 0 clamp(34px, 4vw, 54px);
  border-bottom: 1px solid #d9e2df;
  color: #44515a;
}

body.category .vp-category-hub-copy {
  max-width: 720px;
}

body.category .vp-category-hub-copy p,
body.category .vp-category-hub-find p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 1.05em;
}

body.category .vp-category-hub-copy p:last-child,
body.category .vp-category-hub-find p:last-child {
  margin-bottom: 0;
}

body.category .vp-category-hub-find {
  max-width: 420px;
  padding-top: 2px;
}

body.category .vp-category-hub-find .vp-category-hub-kicker {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #638579;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  body.category .vp-category-hub-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 0 38px;
  }

  body.category .vp-category-hub-copy,
  body.category .vp-category-hub-find {
    max-width: 760px;
  }
}

@media (max-width: 767px) {
  body.category .vp-category-hub-copy p,
  body.category .vp-category-hub-find p {
    font-size: 16.5px;
    line-height: 1.68;
  }
}
