@charset "UTF-8";
/* ==========================================================================
   page: المطران — bishop.html
   Owns: compact page hero + breadcrumb, the archbishop's portrait placeholder
   and life-timeline, the coat-of-arms / motto layout, and the succession
   timeline with six honest, undesigned-away gaps.
   Built entirely on tokens from css/styles.css — no new raw colours.
   ========================================================================== */

/* ---------- new tokens this page needs (light + dark) ---------- */
:root {
  --bp-frame-a: #16305C;   /* portrait-frame gradient, light */
  --bp-frame-b: #0F2246;
}
:root[data-theme="dark"] {
  --bp-frame-a: #101E38;
  --bp-frame-b: #0A1526;
}

/* ==========================================================================
   compact page hero + breadcrumb
   ========================================================================== */
.pg-hero {
  position: relative;
  padding: 152px var(--s5) var(--s7);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.pg-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  opacity: .5;
}
.pg-hero-bg svg { width: 100%; height: 100%; fill: var(--tower); }
.pg-hero-in { position: relative; max-width: 760px; }

.crumb {
  display: flex; align-items: center; gap: var(--s2);
  font-size: 13.5px; color: var(--muted); margin-bottom: var(--s4);
  letter-spacing: normal;
}
.crumb a { color: var(--muted); transition: color .25s var(--ease); }
.crumb a:hover { color: var(--gold-ink); }
.crumb-sep { opacity: .6; }
.crumb [aria-current] { color: var(--ink-2); font-weight: 500; }

.pg-eyebrow {
  font-family: var(--ar-body); font-size: 13.5px; font-weight: 600;
  letter-spacing: normal; color: var(--gold-ink); margin-bottom: var(--s2);
}
:root[data-theme="dark"] .pg-eyebrow { color: var(--gold); }

.pg-h1 {
  font-family: var(--ar-display); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.4;
  letter-spacing: normal; margin-bottom: var(--s4);
}
.pg-sub { color: var(--ink-2); font-size: 17px; line-height: 1.75; max-width: 62ch; }

/* ==========================================================================
   نبذة — portrait placeholder + life timeline
   ========================================================================== */
.bp-port { position: sticky; top: 120px; }

.bp-frame {
  aspect-ratio: 3 / 4; width: 100%; max-width: 280px; margin-inline: auto;
  border-radius: 18px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--bp-frame-a) 0%, var(--bp-frame-b) 100%);
  box-shadow: var(--shadow-m);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s3); padding: var(--s5);
  position: relative; overflow: hidden;
}
.bp-frame::before {
  /* faint corner rule, echoing an engraved plate rather than a photo */
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 11px; pointer-events: none;
}
.bp-cross { position: relative; width: 26px; height: 26px; flex: none; margin-bottom: var(--s1); }
.bp-cross span { position: absolute; background: var(--gold); border-radius: 1px; }
.bp-cross span:first-child { inset-inline-start: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); }
.bp-cross span:last-child { top: 34%; inset-inline: 0; height: 2px; }

.bp-mono {
  font-family: var(--ar-display); font-weight: 400; letter-spacing: normal;
  font-size: clamp(26px, 4vw, 32px); line-height: 1.3; color: #fff; text-align: center;
}
.bp-rule { width: 40px; height: 1.5px; background: var(--gold); border-radius: 2px; }
.bp-title-sm {
  font-size: 12.5px; letter-spacing: normal; line-height: 1.7; text-align: center;
  color: rgba(255,255,255,.72);
}
.bp-port .cap { max-width: 280px; margin-inline: auto; }

.bp-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 14px; font-weight: 500; letter-spacing: normal;
  color: var(--gold-ink); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 18px; margin-bottom: var(--s4);
}
:root[data-theme="dark"] .bp-badge { color: var(--gold); }

.bp-tl-wrap { margin-top: var(--s8); }
.bp-tl-wrap h3 {
  font-size: 21px; margin-bottom: var(--s6); letter-spacing: normal;
}

.bp-tl {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s5) var(--s4);
}
.bp-tl li {
  position: relative; padding-inline-start: var(--s4);
  border-inline-start: 2px solid var(--line-2);
}
.bp-tl li.is-now { border-inline-start-color: var(--gold); }
.bp-tl b {
  display: block; font-family: var(--ar-display); font-size: 19px; font-weight: 400;
  letter-spacing: normal; color: var(--gold-ink); font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
:root[data-theme="dark"] .bp-tl b { color: var(--gold); }
.bp-tl p { font-size: 14px; color: var(--ink-2); line-height: 1.65; letter-spacing: normal; }
.bp-tl li.is-now p { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   الشعار الأسقفي
   ========================================================================== */
.bp-arms { margin: 0; max-width: 360px; }
.bp-arms img {
  width: 100%; height: auto; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); padding: var(--s5);
}
.bp-arms figcaption { margin-top: var(--s3); text-align: center; }

.bp-sym {
  list-style: none; margin-top: var(--s5); display: grid; gap: var(--s3);
}
.bp-sym li {
  padding-inline-start: var(--s4); border-inline-start: 2px solid var(--line-2);
}
.bp-sym b {
  display: block; font-size: 15px; font-weight: 600; letter-spacing: normal;
  color: var(--ink); margin-bottom: 2px;
}
.bp-sym span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.6; letter-spacing: normal; }

