.academia {
  position: relative;
  padding: 50px 0;
}

.academia .wrap {
  display: grid;
  align-items: flex-start;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.academia .featured-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: auto;
  aspect-ratio: 16/9;
}

.academia .featured-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.academia-meta {
  position: relative;
  display: grid;
  gap: 16px;
  background: #f8f8f8;
  border-radius: 24px;
  overflow: hidden;
  padding: 24px;
}

.academia-meta__item {
  display: flex;
  gap: 6px;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
  color: #000;
}

.academia-meta__item span {
  color: #b2b2b2;
  margin-right: 4px;
  font-size: 16px;
  font-weight: 300;
  white-space: nowrap;
}

.academia__content {
  display: grid;
  gap: 24px;
  font-size: 16px;
  line-height: 1.44;
  margin-top: 64px;
}

.academia__content h2 {
  margin: 0;
  padding: 0;
}

.academia__content iframe {
  min-height: auto;
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16/9;
}

/* Gallery */
.section-gallery {
  position: relative;
  padding: 50px 0 50px;
  overflow: hidden;
}

.section-gallery .swiper {
  overflow: visible;
}

.section-gallery .swiper-wrapper {
  height: auto;
}

.section-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-gallery .section-title {
  margin-bottom: 0;
}

.gallery-slide {
  position: relative;
  border-radius: 16px;
  width: auto !important;
  height: 280px !important;
  overflow: hidden;
}

.gallery-slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* WHy */
.why {
  padding: 56px 0;
}

.why .section-title {
  position: relative;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 32px 16px;
  border-radius: 20px;
  background: #f8f8f8;
}

.why__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 56px;
  padding: 12px;
  border-radius: 6px;
}

.why .gradient {
  width: 120px;
  height: 1px;
  margin: 20px 0;
  background: linear-gradient(74deg, #e70000 0%, #750117 100%);
}

.why__item p {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

/* Сallback */
.section-callback {
  padding: 0;
  padding-bottom: 120px;
}

.section-callback .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f8f8f8;
  border-radius: 20px;
  padding: 56px;
  overflow: hidden;
  gap: 14px;
  overflow: hidden;
}

.section-callback__form {
  position: relative;
}


.section-callback__decor-filled {
  max-width: 555px;
  position: absolute;
  top: 50%;
  left: 28px;
  transform: translate(0, -50%);
}

.section-callback__decor {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.section-callback__decor img {
  position: absolute;
  height: 600px;
  width: auto;
  bottom: -56px;
}

/* Media */
@media (max-width: 991px) {
  .academia .wrap {
    grid-template-columns: 1fr;
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-callback .wrap {
    grid-template-columns: 1fr;
  }
  .section-callback__decor {
    display: none;
  }
}

@media (max-width: 767px) {
  .gallery-slide {
    height: 200px !important;
  }
  .why__grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .section-callback .wrap{
    padding: 24px 24px 32px;
  }
}
