/* ==========================================================================
   Mi Vida en USA — Block Patterns CSS v1.0.0
   EDITORIAL DESIGN SYSTEM FOR GUTENBERG PATTERNS
   
   Spectacular, award-winning, cinematic. These styles transform
   standard Gutenberg blocks into premium editorial components.
   ========================================================================== */


/* ==========================================================================
   1. COMPARATIVA VS — EPIC BATTLE ARENA
   ========================================================================== */
.mveu-vs {
  position: relative;
  margin: var(--sp-2xl) 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(60, 59, 110, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(178, 34, 52, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0a0e1a 0%, #0f1529 40%, #150d20 70%, #0d0a1f 100%);
  box-shadow:
    0 0 50px rgba(0, 0, 0, 0.3),
    0 25px 70px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Grid pattern */
.mveu-vs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Central lightning bolt glow */
.mveu-vs::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(212, 168, 85, 0.05) 15%,
    rgba(212, 168, 85, 0.2) 50%,
    rgba(212, 168, 85, 0.05) 85%,
    transparent 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  animation: vsGlowLine 3s ease-in-out infinite alternate;
}

@keyframes vsGlowLine {
  0%   { opacity: 0.4; filter: blur(0px); }
  50%  { opacity: 1; filter: blur(2px); }
  100% { opacity: 0.4; filter: blur(0px); }
}

/* ---- Header ---- */
.mveu-vs__header {
  background: transparent;
  padding: var(--sp-2xl) var(--sp-xl) var(--sp-lg) !important;
  gap: var(--sp-lg) !important;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mveu-vs__title-a,
.mveu-vs__title-b {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg) !important;
  font-weight: 900;
  margin: 0 !important;
  text-align: center;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mveu-vs__title-a {
  color: white !important;
  text-shadow: 0 0 30px rgba(60, 59, 110, 0.6);
}

.mveu-vs__title-b {
  color: white !important;
  text-shadow: 0 0 30px rgba(178, 34, 52, 0.6);
}

/* ---- VS badge — fire ring ---- */
.mveu-vs__badge {
  background: linear-gradient(135deg, #ff4b5c 0%, var(--usa-red) 50%, #ff8a3d 100%);
  color: white;
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: var(--fs-xl);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  box-shadow:
    0 0 20px rgba(255, 75, 92, 0.5),
    0 0 50px rgba(255, 75, 92, 0.2),
    inset 0 -3px 6px rgba(0, 0, 0, 0.2);
  animation: vsBadgeFire 2s ease-in-out infinite;
}

/* Outer ring pulse */
.mveu-vs__badge::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 138, 61, 0.4);
  animation: vsRingPulse 2s ease-in-out infinite;
}

/* Second ring */
.mveu-vs__badge::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 75, 92, 0.15);
  animation: vsRingPulse 2s ease-in-out infinite 0.5s;
}

@keyframes vsBadgeFire {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 20px rgba(255, 75, 92, 0.5),
      0 0 50px rgba(255, 75, 92, 0.2);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      0 0 30px rgba(255, 75, 92, 0.7),
      0 0 70px rgba(255, 138, 61, 0.3),
      0 0 100px rgba(255, 75, 92, 0.1);
  }
}

@keyframes vsRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ---- Columns ---- */
.mveu-vs__columns {
  padding: var(--sp-md) var(--sp-xl) var(--sp-xl);
  gap: var(--sp-lg) !important;
  position: relative;
  z-index: 2;
}

