/* ==========================================================================
   Rugando Community Foundation — How We Grew Timeline Stylesheet
   File: assets/css/how-we-grew.css
   ========================================================================== */

.rcf-hwg-section {
  background-color: #fbf8f3;
  padding: 64px 20px 84px;
  color: #16221b;
}

.rcf-hwg-container {
  max-width: 1180px;
  margin: 0 auto;
}

.rcf-hwg-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.rcf-hwg-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.rcf-hwg-dot--green {
  background-color: #15803d;
}

.rcf-hwg-dot--mint {
  background-color: #6ee7b7;
}

.rcf-hwg-dot--gold {
  background-color: #f59e0b;
}

.rcf-hwg-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.rcf-hwg-title {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #111c16;
}

.rcf-hwg-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.6;
  color: #52645a;
}

.rcf-hwg-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-left: 44px;
  max-width: 780px;
}

/* Continuous vertical spine connecting the timeline markers */
.rcf-hwg-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background-color: #e6dfd3;
}

.rcf-hwg-item {
  position: relative;
}

.rcf-hwg-marker {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background-color: #d1fae5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rcf-hwg-marker::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #0b8450;
}

.rcf-hwg-year {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b8450;
  margin-bottom: 6px;
}

.rcf-hwg-item h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #111c16;
}

.rcf-hwg-item p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: #52645a;
}

@media (max-width: 540px) {
  .rcf-hwg-section {
    padding: 48px 16px 64px;
  }

  .rcf-hwg-header {
    margin-bottom: 36px;
  }

  .rcf-hwg-timeline {
    padding-left: 36px;
    gap: 34px;
  }

  .rcf-hwg-timeline::before {
    left: 9px;
  }

  .rcf-hwg-marker {
    left: -36px;
    width: 20px;
    height: 20px;
  }
}