/*
Theme Name: St. Anna's Parish
Theme URI: https://bigmt.net/
Author: BigMt
Description: A mobile-first, accessible, staff-friendly parish website for St. Anna's Catholic Church.
Version: 1.0.0
Text Domain: stannas
*/

:root {
  --blue-950: #0b233f;
  --blue-900: #12365f;
  --blue-800: #1c4b7e;
  --blue-700: #296294;
  --blue-100: #e7f0f7;
  --burgundy-900: #5b182b;
  --burgundy-800: #74233a;
  --burgundy-700: #8c304a;
  --burgundy-100: #f5e9ed;
  --gold-600: #a77b27;
  --gold-500: #c29a4a;
  --gold-300: #dfc487;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --white: #fff;
  --ink: #1d2935;
  --muted: #53606c;
  --line: #d8d4cd;
  --line-dark: rgba(255, 255, 255, .2);
  --success: #23613f;
  --shadow-sm: 0 8px 25px rgba(11, 35, 63, .09);
  --shadow-lg: 0 24px 70px rgba(11, 35, 63, .18);
  --radius-sm: .5rem;
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --content: 76rem;
  --narrow: 48rem;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.prose,
.content-card,
.site-footer,
.record-details,
.calendar-actions {
  overflow-wrap: anywhere;
}

body.admin-bar {
  --admin-offset: 2.875rem;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

a {
  color: var(--blue-800);
  text-underline-offset: .16em;
  text-decoration-thickness: .08em;
}

a:hover {
  color: var(--burgundy-800);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  border-radius: .15rem;
  outline: .2rem solid var(--white);
  outline-offset: .12rem;
  box-shadow: 0 0 0 .4rem var(--blue-950);
}

::selection {
  background: var(--burgundy-800);
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .75rem;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 10vw, 3.45rem);
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: -.025em;
}

h3 {
  font-size: clamp(1.32rem, 4vw, 1.65rem);
}

h4 {
  font-size: 1.15rem;
}

p,
ul,
ol,
dl,
blockquote {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), var(--narrow));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.75rem, 9vw, 7rem);
}

.section-tint {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(231, 240, 247, .68), rgba(247, 243, 235, .55)),
    var(--cream);
}

.compact-section {
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-intro,
.page-lead {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 3vw, 1.28rem);
  line-height: 1.6;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: .5rem;
  left: .5rem;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  padding: .75rem 1rem !important;
  background: var(--white);
  color: var(--blue-950);
  white-space: normal !important;
}

.skip-link {
  position: fixed;
  z-index: 100000;
  top: .5rem;
  left: .5rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  border: .15rem solid var(--gold-500);
  border-radius: .25rem;
  background: var(--white);
  color: var(--blue-950);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.button,
button.button,
.wp-block-button__link {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.1rem;
  border: .12rem solid var(--blue-800);
  border-radius: .35rem;
  background: var(--blue-800);
  color: var(--white);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.button:hover,
.button:focus-visible {
  border-color: var(--blue-950);
  background: var(--blue-950);
  color: var(--white);
}

.button:hover {
  transform: translateY(-.12rem);
}

.button-secondary {
  border-color: var(--blue-800);
  background: transparent;
  color: var(--blue-800);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--blue-950);
  background: var(--blue-100);
  color: var(--blue-950);
}

.button-gold {
  border-color: var(--gold-500);
  background: var(--gold-500);
  color: var(--blue-950);
}

.button-gold:hover,
.button-gold:focus-visible {
  border-color: var(--gold-300);
  background: var(--gold-300);
  color: var(--blue-950);
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--blue-950);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--gold-300);
  background: var(--gold-300);
  color: var(--blue-950);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, .78);
  background: rgba(11, 35, 63, .2);
  color: var(--white);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--blue-950);
}

.text-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue-800);
  font-weight: 800;
}

.text-link-light {
  color: var(--white);
}

.text-link-light:hover {
  color: var(--gold-300);
}

/* Prelaunch and utility bars */

.stannas-prelaunch-notice {
  position: relative;
  z-index: 30;
  min-height: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .1rem .65rem;
  align-items: center;
  justify-content: center;
  padding: .35rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  background: var(--burgundy-800) !important;
  color: var(--white);
  font-size: .78rem;
  line-height: 1.4;
  text-align: center;
}

.stannas-prelaunch-notice strong {
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Header and navigation */

.site-header {
  position: relative;
  z-index: 25;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, .98);
  box-shadow: 0 4px 20px rgba(11, 35, 63, .06);
}

.header-inner {
  min-height: 5.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding-block: .65rem;
}

.site-brand {
  min-height: 3.4rem;
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  color: var(--blue-950);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--burgundy-800);
}