.mveu-vs__col {
  padding: var(--sp-xl) !important;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.mveu-vs__col:hover {
  transform: translateY(-3px);
}

/* Column A — Blue side */
.mveu-vs__col--a {
  background: linear-gradient(165deg, rgba(60, 59, 110, 0.15) 0%, rgba(60, 59, 110, 0.05) 100%);
  border: 1px solid rgba(60, 59, 110, 0.2);
  border-top: 3px solid var(--usa-blue);
}

.mveu-vs__col--a:hover {
  box-shadow: 0 8px 30px rgba(60, 59, 110, 0.2), 0 0 40px rgba(60, 59, 110, 0.08);
}

/* Ambient glow inside blue column */
.mveu-vs__col--a::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(87, 113, 245, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Column B — Red side */
.mveu-vs__col--b {
  background: linear-gradient(165deg, rgba(178, 34, 52, 0.15) 0%, rgba(178, 34, 52, 0.05) 100%);
  border: 1px solid rgba(178, 34, 52, 0.2);
  border-top: 3px solid var(--usa-red);
}

.mveu-vs__col--b:hover {
  box-shadow: 0 8px 30px rgba(178, 34, 52, 0.2), 0 0 40px rgba(178, 34, 52, 0.08);
}

.mveu-vs__col--b::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- List items ---- */
.mveu-vs__col li {
  padding: 0.75em 0 0.75em 2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  list-style: none;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-sm);
  transition: padding-left 0.3s var(--ease-out), color 0.3s;
}

.mveu-vs__col li:hover {
  padding-left: 2.3em;
  color: white;
}

.mveu-vs__col li:last-child { border-bottom: none; }

/* Blue bullets */
.mveu-vs__col--a li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--usa-blue);
  box-shadow: 0 0 8px rgba(60, 59, 110, 0.6);
  transition: box-shadow 0.3s;
}

.mveu-vs__col--a li:hover::before {
  box-shadow: 0 0 14px rgba(87, 113, 245, 0.9);
}

/* Red bullets */
.mveu-vs__col--b li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--usa-red);
  box-shadow: 0 0 8px rgba(178, 34, 52, 0.6);
  transition: box-shadow 0.3s;
}

.mveu-vs__col--b li:hover::before {
  box-shadow: 0 0 14px rgba(230, 57, 70, 0.9);
}

/* ---- Verdict ---- */
.mveu-vs__verdict {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(212, 168, 85, 0.08), rgba(212, 168, 85, 0.04));
  padding: var(--sp-lg) var(--sp-xl) !important;
  margin: 0 var(--sp-xl) var(--sp-xl) !important;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 85, 0.15);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8) !important;
}

.mveu-vs__verdict strong {
  color: var(--c-gold);
}


/* ==========================================================================
   2. TABLA DE INGREDIENTES / REQUISITOS
   ========================================================================== */
.mveu-recipe-card {
  margin: var(--sp-2xl) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-gray-200);
}

.mveu-recipe-card__header {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--usa-blue) 100%);
  padding: var(--sp-lg) var(--sp-xl) !important;
  align-items: center;
}

.mveu-recipe-card__title {
  color: white !important;
  margin: 0 !important;
  font-size: var(--fs-md) !important;
}

.mveu-recipe-card__meta {
  color: rgba(255,255,255,0.7) !important;
  margin: 0 !important;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.mveu-recipe-card__body {
  padding: var(--sp-xl);
}

.mveu-recipe-card__col h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gray-500);
  margin-bottom: var(--sp-sm) !important;
}

/* Checklist styles */
.mveu-checklist {
  list-style: none !important;
  padding-left: 0 !important;
}

.mveu-checklist li {
  position: relative;
  padding: 0.6em 0 0.6em 2.2em;
  border-bottom: 1px solid var(--c-gray-100);
  font-size: var(--fs-sm);
}

.mveu-checklist li:last-child { border-bottom: none; }

.mveu-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--usa-blue);
  background: white;
}

.mveu-checklist li::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 0.55em;
  font-size: 14px;
  font-weight: 700;
  color: var(--usa-blue);
  opacity: 0;
  transition: opacity 0.2s;
}

.mveu-checklist li:hover::after { opacity: 1; }

.mveu-checklist--tips li::before {
  border-color: var(--c-gold);
  border-radius: 50%;
}

.mveu-checklist--tips li::after {
  content: '★';
  color: var(--c-gold);
  left: 4px;
  top: 0.6em;
  font-size: 12px;
  opacity: 1;
}


/* ==========================================================================
   3. LISTADO ESPECTACULAR
   ========================================================================== */
.mveu-fancy-list {
  margin: var(--sp-2xl) 0;
}

.mveu-fancy-list__title {
  font-size: var(--fs-lg) !important;
  margin-bottom: var(--sp-xl) !important;
}

