/* Page-owned styles for Kezdő tippek */

.tippek-main {
  width: 100%;
  overflow-x: hidden;
}

.tippek-hero {
  padding-block: var(--space-2xl) var(--space-xl);
  background-color: var(--color-cloud);
  position: relative;
}

.tippek-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.tippek-hero h1 {
  max-width: 700px;
  margin-block-end: 0;
  text-align: center;
}

.tippek-hero__lead {
  max-width: 700px;
  margin-inline: auto;
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--color-ink);
  text-align: center;
  margin-block-end: 0;
}

.tippek-section {
  padding-block: var(--space-2xl);
}

.tippek-section--alternate {
  background-color: rgba(255, 248, 186, 0.2);
}

.tippek-section__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.tippek-section h2 {
  margin-block-end: 0;
  width: 100%;
}

.tippek-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.tippek-copy--left {
  text-align: start;
  align-self: flex-start;
}

.tippek-copy--80 {
  max-width: 800px;
  width: 100%;
}

.tippek-copy h3 {
  margin-block-end: 0;
}

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

.tippek-copy ul,
.tippek-copy ol {
  margin-block-end: 0;
}

.tippek-callout {
  width: 100%;
  background-color: var(--color-white);
  border: var(--border-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-offset);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.tippek-callout h3 {
  margin-block-end: 0;
}

.tippek-callout p,
.tippek-callout ul,
.tippek-callout ol {
  margin-block-end: 0;
}

.tippek-numbered-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  counter-reset: tippek-item;
}

.tippek-numbered-list li {
  counter-increment: tippek-item;
  position: relative;
  padding-inline-start: var(--space-xl);
  line-height: var(--leading-body);
  min-width: 0;
}

.tippek-numbered-list li::before {
  content: counter(tippek-item);
  position: absolute;
  left: 0;
  top: 0.2em;
  font-family: var(--font-heading);
  font-size: var(--text-body-small);
  line-height: 1.4;
  color: var(--color-grass);
}

.tippek-bullet-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tippek-bullet-list li {
  position: relative;
  padding-inline-start: var(--space-lg);
  line-height: var(--leading-body);
  min-width: 0;
}

.tippek-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--color-grass);
  border: var(--border-ink);
}

.tippek-myth-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tippek-myth-list li {
  line-height: var(--leading-body);
  min-width: 0;
  padding-inline-start: var(--space-md);
  border-inline-start: 4px solid var(--color-coral);
}

.tippek-two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-lg);
  width: 100%;
  align-items: start;
}

.tippek-two-column__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.tippek-two-column__text h3 {
  margin-block-end: 0;
}

.tippek-two-column__text p,
.tippek-two-column__text ol,
.tippek-two-column__text ul {
  margin-block-end: 0;
}

.tippek-figure {
  margin-block-end: 0;
  min-width: 0;
  width: 100%;
}

.tippek-figure img {
  width: 100%;
  height: auto;
  border: var(--border-ink);
  border-radius: var(--radius);
  display: block;
}

.tippek-figure figcaption {
  margin-block-start: var(--space-xs);
}

.tippek-checklist {
  width: 100%;
  max-width: 800px;
  background-color: var(--color-white);
  border: var(--border-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-offset);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.tippek-checklist h3 {
  margin-block-end: 0;
}

.tippek-checklist p,
.tippek-checklist ul {
  margin-block-end: 0;
}

.tippek-checklist__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tippek-checklist__list li {
  position: relative;
  padding-inline-start: var(--space-xl);
  line-height: var(--leading-body);
  min-width: 0;
}

.tippek-checklist__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  background-color: var(--color-white);
  border: var(--border-ink);
}

.tippek-cta {
  align-items: center;
  text-align: center;
}

.tippek-cta h2 {
  text-align: center;
}

.tippek-cta__text {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: 0;
}

.tippek-cta__button {
  margin-block-start: var(--space-lg);
}

@media (max-width: 900px) {
  .tippek-two-column {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .tippek-two-column__text,
  .tippek-figure {
    width: 100%;
    max-width: 800px;
  }

  .tippek-section__inner {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .tippek-hero {
    padding-block: var(--space-xl) var(--space-lg);
  }

  .tippek-hero h1 {
    font-size: 18px;
    line-height: var(--leading-h1);
  }

  .tippek-hero__lead {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .tippek-section {
    padding-block: var(--space-xl);
  }

  .tippek-section__inner {
    gap: var(--space-lg);
  }

  .tippek-copy--80 {
    max-width: 100%;
  }

  .tippek-callout,
  .tippek-checklist {
    padding: var(--space-md);
  }

  .tippek-numbered-list li,
  .tippek-checklist__list li {
    padding-inline-start: var(--space-lg);
  }

  .tippek-numbered-list li::before {
    font-size: var(--text-caption);
  }

  .tippek-checklist__list li::before {
    width: 12px;
    height: 12px;
    top: 0.5em;
  }

  .tippek-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tippek-hero,
  .tippek-section,
  .tippek-callout,
  .tippek-checklist,
  .tippek-cta__button {
    transition: none;
    animation: none;
  }
}
