/* ===========================================================================
   Página RECETAS + plantilla de RECETA individual (maqueta 7) — Registro #019
   Se carga solo en la página "recetas" y en las entradas de la categoría Recetas.
   Lo que cambies en la pestaña "Estilo" de Elementor tiene prioridad.
   =========================================================================== */
:root { --adr-green-900: #0b3d2c; --adr-green-700: #005c39; --adr-green-500: #00874a; --adr-green-100: #eaf7ec; --adr-text: #4a5a55; }

[data-elementor-type="wp-page"], [data-elementor-type="single-post"] { background: #f5f9f6; font-family: "Muli", sans-serif; }

.adr-section { padding-top: 56px !important; padding-bottom: 56px !important; }
@media (max-width: 767px) { .adr-section { padding: 36px 16px !important; } }

.adr-section-title .elementor-heading-title { color: var(--adr-green-700); font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; text-align: center; }
.adr-section-text { color: var(--adr-text); font-size: 16px; line-height: 1.6; text-align: center; }
.adr-section-text p { margin: 0; }

/* Título con líneas a los lados ("— ¿Qué preparamos hoy? —") en escritorio. */
@media (min-width: 768px) {
  .adr-intro .adr-section-title .elementor-heading-title { display: flex; align-items: center; justify-content: center; gap: 24px; }
  .adr-intro .adr-section-title .elementor-heading-title::before,
  .adr-intro .adr-section-title .elementor-heading-title::after { content: ""; width: 70px; height: 1px; background: #b9d3c2; }
}
.adr-intro { --gap: 8px 8px; --row-gap: 8px; --column-gap: 8px; gap: 8px; margin-bottom: 26px; }

/* ---------- Banner ---------- */
.adr-hero { position: relative; overflow: hidden; }
.adr-hero-content { max-width: 560px; margin-left: auto; padding: 40px 0; --gap: 10px 10px; --row-gap: 10px; gap: 10px; }
.adr-hero-title .elementor-heading-title { color: var(--adr-green-700); font-size: clamp(54px, 6.5vw, 92px); font-weight: 800; font-style: italic; letter-spacing: -.04em; line-height: .95; }
.adr-hero-title .elementor-heading-title span { display: block; margin-top: 8px; color: var(--adr-green-900); font-size: clamp(22px, 2.4vw, 32px); font-style: normal; letter-spacing: -.01em; line-height: 1.15; }
.adr-hero-text { color: #2c4a40; font-size: 17px; }
@media (max-width: 767px) {
  .adr-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 45%, rgba(255,255,255,0) 75%); }
  .adr-hero > .e-con-inner, .adr-hero-content { position: relative; z-index: 1; }
  .adr-hero-content { margin: 0; padding: 200px 16px 28px; }
}

/* ---------- Banda de productos ---------- */
.adr-cta-section { padding-top: 24px !important; padding-bottom: 24px !important; }
.adr-cta { position: relative; overflow: hidden; border-radius: 0; }
.adr-cta::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, #004d2f 0%, rgba(0, 92, 57, .94) 42%, rgba(0, 92, 57, .35) 62%, rgba(0, 92, 57, 0) 78%); }
.adr-cta > .e-con-inner, .adr-cta-copy { position: relative; z-index: 1; }
.adr-cta-copy { max-width: 560px; padding: 48px 0; --gap: 12px 12px; --row-gap: 12px; gap: 12px; }
.adr-cta-title .elementor-heading-title { color: #fff; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.15; }
.adr-cta-text { color: rgba(255,255,255,.92); font-size: 16px; }
.adr-btn-white .elementor-button { padding: 14px 26px; border-radius: 8px; background: #fff; color: var(--adr-green-700); font-family: "Muli", sans-serif; font-size: 15px; font-weight: 800; }
.adr-btn-white .elementor-button:hover { background: var(--adr-green-100); }
.adr-btn-white .elementor-button svg, .adr-btn-green .elementor-button svg { fill: currentColor; }
@media (max-width: 767px) {
  .adr-cta::before { background: linear-gradient(0deg, #004d2f 0%, rgba(0, 92, 57, .92) 60%, rgba(0, 92, 57, .4) 100%); }
  .adr-cta-copy { padding: 140px 18px 32px; }
}

/* ---------- Cierre ---------- */
.adr-closing { --gap: 14px 14px; --row-gap: 14px; gap: 14px; align-items: center; background: var(--adr-green-100); }
.adr-closing .adr-section-text { max-width: 620px; }
.adr-btn-green .elementor-button { padding: 14px 34px; border-radius: 8px; background: #0b5d3a; color: #fff; font-family: "Muli", sans-serif; font-size: 15px; font-weight: 800; }
.adr-btn-green .elementor-button:hover { background: var(--adr-green-500); }

/* ===========================================================================
   Plantilla de receta individual
   =========================================================================== */
.adrs-hero { padding-top: 48px !important; padding-bottom: 32px !important; --gap: 40px 40px; --row-gap: 40px; --column-gap: 40px; gap: 40px; align-items: center; }
.adrs-hero-copy { flex: 1 1 50%; --gap: 14px 14px; --row-gap: 14px; gap: 14px; }
.adrs-hero-media { flex: 1 1 50%; }
.adrs-title .elementor-heading-title { color: var(--adr-green-700); font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.adrs-excerpt, .adrs-excerpt p { margin: 0; color: var(--adr-text); font-size: 18px; line-height: 1.55; }
.adrs-image img { width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; object-fit: cover; box-shadow: 0 16px 40px rgba(0, 62, 39, .12); }

.adrs-body { padding-top: 16px !important; padding-bottom: 48px !important; --gap: 36px 36px; --row-gap: 36px; --column-gap: 36px; gap: 36px; align-items: flex-start; }
.adrs-aside { flex: 0 0 360px; max-width: 360px; --gap: 20px 20px; --row-gap: 20px; gap: 20px; }
.adrs-main { flex: 1 1 auto; min-width: 0; --gap: 28px 28px; --row-gap: 28px; gap: 28px; }
@media (min-width: 1025px) { .adrs-aside { position: sticky; top: 110px; } }
.adrs-content { color: var(--adr-text); font-size: 17px; line-height: 1.7; }
.adrs-content p { margin: 0 0 14px; }

@media (max-width: 1024px) {
  .adrs-hero, .adrs-body { --flex-direction: column; flex-direction: column !important; }
  .adrs-aside { flex: 1 1 auto; max-width: none; width: 100%; }
}
@media (max-width: 767px) {
  .adrs-hero { padding: 28px 16px 16px !important; }
  .adrs-body { padding: 8px 16px 36px !important; }
  .adrs-hero-media { order: -1; }
}
.adrs-related .adr-section-title { margin-bottom: 24px; }

/* ---------- Ajustes tras la revisión visual ---------- */
/* Banner: el texto empieza a la derecha de la botella. */
@media (min-width: 768px) { .adr-hero-content { max-width: 470px; } }
/* Cierre: todo centrado (el contenedor "boxed" alinea dentro de .e-con-inner). */
.adr-closing > .e-con-inner { --align-items: center; align-items: center; text-align: center; }