.mveu-fancy-list__item {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-xl) !important;
  margin-bottom: var(--sp-md) !important;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-100);
  gap: var(--sp-xl) !important;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.mveu-fancy-list__item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.mveu-fancy-list__num {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl) !important;
  font-weight: 900;
  background: linear-gradient(135deg, var(--usa-blue), var(--usa-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1 !important;
  margin: 0 !important;
  min-width: 56px;
  flex-shrink: 0;
}

.mveu-fancy-list__content {
  flex: 1;
}

.mveu-fancy-list__content h4 {
  margin-bottom: 0.3em !important;
  font-size: var(--fs-base) !important;
}

.mveu-fancy-list__content p {
  color: var(--c-text-light);
  font-size: var(--fs-sm);
  margin: 0 !important;
}


/* ==========================================================================
   4 & 5. GALERÍA POLAROID + POLAROID INDIVIDUAL
   ========================================================================== */
.mveu-polaroid-gallery {
  margin: var(--sp-2xl) 0;
  padding: var(--sp-2xl) var(--sp-xl);
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(0,0,0,0.015) 20px,
      rgba(0,0,0,0.015) 21px
    ),
    linear-gradient(135deg, var(--c-cream) 0%, var(--c-offwhite) 100%);
  border-radius: var(--radius-xl);
}

.mveu-polaroid {
  background: white;
  padding: 12px 12px 0 12px !important;
  border-radius: 2px;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.08),
    0 12px 40px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.4s var(--ease-out);
}

/* Tape effect */
.mveu-polaroid::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  height: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 235, 170, 0.85) 0%,
    rgba(240, 215, 140, 0.75) 100%
  );
  border-radius: 1px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  /* Tape texture */
  backdrop-filter: blur(1px);
  border: 1px solid rgba(200, 180, 100, 0.3);
}

/* Slight random rotation for organic feel */
.mveu-polaroid-gallery__row .wp-block-column:nth-child(1) .mveu-polaroid { transform: rotate(-2.5deg); }
.mveu-polaroid-gallery__row .wp-block-column:nth-child(2) .mveu-polaroid { transform: rotate(1.8deg); }
.mveu-polaroid-gallery__row .wp-block-column:nth-child(3) .mveu-polaroid { transform: rotate(-1.2deg); }

.mveu-polaroid-gallery__row .wp-block-column:nth-child(1) .mveu-polaroid:hover { transform: rotate(0deg) scale(1.04); }
.mveu-polaroid-gallery__row .wp-block-column:nth-child(2) .mveu-polaroid:hover { transform: rotate(0deg) scale(1.04); }
.mveu-polaroid-gallery__row .wp-block-column:nth-child(3) .mveu-polaroid:hover { transform: rotate(0deg) scale(1.04); }

.mveu-polaroid__img {
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.mveu-polaroid__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0 !important;
}

.mveu-polaroid__caption {
  font-family: 'Segoe Print', 'Comic Sans MS', 'Caveat', cursive;
  font-size: 0.85rem !important;
  color: var(--c-gray-600);
  text-align: center;
  padding: 14px 8px 16px;
  margin: 0 !important;
  line-height: 1.3;
}

/* Single polaroid — centered, max width */
.mveu-polaroid--single {
  max-width: 380px;
  margin: var(--sp-2xl) auto;
  transform: rotate(-1.5deg);
}

.mveu-polaroid--single:hover { transform: rotate(0deg) scale(1.03); }


/* ==========================================================================
   6. BLOQUE DE CURIOSIDAD — SPECTACULAR
   ========================================================================== */
.mveu-funfact {
  margin: var(--sp-2xl) 0;
  padding: var(--sp-2xl) var(--sp-2xl) var(--sp-xl);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(87, 113, 245, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(178, 34, 52, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, #0a0e1a 0%, #111633 40%, #1a1040 70%, #0d0a1f 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(212, 168, 85, 0.15);
  box-shadow:
    0 0 40px rgba(87, 113, 245, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Animated starfield */
.mveu-funfact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 15%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 25% 80%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 45% 25%, rgba(212,168,85,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(2px 2px at 75% 10%, rgba(212,168,85,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 55%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 95% 85%, rgba(87,113,245,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 35% 45%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 55% 90%, rgba(212,168,85,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 35%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 65%, rgba(87,113,245,0.3) 50%, transparent 50%);
  animation: funfactTwinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes funfactTwinkle {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Floating orb glow */
.mveu-funfact::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 168, 85, 0.2) 0%, rgba(212, 168, 85, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: funfactOrb 6s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes funfactOrb {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-20px, 15px) scale(1.15); opacity: 1; }
}

.mveu-funfact__icon {
  font-size: 3rem !important;
  margin-bottom: var(--sp-sm) !important;
  line-height: 1 !important;
  position: relative;
  z-index: 1;
  display: inline-block;
  animation: funfactBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(212, 168, 85, 0.4));
}

@keyframes funfactBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-5px) rotate(-3deg); }
  75%  { transform: translateY(-3px) rotate(2deg); }
}

.mveu-funfact__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg) !important;
  font-weight: 800;
  margin-bottom: var(--sp-md) !important;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light), var(--c-gold));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: funfactShimmer 3s ease-in-out infinite;
}

