*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* Homepage hero: adapted from the approved standalone banner concept. */
.epmem-hero {
  margin: 48px auto 70px !important;
}

.epmem-hero__carousel {
  aspect-ratio: 1279 / 585;
  max-height: 585px;
  overflow: hidden;
  border-radius: 18px;
  background: #123;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.epmem-hero__carousel .carousel-inner,
.epmem-hero__carousel .carousel-item {
  height: 100%;
}

.epmem-hero__carousel .carousel-item {
  display: none;
}

.epmem-hero__carousel .carousel-item.active,
.epmem-hero__carousel .carousel-item-next,
.epmem-hero__carousel .carousel-item-prev {
  display: block;
}

.epmem-hero__carousel .carousel-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.epmem-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 25, 55, 0.08), rgba(0, 18, 38, 0.38) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72));
}

.epmem-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 15% 96px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.epmem-hero__label {
  margin-bottom: 12px;
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.18;
}

.epmem-hero__content h1,
.epmem-hero__content h2 {
  max-width: 1012px;
  margin: 0;
  color: #fff;
  font-family: "Golos Text", Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}

.epmem-hero__content p {
  max-width: 760px;
  margin: 22px 0 30px;
  color: #fff;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.epmem-hero__button {
  position: relative;
  z-index: 5;
  min-width: 281px;
  padding: 15px 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-decoration: none;
  pointer-events: auto;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.slider-progress {
  width: min(100%, 760px);
  margin: 20px auto 12px;
  padding: 8px 0;
}

.slider-progress__range {
  --slider-progress: 0%;
  display: block;
  width: 100%;
  height: 20px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.slider-progress__range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, #0055aa 0 var(--slider-progress), #d9d9d9 var(--slider-progress) 100%);
}

.slider-progress__range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -6px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0055aa;
  box-shadow: 0 2px 8px rgba(0, 45, 90, 0.35);
}

.slider-progress__range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: #d9d9d9;
}

.slider-progress__range::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: #0055aa;
}

.slider-progress__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0055aa;
  box-shadow: 0 2px 8px rgba(0, 45, 90, 0.35);
}

.slider-progress__range:focus-visible {
  outline: 3px solid rgba(0, 85, 170, 0.28);
  outline-offset: 4px;
}

.slider-progress__range:disabled {
  opacity: 0.45;
  cursor: default;
}

