/* RGR What We Do */

.rgr-wwd,
.rgr-wwd * { box-sizing: border-box; }

.rgr-wwd {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  padding: clamp(48px, 5vw, 80px) clamp(24px, 3.6vw, 66px);
  background: #fff;
}

/* ── Header ─────────────────────────────────────────────────── */
.rgr-wwd__header {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 60px);
}

.rgr-wwd__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rgr-red);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--rgr-red);
  text-decoration-thickness: 2px;
}

.rgr-wwd__heading {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--rgr-black);
}

.rgr-wwd__sub {
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.55;
  color: rgba(3, 4, 5, 0.55);
}

/* ── Grid ────────────────────────────────────────────────────── */
.rgr-wwd__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(100%, 1200px);
  margin-inline: auto;
}

/* ── Card ────────────────────────────────────────────────────── */
.rgr-wwd__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 24px 24px 0;
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease;
}

.rgr-wwd__card + .rgr-wwd__card {
  padding-left: 24px;
  border-left: 1.5px solid var(--rgr-line-dark);
}

.rgr-wwd__card:hover {
  background: rgba(225, 8, 8, 0.025);
}
.rgr-wwd__card:hover .rgr-wwd__card-title {
  color: var(--rgr-red);
}
.rgr-wwd__card:hover .rgr-wwd__arrow {
  transform: translateX(4px);
}

.rgr-wwd__card-text {
  flex: 1;
}

.rgr-wwd__card-title {
  margin: 0 0 10px;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 700;
  color: var(--rgr-black);
  line-height: 1.25;
  transition: color 160ms ease;
}

.rgr-wwd__card-desc {
  margin: 0;
  font-size: clamp(13px, 0.85vw, 15px);
  line-height: 1.6;
  color: rgba(3, 4, 5, 0.58);
}

.rgr-wwd__arrow {
  display: block;
  margin-top: 20px;
  font-size: 28px;
  line-height: 1;
  color: var(--rgr-red);
  transition: transform 160ms ease;
}

/* ── Tablet ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rgr-wwd__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* reset all left borders, then re-apply to even columns only */
  .rgr-wwd__card + .rgr-wwd__card {
    padding-left: 0;
    border-left: none;
  }
  .rgr-wwd__card:nth-child(even) {
    padding-left: 24px;
    border-left: 1.5px solid var(--rgr-line-dark);
  }
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .rgr-wwd__grid {
    grid-template-columns: 1fr;
  }
  .rgr-wwd__card,
  .rgr-wwd__card + .rgr-wwd__card,
  .rgr-wwd__card:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
}