@keyframes funfactShimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: -100% 50%; }
}

.mveu-funfact__text {
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: rgba(255,255,255,0.92) !important;
  position: relative;
  z-index: 1;
  padding-left: var(--sp-lg);
  border-left: 3px solid rgba(212, 168, 85, 0.25);
}

.mveu-funfact__source {
  font-size: var(--fs-xs) !important;
  color: rgba(255,255,255,0.35) !important;
  font-style: italic;
  margin-top: var(--sp-lg) !important;
  position: relative;
  z-index: 1;
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}


/* ==========================================================================
   7. POST-IT / NOTA ADHESIVA
   ========================================================================== */
.mveu-postit {
  max-width: 420px;
  margin: var(--sp-2xl) auto;
  padding: var(--sp-xl) var(--sp-xl) var(--sp-lg) !important;
  background: linear-gradient(135deg, #fff9b1 0%, #fff176 100%);
  border-radius: 2px 2px 2px 20px;
  box-shadow:
    3px 3px 0 rgba(0,0,0,0.03),
    0 8px 30px rgba(0,0,0,0.1),
    inset 0 -3px 6px rgba(0,0,0,0.04);
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform 0.3s var(--ease-out);
}

.mveu-postit:hover { transform: rotate(0deg) scale(1.02); }

/* Pin */
.mveu-postit::before {
  content: '📌';
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transform: rotate(15deg);
  z-index: 2;
}

/* Folded corner */
.mveu-postit::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #fff176 50%, transparent 50%);
  box-shadow: -2px -2px 4px rgba(0,0,0,0.05);
}

.mveu-postit__text {
  font-family: 'Segoe Print', 'Comic Sans MS', cursive;
  font-size: 0.92rem !important;
  color: #5d4e37 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}


/* ==========================================================================
   8. ALERTA / AVISO IMPORTANTE
   ========================================================================== */
.mveu-alert {
  margin: var(--sp-2xl) 0;
  padding: var(--sp-xl) var(--sp-2xl) !important;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--usa-red);
  position: relative;
  overflow: hidden;
}

.mveu-alert::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(178, 34, 52, 0.04) 8px,
    rgba(178, 34, 52, 0.04) 16px
  );
  pointer-events: none;
}

.mveu-alert__title {
  color: var(--usa-red) !important;
  font-size: var(--fs-md) !important;
  margin-bottom: var(--sp-sm) !important;
}

.mveu-alert p:last-child {
  margin-bottom: 0 !important;
}


/* ==========================================================================
   9. CONSEJO PRO
   ========================================================================== */
.mveu-protip {
  margin: var(--sp-2xl) 0;
  padding: var(--sp-xl) var(--sp-2xl) !important;
  background: linear-gradient(135deg, var(--c-surface) 0%, #fffbf0 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 168, 85, 0.3);
  border-left: 5px solid var(--c-gold);
  position: relative;
}

.mveu-protip::after {
  content: '💎';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(212, 168, 85, 0.4));
}

.mveu-protip__label {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs) !important;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold) !important;
  margin-bottom: var(--sp-sm) !important;
}

.mveu-protip p:last-child { margin-bottom: 0 !important; }


/* ==========================================================================
   10. CITA EDITORIAL
   ========================================================================== */
.mveu-pullquote {
  margin: var(--sp-2xl) 0;
  padding: var(--sp-2xl) var(--sp-2xl) var(--sp-xl) !important;
  position: relative;
  text-align: center;
}

