/* ==========================================
   MARIESTAD BOIS HC — LEGAL CSS (Light Theme)
   ТОЛЬКО контентная зона страницы.
   Nav, Footer, Burger, Mobile-menu — из main.css.
   ========================================== */

/* ---------- Body light override (nav/footer имеют свои explicit bg) ---------- */
body {
  background: #F5F5F5;
  color: #1A1A2E;
}

/* ---------- Content area ---------- */
.content {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px 32px 80px;
}

.content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 46px; text-transform: uppercase;
  color: #1A1A2E; margin-bottom: 6px;
  border-bottom: 3px solid #003F88;
  padding-bottom: 14px; margin-bottom: 20px;
}

.content .date {
  font-size: 13px; color: #888;
  margin-bottom: 28px; display: block;
}

.content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 22px; text-transform: uppercase;
  color: #1A1A2E; margin: 32px 0 10px;
}

.content p   { font-size: 15px; color: #444; margin-bottom: 12px; line-height: 1.7; }
.content ul  { padding-left: 20px; margin-bottom: 12px; }
.content li  { font-size: 15px; color: #444; margin-bottom: 6px; }
.content a   { color: #003F88; }
.content strong { color: #1A1A2E; }

/* ---------- Table ---------- */
.content table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: 14px;
  border-radius: 8px; overflow: hidden;
}
.content th {
  background: #1A1A2E; color: #E8F4FD;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; text-transform: uppercase;
  padding: 12px 14px; text-align: left; letter-spacing: 1px;
}
.content td {
  padding: 10px 14px;
  border-bottom: 1px solid #DDD; color: #444;
  vertical-align: top;
}
.content tr:nth-child(even) td { background: #ECECEC; }

/* ---------- Info box ---------- */
.info-box {
  background: #E8F0FC;
  border-left: 4px solid #003F88;
  padding: 16px 20px; border-radius: 4px; margin: 20px 0;
}
.info-box p { color: #1A1A2E; margin-bottom: 0; }

/* ---------- Helpline box ---------- */
.helpline {
  background: #1A1A2E; color: #E8F4FD;
  padding: 20px 24px; border-radius: 10px; margin: 24px 0;
}
.helpline p { color: #E8F4FD; margin-bottom: 6px; }
.helpline p:last-child { margin-bottom: 0; }
.helpline a { color: #D4AF37; }

/* ---------- Contact box ---------- */
.contact-box {
  background: #EAEEF6;
  border: 1px solid #C8D5EC;
  border-radius: 10px; padding: 24px; margin-top: 16px;
}
.contact-box p { margin-bottom: 4px; }
.contact-box a { color: #003F88; }

/* ---------- Age-blocked page ---------- */
.age-blocked {
  min-height: 100vh;
  background: #08101C !important;
  color: #E8F4FD !important;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 32px;
}
.age-blocked h1 { color: #E8F4FD; font-size: 48px; margin-bottom: 16px; }
.age-blocked p  { font-size: 16px; color: #8A9BB4; max-width: 400px; }

/* Override footer top margin for legal pages (content area, not section-heavy) */
footer { margin-top: 0; }

/* ==================== RESPONSIVE — TABLET ==================== */
@media (max-width: 1023px) {
  .content { padding: 40px 24px 70px; }
  .content h1 { font-size: 38px; }
}

/* ==================== RESPONSIVE — MOBILE ==================== */
@media (max-width: 767px) {
  .content { padding: 28px 16px 60px; }
  .content h1 { font-size: 32px; padding-bottom: 12px; }
  .content h2 { font-size: 19px; }
  .content p, .content li { font-size: 14px; }

  /* Table: scroll horizontally on mobile */
  .content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }
  .content th, .content td { padding: 8px 10px; min-width: 120px; }

  .info-box { padding: 14px 16px; }
  .helpline  { padding: 16px; }
  .contact-box { padding: 16px; }
}
