/* Modern standard-site presentation.  Outreach pages intentionally do not load this file. */

:root {
  --modern-bg: #071218;
  --modern-panel: rgba(8, 20, 27, 0.78);
  --modern-panel-strong: rgba(7, 16, 22, 0.94);
  --modern-line: rgba(239, 230, 205, 0.22);
  --modern-line-strong: rgba(239, 230, 205, 0.5);
  --modern-text: #f4f0e6;
  --modern-muted: #c7c3b8;
  --modern-gold: #e6c77a;
  --modern-teal: #91d2c5;
  --modern-focus: #ffdf85;
}

body.site-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--modern-text);
  background: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

body.site-page .background-color {
  z-index: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(38, 82, 81, 0.38), transparent 34rem),
    radial-gradient(circle at 85% 82%, rgba(116, 73, 32, 0.3), transparent 30rem),
    var(--modern-bg);
}

body.site-page .video-container {
  z-index: 1;
  opacity: 0.55;
  filter: saturate(1.02) contrast(1.03) brightness(1);
}

body.site-page .video-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(5, 18, 24, 0.08), rgba(5, 18, 24, 0.02) 45%, rgba(6, 15, 20, 0.1)),
    linear-gradient(180deg, rgba(4, 12, 16, 0), rgba(4, 12, 16, 0.1));
  pointer-events: none;
}

body.site-page .video-container::after {
  background: transparent;
}

body.site-page .content {
  position: relative;
  z-index: 2;
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 2.75rem) clamp(1rem, 4vw, 2.75rem) calc(100vh + 4rem);
  padding-bottom: calc(100svh + 4rem);
  color: var(--modern-text);
  text-align: left;
}

body.site-page .content > br {
  display: none;
}

body.site-page .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  max-width: 760px;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--modern-line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(10, 27, 31, 0.95), rgba(4, 10, 14, 0.95));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

body.site-page .image {
  flex: 0 0 auto;
  width: clamp(4.25rem, 12vw, 6.7rem);
  max-width: none;
  margin: 0;
  filter: drop-shadow(0 0.65rem 1rem rgba(0, 0, 0, 0.35));
}

body.site-page .text h1 {
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.7vw, 2.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

body.site-page .site-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  row-gap: 0.35rem;
  width: 100%;
  max-width: none;
  margin: 0 auto 1.5rem;
  padding: 0.5rem;
  position: relative;
  z-index: 20;
  isolation: isolate;
  border: 1px solid var(--modern-line);
  border-radius: 16px;
  background: rgba(6, 15, 21, 0.66);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

body.site-page .menu-section {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  transform: none;
  z-index: 1;
  min-width: max-content;
  margin: 0;
}

body.site-page .menu-section:hover,
body.site-page .menu-section:focus-within {
  z-index: 2;
}

body.site-page .menu-header > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--modern-muted) !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

body.site-page .menu-header > a:hover,
body.site-page .menu-section:focus-within > .menu-header > a,
body.site-page .menu-section.is-current > .menu-header > a {
  color: var(--modern-text) !important;
  border-color: var(--modern-line);
  background: rgba(255, 255, 255, 0.08);
}

body.site-page .menu-section:focus-within > .menu-header > .menu-header-toggle,
body.site-page .menu-section.is-current > .menu-header > .menu-header-toggle {
  color: var(--modern-text);
  border-color: var(--modern-line);
  background: rgba(255, 255, 255, 0.08);
}

body.site-page .menu-section.is-current > .menu-header > a {
  color: var(--modern-gold) !important;
  border-color: rgba(230, 199, 122, 0.35);
}

body.site-page .menu-section.is-current > .menu-header > .menu-header-toggle {
  color: var(--modern-gold);
  border-color: rgba(230, 199, 122, 0.35);
  background: rgba(230, 199, 122, 0.08);
}

body.site-page .menu-header-toggle,
body.site-page .menu-landing-link {
  display: none;
}

body.site-page .dropdown-content {
  top: calc(100% + 0.45rem);
  left: 50%;
  min-width: 13rem;
  padding: 0.45rem;
  z-index: 30;
  border: 1px solid var(--modern-line-strong);
  border-radius: 14px;
  background: var(--modern-panel-strong);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-0.35rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

@media (min-width: 761px) {
  /* Preserve the floating visual gap without creating a hover dead zone. */
  body.site-page .dropdown-content::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    right: 0;
    left: 0;
    height: 0.45rem;
  }
}

