:root {
  /* Episcopal shield palette: navy, red, grey, white, black */
  --sand: #f3f4f6;      /* light grey page background */
  --sand-2: #e5e7eb;
  --paper: #ffffff;
  --ink: #0b1a3f;       /* navy: headings, header, footer */
  --black: #111317;     /* body text */
  --ink-soft: #5c6370;  /* grey secondary text */
  --clay: #c8102e;      /* Episcopal red */
  --clay-dark: #9e0b23;
  --sage: #1f3a7a;      /* lighter navy for topic tags */
  --gold: #a9b1bf;      /* silver grey accent */
  --line: #d6dae1;
  --radius: 14px;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--black);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--clay-dark); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }

.wrap { width: min(1480px, 100% - clamp(2rem, 6vw, 6rem)); margin-inline: auto; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 .6rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 26, 63, .97);
  border-bottom: 3px solid var(--clay);
  backdrop-filter: blur(6px);
  color: var(--sand);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.brand-shield { width: 32px; height: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.brand strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.brand small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a { color: var(--sand); text-decoration: none; font-size: .92rem; opacity: .85; }
.site-header nav a:hover { opacity: 1; color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(180deg, #0b1a3f 0%, #13285c 55%, #2a3f70 100%);
  color: var(--paper);
  padding: 3.5rem 0 6rem;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; width: min(1480px, 100% - clamp(2rem, 6vw, 6rem)); margin-inline: auto; }
.hero-inner > * { max-width: 860px; }
.hero .eyebrow { color: #d9dde4; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: .98;
  margin: 0 0 .9rem;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; font-weight: 400; color: #ffffff; opacity: .85; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40rem; opacity: .92; margin: 0 0 1.4rem; }
.hero-search {
  display: flex; max-width: 720px;
  background: var(--paper); border-radius: 999px; padding: .35rem;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
}
.hero-search input::placeholder { color: var(--ink-soft); }
.hero-search input { flex: 1; border: 0; background: transparent; padding: .95rem 1.3rem; font-size: 1.05rem; color: var(--ink); min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { outline: 3px solid var(--clay); }
.hero-search button {
  border: 0; border-radius: 999px; background: var(--clay); color: #fff;
  padding: .75rem 1.3rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .45rem;
}
.hero-search button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.hero-search button:hover { background: var(--clay-dark); }
.hero-ridge { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--sand); clip-path: polygon(0 60%, 100% 30%, 100% 100%, 0 100%); }

/* Sections */
.section-head { margin-bottom: 1.25rem; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0; line-height: 1.05; }

.clergy { padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(1.75rem, 3vw, 2.5rem); }
.clergy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.clergy-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 36px -28px rgba(11, 26, 63, .45);
  transition: transform .2s, box-shadow .2s;
}
.clergy-card:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(11, 26, 63, .5); }
.card-top {
  align-self: stretch; height: 74px; position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #1f3a7a 100%);
  border-bottom: 3px solid var(--clay);
}
.clergy-card.is-retired .card-top { background: linear-gradient(135deg, #3a3f48 0%, #6b7280 100%); border-bottom-color: #9aa1ac; }
.tag {
  position: absolute; top: .7rem; right: .7rem; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px;
}
.portrait {
  width: 112px; height: 112px; margin-top: -56px; border-radius: 50%; overflow: hidden; position: relative;
  border: 4px solid var(--paper); box-shadow: 0 6px 16px -6px rgba(11, 26, 63, .5);
  background: linear-gradient(160deg, var(--ink), #1f3a7a); display: grid; place-items: center;
}
.clergy-card.is-retired .portrait { background: linear-gradient(160deg, #5c6370, #2b2f36); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.monogram { font-family: var(--serif); font-size: 2.4rem; color: #fff; letter-spacing: .04em; }
.clergy-text { padding: .75rem 1.4rem 0; flex: 1; }
.clergy-text .role { margin: 0 0 .15rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.clergy-text h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin: 0 0 .5rem; line-height: 1.1; color: var(--ink); }
.bio p { margin: 0 0 .5rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.card-foot { align-self: stretch; padding: .9rem 1.4rem 1.3rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%;
  border: 0; border-radius: 999px; background: var(--clay); color: #fff; font-weight: 600;
  padding: .75rem 1.1rem; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--clay-dark); }
.btn-count { background: rgba(255, 255, 255, .22); border-radius: 999px; padding: .05rem .5rem; font-size: .8rem; }
.btn-soon { background: var(--sand); color: var(--ink-soft); border: 1px dashed var(--gold); }
.btn-soon:hover { background: var(--sand-2); }
.btn:not(.card-foot .btn) { width: auto; }
.link-btn { background: none; border: 0; padding: 0; color: var(--clay-dark); font-weight: 600; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration: underline; }

/* Header search */
.site-header nav { align-items: center; }
.nav-search {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--clay); color: #fff !important; opacity: 1 !important;
  padding: .4rem .9rem; border-radius: 999px; font-weight: 600;
}
.nav-search:hover { background: var(--clay-dark); }
.nav-search svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* Priest tabs */
.priest-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.5rem;
}
.ptab {
  display: flex; align-items: center; gap: .7rem; text-align: left; cursor: pointer;
  background: var(--sand); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem;
  transition: border-color .15s, background .15s;
}
.ptab:hover { border-color: var(--ink); }
.ptab.on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 var(--clay); }
.ptab-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ptab-text strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptab-text small { font-size: .75rem; color: var(--ink-soft); }
.ptab.on .ptab-text small { color: #c9ced6; }
.ptab-photo, .ptab-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--ink), #1f3a7a); color: #fff;
}
.ptab-photo img { width: 100%; height: 100%; object-fit: cover; }
.ptab-photo .monogram { font-size: 1rem; }
.ptab-icon { background: var(--clay); }
.ptab-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.ptab.on .ptab-photo { box-shadow: 0 0 0 2px #fff; }
.ptab-photo.big { width: 84px; height: 84px; margin: 0 auto 1rem; }
.ptab-photo.big .monogram { font-size: 1.8rem; }

.priest-banner {
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  background: var(--sand); border-left: 4px solid var(--clay); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem;
}
.priest-banner[hidden] { display: none; }
.priest-banner .eyebrow { margin: 0; }
.priest-banner h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--ink); }
.priest-banner .link-btn { margin-left: auto; }
.empty.soon p { font-family: var(--sans); font-size: 1rem; max-width: 34rem; margin: 0 auto 1rem; }
.empty.soon strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); }

