@charset "UTF-8";
/* stylelint-disable */
/* ---------- example ---------- */
/*
.selector {
  // только в промежутке tablet..desktop
  @include media-between(tablet, desktop) { ... }

  // ровно «только tablet» (1024..1239)
  @include media-only(tablet) { ... }

  // ≥ 1440
  @include for-desktop { ... }

  // ≤ 767
  @include small-tablet { ... }
}
*/
/* ---------- helpers ---------- */
/* Min-width */
/* Max-width */
/* stylelint-disable */
/* stylelint-disable */
.legacy-card {
  background-color: var(--bg-a);
  border: 0.2rem solid #DDDDDD;
  border-radius: 2.6rem;
  padding: 2rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: all 0.3s ease;
}
.legacy-card__image {
  display: flex;
}
.legacy-card__image img,
.legacy-card__image picture,
.legacy-card__image svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2.4rem;
}
.legacy-card__top {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 0.5rem;
}
.legacy-card__title {
  font-family: var(--font-roboto);
  font-size: 1.7rem;
  line-height: 140%;
  font-weight: 700;
  color: var(--cl-f);
}
.legacy-card__dates {
  font-family: var(--font-rubik);
  font-size: 1.3rem;
  line-height: 150%;
  font-weight: 400;
}
.legacy-card__info {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.legacy-card__epitaph {
  font-family: var(--font-poppins);
  font-size: 1.6rem;
  font-weight: 500;
}
.legacy-card__text {
  font-family: var(--font-roboto);
  font-size: 1.4rem;
  line-height: 150%;
  font-weight: 400;
  color: var(--cl-b);
}
.legacy-card__controls {
  margin-bottom: 1.5rem;
}
.legacy-card__link {
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--bg-a);
  padding: 8px 16px;
  border: 0.1rem solid var(--second-color);
  border-radius: 1rem;
  font-family: var(--font-rubik);
  font-size: 1.4rem;
  line-height: 140%;
  font-weight: 700;
  color: var(--cl-i);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.legacy-card__link svg {
  fill: var(--second-color);
  transition: all 0.3s ease;
}
.legacy-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.legacy-card__items {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}
.legacy-card__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.legacy-card__item div {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-poppins);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cl-f);
}
.legacy-card__item div span {
  color: var(--second-color);
}
.legacy-card__item p {
  font-family: var(--font-rubik);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 120%;
  color: var(--cl-d);
}
.legacy-card__participants {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-poppins);
  font-size: 1.4rem;
  line-height: 120%;
  font-weight: 500;
}
.legacy-card__participants-image {
  display: flex;
  height: 21px;
}
.legacy-card__participants-image img,
.legacy-card__participants-image picture,
.legacy-card__participants-image svg {
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.section-legacy {
  overflow: hidden;
  padding: 3rem 0 clamp(30px, 2.604vw, 5rem);
  background: var(--section-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3.646vw, 7rem);
}
.section-legacy__editor {
  max-width: 106.5rem;
  margin: 0 auto;
}
.section-legacy__box {
  width: 100%;
  position: relative;
}
.section-legacy__box .container {
  max-width: calc(var(--container-width) + clamp(80px, 9.766vw, 10rem));
}
.section-legacy__box {
  background-image: var(--bg-image);
  background-position: center;
  background-repeat: no-repeat;
}
.section-legacy__slider {
  width: 100%;
}
.section-legacy__slider .swiper-wrapper {
  align-items: center;
}
.section-legacy__slider .swiper-slider {
  position: relative;
  padding: 0 clamp(40px, 3.385vw, 6.5rem);
}
.section-legacy__slider .swiper-container {
  overflow: hidden;
  padding: clamp(10px, 2.083vw, 3rem) 0;
}
.section-legacy__slider .swiper-slide {
  transition: all 0.3s ease-in;
}
.section-legacy__slider .swiper-slide-active .legacy-card {
  border-color: var(--second-color);
}
.section-legacy__slider.is-disabled .slider-btn {
  display: none;
}
.section-legacy__controls {
  display: contents;
}
.section-legacy__controls .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(30px, 3.906vw, 4rem);
  height: clamp(30px, 3.906vw, 4rem);
  border-radius: 50%;
  background-color: var(--arrows-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-a);
  transition: all 0.3s ease;
}
.section-legacy__controls .slider-btn.slider-prev {
  left: 0;
}
.section-legacy__controls .slider-btn.slider-next {
  right: 0;
}
.section-legacy__controls .slider-btn.slider-next svg {
  transform: scale(-1);
}
@media (min-width: 1025px){
  .section-legacy__slider .swiper-slide-active .legacy-card {
    transform: scale(1.05);
  }
}
@media (hover: hover){
  .legacy-card__link:hover {
    background-color: var(--second-color);
    color: var(--cl-a);
  }
  .legacy-card__link:hover svg {
    fill: var(--cl-a);
  }
  .section-legacy__controls .slider-btn:hover {
    background-color: var(--arrows-color-hover);
    opacity: 0.8;
  }
}
@media (hover: none){
  .legacy-card__link:active {
    background-color: var(--second-color);
    color: var(--cl-a);
  }
  .legacy-card__link:active svg {
    fill: var(--cl-a);
  }
  .section-legacy__controls .slider-btn:active {
    background-color: var(--arrows-color-hover);
    opacity: 0.8;
  }
}
/*# sourceMappingURL=section-legacy.css.map */