/* Hangulat és atmoszféra page styles */

.hangulat-hero {
  background-image: repeating-linear-gradient(0deg, rgba(217, 210, 197, 0.25) 0, rgba(217, 210, 197, 0.25) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(217, 210, 197, 0.25) 0, rgba(217, 210, 197, 0.25) 1px, transparent 1px, transparent 40px);
  padding-block: var(--space-8) var(--space-7);
}

.hangulat-hero__inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.hangulat-hero__marker,
.hangulat-section__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-decorative-square);
  font-size: var(--text-small-size);
  line-height: 1;
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.hangulat-hero__marker {
  width: 12px;
  height: 12px;
  border-color: var(--color-accent-teal);
  background-color: transparent;
  font-size: 0;
}

.hangulat-hero h1 {
  margin-block-end: 0;
  max-width: 18ch;
}

.hangulat-hero__lead {
  max-width: 65ch;
  margin-inline: auto;
  margin-block-end: 0;
  color: var(--color-text-secondary);
}

.hangulat-section {
  padding-block: var(--space-8);
}

.hangulat-section__inner {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

.hangulat-section__marker {
  margin-block-end: var(--space-3);
}

.hangulat-section h2 {
  margin-block-end: var(--space-5);
}

.hangulat-section h3 {
  margin-block-start: var(--space-5);
  margin-block-end: var(--space-3);
}

.hangulat-section h3:first-child {
  margin-block-start: 0;
}

.hangulat-section p {
  max-width: 75ch;
}

.hangulat-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-4);
  max-width: 75ch;
}

.hangulat-list li {
  position: relative;
  padding-inline-start: var(--space-5);
  margin-block-end: var(--space-2);
}

.hangulat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-accent-teal);
  border-radius: var(--radius-decorative-square);
}

.hangulat-list--olive li::before {
  border-color: var(--color-accent-olive);
}

.hangulat-list--check li::before {
  background-color: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
}

.hangulat-list--dash li::before {
  background-color: var(--color-accent-olive);
  border-color: var(--color-accent-olive);
}

.hangulat-callout,
.hangulat-quote {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-5);
  box-shadow: var(--shadow-none);
  border-radius: var(--radius-sharp);
  max-width: 50ch;
  margin-inline: auto;
  text-align: center;
  color: var(--color-text-secondary);
}

.hangulat-callout p,
.hangulat-quote p {
  margin-block-end: 0;
  max-width: none;
}

.hangulat-quote {
  margin-block: var(--space-5);
  text-align: left;
  border-inline-start: 4px solid var(--color-accent-teal);
  padding-inline-start: var(--space-4);
}

.hangulat-visual__grid,
.hangulat-pacing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

.hangulat-visual__text,
.hangulat-pacing__text {
  min-width: 0;
}

.hangulat-sound {
  background-color: var(--color-surface);
}

.hangulat-sound__content,
.hangulat-mechanics__content,
.hangulat-emotional__content,
.hangulat-tips__content {
  max-width: 800px;
  margin-inline: auto;
}

.hangulat-sound__content p,
.hangulat-sound__content ul,
.hangulat-mechanics__content p,
.hangulat-mechanics__content ul,
.hangulat-emotional__content p,
.hangulat-emotional__content ul,
.hangulat-tips__content p,
.hangulat-tips__content ul {
  max-width: 75ch;
}

.hangulat-mechanics {
  background-image: repeating-linear-gradient(0deg, rgba(217, 210, 197, 0.2) 0, rgba(217, 210, 197, 0.2) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(217, 210, 197, 0.2) 0, rgba(217, 210, 197, 0.2) 1px, transparent 1px, transparent 40px);
}

.hangulat-gallery__intro {
  max-width: 75ch;
  margin-block-end: var(--space-5);
}

.hangulat-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.hangulat-gallery__item {
  margin-block-end: 0;
  min-width: 0;
}