.mveu-pullquote::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--usa-blue);
  opacity: 0.1;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.mveu-pullquote__text {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg) !important;
  font-weight: 600;
  font-style: italic;
  line-height: var(--lh-snug) !important;
  color: var(--c-navy) !important;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto var(--sp-md) !important;
}

.mveu-pullquote__author {
  font-size: var(--fs-sm) !important;
  color: var(--c-gray-500) !important;
  letter-spacing: 0.05em;
}

.mveu-pullquote__author::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--usa-blue), var(--usa-red));
  margin: 0 auto var(--sp-sm);
  border-radius: 2px;
}


/* ==========================================================================
   11. TIMELINE / CRONOLOGÍA
   ========================================================================== */
.mveu-timeline {
  margin: var(--sp-2xl) 0;
  padding-left: var(--sp-lg);
}

.mveu-timeline__title {
  margin-bottom: var(--sp-xl) !important;
}

.mveu-timeline__item {
  position: relative;
  padding: 0 0 var(--sp-xl) var(--sp-2xl) !important;
  border-left: 3px solid var(--c-gray-200);
  margin-left: 8px !important;
}

/* Timeline dot */
.mveu-timeline__item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--usa-blue), var(--usa-red));
  box-shadow: 0 0 0 4px var(--c-bg), 0 0 0 5px var(--c-gray-200);
}

/* Pulse on last item */
.mveu-timeline__item:last-child::before {
  animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--c-bg), 0 0 0 5px var(--c-gray-200); }
  50% { box-shadow: 0 0 0 4px var(--c-bg), 0 0 0 8px rgba(60, 59, 110, 0.15); }
}

.mveu-timeline__item:last-child { border-left-style: dashed; }

.mveu-timeline__date {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--usa-red) !important;
  margin-bottom: var(--sp-xs) !important;
}

.mveu-timeline__item h4 {
  margin-bottom: 0.3em !important;
}

.mveu-timeline__item > p:last-child {
  color: var(--c-text-light);
  font-size: var(--fs-sm);
}


/* ==========================================================================
   12. TARJETAS DE ESTADÍSTICAS — EPIC
   ========================================================================== */
.mveu-stats {
  margin: var(--sp-2xl) 0;
  padding: var(--sp-2xl) var(--sp-xl);
  background: linear-gradient(160deg, var(--c-navy) 0%, #0a0f1f 40%, #1a1040 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern overlay */
.mveu-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Ambient glow */
.mveu-stats::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(87, 113, 245, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.mveu-stat {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-xl) !important;
  background: linear-gradient(165deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  backdrop-filter: blur(4px);
}

.mveu-stat:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(212, 168, 85, 0.3);
  box-shadow:
    0 8px 32px rgba(87, 113, 245, 0.15),
    0 0 60px rgba(178, 34, 52, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Top accent line */
.mveu-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.4s, left 0.4s, right 0.4s;
}

.mveu-stat:hover::before {
  opacity: 1;
  left: 10%;
  right: 10%;
}

/* Decorative ring behind number */
.mveu-stat::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.05);
  pointer-events: none;
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}

.mveu-stat:hover::after {
  border-color: rgba(212, 168, 85, 0.12);
  transform: translate(-50%, -60%) rotate(45deg) scale(1.15);
}

.mveu-stat__number {
  font-family: var(--ff-heading);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.5rem) !important;
  font-weight: 900;
  color: white !important;
  -webkit-text-fill-color: unset;
  line-height: 1 !important;
  margin-bottom: var(--sp-sm) !important;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 30px rgba(212, 168, 85, 0.25);
  transition: text-shadow 0.4s;
}

.mveu-stat:hover .mveu-stat__number {
  text-shadow:
    0 0 40px rgba(212, 168, 85, 0.4),
    0 0 80px rgba(87, 113, 245, 0.15);
}

.mveu-stat__label {
  font-family: var(--ff-body);
  font-size: var(--fs-xs) !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 !important;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.mveu-stat:hover .mveu-stat__label {
  color: var(--c-gold) !important;
}


/* ==========================================================================
   13. GLOSARIO / DICCIONARIO
   ========================================================================== */
.mveu-glossary {
  margin: var(--sp-2xl) 0;
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl) !important;
  box-shadow: var(--shadow-md);
}

