/* ======================= OCULTAr conjunto de fichas======================= */
#content > h3:nth-child(2) {
    display: none !important;
}

/* ======================= OCULTAR " y mover logo======================= */
.right-sidebar .block-resource.block-thumbnail {
    font-size: 0;       /* Oculta la comilla */
    line-height: 0;     /* Limpia espacios extra */
    margin-top: 40px;   /* ESTO es lo que baja la imagen */
}
}
/* ======================= CONJUNTO DE FICHAS ======================= */
.main-title-wrapper {
  margin-bottom: 0 !important;
}

/* ======================= RESET BÁSICO ======================= */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ======================= BANNER SLIDER ======================= */
.banner-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  margin: 0;
  background: #000;
}

.banner-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.banner-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================= RECTÁNGULO INFERIOR ======================= */
.rect-content {
  position: absolute;
  bottom: 20px;
  right: 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 8px 15px;
  font-family: Calibri, sans-serif;
  font-size: 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}

.rect-content svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: #fff;
}

.rect-content:hover {
  background: rgba(0,0,0,0.95);
}

/* ======================= FLECHAS ======================= */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 150;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.35);
  border-radius: 6px;
}

.banner-arrow.left {
  left: 18px;
}

.banner-arrow.right {
  right: 18px;
}

.banner-arrow svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  transition: fill 0.15s;
}

.banner-arrow:hover {
  background: rgba(255,255,255,0.08);
}

.banner-arrow:hover svg {
  fill: #ddd;
}

/* ======================= DOTS ======================= */
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 40;
  pointer-events: auto;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.45);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s;
}

.dot.active {
  background: #fff;
  transform: scale(1.05);
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 768px) {
  .banner-slider {
    height: 50vh;
  }

  .rect-content {
    font-size: 14px;
    padding: 6px 10px;
    right: 200px;
  }

  .banner-arrow {
    width: 40px;
    height: 40px;
  }

  .banner-arrow svg {
    width: 18px;
    height: 18px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}

/* =============================== HEADER / LOGO / GALLERY =============================== */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  padding: 0 20px;
  background-color: #000;
  box-sizing: border-box;
}

.top-bar img {
  height: 60px !important;
  width: auto !important;
  display: block;
  max-height: 100px;
}

.top-bar .header-text {
  font-family: Calibri, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-align: right;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.image-item {
  position: relative;
  width: calc(25% - 10px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-item .caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-family: Calibri, sans-serif;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.3s;
}

.image-item .caption:hover {
  background: rgba(0,0,0,0.95);
}

/* ======================= RESPONSIVE GALLERY ======================= */
@media (max-width: 992px) {
  .image-item {
    width: calc(50% - 10px);
  }

  .top-bar {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .top-bar .header-text {
    margin-top: 10px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .image-item {
    width: 100%;
  }

  .top-bar img {
    height: 50px;
  }
}