body.site-page .dropdown:hover .dropdown-content,
body.site-page .dropdown:focus-within .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

body.site-page .dropdown-content a {
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: 9px;
  color: var(--modern-text);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

body.site-page .dropdown-content a:hover,
body.site-page .dropdown-content a:focus-visible {
  color: var(--modern-gold);
  background: rgba(255, 255, 255, 0.09);
}

body.site-page .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  max-width: 860px;
  margin: 0 auto 1rem;
  color: var(--modern-muted);
  font-size: 0.78rem;
}

body.site-page .breadcrumbs a {
  color: var(--modern-teal);
  text-decoration: none;
}

body.site-page .breadcrumbs a:hover,
body.site-page .breadcrumbs a:focus-visible {
  color: var(--modern-gold);
  text-decoration: underline;
}

body.site-page .breadcrumbs [aria-current="page"] {
  color: var(--modern-muted);
}

body.site-page .breadcrumbs-separator {
  color: rgba(244, 240, 230, 0.42);
}

body.site-page .additional-content {
  display: block;
  width: min(100%, 860px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 2.7rem);
  overflow-wrap: anywhere;
  border: 1px solid var(--modern-line);
  border-radius: 22px;
  color: var(--modern-text);
  background: linear-gradient(145deg, rgba(8, 21, 26, 0.95), rgba(3, 8, 12, 0.95));
  box-shadow: 0 1.75rem 4rem rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  text-align: left;
}

body.site-page .patroness-portrait {
  float: left;
  width: min(100%, 210px);
  margin: 0 1.6rem 1rem 0;
  text-align: center;
}

body.site-page .patroness-portrait img {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  border: 1px solid var(--modern-line);
  border-radius: 12px;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

body.site-page .patroness-portrait figcaption {
  margin-top: 0.65rem;
  color: var(--modern-muted);
  font-size: 0.82rem;
}

body.site-page .page-intro {
  margin-bottom: 1.6rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--modern-line);
}

