/* =============================================
   Page: Adatvédelmi nyilatkozat
   Scoped styles – only targets elements inside <main>
   ============================================= */

/* Hero section */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background-image: url('/assets/images/hero-poker-table.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero__text-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xs);
  max-width: 600px;
  width: 90%;
  margin-inline: auto;
  margin-bottom: 10vh;
  padding: var(--space-sm) var(--space-xs);
  background-color: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--color-deepRed);
  border-radius: var(--radius-lg);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-display-size);
  line-height: var(--text-display-line);
  font-weight: var(--text-display-weight);
  color: var(--color-offWhite);
  margin: 0;
}

.hero__divider {
  width: 40px;
  height: 2px;
  background-color: var(--color-deepRed);
  margin-block: var(--space-3xs);
}

.hero__lead {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  color: var(--color-mutedWhite);
  margin: 0;
}

/* Content sections */
.content-section {
  padding-block: var(--space-lg);
}

.content-section--last {
  padding-block-end: var(--space-xl);
}

.content-column {
  max-width: 60ch;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.content-column h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line);
  font-weight: var(--text-h2-weight);
  color: var(--color-offWhite);
  margin-block-end: var(--space-2xs);
  padding-block-end: var(--space-3xs);
  border-bottom: 2px solid var(--color-deepRed);
}

.content-column h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  font-weight: var(--text-h3-weight);
  color: var(--color-offWhite);
  margin-block-start: var(--space-xs);
  margin-block-end: var(--space-3xs);
}

.content-column p {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  color: var(--color-offWhite);
  margin-block-end: var(--space-2xs);
}

.content-column p:last-child {
  margin-block-end: 0;
}

/* Data list with red bullets */
.data-list {
  list-style: none !important;
  padding-inline-start: 0;
  margin-block-end: var(--space-2xs);
}

.data-list li {
  position: relative;
  padding-inline-start: var(--space-xs);
  margin-block-end: var(--space-3xs);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  color: var(--color-offWhite);
}

.data-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: var(--color-deepRed);
  font-size: 0.75em;
  line-height: inherit;
}

.data-list li:last-child {
  margin-block-end: 0;
}

/* Links inside content */
.content-column a {
  color: var(--color-deepRed);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.content-column a:hover {
  color: var(--color-agedRed);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .hero__text-box {
    margin-bottom: 5vh;
    padding: var(--space-xs) var(--space-2xs);
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .content-section {
    padding-block: var(--space-md);
  }

  .content-section--last {
    padding-block-end: var(--space-lg);
  }

  .content-column {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .content-column h2 {
    font-size: 1.5rem;
  }

  .content-column h3 {
    font-size: 1.25rem;
  }
}