/*
 * Foodgitiva — Widget Styles para Elementor Pro
 *
 * Instalación:
 *   Copia este archivo en la carpeta raíz de tu child theme.
 *   Se encola automáticamente desde foodgitiva-shortcodes.php.
 *
 * Grain texture del body:
 *   Para replicar el efecto de grano del diseño original, agrega al
 *   child theme's style.css (o en Elementor → Sitio → CSS personalizado):
 *
 *   body::after {
 *     content: '';
 *     position: fixed; inset: 0; pointer-events: none; z-index: 9999;
 *     background-image: url("data:image/svg+xml,..."); (ver original)
 *     opacity: 0.028;
 *   }
 */

/* ─── VARIABLES ────────────────────────────────────────────────── */
:root {
  --fg-burgundy:       #7E242A;
  --fg-burgundy-hover: #641d22;
  --fg-black:          #111111;
  --fg-dark:           #1a1a1a;
  --fg-off-white:      #fdfcfb;
  --fg-gray-1:         #f7f5f2;
  --fg-gray-2:         #ebe8e3;
  --fg-gray-3:         #c8c2b8;
  --fg-gray-4:         #8a8278;
  --fg-gray-5:         #5a5550;
  --fg-serif:          'Playfair Display', Georgia, serif;
  --fg-sans:           'DM Sans', system-ui, sans-serif;
  --fg-mono:           'IBM Plex Mono', ui-monospace, monospace;
}

/* ══════════════════════════════════════════════════════════════════
   ZONA A — NAV
   En Elementor Theme Builder: sección Full Width, sin padding.
   Activar sticky en: sección → Motion Effects → Sticky → Top
   ══════════════════════════════════════════════════════════════════ */
.fg-nav {
  background: var(--fg-off-white);
  transition: box-shadow 0.3s ease;
  width: 100%;
}

.fg-nav.fg-nav-scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.fg-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  transition: height 0.3s ease;
}

.fg-nav.fg-nav-scrolled .fg-nav-inner {
  height: 52px;
}

/* Logo */
.fg-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.fg-nav-logo img {
  height: 45px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.fg-nav.fg-nav-scrolled .fg-nav-logo img {
  height: 24px;
}

.fg-nav-site-name {
  font-family: var(--fg-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-black);
}

/* Links centrales */
.fg-nav-links-wrap {
  display: flex;
  justify-content: center;
}

.fg-nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fg-nav-links > li > a {
  font-family: var(--fg-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-black);
  text-decoration: none;
  transition: color 0.2s;
}

.fg-nav-links > li > a:hover {
  color: var(--fg-burgundy);
}

/* Right — CTA */
.fg-nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.fg-nav-cta {
  display: inline-block;
  background: var(--fg-burgundy);
  color: #fff;
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 18px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.fg-nav-cta:hover {
  background: var(--fg-burgundy-hover);
  color: #fff;
}

/* Hamburger (mobile) */
.fg-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.fg-nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg-black);
  transition: all 0.3s ease;
}

/* Mobile overlay */
.fg-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--fg-off-white);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.fg-mobile-overlay.open {
  display: flex;
}

.fg-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.fg-mobile-links > li > a {
  font-family: var(--fg-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg-black);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s;
}

.fg-mobile-links > li > a:hover {
  color: var(--fg-burgundy);
}

.fg-mobile-cta {
  color: var(--fg-burgundy);
  font-family: var(--fg-serif);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.fg-mobile-cta:hover { opacity: 0.75; }

.fg-mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--fg-black);
  line-height: 1;
}

/* Nav responsive */
@media (max-width: 768px) {
  .fg-nav-inner {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
    height: 56px;
  }

  .fg-nav-links-wrap,
  .fg-nav-right {
    display: none;
  }

  .fg-nav-hamburger {
    display: flex;
  }
}


/* ─── RESET DENTRO DEL SCOPE FG ───────────────────────────────── */
.fg-hero a,
.fg-editorial a,
.fg-recipes a,
.fg-strip-especial a,
.fg-manifiesto a,
.fg-newsletter a {
  text-decoration: none;
  color: inherit;
}

.fg-hero img,
.fg-editorial img,
.fg-recipes img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fg-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--fg-gray-2);
}

/* ─── CONTENEDOR ───────────────────────────────────────────────── */
.fg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── ANIMACIONES ──────────────────────────────────────────────── */
@keyframes fg-fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.fg-anim-hero-caption {
  animation: fg-fadeInUp 0.9s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.fg-anim-hero-secondary {
  animation: fg-fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.fg-anim-hero-secondary:nth-child(1) { animation-delay: 0.5s; }
.fg-anim-hero-secondary:nth-child(2) { animation-delay: 0.65s; }

.fg-anim-card,
.fg-anim-recipe {
  animation: fg-fadeInUp 0.7s ease forwards;
  animation-delay: var(--delay, 0.4s);
  opacity: 0;
}

/* ─── TAG / ETIQUETA ───────────────────────────────────────────── */
.fg-tag {
  display: inline-block;
  background: var(--fg-burgundy);
  color: #fff;
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
}

/* ─── SECTION HEADER ───────────────────────────────────────────── */
.fg-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.fg-section-header-left {
  position: relative;
  padding-bottom: 10px;
}

.fg-section-header-left::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--fg-burgundy);
}

.fg-section-title {
  font-family: var(--fg-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg-black);
  line-height: 1;
}

.fg-section-link {
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-burgundy);
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}
.fg-section-link:hover { opacity: 0.75; }


/* ══════════════════════════════════════════════════════════════════
   ZONA B — HERO 62/38
   En Elementor: sección a ANCHO COMPLETO, sin padding lateral.
   ══════════════════════════════════════════════════════════════════ */
.fg-hero {
  display: grid;
  grid-template-columns: 62fr 38fr;
  height: 520px;
  overflow: hidden;
}

/* Main (62%) */
.fg-hero-main {
  position: relative;
  display: block;
  overflow: hidden;
}

.fg-hero-main > img,
.fg-hero-main > .fg-img-placeholder {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.fg-hero-main:hover > img { transform: scale(1.03); }

.fg-hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.10) 55%,
    transparent 100%
  );
  z-index: 1;
}

.fg-hero-main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

.fg-hero-main-title {
  font-family: var(--fg-serif);
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.2;
  max-width: 420px;
  margin-top: 10px;
}

