/* CMS block layouts — value cards, features, timeline, team, stats, faq */

.block-value-cards,
.block-features-grid,
.block-timeline,
.block-team,
.block-gallery,
.block-stats,
.block-faq {
  padding: 3.5rem 0;
}

.value-cards-grid,
.features-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card,
.team-card {
  text-align: center;
  padding: 1.25rem;
}

.value-card img,
.team-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.team-card img {
  width: 120px;
  height: 120px;
}

.team-role {
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.faq-list {
  max-width: 760px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid #e8e8ee;
  padding: 0.75rem 0;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0.75rem 0 0.25rem;
  color: #555;
  line-height: 1.6;
}

.timeline-list {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 720px;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8ee;
}

.timeline-year {
  font-weight: 800;
  color: #3d3a9e;
}

.about-content--flip {
  flex-direction: row-reverse;
}

.cms-rich-text {
  padding: 3rem 0;
}

.cms-rich-text-body {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.block-contact.contact {
  padding: 3.5rem 0;
}

@media (max-width: 768px) {
  .timeline-list li {
    grid-template-columns: 1fr;
  }
  .about-content--flip {
    flex-direction: column;
  }
}
