:root {
  --country-nav-width: 594.029px;
  --country-nav-height: 213.86px;
  --country-nav-color: var(--color-text-primary);
  --country-nav-hover: var(--color-text-accent);
}

.country-page {
  width: 100%;
  padding-right: var(--space-6xl);
  padding-left: var(--space-6xl);
}

.country-page-content {
  min-width: 0;
}

.country-navigation {
  position: relative;
  align-self: flex-start;
  flex: 0 0 auto;
  width: var(--country-nav-width);
  max-width: 100%;
  height: var(--country-nav-height);
  color: var(--country-nav-color);
}

.country-navigation-surface {
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(var(--country-nav-scale, 1));
  transform-origin: top left;
}

.country-navigation-stamp {
  position: absolute;
  display: block;
  color: inherit;
  text-decoration: none;
  transform: rotate(var(--stamp-rotation, 0deg));
  transform-origin: center;
  transition: color 150ms ease, transform 150ms ease;
  -webkit-tap-highlight-color: transparent;
}

.country-navigation-stamp-content {
  position: absolute;
  inset: 0;
  color: currentColor;
}

.country-navigation-stamp-frame,
.country-navigation-stamp-dot,
.country-navigation-stamp-arrow {
  position: absolute;
  display: block;
  background-color: currentColor;
  pointer-events: none;
  user-select: none;
}

.country-navigation-stamp-frame {
  inset: 0;
  -webkit-mask: var(--stamp-frame-image) center / 100% 100% no-repeat;
  mask: var(--stamp-frame-image) center / 100% 100% no-repeat;
}

.country-navigation-stamp-dot {
  left: var(--stamp-dot-x);
  top: var(--stamp-dot-y);
  width: 2.222222%;
  height: 4.761905%;
  -webkit-mask: var(--stamp-dot-image) center / 100% 100% no-repeat;
  mask: var(--stamp-dot-image) center / 100% 100% no-repeat;
}

.country-navigation-stamp-label,
.country-navigation-stamp-meta {
  position: absolute;
  margin: 0;
  color: currentColor;
  font-family: var(--type-family-display), monospace;
  font-variation-settings: "CRSV" 0, "ELSH" 0, "ELXP" 0;
  font-weight: var(--type-weight-emphasis);
  line-height: normal;
  text-align: center;
}

.country-navigation-stamp-label {
  top: 25%;
  left: 50%;
  width: 88.888889%;
  font-size: var(--type-size-nav-ul);
  transform: translateX(-50%);
}

.country-navigation-stamp-meta {
  top: 61.904762%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52.222222%;
  height: 16.666667%;
  gap: 6px;
  font-size: var(--type-size-label);
  transform: translateX(-50%);
  white-space: nowrap;
}

.country-navigation-stamp-country {
  text-transform: uppercase;
}

.country-navigation-stamp-arrow {
  width: 8.888889%;
  height: 9.52381%;
  -webkit-mask: var(--stamp-arrow-image) center / 100% 100% no-repeat;
  mask: var(--stamp-arrow-image) center / 100% 100% no-repeat;
}

.country-navigation-stamp-arrow--left {
  top: 65.47619%;
  left: 12.222222%;
  transform: scaleX(-1);
}

.country-navigation-stamp-arrow--right {
  top: 64.285714%;
  left: 78.888889%;
}

.country-navigation-stamp[aria-current="location"]
  .country-navigation-stamp-label {
  color: var(--country-nav-hover);
  text-decoration: underline dotted;
  text-underline-offset: 0.15em;
}

.country-navigation-stamp:hover,
.country-navigation-stamp:focus-visible {
  color: var(--country-nav-hover);
  transform: rotate(var(--stamp-rotation, 0deg)) translateY(-2px);
}

.country-navigation-stamp:focus-visible {
  outline: 2px solid var(--country-nav-hover);
  outline-offset: 4px;
}

.country-navigation[data-status="error"]::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--country-nav-color);
  font-family: var(--type-family-display), monospace;
  content: "Navigation unavailable";
}

@media (prefers-reduced-motion: reduce) {
  .country-navigation-stamp {
    transition: none;
  }
}

@media (max-width: 900px) {
  .country-page {
    padding-right: var(--space-lg);
    padding-left: var(--space-lg);
  }
}