.epmem-hero__button:hover,
.epmem-hero__button:focus-visible {
  transform: translateY(-3px);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.epmem-hero__indicators {
  bottom: 34px;
  z-index: 4;
  gap: 16px;
  margin-bottom: 0;
}

.epmem-hero__indicators [data-bs-target] {
  width: 16px;
  height: 16px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.epmem-hero__indicators .active {
  transform: scale(1.2);
  background: #0055aa;
  opacity: 1;
}

.epmem-hero__control {
  top: 50%;
  bottom: auto;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.epmem-hero__carousel:hover .epmem-hero__control,
.epmem-hero__control:focus-visible {
  opacity: 1;
}

.epmem-hero__control:hover {
  transform: translateY(-50%) scale(1.08);
  background: #fff;
  opacity: 1;
}

.epmem-hero__control > img {
  width: 18px;
  height: auto;
}

.epmem-hero__carousel .carousel-control-prev {
  left: 20px;
}

.epmem-hero__carousel .carousel-control-next {
  right: 20px;
}

.epmem-hero__carousel .carousel-item.active .epmem-hero__content > * {
  animation: epmem-hero-enter 0.65s both;
}

.epmem-hero__carousel .carousel-item.active .epmem-hero__content > :nth-child(2) {
  animation-delay: 0.08s;
}

.epmem-hero__carousel .carousel-item.active .epmem-hero__content > :nth-child(3) {
  animation-delay: 0.16s;
}

.epmem-hero__carousel .carousel-item.active .epmem-hero__content > :nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes epmem-hero-enter {
  from {
    transform: translateY(-18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

img,
video {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

div[style*="width: 1300px"] {
  width: 100% !important;
}

iframe[width="1300"] {
  width: 100%;
  height: auto;
  aspect-ratio: 13 / 6;
}

.managed-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d8e2ed;
  border-radius: 14px;
}

.managed-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: #fff;
}

.managed-table th,
.managed-table td {
  padding: 12px;
  border: 1px solid #d8e2ed;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.35;
}

.managed-table th {
  background: #eef5fb;
  color: #0055aa;
  font-weight: 700;
}

.partners__items .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.partners__items .item,
.partners__items .item:nth-child(n) {
  width: auto;
  min-height: 190px;
  padding: 36px;
  border-right: 2px solid #c1c1c1;
  border-bottom: 2px solid #c1c1c1;
}

.partners__items .item:nth-child(3n) {
  border-right: 0;
}

.partners__items .item:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.partners__items .item img {
  display: block;
  max-width: 100%;
  max-height: 112px;
  margin: auto;
  object-fit: contain;
}

.partner-placeholder {
  background: linear-gradient(135deg, rgba(0, 85, 170, 0.015), rgba(0, 85, 170, 0.04));
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.form_email button.button {
  cursor: pointer;
  font-size: 24px;
  padding: 15px;
}

.outlook-web-link {
  display: inline-block;
  margin-top: 8px;
  color: #0055aa;
  font-size: 16px;
  text-align: center;
}

.contacts a[href^="mailto:"] {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #f70000;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  header {
    position: relative;
  }

  main {
    margin-top: 0;
  }

  .epmem-hero {
    margin: 22px auto 46px !important;
  }

  .epmem-hero__carousel {
    height: 520px;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .epmem-hero__content {
    justify-content: center;
    padding: 52px 42px 88px;
  }

  .epmem-hero__content h1,
  .epmem-hero__content h2 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .epmem-hero__content p {
    margin: 18px 0 26px;
    font-size: 17px;
  }

  .epmem-hero__button {
    min-width: 0;
    width: min(100%, 270px);
    padding: 12px 18px;
    font-size: 17px;
  }

  .epmem-hero__indicators {
    bottom: 28px;
    gap: 11px;
  }

  .epmem-hero__indicators [data-bs-target] {
    width: 12px;
    height: 12px;
  }

  .epmem-hero__control {
    width: 42px;
    height: 42px;
    opacity: 0.72;
  }

  .epmem-hero__control > img {
    width: 14px;
  }

  .epmem-hero__carousel .carousel-control-prev {
    left: 10px;
  }

  .epmem-hero__carousel .carousel-control-next {
    right: 10px;
  }

  .more_info .form_email .button,
  .more_info .banner_white .button {
    width: 100% !important;
    max-width: 415px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .partners__items .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners__items .item:nth-child(n) {
    border-right: 2px solid #c1c1c1;
    border-bottom: 2px solid #c1c1c1;
  }

  .partners__items .item:nth-child(2n) {
    border-right: 0;
  }

  .partners__items .item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .partners__items .row {
    grid-template-columns: 1fr;
  }

  .partners__items .item:nth-child(n) {
    min-height: 150px;
    border-right: 0;
    border-bottom: 2px solid #c1c1c1;
  }

  .partners__items .item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .epmem-hero__carousel {
    height: 500px;
  }

  .epmem-hero__content {
    padding-inline: 35px;
  }

  .epmem-hero__label {
    font-size: 18px;
  }

  .epmem-hero__content h1,
  .epmem-hero__content h2 {
    font-size: 27px;
  }

  .epmem-hero__content p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .epmem-hero__carousel .carousel-item.active .epmem-hero__content > * {
    animation: none;
  }
}
.button-div .button.virtual-tour-button {
  width: min(100%, 500px) !important;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(16px, 4.5vw, 24px);
}
