/* Page-owned styles for szovetsegek page */

.szovetsegek-main {
  width: 100%;
  min-width: 0;
}

/* Hero */
.szovetsegek-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-petrol-900);
}

.szovetsegek-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.szovetsegek-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.szovetsegek-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 600px);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-4);
}

.szovetsegek-hero__title {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  color: var(--color-white);
  margin: 0;
}

.szovetsegek-hero__lead {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-ice-100);
  margin: 0;
  max-width: 100%;
}

.szovetsegek-hero__cta {
  margin: 0;
}

/* Why section */
.szovetsegek-why {
  padding-block: var(--space-8);
}

.szovetsegek-why__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
}

.szovetsegek-why__title {
  margin: 0;
}

.szovetsegek-why__lead {
  width: min(100%, 800px);
  margin: 0;
  color: var(--color-ice-100);
}

.szovetsegek-why__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.szovetsegek-benefit-card {
  background-color: var(--surface-card);
  border: var(--border-frosted);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.szovetsegek-benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-raised);
}

.szovetsegek-benefit-card__title {
  margin: 0;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
}

.szovetsegek-benefit-card__text {
  margin: 0;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-ice-100);
}

/* Features section */
.szovetsegek-features {
  padding-block: var(--space-8);
  background-color: var(--color-petrol-800);
}

.szovetsegek-features__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.szovetsegek-features__title {
  margin: 0;
}

.szovetsegek-features__layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-6);
  align-items: start;
}

.szovetsegek-features__list {
  min-width: 0;
}

.szovetsegek-features__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.szovetsegek-feature-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.szovetsegek-feature-item__title {
  margin: 0;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
}

.szovetsegek-feature-item__text {
  margin: 0;
  color: var(--color-ice-100);
}

.szovetsegek-features__media {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.szovetsegek-features__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-ice-300);
  display: block;
}

.szovetsegek-features__caption {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-ice-200);
  margin: 0;
}

/* Activities section */
.szovetsegek-activities {
  padding-block: var(--space-8);
}

.szovetsegek-activities__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.szovetsegek-activities__title {
  margin: 0;
}

.szovetsegek-activities__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.szovetsegek-activities__cards {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.szovetsegek-activity-card {
  background-color: var(--surface-card);
  border: var(--border-frosted);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.szovetsegek-activity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-raised);
}

.szovetsegek-activity-card__title {
  margin: 0;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
}

.szovetsegek-activity-card__text {
  margin: 0;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-ice-100);
}

.szovetsegek-activities__rewards {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.szovetsegek-activities__rewards-title {
  margin: 0;
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
}

.szovetsegek-activities__rewards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.szovetsegek-reward-item {
  min-width: 0;
  color: var(--color-ice-100);
}

.szovetsegek-reward-item strong {
  color: var(--color-white);
}

/* Tips section */
.szovetsegek-tips {
  padding-block: var(--space-8);
  background-color: var(--color-petrol-800);
}

.szovetsegek-tips__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
}

.szovetsegek-tips__title {
  margin: 0;
}

.szovetsegek-tips__list {
  width: min(100%, 800px);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tip-counter;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.szovetsegek-tip-item {
  counter-increment: tip-counter;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-inline-start: var(--space-7);
  position: relative;
  min-width: 0;
}

.szovetsegek-tip-item::before {
  content: counter(tip-counter);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: 1;
  color: var(--color-ice-200);
  font-weight: 700;
}

.szovetsegek-tip-item__title {
  margin: 0;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
}

.szovetsegek-tip-item__text {
  margin: 0;
  color: var(--color-ice-100);
}

/* FAQ section */
.szovetsegek-faq {
  padding-block: var(--space-8);
}

.szovetsegek-faq__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
}

.szovetsegek-faq__title {
  margin: 0;
}

.szovetsegek-faq__list {
  width: min(100%, 800px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.szovetsegek-faq-item {
  background-color: var(--surface-card);
  border: var(--border-frosted);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 0;
  overflow: hidden;
}

.szovetsegek-faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.szovetsegek-faq-item__trigger:hover {
  color: var(--color-ice-200);
}

.szovetsegek-faq-item__icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-ice-200);
  border-bottom: 2px solid var(--color-ice-200);
  transform: rotate(45deg);
  transition: transform var(--transition-base);
}

.szovetsegek-faq-item__trigger[aria-expanded="true"] .szovetsegek-faq-item__icon {
  transform: rotate(-135deg);
}

.szovetsegek-faq-item__answer {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--color-ice-100);
}

.szovetsegek-faq-item__answer[hidden] {
  display: none;
}

.szovetsegek-faq-item__answer p {
  margin: 0;
}

/* CTA section */
.szovetsegek-cta {
  padding-block: var(--space-9);
  background-color: var(--color-petrol-800);
}

.szovetsegek-cta__inner {
  width: min(100%, 600px);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.szovetsegek-cta__title {
  margin: 0;
}

.szovetsegek-cta__text {
  margin: 0;
  color: var(--color-ice-100);
}

.szovetsegek-cta__button {
  margin: 0;
}

/* Legal section */
.szovetsegek-legal {
  padding-block: var(--space-6);
}

.szovetsegek-legal__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.szovetsegek-legal__title {
  margin: 0;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-ice-200);
}

.szovetsegek-legal__text {
  width: min(100%, 800px);
  margin: 0;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-ice-200);
}

/* Responsive */
@media (max-width: 1024px) {
  .szovetsegek-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .szovetsegek-features__layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .szovetsegek-hero {
    min-height: 400px;
  }

  .szovetsegek-hero__content {
    width: min(100% - 24px, 600px);
    padding: var(--space-6) var(--space-3);
  }

  .szovetsegek-why__grid {
    grid-template-columns: 1fr;
  }

  .szovetsegek-features__layout {
    grid-template-columns: 1fr;
  }

  .szovetsegek-activities__layout {
    grid-template-columns: 1fr;
  }

  .szovetsegek-tips__list,
  .szovetsegek-faq__list,
  .szovetsegek-legal__text {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .szovetsegek-hero {
    min-height: 360px;
  }

  .szovetsegek-hero__content {
    width: 100%;
    padding: var(--space-5) var(--space-3);
  }

  .szovetsegek-why__lead {
    width: 100%;
  }

  .szovetsegek-tip-item {
    padding-inline-start: var(--space-6);
  }

  .szovetsegek-tip-item::before {
    font-size: var(--text-h4);
  }
}
