@charset "UTF-8";
/* ==========================================================================
   رعاية الأبرشية — page-pastoral.css
   Loaded after styles.css. Everything here goes through the shared tokens.
   ========================================================================== */

/* ---------- breadcrumb (shared shape, restyled per page) ---------- */
.crumb {
  display: flex; align-items: center; gap: var(--s2);
  font-family: var(--ar-body); font-size: 13.5px; letter-spacing: normal;
  color: var(--muted); margin-bottom: var(--s4);
}
.crumb a { color: var(--muted); transition: color .25s var(--ease); }
.crumb a:hover { color: var(--gold-ink); }
:root[data-theme="dark"] .crumb a:hover { color: var(--gold); }
.crumb [aria-current] { color: var(--ink-2); }
.crumb-sep { color: var(--line-2); }

/* ---------- compact page hero ----------
   Not the full-height homepage hero: a fixed, generous band with the
   breadcrumb, label, h1 and standfirst, plus two faint towers bracketing
   the text — echoing the housing/confraternity theme (dome + bell). */
.phero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 168px var(--s5) var(--s7);
  background: var(--hero-sky);
  border-bottom: 1px solid var(--line);
}
.phero-bg { position: absolute; inset: 0; z-index: -1; }
.phero-tow { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--tower); opacity: .55; }
.phero-in { max-width: 780px; }

.phero-x {
  font-size: 17px; line-height: 1.8; color: var(--ink-2); max-width: 58ch;
  margin-top: var(--s3);
}

.phero h1 {
  font-family: var(--ar-display); font-weight: 400;
  font-size: clamp(30px, 5vw, 48px); line-height: 1.45; letter-spacing: normal;
}

/* ---------- lead programme: three cards ---------- */
.pc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4);
  margin-top: var(--s7);
}
.pc-card {
  padding: var(--s5); background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
  border-top: 3px solid var(--navy);
  transition: transform .4s var(--ease-o), box-shadow .4s var(--ease-o);
}
:root[data-theme="dark"] .pc-card { border-top-color: var(--gold); }
.pc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.pc-ico { width: 26px; height: 34px; fill: var(--navy); margin-bottom: var(--s3); }
:root[data-theme="dark"] .pc-ico { fill: var(--gold); }
.pc-card h3 {
  font-family: var(--ar-display); font-weight: 400; font-size: 20px;
  letter-spacing: normal; margin-bottom: var(--s2);
}
.pc-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }

.pc-note {
  display: flex; align-items: flex-start; gap: var(--s3);
  margin-top: var(--s6); padding: var(--s4) var(--s5);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  max-width: 68ch;
}
.pc-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold-ink); }
:root[data-theme="dark"] .pc-note svg { color: var(--gold); }
.pc-note p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; letter-spacing: normal; }
.pc-note a { color: var(--navy); font-weight: 500; }
:root[data-theme="dark"] .pc-note a { color: var(--gold); }

/* ---------- overview toggle: signature feature ---------- */
.ov { margin-top: var(--s7); }
.ov-tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  margin-bottom: var(--s6);
}
.ov-tab {
  font-family: var(--ar-body); font-size: 14.5px; font-weight: 500; letter-spacing: normal;
  padding: 10px 22px; border-radius: 999px; color: var(--ink-2); white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.ov-tab:hover { color: var(--ink); }
.ov-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
:root[data-theme="dark"] .ov-tab[aria-selected="true"] { background: var(--gold); color: #12203B; }

.ov-panel { max-width: 900px; }
.ov-list { list-style: none; display: grid; gap: var(--s4); }
.ov-list li {
  display: grid; grid-template-columns: 220px 1fr; gap: var(--s4);
  padding: var(--s4) 0; border-bottom: 1px solid var(--line);
}
.ov-list li:last-child { border-bottom: 0; }
.ov-list b {
  font-family: var(--ar-display); font-weight: 400; font-size: 19px;
  letter-spacing: normal; color: var(--gold-ink);
}
:root[data-theme="dark"] .ov-list b { color: var(--gold); }
.ov-list span { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

.ov-caveat {
  font-size: 14px; color: var(--muted); line-height: 1.75; letter-spacing: normal;
  max-width: 68ch; margin-bottom: var(--s5);
  padding: var(--s3) var(--s4); border-inline-start: 3px solid var(--line-2);
}

.fw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.fw-card {
  padding: var(--s4); background: transparent;
  border: 1.5px dashed var(--line-2); border-radius: 14px;
}
.fw-badge {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: normal;
  color: var(--gold-ink); background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 3px 11px; margin-bottom: var(--s3);
}
:root[data-theme="dark"] .fw-badge { color: var(--gold); }
.fw-card h3 {
  font-family: var(--ar-display); font-weight: 400; font-size: 17.5px;
  letter-spacing: normal; margin-bottom: var(--s2); color: var(--ink-2);
}
.fw-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .fw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .phero { padding-top: 140px; }
  .pc-grid { grid-template-columns: 1fr; }
  .ov-list li { grid-template-columns: 1fr; gap: var(--s1); }
}
@media (max-width: 620px) {
  .phero { padding: 128px var(--s4) var(--s6); }
  .fw-grid { grid-template-columns: 1fr; }
  .ov-tabs { display: flex; width: 100%; }
  .ov-tab { flex: 1; text-align: center; padding-inline: var(--s3); }
}

@media (prefers-reduced-motion: reduce) {
  .pc-card, .ov-tab { transition: none; }
}
