/*
 * Reglas específicas del hero de la Página de Inicio.
 * Copiadas tal cual del <style> que index.html traía en su <head>
 * (marco de imagen del lado derecho del hero-slider + versión móvil).
 */
.hero-slide-content {
  flex: 0 0 38% !important;
  max-width: 38% !important;
}
.hero-slide-deco {
  flex: 1 1 62% !important;
  max-width: 62% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 4%;
}
.hero-deco-frame {
  position: relative;
  width: 100%;
  height: 65%;
  border-radius: 20px;
  border: 4px solid var(--slide-accent, #E31212);
  box-shadow: 0 0 60px var(--slide-glow, rgba(227,18,18,0.35)), 8px 8px 0 rgba(0,0,0,0.5);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  z-index: 1;
}
.hero-deco-frame img,
.hero-deco-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-deco-frame-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-family: var(--font-body, 'Nunito', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.25);
}
@media (max-width: 900px) {
  .hero-deco-frame {
    border-radius: 14px;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
  .hero-slide-content {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 1.4rem !important;
    padding-right: 1.4rem !important;
    padding-top: 1.5rem !important;
    margin: 0 !important;
  }
  .hero-slide-deco {
    display: none !important;
  }
}

.hero-mobile-photo { display: none; }
@media (max-width: 900px) {
  .hero-mobile-photo {
    display: block;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    aspect-ratio: 16/9;
    border-radius: 14px;
    border: 4px solid var(--slide-accent, #E31212);
    box-shadow: 0 0 40px var(--slide-glow, rgba(227,18,18,0.35)), 6px 6px 0 rgba(0,0,0,0.5);
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    margin: 1.5rem 0 0.5rem;
  }
  .hero-mobile-photo img,
  .hero-mobile-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}
