#opiniones {
  padding: 45px 0 64px;
  background-color: #e5e8f1;
}

.cards-swiper {
  width: 100%;
  padding: 40px 0;
}

#opiniones .card {
  background: #fff;
  padding: 36px 40px 32px;
  border-radius: 8px;
  overflow: hidden;
  width: 355px;
  height: 533px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#opiniones .card,
#opiniones .card:hover {
  box-shadow: none;
}

#opiniones .card::after {
  position: absolute;
  content: "";
  background: url("https://open-publicidad.com/wp-content/uploads/2025/11/comillas.svg")
    no-repeat;
  width: 40px;
  height: 40px;
  top: 43px;
  right: 38px;
}

#opiniones h2 {
  color: var(--azul-1);
  font-size: 34px;
  font-weight: 400;
  padding-bottom: 36px;
}

#opiniones .text {
  text-align: left;
}

#opiniones .name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 3px;
}

#opiniones .cargo {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 22px;
}

#opiniones .card p.texto {
  font-size: 15px;
  color: black;
  opacity: 0.8;
  line-height: 1.4;
}

#opiniones .card p {
  color: var(--azul-1);
}

#opiniones .card img {
  width: 170px;
  margin-top: auto;
  height: auto;
}

#opiniones .card h3,
.card p {
  /* padding: 15px; */
}

#navigation-custom {
  display: flex;
  gap: 112px;
  justify-content: center;
  margin-top: 28px;
}

.btn-arrow {
  background-color: #ffffff8f !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: none;
  cursor: pointer;
}

.btn-arrow:after {
  display: block;
  height: 24px;
  width: 20px;
  content: "" !important;
  background: url(https://open-publicidad.com/wp-content/uploads/2025/11/flecha_v1.png)
    no-repeat !important;
  background-size: 80% !important;
  background-position: 50% 50%;
  margin-top: 4px;
}

.mi-btn-prev {
  transform: scaleX(-1);
}
.swiper-button-disabled{
opacity: 0.3;
}
@media (max-width: 1140px) {
  #opiniones .card {
    width: auto;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}
}
@media (min-width: 768px) and (max-width: 820px) {
  #opiniones .card {
    width: auto;
  }
  #opiniones .card::after {
    width: 32px;
    height: 32px;
    top: 43px;
    right: 30px;
  }
}

@media (max-width: 767px) {
  #opiniones {
    padding-top: 40px;
  }
  #opiniones .card {
    width: calc(100vw - 40px);
    padding: 32px 24px 32px;
    height: 520px;
  }
  #opiniones h2 {
    font-size: 24px;
    padding-bottom: 32px;
    line-height: 1.25;
  }
  #opiniones .card::after {
    width: 24px;
    height: 24px;
    top: 36px;
    right: 24px;
  }
  #opiniones .cargo {
    margin-bottom: 12px;
}
}