.brand-symbol,
.custom-logo {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.custom-logo {
  object-fit: contain;
}

.site-brand-copy {
  display: grid;
  line-height: 1.12;
}

.site-brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.site-brand-copy > span {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.nav-toggle {
  min-width: 5.5rem;
  min-height: 2.85rem;
  display: none;
  gap: .55rem;
  align-items: center;
  justify-content: center;
  padding: .55rem .85rem;
  border: .12rem solid var(--blue-800);
  border-radius: .35rem;
  background: transparent;
  color: var(--blue-900);
  font-size: .85rem;
  font-weight: 800;
}

.js .nav-toggle {
  display: inline-flex;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 1.15rem;
  height: .12rem;
  display: block;
  background: currentColor;
  content: "";
  transition: transform var(--transition);
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -.36rem;
}

.nav-toggle-lines::after {
  position: absolute;
  top: .36rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-navigation {
  width: 100%;
}

.js .primary-navigation {
  display: none;
}

.js .primary-navigation.is-open {
  display: block;
}

.primary-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation .menu {
  display: grid;
  gap: .15rem;
  padding-block: .5rem;
  border-top: 1px solid var(--line);
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  min-height: 2.85rem;
  display: flex;
  align-items: center;
  padding: .55rem .65rem;
  border-radius: .3rem;
  color: var(--blue-950);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a {
  background: var(--blue-100);
  color: var(--burgundy-800);
}

.primary-navigation .menu-item-has-children > a {
  padding-right: 3.2rem;
}

.submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.85rem;
  height: 2.85rem;
  display: none;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--blue-900);
  font-size: 1.15rem;
}

.js .submenu-toggle {
  display: grid;
}

.submenu-toggle[aria-expanded="true"] > span[aria-hidden] {
  transform: rotate(180deg);
}

.primary-navigation .sub-menu {
  margin-left: .8rem;
  padding-left: .8rem;
  border-left: .18rem solid var(--gold-500);
}

.js .primary-navigation .sub-menu {
  display: none;
}

.js .primary-navigation .submenu-is-open > .sub-menu {
  display: block;
}

/* Alerts */

.alert-region {
  border-bottom: 1px solid #e4c9d1;
  background: var(--burgundy-100);
  padding-block: .8rem;
}

.alert-region .container {
  display: grid;
  gap: .6rem;
}

.parish-alert {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  padding: .9rem;
  border-left: .3rem solid var(--burgundy-800);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.parish-alert .alert-title {
  margin-bottom: .25rem;
  color: var(--burgundy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.parish-alert p:last-child {
  margin-bottom: 0;
}

.alert-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--burgundy-800);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.parish-alert-info {
  border-color: var(--blue-700);
}

.parish-alert-info .alert-icon {
  background: var(--blue-700);
}

/* Home hero */

.home-hero {
  position: relative;
  min-height: 32rem;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(194, 154, 74, .3), transparent 20rem),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 27, 49, .94) 0%, rgba(7, 27, 49, .72) 56%, rgba(7, 27, 49, .28) 100%),
    linear-gradient(90deg, rgba(7, 27, 49, .72), transparent 85%);
  content: "";
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-pattern {
  position: absolute;
  z-index: -1;
  right: -9rem;
  bottom: -10rem;
  width: 24rem;
  aspect-ratio: 1;
  border: 1px solid rgba(223, 196, 135, .35);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(223, 196, 135, .04),
    0 0 0 6rem rgba(223, 196, 135, .03);
}

.hero-layout {
  position: relative;
  z-index: 1;
  padding-block: 4rem 3.5rem;
}

.hero-preview-control {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  max-width: min(24rem, calc(100% - 2rem));
  padding: .55rem .7rem;
  border: 2px dashed var(--gold-300);
  border-radius: .25rem;
  background: var(--white);
  color: var(--blue-950);
  font-size: .78rem;
  font-weight: 750;
}

.hero-preview-alt {
  top: auto;
  bottom: 1rem;
}

.hero-copy {
  max-width: 43rem;
  color: var(--white);
}

.hero-copy h1 {
  color: var(--white);
}

.hero-lead {
  max-width: 40rem;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(1.12rem, 4vw, 1.35rem);
  line-height: 1.55;
}

/* Schedules */

.mass-section {
  background:
    radial-gradient(circle at 95% 0, rgba(194, 154, 74, .13), transparent 26rem),
    var(--paper);
}

.mass-grid {
  display: grid;
  gap: 1rem;
}

.schedule-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.schedule-card::after {
  position: absolute;
  inset: auto 0 0;
  height: .28rem;
  background: var(--gold-500);
  content: "";
}

.schedule-card-featured {
  border-color: var(--blue-800);
  background: var(--blue-900);
  color: var(--white);
}

.schedule-card-featured h3 {
  color: var(--white);
}

.schedule-card-featured::after {
  background: var(--burgundy-700);
}

.schedule-card-invite {
  background: var(--cream);
}

.schedule-number {
  position: absolute;
  top: .65rem;
  right: .9rem;
  margin: 0;
  color: rgba(18, 54, 95, .1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.schedule-card-featured .schedule-number {
  color: rgba(255, 255, 255, .12);
}

.schedule-card h3 {
  padding-right: 2.5rem;
}

.schedule-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.schedule-list > div {
  display: grid;
  gap: .2rem;
  padding-block: .75rem;
  border-top: 1px solid var(--line);
}

.schedule-card-featured .schedule-list > div {
  border-color: rgba(255, 255, 255, .22);
}

.schedule-list dt {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.schedule-list dd {
  margin: 0;
  color: var(--blue-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.schedule-card-featured .schedule-list dd {
  color: var(--gold-300);
}

.schedule-note {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .9rem;
}

.schedule-highlight {
  color: var(--burgundy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

/* Prayer and location */

.prayer-band {
  padding-block: clamp(3rem, 8vw, 5rem);
  background:
    linear-gradient(115deg, rgba(116, 35, 58, .98), rgba(91, 24, 43, .98)),
    var(--burgundy-900);
  color: var(--white);
}

.prayer-layout {
  display: grid;
  gap: 1.25rem;
}

.prayer-layout h2,
.prayer-layout h3 {
  color: var(--white);
}

.prayer-layout article {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.prayer-layout article > :last-child,
.prayer-layout article > div > :last-child {
  margin-bottom: 0;
}

.visit-section {
  background: var(--cream);
}

.visit-layout,
.visit-details {
  display: grid;
  gap: 1rem;
}

.visit-panel,
.visit-details article {
  padding: clamp(1.35rem, 5vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.visit-photo {
  display: block;
  margin: -1.35rem -1.35rem 1.35rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.visit-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}

.visit-panel address {
  margin-bottom: 1.4rem;
  font-size: 1.08rem;
  font-weight: 650;
}

.visit-details article > :last-child {
  margin-bottom: 0;
}

.visit-details .emergency-card {
  border-left: .35rem solid var(--burgundy-800);
  background: var(--burgundy-100);
}

/* Updates and cards */

.updates-layout {
  display: grid;
  gap: 2.5rem;
}

.subsection-title {
  margin-bottom: 1.2rem;
}

.event-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.event-list time {
  min-height: 3.7rem;
  display: grid;
  place-content: center;
  border-radius: .35rem;
  background: var(--burgundy-800);
  color: var(--white);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.event-list time span {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.event-list time strong {
  margin-top: .2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.event-list h2,
.event-list h3,
.event-list h4 {
  margin-bottom: .15rem;
  font-size: 1.05rem;
}

.event-list h2 a,
.event-list h3 a,
.event-list h4 a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--blue-950);
}

.event-list p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.content-card:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-.18rem);
}

.content-card-image {
  height: 12rem;
  display: block;
  overflow: hidden;
  background: var(--blue-100);
}

.content-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.content-card:hover .content-card-image img {
  transform: scale(1.025);
}

.content-card-body {
  padding: 1.3rem;
}

.content-card h2,
.content-card h3,
.content-card h4 {
  font-size: 1.35rem;
}

.content-card h2 a,
.content-card h3 a,
.content-card h4 a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--blue-950);
  text-decoration: none;
}

.content-card h2 a:hover,
.content-card h3 a:hover,
.content-card h4 a:hover {
  color: var(--burgundy-800);
  text-decoration: underline;
}

.content-card-body > :last-child {
  margin-bottom: 0;
}

.card-meta,
.record-published {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
}

.empty-state {
  padding: 1.5rem;
  border: 1px dashed #9ca8b2;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
}

.empty-state.compact {
  padding: 1rem;
}

.empty-state > :last-child {
  margin-bottom: 0;
}

.empty-state.on-dark {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .07);
  color: var(--white);
}

/* New visitor, paths, and bulletin */

.new-here-band {
  padding-block: clamp(3.2rem, 8vw, 5.4rem);
  background:
    radial-gradient(circle at 88% 50%, rgba(194, 154, 74, .25), transparent 17rem),
    var(--blue-900);
  color: var(--white);
}

.new-here-layout {
  display: grid;
  gap: 1.3rem;
  align-items: center;
}

.new-here-photo {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.new-here-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.new-here-layout h2 {
  color: var(--white);
}

.new-here-layout p {
  max-width: 42rem;
  margin-bottom: 0;
}

.path-grid {
  display: grid;
  gap: .85rem;
}

.path-card {
  min-height: 10rem;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: .2rem .75rem;
  align-content: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-950);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.path-card:hover {
  border-color: var(--gold-500);
  background: var(--cream);
  color: var(--burgundy-800);
  transform: translateY(-.15rem);
}

.path-card > span {
  grid-row: 1 / 3;
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .85rem;
  font-weight: 800;
}

.path-card strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.path-card small {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.featured-ministries {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.formation-grid {
  display: grid;
  gap: 1rem;
}

.calendar-actions {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.calendar-actions > div > :last-child {
  margin-bottom: 0;
}

.calendar-intro {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.calendar-months {
  display: grid;
  gap: 2.5rem;
}

.calendar-month > h3 {
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--gold-500);
}

.calendar-event-list {
  display: grid;
  gap: .75rem;
}

.calendar-event {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.calendar-event > time {
  min-height: 4.4rem;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.calendar-event > time strong {
  font-size: .68rem;
  letter-spacing: .08em;
}

.calendar-event > time span {
  margin-top: .25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.calendar-event h4 {
  margin: .25rem 0;
}

.calendar-tag {
  color: var(--burgundy-800);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.calendar-recurrence {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.calendar-page-action {
  margin-top: 1.5rem;
}

.event-window-nav {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-left: .35rem solid var(--gold-600);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.event-window-nav p,
.event-window-nav h3 {
  margin: 0;
}

.event-window-nav h3 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.event-window-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
}

.filter-button {
  min-height: 44px;
  padding: .55rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-950);
  font-weight: 750;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: var(--white);
}

.filter-item[hidden] {
  display: none !important;
}

.filter-item > .content-card {
  height: 100%;
}

.sacrament-introduction {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.sacrament-introduction > div {
  padding-block: .75rem;
}

.sacrament-introduction h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.04;
}

.sacrament-introduction > div p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.sacrament-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.sacrament-index a {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sacrament-index a:hover,
.sacrament-index a:focus-visible {
  border-color: var(--burgundy-800);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.sacrament-list {
  border-top: 1px solid var(--line);
}

.sacrament-detail {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.sacrament-detail-heading h2 {
  margin-bottom: .8rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.sacrament-detail-heading p,
.sacrament-detail-body > .entry-content {
  color: var(--muted);
}

.sacrament-detail-heading p {
  max-width: 24rem;
}

.sacrament-detail-body {
  max-width: 46rem;
}

.sacrament-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.sacrament-schedule,
.sacrament-preparation-note,
.catechism-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sacrament-schedule {
  display: grid;
  gap: .25rem;
  border-left: 4px solid var(--blue-800);
  background: var(--blue-100);
}

.sacrament-preparation-note {
  border-left: 4px solid var(--burgundy-800);
  background: #fbf3f4;
}

.sacrament-preparation-note h3,
.catechism-note h3 {
  margin-bottom: .45rem;
  font-size: 1.15rem;
}

.sacrament-preparation-note p,
.catechism-note p {
  margin-bottom: .65rem;
  color: var(--muted);
  font-size: .95rem;
}

.catechism-note {
  border-left: 4px solid var(--gold-500);
  background: var(--cream);
}

.catechism-note a {
  font-size: .88rem;
  font-weight: 800;
}

.sacrament-contact-band {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}

.sacrament-contact-band h2 {
  color: var(--white);
}

.sacrament-contact-band p {
  max-width: 44rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .88);
}

.ministry-introduction {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 5vw, 3.25rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 12%, rgba(202, 164, 77, .22), transparent 30%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}

.ministry-introduction h2 {
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
}

.ministry-introduction > div > p {
  max-width: 40rem;
  color: rgba(255, 255, 255, .86);
  font-size: 1.12rem;
}

.ministry-paths {
  display: grid;
  gap: .75rem;
}

.ministry-paths p {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07);
}

.ministry-paths strong {
  color: var(--gold-300);
}

.ministry-review-notice {
  margin-bottom: 2rem;
  padding: 1.35rem 1.5rem;
  border-left: .35rem solid var(--burgundy-800);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.ministry-review-notice h2 {
  margin-bottom: .4rem;
  font-size: 1.35rem;
}

.ministry-review-notice p {
  margin: 0;
}

.ministry-directory {
  border-top: 2px solid var(--blue-900);
}

.ministry-row {
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(1.4rem, 4vw, 2.15rem);
  border-bottom: 1px solid var(--line);
}

.ministry-row h3 {
  margin-bottom: .5rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.ministry-row h3 a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.ministry-row-main > :last-child,
.ministry-row-details > :last-child {
  margin-bottom: 0;
}

.ministry-row-details {
  color: var(--muted);
  font-size: .94rem;
}

.ministry-row-details p {
  margin-bottom: .45rem;
}

.formed-welcome {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.formed-wordmark {
  display: grid;
  place-items: center;
  min-height: 16rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #1c6a80, #103d55);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.formed-wordmark span {
  font-family: Arial, sans-serif;
  font-size: clamp(2.7rem, 10vw, 5rem);
  font-weight: 300;
  letter-spacing: .08em;
}

.formed-wordmark small {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.formed-steps {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.formed-steps ol {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
  counter-reset: formed-step;
}

.formed-steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .25rem 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  counter-increment: formed-step;
}

.formed-steps li::before {
  grid-row: 1 / span 2;
  color: var(--burgundy-800);
  content: counter(formed-step, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.formed-steps li span {
  color: var(--muted);
}

.formed-help-panel {
  margin-top: 2.5rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: var(--cream);
}

.mission-graphic {
  display: grid;
  gap: 1rem;
  margin-block: 2rem 2.5rem;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mission-graphic img {
  width: min(100%, 300px);
  margin-inline: auto;
}

.mission-graphic figcaption {
  color: var(--muted);
  font-size: .95rem;
}

@media (min-width: 48rem) {
  .event-window-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .event-window-actions {
    justify-content: flex-end;
  }

  .sacrament-introduction,
  .ministry-introduction,
  .formed-welcome {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sacrament-index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sacrament-detail {
    grid-template-columns: minmax(15rem, .68fr) minmax(0, 1.32fr);
    gap: clamp(2.5rem, 7vw, 7rem);
  }

  .sacrament-contact-band {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ministry-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  }

  .mission-graphic {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
  }

  .calendar-intro {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 35rem) {
  .sacrament-index {
    grid-template-columns: 1fr;
  }

  .sacrament-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sacrament-actions .button {
    width: 100%;
  }
}

.bulletin-section {
  background:
    linear-gradient(125deg, rgba(11, 35, 63, .98), rgba(28, 75, 126, .95)),
    var(--blue-950);
  color: var(--white);
}

.bulletin-section h2,
.bulletin-section h3 {
  color: var(--white);
}

.bulletin-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.latest-bulletin {
  display: grid;
  gap: 1.1rem;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.latest-bulletin > time {
  width: 5.25rem;
  min-height: 6.2rem;
  display: grid;
  place-content: center;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--burgundy-800);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.latest-bulletin time span {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.latest-bulletin time strong {
  margin-block: .25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.latest-bulletin time small {
  color: var(--muted);
  font-size: .68rem;
}

.latest-bulletin h3 a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.closing-actions {
  background: var(--cream);
}

.closing-grid {
  display: grid;
  gap: .85rem;
}

.closing-grid > a {
  min-height: 11rem;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-950);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.closing-grid > a:hover {
  border-color: var(--burgundy-700);
  color: var(--burgundy-800);
}

.closing-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: var(--burgundy-100);
  color: var(--burgundy-800);
  font-size: 1.2rem;
  font-weight: 800;
}

.closing-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.closing-grid small {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .9rem;
}

/* Interior pages */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.6rem, 10vw, 6.5rem);
  background:
    radial-gradient(circle at 85% 15%, rgba(194, 154, 74, .26), transparent 19rem),
    linear-gradient(125deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -12rem;
  width: 25rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.page-hero h1 {
  max-width: 52rem;
  color: var(--white);
}

.page-hero .page-lead {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .92);
}

.page-content + .section {
  padding-top: 0;
}

.prose {
  font-size: 1.04rem;
}

.prose > * {
  max-width: 100%;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.7rem, 5vw, 2.25rem);
}

.prose h3 {
  margin-top: 1.9rem;
}

.prose a:not(.button) {
  font-weight: 650;
}

.prose li + li {
  margin-top: .4rem;
}

.prose blockquote {
  margin-inline: 0;
  padding: 1.1rem 1.3rem;
  border-left: .3rem solid var(--gold-500);
  background: var(--cream);
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.prose table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: .7rem;
  border: 1px solid var(--line);
  text-align: left;
}

.single-featured-image {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-100);
}

.single-featured-image img {
  width: 100%;
}

.content-sidebar-layout {
  display: grid;
  gap: 2.5rem;
}

.content-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.sidebar-card,
.next-step-box {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.sidebar-card h2,
.next-step-box h2 {
  font-size: 1.45rem;
}

.sidebar-card > :last-child,
.next-step-box > :last-child {
  margin-bottom: 0;
}

.resource-actions {
  display: grid;
  gap: .55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.resource-actions a {
  min-height: 2.85rem;
  display: flex;
  align-items: center;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 750;
}

.resource-actions a:hover {
  border-color: var(--gold-500);
  color: var(--burgundy-800);
}

.back-link {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  font-weight: 750;
}

.record-details {
  display: grid;
  gap: 0;
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.record-details > div {
  display: grid;
  gap: .2rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.record-details > div:last-child {
  border-bottom: 0;
}

.record-details dt {
  color: var(--burgundy-800);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.record-details dd {
  margin: 0;
  color: var(--blue-950);
  font-weight: 700;
}

.staff-role {
  color: var(--burgundy-800);
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-list {
  padding-left: 1.2rem;
}

/* Staff */

.staff-grid {
  display: grid;
  gap: 1rem;
}

.staff-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.staff-card > img,
.staff-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.staff-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 65% 28%, rgba(194, 154, 74, .35), transparent 8rem),
    var(--blue-900);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
}

.staff-card > div:last-child {
  padding: 1.3rem;
}

.staff-card h2,
.staff-card h3,
.staff-card h4 {
  font-size: 1.4rem;
}

.staff-card h2 a,
.staff-card h3 a,
.staff-card h4 a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--blue-950);
}

/* Search, not found, and pagination */

.search-form {
  width: min(100%, 42rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
}

.search-form label {
  min-width: 0;
}

.search-form input {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .85rem;
  border: .12rem solid #778694;
  border-radius: .35rem;
  background: var(--white);
  color: var(--ink);
}

.search-form input::placeholder {
  color: #66727e;
  opacity: 1;
}

.search-form button {
  min-height: 3rem;
  padding: .65rem 1rem;
  border: .12rem solid var(--gold-500);
  border-radius: .35rem;
  background: var(--gold-500);
  color: var(--blue-950);
  font-weight: 800;
}

.search-form button:hover {
  border-color: var(--gold-300);
  background: var(--gold-300);
}

.hero-search {
  margin-top: 1.5rem;
}

.results-count {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-weight: 700;
}

.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results li {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.search-results li:first-child {
  border-top: 1px solid var(--line);
}

.search-results h2 {
  font-size: 1.55rem;
}

.search-results h2 a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--blue-950);
}

.search-empty {
  max-width: 45rem;
}

.not-found-layout {
  display: grid;
  gap: 2.5rem;
}

.destination-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.destination-list a {
  min-height: 3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: .6rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue-950);
  font-weight: 750;
}

.pagination {
  margin-top: 2.5rem;
}

.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 2rem;
}

.archive-filters a {
  min-width: 2.85rem;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 750;
  text-decoration: none;
}

.archive-filters a:hover,
.archive-filters a[aria-current="page"] {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: var(--white);
}

.archive-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.archive-pagination > span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.page-numbers {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: grid;
  place-items: center;
  padding: .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 750;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: var(--white);
}

/* Footer */

.site-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, .88);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

.site-footer h2 {
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .78rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--gold-300);
}

.site-footer .button-light,
.site-footer .button-light:hover,
.site-footer .button-light:focus-visible {
  color: var(--blue-950);
}

.footer-grid a:not(.button) {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.footer-welcome {
  max-width: 29rem;
}

.footer-brand {
  display: flex;
  gap: .7rem;
  align-items: center;
  margin-bottom: .65rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.footer-brand > strong {
  font-size: 1.3rem;
  line-height: 1.25;
}

.footer-brand .brand-symbol {
  width: 2.9rem;
  height: 2.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.footer-emergency {
  border-block: 1px solid var(--line-dark);
  background: var(--burgundy-900);
}

.footer-emergency .container {
  min-height: 3.75rem;
  display: grid;
  gap: .15rem .85rem;
  align-content: center;
  padding-block: .7rem;
}

.footer-emergency strong {
  color: var(--gold-300);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-bottom {
  font-size: .74rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.expect-list {
  display: grid;
  gap: 1rem;
  padding-left: 1.35rem;
}

.expect-list li {
  padding-left: .35rem;
}

.new-here-photo {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.new-here-photo img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: center top;
}

.past-bulletins-details,
.source-news-archive details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.past-bulletins-details > summary,
.source-news-archive summary {
  min-height: 5.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
}

.past-bulletins-details summary::marker,
.source-news-archive summary::marker {
  color: var(--burgundy-800);
}

.past-bulletins-details summary strong,
.source-news-archive summary strong {
  display: block;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.past-bulletins-toggle,
.source-news-archive summary > span:last-child {
  font-size: 2rem;
  line-height: 1;
}

.past-bulletins-details[open] .past-bulletins-toggle,
.source-news-archive details[open] summary > span:last-child {
  transform: rotate(45deg);
}

.past-bulletins-panel,
.source-news-panel {
  padding: 0 1.4rem 1.5rem;
  border-top: 1px solid var(--line);
}

.archive-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: end;
  margin-block: 1.25rem 2rem;
}

.archive-search-form label {
  width: 100%;
  font-weight: 700;
}

.archive-search-form select {
  min-width: min(100%, 18rem);
  min-height: 2.75rem;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--white);
}

.prelaunch-form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.prelaunch-form p {
  margin: 0;
}

.prelaunch-form label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
}

.prelaunch-form input,
.prelaunch-form select,
.prelaunch-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: .7rem .75rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: var(--white);
}

.prelaunch-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.prelaunch-form .button {
  width: fit-content;
}

.prelaunch-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-help,
.form-notice {
  font-size: .92rem;
}

.form-notice {
  margin-bottom: 1rem;
  padding: .9rem 1rem;
  border-left: .35rem solid var(--blue-800);
  background: var(--blue-100);
}

.form-error {
  border-left-color: var(--burgundy-800);
}

/* Tablet */

@media (min-width: 42rem) {
  .container {
    width: min(calc(100% - 3rem), var(--content));
  }

  .narrow {
    width: min(calc(100% - 3rem), var(--narrow));
  }

  .home-hero {
    min-height: 35rem;
    align-items: center;
  }

  .hero-layout {
    padding-block: 5rem;
  }

  .split-heading {
    max-width: none;
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
  }

  .split-heading > div {
    max-width: 48rem;
  }

  .mass-grid,
  .card-grid,
  .staff-grid,
  .formation-grid,
  .path-grid,
  .closing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .schedule-card-featured {
    grid-row: span 2;
  }

  .schedule-list > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: baseline;
  }

  .schedule-list dd {
    text-align: right;
  }

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

  .prayer-layout > div:first-child {
    grid-column: 1 / -1;
  }

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

  .new-here-layout {
    grid-template-columns: minmax(12rem, .6fr) minmax(0, 1fr) auto;
  }

  .calendar-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .latest-bulletin {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    padding: 1.6rem;
  }

  .record-details > div {
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
  }

  .not-found-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.1fr .9fr;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-emergency .container {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
}

/* Editorial review state */

.review-state {
  display: inline-flex;
  margin: 0 0 .65rem;
  padding: .22rem .55rem;
  border: 1px solid rgba(120, 31, 46, .25);
  border-radius: 999px;
  background: rgba(120, 31, 46, .07);
  color: var(--burgundy-800);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
}

.review-state-light {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

/* Desktop */

@media (min-width: 72rem) {
  h1 {
    font-size: clamp(3.5rem, 5.5vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.55rem, 4vw, 3.55rem);
  }

  .header-inner {
    min-height: 6.1rem;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .site-brand {
    flex: 0 0 auto;
  }

  .brand-symbol,
  .custom-logo {
    width: 3.75rem;
    height: 3.75rem;
  }

  .site-brand-copy strong {
    font-size: 1.6rem;
  }

  .nav-toggle,
  .js .nav-toggle {
    display: none;
  }

  .primary-navigation,
  .js .primary-navigation,
  .js .primary-navigation.is-open {
    width: auto;
    display: block;
    margin-left: auto;
  }

  .primary-navigation .menu {
    display: flex;
    flex-wrap: nowrap;
    gap: .05rem;
    justify-content: flex-end;
    padding: 0;
    border: 0;
  }

  .primary-navigation a {
    min-height: 2.75rem;
    padding: .5rem .4rem;
    font-size: .77rem;
    white-space: nowrap;
  }

  .primary-navigation .menu-item-has-children > a {
    padding-right: .4rem;
  }

  .submenu-toggle,
  .js .submenu-toggle {
    display: none;
  }

  .primary-navigation .sub-menu,
  .js .primary-navigation .sub-menu,
  .js .primary-navigation .submenu-is-open > .sub-menu {
    position: absolute;
    top: calc(100% + .2rem);
    left: 0;
    width: 15rem;
    display: none;
    margin: 0;
    padding: .4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .primary-navigation li:hover > .sub-menu,
  .primary-navigation li:focus-within > .sub-menu,
  .js .primary-navigation li:hover > .sub-menu,
  .js .primary-navigation li:focus-within > .sub-menu {
    display: block;
  }

  .primary-navigation .sub-menu a {
    padding-inline: .75rem;
    font-size: .88rem;
  }

  .home-hero {
    min-height: 34rem;
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 27, 49, .95) 0%, rgba(7, 27, 49, .78) 46%, rgba(7, 27, 49, .22) 82%, rgba(7, 27, 49, .08) 100%),
      linear-gradient(0deg, rgba(7, 27, 49, .45), transparent 55%);
  }

  .hero-copy {
    max-width: 48rem;
  }

  .mass-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .schedule-card-featured {
    grid-row: auto;
  }

  .prayer-layout {
    grid-template-columns: .9fr 1fr 1fr;
    align-items: stretch;
  }

  .prayer-layout > div:first-child {
    grid-column: auto;
    align-self: center;
  }

  .visit-layout {
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
  }

  .visit-details {
    grid-template-columns: 1fr;
  }

  .visit-photo {
    margin: -2.3rem -2.3rem 2rem;
  }

  .updates-layout {
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(2rem, 6vw, 5rem);
  }

  .updates-layout .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .staff-grid,
  .formation-grid,
  .path-grid,
  .closing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .bulletin-layout {
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(3rem, 7vw, 7rem);
  }

  .content-sidebar-layout {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }

  .content-sidebar {
    position: sticky;
    top: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.15fr .75fr 1.5fr;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }
}

@media (min-width: 82rem) {
  .primary-navigation a {
    padding-inline: .57rem;
    font-size: .82rem;
  }
}

/* St. Augustine-proven contact workflow, adapted to St. Anna's visual system. */
.bigmt-parish-form-shell {
  max-width: 68rem;
  margin-inline: auto;
  scroll-margin-top: 7rem;
}

.bigmt-form-heading {
  max-width: 47rem;
  margin-bottom: 1.5rem;
}

.bigmt-form-heading h2 {
  margin-bottom: .55rem;
}

.prelaunch-form-note {
  padding: .75rem 1rem;
  border-left: 4px solid var(--gold-500);
  background: var(--paper);
}

.bigmt-parish-form {
  padding: clamp(1.15rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.bigmt-form-progress {
  display: none;
  gap: .4rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.bigmt-forms-enhanced .bigmt-form-progress {
  display: flex;
}

.bigmt-form-progress li {
  flex: 1;
  min-width: 0;
  padding: .65rem .25rem;
  border-bottom: 4px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 750;
  text-align: center;
}

.bigmt-form-progress li span {
  display: inline-grid;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: .2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
}

.bigmt-form-progress li.active,
.bigmt-form-progress li.complete {
  border-color: var(--gold-500);
  color: var(--blue-950);
}

.bigmt-form-progress li.active span,
.bigmt-form-progress li.complete span {
  background: var(--gold-300);
}

.bigmt-form-step > header {
  margin-bottom: 1.25rem;
}

.bigmt-form-step > header h3 {
  margin-bottom: .4rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.bigmt-form-group {
  min-width: 0;
  margin: 0 0 1.35rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--paper);
}

.bigmt-form-group > legend {
  padding-inline: .35rem;
  color: var(--blue-950);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.bigmt-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bigmt-form-field {
  min-width: 0;
}

.bigmt-form-field--wide,
.bigmt-form-inline-notice {
  grid-column: 1 / -1;
}

.bigmt-form-field > label {
  display: block;
  margin-bottom: .35rem;
  color: var(--blue-950);
  font-weight: 750;
}

.bigmt-parish-form .required {
  color: var(--burgundy-800);
}

.bigmt-form-field input,
.bigmt-form-field select,
.bigmt-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: .72rem .8rem;
  border: 1px solid #7b8d9a;
  border-radius: .55rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.bigmt-form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.bigmt-form-field input:focus,
.bigmt-form-field select:focus,
.bigmt-form-field textarea:focus {
  border-color: var(--blue-900);
  outline: 3px solid color-mix(in srgb, var(--gold-500) 45%, transparent);
  outline-offset: 1px;
}

.bigmt-form-inline-notice {
  padding: .9rem 1rem;
  border-left: 4px solid var(--gold-500);
  border-radius: .45rem;
  background: #fff8e9;
}

.bigmt-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.6rem;
}

.bigmt-parish-form:not(.bigmt-forms-enhanced) [data-form-next],
.bigmt-parish-form:not(.bigmt-forms-enhanced) [data-form-back],
.bigmt-parish-form:not(.bigmt-forms-enhanced) .bigmt-form-actions > span:only-child {
  display: none;
}

.bigmt-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bigmt-form-errors,
.bigmt-form-success {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--burgundy-800);
  border-radius: .5rem;
  background: #fff0ef;
}

.bigmt-form-success {
  display: grid;
  gap: .3rem;
  border-color: var(--success);
  background: #edf8f1;
}

.bigmt-form-privacy {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

[data-condition-field][hidden] {
  display: none !important;
}

.bigmt-form-review {
  display: grid;
  gap: 1rem;
}

.bigmt-form-review section {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--paper);
}

.bigmt-form-review h4 {
  margin: 0 0 .7rem;
  color: var(--blue-950);
  font-size: 1.1rem;
}

.bigmt-form-review dl {
  display: grid;
  grid-template-columns: minmax(9rem, .5fr) minmax(0, 1fr);
  gap: .35rem 1rem;
  margin: 0;
}

.bigmt-form-review dt {
  font-weight: 750;
}

.bigmt-form-review dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 47.5rem) {
  .bigmt-form-grid,
  .bigmt-form-review dl {
    grid-template-columns: 1fr;
  }

  .bigmt-form-progress li {
    font-size: 0;
  }

  .bigmt-form-progress li span {
    margin: 0;
    font-size: .8rem;
  }

  .bigmt-form-actions,
  .bigmt-form-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .stannas-prelaunch-notice,
  .site-header,
  .site-footer,
  .button-row,
  .content-sidebar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  a {
    color: #000;
  }

  .page-hero,
  .bulletin-section,
  .prayer-band,
  .new-here-band {
    padding-block: 1rem;
    background: #fff;
    color: #000;
  }

  .page-hero h1,
  .bulletin-section h2,
  .prayer-band h2,
  .new-here-band h2 {
    color: #000;
  }
}
