﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #222;
  font-family: Arial, "Nirmala UI", sans-serif;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #ededed;
}

.header-inner {
  max-width: 1280px;
  min-height: 80px;
  margin-inline: auto;
  padding: 16px 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  background: #f7f7f7;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 84px;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #646464;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.page-nav, main {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 24px 32px;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #646464;
  text-decoration: none;
}

.page-nav a[aria-current="page"] {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 6px;
}

main { padding-top: 32px; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.4; margin: 0 0 24px; }
p { max-width: 72ch; font-size: 1rem; line-height: 1.85; margin: 0 0 20px; color: #555; }
.breadcrumbs { margin-bottom: 24px; font-size: 14px; line-height: 1.8; }
.breadcrumbs a { color: #555; }
a:focus-visible { outline: 2px solid #333; outline-offset: 4px; }
.skip-link { position: absolute; top: -200px; left: 16px; padding: 12px; background: #fff; color: #111; z-index: 1; }
.skip-link:focus { top: 12px; }

@media (max-width: 600px) {
  .page-nav, main { padding-inline: 16px; }
  .page-nav { gap: 8px 20px; }
}

.language-switch a:hover {
  color: #111;
  background: #eee;
}

.language-switch a[aria-current="page"] {
  background: #fff;
  color: #111;
  box-shadow: 0 1px 4px #00000014;
}

.language-switch a:focus-visible {
  outline: 2px solid #333;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 72px;
    padding: 10px 16px;
  }
}

