* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2E2E2E;
  padding: 20px;
  line-height: 1.6;
  background: #fff;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-switcher a {
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: #757575;
  background: #fff;
  transition: background 0.15s, color 0.15s;
}

.lang-switcher a:hover {
  background: #f5f5f5;
}

.lang-switcher a.active {
  background: #D91E18;
  color: #fff;
  pointer-events: none;
}

.page-title {
  font-size: 20px;
  font-weight: 700;
  color: #2E2E2E;
  margin: 0;
}

nav {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  flex-wrap: wrap;
}

nav a {
  color: #D91E18;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  color: #2E2E2E;
  font-weight: 700;
  pointer-events: none;
}

.last-updated {
  font-size: 13px;
  color: #757575;
  font-style: italic;
  margin-bottom: 20px;
}

h2 {
  font-size: 17px;
  font-weight: 700;
  color: #2E2E2E;
  margin-top: 14px;
  margin-bottom: 6px;
}

h2:first-of-type {
  margin-top: 0;
}

.section-content {
  font-size: 14px;
  color: #616161;
  line-height: 1.6;
  margin-bottom: 8px;
}

.section-content p {
  margin: 0 0 6px;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-content ul,
.section-content ol {
  margin: 4px 0 6px 0;
  padding-left: 20px;
}

.section-content li {
  margin-bottom: 3px;
}

.section-content strong {
  color: #424242;
  font-weight: 600;
}

#loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #D91E18;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error {
  text-align: center;
  color: #757575;
  font-size: 15px;
  padding: 40px 20px;
}

/* ── Cookie consent banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

#cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 13px;
  color: #424242;
  line-height: 1.5;
}

.cb-btns {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.cb-btns button {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
}

#cookie-accept { background: #D91E18; color: #fff; }
#cookie-decline { background: #f5f5f5; color: #424242; }

.cb-btns a {
  color: #D91E18;
  font-size: 12px;
  text-decoration: underline;
  white-space: nowrap;
}
