/* Equipo */
.carousel-item {
  position: relative;
  height: 30vh;
}

.carousel-item img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.carousel-item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-caption {
  height: 90%;
  display: flex;
  align-items: center;
  z-index: 1;
}
/*** Index Blog ***/
.hero-blog {
  background-image: url(../../img/catalogo/hero-catalogo.webp);
}

.hero-blog .card {
  background-color: rgb(54, 47, 43, 0.8) !important;
  color: var(--white);
}

#blog .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#blog .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.fecha-blog {
    font-weight: 200;
}

.search {
  display: flex;
  align-items: center;
  justify-content: start;
  text-align: center;
}

.search__input {
  font-family: inherit;
  font-size: inherit;
  background-color: #f4f2f2;
  border: none;
  color: #646464;
  padding: 0.7rem 1rem;
  border-radius: 30px;
  width: 12em;
  transition: all ease-in-out .5s;
  margin-right: -2rem;
}

.search__input:hover, .search__input:focus {
  box-shadow: 0 0 1em #00000013;
}

.search__input:focus {
  outline: none;
  background-color: #f0eeee;
}

.search__input::-webkit-input-placeholder {
  font-weight: 100;
  color: #ccc;
}

.search__input:focus + .search__button {
  background-color: #f0eeee;
}

.search__button {
  border: none;
  background-color: #f4f2f2;
  margin-top: .1em;
}

.search__button:hover {
  cursor: pointer;
}

.search__icon {
  height: 1.3em;
  width: 1.3em;
  fill: #b4b4b4;
}

/* Detalle Blog */
.post-img {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    color: var(--white);
}

#blog-content p,
a {
    color: var(--dark);
}


/* Blog Banner */
.blog-banner {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../../img/blog/blog-banner.webp");
  background-position: center;
  background-size: cover;
  margin-top: 2rem;
  padding: 4rem 2rem;
  color: var(--white);
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.15);
}

.blog-banner::after {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.5);
  z-index: 5;
}

.blog-banner-desc,
.blog-banner-cta {
  position: relative;
  z-index: 10;
}

.blog-banner-cta {
  text-align: center;
}

.blog-banner-cta a {
  padding: 1rem 2rem;
  text-align: center;
  background-color: var(--secundario);
  color: var(--white);
}

@media (max-width: 992px) {
  .blog-banner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 2rem;
  }
}
