.videos-section {
  display: flex;
  justify-content: space-between;
  min-height: 75vh;
  padding: 2rem 0;
  width: 100%;
}

.video-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease;
  min-width: 0;
  opacity: 0.8;
}

.video-container.is-playing,
.video-container:hover {
  opacity: 1;
}

.video-container.expanded {
  flex: 3;
  opacity: 1;
}

.video-wrapper {
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #0002;
}

video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: default;
}

.video-description {
  flex: 1;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 1rem;
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
  transition: all 0.3s ease;
  z-index: 2;
  font-size: 1.2rem;
}

.video-container.expanded video {
  object-fit: contain;
}

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

/* Media Queries para móviles */
@media screen and (max-width: 768px) {
  .videos-section {
    flex-direction: column;
    min-height: auto;
    padding: 1rem;
  }

  .video-container {
    flex-direction: column;
    height: auto;
    margin-bottom: 2rem;
    width: 93%;
  }

  .video-wrapper {
    height: 50vh;
  }

  .video-description {
    padding: 1rem 0;
  }

  .video-container.expanded {
    flex: 1;
  }
}

/* Media Query para tablets */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .videos-section {
    padding: 1.5rem;
  }

  .video-container {
    flex-direction: column;
  }

  .video-description {
    padding: 0.8rem;
  }
}

/* Media Query para pantallas ultrawide (2560x1080) */
@media screen and (min-width: 2560px) and (max-height: 1080px) {
  .videos-section {
    max-width: 2000px;
    margin: 0 auto;
    min-height: 60vh;
  }

  .video-container {
    height: 60vh;
  }

  .video-description {
    padding: 2rem;
  }

  .video-description h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .video-description p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

/* Media Query para pantallas ultrawide QHD (2560x1440) */
@media screen and (min-width: 2560px) and (min-height: 1440px) {
  .videos-section {
    max-width: 2200px;
    margin: 0 auto;
    min-height: 70vh;
  }

  .video-container {
    height: 70vh;
  }

  .video-description {
    padding: 2.5rem;
  }

  .video-description h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .video-description p {
    font-size: 1.4rem;
    line-height: 1.8;
  }
}

/* Ajustes comunes para pantallas ultrawide */
@media screen and (min-width: 2560px) {
  .video-container:hover video {
    transform: scale(1.03);
  }

  .video-container.expanded {
    flex: 4;
  }

  .video-wrapper {
    border-radius: 12px;
  }

  .video-description {
    border-radius: 8px;
    background: rgba(0,0,0,0.5);
  }
}

.video-iframe-container {
  position: relative;
  width: 97%;
  padding-bottom: 56.25%; /* Mantiene aspect ratio 16:9 */
  height: 0;
  overflow: hidden;
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Media queries para ajustar tamaños */
@media screen and (max-width: 768px) {
  .video-iframe-container {
    padding-bottom: 75%; /* Más alto en móviles */
  }
}

@media screen and (min-width: 2560px) {
  .video-iframe-container {
    max-width: 1920px; /* Limitar ancho máximo */
    margin: 0 auto;
  }
}

.download-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    font-size: 16px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #45a049;
}

.presidencia-section .content-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.presidencia-section h1 {
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 2.5em;
    text-transform: uppercase;
}