html,

body {
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
}

.subpage-back-wrap {
  max-width: 100%;
  margin: 0;
  padding-inline: clamp(1rem, 2.3vw, 1.9rem);
  text-align: center;
  position: relative;
  top: 0;
  z-index: 1;
  background: transparent;
  padding-top: 0.08rem;
}

.subpage-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-width: clamp(11rem, 15vw, 13rem);
  padding: 0.62rem 1.2rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-top: none;
  border-radius: 0 0 0.95rem 0.95rem;
  background: var(--primary-color, #008bc4);
  color: #ffffff;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.9rem, 0.45vw + 0.72rem, 1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(4, 89, 124, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.subpage-back-link:hover,
.subpage-back-link:focus-visible {
  transform: none;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 18px rgba(4, 89, 124, 0.26);
}

@media (min-width: 769px) {
  .subpage-back-wrap {
    text-align: left;
    padding-inline-start: calc(clamp(1rem, 2.3vw, 1.9rem) + 0.75rem);
  }
}

@media (max-width: 768px) {
  .subpage-back-wrap {
    margin: 0;
  }

  .subpage-back-link {
    border-radius: 0 0 0.8rem 0.8rem;
    min-width: 10rem;
  }

}
