@charset "UTF-8";
/* ==========================================================================
   page: الكهنة العاملون — clergy.html
   Owns: compact page hero + breadcrumb, the verified-figures strip, a real
   working search + town filter, a card-grid architecture ready for real
   priest data, and a designed empty state for when — as today — there is
   none to show. Nothing here invents a name.
   Built entirely on tokens from css/styles.css — no new raw colours.
   ========================================================================== */

/* ==========================================================================
   compact page hero + breadcrumb (mirrors page-bishop.css by design, not by
   reference — each page owns its own copy per the build contract)
   ========================================================================== */
.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; }

/* ==========================================================================
   verified-figures strip
   ========================================================================== */
.cl-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; margin-top: var(--s2); margin-bottom: var(--s7);
}
.cl-stat {
  background: var(--surface); padding: var(--s5) var(--s4); text-align: center;
}
.cl-stat b {
  display: block; font-family: var(--ar-display); font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 400; line-height: 1.1; color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}
:root[data-theme="dark"] .cl-stat b { color: var(--gold); }
.cl-stat span { display: block; margin-top: var(--s2); font-size: 12.5px; color: var(--muted); letter-spacing: normal; line-height: 1.5; }
.cl-stat-x { background: var(--bg-2); }
.cl-stat-x b { color: var(--muted); }

/* ==========================================================================
   filter / search toolbar — real and working against an empty dataset,
   ready the moment the archeparchy supplies names
   ========================================================================== */
.cl-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s4);
  padding: var(--s4); background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px;
}

.cl-search {
  display: flex; align-items: center; gap: var(--s2);
  flex: 1 1 260px; min-width: 0;
  padding: 10px var(--s4); border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease);
}
.cl-search:focus-within { border-color: var(--navy); }
:root[data-theme="dark"] .cl-search:focus-within { border-color: var(--gold); }
.cl-search svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.cl-search input {
  flex: 1; min-width: 0; background: none; border: 0; font: inherit; color: var(--ink);
  font-size: 14.5px; letter-spacing: normal;
}
.cl-search input::placeholder { color: var(--muted); }
.cl-search input:focus { outline: none; }
/* remove native search-field chrome so the pill shape is consistent cross-browser */
.cl-search input[type="search"]::-webkit-search-decoration,
.cl-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.cl-filters { display: flex; flex-wrap: wrap; gap: var(--s2); }
.cl-chip {
  font-size: 13.5px; font-weight: 500; letter-spacing: normal;
  padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--ink-2); white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.cl-chip:hover { border-color: var(--navy); color: var(--navy); }
:root[data-theme="dark"] .cl-chip:hover { border-color: var(--gold); color: var(--gold); }
.cl-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .cl-chip.is-active { background: var(--gold); border-color: var(--gold); color: #12203B; }

.cl-count {
  font-size: 13.5px; color: var(--muted); letter-spacing: normal;
  margin-bottom: var(--s5); font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   card grid — architecture for real priest cards, unused today
   ========================================================================== */
.cl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4);
  align-items: stretch;
}

/* a future priest card — kept here, styled, and dormant, so the day real
   names arrive this file needs no redesign, only data */
.cl-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2);
  border-top: 3px solid var(--gold);
  transition: transform .35s var(--ease-o), box-shadow .35s var(--ease-o);
}
.cl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.cl-card b { font-family: var(--ar-display); font-size: 19px; font-weight: 400; letter-spacing: normal; }
.cl-card .cl-card-role { font-size: 13px; color: var(--gold-ink); font-weight: 500; letter-spacing: normal; }
:root[data-theme="dark"] .cl-card .cl-card-role { color: var(--gold); }
.cl-card .cl-card-town { margin-top: auto; font-size: 12.5px; color: var(--muted); letter-spacing: normal; }

/* ==========================================================================
   the empty state — the actual deliverable today
   Must read as intentional and finished, never as a broken or missing page.
   ========================================================================== */
.cl-empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--s4); padding: clamp(var(--s7), 8vw, var(--s8)) var(--s5);
  border: 1.5px dashed var(--line-2); border-radius: 22px;
  background: var(--bg-2);
}

.cl-empty-ic {
  width: 62px; height: 62px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-s);
}
.cl-empty-ic svg { width: 27px; height: 27px; color: var(--gold-ink); }
:root[data-theme="dark"] .cl-empty-ic svg { color: var(--gold); }

.cl-empty h3 {
  font-size: clamp(21px, 3vw, 26px); letter-spacing: normal; font-weight: 400;
}
.cl-empty p {
  font-size: 15px; color: var(--ink-2); line-height: 1.75; letter-spacing: normal;
  max-width: 46ch;
}
.cl-empty .cl-empty-note {
  font-size: 13px; color: var(--muted); max-width: 50ch;
}

.cl-empty-cta { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; margin-top: var(--s2); }

.cl-reset {
  font-size: 13.5px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px;
  letter-spacing: normal;
}
:root[data-theme="dark"] .cl-reset { color: var(--gold); }

/* ==========================================================================
   النائب الأسقفي العام — an unconfirmed fact, labelled as such
   ========================================================================== */
.cl-vicar {
  display: flex; align-items: flex-start; gap: var(--s4);
  max-width: 760px;
}
.cl-vicar-ic {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  padding: 9px; box-sizing: border-box;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--navy);
}
:root[data-theme="dark"] .cl-vicar-ic { color: var(--gold); }
.cl-vicar-lbl {
  font-size: 13px; font-weight: 600; letter-spacing: normal;
  color: var(--gold-ink); margin-bottom: var(--s2);
}
:root[data-theme="dark"] .cl-vicar-lbl { color: var(--gold); }
.cl-vicar-x { font-size: 15px; color: var(--ink-2); line-height: 1.8; letter-spacing: normal; }
.cl-vicar-x b { color: var(--ink); font-weight: 600; }

.cl-pend {
  display: inline-block; margin-inline-start: var(--s2);
  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: 2px 10px; vertical-align: middle;
}
:root[data-theme="dark"] .cl-pend { color: var(--gold); }

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

@media (max-width: 860px) {
  .pg-hero { padding-top: 128px; }
  .cl-stats { grid-template-columns: 1fr; }
  .cl-tools { flex-direction: column; align-items: stretch; }
  .cl-filters { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .pg-hero { padding-top: 118px; padding-bottom: var(--s6); }
  .pg-h1 { font-size: clamp(28px, 8vw, 40px); }
  .cl-grid { grid-template-columns: 1fr; }
  .cl-empty { padding: var(--s6) var(--s4); }
  .cl-vicar { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   reduced motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .cl-card, .cl-chip { transition: none; }
}

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