.mveu-glossary__title {
  margin-bottom: var(--sp-xl) !important;
  padding-bottom: var(--sp-md);
  border-bottom: 2px solid var(--c-gray-100);
}

.mveu-glossary__item {
  padding: var(--sp-lg) 0 !important;
  border-bottom: 1px dashed var(--c-gray-200);
}

.mveu-glossary__item:last-child { border-bottom: none; }

.mveu-glossary__term {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: var(--fs-md) !important;
  color: var(--usa-blue) !important;
  margin-bottom: var(--sp-xs) !important;
}

.mveu-glossary__term span {
  font-weight: 400;
  font-size: var(--fs-sm);
  color: var(--c-gray-400);
}

.mveu-glossary__def {
  font-size: var(--fs-sm);
  color: var(--c-text-light) !important;
  margin: 0 !important;
  padding-left: var(--sp-lg);
  border-left: 3px solid var(--c-gray-100);
}


/* ==========================================================================
   14. ANTES Y DESPUÉS — EPIC SPLIT SCREEN
   ========================================================================== */
.mveu-before-after {
  margin: var(--sp-2xl) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #0a0e1a 0%, #0f1529 100%);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Top label bar */
.mveu-before-after::before {
  content: 'EXPECTATIVA vs REALIDAD';
  display: block;
  text-align: center;
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: var(--sp-md) var(--sp-lg);
  background: linear-gradient(90deg,
    rgba(34, 197, 94, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(230, 57, 70, 0.1) 100%
  );
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mveu-before-after .wp-block-columns {
  margin: 0 !important;
  gap: 0 !important;
  position: relative;
}

/* Central clash divider */
.mveu-before-after .wp-block-columns::before {
  content: '⚡';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f1529 100%);
  border-radius: 50%;
  border: 2px solid rgba(212, 168, 85, 0.3);
  box-shadow:
    0 0 20px rgba(212, 168, 85, 0.2),
    0 0 50px rgba(0, 0, 0, 0.4);
  animation: clashPulse 2.5s ease-in-out infinite;
}

/* Vertical line behind clash icon */
.mveu-before-after .wp-block-columns::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(212, 168, 85, 0.2) 20%,
    rgba(212, 168, 85, 0.3) 50%,
    rgba(212, 168, 85, 0.2) 80%,
    transparent 100%
  );
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

@keyframes clashPulse {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(212, 168, 85, 0.2),
      0 0 50px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0 30px rgba(212, 168, 85, 0.4),
      0 0 60px rgba(212, 168, 85, 0.1),
      0 0 80px rgba(0, 0, 0, 0.3);
  }
}

/* ---- Columns ---- */
.mveu-before-after__col {
  padding: var(--sp-2xl) var(--sp-2xl) !important;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

/* Green side — Before / Expectation */
.mveu-before-after__col--before {
  background: linear-gradient(165deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.02) 100%);
  border-bottom: none;
  border-right: none;
}

/* Ambient glow */
.mveu-before-after__col--before::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle side accent */
.mveu-before-after__col--before::after {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.4), transparent);
  border-radius: 2px;
}

.mveu-before-after__col--before:hover {
  background: linear-gradient(165deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.04) 100%);
}

/* Red side — After / Reality */
.mveu-before-after__col--after {
  background: linear-gradient(165deg, rgba(230, 57, 70, 0.08) 0%, rgba(230, 57, 70, 0.02) 100%);
  border-bottom: none;
}

.mveu-before-after__col--after::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.mveu-before-after__col--after::after {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  right: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, rgba(230, 57, 70, 0.4), transparent);
  border-radius: 2px;
}

.mveu-before-after__col--after:hover {
  background: linear-gradient(165deg, rgba(230, 57, 70, 0.12) 0%, rgba(230, 57, 70, 0.04) 100%);
}

/* ---- Labels ---- */
.mveu-before-after__label {
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: var(--fs-lg) !important;
  margin-bottom: var(--sp-lg) !important;
  padding-bottom: var(--sp-md);
  position: relative;
}