.fg-hero-main-byline {
  font-family: var(--fg-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* Side (38%) */
.fg-hero-side {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0,0,0,0.06);
}

.fg-hero-side-item {
  flex: 1;
  position: relative;
  display: block;
  overflow: hidden;
}

.fg-hero-side-item + .fg-hero-side-item {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.fg-hero-side-item > img,
.fg-hero-side-item > .fg-img-placeholder {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.fg-hero-side-item:hover > img {
  transform: scale(1.04);
  filter: brightness(0.88);
}

.fg-hero-side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.05) 50%,
    transparent 100%
  );
  z-index: 1;
}

.fg-hero-side-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  z-index: 2;
}

.fg-hero-side-title {
  font-family: var(--fg-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.fg-hero-side-item:hover .fg-hero-side-title { opacity: 0.85; }

.fg-hero-side-byline {
  font-family: var(--fg-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}


/* ══════════════════════════════════════════════════════════════════
   ZONA C — GRILLA EDITORIAL
   ══════════════════════════════════════════════════════════════════ */
.fg-editorial {
  padding: 48px 0;
  background: var(--fg-off-white);
}

.fg-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fg-gray-3);
}

.fg-card {
  background: var(--fg-off-white);
  overflow: hidden;
}

.fg-card-inner {
  display: block;
}

.fg-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.fg-card-image img { transition: transform 0.5s ease; }
.fg-card:hover .fg-card-image img { transform: scale(1.05); }

.fg-card-body {
  padding: 18px 20px 22px;
}

.fg-card-tag {
  font-family: var(--fg-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-burgundy);
  margin-bottom: 8px;
}

.fg-card-title {
  font-family: var(--fg-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg-black);
  background-image: linear-gradient(var(--fg-burgundy), var(--fg-burgundy));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease, color 0.2s;
}

.fg-card:hover .fg-card-title {
  background-size: 100% 1px;
  color: var(--fg-burgundy);
}

.fg-card-excerpt {
  font-family: var(--fg-sans);
  font-size: 12px;
  color: var(--fg-gray-4);
  margin-top: 6px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.fg-card-byline {
  font-family: var(--fg-sans);
  font-size: 10px;
  color: var(--fg-gray-4);
  margin-top: 8px;
}


/* ══════════════════════════════════════════════════════════════════
   ZONA D — FUEGO Y RECETAS
   ══════════════════════════════════════════════════════════════════ */
.fg-recipes {
  background: var(--fg-gray-1);
  padding: 48px 0;
}

.fg-recipes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.fg-section-eje {
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-burgundy);
  margin-bottom: 6px;
}

.fg-recipes-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fg-recipes-handle {
  font-family: var(--fg-sans);
  font-size: 11px;
  color: var(--fg-gray-4);
}

.fg-recipes-ig-link {
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-burgundy);
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.fg-recipes-ig-link:hover { opacity: 0.75; }

.fg-recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fg-recipe-card a { display: block; }

.fg-recipe-image {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.fg-recipe-image img { transition: transform 0.5s ease; }
.fg-recipe-card:hover .fg-recipe-image img { transform: scale(1.06); }

.fg-recipe-body { padding: 12px 0 0; }

.fg-recipe-time {
  font-family: var(--fg-sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-gray-4);
  margin-bottom: 5px;
}

.fg-recipe-title {
  font-family: var(--fg-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-black);
  line-height: 1.3;
  transition: color 0.2s;
}
.fg-recipe-card:hover .fg-recipe-title { color: var(--fg-burgundy); }

.fg-recipe-tag {
  font-family: var(--fg-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-gray-4);
  margin-top: 5px;
}


/* ══════════════════════════════════════════════════════════════════
   ZONA E — STRIP ESPECIAL
   En Elementor: sección a ANCHO COMPLETO.
   ══════════════════════════════════════════════════════════════════ */
.fg-strip-especial {
  background: var(--fg-dark);
  padding: 28px 0;
}

.fg-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.fg-strip-label {
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.fg-strip-title {
  font-family: var(--fg-serif);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.25;
}

.fg-strip-btn {
  display: inline-block;
  background: var(--fg-burgundy, #7E242A);
  border: none;
  color: #fff !important;
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.fg-strip-btn:hover {
  background: #fff;
  color: var(--fg-dark) !important;
}


/* ══════════════════════════════════════════════════════════════════
   ZONA F — MANIFIESTO
   ══════════════════════════════════════════════════════════════════ */
.fg-manifiesto {
  background: var(--fg-off-white);
  padding: 64px 0;
}

.fg-manifiesto-inner {
  border-top: 1px solid var(--fg-gray-3);
  border-bottom: 1px solid var(--fg-gray-3);
  padding: 52px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fg-manifiesto-quote {
  font-family: var(--fg-serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--fg-dark);
  line-height: 1.5;
  max-width: 600px;
}

.fg-manifiesto-line {
  width: 40px;
  height: 2px;
  background: var(--fg-burgundy);
  margin: 24px auto 14px;
}

.fg-manifiesto-label {
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-gray-4);
}


/* ══════════════════════════════════════════════════════════════════
   ZONA G — NEWSLETTER
   ══════════════════════════════════════════════════════════════════ */
.fg-newsletter {
  background: var(--fg-gray-1);
  padding: 56px 0;
  text-align: center;
}

.fg-newsletter-label {
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-burgundy);
  margin-bottom: 12px;
}

.fg-newsletter-title {
  font-family: var(--fg-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--fg-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.fg-newsletter-subtitle {
  font-family: var(--fg-sans);
  font-size: 13px;
  color: var(--fg-gray-4);
  margin-bottom: 28px;
}

.fg-newsletter-form-wrap {
  display: flex;
  justify-content: center;
}

.fg-newsletter-form {
  display: inline-flex;
  max-width: 440px;
  width: 100%;
}

.fg-newsletter-input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--fg-gray-3);
  border-right: none;
  background: #fff;
  padding: 0 16px;
  font-family: var(--fg-sans);
  font-size: 13px;
  color: var(--fg-black);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.fg-newsletter-input:focus { border-color: var(--fg-burgundy); }
.fg-newsletter-input::placeholder { color: var(--fg-gray-4); }

.fg-newsletter-submit {
  height: 42px;
  background: var(--fg-burgundy);
  color: #fff;
  border: none;
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 24px;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.2s;
}
.fg-newsletter-submit:hover { background: var(--fg-burgundy-hover); }

.fg-newsletter-extra {
  display: block;
  margin-top: 16px;
  font-family: var(--fg-sans);
  font-size: 11px;
  color: var(--fg-burgundy);
  transition: opacity 0.2s;
}
.fg-newsletter-extra:hover { opacity: 0.75; }


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .fg-container { padding: 0 24px; }

  .fg-hero { height: 480px; }
  .fg-hero-main-title { font-size: 26px; }
  .fg-hero-side-title { font-size: 14px; }

  .fg-recipe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .fg-container { padding: 0 20px; }

  /* Hero mobile: apilado vertical */
  .fg-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 280px auto;
    height: auto;
  }

  .fg-hero-main { height: 280px; }
  .fg-hero-main-title { font-size: 22px; max-width: 100%; }

  .fg-hero-side {
    flex-direction: column;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  .fg-hero-side-item { height: 200px; }

  /* Grids */
  .fg-card-grid { grid-template-columns: 1fr; }
  .fg-recipe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Strip */
  .fg-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Sections padding */
  .fg-editorial  { padding: 36px 0; }
  .fg-recipes    { padding: 36px 0; }
  .fg-manifiesto { padding: 48px 0; }
  .fg-newsletter { padding: 44px 0; }

  .fg-manifiesto-quote  { font-size: 22px; }
  .fg-newsletter-title  { font-size: 22px; }

  .fg-newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }
  .fg-newsletter-input {
    border-right: 1px solid var(--fg-gray-3);
    border-bottom: none;
  }
  .fg-newsletter-submit { width: 100%; }

  .fg-recipes-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .fg-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .fg-recipe-grid { grid-template-columns: 1fr; }
  .fg-hero-main-title { font-size: 20px; }
}


/* ══════════════════════════════════════════════════════════════════
   SINGLE POST — ARTICLE TEMPLATE
   ══════════════════════════════════════════════════════════════════ */

/* ── CONTENEDOR CENTRADO 70vw ──────────────────────────────────── */
.fg-article-wrap {
  max-width: min(70vw, 1100px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ── B · PROGRESS BAR ──────────────────────────────────────────── */
.fg-progress-wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px;
  z-index: 99999 !important; /* máximo — sobre todo incluyendo Elementor */
  pointer-events: none;
  background: rgba(126,36,42,0.12); /* track sutil */
}
#fg-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--fg-burgundy, #7E242A);
  transition: width 0.08s linear;
}

/* ── C · HERO IMAGE ────────────────────────────────────────────── */
.fg-article-hero {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
}
.fg-article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: fgHeroScale 1.2s ease forwards;
}
@keyframes fgHeroScale {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}
.fg-hero-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 6px 12px;
  font-family: var(--fg-sans);
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  background: rgba(0,0,0,0.35);
  letter-spacing: 0.03em;
}

/* ── D · ARTICLE HEADER ────────────────────────────────────────── */
.fg-article-header {
  padding-top: 52px;
  animation: fgFadeUp 0.6s 0.3s ease both;
}
@keyframes fgFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fg-article-tag-link {
  display: inline-block;
  background: var(--fg-burgundy, #7E242A);
  color: #fff !important;
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.fg-article-tag-link:hover {
  background: var(--fg-burgundy-hover, #641d22);
}
.fg-article-title {
  font-family: var(--fg-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  letter-spacing: -0.01em;
  margin-top: 18px;
  animation: fgFadeUp 0.6s 0.45s ease both;
}
.fg-article-lead {
  margin-top: 20px;
  border-left: 3px solid var(--fg-burgundy, #7E242A);
  padding-left: 20px;
  font-family: var(--fg-serif);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: #1a1a1a;
  animation: fgFadeUp 0.6s 0.6s ease both;
}

/* ── E · BYLINE ────────────────────────────────────────────────── */
.fg-article-byline {
  margin-top: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ebe8e3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: fgFadeUp 0.6s 0.75s ease both;
}
.fg-byline-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fg-byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.fg-byline-avatar-img,
.fg-byline-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fg-byline-name {
  display: block;
  font-family: var(--fg-sans);
  font-size: 13px;
  font-weight: 500;
  color: #111;
}
.fg-byline-meta {
  display: block;
  font-family: var(--fg-sans);
  font-size: 11px;
  color: #8a8278;
  margin-top: 1px;
}
.fg-byline-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fg-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f7f5f2;
  border: 1px solid #ebe8e3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: #5a5550;
}
.fg-share-btn:hover { background: #ebe8e3; }
.fg-share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.fg-copy-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #1a1a1a;
  color: #fff;
  font-family: var(--fg-sans);
  font-size: 12px;
  padding: 8px 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 10000;
}
.fg-copy-toast.fg-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── F · ARTICLE BODY ──────────────────────────────────────────── */
/* [foodgitiva_article_content] genera la clase fg-article-body + fg-article-wrap */
/* Ya no se usa el Post Content widget de Elementor */
.fg-article-body {
  /* hereda el max-width de fg-article-wrap, ya ambos están en el mismo div */
}
.fg-article-body p {
  font-family: var(--fg-serif);
  font-size: 18px;
  line-height: 1.85;
  color: #1a1a1a;
  margin-bottom: 1.6em;
  font-weight: 400;
}
/* Párrafos vacíos del editor → ocultos */
.fg-article-body p:empty { display: none; }
/* Títulos dentro del cuerpo del artículo */
.fg-article-body h2 {
  font-family: var(--fg-serif);
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.fg-article-body h3 {
  font-family: var(--fg-serif);
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}
/* Itálicas y negritas */
.fg-article-body em, .fg-article-body i { font-style: italic; }
.fg-article-body strong, .fg-article-body b { font-weight: 700; }
/* Diálogos: añadir clase fg-dialogo en Custom HTML block */
.fg-article-body .fg-dialogo,
.fg-article-body .entry-content .fg-dialogo {
  padding-left: 20px;
  color: #5a5550;
}
/* Imágenes anchas que rompen la columna — usa alineación "Wide" en Gutenberg */
.fg-article-body .alignwide,
.fg-article-body .entry-content .alignwide {
  width: calc(100% + 120px);
  margin-left: -60px;
  margin-right: -60px;
  max-width: none;
}
.fg-article-body .alignwide img,
.fg-article-body .entry-content .alignwide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
/* Caption de imágenes */
.fg-article-body figcaption,
.fg-article-body .entry-content figcaption {
  font-family: var(--fg-sans);
  font-size: 12px;
  font-style: italic;
  color: #8a8278;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 1.8em;
}
/* Pull quote — bloque Gutenberg Pull Quote */
.fg-article-body .wp-block-pullquote,
.fg-article-body .entry-content .wp-block-pullquote {
  margin: 44px 0;
  padding: 0;
  border: none;
  text-align: center;
}
.fg-article-body .wp-block-pullquote::before,
.fg-article-body .entry-content .wp-block-pullquote::before,
.fg-article-body .wp-block-pullquote::after,
.fg-article-body .entry-content .wp-block-pullquote::after {
  content: '';
  display: block;
  height: 1px;
  background: #c8c2b8;
}
.fg-article-body .wp-block-pullquote::before,
.fg-article-body .entry-content .wp-block-pullquote::before { margin-bottom: 22px; }
.fg-article-body .wp-block-pullquote::after,
.fg-article-body .entry-content .wp-block-pullquote::after  { margin-top: 22px; }
.fg-article-body .wp-block-pullquote p,
.fg-article-body .entry-content .wp-block-pullquote p {
  font-family: var(--fg-serif);
  font-size: 23px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  text-align: center;
  margin: 0 !important;
  padding: 0 16px;
}
/* Separador — bloque Gutenberg Separator */
.fg-article-body hr,
.fg-article-body .wp-block-separator,
.fg-article-body .entry-content hr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px 0;
  border: none;
  height: auto;
}
.fg-article-body hr::before,
.fg-article-body .wp-block-separator::before,
.fg-article-body .entry-content hr::before,
.fg-article-body hr::after,
.fg-article-body .wp-block-separator::after,
.fg-article-body .entry-content hr::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ebe8e3;
}
.fg-article-body hr::before,
.fg-article-body .wp-block-separator::before,
.fg-article-body .entry-content hr::before {
  content: '· · ·';
  flex: none;
  color: var(--fg-burgundy, #7E242A);
  font-size: 12px;
  letter-spacing: 6px;
  background: none;
  height: auto;
}

/* ── G · TAGS ──────────────────────────────────────────────────── */
.fg-article-tags {
  margin-top: 48px;
  border-top: 1px solid #ebe8e3;
  padding-top: 24px;
}
.fg-tags-label {
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8278;
  margin-bottom: 12px;
}
.fg-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fg-tag-item {
  display: inline-block;
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a5550;
  background: #f7f5f2;
  border: 1px solid #ebe8e3;
  padding: 5px 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.fg-tag-item:hover {
  background: var(--fg-burgundy, #7E242A);
  color: #fff !important;
  border-color: var(--fg-burgundy, #7E242A);
}

/* ── H · CTA MEMBRESÍA ─────────────────────────────────────────── */
.fg-membership-cta {
  margin-top: 56px;
  margin-bottom: 72px;
  background: #f7f5f2;
  padding: 40px 48px;
  text-align: center;
  border-top: 3px solid var(--fg-burgundy, #7E242A);
}
.fg-cta-label {
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-burgundy, #7E242A);
}
.fg-cta-title {
  font-family: var(--fg-serif);
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 12px 0 8px;
  line-height: 1.3;
}
.fg-cta-desc {
  font-family: var(--fg-sans);
  font-size: 13px;
  color: #8a8278;
  margin-bottom: 24px;
}
.fg-cta-btn {
  display: inline-block;
  background: var(--fg-burgundy, #7E242A);
  color: #fff !important;
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 32px;
  text-decoration: none;
  transition: background 0.2s;
}
.fg-cta-btn:hover { background: var(--fg-burgundy-hover, #641d22); }
.fg-cta-secondary {
  display: block;
  margin-top: 14px;
  font-family: var(--fg-sans);
  font-size: 11px;
  color: var(--fg-burgundy, #7E242A);
  text-decoration: none;
  transition: text-decoration 0.1s;
}
.fg-cta-secondary:hover { text-decoration: underline; }

/* ── I · ARTÍCULOS RELACIONADOS ────────────────────────────────── */
.fg-related-section {
  background: var(--fg-off-white, #fdfcfb);
  padding: 56px 0;
  border-top: 1px solid #ebe8e3;
}
.fg-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.fg-related-title-wrap {
  position: relative;
  padding-bottom: 10px;
}
.fg-related-title-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--fg-burgundy, #7E242A);
}
.fg-related-title {
  font-family: var(--fg-serif);
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}
.fg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #c8c2b8;
}
.fg-related-card {
  background: var(--fg-off-white, #fdfcfb);
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.fg-related-card-img {
  height: 180px;
  overflow: hidden;
}
.fg-related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.fg-related-card:hover .fg-related-card-img img { transform: scale(1.05); }
.fg-related-card-body { padding: 16px 18px 20px; }
.fg-related-card-tag {
  font-family: var(--fg-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-burgundy, #7E242A);
  margin-bottom: 7px;
}
.fg-related-card-title {
  font-family: var(--fg-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  background-image: linear-gradient(var(--fg-burgundy, #7E242A), var(--fg-burgundy, #7E242A));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s, color 0.2s;
  display: inline;
}
.fg-related-card:hover .fg-related-card-title {
  background-size: 100% 1px;
  color: var(--fg-burgundy, #7E242A);
}
.fg-related-card-byline {
  font-family: var(--fg-sans);
  font-size: 10px;
  color: #8a8278;
  margin-top: 8px;
}

/* ── RESPONSIVE — ARTÍCULO ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .fg-article-wrap,
  .fg-article-body .elementor-widget-container {
    max-width: 90vw;
    padding-left: 24px;
    padding-right: 24px;
  }
  .fg-article-title { font-size: 34px; }
  .fg-related-grid  { grid-template-columns: repeat(2, 1fr); }
  .fg-article-body .alignwide,
  .fg-article-body .entry-content .alignwide {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
  }
}
@media (max-width: 768px) {
  .fg-article-wrap,
  .fg-article-body .elementor-widget-container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .fg-article-hero   { height: 260px; }
  .fg-article-header { padding-top: 36px; }
  .fg-article-title  { font-size: 28px; }
  .fg-article-lead   { font-size: 16px; }
  .fg-article-body p,
  .fg-article-body .entry-content p { font-size: 17px; }
  .fg-article-body .alignwide,
  .fg-article-body .entry-content .alignwide {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .fg-article-body .alignwide img,
  .fg-article-body .entry-content .alignwide img { height: 220px; }
  .fg-article-body .wp-block-pullquote p,
  .fg-article-body .entry-content .wp-block-pullquote p { font-size: 18px; }
  .fg-membership-cta  { padding: 28px 24px; }
  .fg-related-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .fg-article-title { font-size: 24px; }
  .fg-article-lead  { font-size: 15px; }
  .fg-byline-name   { font-size: 12px; }
}


/* ══════════════════════════════════════════════════════════════════
   PÁGINA "FUEGO Y RECETAS" — hub de categoría
   ══════════════════════════════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────────────────────────── */
.fg-fuego-hero { padding: 72px 0 56px; }
.fg-fuego-kicker {
  font-family: var(--fg-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-burgundy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fg-fuego-kicker::before { content: ''; width: 28px; height: 1px; background: var(--fg-burgundy); }
.fg-fuego-hero h1 {
  font-family: var(--fg-serif);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--fg-black);
  max-width: 820px;
}
.fg-fuego-hero h1 em { font-style: italic; font-weight: 400; color: var(--fg-burgundy); }
.fg-fuego-lead {
  margin-top: 22px;
  font-family: var(--fg-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-gray-5);
  max-width: 560px;
}

/* ── QUIÉN ESTÁ DETRÁS + INSTAGRAM ────────────────────────────── */
.fg-about-ig {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  padding: 48px 0 64px;
  border-top: 1px solid var(--fg-gray-2);
  border-bottom: 1px solid var(--fg-gray-2);
  margin-bottom: 72px;
}
.fg-about-kicker {
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-burgundy);
  margin-bottom: 20px;
}
.fg-founder-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.fg-founder-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(126,36,42,0.10) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #3b2420 0%, #5a332b 45%, #2a1c19 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fg-founder-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-founder-avatar span {
  font-family: var(--fg-sans);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 4px;
}
.fg-founder-name { font-family: var(--fg-serif); font-size: 22px; font-weight: 700; color: var(--fg-black); }
.fg-founder-role { font-family: var(--fg-sans); font-size: 12px; color: var(--fg-gray-4); margin-top: 2px; }
.fg-about-bio {
  font-family: var(--fg-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--fg-gray-5);
  max-width: 420px;
}

.fg-ig-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.fg-ig-handle-wrap h3 { font-family: var(--fg-serif); font-size: 26px; font-weight: 700; color: var(--fg-black); }
.fg-ig-followers { font-family: var(--fg-sans); font-size: 12px; color: var(--fg-gray-4); margin-top: 4px; }
.fg-ig-followers strong { color: var(--fg-burgundy); font-weight: 600; }
.fg-ig-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg-burgundy);
  color: #fff !important;
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
}
.fg-ig-cta:hover { background: var(--fg-burgundy-hover); }
.fg-ig-cta svg { width: 13px; height: 13px; fill: #fff; }

.fg-ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fg-ig-thumb {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  background:
    repeating-linear-gradient(135deg, rgba(126,36,42,0.10) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #3b2420 0%, #5a332b 45%, #2a1c19 100%);
}
.fg-ig-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.fg-ig-thumb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(255,150,90,0.18), transparent 60%); pointer-events: none; }
.fg-ig-thumb-icon { position: absolute; top: 8px; right: 8px; z-index: 1; width: 16px; height: 16px; opacity: 0.85; }
.fg-ig-thumb-icon svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
.fg-ig-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  z-index: 1;
}
.fg-ig-thumb:hover .fg-ig-thumb-overlay { opacity: 1; }
.fg-ig-thumb-overlay span { font-family: var(--fg-sans); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }

/* ── ENCABEZADO DE BLOQUE (Recetas / Crónicas) ───────────────── */
.fg-block-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.fg-block-title { font-family: var(--fg-serif); font-size: 28px; font-weight: 700; color: var(--fg-dark); }
.fg-block-sub { font-family: var(--fg-sans); font-size: 12px; color: var(--fg-gray-4); max-width: 340px; text-align: right; }

.fg-fuego-divider { display: flex; align-items: center; gap: 10px; margin: 8px 0 48px; }
.fg-fuego-divider span { width: 5px; height: 5px; background: var(--fg-burgundy); border-radius: 50%; flex-shrink: 0; }
.fg-fuego-divider::before, .fg-fuego-divider::after { content: ''; flex: 1; height: 1px; background: var(--fg-gray-2); }

/* ── GRID DE RECETAS (hub) ────────────────────────────────────── */
.fg-frg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 88px; }
.fg-frg-card { position: relative; cursor: pointer; display: block; }
.fg-frg-photo { aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.fg-frg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-frg-card:hover .fg-frg-photo { transform: translateY(-6px); }
.fg-frg-tag {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-burgundy);
}
.fg-frg-card h3 {
  font-family: var(--fg-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
  color: var(--fg-black);
  background-image: linear-gradient(var(--fg-burgundy), var(--fg-burgundy));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease, color 0.2s ease;
  display: inline;
}
.fg-frg-card:hover h3 { background-size: 100% 1px; color: var(--fg-burgundy); }

/* ── GRID DE CRÓNICAS (hub) ───────────────────────────────────── */
.fg-cronica-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--fg-gray-3); margin-bottom: 40px; }
.fg-cronica-card { background: var(--fg-off-white); display: grid; grid-template-rows: 260px auto; }
.fg-cronica-photo { width: 100%; height: 100%; overflow: hidden; }
.fg-cronica-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-cronica-body { padding: 28px 32px 32px; }
.fg-cronica-tag { font-family: var(--fg-sans); font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-burgundy); margin-bottom: 10px; }
.fg-cronica-card h3 { font-family: var(--fg-serif); font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--fg-black); margin-bottom: 12px; }
.fg-cronica-byline { font-family: var(--fg-sans); font-size: 11px; color: var(--fg-gray-4); }

@media (max-width: 1024px) {
  .fg-frg-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-cronica-grid { grid-template-columns: 1fr; }
  .fg-about-ig { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .fg-frg-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .fg-block-sub { display: none; }
  .fg-ig-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-ig-header { flex-direction: column; align-items: flex-start; }
}


/* ══════════════════════════════════════════════════════════════════
   SINGLE POST — TEMPLATE DE RECETA
   ══════════════════════════════════════════════════════════════════ */

/* ── HERO VERTICAL (foto/video flotante y centrado) ──────────── */
.fg-recipe-hero { display: flex; flex-direction: column; align-items: center; padding: 48px 0 0; }
.fg-recipe-hero-media {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(17,17,17,0.25);
}
.fg-recipe-hero-media img,
.fg-recipe-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fg-recipe-hero-credit {
  margin-top: 12px;
  font-family: var(--fg-sans);
  font-size: 11px;
  font-style: italic;
  color: var(--fg-gray-4);
}

/* ── HEADER CENTRADO ──────────────────────────────────────────── */
.fg-recipe-header {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 0 24px;
  text-align: center;
}
.fg-recipe-tag-label {
  display: inline-block;
  background: var(--fg-burgundy);
  color: #fff;
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
}
.fg-recipe-header h1 {
  font-family: var(--fg-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg-black);
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.fg-recipe-lead {
  margin-top: 16px;
  font-family: var(--fg-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-gray-5);
}

/* ── BARRA DE DATOS ───────────────────────────────────────────── */
.fg-recipe-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 20px 32px;
  border-top: 1px solid var(--fg-gray-2);
  border-bottom: 1px solid var(--fg-gray-2);
  text-align: center;
}
.fg-recipe-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 28px;
  border-right: 1px solid var(--fg-gray-2);
}
.fg-recipe-stat:last-child { border-right: none; }
.fg-recipe-stat-value { font-family: var(--fg-serif); font-size: 17px; font-weight: 700; color: var(--fg-black); }
.fg-recipe-stat-label {
  font-family: var(--fg-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-gray-4);
}

/* ── CONTENIDO DE LA RECETA — ingredientes y pasos ───────────── */
.fg-recipe-content { margin-top: 48px; }
.fg-recipe-content p {
  font-family: var(--fg-serif);
  font-size: 18px;
  line-height: 1.8;
  color: var(--fg-dark);
  margin-bottom: 1.4em;
}
.fg-recipe-content h2 {
  font-family: var(--fg-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-burgundy);
  margin-top: 2em;
  margin-bottom: 0.9em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fg-burgundy);
  display: inline-block;
}
/* Ingredientes — lista con bullets tipo check */
.fg-recipe-content ul {
  list-style: none;
  margin-bottom: 1.6em;
}
.fg-recipe-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-family: var(--fg-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-dark);
}
.fg-recipe-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--fg-burgundy);
  border-radius: 3px;
}
/* Preparación — pasos numerados */
.fg-recipe-content ol {
  list-style: none;
  counter-reset: fg-step;
  margin-bottom: 1.6em;
}
.fg-recipe-content ol li {
  counter-increment: fg-step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
  font-family: var(--fg-serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-dark);
}
.fg-recipe-content ol li::before {
  content: counter(fg-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fg-burgundy);
  color: #fff;
  font-family: var(--fg-sans);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── MÁS RECETAS DE FUEGO ─────────────────────────────────────── */
.fg-recipe-related { margin-top: 32px; padding: 56px 0 0; border-top: 1px solid var(--fg-gray-2); }
.fg-recipe-related .fg-frg-grid { margin-bottom: 64px; }

@media (max-width: 768px) {
  .fg-recipe-hero-media { max-width: 320px; }
  .fg-recipe-header h1 { font-size: 28px; }
  .fg-recipe-stats { gap: 0; }
  .fg-recipe-stat { padding: 0 16px; }
}
@media (max-width: 480px) {
  .fg-recipe-stat-value { font-size: 15px; }
  .fg-recipe-stat { padding: 0 10px; }
}


/* ══════════════════════════════════════════════════════════════════
   ARCHIVE TEMPLATE — Editorial / Gastronomía
   ══════════════════════════════════════════════════════════════════ */
.fg-archive-empty {
  font-family: var(--fg-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--fg-gray-4);
  text-align: center;
  padding: 64px 0;
}

.fg-archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 24px 0 88px;
  padding-top: 32px;
  border-top: 1px solid var(--fg-gray-2);
}
.fg-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-family: var(--fg-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-gray-5);
  border: 1px solid var(--fg-gray-2);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.fg-archive-pagination .page-numbers:hover {
  background: var(--fg-burgundy);
  color: #fff;
  border-color: var(--fg-burgundy);
}
.fg-archive-pagination .page-numbers.current {
  background: var(--fg-burgundy);
  color: #fff;
  border-color: var(--fg-burgundy);
}
.fg-archive-pagination .page-numbers.dots {
  border: none;
  color: var(--fg-gray-3);
}
@media (max-width: 480px) {
  .fg-archive-pagination .page-numbers { min-width: 30px; height: 30px; font-size: 11px; padding: 0 8px; }
}


/* ══════════════════════════════════════════════════════════════════
   PÁGINA "SOBRE FOODGITIVA" — About Us
   ══════════════════════════════════════════════════════════════════ */

/* Contenedor angosto tipo ensayo — más estrecho que .fg-container (1240px) */
.fg-sf-hero,
.fg-sf-etym,
.fg-sf-found-intro,
.fg-sf-contrast-list,
.fg-sf-found-outro,
.fg-sf-pillars-head,
.fg-sf-pillars-grid,
.fg-sf-voice,
.fg-sf-closing,
.fg-sf-colophon,
.fg-sf-label,
.fg-sf-section-title {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.fg-sf-divider { display: flex; align-items: center; gap: 10px; margin: 64px auto; max-width: 1080px; }
.fg-sf-divider span { width: 5px; height: 5px; background: var(--fg-burgundy); border-radius: 50%; flex-shrink: 0; }
.fg-sf-divider::before, .fg-sf-divider::after { content: ''; flex: 1; height: 1px; background: var(--fg-gray-2); }

/* ── 1 · HERO ─────────────────────────────────────────────────── */
.fg-sf-hero { padding: 76px 0 0; }
.fg-sf-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.fg-sf-hero-isotype { display: flex; align-items: center; justify-content: center; position: relative; }
.fg-sf-hero-isotype::before {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,36,42,0.06) 0%, transparent 72%);
}
.fg-sf-hero-isotype img {
  position: relative; width: 100%; max-width: 300px; height: auto;
  filter: drop-shadow(0 18px 34px rgba(17,17,17,0.10));
  animation: fgFadeUp 0.9s 0.15s ease both;
}
.fg-sf-kicker {
  font-family: var(--fg-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--fg-burgundy); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.fg-sf-kicker::before { content: ''; width: 28px; height: 1px; background: var(--fg-burgundy); }
.fg-sf-word {
  font-family: var(--fg-serif); font-weight: 900; font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92; letter-spacing: -0.02em; color: var(--fg-black);
}
.fg-sf-word-img { display: block; height: clamp(48px, 8vw, 104px); width: auto; }
.fg-sf-phonetic {
  margin-top: 14px; font-family: var(--fg-mono); font-style: italic; font-size: 15px;
  color: var(--fg-gray-4); letter-spacing: 0.02em;
}
.fg-sf-phonetic b { font-style: normal; color: var(--fg-burgundy); font-weight: 500; }
.fg-sf-tagline {
  margin-top: 30px; font-family: var(--fg-serif); font-style: italic; font-weight: 700; font-size: 26px;
  line-height: 1.4; color: var(--fg-burgundy); max-width: 640px;
}
.fg-sf-body {
  margin-top: 24px; font-family: var(--fg-serif); font-size: 18px; line-height: 1.85;
  color: var(--fg-dark); max-width: 640px;
}
.fg-sf-body + .fg-sf-body { margin-top: 16px; }

/* ── etiqueta y título de sección genéricos ───────────────────── */
.fg-sf-label {
  font-family: var(--fg-sans); font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-burgundy); margin-bottom: 18px;
}
.fg-sf-section-title {
  font-family: var(--fg-serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700;
  line-height: 1.15; color: var(--fg-black); letter-spacing: -0.01em;
}

/* ── 2 · ETIMOLOGÍA ───────────────────────────────────────────── */
.fg-sf-etym { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.fg-sf-etym-visual { position: sticky; top: 40px; }
.fg-sf-etym-stack { display: flex; flex-direction: column; gap: 2px; }
.fg-sf-etym-word { font-family: var(--fg-serif); font-size: clamp(38px, 4.6vw, 58px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.fg-sf-etym-food { color: var(--fg-black); }
.fg-sf-etym-fug { color: var(--fg-gray-3); font-style: italic; font-weight: 400; }
.fg-sf-etym-plus {
  font-family: var(--fg-mono); font-size: 13px; color: var(--fg-gray-4); margin: 10px 0;
  display: flex; align-items: center; gap: 8px;
}
.fg-sf-etym-plus::after { content: ''; flex: 1; height: 1px; background: var(--fg-gray-2); }
.fg-sf-etym-result {
  margin-top: 18px; padding-top: 18px; border-top: 1.5px solid var(--fg-black);
  font-family: var(--fg-serif); font-size: clamp(30px, 3.6vw, 44px); font-weight: 900;
  color: var(--fg-burgundy); letter-spacing: -0.01em;
}
.fg-sf-etym-body p { font-family: var(--fg-serif); font-size: 17px; line-height: 1.85; color: var(--fg-dark); margin-bottom: 1.4em; }
.fg-sf-etym-body strong { color: var(--fg-black); }
.fg-sf-etym-closing { font-family: var(--fg-serif); font-style: italic; font-weight: 700; font-size: 19px; color: var(--fg-black); }

.fg-sf-pullquote { margin: 40px 0; position: relative; }
.fg-sf-pullquote::before, .fg-sf-pullquote::after { content: ''; display: block; height: 1px; background: var(--fg-gray-3); }
.fg-sf-pullquote::before { margin-bottom: 22px; }
.fg-sf-pullquote::after { margin-top: 22px; }
.fg-sf-pullquote p { font-family: var(--fg-serif); font-size: 21px; font-style: italic; font-weight: 400; line-height: 1.5; color: var(--fg-black); }
.fg-sf-pullquote-cite { display: block; margin-top: 14px; font-family: var(--fg-sans); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-gray-4); font-style: normal; }

/* ── 3 · ¿QUÉ ENCONTRARÁS AQUÍ? ───────────────────────────────── */
.fg-sf-found-intro { max-width: 720px; }
.fg-sf-found-intro p { font-family: var(--fg-serif); font-size: 18px; line-height: 1.85; color: var(--fg-dark); }

.fg-sf-contrast-list { margin-top: 40px; border-top: 1px solid var(--fg-gray-2); }
.fg-sf-contrast-row {
  display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--fg-gray-2); gap: 16px;
}
.fg-sf-contrast-yes { font-family: var(--fg-serif); font-size: 18px; line-height: 1.4; color: var(--fg-black); font-weight: 700; text-align: right; }
.fg-sf-contrast-no { font-family: var(--fg-serif); font-size: 18px; line-height: 1.4; color: var(--fg-gray-4); font-style: italic; text-decoration: line-through; text-decoration-color: var(--fg-gray-3); text-decoration-thickness: 1px; }
.fg-sf-contrast-vs { font-family: var(--fg-mono); font-size: 10px; color: var(--fg-gray-3); text-align: center; letter-spacing: 0.05em; }
.fg-sf-found-outro { margin-top: 36px; font-family: var(--fg-serif); font-style: italic; font-size: 19px; color: var(--fg-burgundy); font-weight: 700; line-height: 1.5; max-width: 640px; }

/* ── 4 · CUATRO PILARES ───────────────────────────────────────── */
.fg-sf-pillars-head { margin-bottom: 44px; }
.fg-sf-pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fg-sf-pillar { padding: 0 28px; border-left: 1px solid var(--fg-gray-2); }
.fg-sf-pillar:first-child { padding-left: 0; border-left: none; }
.fg-sf-pillar-num { font-family: var(--fg-serif); font-size: 34px; font-weight: 700; color: var(--fg-burgundy); margin-bottom: 14px; display: block; line-height: 1; }
.fg-sf-pillar-title { font-family: var(--fg-serif); font-size: 19px; font-weight: 700; color: var(--fg-black); margin-bottom: 12px; }
.fg-sf-pillar-desc { font-family: var(--fg-sans); font-size: 13px; line-height: 1.7; color: var(--fg-gray-5); }

/* ── 5 · UNA VOZ, UN CRITERIO ─────────────────────────────────── */
.fg-sf-voice { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.fg-sf-voice-photo { width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.fg-sf-voice-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-sf-voice-name { font-family: var(--fg-serif); font-size: 26px; font-weight: 700; color: var(--fg-black); margin-bottom: 4px; }
.fg-sf-voice-role { font-family: var(--fg-sans); font-size: 12px; color: var(--fg-gray-4); letter-spacing: 0.02em; margin-bottom: 22px; }
.fg-sf-voice-body p { font-family: var(--fg-serif); font-size: 17px; line-height: 1.85; color: var(--fg-dark); margin-bottom: 1.4em; }

.fg-sf-ethics-stamp { margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; border: 1.5px solid var(--fg-burgundy); padding: 14px 22px; }
.fg-sf-ethics-stamp-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--fg-burgundy);
  display: flex; align-items: center; justify-content: center; font-family: var(--fg-mono);
  font-size: 9px; color: var(--fg-burgundy); text-align: center; line-height: 1.2; transform: rotate(-6deg);
  white-space: pre-line;
}
.fg-sf-ethics-stamp-text { font-family: var(--fg-sans); font-size: 12px; line-height: 1.5; color: var(--fg-dark); max-width: 360px; }
.fg-sf-ethics-stamp-text strong { color: var(--fg-burgundy); }

/* ── 6 · FUEGO Y RECETAS — banda de acento ────────────────────── */
.fg-sf-fyr-band { position: relative; margin: 96px 0; padding: 72px 0; overflow: hidden; background: linear-gradient(160deg, #2a1c19 0%, #1c1310 100%); }
.fg-sf-fyr-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 15% 30%, rgba(255,120,60,0.16), transparent 65%); }
.fg-sf-fyr-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.fg-sf-fyr-eyebrow { font-family: var(--fg-sans); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #ff9b6a; margin-bottom: 16px; }
.fg-sf-fyr-title { font-family: var(--fg-serif); font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--fg-off-white); margin-bottom: 16px; }
.fg-sf-fyr-body { font-family: var(--fg-sans); font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 480px; }
.fg-sf-fyr-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.fg-sf-fyr-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--fg-burgundy); color: #fff !important; font-family: var(--fg-sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 13px 24px; transition: background 0.2s;
}
.fg-sf-fyr-btn:hover { background: #8f2a31; }
.fg-sf-fyr-ig { font-family: var(--fg-sans); font-size: 12px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 6px; }
.fg-sf-fyr-ig svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.55); }
.fg-sf-fyr-ig:hover { color: #fff; }
.fg-sf-fyr-ig:hover svg { fill: #fff; }

/* ── 7 · MANIFIESTO ───────────────────────────────────────────── */
.fg-sf-manifesto { padding: 32px 0 88px; text-align: center; }
.fg-sf-manifesto-eyebrow { font-family: var(--fg-sans); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-gray-4); margin-bottom: 28px; }
.fg-sf-manifesto-quote { font-family: var(--fg-serif); font-weight: 900; font-style: italic; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.2; color: var(--fg-black); max-width: 920px; margin: 0 auto; letter-spacing: -0.01em; }
.fg-sf-manifesto-line { width: 44px; height: 2px; background: var(--fg-burgundy); margin: 36px auto; }
.fg-sf-manifesto-body { font-family: var(--fg-serif); font-size: 17px; line-height: 1.8; color: var(--fg-gray-5); max-width: 560px; margin: 0 auto; }

/* ── 8 · CIERRE + COLOFÓN ──────────────────────────────────────── */
.fg-sf-closing { text-align: center; padding: 0 0 88px; }
.fg-sf-closing-line { font-family: var(--fg-serif); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--fg-burgundy); max-width: 680px; margin: 0 auto 28px; line-height: 1.4; }
.fg-sf-closing-cta {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--fg-sans); font-size: 12px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-black);
  border-bottom: 1.5px solid var(--fg-black); padding-bottom: 4px; transition: color 0.2s, border-color 0.2s;
}
.fg-sf-closing-cta:hover { color: var(--fg-burgundy); border-color: var(--fg-burgundy); }

.fg-sf-colophon { border-top: 1px solid var(--fg-gray-2); padding: 32px 0; text-align: center; }
.fg-sf-colophon-mark { font-family: var(--fg-serif); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--fg-black); }
.fg-sf-colophon-sub { font-family: var(--fg-sans); font-size: 11px; color: var(--fg-gray-4); margin-top: 6px; }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fg-sf-etym { grid-template-columns: 1fr; gap: 36px; }
  .fg-sf-etym-visual { position: static; }
  .fg-sf-voice { grid-template-columns: 160px 1fr; gap: 32px; }
  .fg-sf-pillars-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .fg-sf-pillar:nth-child(3) { border-left: none; padding-left: 0; }
  .fg-sf-fyr-inner { grid-template-columns: 1fr; text-align: left; }
  .fg-sf-fyr-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .fg-sf-contrast-row { grid-template-columns: 1fr; text-align: left; gap: 6px; padding: 18px 0; }
  .fg-sf-contrast-yes { text-align: left; }
  .fg-sf-contrast-vs { display: none; }
  .fg-sf-voice { grid-template-columns: 1fr; }
  .fg-sf-voice-photo { max-width: 180px; }
  .fg-sf-pillars-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .fg-sf-pillar { border-left: none; padding-left: 0; border-top: 1px solid var(--fg-gray-2); padding-top: 24px; }
  .fg-sf-pillar:first-child { border-top: none; padding-top: 0; }
  .fg-sf-fyr-band { padding: 48px 0; margin: 64px 0; }
  .fg-sf-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .fg-sf-hero-isotype { order: -1; margin-bottom: 8px; }
  .fg-sf-hero-isotype img { max-width: 200px; }
  .fg-sf-hero-isotype::before { width: 220px; height: 220px; }
}
@media (max-width: 640px) {
  .fg-sf-hero { padding: 48px 0 0; }
  .fg-sf-divider { margin: 44px auto; }
  .fg-sf-fyr-actions { flex-direction: column; align-items: flex-start; }
  .fg-sf-hero-isotype img { max-width: 160px; }
}
