/* Module 5 — Membership features */

.membership {
  background: #fff;
  height: auto;
  min-height: 100vh;
}

.membership__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 48px 80px;
}

.membership__header {
  text-align: center;
  margin-bottom: 48px;
}

.membership__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: #2d2e5f;
  line-height: 1.3;
  margin-bottom: 12px;
}

.membership__subtitle {
  font-size: 16px;
  color: #888;
  line-height: 1.6;
}

.membership__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.membership__card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #f3f3f5;
  border-radius: 16px;
}

.membership__card-text {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.membership__card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 8px;
}

.membership__card-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
}

.membership__card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

html[dir="rtl"] .membership__card-text {
  text-align: left;
}

@media (max-width: 768px) {
  .membership__inner {
    padding: 48px 24px 64px;
  }

  .membership__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .membership__header {
    margin-bottom: 36px;
  }

  .membership__card {
    padding: 20px 22px;
    gap: 16px;
  }

  .membership__card-text {
    text-align: left;
  }

  html[dir="rtl"] .membership__card-text {
    text-align: right;
  }
}

@media (max-width: 480px) {
  .membership__card-icon {
    width: 40px;
    height: 40px;
  }
}
