.sem-page,
.sem-page * {
  min-width: 0;
}

.sem-page .animate-on-scroll {
  opacity: 1;
  transform: none;
}

.sectionBlockLayout .container {
  width: min(1200px, calc(100% - 24px)) !important;
}

.sem-page .se-hero.sem-hero {
  min-height: 540px;
  padding: 56px 54px;
  background: #1D2A42;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sem-carousel,
.sem-slide,
.sem-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sem-carousel {
  z-index: 0;
  overflow: hidden;
}

.sem-slide {
  opacity: 0;
  animation: semFade 32s infinite;
}

.sem-slide:nth-child(2) {
  animation-delay: 8s;
}

.sem-slide:nth-child(3) {
  animation-delay: 16s;
}

.sem-slide:nth-child(4) {
  animation-delay: 24s;
}

.sem-slide img {
  object-fit: cover;
  object-position: 58% 46%;
  filter: saturate(1.18) contrast(1.05) brightness(1.38);
  transform: scale(1.02);
}

.sem-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(29, 42, 66, 0.28) 0%, rgba(29, 42, 66, 0.1) 42%, rgba(29, 42, 66, 0) 100%),
    linear-gradient(180deg, rgba(29, 42, 66, 0) 0%, rgba(29, 42, 66, 0.1) 100%);
  pointer-events: none;
}

.sem-hero::after {
  z-index: 2;
  background: linear-gradient(120deg, transparent 50%, rgba(232, 231, 224, 0.04));
}

.sem-hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  width: min(700px, 100%);
  margin: 0 auto;
  padding: 22px 24px 24px;
  border-radius: var(--se-radius-md);
  background: rgba(29, 42, 66, 0.5);
  border: 1px solid rgba(232, 231, 224, 0.2);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.sem-hero .siteTitle {
  display: block;
  max-width: 650px;
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.15;
  font-weight: 400;
  color: #fff !important;
  overflow-wrap: break-word;
}

.sem-hero .se-lead {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.36);
}

.sem-hero .btn-info-home {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.sem-hero .btn-info-home:hover,
.sem-hero .btn-info-home:focus {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.sem-page .se-section-shell {
  margin-top: 16px;
}

.sem-page .se-content-panel {
  padding: 24px;
}

.sem-data-grid,
.sem-process,
.sem-metros {
  margin-top: 16px;
}

.sem-metro {
  padding: 0;
  overflow: hidden;
}

.sem-metro img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #1D2A42;
}

.sem-metro h3 {
  margin: 0;
  padding: 14px 18px 18px;
}

@keyframes semFade {
  0% {
    opacity: 0;
    transform: scale(1.01);
  }

  5% {
    opacity: 1;
    transform: scale(1);
  }

  22% {
    opacity: 1;
    transform: scale(1);
  }

  29% {
    opacity: 0;
    transform: scale(1.015);
  }

  100% {
    opacity: 0;
    transform: scale(1.01);
  }
}

@media (max-width: 991px) {
  .sem-page .se-hero.sem-hero {
    min-height: 520px;
    padding: 44px 30px;
  }

  .sem-hero .siteTitle {
    font-size: 2.15rem;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .sectionBlockLayout,
  .sectionBlockLayout .container,
  .sectionBlockLayout .row,
  .sem-page,
  .sem-page .se-section-shell,
  .sem-page .se-content-panel,
  .sem-page .se-card {
    max-width: 100%;
    overflow-x: hidden;
  }

  .sem-page .se-hero.sem-hero {
    min-height: 540px;
    padding: 34px 20px;
    max-width: 100%;
  }

  .sem-slide img {
    object-position: 60% 50%;
  }

  .sem-hero::before {
    background:
      linear-gradient(180deg, rgba(29, 42, 66, 0.08) 0%, rgba(29, 42, 66, 0.26) 42%, rgba(29, 42, 66, 0.48) 100%),
      linear-gradient(90deg, rgba(29, 42, 66, 0.34), rgba(29, 42, 66, 0.08));
  }

  .sem-hero-content {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    background: rgba(29, 42, 66, 0.66);
  }

  .sem-hero .siteTitle {
    font-size: 1.55rem;
  }

  .sem-hero .se-lead {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .sem-hero .se-actions {
    flex-direction: column;
  }

  .sem-hero .se-actions .btn {
    width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sem-slide {
    animation: none;
    opacity: 0;
  }

  .sem-slide:first-child {
    opacity: 1;
  }
}
