/* ITS legal pages — shared style (source: terms-bileta) */
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: #ffffff;
  color: #14181d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
.page { max-width: 78ch; margin: 0 auto; }

/* ---------- Links and focus ---------- */
a { color: #0b4a8f; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #073469; }
a:focus-visible {
  outline: 3px solid #0b4a8f;
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { position: static; display: inline-block; margin: 0.5rem 0; background: #eef2f7; padding: 0.4rem 0.6rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 3px solid #1f3a5f; padding-bottom: 1.1rem; margin-bottom: 1.6rem; }
.lang-switch {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; padding: 0.9rem 0 0.6rem;
}
.lang-switch .label { color: #4a5568; }
.lang-btn {
  display: inline-block; padding: 0.3rem 0.65rem; border: 1px solid #b6c2d1;
  border-radius: 3px; text-decoration: none; color: #0b4a8f; background: #f7f9fc;
}
.lang-btn:hover { background: #eef2f7; }
.lang-btn[aria-current="page"] {
  background: #1f3a5f; border-color: #1f3a5f; color: #ffffff;
  font-weight: 600; text-decoration: none;
}
h1 { font-size: 1.85rem; line-height: 1.25; margin: 0.6rem 0 1rem; color: #12243c; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 0; color: #12243c; }
h3 { font-size: 1.05rem; line-height: 1.35; margin: 1.5rem 0 0.5rem; color: #1f3a5f; }

/* ---------- Meta ---------- */
dl.meta { margin: 0 0 1.2rem; font-size: 0.92rem; color: #2c3540; }
dl.meta div { margin-bottom: 0.35rem; }
dl.meta dt { font-weight: 600; display: inline; }
dl.meta dd { display: inline; margin: 0 0 0 0.4rem; }

/* ---------- Callout ---------- */
.callout {
  border: 1px solid #c3cfdd; border-left: 5px solid #1f3a5f;
  background: #f5f8fb; padding: 0.9rem 1rem; margin: 1.2rem 0 1.8rem;
  border-radius: 3px; font-size: 0.94rem;
}
.callout p { margin: 0 0 0.5rem; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: #12243c; }

/* ---------- Table of contents ---------- */
nav.toc { border: 1px solid #d5dde7; background: #fbfcfe; padding: 1rem 1.1rem; margin: 0 0 2rem; border-radius: 3px; }
nav.toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
nav.toc ol { margin: 0; padding-left: 1.3rem; }
nav.toc li { margin: 0.2rem 0; }

/* ---------- Sections ---------- */
main section { margin: 0 0 2.2rem; padding-top: 1.4rem; border-top: 1px solid #e2e8ef; }
main section:first-of-type { border-top: 0; padding-top: 0; }
main section > h2 { margin-bottom: 0.8rem; }
p { margin: 0 0 0.9rem; }
ul, ol { margin: 0 0 0.9rem; padding-left: 1.4rem; }
li { margin: 0.25rem 0; }
code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em; background: #eef2f7; border: 1px solid #dbe3ec; border-radius: 3px; padding: 0.05em 0.3em;
}
hr { border: 0; border-top: 1px solid #e2e8ef; margin: 2rem 0; }

/* ---------- Placeholders (must remain visible until filled) ---------- */
.placeholder {
  color: #8a3b12;
  background: #fdf3e7;
  border-bottom: 2px dashed #a8571f;
  padding: 0 0.2em;
  white-space: normal;
}
.placeholder::after { content: ""; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.1rem; border: 1px solid #dbe3ec; border-radius: 3px; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.93rem; }
caption {
  caption-side: top; text-align: left; font-weight: 600; font-size: 0.88rem;
  color: #2c3540; padding: 0.5rem 0.7rem; background: #f5f8fb; border-bottom: 1px solid #dbe3ec;
}
th, td { border: 1px solid #dbe3ec; padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
thead th { background: #eef2f7; color: #12243c; }
tbody tr:nth-child(even) { background: #fbfcfe; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #e2e8ef; margin-top: 2rem; padding-top: 1rem; font-size: 0.88rem; color: #4a5568; }

/* ---------- Print ---------- */
@media print {
  @page { margin: 16mm; }
  body { padding: 0; font-size: 11pt; color: #000000; background: #ffffff; }
  .page { max-width: none; }
  .lang-switch, nav.toc, .skip-link { display: none !important; }
  a { color: #000000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
  .callout { border: 1px solid #000000; background: #ffffff; }
  thead th { background: #ffffff; }
  tbody tr:nth-child(even) { background: #ffffff; }
  .placeholder { color: #000000; background: #ffffff; border-bottom: 1px dashed #000000; }
  .table-wrap { overflow: visible; border-color: #000000; }
  table { min-width: 0; font-size: 9.5pt; }
  th, td { border-color: #000000; }
  main section { page-break-inside: auto; border-top: 1px solid #999999; }
  h2, h3 { page-break-after: avoid; }
  table, tr { page-break-inside: avoid; }
}
