/* ==============================================================
   Chennai Matrimony — About Us page UI redesign (v1.5)
   Scoped under .ab so it restyles ONLY the about content and does
   NOT leak into the master/header/footer. No global resets.
   Local CSS vars + !important on text props so the legacy global
   `*{font-size:12px;color:#666}` / `a{font-size:12px}` can't win.
   ============================================================== */
.ab {
  --paper:#ffffff; --surface:#fbefde; --ink:#1f1410; --mute:#766357;
  --line:rgba(31,20,16,0.10); --primary:#d91234; --primary-dark:#80081b;
  --primary-soft:#fcdde3; --gold:#d4a84b;
  --serif:'Fraunces','Georgia',serif;
  max-width:900px !important; margin:60px auto 100px !important; padding:0 24px !important;
  float:none !important; width:auto !important;
}
.ab, .ab * { font-family:'Roboto','Inter',Arial,sans-serif; box-sizing:border-box; }

.ab .ab-card {
  background:var(--paper); border:1px solid var(--line); border-radius:20px;
  padding:50px 60px; box-shadow:0 20px 50px -25px rgba(31,20,16,0.12);
  position:relative; overflow:hidden; width:auto !important;
}
.ab .ab-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:6px;
  background:linear-gradient(90deg,var(--primary),var(--primary-dark));
}

.ab .ab-title-group { text-align:center; margin-bottom:44px; }
.ab .ab-title-group h1 {
  font-family:var(--serif) !important; font-size:38px !important; line-height:1.2 !important;
  color:var(--primary-dark) !important; margin:0 0 8px !important; font-weight:600 !important;
}
.ab .ab-title-group p {
  font-size:15px !important; color:var(--mute) !important; font-weight:500 !important;
  letter-spacing:0.5px; text-transform:uppercase; margin:0 !important; line-height:1.5 !important;
}
.ab .ab-divider {
  width:80px; height:3px; background:var(--primary-soft);
  margin:20px auto 0; border-radius:2px; position:relative;
}
.ab .ab-divider::after {
  content:'\2665'; color:var(--primary); font-size:14px; position:absolute;
  top:50%; left:50%; transform:translate(-50%,-50%); background:var(--paper); padding:0 8px;
}

.ab .ab-section { margin-bottom:40px; }
.ab .ab-section:last-of-type { margin-bottom:0; }
.ab .ab-section h3 {
  font-family:var(--serif) !important; font-size:24px !important; line-height:1.3 !important;
  color:var(--ink) !important; margin:0 0 16px !important; font-weight:600 !important;
  display:flex; align-items:center; gap:12px;
}
.ab .ab-section h3::before {
  content:''; width:4px; height:20px; background:var(--primary);
  border-radius:2px; display:inline-block; flex:0 0 auto;
}
.ab .ab-section p {
  font-size:15px !important; color:var(--ink) !important; line-height:1.75 !important;
  margin:0 0 16px !important; text-align:justify;
}
.ab .ab-section p:last-child { margin-bottom:0 !important; }

.ab .ab-highlight-box {
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
  padding:24px; margin:24px 0;
}
.ab .ab-highlight-box h4 {
  font-family:var(--serif) !important; font-size:18px !important; line-height:1.4 !important;
  color:#C97210 !important; margin:0 0 12px !important; font-weight:700 !important;
}
.ab .ab-highlight-box p { margin-bottom:0 !important; }

.ab .ab-stats-grid {
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; margin-top:36px; text-align:center;
}
.ab .ab-stat-item {
  background:#FAF7F2; border:1px solid rgba(138,24,60,0.04); border-radius:12px;
  padding:20px; transition:all 0.25s ease;
}
.ab .ab-stat-item:hover { background:#F5EFEB; transform:translateY(-2px); }
.ab .ab-stat-val {
  font-family:var(--serif) !important; font-size:28px !important; line-height:1.2 !important;
  color:var(--primary) !important; font-weight:700 !important; margin:0 0 4px !important;
}
.ab .ab-stat-lbl { font-size:13px !important; color:var(--mute) !important; font-weight:600 !important; }

.ab .ab-cta-bar {
  margin-top:48px; padding-top:32px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center; gap:24px;
}
.ab .ab-cta-text { font-size:14.5px !important; color:var(--mute) !important; line-height:1.6 !important; }
.ab .ab-cta-text b { color:var(--ink) !important; font-size:16px !important; }
.ab .ab-cta-btn {
  display:inline-flex; align-items:center; justify-content:center; height:46px; padding:0 28px;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff !important; font-weight:700 !important; font-size:14px !important;
  border-radius:8px; text-decoration:none; white-space:nowrap;
  box-shadow:0 4px 15px rgba(200,51,107,0.2); transition:all 0.2s ease;
}
.ab .ab-cta-btn:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(200,51,107,0.35); filter:brightness(1.05); }

@media (max-width:768px) {
  .ab { margin:30px auto 60px !important; }
  .ab .ab-card { padding:36px 24px; }
  .ab .ab-title-group h1 { font-size:32px !important; }
  .ab .ab-section h3 { font-size:21px !important; }
  .ab .ab-stats-grid { grid-template-columns:1fr; gap:12px; }
  .ab .ab-cta-bar { flex-direction:column; text-align:center; }
}
