/* Layout cho các trang pháp lý (Impresszum, ÁSZF, Adatkezelés...). */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/opensans-regular-webfont.woff2) format("woff2"),
    url(../fonts/opensans-regular-webfont.woff) format("woff");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/opensans-bold-webfont.woff2) format("woff2"),
    url(../fonts/opensans-bold-webfont.woff) format("woff");
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body.legal-page {
  margin: 0;
  background: #f4f5f7;
  color: #333;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Header ---------- */
.legal-header {
  background: #fff;
  border-bottom: 3px solid #f18704;
}
.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 14px 15px;
}
.legal-header__brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b057e;
  text-decoration: none;
}
.legal-header__cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  background: #e21d14;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.legal-header__cta:hover,
.legal-header__cta:focus {
  background: #c0170f;
}

/* ---------- Nội dung ---------- */
.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 15px 60px;
}
.legal__breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
  color: #777;
}
.legal__breadcrumb a {
  color: #0699ee;
  text-decoration: none;
}
.legal__breadcrumb a:hover {
  text-decoration: underline;
}
.legal__content {
  padding: 40px 48px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.legal__content h1 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.25;
  color: #222;
}
.legal__updated {
  margin: 0 0 28px;
  font-size: 14px;
  color: #888;
}
.legal__content h2 {
  margin: 34px 0 12px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  font-size: 21px;
  line-height: 1.35;
  color: #f18704;
}
.legal__content h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: #222;
}
.legal__content p,
.legal__content ul,
.legal__content ol {
  margin: 0 0 14px;
}
.legal__content ul,
.legal__content ol {
  padding-left: 22px;
}
.legal__content li {
  margin-bottom: 6px;
}
.legal__content a {
  color: #0699ee;
  word-break: break-word;
}
.legal__data {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin: 0 0 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}
.legal__data dt,
.legal__data dd {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
}
.legal__data dt {
  background: #fafafa;
  font-weight: 700;
}
.legal__data dt:last-of-type,
.legal__data dd:last-of-type {
  border-bottom: 0;
}
.legal__table-wrap {
  margin: 0 0 18px;
  overflow-x: auto;
}
.legal__table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}
.legal__table th,
.legal__table td {
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}
.legal__table th {
  background: #fafafa;
}
.legal__box {
  margin: 0 0 18px;
  padding: 18px 22px;
  border-left: 4px solid #f18704;
  border-radius: 6px;
  background: #fff8ef;
}
.legal__box p:last-child {
  margin-bottom: 0;
}
.legal__form {
  margin: 0 0 18px;
  padding: 22px 24px;
  border: 1px dashed #bbb;
  border-radius: 8px;
  background: #fcfcfc;
  font-size: 15px;
}
.legal__form p:last-child {
  margin-bottom: 0;
}
.legal__back {
  margin: 36px 0 0 !important;
  font-weight: 700;
}
.legal__back a {
  text-decoration: none;
}

@media (max-width: 767px) {
  body.legal-page {
    font-size: 15px;
  }
  .legal-header__brand {
    font-size: 18px;
  }
  .legal-header__cta {
    padding: 8px 14px;
    font-size: 13px;
  }
  .legal {
    padding: 16px 10px 40px;
  }
  .legal__content {
    padding: 26px 18px;
  }
  .legal__content h1 {
    font-size: 25px;
  }
  .legal__content h2 {
    font-size: 19px;
  }
  .legal__data {
    grid-template-columns: 1fr;
  }
  .legal__data dt {
    border-bottom: 0;
    padding-bottom: 2px;
  }
  .legal__data dd {
    padding-top: 2px;
  }
}
