/* Tippek Kezdőknek page styles */

.tippek-hero {
  background-color: var(--color-snow-white);
  background-image: linear-gradient(rgba(245, 245, 240, 0.92), rgba(245, 245, 240, 0.92)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M20 60h80M60 20v80M20 20l80 80M100 20L20 100' stroke='%23c8a96e' stroke-width='1' fill='none' opacity='0.25'/%3E%3Ccircle cx='60' cy='60' r='28' fill='none' stroke='%23c8a96e' stroke-width='1' opacity='0.25'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  padding: var(--space-3xl) var(--container-padding);
  text-align: center;
}

.tippek-hero__content {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.tippek-hero__title {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  color: var(--color-pine-green);
  margin-block-end: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.tippek-hero__subtitle {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-ink-dark);
  max-width: 70ch;
  margin-block-end: 0;
}

.tippek-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background-color: var(--color-red-accent);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-small);
  transition: background-color var(--transition-subtle), color var(--transition-subtle);
  text-align: center;
  min-height: 44px;
  max-width: 100%;
  word-break: break-word;
}

.tippek-cta:hover {
  background-color: #8b1a1a;
  color: var(--color-white);
}

.tippek-cta:focus-visible {
  outline: var(--focus-outline-width) solid var(--focus-outline-color);
  outline-offset: var(--focus-outline-offset);
}

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

.tippek-section__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  color: var(--color-pine-green);
  margin-block-end: var(--space-md);
}

.tippek-section h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  color: var(--color-pine-green);
  margin-block-start: var(--space-lg);
  margin-block-end: var(--space-sm);
}

.tippek-intro {
  background-color: var(--color-snow-white);
}

.tippek-intro__content,
.tippek-resources__content,
.tippek-quests__content,
.tippek-mistakes__content {
  max-width: 800px;
  margin-inline: auto;
}

.tippek-intro__text p,
.tippek-resources__content p,
.tippek-quests__content p,
.tippek-mistakes__content p {
  max-width: 75ch;
  margin-block-end: var(--space-md);
}

.tippek-intro__text p:last-child,
.tippek-resources__content p:last-child,
.tippek-quests__content p:last-child,
.tippek-mistakes__content p:last-child {
  margin-block-end: 0;
}

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

.tippek-list > li {
  position: relative;
  padding-inline-start: var(--space-lg);
  min-width: 0;
  overflow-wrap: break-word;
}

.tippek-list > li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--color-honey-brown);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

.tippek-farm-basics {
  background-color: var(--color-white);
}

.tippek-farm-basics__content {
  max-width: var(--container-max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: start;
}

.tippek-farm-basics__text {
  min-width: 0;
}

.tippek-farm-basics__text p {
  max-width: 75ch;
  margin-block-end: var(--space-md);
}

.tippek-farm-basics__text p:last-child {
  margin-block-end: 0;
}

.tippek-figure {
  margin: 0;
  min-width: 0;
  transform: rotate(1.5deg);
  background-color: var(--color-snow-white);
  border: 1px solid var(--color-honey-brown);
  border-radius: var(--radius-medium);
  box-shadow: var(--surface-card-shadow);
  padding: var(--space-sm);
}

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

.tippek-figure figcaption {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-ink-muted);
  margin-block-start: var(--space-sm);
  text-align: center;
}

.tippek-development {
  background-color: var(--color-snow-white);
}

.tippek-development__content {
  max-width: var(--container-max-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-xl);
  align-items: start;
}

.tippek-development__text {
  min-width: 0;
}

.tippek-development__text p {
  max-width: 75ch;
  margin-block-end: var(--space-md);
}

.tippek-development__text p:last-child {
  margin-block-end: 0;
}

.tippek-mistakes {
  background-color: var(--color-white);
}

.tippek-mistakes__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-start: var(--space-md);
  margin-block-end: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.tippek-mistakes__list > li {
  background-color: var(--color-snow-white);
  border: 1px solid var(--color-honey-brown);
  border-radius: var(--radius-medium);
  box-shadow: var(--surface-card-shadow);
  padding: var(--space-md);
  min-width: 0;
  overflow-wrap: break-word;
}

.tippek-mistakes__list > li strong {
  color: var(--color-red-accent);
}

.tippek-final {
  background-color: var(--color-snow-white);
  background-image: linear-gradient(rgba(245, 245, 240, 0.92), rgba(245, 245, 240, 0.92)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M20 60h80M60 20v80M20 20l80 80M100 20L20 100' stroke='%23c8a96e' stroke-width='1' fill='none' opacity='0.25'/%3E%3Ccircle cx='60' cy='60' r='28' fill='none' stroke='%23c8a96e' stroke-width='1' opacity='0.25'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  text-align: center;
}

.tippek-final__content {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.tippek-final__content p {
  max-width: 75ch;
  margin-block-end: 0;
  text-align: center;
}

@media (max-width: 1024px) {
  .tippek-farm-basics__content,
  .tippek-development__content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .tippek-farm-basics__content .tippek-figure {
    order: -1;
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
  }

  .tippek-development__content .tippek-figure {
    order: -1;
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
  }

  .tippek-mistakes__list {
    grid-template-columns: 1fr;
  }
}

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

  .tippek-hero__title {
    font-size: clamp(1.5rem, 6vw, 1.75rem);
    line-height: 1.3;
  }

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

  .tippek-cta {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
  }

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

  .tippek-section__title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    line-height: 1.4;
  }

  .tippek-section h3 {
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .tippek-intro__content,
  .tippek-resources__content,
  .tippek-quests__content,
  .tippek-mistakes__content,
  .tippek-final__content {
    padding-inline: 0;
  }

  .tippek-intro__text p,
  .tippek-resources__content p,
  .tippek-quests__content p,
  .tippek-mistakes__content p,
  .tippek-development__text p,
  .tippek-farm-basics__text p {
    max-width: 100%;
  }

  .tippek-figure {
    transform: rotate(0deg);
  }
}

@media (max-width: 480px) {
  .tippek-hero {
    padding: var(--space-xl) var(--container-padding);
  }

  .tippek-hero__title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .tippek-hero__subtitle {
    font-size: var(--text-small-size);
    line-height: var(--text-small-line-height);
  }

  .tippek-section {
    padding: var(--space-lg) var(--container-padding);
  }

  .tippek-list {
    gap: var(--space-xs);
  }

  .tippek-mistakes__list {
    gap: var(--space-sm);
  }

  .tippek-mistakes__list > li {
    padding: var(--space-sm);
  }
}
