﻿[x-cloak] {
  display: none !important;
}

/* Keep the legacy stylesheet intact while integrating Razor-driven content. */
.wrapper > main {
  position: relative;
}

.menu__item--products {
  position: relative;
}

.menu__item--products .menu__modal {
  z-index: 80;
  width: min(45.4375rem, calc(100vw - 2rem));
  max-width: 45.4375rem;
  left: 50%;
  top: calc(100% + 1.25rem);
  transform: translateX(-42%);
  border-radius: 1.875rem;
  box-shadow: 0 0.25rem 5.3125rem rgba(0, 30, 74, 0.1);
  background: #fff;
}

.menu__item--products.is-open .menu__modal {
  display: block;
}

.menu__item--products.is-open .menu__link-toggle {
  transform: rotate(-180deg);
}

.menu__item--products .modal-menu__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 67.5em) {
  .menu__item--products .menu__modal {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    top: calc(100% + 0.75rem);
  }
}

.news__wrapper {
  align-items: stretch;
}

.news__card.card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card__info {
  flex: 1 1 auto;
}

.posts__wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1rem 0;
}

.posts__wrapper a {
  color: #3e69aa;
  text-decoration: underline;
}

.hidden {
  display: none !important;
}
