/* Page-scoped styles for Adatvédelmi nyilatkozat */
.adatvedelmi-main {
  padding-block: 4rem;
}

@media (min-width: 48rem) {
  .adatvedelmi-main {
    padding-block: 6rem;
  }
}

.adatvedelmi-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 48rem) {
  .adatvedelmi-container {
    gap: 6rem;
  }
}

.adatvedelmi-section {
  width: 100%;
}

/* Bevezetés – centered, max 65ch */
.adatvedelmi-intro {
  display: flex;
  justify-content: center;
}

.adatvedelmi-intro-inner {
  width: 100%;
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.adatvedelmi-intro-inner h1 {
  margin-block-end: 0;
}

.adatvedelmi-intro-inner p {
  margin-block-end: 0;
}

.adatvedelmi-intro-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 47.999rem) {
  .adatvedelmi-intro-inner {
    text-align: start;
  }
}

/* Cards */
.adatvedelmi-card-section {
  display: flex;
  justify-content: center;
}

.adatvedelmi-card {
  width: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.1), 0 2px 4px -2px rgba(30, 41, 59, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .adatvedelmi-card {
    padding: 2.5rem;
  }
}

.adatvedelmi-card > * {
  margin-block-end: 0;
}

.adatvedelmi-card-narrow {
  max-width: 40rem;
}

.adatvedelmi-card-medium {
  max-width: 50rem;
}

.adatvedelmi-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.adatvedelmi-contact-list li {
  margin: 0;
}

.adatvedelmi-contact-list a {
  color: #0891B2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.adatvedelmi-contact-list a:hover {
  color: #06B6D4;
}

/* Text sections – left aligned, max 70ch */
.adatvedelmi-text-section {
  display: flex;
  justify-content: flex-start;
}

.adatvedelmi-copy {
  width: 100%;
  max-width: 70ch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.adatvedelmi-copy > * {
  margin-block-end: 0;
}

.adatvedelmi-copy h2 {
  margin-block-end: 0;
}

.adatvedelmi-copy p {
  margin-block-end: 0;
}

.adatvedelmi-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.adatvedelmi-list > li {
  position: relative;
  padding-inline-start: 1.5rem;
  margin-block-end: 0;
}

.adatvedelmi-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #06B6D4;
}

.adatvedelmi-copy a {
  color: #0891B2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.adatvedelmi-copy a:hover {
  color: #06B6D4;
}

/* Tables */
.adatvedelmi-table-wrap {
  overflow-x: auto;
  width: 100%;
}

.adatvedelmi-table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: 0;
  min-width: 320px;
}

.adatvedelmi-table th,
.adatvedelmi-table td {
  padding: 0.75rem;
  border: 1px solid #E2E8F0;
  text-align: start;
  vertical-align: top;
}

.adatvedelmi-table th {
  font-weight: 600;
  background-color: #F8FAFC;
}

@media (max-width: 47.999rem) {
  .adatvedelmi-table,
  .adatvedelmi-table tbody,
  .adatvedelmi-table tr,
  .adatvedelmi-table td,
  .adatvedelmi-table th {
    display: block;
  }

  .adatvedelmi-table thead {
    display: none;
  }

  .adatvedelmi-table tr {
    margin-block-end: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    overflow: hidden;
  }

  .adatvedelmi-table td {
    border: none;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.75rem;
  }

  .adatvedelmi-table td:last-child {
    border-bottom: none;
  }

  .adatvedelmi-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #475569;
    margin-block-end: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adatvedelmi-card,
  .adatvedelmi-copy,
  .adatvedelmi-intro-inner {
    transition: none;
  }
}
