/* ─── RIPAT PROJECTS PAGE ─── */
.page-hero--projects {
  background: linear-gradient(135deg, rgba(58, 74, 34, 0.92), rgba(71, 89, 41, 0.88)),
    url('https://images.unsplash.com/photo-1574943320215-7d46d189a41b?w=1600&q=75&auto=format&fit=crop') center/cover no-repeat;
}

.rp-intro {
  background: var(--cream);
  padding: 72px var(--site-side) 48px;
}
.rp-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.rp-intro .section-subtitle {
  margin: 0 auto;
}

.rp-problem {
  background: var(--white);
  padding: 72px var(--site-side);
}
.rp-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  max-width: var(--site-max);
  margin: 0 auto;
}
.rp-problem-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.rp-problem-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.rp-list {
  margin: 20px 0 0;
  padding-left: 22px;
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 15px;
}
.rp-list li { margin-bottom: 8px; }

.rp-problem-card {
  background: var(--cream);
  border: 1px solid #e0dbd0;
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.rp-problem-card .why-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--green-dark);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}
.rp-problem-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.rp-problem-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.rp-solution {
  background: linear-gradient(180deg, #f1ede5 0%, var(--cream) 100%);
  padding: 72px var(--site-side);
}
.rp-solution-inner {
  max-width: var(--site-max);
  margin: 0 auto;
}
.rp-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.rp-solution-item {
  background: var(--white);
  border: 1px solid #e0dbd0;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rp-solution-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.rp-solution-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 14px;
}
.rp-solution-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.rp-solution-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

.rp-projects {
  background: var(--white);
  padding: 72px var(--site-side);
}
.rp-projects-inner {
  max-width: var(--site-max);
  margin: 0 auto;
}
.rp-project-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.rp-project-card {
  background: var(--cream);
  border-top: 4px solid var(--green-accent);
  border-radius: 4px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.rp-project-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.rp-project-meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  margin-bottom: 12px;
}
.rp-project-card p:last-child {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0;
}

.rp-evidence {
  background: var(--cream);
  padding: 64px var(--site-side);
  text-align: center;
}
.rp-evidence-inner {
  max-width: 680px;
  margin: 0 auto;
}
.rp-evidence-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .rp-grid { grid-template-columns: 1fr; }
  .rp-solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rp-solution-grid,
  .rp-project-cards { grid-template-columns: 1fr; }
}
