/* blogdetails */
.blogdetails img,.blogdetails img.alignnone,.content-sproj img,.news-content img {
  width: 100%;
  height: auto;
}

/* home */
body.home .hero-image,body.home .hero-image img,body.home .hero-media,body.home .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════════════════
   Procedente de general.css
   ══════════════════════════════════════════════════════ */

/* contenedor-news */
.contenedor-news {
  width: 70%;
  max-width: 1450px;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .contenedor-news {
    width: 85%;
  }
}

/* blog-banner */
.blog-banner .blog-sld-title {
  text-transform: capitalize;
  color: var(--color-primary);
  font-size: clamp(1.8rem, 2.5vw, 3.5rem);
}

/* wp-caption */
figure.wp-caption.aligncenter {
  margin: 0 auto;
}

/* blog-banner */
@media (max-width: 576px) {
  .blog-banner .blog-banner-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    display: flex;
  }
}

/* gr-gallery-sproj */
.gr-gallery-sproj .gallery {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  display: grid;
}
.gr-gallery-sproj .gallery a {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.gr-gallery-sproj .gallery a:after {
  content: "+";
  color: #fff;
  opacity: 0;
  background: #00000059;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  transition: opacity .3s;
  display: flex;
  position: absolute;
  inset: 0;
}
.gr-gallery-sproj .gallery a:hover:after {
  opacity: 1;
}
.gr-gallery-sproj .gallery img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .4s;
}

/* slider-reviews */
.slider-reviews .avatar img {
  width: 100%;
  height: 100%;
}
