/* Hero Section */
.metaforas-hero {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: 0;
}
body{
  background-color: #ECF1F8 !important;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/Imagenes de alta resolucion/metaforas-portada.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 2;
}

.hero-title-overlay {
  position: absolute;
  z-index: 3;
  background-color: #F7AD3E !important;
  width: 732px;
  height: 184px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 40px 0 40px;
  border: 6px solid #142139;
  box-shadow: 8px 8px 0 #142139;
  bottom: 240px;
  left: 240px;
}

.metaforas-page-title {
  font-family: 'Switzer', sans-serif !important;
  font-size: 80px !important;
  font-weight: 600 !important;
  color: #142139 !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.1 !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Sección de contenido */
.metaforas-content {
  background: #ECF1F8;
  padding: 220px 0;
}

.section-title {
  font-family: 'Switzer', Arial, sans-serif;
  font-size: 64px !important;
  font-weight: 600;
  color: #072A40;
  text-align: left;
  margin-bottom: 80px !important;
  margin-left: 100px !important;
}

.content-text {
  font-family: 'Switzer', Arial, sans-serif;
  font-size: 24px !important;
  font-weight: 400;
  color: #142139;
  line-height: 33.6px;
  text-align: left !important;
  margin: 0;
  margin-left: 100px;
  letter-spacing: 0;
  width: 512px !important;
  margin-right: 112px !important;
}

.content-text-2 {
  font-family: 'Switzer', Arial, sans-serif;
  font-size: 32px !important;
  font-weight: 400;
  color: #142139;
  line-height: 44.8px;
  text-align: left !important;
  margin: 0;
  margin-left: 100px;
  letter-spacing: 0;
  width: 512px !important;
  max-width: 512px !important;
  margin-right: 112px !important;
}

.content-text-center {
  font-family: 'Switzer', Arial, sans-serif;
  font-size: 40px !important;
  font-weight: 600;
  color: #2D3139;
  line-height: 44.8px;
  text-align: center;
  margin: 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.highlight-text {
  color: #118439 !important;
  font-weight: 700 !important;
}

.highlight-text-orange {
  color: #F8AF40 !important;
  font-weight: 700 !important;
  font-size: inherit !important;
}

.content-image-card {
  position: relative;
  border-radius: 15px;
  overflow: visible;
  border: 4px solid #072A40;
  box-shadow: -4px 4px 0 #072A40;
  height: 586px;
  width: 586px;
  background: #f8f8f8;
}

.content-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #ffffff;
  border-radius: 11px;
  overflow: hidden;
}

.content-label {
  position: relative;
  bottom: 40px;
  left: -96px;
  background-color: #F8AF40;
  color: #092C44;
  font-family: 'Switzer', sans-serif;
  font-size: 24px;
  font-weight: 600;
  padding: 8px 40px;
  border-radius: 8px;
  border: 4px solid #072A40;
  box-shadow: -4px 4px 0 #072A40;
  z-index: 10;
}

.content-label-2 {
  position: relative;
  bottom: 40px;
  left: -96px;
  background-color: #F8AF40;
  color: #092C44;
  font-family: 'Switzer', sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 4px solid #072A40;
  box-shadow: -4px 4px 0 #072A40;
  z-index: 10;
  width: 268px  !important;
}

.section-divider {
  width: 100vw;
  height: 4px;
  background-color: #072A40;
  margin: 60px 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.section-divider {
  width: calc(100vw - 480px);
  height: 2px;
  background-color: #072A40;
  margin: 178px auto 178px auto;
}

.section-divider-bottom {
  width: calc(100vw - 480px);
  height: 2px;
  background-color: #072A40;
  margin: 60px auto 60px auto;
}

.content-separator {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #E0E0E0, transparent);
  margin: 60px 0;
}

/* Sección de video */
.video-section {
  background: #9AD1F5;
  padding: 80px 0;
}

.video-description {
  font-family: 'Switzer', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #072A40;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Banner de descripción del video */
.video-section .video-description-banner {
  padding: 30px !important;
  margin: 30px 0 !important;
  text-align: center !important;
  display: block !important;
}

.video-section .video-description-banner .video-description {
  font-size: 56px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #2c3e50 !important;
  margin: 0 !important;
  text-align: center !important;
  font-family: 'Switzer', sans-serif !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.video-section .video-description-banner .highlight-text {
  color: #118439 !important;
  font-weight: 600 !important;
  font-size: inherit !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Contenedor de ancho completo para el video */
.full-width-video-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  overflow-x: auto; /* Permite scroll horizontal en pantallas pequeñas */
}

.video-container {
  max-width: 960px;
  width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-shrink: 1;
}

.video-placeholder {
  position: relative;
  background: url('/assets/Imagenes de alta resolucion/video_placeholder.jpg') center/cover no-repeat;
  background-color: #f0f0f0;
  height: 864px;
  width: 1440px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(7, 42, 64, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: rgba(7, 42, 64, 1);
  transform: scale(1.1);
}

.play-button i {
  color: #FFFFFF;
  font-size: 30px;
  margin-left: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .metaforas-hero {
    height: 250px;
    margin-top: 100px;
  }
  
  .metaforas-page-title {
    font-size: 36px;
  }
  
  .hero-title-overlay {
    padding: 15px 40px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .content-text,
  .content-text-center {
    font-size: 15px;
  }
  
  .video-description {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .metaforas-hero {
    height: 200px;
    margin-top: 80px;
  }
  
  .metaforas-page-title {
    font-size: 28px;
  }
  
  .hero-title-overlay {
    padding: 10px 25px;
  }
  
  .metaforas-content {
    padding: 50px 20px;
  }
  
  .video-section {
    padding: 50px 20px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .content-text,
  .content-text-center {
    font-size: 14px;
    text-align: left;
  }
  
  .video-description {
    font-size: 18px;
  }
  
  .video-placeholder {
    height: 250px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-button i {
    font-size: 24px;
  }
}

/* Make embedded iframes responsive and contained */
.video-embed iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  max-width: 100%;
  display: block;
}

.full-width-video-container {
  padding: 0 20px; /* small side padding on very small screens */
  box-sizing: border-box;
}