/* Library */
.library { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(2rem, 4vw, 3.5rem); }
.library-layout { display: grid; grid-template-columns: clamp(270px, 24vw, 340px) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: start; }

.filters {
  position: sticky; top: 84px;
  max-height: calc(100vh - 100px); overflow: auto;
  padding-right: .5rem;
}
.field { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.field > label, .field legend {
  display: block; font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--ink-soft); margin-bottom: .5rem; padding: 0;
}
.field input[type="search"], .field input[type="date"], .sort select {
  width: 100%; padding: .65rem .8rem; color: var(--black);
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.field input:focus, .sort select:focus { outline: 2px solid var(--ink); border-color: var(--ink); }
.scripture-field {
  background: var(--ink); color: var(--sand); padding: 1.1rem; border-radius: var(--radius);
}
.scripture-field > label { color: var(--gold); }
.scripture-field input { color: var(--black); border-color: transparent !important; font-family: var(--serif); font-size: 1.15rem !important; }
.hint { font-size: .8rem; margin: .55rem 0 0; opacity: .8; line-height: 1.45; }
.hint strong { color: #fff; font-weight: 600; }
.warn { color: #ffb3bd; }

.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .6rem; }
.date-row label { font-size: .8rem; color: var(--ink-soft); }
.date-row input { min-width: 0; width: 100%; margin-top: .2rem; padding: .5rem !important; font-size: .85rem; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .3rem .75rem; font-size: .85rem; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center;
}
.chip span { font-size: .72rem; color: var(--ink-soft); }
.chip:hover { border-color: var(--clay); }
.chip.on { background: var(--clay); border-color: var(--clay); color: #fff; }
.chip.on span { color: rgba(255, 255, 255, .8); }
.chips.small .chip { font-size: .78rem; padding: .2rem .6rem; }

.books summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--clay-dark); list-style: none; }
.books summary::before { content: "＋ "; }
.books[open] summary::before { content: "－ "; }
.books h4 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; margin: 1rem 0 .3rem; }
.books ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: .75rem; }
.books li button {
  background: none; border: 0; padding: .15rem 0; cursor: pointer; font-size: .88rem;
  display: flex; justify-content: space-between; width: 100%; text-align: left;
}
.books li button:hover { color: var(--clay); }
.books li span { color: var(--ink-soft); font-size: .75rem; }