body.site-page .eyebrow {
  margin: 0 0 0.35rem;
  color: var(--modern-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.site-page .page-title {
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body.site-page .page-kicker {
  max-width: 62ch;
  margin: 0.65rem 0 0;
  color: var(--modern-muted);
  font-size: 0.95rem;
}

body.site-page .additional-content a {
  color: var(--modern-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

body.site-page .additional-content a:hover,
body.site-page .additional-content a:focus-visible {
  color: var(--modern-gold);
}

body.site-page .additional-content > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin: 0.35rem 0.35rem 0.35rem 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(145, 210, 197, 0.4);
  border-radius: 10px;
  background: rgba(145, 210, 197, 0.08);
  text-decoration: none;
}

body.site-page .additional-content > a:hover,
body.site-page .additional-content > a:focus-visible {
  border-color: rgba(230, 199, 122, 0.65);
  background: rgba(230, 199, 122, 0.1);
}

body.site-page .question {
  margin: 0.7rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--modern-line);
  border-radius: 12px;
  color: var(--modern-text);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

body.site-page .question:hover,
body.site-page .question:focus-visible {
  border-color: var(--modern-line-strong);
  background: rgba(255, 255, 255, 0.1);
}

body.site-page .answer {
  width: auto;
  max-width: none;
  margin: 0 0.35rem;
  padding: 0 0.85rem;
  color: var(--modern-muted);
  font-size: 0.98rem;
}

body.site-page .answer.show {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

body.site-page .saint {
  width: 100%;
  max-width: 760px;
  color: var(--modern-text);
}

body.site-page .saint img {
  border: 1px solid var(--modern-line);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

body.site-page .saint-pagination__link {
  border-color: var(--modern-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

body.site-page .saint-pagination__link:hover,
body.site-page .saint-pagination__link:focus-visible {
  border-color: rgba(230, 199, 122, 0.6);
  background: rgba(230, 199, 122, 0.08);
}

body.site-page .site-menu-toggle {
  position: relative;
  z-index: 21;
  border-color: var(--modern-line-strong);
  border-radius: 10px;
  color: var(--modern-text);
  background: var(--modern-panel-strong);
}

body.site-page .site-menu-toggle:hover,
body.site-page .site-menu-toggle:focus-visible {
  border-color: var(--modern-gold);
  color: var(--modern-gold);
}

body.site-page .video-play-toggle {
  border-color: var(--modern-line-strong);
  border-radius: 10px;
  color: var(--modern-text);
  background: var(--modern-panel-strong);
}

body.site-page .video-play-toggle:hover,
body.site-page .video-play-toggle:focus-visible {
  border-color: var(--modern-gold);
  color: var(--modern-gold);
}

body.site-page .additional-content-or {
  margin: 1.15rem 0;
  color: var(--modern-muted);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body.site-page .home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

body.site-page .home-actions a {
  display: flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--modern-line);
  border-radius: 12px;
  color: var(--modern-text);
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  font-weight: 700;
}

body.site-page .home-actions a:hover,
body.site-page .home-actions a:focus-visible {
  border-color: rgba(230, 199, 122, 0.65);
  color: var(--modern-gold);
  background: rgba(230, 199, 122, 0.1);
}

body.site-page .home-worship-note {
  margin: 1.35rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--modern-gold);
  color: var(--modern-muted);
  background: rgba(230, 199, 122, 0.07);
}

body.site-page .modern-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  margin: 0.35rem 0.45rem 0.35rem 0;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(145, 210, 197, 0.42);
  border-radius: 11px;
  color: var(--modern-text) !important;
  background: rgba(145, 210, 197, 0.08);
  text-decoration: none;
  font-weight: 800;
}

body.site-page .modern-action:hover,
body.site-page .modern-action:focus-visible {
  border-color: rgba(230, 199, 122, 0.72);
  color: var(--modern-gold) !important;
  background: rgba(230, 199, 122, 0.1);
}

body.site-page .modern-action-primary {
  border-color: rgba(230, 199, 122, 0.72);
  color: #0b1518 !important;
  background: linear-gradient(135deg, var(--modern-gold), #f4e2a7);
  box-shadow: 0 0.7rem 1.8rem rgba(230, 199, 122, 0.16);
}

body.site-page .modern-action-primary:hover,
body.site-page .modern-action-primary:focus-visible {
  color: #0b1518 !important;
  background: linear-gradient(135deg, #f2d58c, #fff1be);
}

body.site-page .virtual-worship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 1rem;
}

body.site-page .blog-feed {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--modern-line);
}

body.site-page .blog-feed-heading {
  margin-bottom: 1rem;
}

body.site-page .blog-feed-heading h3 {
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

body.site-page .blog-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

body.site-page .blog-feed-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--modern-line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.16);
}

body.site-page .blog-feed-card h4 {
  margin: 0 0 0.45rem;
  color: #fffaf0;
  font-size: 1.03rem;
  line-height: 1.25;
}

body.site-page .blog-feed-card time {
  color: var(--modern-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.site-page .blog-feed-card p {
  flex: 1 1 auto;
  margin: 0.7rem 0 1rem;
  color: var(--modern-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

body.site-page .blog-feed-card a {
  align-self: flex-start;
  color: var(--modern-teal);
  font-weight: 800;
  text-decoration: none;
}

body.site-page .blog-feed-card a:hover,
body.site-page .blog-feed-card a:focus-visible {
  color: var(--modern-gold);
  text-decoration: underline;
}

body.site-page .blog-feed-status {
  margin: 0;
  color: var(--modern-muted);
}

body.site-page .holiday-schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

body.site-page .holiday-season {
  min-width: 0;
  margin: 0;
  padding: 1.15rem;
  border: 1px solid var(--modern-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.16);
}

body.site-page .holiday-season h3 {
  margin: 0 0 0.9rem;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.15;
}

body.site-page .holiday-season h3::after {
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--modern-gold);
  content: "";
}

body.site-page .holiday-season-items {
  display: grid;
  gap: 0.75rem;
}

body.site-page .holiday-season-items p {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--modern-muted);
  line-height: 1.5;
}

body.site-page .holiday-season-items p:first-child {
  padding-top: 0;
  border-top: 0;
}

body.site-page .holiday-note {
  margin: 1.25rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--modern-line);
  color: var(--modern-muted);
}

@media (min-width: 761px) and (max-width: 1280px) {
  body.site-page .site-menu {
    display: grid;
    grid-template-columns: repeat(5, minmax(max-content, 1fr));
    align-items: stretch;
  }

  body.site-page .menu-section:nth-child(6) {
    grid-column-start: 2;
  }

  body.site-page .menu-section {
    min-width: max-content;
  }

  body.site-page .menu-header > a {
    justify-content: center;
  }
}

@media (min-width: 1281px) {
  body.site-page .site-menu {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.18rem;
  }
}

@media (max-width: 760px) {
  body.site-page .content {
    padding: 0.75rem;
    padding-bottom: calc(100vh + 4rem);
    padding-bottom: calc(100svh + 4rem);
  }

  body.site-page .container {
    border-radius: 16px;
  }

  body.site-page .site-menu-toggle {
    display: block;
    margin: 0.8rem auto;
  }

  body.site-page .site-menu {
    display: none;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.55rem;
    border-radius: 14px;
  }

  body.site-page .site-menu[data-open="true"] {
    display: block;
  }

  body.site-page .menu-section,
  body.site-page .menu-header,
  body.site-page .menu-header > a {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.site-page .menu-header > a {
    min-height: 2.9rem;
    border-radius: 9px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.site-page .menu-section.has-menu-group .menu-header > a {
    display: none;
  }

  body.site-page .menu-header-toggle {
    display: flex;
    width: 100%;
    min-height: 2.9rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--modern-muted);
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-align: left;
    cursor: pointer;
  }

  body.site-page .menu-header-toggle:hover,
  body.site-page .menu-header-toggle:focus-visible {
    color: var(--modern-text);
    border-color: var(--modern-line);
    background: rgba(255, 255, 255, 0.08);
  }

  body.site-page .menu-header-chevron {
    flex: 0 0 auto;
    color: var(--modern-gold);
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 160ms ease;
  }

  body.site-page .menu-section.is-expanded .menu-header-chevron {
    transform: rotate(180deg);
  }

  body.site-page .menu-landing-link {
    display: block;
    margin: 0.15rem 0 0.3rem;
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid rgba(239, 230, 205, 0.14);
    color: var(--modern-gold) !important;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
  }

  body.site-page .dropdown-content {
    display: block;
    position: static;
    min-width: 0;
    padding: 0.15rem 0 0.35rem 0.75rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
  }

  body.site-page .menu-section.has-menu-group > .dropdown-content {
    display: none !important;
    opacity: 1;
    visibility: visible;
  }

  body.site-page .menu-section.has-menu-group.is-expanded > .dropdown-content {
    display: block !important;
  }

  /* The desktop hover/focus rule is more specific, so explicitly reset its
     horizontal transform for mobile focus and touch states. */
  body.site-page .dropdown .dropdown-content {
    transform: none;
  }

  /* Touch focus can still activate the desktop state selectors. Keep the
     mobile menu in normal flow with no horizontal animation or overflow. */
  body.site-page .dropdown:hover .dropdown-content,
  body.site-page .dropdown:focus-within .dropdown-content {
    transform: none;
    transition: none;
  }

  body.site-page .menu-section.has-menu-group:not(.is-expanded):hover > .dropdown-content,
  body.site-page .menu-section.has-menu-group:not(.is-expanded):focus-within > .dropdown-content {
    display: none !important;
  }

  body.site-page .dropdown-content a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.site-page .additional-content {
    border-radius: 16px;
    padding: 1.2rem;
    font-size: 1rem;
  }

  body.site-page .patroness-portrait {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  body.site-page .patroness-portrait img {
    margin-inline: auto;
  }

  body.site-page .home-actions {
    grid-template-columns: 1fr;
  }

  body.site-page .blog-feed-grid {
    grid-template-columns: 1fr;
  }

  body.site-page .holiday-schedule {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  body.site-page .modern-action {
    width: 100%;
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-page .dropdown-content,
  body.site-page .menu-header > a,
  body.site-page .question {
    transition: none;
  }
}