.mveu-before-after__col--before .mveu-before-after__label {
  color: #4ade80 !important;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}

.mveu-before-after__col--after .mveu-before-after__label {
  color: #ff6b7a !important;
  text-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
  border-bottom: 1px solid rgba(230, 57, 70, 0.15);
}

/* ---- Body text ---- */
.mveu-before-after__col p:not(.mveu-before-after__label) {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
}

.mveu-before-after__col p:last-child { margin-bottom: 0 !important; }


/* ==========================================================================
   15. RESUMEN / KEY TAKEAWAYS
   ========================================================================== */
.mveu-takeaways {
  margin: var(--sp-2xl) 0;
  padding: var(--sp-2xl) !important;
  background: linear-gradient(135deg, var(--c-navy) 0%, #1a1940 50%, var(--usa-blue) 100%);
  border-radius: var(--radius-xl);
  color: white;
  position: relative;
  overflow: hidden;
}

.mveu-takeaways::before {
  content: '🎯';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  opacity: 0.15;
  pointer-events: none;
}

.mveu-takeaways__title {
  color: white !important;
  font-size: var(--fs-lg) !important;
  margin-bottom: var(--sp-lg) !important;
}

.mveu-takeaways__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mveu-takeaways__list li {
  position: relative;
  padding: var(--sp-md) 0 var(--sp-md) 2em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-sm);
}

.mveu-takeaways__list li:last-child { border-bottom: none; }

.mveu-takeaways__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--c-gold);
  font-weight: 700;
  font-size: 1.1em;
}

.mveu-takeaways__list li strong {
  color: var(--c-gold);
}


/* ==========================================================================
   RESPONSIVE — All patterns
   ========================================================================== */
@media (max-width: 768px) {

  /* VS */
  .mveu-vs__header { flex-direction: column !important; gap: var(--sp-sm) !important; padding: var(--sp-xl) var(--sp-md) var(--sp-md) !important; }
  .mveu-vs__badge { width: 52px; height: 52px; font-size: var(--fs-lg); }
  .mveu-vs__columns { flex-direction: column !important; padding: var(--sp-md) !important; }
  .mveu-vs__col { margin-bottom: var(--sp-md); }
  .mveu-vs::after { display: none; }
  .mveu-vs__verdict { margin: 0 var(--sp-md) var(--sp-md) !important; }

  /* Recipe card */
  .mveu-recipe-card__header { flex-direction: column !important; gap: var(--sp-sm) !important; }
  .mveu-recipe-card__body { flex-direction: column !important; }

  /* Fancy list */
  .mveu-fancy-list__item { flex-direction: column !important; gap: var(--sp-sm) !important; }
  .mveu-fancy-list__num { font-size: var(--fs-lg) !important; }

  /* Polaroid gallery */
  .mveu-polaroid-gallery__row { flex-direction: column !important; gap: var(--sp-xl) !important; }
  .mveu-polaroid-gallery__row .mveu-polaroid { max-width: 300px; margin: 0 auto; }

  /* Post-it */
  .mveu-postit { max-width: 100%; }

  /* Stats */
  .mveu-stats .wp-block-columns { flex-direction: column !important; }
  .mveu-stat { margin-bottom: var(--sp-md); }
  .mveu-stats { padding: var(--sp-xl) var(--sp-md); }

  /* Before/after */
  .mveu-before-after .wp-block-columns { flex-direction: column !important; }
  .mveu-before-after .wp-block-columns::before { top: auto; bottom: 50%; left: 50%; transform: translate(-50%, 50%); }
  .mveu-before-after .wp-block-columns::after {
    top: auto; bottom: 50%; left: 0; right: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,85,0.3), transparent);
    transform: none;
  }
  .mveu-before-after__col { padding: var(--sp-xl) var(--sp-lg) !important; }
  .mveu-before-after__col--before::after,
  .mveu-before-after__col--after::after { display: none; }

  /* Timeline */
  .mveu-timeline { padding-left: var(--sp-xs); }
  .mveu-timeline__item { padding-left: var(--sp-xl) !important; }

  /* General spacing reduction */
  .mveu-funfact,
  .mveu-alert,
  .mveu-protip,
  .mveu-pullquote,
  .mveu-glossary,
  .mveu-takeaways {
    padding: var(--sp-lg) !important;
  }

}
