h1 {
  margin-bottom: 15px;
}

h2 {
  margin-bottom: 38px;
}

.young-persons {
  margin: 0;
  padding: 0;
  gap: 35px;
  display: flex;
  flex-wrap: wrap;
}
.young-persons .young {
  --young-padding: 24px;
  margin: 0;
  list-style: none;
  border: 1px var(--color-cold) solid;
  max-width: 400px;
  flex-basis: calc(33.33% - 24px);
  display: flex;
  flex-direction: column;
}
.young-persons .young:before {
  display: none;
}
.young-persons .young .young-person {
  display: flex;
  justify-content: space-between;
  padding: var(--young-padding);
  border-bottom: 1px var(--color-cold) solid;
}
.young-persons .young .young-person .young-person-info {
  margin-right: 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.young-persons .young .young-person .young-person-info .young-person-name {
  font-size: 22px;
  line-height: 1.1;
}
.young-persons .young .young-person img {
  width: 147px;
  height: 147px;
}
.young-persons .young .young-research {
  padding: var(--young-padding);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 2;
}
.young-persons .young .young-research .young-research-head {
  margin-bottom: 15px;
}
.young-persons .young .young-research .young-research-name {
  color: var(--color-green);
  line-height: 1.2;
}
.young-persons .young button {
  cursor: pointer;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.5019607843);
  text-decoration: underline;
  margin-top: 5px;
  border: none;
  background: none;
  padding: 0;
}
.young-persons .young button:hover {
  text-decoration: none;
}

.submenuslider {
  max-width: 980px;
  margin: 60px auto 60px auto;
  padding: 0;
  position: relative;
}
.submenuslider .swiper {
  overflow: hidden;
}
.submenuslider .swiper-slide {
  max-width: -moz-max-content;
  max-width: max-content;
  font-size: 14px;
  text-align: center;
}
.submenuslider .swiper-slide a {
  display: block;
  text-decoration: none;
  padding: 8px 12px;
  width: 100%;
  color: #000;
  border-top: 1px var(--color-cold) solid;
  border-bottom: 1px var(--color-cold) solid;
  min-height: 36px;
}
.submenuslider .swiper-slide a:hover, .submenuslider .swiper-slide a.current {
  background-color: var(--color-green);
  color: #fff;
}
.submenuslider .swiper-button-prev {
  left: -34px;
  border-right: none;
}
.submenuslider .swiper-button-next {
  right: -34px;
  border-left: none;
}
.submenuslider .swiper-button-prev, .submenuslider .swiper-button-next {
  width: 34px;
  height: 36px;
  border: 1px var(--color-cold) solid;
  top: 0px;
  margin-top: 0;
}
.submenuslider .swiper-button-prev::after, .submenuslider .swiper-button-next::after {
  display: none;
}
.submenuslider .swiper-button-prev:hover, .submenuslider .swiper-button-next:hover {
  background-color: var(--color-green);
}
.submenuslider .swiper-button-prev:hover svg path, .submenuslider .swiper-button-next:hover svg path {
  stroke: #fff;
}

/* Modal container styles */
.modal-young {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 0;
  border: none;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.close-button {
  background-color: #fff;
  border: 1px solid var(--color-green);
  position: absolute;
  top: -30px;
  right: -1px;
  font-size: 28px;
  font-weight: bold;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-button svg path {
  stroke: var(--color-green);
}
.close-button:hover {
  background-color: var(--color-green);
}
.close-button:hover svg path {
  stroke: #fff;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-container {
  position: relative;
  z-index: 2;
}

.iframe-loading {
  position: absolute;
  z-index: 1;
  width: 100px;
  height: 100px;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
}
.iframe-loading img {
  width: 100px;
  height: 100px;
}

.persons-competition-sp {
  margin-bottom: 30px;
}

@media (max-width: 1180px) {
  .young-persons {
    gap: 15px;
  }
  .young-persons .young {
    --young-padding: 20px;
    flex-basis: calc(33.33% - 10px);
  }
  .young-persons .young .young-person img {
    width: 100px;
    height: 100px;
  }
  .young-persons .young .young-person {
    min-height: 195px;
  }
  .submenuslider {
    max-width: calc(100% - 70px);
  }
}
@media (max-width: 1000px) {
  .young-persons .young {
    --young-padding: 20px;
    flex-basis: calc(50% - 10px);
    max-width: 500px;
  }
}
@media (max-width: 900px) {
  .modal-container {
    position: relative;
    padding-bottom: 56.25%;
  }
  .modal-content {
    width: calc(100% - 2px);
    margin: 140px 0 0 0;
  }
  .modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 768px) {
  .young-persons .young {
    --young-padding: 20px;
    flex-basis: 100%;
    max-width: 768px;
  }
  .young-persons .young .young-person {
    min-height: auto;
  }
  h2 {
    margin-bottom: 15px;
  }
}/*# sourceMappingURL=suprematism-programms-youngs.css.map */