/* Gaceta CUC - Seccion multimedia */

.gaceta-videos {
  --gv-blue: #1766a3;
  background: #101b2d;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0 32px;
  font-family: inherit;
}

/* Video destacado */

.gaceta-videos .gv-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
}

.gaceta-videos .gv-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.gaceta-videos .gv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 34, 65, .82),
    rgba(35, 25, 65, .65),
    rgba(16, 27, 45, .96)
  );
  z-index: -1;
}

.gaceta-videos .gv-featured {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 16px;
}

.gaceta-videos .gv-section-label {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.gaceta-videos .gv-title {
  color: #fff;
  font-size: clamp(25px, 3.5vw, 44px);
  font-weight: 750;
  line-height: 1.2;
  max-width: 850px;
  margin: 0;
}

.gaceta-videos .gv-date,
.gaceta-videos .gv-card-date {
  color: #c4cedc;
  font-size: 13px;
}

/* Categorias editoriales */

.gaceta-videos .gv-category {
  display: inline-block;
  align-self: flex-start;
  background: #546579;
  color: #fff;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.gaceta-videos .gv-featured .gv-category {
  align-self: center;
  font-size: 12px;
}

.gaceta-videos .gv-category-78 {
  background: #c62828;
}

.gaceta-videos .gv-category-79 {
  background: #e5b900;
}

.gaceta-videos .gv-category-80 {
  background: #1766a3;
}

.gaceta-videos .gv-category-81 {
  background: #9333a8;
}

.gaceta-videos .gv-category-82 {
  background: #007f91;
}

.gaceta-videos .gv-category-83 {
  background: #e07824;
}

/* Boton de reproduccion */

.gaceta-videos .gv-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .2s;
  margin-top: 8px;
}

.gaceta-videos .gv-play:hover {
  background: var(--gv-blue);
  transform: scale(1.08);
}

.gaceta-videos .gv-play svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

/* Reproductor integrado */

.gaceta-videos .gv-player {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 5;
}

.gaceta-videos .gv-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.gaceta-videos .gv-player[hidden] {
  display: none !important;
}

/* Slider inferior */

.gaceta-videos .gv-bottom {
  padding: 24px 30px 30px;
  background: #101b2d;
}

.gaceta-videos .gv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.gaceta-videos .gv-toolbar h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.gaceta-videos .gv-controls {
  display: flex;
  gap: 8px;
}

.gaceta-videos .gv-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 5px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.gaceta-videos .gv-controls button:hover {
  background: var(--gv-blue);
}

.gaceta-videos .gv-controls button:disabled {
  opacity: .35;
  cursor: default;
}

.gaceta-videos .gv-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gaceta-videos .gv-track::-webkit-scrollbar {
  display: none;
}

.gaceta-videos .gv-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background .2s;
}

.gaceta-videos .gv-card:hover,
.gaceta-videos .gv-card.is-active {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

.gaceta-videos .gv-card-image {
  position: relative;
  flex: 0 0 42%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 5px;
}

.gaceta-videos .gv-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gaceta-videos .gv-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, .65);
  border-radius: 50%;
  color: #fff;
}

.gaceta-videos .gv-card-play svg {
  width: 18px;
  height: 18px;
}

.gaceta-videos .gv-card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}

.gaceta-videos .gv-card-title {
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gaceta-videos button:focus-visible {
  outline: 2px solid #8dc8ff;
  outline-offset: -2px;
}

/* Tabletas */

@media (max-width: 991px) {
  .gaceta-videos .gv-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .gaceta-videos .gv-hero,
  .gaceta-videos .gv-featured {
    min-height: 380px;
  }
}

/* Celulares */

@media (max-width: 575px) {
  .gaceta-videos {
    border-radius: 8px;
  }

  .gaceta-videos .gv-hero,
  .gaceta-videos .gv-featured {
    min-height: 350px;
  }

  .gaceta-videos .gv-featured {
    padding: 25px 18px;
    gap: 12px;
  }

  .gaceta-videos .gv-bottom {
    padding: 18px 15px;
  }

  .gaceta-videos .gv-card {
    flex-basis: 90%;
  }

  .gaceta-videos .gv-play {
    width: 60px;
    height: 60px;
  }

  .gaceta-videos .gv-section-label {
    font-size: 11px;
    letter-spacing: 2px;
  }
}

/* Boton para cerrar el reproductor */

.gaceta-videos .gv-close-player {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(0, 0, 0, .85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.gaceta-videos .gv-close-player::before {
  content: "\00D7";
  font-size: 22px;
  line-height: 1;
}

.gaceta-videos .gv-close-player:hover {
  background: #c62828;
}


/* Carrusel multimedia de ancho completo */

#content3.gaceta-section {
  padding-left: 0;
  padding-right: 0;
}

#content3 > .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

#content3 .gaceta-videos {
  width: 100%;
  max-width: none;
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
}

#content3 .gv-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

#content3 .gv-hero,
#content3 .gv-featured {
  min-height: clamp(350px, 32vw, 600px);
}

#content3 h2:not(.gv-title) {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 767px) {
  #content3 .gv-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
}

