.carousel-block {
  padding-block: 60px;
}


.carousel {
  overflow: hidden;
  position: relative;
  padding-bottom: 40px;
  display: grid;
  justify-content: start;
  max-width: 100%;
  width: 100%;
  max-width: calc(50rem + 120px);
  margin: 0 auto;
}

.carousel .slides {
  display: grid;
  grid-auto-flow: column;
  justify-content: start;
  max-width: none;
  transition: .3s ease-in-out;
  column-gap: 0px;
}

.carousel .slides li {
  list-style: none;
  background: #fff;
  padding: 0px;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 60% 1fr;
  gap: 30px;
  align-items: center;
  align-content: center;
  padding-inline: 60px;
}

@media (max-width: 768px) {
  .carousel .slides li {
    padding-inline: 0px;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
}

.carousel .slides li .img-wrapper {
  aspect-ratio: 1;
  overflow: hidden;
}

.carousel .slides li .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .text {
  display: grid;
  grid-auto-flow: row;
  row-gap: 30px;
  justify-items: start;
}

.carousel .tag {
  background: #ba949b;
  border-radius: 100px;
  padding: 5px 15px;
  justify-self: start;
  margin-bottom: 10px;
  font-weight: 500;
}

.carousel .title {
  display: grid;
  grid-auto-flow: row;
  row-gap: 10px;
}

.carousel button {
  position: absolute;
  top: calc(50%);
  transform: translateY(-50%);
  height: 30px;
  width: 30px;
  z-index: 99;
  cursor: pointer;
  background-color: #eee;
  border-radius: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23000000" d="M19.354 10.146l-6-6c-0.195-0.195-0.512-0.195-0.707 0s-0.195 0.512 0 0.707l5.146 5.146h-16.293c-0.276 0-0.5 0.224-0.5 0.5s0.224 0.5 0.5 0.5h16.293l-5.146 5.146c-0.195 0.195-0.195 0.512 0 0.707 0.098 0.098 0.226 0.146 0.354 0.146s0.256-0.049 0.354-0.146l6-6c0.195-0.195 0.195-0.512 0-0.707z"></path></svg>');
}

@media (max-width: 768px) {
  .carousel button {
    display: none;
  }
}

.carousel button:hover {
  background-color: #ccc;
}

.carousel button.hide {
  visibility: hidden;
}

.carousel button.next {
  right: 0px;
}

.carousel button.prev {
  left: 0px;
  transform: translateY(-50%) rotate(180deg);
}

.carousel .pagination {
  width: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
}

.carousel .pagination li {
  list-style: none;
  cursor: pointer;
  height: 12px;
  width: 12px;
  border-radius: 100px;
  background-color: #eee;
}

.carousel .pagination li.active {
  background-color: #000;
}

.site25, .site34 {
  .carousel {
    font-size: 1.2rem;
  }

  .carousel .img-wrapper {
    border-radius: 20px;
    overflow: hidden;
  }

  .carousel .btn {
    font-size: 1.2rem;
    background: #a36470;
    color: #fff !important;
    padding: 20px 30px;
    border-radius: 100px;
    font-weight: 400;
    border: 0;
    transition: .3s ease-in-out;
  }

  .carousel .btn:hover {
    background: #ba949b !important;
    color: #000 !important;
  }
}