/* ============ Info pages (About / Contact / Privacy / Terms) ============ */

* { box-sizing: border-box; }

body {
  background: #f5f7fa;
  color: #2d3a48;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Page header banner hidden — H1 inside the content card serves as the title */
.page > .header { display: none; }

/* Site nav bar above the header */
.info-nav {
  background: #ffffff;
  border-bottom: 1px solid #e3e9f0;
  padding: 14px 0;
}
.info-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.info-nav__brand {
  color: #096198;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.info-nav__links { display: flex; gap: 6px; flex-wrap: wrap; }
.info-nav__links a {
  color: #2d3a48;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.2s;
}
.info-nav__links a:hover { background: #e8f0f6; color: #096198; }
.info-nav__call {
  background: #f5a623;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 22px !important;
  font-weight: 700 !important;
}
.info-nav__call:hover { background: #e09416 !important; }

/* Container */
.container {
  position: relative;
  width: 92%;
  max-width: 980px;
  margin: 0 auto;
}

/* Content area — flat white background, full width */
body { background: #ffffff; }
.translations-content-container {
  position: relative;
  z-index: 1;
  padding: 50px 0 70px;
  background: #ffffff;
}
.translations-content-item {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  counter-reset: section;
  position: relative;
}

/* Lead paragraph (first paragraph) */
.translations-content-item > p:first-of-type {
  font-size: 16px;
  line-height: 1.75;
  color: #2d3a48;
  padding: 14px 18px;
  background: #f5f7fa;
  border-left: 3px solid #f5a623;
  border-radius: 0 8px 8px 0;
  margin-bottom: 22px;
}

/* Headings — H1 acts as a numbered section divider */
.translations-content-item h1 {
  font-size: 26px;
  line-height: 1.3;
  color: #0a4d7a;
  margin: 48px 0 18px;
  font-weight: 700;
  padding: 0 0 14px 0;
  border-bottom: 1px solid #e3e9f0;
  position: relative;
  counter-increment: section;
}
.translations-content-item h1::before {
  content: counter(section, decimal-leading-zero);
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #f5a623;
  letter-spacing: 3px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.translations-content-item h1:first-child {
  margin-top: 0;
}
.translations-content-item h2 {
  font-size: 19px;
  line-height: 1.35;
  color: #0a4d7a;
  margin: 28px 0 12px;
  font-weight: 700;
  padding-left: 14px;
  border-left: 3px solid #096198;
}
.translations-content-item h3 {
  font-size: 17px;
  line-height: 1.4;
  color: #096198;
  margin: 22px 0 10px;
  font-weight: 700;
}
.translations-content-item h4,
.translations-content-item h5,
.translations-content-item h6 {
  font-size: 15px;
  line-height: 1.45;
  color: #2d3a48;
  margin: 18px 0 8px;
  font-weight: 700;
}
.translations-content-item p,
.translations-content-item li {
  margin: 0 0 14px;
  color: #455564;
  font-size: 15.5px;
  line-height: 1.75;
}
.translations-content-item ul,
.translations-content-item ol {
  margin: 0 0 18px;
  padding-left: 24px;
}
.translations-content-item li { padding-left: 6px; }
.translations-content-item li::marker { color: #f5a623; font-weight: 700; }
.translations-content-item li p { margin-bottom: 8px; }
.translations-content-item li li { margin-bottom: 6px; }

.translations-content-item a {
  color: #096198;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(9,97,152,0.25);
  transition: border-color 0.2s, color 0.2s;
}
.translations-content-item a:hover {
  color: #f5a623;
  border-bottom-color: #f5a623;
  text-decoration: none;
}

.translations-content-item strong { color: #0a4d7a; font-weight: 700; }

@media (max-width: 700px) {
  .translations-content-item { padding: 36px 22px; border-radius: 12px; }
  .translations-content-item h1 { font-size: 22px; margin-top: 36px; }
  .translations-content-item h2 { font-size: 17px; }
  .translations-content-item > p:first-of-type { padding: 12px 14px; font-size: 15px; }
}

/* Visibility helpers (preserved) */
.visible { display: block; }
.hidden { display: none; }
.page { width: 100%; }

/* Translations list (legacy) */
.translations-list-container {
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  margin: 0 0 24px;
}
.translations-list-container .translations-list { margin: 0; padding: 0; list-style: none; }
.translations-list-container .translations-list .translations-list-item {
  display: inline-block;
  padding: 0;
  margin: 0 8px 8px 0;
  font-weight: 700;
}
.translations-list-container .translations-list .translations-list-item a {
  display: inline-block;
  color: #096198;
  border: 1px solid #096198;
  border-radius: 22px;
  padding: 4px 16px;
}

/* nofollow links keep distinct */
a[rel~="nofollow"] { color: #096198; }
a[rel~="nofollow"]:hover { color: #f5a623; }

/* Responsive */
@media screen and (max-width: 700px) {
  .page > .header { padding: 36px 0 48px; }
  .page > .header .title { font-size: 22px; }
  .translations-content-item { padding: 26px 20px; }
  .translations-content-item h1 { font-size: 24px; }
  .translations-content-item h2 { font-size: 19px; }
  .info-nav__brand { font-size: 16px; }
  .info-nav__links a { font-size: 13px; padding: 6px 10px; }
}
