* {
box-sizing: border-box;
}

body {
margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--page-background);
  color: var(--text-color);
  line-height: 1.6;
}

.button {
display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
background-color: var(--accent-color);
  color: var(--on-accent);
}

.button-secondary {
border-color: var(--accent-color);
  color: var(--accent-color);
}

.button-primary:hover {
background-color: var(--accent-hover);
}

.button-secondary:hover {
background-color: var(--accent-soft);
}

.button:focus-visible {
outline: 3px solid var(--focus-color);
  outline-offset: 4px;
}

.visually-hidden {
position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}


.page-related-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 32px;
  max-width: 100%;
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  text-align: right;
}

.page-related-link > span[aria-hidden="true"] {
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .page-related-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.page-related-link:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 4px;
}