.bp-sym + .ch-list { margin-top: var(--s6); }

/* ==========================================================================
   سلسلة الأساقفة — the signature feature
   Honest gaps: six periods where the public record names no one. They are
   not hidden, not smoothed over, and not filled in.
   ========================================================================== */
.succ {
  list-style: none; margin-top: var(--s7); position: relative;
  max-width: 720px;
}
.succ::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; inset-inline-start: 13px;
  width: 1px; background: var(--line-2);
}

.succ-row { display: grid; grid-template-columns: 26px 1fr; column-gap: var(--s4); padding-bottom: var(--s4); }
.succ-row:last-child { padding-bottom: 0; }

.succ-stem { display: flex; justify-content: center; }
.succ-dot {
  position: relative; z-index: 1;
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--ar-body); font-size: 11px; font-weight: 600; letter-spacing: normal;
  font-variant-numeric: tabular-nums;
  background: var(--surface); border: 1.5px solid var(--line-2); color: var(--ink-2);
}

.succ-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: var(--s4) var(--s5); display: flex; flex-wrap: wrap; align-items: baseline;
  gap: var(--s2) var(--s4); margin-block: 2px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.succ-card b {
  font-family: var(--ar-display); font-weight: 400; font-size: 17.5px;
  letter-spacing: normal; color: var(--ink);
}
.succ-d {
  font-size: 13.5px; color: var(--muted); letter-spacing: normal;
  font-variant-numeric: tabular-nums;
}
.succ-role {
  font-size: 12px; letter-spacing: normal; color: var(--gold-ink);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 2px 10px; font-weight: 600;
}
:root[data-theme="dark"] .succ-role { color: var(--gold); }

/* -- gap rows: visibly, deliberately different -- */
.succ-dot-gap {
  background: transparent; border-style: dashed; border-color: var(--line-2);
}
.succ-card-gap {
  background: transparent; border-style: dashed; border-color: var(--line-2);
  flex-direction: column; align-items: flex-start; gap: 2px;
}
.succ-card-gap b { font-size: 14.5px; color: var(--muted); font-family: var(--ar-body); font-weight: 600; }
.succ-card-gap .succ-d { color: var(--muted); font-weight: 500; }
.succ-card-gap p { font-size: 12.5px; color: var(--muted); letter-spacing: normal; line-height: 1.6; margin-top: 1px; }

/* -- the interim administrator: real, but distinct from a numbered eparch -- */
.succ-row-interim .succ-card { border-style: dashed; border-color: var(--line-2); }
.succ-row-interim .succ-dot { color: var(--muted); }

/* -- the sitting archbishop -- */
.succ-row-now .succ-dot {
  background: var(--gold); border-color: var(--gold); color: #12203B;
  box-shadow: 0 0 0 4px rgba(201,151,26,.20);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent);
}
.succ-row-now .succ-card { border-color: var(--gold); background: var(--bg-2); }
.succ-row-now .succ-d { color: var(--gold-ink); font-weight: 600; }
:root[data-theme="dark"] .succ-row-now .succ-d { color: var(--gold); }

.succ-note {
  display: flex; gap: var(--s4); align-items: flex-start;
  margin-top: var(--s7); max-width: 720px;
  padding: var(--s5); border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.succ-note-ic { width: 24px; height: 24px; flex: none; color: var(--gold-ink); margin-top: 2px; }
:root[data-theme="dark"] .succ-note-ic { color: var(--gold); }
.succ-note p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; letter-spacing: normal; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .bp-tl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .pg-hero { padding-top: 128px; }
  .bp-port { position: static; }
  .succ-card { flex-direction: column; align-items: flex-start; gap: 2px; }
}

@media (max-width: 620px) {
  .pg-hero { padding-top: 118px; padding-bottom: var(--s6); }
  .pg-h1 { font-size: clamp(28px, 8vw, 40px); }
  .bp-tl { grid-template-columns: 1fr; gap: var(--s4); }
  .succ-row { grid-template-columns: 22px 1fr; column-gap: var(--s3); }
  .succ-dot { width: 22px; height: 22px; font-size: 10px; }
  .succ::before { inset-inline-start: 11px; }
  .succ-note { flex-direction: column; }
}

/* ==========================================================================
   reduced motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .bp-port, .succ-dot { transition: none; }
}

@media print {
  .pg-hero-bg { display: none; }
}
