/*! Empório Portugal — Home PT hard reset (2026-09-08)
   Escopo: body.ep-home apenas — temas, banner institucional, clássicos.
   Não altera hero/capa, header, footer, EN/ES. */

/* ——— BLOCO C: Explore Portugal por temas ——— */
body.ep-home .ep-home-topics[data-ep-home-section="temas"] .ep-home-topic__visual {
  position: relative !important;
  aspect-ratio: 16 / 10 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #14261f !important;
}

body.ep-home .ep-home-topics[data-ep-home-section="temas"] .ep-home-topic__visual::after {
  display: none !important;
}

body.ep-home .ep-home-topics[data-ep-home-section="temas"] .ep-home-topic__visual img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}

/* ——— BLOCO C: Banner institucional (sem esticar) ——— */
body.ep-home .eph-brand-banner__frame {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.ep-home .eph-brand-banner__img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* ——— BLOCO C: Clássicos à mesa portuguesa ——— */
body.ep-home .ep-home-recipes-featured .recipes-grid .recipe-card {
  overflow: hidden !important;
}

body.ep-home .ep-home-recipes-featured .recipes-grid .recipe-card > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #efe2c9 !important;
}

@media (max-width: 760px) {
  body.ep-home .ep-home-topics[data-ep-home-section="temas"] .ep-home-topic__visual {
    aspect-ratio: 16 / 10 !important;
  }

  body.ep-home .ep-home-recipes-featured .recipes-grid .recipe-card > img {
    aspect-ratio: 4 / 3 !important;
  }
}