.hangulat-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  transition: filter var(--transition-fast);
}

.hangulat-gallery__item:hover img {
  filter: brightness(0.9) sepia(0.2) hue-rotate(120deg);
}

.hangulat-gallery__item figcaption {
  margin-block-start: var(--space-2);
  text-align: left;
}

.hangulat-emotional {
  background-color: var(--color-surface);
}

.hangulat-strengths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.hangulat-strengths__column {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  padding: var(--space-5);
  box-shadow: var(--shadow-none);
  min-width: 0;
}

.hangulat-strengths__column h3 {
  margin-block-start: 0;
}

.hangulat-strengths__column p,
.hangulat-strengths__column ul {
  max-width: 65ch;
}

.hangulat-tips {
  background-image: repeating-linear-gradient(0deg, rgba(217, 210, 197, 0.2) 0, rgba(217, 210, 197, 0.2) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(217, 210, 197, 0.2) 0, rgba(217, 210, 197, 0.2) 1px, transparent 1px, transparent 40px);
}

.hangulat-faq__container {
  max-width: 800px;
  margin-inline: auto;
  border-block-start: 1px solid var(--color-border);
}

.hangulat-faq__item {
  border-block-end: 1px solid var(--color-border);
}

.hangulat-faq__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 44px;
  padding-block: var(--space-4);
  text-align: left;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

.hangulat-faq__header:hover {
  color: var(--color-accent-teal);
}

.hangulat-faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-decorative-square);
  position: relative;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.hangulat-faq__icon::before,
.hangulat-faq__icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-text-primary);
  transition: transform var(--transition-accordion), background-color var(--transition-fast);
}

.hangulat-faq__icon::before {
  width: 10px;
  height: 2px;
}

.hangulat-faq__icon::after {
  width: 2px;
  height: 10px;
}

.hangulat-faq__item.is-open .hangulat-faq__icon {
  background-color: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
}

.hangulat-faq__item.is-open .hangulat-faq__icon::before,
.hangulat-faq__item.is-open .hangulat-faq__icon::after {
  background-color: var(--color-text-primary);
}

.hangulat-faq__item.is-open .hangulat-faq__icon::after {
  transform: rotate(90deg);
}

.hangulat-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-accordion);
}

.hangulat-faq__panel-inner {
  padding-block-end: var(--space-4);
  max-width: 75ch;
}

.hangulat-faq__panel-inner p {
  margin-block-end: 0;
  max-width: none;
}

.hangulat-cta {
  text-align: center;
}

.hangulat-cta__text {
  max-width: 65ch;
  margin-inline: auto;
  margin-block-end: var(--space-5);
}

.hangulat-cta__button {
  min-width: 200px;
}

@media (min-width: 768px) {
  .hangulat-hero {
    padding-block: var(--space-9) var(--space-8);
  }

  .hangulat-hero__inner,
  .hangulat-section__inner {
    padding-inline: var(--container-padding-desktop);
  }

  .hangulat-section {
    padding-block: var(--space-9);
  }

  .hangulat-visual__grid,
  .hangulat-pacing__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--space-7);
  }

  .hangulat-callout {
    margin-inline: 0;
    align-self: center;
  }

  .hangulat-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .hangulat-strengths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-7);
  }

  .hangulat-cta__button {
    min-width: 200px;
  }
}

@media (max-width: 767px) {
  .hangulat-hero h1 {
    font-size: var(--text-h1-size);
  }

  .hangulat-hero__lead,
  .hangulat-section p,
  .hangulat-list,
  .hangulat-gallery__intro,
  .hangulat-cta__text {
    max-width: 100%;
  }

  .hangulat-callout,
  .hangulat-quote {
    max-width: 100%;
    margin-inline: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hangulat-faq__panel {
    transition: none;
  }

  .hangulat-faq__icon::after {
    transition: none;
  }

  .hangulat-gallery__item img {
    transition: none;
  }
}
