/* St Mark & St Philopater — site styles */
:root {
  --wine: #5b1620;
  --wine-deep: #3a0d14;
  --wine-soft: #7a2531;
  --gold: #b8893b;
  --gold-light: #d9b56c;
  --cream: #faf6ef;
  --parchment: #f2eadc;
  --ink: #2a2420;
  --muted: #6b6058;
  --line: #e4d9c7;
  --white: #fff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(58,13,20,.06), 0 8px 24px rgba(58,13,20,.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-soft); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--wine-deep); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--wine); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Top bar */
.topbar { background: var(--wine-deep); color: #ead9c4; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 12px; }
.topbar .icon { color: var(--gold-light); }

/* Header & nav */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--wine-deep); }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 10px 11px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 6px; }
.site-nav a:hover, .site-nav a.active { color: var(--wine); background: var(--parchment); }
.site-nav li:last-child > a { background: var(--wine); color: #fff; margin-left: 6px; }
.site-nav li:last-child > a:hover { background: var(--wine-soft); }
.has-sub { display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 .95rem var(--sans); color: var(--wine-deep); cursor: pointer; }
.nav-toggle .icon { width: 1.3em; height: 1.3em; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 0; }
  .site-nav a { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child > a { margin: 12px 0 0; text-align: center; border-radius: 8px; border: 0; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--wine); cursor: pointer; }
  .sub-toggle .icon { width: 1.2em; height: 1.2em; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; width: 100%; display: none; }
  .sub.open { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub .sub.open, .has-sub:hover .sub.open { display: block; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.15rem; }
  .topbar-contact { gap: 14px; }
}

.announce { background: var(--gold-light); color: var(--wine-deep); text-align: center; font-weight: 600; padding: 10px 0; font-size: .95rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 .98rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .15s; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-soft); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a3772f; color: #fff; }
.btn-outline { border-color: currentColor; color: var(--wine); background: transparent; }
.btn-outline:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--wine-deep); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero (home) */
.hero { position: relative; background: radial-gradient(ellipse at 50% 0%, #7a2531 0%, var(--wine) 40%, var(--wine-deep) 100%); color: #f6ebdc; text-align: center; padding: 72px 0 84px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 40 40'%3E%3Cpath d='M17 3h6v9.5L26 9h5v5l-3.5 3H37v6h-9.5l3.5 3v5h-5l-3-3.5V37h-6v-9.5L14 31H9v-5l3.5-3H3v-6h9.5L9 14V9h5l3 3.5z' fill='%23fff'/%3E%3C/svg%3E"); background-size: 64px; }
.hero .wrap { position: relative; }
.hero-crest { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 22px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.hero h1 { color: #fff; margin-bottom: .15em; font-size: clamp(2.4rem, 6vw, 4rem); }
.hero .hero-sub { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--gold-light); font-style: italic; margin-bottom: 18px; }
.hero p.lead { max-width: 640px; margin: 0 auto 30px; font-size: 1.1rem; color: #ead9c4; }
.hero .btn-row { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--wine-deep), var(--wine)); color: #ead9c4; padding: 44px 0 48px; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero-sub { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold-light); margin: 0; }
.crumb { font-size: .85rem; margin: 0 0 10px; letter-spacing: .03em; }
.crumb a { color: #ead9c4; }
.crumb span { opacity: .5; margin: 0 4px; }

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--parchment); }
.section-white { background: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: block; font: 700 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 6px auto 16px; }
.ornament span { height: 1px; width: 56px; background: currentColor; opacity: .6; }
.ornament svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--parchment); color: var(--wine); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon .icon { width: 22px; height: 22px; }

/* Service time cards */
.service-card { text-align: center; border-top: 4px solid var(--gold); }
.service-card .when { font: 600 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.service-card .time { font-family: var(--serif); font-size: 2.2rem; color: var(--wine); font-weight: 700; line-height: 1; margin: 6px 0 12px; }
.service-card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Feature panel (welcome image substitute) */
.panel-crest { background: radial-gradient(circle at 50% 40%, #fff 0%, var(--parchment) 70%); border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 40px; position: relative; }
.panel-crest img { width: 70%; max-width: 320px; }
.panel-crest .caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--wine); color: #ead9c4; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; }

/* Events */
.event-list { display: grid; gap: 14px; }
.event { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.event-date { flex: none; width: 66px; text-align: center; background: var(--wine); color: #fff; border-radius: 8px; padding: 8px 4px; line-height: 1.1; }
.event-date .m { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.event-date .d { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; }
.event-date .w { display: block; font-size: .72rem; opacity: .85; }
.event h4 { margin: 2px 0 2px; font-size: 1.25rem; }
.event .meta { color: var(--muted); font-size: .92rem; display: flex; gap: 14px; flex-wrap: wrap; }
.event .meta span { display: inline-flex; align-items: center; gap: 5px; }
.event p { margin: 6px 0 0; font-size: .95rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--parchment); color: var(--wine); }
.tag-live { background: #fde8e8; color: #a11d1d; }
.empty { text-align: center; padding: 34px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Calendar grid */
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cal-head h2 { margin: 0; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.cal-nav a:hover { border-color: var(--wine); }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cal th { background: var(--wine); color: #fff; font-weight: 600; font-size: .85rem; padding: 10px 4px; letter-spacing: .04em; }
.cal td { vertical-align: top; height: 112px; border: 1px solid var(--line); padding: 6px; font-size: .8rem; }
.cal td.out { background: #faf7f2; color: #bbb; }
.cal td.today { background: #fff8e8; box-shadow: inset 0 0 0 2px var(--gold); }
.cal .num { font-weight: 700; color: var(--wine-deep); margin-bottom: 4px; display: block; }
.cal td.out .num { color: #c9bfb2; }
.cal .ev { display: block; margin-bottom: 3px; padding: 2px 5px; border-radius: 4px; background: var(--parchment); color: var(--wine-deep); border-left: 3px solid var(--wine); line-height: 1.3; overflow-wrap: anywhere; }
.cal .ev b { font-weight: 600; }
.ev.c-liturgy { border-color: var(--wine); }
.ev.c-prayer { border-color: #6d5a9c; }
.ev.c-meeting { border-color: #2f6f73; }
.ev.c-feast { border-color: var(--gold); background: #fbf1dc; }
.ev.c-youth { border-color: #3d7a3d; }
.ev.c-other { border-color: #888; }
@media (max-width: 760px) {
  .cal-desktop { display: none; }
}
@media (min-width: 761px) {
  .cal-mobile-note { display: none; }
}
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
blockquote.verse { margin: 0; padding: 30px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
blockquote.verse::before { content: "\201C"; position: absolute; top: -6px; left: 18px; font-family: var(--serif); font-size: 4.5rem; color: var(--gold); line-height: 1; }
blockquote.verse p { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink); line-height: 1.45; margin: 14px 0 12px; }
blockquote.verse cite { font-style: normal; font-weight: 700; color: var(--wine); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }

/* Prose content */
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose > *:first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }

.anchor-section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.anchor-section:last-of-type { border-bottom: 0; }
.subnav { background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.subnav a { display: block; padding: 14px 16px; text-decoration: none; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--wine); border-color: var(--gold); }

.person { display: flex; gap: 20px; align-items: center; }
.avatar { flex: none; width: 92px; height: 92px; border-radius: 50%; background: var(--parchment); border: 2px solid var(--gold-light); display: grid; place-items: center; color: var(--wine); font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.person h3 { margin: 0 0 2px; }
.person .role { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; }

.saint { display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; }
.saint-mark { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--wine), var(--wine-deep)); color: var(--gold-light); display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; font-weight: 700; border: 3px solid var(--gold); }
.saint .feast { font-size: .9rem; color: var(--muted); font-style: italic; }
@media (max-width: 620px) { .saint { grid-template-columns: 1fr; } .saint-mark { width: 84px; height: 84px; font-size: 2.2rem; } }

.note { background: #fff8e8; border: 1px solid #ecd9a8; border-left: 4px solid var(--gold); border-radius: 8px; padding: 18px 20px; }
.note p:last-child { margin: 0; }

/* Schedule table */
.schedule { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule th, .schedule td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.schedule th { background: var(--parchment); font-family: var(--serif); font-size: 1.1rem; color: var(--wine-deep); }
.schedule tr:last-child td { border-bottom: 0; }
.schedule td:first-child { font-weight: 700; color: var(--wine); white-space: nowrap; }
@media (max-width: 620px) {
  .schedule thead { display: none; }
  .schedule tr { display: block; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .schedule td { display: block; border: 0; padding: 2px 0; }
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--wine-deep); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=time], input[type=url], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d6c9b4; border-radius: 8px; font: 1rem var(--sans); color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-light); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
.req { color: #a11d1d; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: #e9f5ea; border: 1px solid #b9dcbc; color: #22562a; }
.alert-err { background: #fdecec; border: 1px solid #f2c0c0; color: #8a1f1f; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list .card-icon { margin: 0; width: 42px; height: 42px; }
.info-list h4 { margin: 0 0 2px; font-size: 1.15rem; }
.info-list p { margin: 0; color: var(--muted); font-size: .97rem; }

.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

.video { position: relative; aspect-ratio: 16 / 9; background: #120406; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.give-card { text-align: center; }
.give-card .btn { margin-top: 8px; }
.copy-line { display: inline-flex; align-items: center; gap: 8px; background: var(--parchment); padding: 8px 14px; border-radius: 8px; font-weight: 600; word-break: break-all; }

/* Footer */
.site-footer { background: var(--wine-deep); color: #d9c6b0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 20px 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: var(--gold-light); font-size: 1.25rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #ead9c4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff !important; text-decoration: none !important; line-height: 1.1; }
.footer-brand small { display: block; font: 500 .8rem var(--sans); color: var(--gold-light); letter-spacing: .04em; }
.footer-logo { width: 54px; height: 54px; object-fit: contain; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold-light); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; text-align: center; color: #b9a48e; }

/* ---------- Editable-content additions ---------- */
.hero.has-bg { background: linear-gradient(rgba(58,13,20,.80), rgba(58,13,20,.88)), var(--hero-bg) center / cover no-repeat; }
.hero.has-bg::before { display: none; }
.panel-photo { margin: 0; }
.panel-photo img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 3; }
.panel-photo figcaption { text-align: center; font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 10px; }
.card > p:last-of-type { margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.avatar.has-img, .saint-mark.has-img { padding: 0; overflow: hidden; }
.avatar.has-img img, .saint-mark.has-img img { width: 100%; height: 100%; object-fit: cover; }
.person-bio p { margin: 0 0 .5em; } .person-bio p:last-child { margin: 0; }
.section-intro { color: var(--muted); font-size: 1.08rem; }
.section-intro p:last-child { margin: 0; }
.info-rich p { margin: 0; color: var(--muted); font-size: .97rem; }
.note > p:last-child { margin-bottom: 0; }
.rich-checks ul { list-style: none; padding-left: 0 !important; }
.rich-checks ul li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.rich-checks ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.card ul, .card ol { padding-left: 1.2em; }
.card.rich-checks ul { margin: 14px 0 0; }
.prose .eyebrow + h2 { margin-top: 0; }
