/* ==========================================================================
   Rugando Community Foundation — How We Work on the Ground Stylesheet
   File: assets/css/how-we-work.css
   ========================================================================== */

.rcf-hww-section {
  background-color: #fbf8f3;
  padding: 64px 20px 84px;
  color: #16221b;
}

.rcf-hww-container {
  max-width: 1180px;
  margin: 0 auto;
}

.rcf-hww-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.rcf-hww-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.rcf-hww-dot--green {
  background-color: #15803d;
}

.rcf-hww-dot--mint {
  background-color: #6ee7b7;
}

.rcf-hww-dot--gold {
  background-color: #f59e0b;
}

.rcf-hww-header {
  max-width: 680px;
  margin-bottom: 54px;
}

.rcf-hww-title {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #111c16;
}

.rcf-hww-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.62;
  color: #4b5d53;
}

.rcf-hww-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.rcf-hww-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

/* Every 2nd item flips visual order on desktop: text left, image right */
.rcf-hww-row:nth-child(even) .rcf-hww-media {
  order: 2;
}

.rcf-hww-row:nth-child(even) .rcf-hww-content {
  order: 1;
}

.rcf-hww-media {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(135deg, #cde7d8 0%, #e7f4ec 55%, #d6ece0 100%);
  box-shadow: 0 14px 34px rgba(17, 28, 22, 0.06);
  border: 1px solid #e3ede7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcf-hww-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.rcf-hww-placeholder {
  width: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #c8e5d4 0%, #e6f4ec 60%, #d4eadf 100%);
}

.rcf-hww-content h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #111c16;
}

.rcf-hww-summary {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5d53;
}

.rcf-hww-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rcf-hww-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #1e2d24;
}

.rcf-hww-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background-color: #dcfce7;
  color: #16a34a;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .rcf-hww-section {
    padding: 48px 16px 64px;
  }

  .rcf-hww-header {
    margin-bottom: 36px;
  }

  .rcf-hww-list {
    gap: 44px;
  }

  .rcf-hww-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rcf-hww-row:nth-child(even) .rcf-hww-media,
  .rcf-hww-row:nth-child(even) .rcf-hww-content {
    order: initial;
  }

  .rcf-hww-media,
  .rcf-hww-media img,
  .rcf-hww-placeholder {
    min-height: 220px;
    height: 230px;
    border-radius: 20px;
  }
}