.reset { background: none; border: 1px dashed var(--line); width: 100%; padding: .6rem; border-radius: 10px; cursor: pointer; color: var(--ink-soft); }
.reset:hover { border-color: var(--clay); color: var(--clay); }

.results-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
#count { margin: 0; font-family: var(--serif); font-size: 1.25rem; }
.sort { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); }
.sort select { width: auto; padding: .4rem .6rem; }

.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; }
.active-filters:empty { display: none; }
.pill { background: var(--sand-2); border: 0; border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; cursor: pointer; }
.pill:hover { background: var(--line); }
.pill span { margin-left: .25rem; font-weight: 600; }

.results { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1280px) {
  .results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .results .empty { grid-column: 1 / -1; }
}
.filters-toggle { display: none; }
.hide-sm { display: inline; }
.result { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.result.has-image { display: grid; grid-template-columns: 1fr 120px; column-gap: 1rem; }
.result.has-image > :not(.result-thumb) { grid-column: 1; }
.result-thumb { grid-column: 2; grid-row: 1 / span 6; align-self: start; margin-top: .35rem; }
.result-thumb img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.entry-image { margin: 1rem 0; }
.entry-image img { width: 100%; max-height: 420px; object-fit: contain; background: var(--sand); border-radius: 12px; }
.result-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.result-meta time { color: var(--clay); font-weight: 600; }
.result h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: .15rem 0 .1rem; line-height: 1.15; }
.result h3 a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--clay), var(--clay)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
.result h3 a:hover { background-size: 100% 2px; }
.byline { margin: 0 0 .35rem; color: var(--ink-soft); font-size: .92rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.kind { text-transform: capitalize; }
.summary { margin: 0 0 .5rem; max-width: 62ch; line-height: 1.5; }
.badge { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .12rem .5rem; border-radius: 6px; background: var(--sand-2); color: var(--ink); }
.badge.media-audio, .badge.media-video { background: var(--ink); color: var(--gold); }
.badge.sample { background: transparent; border: 1px dashed var(--ink-soft); color: var(--ink-soft); }

.refs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .4rem; }
.ref {
  font-family: var(--serif); font-size: 1rem; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--ink);
  border-radius: 4px; padding: .1rem .6rem;
}
.ref:hover { border-color: var(--clay); }
.ref.hit { background: #fde8eb; border-color: var(--clay); border-left-color: var(--clay); font-weight: 600; }
.topics { display: flex; flex-wrap: wrap; gap: .35rem; }
.topic { background: none; border: 0; padding: 0; font-size: .82rem; color: var(--sage); cursor: pointer; font-weight: 600; }
.topic::before { content: "# "; opacity: .6; }
.topic:hover, .topic.on { color: var(--clay); }
.empty { padding: 2rem 0; text-align: center; color: var(--ink-soft); font-family: var(--serif); font-size: 1.2rem; }

/* Entry dialog */
.entry-dialog {
  width: min(780px, 100% - 2rem); max-height: calc(100vh - 3rem);
  border: 0; border-radius: var(--radius); padding: 0;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45);
}
.entry-dialog::backdrop { background: rgba(11, 26, 63, .6); backdrop-filter: blur(2px); }
.entry-dialog article { padding: 2rem clamp(1.1rem, 4vw, 2.5rem) 1.75rem; position: relative; }
.entry-dialog h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.08; margin: 0 0 .4rem; }
.close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.close:hover { border-color: var(--clay); color: var(--clay); }
.readings { margin: 1rem 0; padding: 1rem 1.2rem; background: var(--sand); border-radius: 10px; }
.readings h3 { margin: 0 0 .5rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.readings .refs { margin: 0; }
.prose { font-family: var(--serif); font-size: 1.18rem; line-height: 1.6; margin: 1rem 0; }
.prose p { margin: 0 0 .8em; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.25rem 0; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audio { margin: 1.25rem 0; padding: 1rem; background: var(--ink); color: var(--sand); border-radius: 10px; }
.audio figcaption { font-size: .8rem; margin-bottom: .5rem; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }
.audio audio { width: 100%; }
.media-link { font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: var(--sand); padding: 1.5rem 0; text-align: center; font-size: .92rem; }
.site-footer p { margin: .2rem 0; }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius); padding: .6rem 1rem; margin-bottom: .75rem; }
.footer-logo img { width: 170px; height: auto; }
.site-footer a:not(.footer-logo) { color: var(--gold); }
.site-footer strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.muted { opacity: .65; }

