:root {
  --navy: #263a42;
  --blue: #396f78;
  --gold: #b88a38;
  --green: #516f55;
  --coptic-red: #8f3527;
  --ivory: #f6efe2;
  --stone: #e8ddca;
  --ink: #2a211b;
  --soft-ink: #6d6257;
  --muted: #eee5d6;
  --line: rgba(83, 61, 41, .18);
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 138, 56, .08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(143, 53, 39, .07), transparent 24%),
    linear-gradient(180deg, #f8f1e5 0%, var(--ivory) 42%, #efe4d4 100%);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--navy);
}

img {
  height: auto;
  max-width: 100%;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
}

.skip-link {
  background: var(--navy);
  color: white;
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -60px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background:
    linear-gradient(180deg, rgba(248, 241, 229, .98), rgba(239, 228, 212, .96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(83, 61, 41, .08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 76px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 54px;
  object-fit: contain;
  width: 74px;
}

.brand small {
  display: block;
  font-size: .82rem;
}

.brand strong,
.hero h1,
.page-header h1,
.home-hero h1,
.story-panel h2,
.section-heading h2,
.split-section h2,
.connect-section h2,
.media-band h2,
.enhanced-page-hero h1,
.time-card h3,
.feature-card h2,
.feature-card h3,
.today-panel h2,
.content h1,
.content h2,
.content h3 {
  font-family: var(--serif);
  font-weight: 700;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  border-radius: var(--radius);
  display: block;
  font-weight: 650;
  padding: 8px 10px;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus {
  background: rgba(255, 255, 255, .62);
  color: var(--coptic-red);
}

.primary-nav .menu-item-has-children > a {
  padding-right: 28px;
  position: relative;
}

.primary-nav .menu-item-has-children > a::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 6px;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-65%) rotate(45deg);
  width: 6px;
}

.primary-nav .menu-item-has-children::after {
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
}

.primary-nav .sub-menu {
  background:
    linear-gradient(180deg, #fffaf0, #f3eadb);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(60, 38, 22, .18);
  display: grid;
  gap: 2px;
  left: 0;
  min-width: 250px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 2px);
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 30;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-nav .sub-menu .sub-menu {
  left: calc(100% + 8px);
  top: 0;
}

.primary-nav .sub-menu .menu-item-has-children::after {
  bottom: 0;
  height: auto;
  left: 100%;
  right: auto;
  top: 0;
  width: 10px;
}

.primary-nav .sub-menu .menu-item-has-children > a::after {
  transform: translateY(-50%) rotate(-45deg);
}

.primary-nav .sub-menu a {
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.25;
  padding: 10px 12px;
  white-space: normal;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus {
  background: rgba(184, 138, 56, .14);
}

.primary-nav .sub-menu a[href*="moodle"] {
  color: var(--gold);
}

.primary-nav .sub-menu a[href*="moodle"]:hover,
.primary-nav .sub-menu a[href*="moodle"]:focus {
  background: var(--muted);
  color: var(--navy);
}

.primary-nav > ul > li:last-child > a {
  background: var(--coptic-red);
  box-shadow: 0 8px 18px rgba(93, 38, 28, .22);
  color: white;
  padding-inline: 16px;
}

.primary-nav > ul > li:last-child > a:hover,
.primary-nav > ul > li:last-child > a:focus {
  background: var(--gold);
  color: white;
}

.nav-toggle {
  display: none;
  margin-left: auto;
}

.mobile-donate-link {
  display: none;
}

.submenu-toggle {
  display: none;
}

.hero {
  background: linear-gradient(120deg, rgba(42, 33, 27, .98), rgba(93, 45, 37, .9));
  color: white;
  padding: 64px 0 40px;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
}

.hero h1,
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 18px;
}

.hero-copy {
  font-size: 1.18rem;
  max-width: 680px;
}

.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button,
button,
input[type="submit"] {
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button.primary,
input[type="submit"] {
  background: var(--coptic-red);
  border-color: var(--gold);
  color: #fffaf0;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  transform: translateY(-1px);
}

.hero .button {
  color: white;
}

.hero .button.primary {
  color: #fffaf0;
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(42, 33, 27, .84), rgba(77, 43, 31, .58)),
    var(--hero-image) center / cover;
  color: white;
  min-height: min(760px, calc(100vh - 76px));
}

.home-hero-inner {
  align-items: end;
  display: grid;
  min-height: min(760px, calc(100vh - 76px));
  padding-bottom: 72px;
  padding-top: 120px;
}

.home-hero-copy {
  max-width: 760px;
}

.home-hero h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: 0;
  line-height: .95;
  margin: 0 0 22px;
}

.home-hero p:not(.eyebrow) {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 620px;
}

.home-hero .button {
  color: white;
}

.home-hero .button.primary {
  color: #fffaf0;
}

.home-intro {
  padding-bottom: 36px;
}

.story-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-panel {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .98), rgba(246, 239, 226, .98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(83, 61, 41, .08);
  display: grid;
  grid-template-rows: 260px auto;
  overflow: hidden;
}

.story-panel img,
.announcement-panel img,
.image-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.story-panel div {
  padding: 28px;
}

.story-panel h2,
.section-heading h2,
.split-section h2,
.connect-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 14px;
}

.accent-panel {
  background:
    linear-gradient(145deg, #263a42, #5d2d25);
  color: white;
}

.accent-panel .text-link,
.media-band .button,
.media-band .eyebrow {
  color: white;
}

.text-link {
  display: inline-flex;
  font-weight: 800;
  margin-top: 8px;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-heading {
  margin-bottom: 22px;
  max-width: 720px;
}

.service-times {
  padding-top: 36px;
}

.time-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.time-card {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
  padding: 26px;
}

.time-card span {
  color: var(--coptic-red);
  display: block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.time-card h3 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  margin: 12px 0;
}

.time-card a {
  font-weight: 800;
}

.media-band {
  background:
    linear-gradient(90deg, rgba(42, 33, 27, .86), rgba(38, 58, 66, .62)),
    var(--band-image) center / cover;
  color: white;
  margin: 20px 0;
  padding: 86px 0;
}

.media-band-inner {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.media-band h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  max-width: 820px;
}

.section {
  padding: 52px 0;
}

.muted {
  background:
    linear-gradient(180deg, #eee5d6, #e5d8c4);
}

.page-header {
  background: var(--navy);
  color: white;
  padding: 54px 0;
}

.enhanced-page-hero {
  background:
    linear-gradient(90deg, rgba(42, 33, 27, .86), rgba(75, 45, 34, .54)),
    var(--page-image) var(--page-image-position, center) / cover;
  color: white;
  min-height: 430px;
}

.enhanced-page-hero-inner {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 430px;
  padding-bottom: 54px;
  padding-top: 86px;
}

.enhanced-page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  letter-spacing: 0;
  line-height: .95;
  margin: 0 0 18px;
  max-width: 980px;
}

.enhanced-page-hero p:not(.eyebrow) {
  font-size: 1.18rem;
  max-width: 760px;
}

.page-badge {
  background: rgba(255, 255, 255, .94);
  border-radius: 50%;
  box-shadow: 0 22px 60px rgba(42, 33, 27, .28);
  max-width: 180px;
  padding: 12px;
}

.page-layout {
  align-items: start;
  display: block;
}

.page-content-card {
  background:
    linear-gradient(180deg, #fffaf0, #f8f1e5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(83, 61, 41, .08);
}

.page-content-card {
  padding: clamp(22px, 4vw, 42px);
  width: 100%;
}

.page-content-card > :first-child {
  margin-top: 0;
}

.page-content-card img,
.page-content-card iframe {
  border-radius: var(--radius);
}

.page-content-card .alignleft {
  float: left;
  margin: 6px 24px 16px 0;
  max-width: min(220px, 45%);
}

.page-content-card .alignleft img {
  display: block;
  height: auto;
  width: 100%;
}

@media (max-width: 640px) {
  .page-content-card .alignleft {
    float: none;
    margin: 0 0 18px;
    max-width: 100%;
  }
}

.page-content-card .wp-block-file {
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.page-content-card .wp-block-columns {
  gap: 24px;
}

.page-content-card .clergy-card-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.page-content-card .clergy-card-grid .wp-block-column {
  min-width: 0;
}

.clergy-card-image {
  aspect-ratio: 4 / 5;
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 18px;
  overflow: hidden;
}

.clergy-card-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.stpaul-contact {
  display: grid;
  gap: 26px;
}

.stpaul-contact-intro {
  max-width: 760px;
}

.stpaul-contact-intro h2 {
  margin-top: 0;
}

.stpaul-contact-form {
  display: grid;
  gap: 18px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field[hidden] {
  display: none;
}

.contact-field.full,
.contact-actions {
  grid-column: 1 / -1;
}

.contact-field label {
  color: var(--ink);
  font-weight: 800;
}

.contact-field label span {
  color: var(--soft-ink);
  font-size: .9rem;
  font-weight: 500;
}

.contact-field label .required-mark {
  color: #b42318;
  font-size: 1rem;
  font-weight: 900;
  margin-left: 4px;
}

.stpaul-choice-group legend .required-mark {
  color: #b42318;
  font-size: 1rem;
  font-weight: 900;
  margin-left: 4px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.contact-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% + 2px),
    calc(100% - 16px) calc(50% + 2px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 46px;
}

.category-field {
  position: relative;
}

.contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 138, 56, .18);
  outline: none;
}

.contact-actions {
  align-items: center;
  display: flex;
  justify-content: flex-start;
}

.contact-actions .button.primary {
  background: var(--coptic-red);
  border-color: var(--gold);
  box-shadow: 0 8px 18px rgba(93, 38, 28, .22);
  color: white;
  min-width: 150px;
}

.contact-actions .button.primary:hover,
.contact-actions .button.primary:focus {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.stpaul-choice-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 16px;
}

.stpaul-choice-group legend {
  color: var(--ink);
  font-weight: 800;
  padding: 0 4px;
}

.stpaul-choice-group label,
.stpaul-additional-unit-toggle label {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  font-weight: 700;
}

.stpaul-choice-group input,
.stpaul-additional-unit-toggle input {
  min-height: auto;
  width: auto;
}

.stpaul-form-note {
  background: var(--muted);
  border-left: 4px double var(--gold);
  border-radius: 8px;
  padding: 12px 16px;
}

.stpaul-form-note p {
  margin: 0;
}

.stpaul-fasts-feasts {
  display: grid;
  gap: 20px;
}

.stpaul-fasts-feasts-intro {
  max-width: 760px;
}

.stpaul-fasts-feasts-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.stpaul-fasts-feasts-toolbar label {
  color: var(--ink);
  font-weight: 800;
}

.stpaul-fasts-feasts-year {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 22px) calc(50% + 2px) / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 16px) calc(50% + 2px) / 6px 6px no-repeat,
    #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  min-width: 180px;
  padding: 12px 46px 12px 14px;
}

.stpaul-fasts-feasts-heading {
  margin-bottom: 0;
}

.stpaul-table-wrap {
  overflow-x: auto;
}

.stpaul-fasts-feasts-table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.stpaul-fasts-feasts-table th,
.stpaul-fasts-feasts-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.stpaul-fasts-feasts-table th {
  background: var(--muted);
  color: var(--ink);
  font-weight: 900;
}

.stpaul-fasts-feasts-table tbody tr:nth-child(even) {
  background: #fbf5ea;
}

.stpaul-fasts-feasts-table tbody tr:hover {
  background: #f0e4d0;
}

.service-contact-cta {
  background:
    linear-gradient(180deg, #f3eadb, #eadcc7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 30px);
}

.service-contact-cta h2 {
  margin-top: 0;
}

.service-contact-cta p {
  max-width: 680px;
}

.service-contact-cta .button.primary {
  align-items: center;
  background: var(--coptic-red);
  border-color: var(--gold);
  box-shadow: 0 8px 18px rgba(93, 38, 28, .22);
  color: white;
  display: inline-flex;
  justify-content: center;
  margin-top: 8px;
}

.service-contact-cta .button.primary:hover,
.service-contact-cta .button.primary:focus {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.contact-hp {
  display: none;
}

.form-notice {
  border-radius: 8px;
  font-weight: 700;
  padding: 14px 16px;
}

.form-notice.success {
  background: #e7f5ed;
  color: #17633b;
}

.form-notice.error {
  background: #fdeceb;
  color: #9f2d24;
}

.metropolis-logo-small {
  margin: 0 auto 28px;
  max-width: 240px;
}

.metropolis-logo-small img {
  display: block;
  width: 100%;
}

.guide-section-list {
  counter-reset: guide-section;
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.guide-section-list li {
  background:
    linear-gradient(180deg, #f8f1e5, #efe4d4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: guide-section;
  padding: 22px 24px 22px 68px;
  position: relative;
}

.guide-section-list li::before {
  align-items: center;
  background: var(--coptic-red);
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #fff;
  content: counter(guide-section);
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  left: 22px;
  position: absolute;
  top: 22px;
  width: 34px;
}

.content .guide-section-list h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
  margin: 0;
}

.content .guide-section-list h3 a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.content .guide-section-list h3 a:hover,
.content .guide-section-list h3 a:focus {
  color: var(--coptic-red);
  text-decoration: underline;
  text-decoration-color: rgba(12, 79, 112, .28);
  text-underline-offset: 4px;
}

.guide-section-list p {
  margin: 8px 0 0;
}

.stpaul-media-links,
.stpaul-podcast-links {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.stpaul-media-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.stpaul-streaming-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

.stpaul-stream-embed {
  aspect-ratio: 16 / 9;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}

.stpaul-stream-embed iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.stpaul-stream-fallback {
  align-items: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 14px 0 28px;
  padding: 16px;
}

.stpaul-stream-fallback p {
  color: var(--soft-ink);
  margin: 0;
}

.stpaul-stream-fallback .button {
  flex: 0 0 auto;
}

.page-id-9 .wp-block-table th,
.page-id-9 .wp-block-table td {
  text-align: left;
}

.stpaul-float-layout {
  text-align: justify;
}

.stpaul-float-layout::after {
  clear: both;
  content: "";
  display: table;
}

.stpaul-wrap-image {
  float: left;
  margin: 0 28px 18px 0;
  max-width: min(34vw, 260px);
}

.stpaul-wrap-image img {
  display: block;
  height: auto;
  width: 100%;
}

.stpaul-wrap-image-metropolis {
  max-width: 220px;
}

.stpaul-wrap-image-living-incense {
  max-width: 260px;
}

.stpaul-wrap-image-parish {
  max-width: 240px;
}

.stpaul-wrap-image-harvest {
  margin-right: 18px;
  max-width: 252px;
}

.stpaul-wrap-image-brave {
  max-width: 260px;
}

.page-content-card .stpaul-wrap-image-brave img {
  background: white;
  border-radius: 0;
  box-sizing: border-box;
  padding: 4px;
}

.living-incense-cover {
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 auto 26px;
  max-width: 620px;
  overflow: hidden;
}

.living-incense-cover img {
  display: block;
  height: auto;
  width: 100%;
}

.living-incense-topic-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.living-incense-topic {
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 800;
  min-height: 86px;
  padding: 18px;
}

.stpaul-media-link,
.stpaul-podcast-link {
  align-items: center;
  background:
    linear-gradient(180deg, #fffaf0, #f2e8d8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: flex;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.stpaul-media-link:hover,
.stpaul-media-link:focus,
.stpaul-podcast-link:hover,
.stpaul-podcast-link:focus {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.stpaul-media-logo,
.stpaul-podcast-logo {
  align-items: center;
  border-radius: 18px;
  color: white;
  display: inline-flex;
  flex: 0 0 56px;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.stpaul-media-logo svg,
.stpaul-media-logo img,
.stpaul-podcast-logo svg {
  display: block;
  height: 34px;
  width: 34px;
}

.stpaul-media-logo img {
  filter: brightness(0) invert(1);
}

.stpaul-media-logo.youtube {
  background: #ff0033;
}

.stpaul-media-logo.facebook {
  background: #1877f2;
}

.stpaul-media-logo.soundcloud {
  background: #ff5500;
}

.stpaul-media-logo.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
}

.stpaul-podcast-logo.apple {
  background: #872ec4;
}

.stpaul-media-logo.apple {
  background: #872ec4;
}

.stpaul-media-logo.podbean {
  background: transparent;
}

.stpaul-media-logo.podbean img {
  border-radius: 14px;
  filter: none;
  height: 56px;
  width: 56px;
}

.stpaul-media-logo.spotify {
  background: #1db954;
}

.stpaul-podcast-logo.podbean {
  background: transparent;
}

.stpaul-podcast-logo.podbean img {
  border-radius: 14px;
  filter: none;
  height: 56px;
  width: 56px;
}

.stpaul-podcast-logo.spotify {
  background: #1db954;
}

.stpaul-media-title,
.stpaul-podcast-title {
  display: block;
  font-weight: 800;
}

.stpaul-media-text,
.stpaul-podcast-text {
  color: var(--soft-ink);
  display: block;
  font-size: .95rem;
  margin-top: 3px;
}

.related-links {
  display: grid;
  gap: 14px;
}

.stpaul-menu-index {
  display: grid;
  gap: 30px;
  margin-top: 28px;
}

.stpaul-menu-index-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stpaul-menu-index-group {
  display: grid;
  gap: 14px;
}

.stpaul-menu-index-separator {
  background: var(--line);
  border: 0;
  height: 1px;
  margin: 0;
  width: 100%;
}

.stpaul-menu-index-group-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.stpaul-menu-index-group-heading a {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.stpaul-menu-index-group-heading a:hover,
.stpaul-menu-index-group-heading a:focus {
  color: var(--blue);
}

.stpaul-menu-index-group-heading p {
  color: var(--soft-ink);
  margin: 6px 0 0;
}

.stpaul-menu-index-card {
  background:
    linear-gradient(180deg, #fffaf0, #f2e8d8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  min-height: 118px;
  padding: 18px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.stpaul-menu-index-card:hover,
.stpaul-menu-index-card:focus {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.stpaul-menu-index-card-title {
  color: var(--navy);
  display: block;
  font-weight: 800;
}

.stpaul-menu-index-card-text {
  color: var(--soft-ink);
  display: block;
  font-size: .95rem;
  line-height: 1.45;
  margin-top: 8px;
}

.related-link-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-grid,
.card-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.today-panel {
  background:
    linear-gradient(180deg, #fffaf0, #f6efe2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 22px;
  text-decoration: none;
}

.feature-card h2,
.feature-card h3,
.today-panel h2 {
  margin-top: 0;
}

.feature-card:hover,
.feature-card:focus-within {
  border-color: var(--gold);
}

.split-section {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.event-stack {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 8px 22px;
}

.event-line {
  border-top: 1px solid var(--line);
  display: block;
  padding: 13px 0;
  text-decoration: none;
}

.event-line span {
  color: var(--soft-ink);
  display: block;
}

.event-stack .event-line:first-child {
  border-top: 0;
}

.announcement-panel {
  background:
    linear-gradient(180deg, #fffaf0, #f6efe2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1fr);
  overflow: hidden;
}

.announcement-panel div {
  padding: 26px;
}

.announcement-panel h3 {
  margin-top: 0;
}

.resources-section {
  background:
    linear-gradient(180deg, #e8ddca, #efe4d4);
}

.resource-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-card {
  background:
    linear-gradient(180deg, #fffaf0, #f6efe2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  grid-template-rows: 170px auto auto;
  overflow: hidden;
  text-decoration: none;
}

.image-card span {
  font-size: 1.1rem;
  font-weight: 850;
  padding: 18px 18px 4px;
}

.image-card p {
  margin: 0;
  padding: 0 18px 20px;
}

.image-card:hover,
.image-card:focus {
  border-color: var(--gold);
}

.connect-section {
  background:
    linear-gradient(180deg, #f8f1e5, #efe4d4);
}

.connect-grid {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.compact-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-actions .feature-card h2 {
  font-size: 1.35rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.two-column {
  display: grid;
  gap: 40px;
  grid-template-columns: .8fr 1.2fr;
}

.content {
  max-width: 900px;
}

.content.narrow {
  max-width: 760px;
}

.content h2,
.content h3 {
  margin-top: 1.7em;
}

.featured-image {
  margin: 24px 0;
}

.site-footer {
  background:
    linear-gradient(160deg, #263a42, #3c3028 55%, #5d2d25);
  color: white;
  padding-top: 44px;
}

.site-footer a {
  color: white;
}

.footer-logo {
  background: #fffaf0;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 16px;
  max-width: 180px;
  padding: 12px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.site-footer ul {
  display: block;
}

.site-footer li {
  margin: 0 0 8px;
}

.stpaul-faq-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.stpaul-faq-list details {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(83, 61, 41, .08);
  padding: 0;
}

.stpaul-faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  list-style-position: outside;
  padding: 18px 20px;
}

.stpaul-faq-list details p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 14px 20px 20px;
}

.stpaul-faq-list details > div {
  border-top: 1px solid var(--line);
  padding: 16px 20px 20px;
}

.stpaul-faq-list details > div > :first-child {
  margin-top: 0;
}

.stpaul-faq-list details > div > :last-child {
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin-top: 34px;
  padding: 18px 20px;
  text-align: center;
}

@media (max-width: 900px) {
  .nav-toggle {
    background: white;
    color: var(--navy);
    display: inline-flex;
    margin-left: 0;
  }

  .mobile-donate-link {
    align-items: center;
    background: var(--coptic-red);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: 0 8px 18px rgba(93, 38, 28, .18);
    color: #fffaf0;
    display: inline-flex;
    font-weight: 750;
    justify-content: center;
    margin-left: auto;
    min-height: 40px;
    padding: 8px 12px;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-donate-link:hover,
  .mobile-donate-link:focus {
    background: var(--gold);
    color: #fffaf0;
  }

  .primary-nav {
    background:
      linear-gradient(180deg, #f8f1e5, #efe4d4);
    border-top: 1px solid var(--line);
    box-shadow: 0 22px 42px rgba(42, 33, 27, .18);
    display: none;
    left: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 12px 20px 20px;
    position: fixed;
    right: 0;
    top: 76px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 4px;
  }

  .primary-nav li.menu-item-has-children {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .primary-nav li.menu-item-has-children > a {
    min-width: 0;
  }

  .submenu-toggle {
    align-items: center;
    background: rgba(255, 250, 240, .72);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    min-height: 40px;
    padding: 0;
    width: 42px;
  }

  .submenu-toggle span {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: block;
    height: 8px;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .16s ease;
    width: 8px;
  }

  .is-submenu-open > .submenu-toggle span {
    transform: translateY(2px) rotate(-135deg);
  }

  .primary-nav .sub-menu {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: none;
    margin: 2px 0 8px 16px;
    min-width: 0;
    opacity: 1;
    padding: 0;
    pointer-events: auto;
    position: static;
    transform: none;
    grid-column: 1 / -1;
  }

  .primary-nav .is-submenu-open > .sub-menu {
    display: grid;
  }

  .primary-nav .sub-menu .sub-menu {
    margin-left: 16px;
  }

  .primary-nav .menu-item-has-children > a::after {
    display: none;
  }

  .hero-grid,
  .two-column,
  .footer-grid,
  .story-grid,
  .split-section,
  .media-band-inner,
  .connect-grid,
  .page-layout,
  .enhanced-page-hero-inner,
  .stpaul-contact-form {
    grid-template-columns: 1fr;
  }

  .action-grid,
  .card-list,
  .stpaul-media-links,
  .stpaul-podcast-links,
  .stpaul-menu-index-grid,
  .resource-grid,
  .time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero,
  .home-hero-inner {
    min-height: 620px;
  }

  .announcement-panel {
    grid-template-columns: 1fr;
  }

  .page-badge {
    max-width: 140px;
  }

  .announcement-panel img {
    max-height: 260px;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    gap: 12px;
    min-height: 76px;
  }

  .brand {
    gap: 9px;
    min-width: 0;
  }

  .brand-logo {
    height: 46px;
    width: 60px;
  }

  .brand span {
    min-width: 0;
  }

  .brand small {
    font-size: .76rem;
    line-height: 1.2;
  }

  .nav-toggle {
    flex: 0 0 auto;
    font-size: .92rem;
    margin-left: 0;
    min-height: 40px;
    padding: 8px 10px;
  }

  .hero {
    padding-top: 42px;
  }

  .action-grid,
  .card-list,
  .resource-grid,
  .time-grid,
  .compact-actions,
  .stpaul-media-links,
  .stpaul-streaming-links,
  .stpaul-podcast-links,
  .living-incense-topic-grid,
  .related-link-grid,
  .stpaul-menu-index-grid,
  .stpaul-contact-form {
    grid-template-columns: 1fr;
  }

  .home-hero-inner {
    padding-bottom: 48px;
    padding-top: 82px;
  }

  .home-hero-copy,
  .enhanced-page-hero-inner > div {
    max-width: calc(100vw - 36px);
    min-width: 0;
    width: calc(100vw - 36px);
  }

  .home-hero h1,
  .enhanced-page-hero h1 {
    font-size: 2rem;
    line-height: 1;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .home-hero p:not(.eyebrow),
  .enhanced-page-hero p:not(.eyebrow) {
    font-size: 1rem;
    max-width: 100%;
  }

  .home-hero .button-row {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
  }

  .home-hero .button {
    width: 100%;
    padding-inline: 8px;
  }

  .page-content-card,
  .stpaul-menu-index,
  .stpaul-menu-index-grid,
  .stpaul-menu-index-card,
  .feature-card,
  .image-card {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .stpaul-menu-index-card,
  .feature-card,
  .image-card {
    overflow-wrap: anywhere;
  }

  .story-panel {
    grid-template-rows: 210px auto;
  }

  .stpaul-float-layout {
    text-align: left;
  }

  .stpaul-wrap-image {
    float: none;
    margin: 0 0 18px;
    max-width: 220px;
  }
}
