/* =============================================================
   ABOUT PAGE v2 — Nav cards + subpage navigation
   ============================================================= */

/* ─── Nav cards section ─────────────────────────────────────── */
.about-nav-cards {
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-nav-cards__heading {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text, #ecf3f9);
}

.about-nav-cards__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 48px;
}

.about-nav-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Each nav card (links to subpage) ─────────────────────── */
.about-nav-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(17, 39, 71, 0.56);
  border: 1px solid rgba(12, 127, 218, 0.22);
  border-radius: 12px;
  padding: 32px 28px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.about-nav-card:hover {
  border-color: rgba(12, 127, 218, 0.6);
  transform: translateY(-3px);
}

/* Colour accent top border per card */
.about-nav-card:nth-child(1) { border-top: 3px solid #0070C0; }
.about-nav-card:nth-child(2) { border-top: 3px solid #70AD47; }
.about-nav-card:nth-child(3) { border-top: 3px solid #C00000; }

.about-nav-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(12, 127, 218, 0.1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.about-nav-card__icon img {
  width: 26px;
  height: 26px;
  opacity: 0.85;
}

.about-nav-card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text, #ecf3f9);
}

.about-nav-card__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 20px;
  flex: 1;
}

.about-nav-card__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue, #0c83df);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(12, 127, 218, 0.18);
  padding-top: 16px;
  transition: gap 0.15s;
}

.about-nav-card:hover .about-nav-card__cta {
  gap: 10px;
}

/* ─── Subpage breadcrumb ────────────────────────────────────── */
.about-sub__breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}

.about-sub__breadcrumb a {
  color: var(--blue, #0c83df);
  text-decoration: none;
}

.about-sub__breadcrumb a:hover {
  text-decoration: underline;
}

/* ─── Subpage prev/next navigation ─────────────────────────── */
.about-sub-nav {
  padding-top: 40px;
  padding-bottom: 40px;
}

.about-sub-nav__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.about-sub-nav__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue, #0c83df);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}

.about-sub-nav__link:hover {
  gap: 10px;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-nav-cards__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}
