.dropdown-button a {
  color: inherit;
}
.dropdown-item a[aria-current="page"] {
  font-weight: 700;
}
.dropdown-toggle:focus-visible,
[data-dropdown-toggle]:focus-visible,
[data-menu-toggle]:focus-visible,
.dropdown-item a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.nav [hidden] {
  display: none !important;
}
.status .section__title h1 {
  font-size: clamp(28px, 4vw, 40px);
}
.hero--text .hero__block h1 {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero--text .hero__block {
  min-width: 0;
}

.site-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

[class*="scrollFade"] {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.servers__slider .servers__item:not([data-country="nl"]):not(.is-visible) {
  display: none;
}

.servers__slider > .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .servers__slider > .swiper-wrapper {
    transition-property: transform !important;
    transition-duration: 160ms !important;
    transition-timing-function: ease-out !important;
  }
  .servers__slider.swiper-dragging > .swiper-wrapper {
    transition-duration: 0ms !important;
  }
}
.features__item-icon .site-icon {
  width: 60px;
  height: 60px;
  color: #fff;
}

@keyframes bit-enter {
  from {
    transform: translateY(6px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes bit-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__block,
  .hero__footer {
    animation: bit-enter 220ms ease-out both;
  }
  .swaying {
    animation: bit-float 8s ease-in-out infinite;
  }
  .features__item-icon .site-icon {
    transition: transform 180ms ease-out;
  }
  .features__item:hover .site-icon {
    transform: translateY(-3px) rotate(-4deg);
  }
  .servers__item {
    transition: border-color 160ms ease-out;
  }
  .bh-gift-card {
    animation: bit-enter 200ms ease-out;
  }
}
.bh-gift-glow,
.bh-gift-ray,
.bh-gift-spark,
.bh-gift-float {
  animation: none !important;
}
.bh-gift-modal *::before,
.bh-gift-modal *::after {
  animation: none !important;
}

.servers__sidebar {
  min-width: 0;
}
.servers__countries.country-selector {
  width: 100%;
  max-width: 960px;
  margin: 20px auto 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  justify-items: stretch;
}
.country-selector .servers__country {
  max-width: none;
  min-width: 0;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 16px;
  border-color: #d5e2fa;
  background: #fff;
  box-shadow: 0 2px 8px #1c4c9d08;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}
.country-selector .servers__country:hover {
  transform: translateY(-2px);
  background: #edf4ff;
  color: #163e8c;
  border-color: #91b5f9;
}
.country-selector .servers__country.active {
  background: #3273f6;
  border-color: #3273f6;
  color: #fff;
  box-shadow: 0 5px 14px #3273f62b;
}
.country-selector .servers__country:focus-visible {
  outline: 3px solid #95baff;
  outline-offset: 3px;
}
.country-selector .site-icon {
  width: 28px;
  height: 28px;
  margin-right: 4px;
}
.country-selector__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  min-width: 0;
}
.country-selector__name {
  font-weight: 600;
  line-height: 1.25;
}
.country-selector__city {
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.75;
}
.datacenter__location-art {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #fff, #e5efff);
  color: #194d9f;
  font-size: 34px;
  font-weight: 700;
  border-radius: 24px;
}
.datacenter__location-art .site-icon {
  width: 100px;
  height: 100px;
}
@media (max-width: 760px) {
  .servers__countries.country-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .servers__countries.country-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .country-selector .servers__country {
    padding: 10px;
    min-height: 64px;
    border-radius: 12px;
  }
  .country-selector .site-icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
  }
  .country-selector__name {
    font-size: 13px;
  }
}

.country-selector__name {
  overflow-wrap: anywhere;
}
.servers__sidebar > .servers__filter-label {
  justify-content: center;
  margin-right: 0;
  color: #52647e;
}

@media (min-width: 1200px) {
  .offcanvas-body {
    align-items: center;
    gap: 12px;
  }
  .nav-bg {
    padding: 10px 18px;
    gap: 4px;
    flex-shrink: 0;
  }
  .nav-bg .nav-link,
  .nav-bg .dropdown-button {
    padding: 12px 10px;
    white-space: nowrap;
  }
  .nav-menu.only-pc {
    flex-shrink: 1;
    min-width: 130px;
  }
  .nav-menu.only-pc .logotype img {
    max-width: 190px;
    width: 100%;
  }
  .btn-language {
    white-space: nowrap;
  }
}
@keyframes bit-tariffs-enter {
  from {
    opacity: 0.7;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .tariffs-enter {
    animation: bit-tariffs-enter 260ms ease-out;
  }
}

main {
  min-width: 0;
}
.hero__block {
  min-width: 0;
}
.card--info {
  overflow-wrap: anywhere;
}
main img {
  max-width: 100%;
}
@media (max-width: 1199px) {
  .nav .only-pc {
    display: none !important;
  }
  .offcanvas {
    background: #f7f9fc;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 0;
  }
  .offcanvas-body {
    display: block;
    padding: 0 20px;
  }
  .offcanvas .nav-link {
    color: #17243b;
  }
  .offcanvas .nav-bg {
    gap: 4px;
  }
  .offcanvas .nav-bg > .nav-item {
    width: 100%;
    display: block;
  }
  .offcanvas .nav-bg .nav-link,
  .offcanvas .nav-bg .dropdown-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
    border-bottom: 0;
  }
  .offcanvas .nav-bg .nav-link:hover,
  .offcanvas .nav-bg .dropdown-button:hover {
    background: #eaf1ff;
  }
  .offcanvas .nav-bg .dropdown {
    width: 100%;
  }
  .offcanvas .nav-bg .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    padding: 6px 10px;
    background: #edf3ff;
    border-radius: 12px;
  }
  .offcanvas .nav-bg .dropdown.open > .dropdown-menu {
    display: block;
  }
  .offcanvas-header {
    padding: 20px;
  }
  .offcanvas__footer {
    padding: 12px 20px 24px;
  }
  body.menu-open {
    overflow: hidden;
  }
}
@media (max-width: 575px) {
  .hero__block h1,
  .hero__slider-information h1 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .hero__slider-information h2 {
    font-size: 30px;
    line-height: 1.15;
  }
  .section__title h1,
  .section__title h2,
  .hero h2 {
    font-size: 28px;
    line-height: 1.18;
  }
  .hero__block p {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero__content {
    gap: 20px;
  }
  .nav {
    padding-bottom: 24px;
  }
  .servers__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .servers__feature {
    min-width: 0;
  }
  .servers__feature-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .servers__feature-text h4 {
    font-size: 13px;
  }
  .servers__item-body,
  .servers__item-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .servers__order {
    flex-wrap: wrap;
    gap: 12px;
  }
  .servers__order > .btn {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .servers__option .label {
    white-space: normal;
    text-align: center;
  }
  .card--info {
    padding: 24px 18px;
  }
  .card--info h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .datacenter__location-art {
    min-height: 200px;
  }
}

@media (min-width: 1200px) {
  .nav-bg .dropdown-menu {
    max-height: min(520px, calc(100svh - 210px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #nav-languages {
    left: auto;
    right: 0;
  }
}
@media (max-width: 1199px) {
  .offcanvas .nav-bg .dropdown-menu {
    display: none;
  }
  .offcanvas .nav-bg .dropdown.open > .dropdown-menu {
    display: block;
  }
  .offcanvas .nav-bg .dropdown-item {
    padding: 12px 14px;
    min-width: 0;
    white-space: normal;
  }
}

.nav-link:focus-visible {
  outline: 2px solid #95baff;
  outline-offset: 3px;
}
@media (min-width: 1200px) {
  .nav-bg .nav-link:hover,
  .nav-bg .dropdown-button:hover,
  .nav-bg .nav-item.active .nav-link {
    color: #fff;
    background: #ffffff24;
    border-radius: 24px;
  }
}
@media (max-width: 1199px) {
  .offcanvas .nav-bg .dropdown-button {
    color: #17243b;
  }
}

@media (max-width: 767px) {
  .servers__navigation {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
  }
  .servers__navigation button {
    position: static;
    width: 44px;
    height: 44px;
    transform: none;
    display: grid;
    place-items: center;
  }
  .servers__navigation button img,
  .servers__navigation button svg {
    width: 40px;
    height: 40px;
  }
}