@media (max-width: 1100px) {
  .priest-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .library-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .filters { position: static; max-height: none; padding: 0; overflow: visible; }
  .filters-toggle {
    display: flex; align-items: center; gap: .6rem; width: 100%;
    padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--sand);
    font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .filters-toggle svg { margin-left: auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .2s; }
  .filters-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .filters-count { background: var(--clay); color: #fff; border-radius: 999px; min-width: 1.4rem; height: 1.4rem; padding: 0 .4rem; font-size: .75rem; display: inline-grid; place-items: center; }
  .more-filters { display: none; padding-top: 1.25rem; }
  .more-filters.open { display: block; }
  .scripture-field { margin-bottom: 1rem; }
  .field { margin-bottom: 1.1rem; }
  .entry-dialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
  .entry-dialog article { padding: 3.25rem 1rem 1.75rem; }
  .close { position: fixed; top: .75rem; right: .75rem; z-index: 2; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
  .prose { font-size: 1.15rem; }
}
@media (max-width: 560px) {
  .wrap, .hero-inner { width: calc(100% - 2.25rem); }
  .header-inner { padding: .6rem 0; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: .88rem; padding: .35rem 0; }
  .brand small, .hide-sm { display: none; }
  .brand-shield { width: 26px; }
  .brand strong { font-size: 1.2rem; }
  .hero { padding: 2rem 0 4.5rem; }
  .hero h1 { margin-bottom: 1rem; }
  .lede { margin-bottom: 1.5rem; }
  .hero-ridge { height: 60px; }
  .hero-search input { font-size: 16px; padding: .85rem 1rem; }
  .hero-search button { justify-content: center; padding: .85rem; }
  .section-head { margin-bottom: 1rem; }
  .field input[type="search"], .field input[type="date"], .sort select, .date-row input { font-size: 16px !important; }
  .chip { padding: .45rem .85rem; }
  .chips.small .chip { padding: .35rem .75rem; }
  .results-bar { flex-wrap: wrap; gap: .5rem; }
  .result { padding: .9rem 0; }
  .result h3 { font-size: 1.3rem; }
  .ref { padding: .25rem .65rem; }
  .entry-image img { max-height: 280px; }
  .footer-logo img { width: 180px; }
  .hero-search { flex-direction: column; border-radius: 16px; }
  .hero-search button { border-radius: 12px; }
  .clergy-grid { grid-template-columns: 1fr; }
  .priest-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .ptab { padding: .5rem .6rem; gap: .5rem; }
  .ptab-photo, .ptab-icon { width: 34px; height: 34px; }
  .ptab-text strong { font-size: .88rem; }
  .nav-search { padding: .35rem .7rem; }
  .site-header nav { gap: .8rem; }
  .priest-banner .link-btn { margin-left: 0; }
  .result.has-image { grid-template-columns: 1fr 84px; column-gap: .9rem; }
  .result-thumb img { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* "Read more" on each card and "View more" under the list */
.read-more { display: inline-block; margin: 0 0 .5rem; color: var(--clay-dark); font-weight: 600; font-size: .92rem; text-decoration: none; }
.read-more:hover { text-decoration: underline; }
.more-wrap { display: flex; justify-content: center; padding: 1.75rem 0 .5rem; }
.more-wrap[hidden] { display: none; }
.btn-more { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); padding: .75rem 1.6rem; }
.btn-more:hover { background: var(--ink); color: #fff; }
