/* Homepage proportions from the last published Bricks layout. */
.home-page .hero[data-carousel] {
  height: 851px;
  min-height: 0;
  margin-top: -100px;
  border-bottom: 1px solid rgb(247 247 247 / 62%);
}

.home-page .hero-panel {
  align-items: center;
  padding: 0;
  background-position: left top;
  background-size: cover;
}

.home-page .hero-panel .hero-inner {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - 1100px) / 2 - 260px));
  margin: 0;
}

.home-page .hero-inner h1 {
  margin: 0;
}

.home-page .hero-panel .hero-mark {
  width: min(50.8vw, 559px);
  max-width: 100%;
  margin: 0;
}

.home-page .hero-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 67px;
  overflow: hidden;
  background: rgb(242 240 232 / 26%);
  border: 0;
  border-radius: 0;
  backdrop-filter: blur(5px);
}

.home-page .hero-links a {
  display: grid;
  place-items: center;
  padding: 5px;
  border: 1px solid rgb(247 247 247 / 62%);
  font: 24px/1.4 var(--display);
}

.home-page .hero-links a:hover,
.home-page .hero-links a:focus-visible {
  background: rgb(58 57 54 / 47%);
}

.home-page .hero-motion {
  bottom: 82px;
}

.home-page .hero-motion::after {
  width: 10px;
  height: 10px;
  background: #eecf7e;
}

.home-page main > .band {
  height: 93px;
}

.home-page .homepage-section {
  padding: 0;
}

.home-page .homepage-section h2:not(.card h2) {
  margin: 0 0 40px;
  font: 55px/1.4 var(--display);
}

.home-page .about {
  min-height: 600px;
}

.home-page .about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0;
}

.home-page .about-grid > div {
  padding-right: 40px;
}

.home-page .about .rich {
  font-size: 16px;
  line-height: 1.7;
}

.home-page .about .rich p {
  margin: 0 0 16px;
}

.home-page .about .rich p:last-child {
  margin-bottom: 0;
}

.home-page .about-grid img {
  width: min(553px, 100%);
  height: auto;
}

.home-page .home-news {
  margin: 60px 0;
}

.home-page .home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 30%));
  justify-content: space-between;
  gap: 0;
}

.home-page .home-news .card {
  min-height: 610px;
  border: 1px solid #f1eee6;
  border-radius: 52px;
}

.home-page .home-news .card:hover,
.home-page .home-news .card:focus-within {
  background: #f1eee6;
}

.home-page .home-news .card-link {
  display: block;
  height: 100%;
}

.home-page .home-news .card-media {
  display: block;
  width: 100%;
  height: 250px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 50px;
}

.home-page .home-news .card h2 {
  margin: 16px 27px 26px;
  padding: 0;
  font: 400 15px/1.7 var(--text);
}

.home-page .more-row {
  margin: 60px 0 0;
}

.home-page .more-row .more {
  display: inline-block;
  min-inline-size: 201px;
  margin: 0;
  padding: 10px 34px;
  border-radius: 35px;
  background: #393836;
  color: #f5f5f5;
  font: 500 16px/1.7 var(--text);
}

.home-page .home-press {
  padding: 60px 0;
}

.home-page .home-press h2:not(.card h2) {
  margin-bottom: 60px;
}

.home-page .home-press article {
  min-width: 0;
  min-height: 494px;
  display: flex;
  flex-direction: column;
}

.home-page .home-press article h3 {
  min-height: 120px;
  margin: 0 0 16px;
  font: 400 22px/1.4 var(--display);
}

.home-page .home-press article .rich {
  margin: 0 0 24px;
  font: 400 14px/1.7 var(--text);
}

.home-page .home-press article .rich > :last-child {
  margin-bottom: 0;
}

.home-page .press-meta {
  margin-top: auto;
  align-items: baseline;
  font: 400 20px/1.4 var(--display);
  color: rgb(58 57 54 / 70%);
}

.home-page .press-meta a {
  font-size: 24px;
  color: #997109;
}

.home-page .contacts-section {
  margin: 60px 0 24px;
}

.home-page .home-contacts {
  min-height: 489px;
  padding: 97px 0 36px 66px;
  border-radius: 75px;
  text-align: center;
}

.home-page .home-contacts h2:not(.card h2) {
  margin: 0 0 16px !important;
}

.home-page .home-contacts p {
  margin: 0;
  font: 400 20px/1.7 var(--display);
}

.home-page .home-contacts .contact-name {
  font-size: 26px;
}

.home-page .home-contacts .contact-phone {
  margin-top: 24px;
  line-height: 1.4;
}

.home-page .contact-address {
  margin-top: 18px !important;
}

.home-page .contact-address span {
  display: block;
}

.home-page .contact-address span + span {
  margin-top: 18px;
}

.home-page main > .ornament {
  height: 279px;
  background-position: center;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .home-page .hero-links a {
    font-size: clamp(17px, 2.2vw, 24px);
  }

  .home-page .press-meta {
    flex-wrap: wrap;
    gap: 4px;
    font-size: clamp(15px, 1.8vw, 20px);
  }

  .home-page .press-meta a {
    font-size: clamp(18px, 2.2vw, 24px);
  }

  .home-page .press-meta span {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .home-page .hero[data-carousel] {
    height: clamp(520px, 83svh, 700px);
    margin-top: -4px;
    border-bottom: 0;
  }

  .home-page .hero-panel {
    align-items: flex-start;
    padding-top: 115px;
    background-position: center;
  }

  .home-page .hero-panel .hero-inner {
    padding: 0;
  }

  .home-page .hero-panel .hero-mark {
    width: min(62.4vw, 344px);
    margin-inline: auto;
  }

  .home-page .hero-motion {
    bottom: 18px;
  }

  .home-page main > .band {
    height: 50px;
  }

  .home-page .homepage-section h2:not(.card h2) {
    font-size: 36px;
    text-align: center;
  }

  .home-page .about {
    min-height: 0;
    padding-block: 40px;
  }

  .home-page .about-grid {
    width: 90%;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .home-page .about-grid > div {
    padding: 0;
  }

  .home-page .about-grid img {
    margin: auto;
  }

  .home-page .home-news .wrap,
  .home-page .home-press .wrap {
    width: 90%;
  }

  .home-page .home-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .home-page .home-news .card {
    min-height: 0;
  }

  .home-page .home-news .card h2 {
    font-size: 16px;
  }

  .home-page .more-row {
    margin-top: 30px;
  }

  .home-page .home-press {
    padding-bottom: 16px;
    background: white;
  }

  .home-page .home-press article {
    min-height: 0;
    padding: 16px;
    border: 1px solid rgb(33 33 33 / 15%);
    border-radius: 7px;
    background: white;
  }

  .home-page .home-press article h3 {
    min-height: 0;
    margin: 0;
  }

  .home-page .home-press article .rich {
    margin: 24px 0 0;
  }

  .home-page .press-meta {
    margin-top: 27px;
    font-size: 16px;
  }

  .home-page .contacts-section {
    margin-top: 40px;
  }

  .home-page .home-contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 5%;
    border-radius: 29px;
  }

  .home-page .home-contacts .contact-name {
    max-width: 100%;
    padding: 0 40px;
  }

  .home-page .home-contacts .contact-phone,
  .home-page .home-contacts .contact-address {
    margin-top: 16px !important;
  }

  .home-page .contact-address span + span {
    margin-top: 0;
  }

  .home-page main > .ornament {
    height: 147px;
  }
}
