
/* TABOLEIROS */
.taboleiros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.taboleiro-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  background: #fff;
}

.taboleiro-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.taboleiro-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
}

.taboleiro-card-content h3 {
  margin: 0;
}

.taboleiro-card-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  background: #005284;
  color: #fff;
  text-decoration: none;
}

.taboleiro-card-button:hover,
.taboleiro-card-button:focus {
  color: #fff;
  opacity: .85;
}

.taboleiros-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.taboleiros-pagination .page-numbers {
  padding: 6px 12px;
  border: 1px solid #005284;
  border-radius: 4px;
  color: #005284;
  text-decoration: none;
}

.taboleiros-pagination .page-numbers.current {
  background: #005284;
  color: #fff;
}
/* END TABOLEIROS */

/* DIVULGACION */
.bloque-divulgacion h2 {
  margin-bottom: 20px;
}

.bloque-divulgacion h2 ~ h2 {
  margin-top: 40px;
}

.divulgacion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.divulgacion-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
}

.divulgacion-card h3,
.divulgacion-card p {
  color: #fff;
}

.divulgacion-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.divulgacion-card-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px;
}

.divulgacion-card-content h3 {
  margin: 0;
}

.divulgacion-card-content p {
  margin: 0;
}

.divulgacion-card.sin-imagen .divulgacion-card-content {
  padding: 35px 25px;
}

.divulgacion-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.divulgacion-botones a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
}

.divulgacion-botones a:hover,
.divulgacion-botones a:focus {
  background: #fff;
  color: #000;
}
/* END DIVULGACION */

/* CIUDADES DESTACADAS */
.ciudades-destacadas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ciudades-destacadas-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ciudades-destacadas-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ciudad-destacada {
  position: relative;
  display: block;
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
}

.ciudad-destacada img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.ciudad-destacada-small img {
  min-height: 160px;
}

.ciudad-destacada-wide img {
  min-height: 180px;
}

.ciudad-destacada-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 30px 20px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
  color: #fff;
}

.ciudad-destacada:hover img,
.ciudad-destacada:focus img {
  opacity: .9;
}

@media (max-width: 767px) {
  .ciudades-destacadas,
  .ciudades-destacadas-top {
    grid-template-columns: 1fr;
  }
}
/* END CIUDADES DESTACADAS */

/* GALERIA */
.vp-gallery {
  margin: 0 auto;
}

.vp-gallery-main {
  margin-bottom: 15px;
}

.vp-gallery-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.vp-gallery-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

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

/* Hueco lateral para las flechas: nunca se solapan con las miniaturas. */
.vp-gallery-thumbs {
  padding: 0 45px;
}

.vp-gallery-thumbs .slick-slide {
  margin: 0 5px;
  cursor: pointer;
}

/* La cinta se puede arrastrar: se indica con el cursor. */
.vp-gallery-thumbs .slick-list {
  cursor: grab;
}

.vp-gallery-thumbs .slick-list:active {
  cursor: grabbing;
}

.vp-gallery-thumb {
  position: relative;
  opacity: .45;
  filter: grayscale(60%);
  transition: opacity .2s ease, filter .2s ease;
}

.vp-gallery-thumb:hover {
  opacity: .75;
  filter: grayscale(0);
}

/* Miniatura del elemento que se está viendo en el slider principal. */
.vp-gallery-thumb.is-selected {
  opacity: 1;
  filter: none;
}

.vp-gallery-thumb.is-selected:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /*border: 3px solid #005284;*/
  pointer-events: none;
}

.vp-gallery-thumb img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
}

/* Triángulo de play sobre las miniaturas de vídeo. */
.vp-gallery-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .6));
}

/* Flechas: slick.css no trae tema, se estilan aquí. Sólo las usa la cinta de
   miniaturas y van en el hueco lateral, fuera del área de las imágenes. */
.vp-gallery-thumbs .slick-prev,
.vp-gallery-thumbs .slick-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 40px;
  height: auto;
  padding: 0;
  border: 0;
  background: rgba(0, 82, 132, .8);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.vp-gallery-thumbs .slick-prev {
  left: 0;
}

.vp-gallery-thumbs .slick-next {
  right: 0;
}

.vp-gallery-thumbs .slick-prev:after,
.vp-gallery-thumbs .slick-next:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.vp-gallery-thumbs .slick-prev:after {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.vp-gallery-thumbs .slick-next:after {
  transform: translate(-70%, -50%) rotate(45deg);
}

.vp-gallery-thumbs .slick-disabled {
  opacity: .4;
}

/* En pantallas pequeñas el hueco lateral y las flechas se ajustan. */
@media (max-width: 600px) {
  .vp-gallery-thumbs {
    padding: 0 34px;
  }

  .vp-gallery-thumbs .slick-prev,
  .vp-gallery-thumbs .slick-next {
    width: 30px;
  }
}
/* END GALERIA */
/*.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}
.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}*/