.groups-carusel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carousel {
  overflow: hidden;
  width: 100%; /* Ширина карусели: 3 карточки по 300px */
  margin: 0 auto;
}

.anchors {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  font-family: 'Manrope Regular';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 116.667% */
  color: white;
}
@media (max-width: 480px) {
  .anchors {
    font-size: 15px;
    gap: 10px;
  }
}

.anchor {
  padding: 10px 15px;
  border-radius: 20px;
}

.green {
  background-color: #69a658;
}
.green-light {
  background-color: rgba(105, 166, 88, 0.15);
}
.green-medium {
  background-color: rgba(105, 166, 88, 0.88);
}

.blues {
  background-color: #5B9BD6;
}

.blue {
  background-color: #278eb3;
}
.blue-light {
  background-color: rgba(39, 142, 179, 0.15);
}
.blue-medium {
  background-color: rgba(39, 142, 179, 0.88);
}

.violet {
  background-color: #a790f5;
}
.violet-light {
  background-color: rgba(167, 144, 245, 0.15);
}
.violet-medium {
  background-color: rgba(167, 144, 245, 0.88);
}

.orange {
  background-color: #f57a55;
}
.orange-light {
  background-color: rgba(245, 122, 85, 0.15);
}
.orange-medium {
  background-color: rgba(245, 122, 85, 0.88);
}

.mint {
  background-color: #6dc8b8;
}
.mint-light {
  background-color: rgba(109, 200, 184, 0.15);
}
.mint-medium {
  background-color: rgba(109, 200, 184, 0.88);
}

.white {
  background: #fff;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  gap: 15px;
  /* pointer-events: auto; */
}

.carousel-item {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  min-width: 380px;
  box-sizing: border-box;
  /* background-color: #f0f0f0; */
}
@media (max-width: 1024px) {
  .carousel-item {
    border-radius: 20px;
    min-width: 360px;
  }
}
@media (max-width: 480px) {
  .carousel-item {
    border-radius: 20px;
    min-width: 320px;
  }
}

.carousel-item__img {
  width: 100%;
  height: 310px;
  position: relative;
  border-radius: 20px 20px 0 0;
}

@media (min-width: 1024px) {
.carousel-item__img_intensiv {
  max-width: 40%;
}
}
@media (max-width: 1024px) {
  .carousel-item__img {
    height: 290px;
  }
}
@media (max-width: 480px) {
  .carousel-item__img {
    height: 260px;
  }
}

.card-5-6 {
  background-color: rgba(105, 166, 88, 0.15);
}

.g-4-6 {
  background: url(DSC01328.jpg) 50% 50% / 102% no-repeat; /* Изображение фона */
  border-radius: 20px 20px 0 0;
}

.carousel-item__info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 20px 24px;
  gap: 20px;
  flex-grow: 2;
}
@media (max-width: 480px) {
  .carousel-item__info {
    padding: 15px 20px;
    gap: 15px;
  }
}

.carousel-item-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 768px) {
  .carousel-item-text {
    gap: 5px;
  }
}

.carousel-item-text-title {
  font-family: 'Manrope Regular';
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 120% */
}
@media (max-width: 1024px) {
  .carousel-item-text-title {
    font-size: 20px;
    line-height: 24px; /* 120% */
  }
}
@media (max-width: 480px) {
  .carousel-item-text-title {
    font-size: 18px;
    line-height: 22px;
  }
}

.carousel-item-description {
  font-family: 'Manrope Regular';
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px; /* 140% */
}
@media (max-width: 1024px) {
  .carousel-item-description {
    font-size: 18px;
    line-height: 28px; /* 120% */
  }
}
@media (max-width: 480px) {
  .carousel-item-description {
    font-size: 16px;
    line-height: 20px; /* 120% */
  }
}

.carousel-item__img-label {
  position: absolute;
  border-radius: 0 20px 20px 0;
  top: 20px;
  left: 0;
}

.carousel-item__img-label-text {
  font-family: 'Manrope Regular';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
  padding: 8px 12px;
  color: white;
}

.button-group-card {
  padding: 8px 20px;
  border-radius: 20px;
  align-self: flex-start;
}

.button-group-card-link {
  font-family: 'Manrope Regular';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 144.444% */
  color: #fff;
}

.g-4-6 {
  background: url(../new-media/DSC01328.jpg) 50% 50% / 102% no-repeat; /* Изображение фона */
}

.g-7-9 {
  background: url(../new-media/Photo.jpg) 50% 50% / 102% no-repeat; /* Изображение фона */
}

.g-10-13 {
  background: url(../new-media/Photo2.jpg) 50% 50% / 102% no-repeat; /* Изображение фона */
}

.g-12-16 {
  background: url(../new-media/DSC018492.jpg) 50% 50% / 102% no-repeat; /* Изображение фона */
}

.g-14-17 {
  background: url(../new-media/DSC03817.jpg) 50% 50% / 102% no-repeat; /* Изображение фона */
}

.GL {
  background-image: url('../new-media/gorodskoi-lager.jpg'); /* Путь к вашему изображению */
  background-size: cover;
  background-position: center;
}

.BP {
  background-image: url('../new-media/blagotvoritelnye-poezdki.jpg'); /* Путь к вашему изображению */
  background-size: cover;
  background-position: center;
}

.BV2 {
  background-image: url('../new-media/IMG_3721.jpg'); /* Путь к вашему изображению */
  background-size: cover;
  background-position: center;
}

.PR {
  background-image: url('../new-media/IMG_09303.jpg'); /* Путь к вашему изображению */
  background-size: cover;
  background-position: center;
}

.LK {
  background-image: url('../new-media/IMG_09222.jpg'); /* Путь к вашему изображению */
  background-size: cover;
  background-position: center;
}

.DSR {
  background-image: url('../new-media/IMG_2307.jpg'); /* Путь к вашему изображению */
  background-size: cover;
  background-position: center;
}

.carousel_img__news {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  background-position: center;
  border-radius: 20px;
}
