/* MODULO 15D — Gastronomia Portuguesa premium (Empório Portugal) */

body.ep-art-gastronomia {
  --ep-gastro-green: #063d31;
  --ep-gastro-wine: #6f1d2f;
  --ep-gastro-gold: #c9a227;
  --ep-gastro-cream: #fffaf2;
  --ep-gastro-ink: rgba(11, 47, 36, 0.92);
  --ep-gastro-muted: rgba(11, 47, 36, 0.72);
  background: #f7f4ee;
}

/* —— Hero premium —— */
body.ep-art-gastronomia .ep-gastro-hero--premium {
  background: linear-gradient(165deg, #0b2f24 0%, #063d31 48%, #0a3d32 100%);
  color: #fff;
  padding: 1.15rem 0 0;
  margin-bottom: 0;
}

body.ep-art-gastronomia .ep-gastro-hero--premium .page-hero__inner {
  max-width: min(100% - 2rem, 1140px);
  margin: 0 auto;
  padding: 0 0 1.35rem;
}

body.ep-art-gastronomia .ep-gastro-hero--premium .breadcrumb {
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

body.ep-art-gastronomia .ep-gastro-hero--premium .breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
}

body.ep-art-gastronomia .ep-gastro-hero--premium .eyebrow {
  color: var(--ep-gastro-gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}

body.ep-art-gastronomia .ep-gastro-hero--premium h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
  max-width: 20ch;
  color: #fff;
}

body.ep-art-gastronomia .ep-gastro-hero--premium .ep-gastro-hero__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

body.ep-art-gastronomia .ep-gastro-hero--premium .ep-gastro-hero__grid {
  display: grid;
  gap: 1.15rem;
  align-items: end;
}

body.ep-art-gastronomia .ep-gastro-hero__figure {
  margin: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.ep-art-gastronomia .ep-gastro-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

body.ep-art-gastronomia .page-hero .ep-gastro-hero__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ep-gastro-green);
  background: var(--ep-gastro-gold);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.ep-art-gastronomia .page-hero .ep-gastro-hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* —— Memória —— */
body.ep-art-gastronomia .ep-gastro-memory--premium {
  padding: 1.35rem 1.2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(6, 61, 49, 0.08);
  box-shadow: 0 4px 22px rgba(6, 61, 49, 0.06);
}

body.ep-art-gastronomia .ep-gastro-memory__grid {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

body.ep-art-gastronomia .ep-gastro-memory__figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(6, 61, 49, 0.1);
  box-shadow: 0 8px 28px rgba(6, 61, 49, 0.08);
}

body.ep-art-gastronomia .ep-gastro-memory__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* —— Caminhos (4 cards) —— */
body.ep-art-gastronomia .ep-gastro-paths--premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

body.ep-art-gastronomia .ep-gastro-path--premium {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.ep-art-gastronomia .ep-gastro-path--premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

body.ep-art-gastronomia .ep-gastro-path__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

body.ep-art-gastronomia .ep-gastro-path__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.ep-art-gastronomia .ep-gastro-path--premium .ep-ed-card__body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

body.ep-art-gastronomia .ep-gastro-path--premium .ep-ed-card__title {
  font-size: 1rem;
  line-height: 1.25;
  margin: 0.25rem 0 0.35rem;
}

body.ep-art-gastronomia .ep-gastro-path--premium .ep-ed-card__text {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
}

body.ep-art-gastronomia .ep-gastro-path--premium .ep-gastro-path__cta {
  margin-top: 0.55rem;
  align-self: flex-start;
}

/* —— Ingredientes —— */
body.ep-art-gastronomia .ep-gastro-ingredients--premium {
  padding: 1.35rem 1.2rem;
  border-radius: 14px;
  background: var(--ep-gastro-cream);
  border: 1px solid rgba(6, 61, 49, 0.08);
}

body.ep-art-gastronomia .ep-gastro-ingredients__layout {
  display: grid;
  gap: 1.15rem;
}

body.ep-art-gastronomia .ep-gastro-ingredients__intro {
  display: grid;
  gap: 0.65rem;
}

body.ep-art-gastronomia .ep-gastro-ingredients__figure {
  margin: 0.35rem 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(6, 61, 49, 0.1);
  box-shadow: 0 6px 24px rgba(6, 61, 49, 0.07);
}

body.ep-art-gastronomia .ep-gastro-ingredients__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

body.ep-art-gastronomia .ep-gastro-ingredients--premium .ep-gastro-ingredients {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
}

body.ep-art-gastronomia .ep-gastro-root {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

body.ep-art-gastronomia .ep-gastro-root .ep-ed-band {
  margin-bottom: 1.15rem;
}

/* —— Responsive —— */
@media (min-width: 768px) {
  body.ep-art-gastronomia .ep-gastro-hero--premium .ep-gastro-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 46%);
    gap: 1.5rem;
  }

  body.ep-art-gastronomia .ep-gastro-memory__grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
    gap: 1.5rem;
  }

  body.ep-art-gastronomia .ep-gastro-ingredients__layout {
    grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  body.ep-art-gastronomia .ep-gastro-paths--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.ep-art-gastronomia .ep-gastro-paths--premium {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }

  body.ep-art-gastronomia .ep-gastro-ingredients--premium .ep-gastro-ingredients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.ep-art-gastronomia .ep-gastro-paths--premium {
    grid-template-columns: 1fr;
  }

  body.ep-art-gastronomia .ep-gastro-ingredients--premium .ep-gastro-ingredients {
    grid-template-columns: 1fr;
  }
}
