:root {
  --bg-charcoal: #141416;
  --bg-card: #1c1c1f;
  --accent-gold: #c5a880;
  --accent-burgundy: #581827;
  --text-light: #f4f1ea;
  --text-muted: rgba(244, 241, 234, 0.7);
}

[x-cloak] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-charcoal);
  color: var(--text-light);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.site-header {
  background: rgba(20, 20, 22, 0.96);
  border-bottom: 1px solid rgba(197, 168, 128, 0.1);
  backdrop-filter: blur(12px);
}

.navbar-custom .site-brand,
.navbar-custom .site-brand:hover,
.navbar-custom .nav-link,
.navbar-custom .nav-link:hover {
  color: var(--text-light);
}

.navbar-custom .site-brand {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-brand-icon {
  display: block;
  height: 2.25rem;
  object-fit: contain;
  width: 2.25rem;
}

.navbar-custom .nav-link {
  letter-spacing: 0.5px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--accent-gold);
}

.navbar-custom .container-fluid {
  position: relative;
}

.mobile-menu-backdrop {
  background: rgba(0, 0, 0, 0.6);
  inset: 0;
  position: fixed;
  z-index: 1;
}

.navbar-custom .navbar-toggler,
.navbar-custom .language-item {
  position: relative;
  z-index: 4;
}

.navbar-custom .navbar-collapse {
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  left: 0;
  padding: 0.75rem 1rem 1rem;
  position: absolute;
  right: 0;
  top: calc(100% + 1px);
  z-index: 3;
}

.navbar-custom .navbar-collapse .nav-link {
  border-radius: 0.4rem;
  padding: 0.8rem 0.75rem;
}

.mobile-menu-enter,
.mobile-menu-leave {
  overflow: hidden;
  transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-menu-enter-start,
.mobile-menu-leave-end {
  opacity: 0;
  transform: translateY(-0.5rem) scaleY(0.98);
}

.mobile-menu-enter-end,
.mobile-menu-leave-start {
  opacity: 1;
  transform: translateY(0) scaleY(1);
}

.mobile-menu-fallback {
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  left: 0;
  padding: 0.75rem 1rem 1rem;
  position: absolute;
  right: 0;
  top: calc(100% + 1px);
  z-index: 3;
}

.mobile-menu-fallback .nav-link {
  border-radius: 0.4rem;
  padding: 0.8rem 0.75rem;
}

.language-item {
  align-items: center;
  display: flex;
  margin-left: auto;
}

.language-switcher fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.language-rocker {
  align-items: center;
  display: flex;
  gap: 0.45rem;
}

.language-label {
  border-radius: 50rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.language-toggle {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.language-track {
  background: rgba(244, 241, 234, 0.18);
  border: 1px solid rgba(197, 168, 128, 0.55);
  border-radius: 50rem;
  cursor: pointer;
  display: block;
  height: 1.65rem;
  padding: 0.15rem;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  width: 3rem;
}

.language-thumb {
  background: var(--accent-gold);
  border-radius: 50%;
  display: block;
  height: 1.15rem;
  left: 0.15rem;
  position: absolute;
  top: 0.15rem;
  transition: transform 0.2s ease;
  width: 1.15rem;
}

.language-toggle:checked + .language-track {
  background: rgba(197, 168, 128, 0.25);
}

.language-toggle:checked + .language-track .language-thumb {
  transform: translateX(1.35rem);
}

.language-toggle:focus-visible + .language-track {
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
}

.navbar-toggler {
  border-color: rgba(197, 168, 128, 0.45);
  margin-left: 0;
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.8);
}

.hero-section {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100svh - 4.5rem);
  overflow: hidden;
  padding: 4rem 1rem;
  position: relative;
  text-align: center;
}

.hero-image,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-image {
  z-index: 0;
}

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

.hero-image-placeholder {
  background: var(--accent-burgundy);
}

.hero-overlay {
  background: rgba(15, 15, 17, 0.78);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-cross {
  color: var(--accent-gold);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-kicker {
  color: var(--accent-gold);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  color: var(--text-light);
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-subtitle {
  color: var(--accent-gold);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

@media (max-height: 700px) {
  .hero-section {
    padding-bottom: 2rem;
    padding-top: 2rem;
  }

  .hero-cross {
    margin-bottom: 1rem;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    margin-bottom: 1.25rem;
  }
}

.btn-custom-gold {
  background: linear-gradient(135deg, #4a1520 0%, #2e0b12 100%);
  border: 1px solid var(--accent-gold);
  border-radius: 50rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.8rem 2.5rem;
  transition: all 0.3s ease;
}

.btn-custom-gold:hover,
.btn-custom-gold:focus {
  background: linear-gradient(135deg, #5d1c2a 0%, #3a0e17 100%);
  border-color: #dfc298;
  color: #fff;
  transform: translateY(-2px);
}

.features-section {
  background: var(--bg-charcoal);
  padding: 5rem 1rem;
}

.about-hero {
  align-items: end;
  background: linear-gradient(135deg, var(--accent-burgundy), var(--bg-charcoal));
  display: flex;
  min-height: 48svh;
  padding: 7rem 1rem 4rem;
}

.visitor-hero {
  align-items: end;
  background: linear-gradient(135deg, var(--accent-burgundy), var(--bg-charcoal));
  display: flex;
  min-height: 48svh;
  padding: 7rem 1rem 4rem;
}

.visitor-hero-content {
  max-width: 52rem;
}

.visitor-hero h1 {
  color: var(--text-light);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.visitor-lede {
  color: var(--text-muted);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.7;
  margin: 0;
  max-width: 42rem;
}

.visitor-section {
  padding: 4.5rem 1rem 6rem;
}

.visitor-grid {
  display: grid;
  gap: 1rem;
  max-width: 72rem;
}

.visitor-card {
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.16);
  border-radius: 0.75rem;
  padding: 2rem;
}

.visitor-card-highlight {
  background: var(--accent-burgundy);
}

.visitor-card h2 {
  color: var(--text-light);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.visitor-card p:not(.section-eyebrow):not(.visitor-time) {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.visitor-card p:last-child {
  margin-bottom: 0;
}

.visitor-time {
  color: var(--text-light);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.visitor-note {
  border-top: 1px solid rgba(244, 241, 234, 0.2);
  font-size: 0.9rem;
  padding-top: 1rem;
}

.visitor-next-step {
  background: var(--accent-burgundy);
  padding: 4.5rem 1rem;
}

.giving-hero {
  background: linear-gradient(135deg, var(--accent-burgundy), #2f1720 55%, var(--bg-charcoal));
}

.giving-content {
  display: grid;
  gap: 2.5rem;
  max-width: 72rem;
}

.giving-content .visitor-card {
  align-self: start;
}

.giving-content .visitor-card p:not(.section-eyebrow) {
  margin-bottom: 1.75rem;
}

.giving-copy {
  align-self: center;
  max-width: 42rem;
}

.giving-copy h2 {
  color: var(--text-light);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.giving-copy p:not(.section-eyebrow) {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.visitor-next-step-content {
  max-width: 58rem;
  text-align: center;
}

.visitor-next-step h2 {
  color: var(--text-light);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.visitor-next-step p:not(.section-eyebrow) {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}

.visitor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.visitor-actions .btn-outline-light {
  border-radius: 50rem;
  padding: 0.8rem 2.5rem;
}

.about-hero-content {
  max-width: 52rem;
}

.sermon-page-width {
  max-width: 76rem;
}

.sermon-library-hero,
.sermon-detail-hero {
  background: linear-gradient(135deg, var(--accent-burgundy), var(--bg-charcoal));
  padding: 7rem 1rem 4rem;
}

.sermon-library-hero h1,
.sermon-detail-hero h1 {
  color: var(--text-light);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0 0 1rem;
  max-width: 56rem;
}

.sermon-lede {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin: 0;
  max-width: 42rem;
}

.sermon-back-link {
  color: var(--accent-gold);
  display: inline-block;
  margin-bottom: 2rem;
  text-decoration: none;
}

.sermon-back-link:hover,
.sermon-back-link:focus {
  color: var(--text-light);
}

.sermon-byline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.sermon-library-section,
.sermon-detail-section {
  padding: 4rem 1rem 6rem;
}

.sermon-filter-panel {
  align-items: end;
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: 0.75rem;
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
}

.sermon-filter-panel label {
  color: var(--text-muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.sermon-filter-panel input,
.sermon-filter-panel select {
  background: var(--bg-charcoal);
  border: 1px solid rgba(244, 241, 234, 0.25);
  border-radius: 0.4rem;
  color: var(--text-light);
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.sermon-filter-panel input:focus,
.sermon-filter-panel select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.2rem rgba(197, 168, 128, 0.2);
  outline: 0;
}

.sermon-filter-panel .btn {
  min-height: 3rem;
  white-space: nowrap;
}

.sermon-filter-status {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: -1rem 0 2rem;
}

.sermon-filter-status p {
  margin: 0;
}

.sermon-filter-status a {
  color: var(--accent-gold);
  font-weight: 600;
}

.sermon-active-filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -1rem 0 2rem;
}

.sermon-active-filters-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-right: 0.25rem;
}

.sermon-filter-chip {
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: 50rem;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.35rem 0.7rem;
}

.sermon-result-summary {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.sermon-filter-status a,
.sermon-card a,
.sermon-aside-section a,
.sermon-tags a {
  color: var(--accent-gold);
}

.sermon-card {
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.16);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sermon-card:hover {
  border-color: rgba(197, 168, 128, 0.6);
  transform: translateY(-3px);
}

.sermon-card-topline {
  color: var(--text-muted);
  display: flex;
  font-size: 0.78rem;
  gap: 0.75rem;
  justify-content: space-between;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.sermon-card h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.sermon-card h2 a {
  color: var(--text-light);
  text-decoration: none;
}

.sermon-card h2 a:hover,
.sermon-card h2 a:focus {
  color: var(--accent-gold);
}

.sermon-card-scripture {
  color: var(--accent-gold);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.sermon-card-summary {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sermon-card-link {
  font-weight: 600;
  margin-top: auto;
  text-decoration: none;
}

.sermon-card-link span {
  margin-left: 0.35rem;
}

.sermon-empty-state {
  border: 1px dashed rgba(197, 168, 128, 0.35);
  border-radius: 0.75rem;
  padding: 4rem 1.5rem;
  text-align: center;
}

.sermon-empty-state h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.sermon-empty-state p:not(.section-eyebrow) {
  color: var(--text-muted);
  margin: 0 auto 1.5rem;
  max-width: 32rem;
}

.sermon-pagination {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 3rem;
}

.sermon-pagination a {
  color: var(--accent-gold);
  text-decoration: none;
}

.sermon-pagination span {
  color: var(--text-muted);
}

.sermon-player-card {
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 0.75rem;
  margin-bottom: 4rem;
  padding: 1.5rem;
}

.sermon-player-card audio {
  display: block;
  margin: 0.75rem 0 1rem;
  width: 100%;
}

.sermon-download-link {
  color: var(--accent-gold);
  font-size: 0.95rem;
}

.sermon-content-grid {
  display: grid;
  gap: 3rem;
}

.sermon-main-copy {
  min-width: 0;
}

.sermon-content-section {
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.sermon-rich-text {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 48rem;
}

.sermon-rich-text p:last-child {
  margin-bottom: 0;
}

.sermon-thesis {
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.25rem;
}

.sermon-transcript .sermon-rich-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 52rem;
}

.sermon-transcript .sermon-rich-text p {
  margin: 0 0 1.35rem;
  text-indent: 1.5em;
}

.sermon-transcript .sermon-rich-text p:last-child {
  margin-bottom: 0;
}

/* Treat single newlines in pasted transcripts as paragraph breaks too. */
.sermon-transcript .sermon-rich-text br {
  content: "";
  display: block;
  margin-top: 1.35rem;
}

.sermon-scripture-card {
  background: var(--accent-burgundy);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.sermon-scripture-card p:last-child {
  color: var(--text-light);
  font-size: 1.4rem;
  margin: 0;
}

.sermon-aside-section {
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  padding: 1.5rem 0;
}

.sermon-aside-section a {
  text-decoration: none;
}

.sermon-related-section {
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  margin-top: 4rem;
  padding-top: 3rem;
}

.sermon-related-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  margin-bottom: 1.5rem;
}

.sermon-related-list {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.sermon-related-link {
  align-items: center;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: 0.55rem;
  color: var(--text-light);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  text-decoration: none;
}

.sermon-related-link:hover,
.sermon-related-link:focus-visible {
  border-color: var(--accent-gold);
  color: var(--text-light);
}

.sermon-related-link strong,
.sermon-related-link small {
  display: block;
}

.sermon-related-link small {
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.sermon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sermon-tags a {
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: 50rem;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
}

.sermon-tags a:hover,
.sermon-tags a:focus {
  background: var(--accent-burgundy);
}

@media (min-width: 768px) {
  .sermon-filter-panel {
    grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr) minmax(10rem, 1fr) auto;
  }
}

@media (min-width: 992px) {
  .sermon-content-grid {
    grid-template-columns: minmax(0, 1fr) 16rem;
  }

  .sermon-detail-aside {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

.about-hero h1 {
  color: var(--text-light);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.about-lede {
  color: var(--text-muted);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.7;
  margin: 0;
  max-width: 42rem;
}

.about-lede p {
  margin: 0;
}

.about-section {
  padding: 4.5rem 1rem;
}

.about-copy-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 72rem;
}

.section-eyebrow {
  color: var(--accent-gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.about-section h2 {
  color: var(--text-light);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.about-copy {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 42rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-section-dark {
  background: var(--bg-card);
}

.about-leadership {
  background: var(--bg-charcoal);
}

.about-section-heading {
  margin-bottom: 2rem;
  text-align: left;
}

.about-pastor-card {
  align-items: center;
  background: var(--bg-card);
  border-left: 2px solid var(--accent-gold);
  display: flex;
  gap: 1.25rem;
  height: 100%;
  padding: 1.5rem;
}

.about-pastor-card h3 {
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.about-pastor-card .team-role {
  margin-bottom: 0.75rem;
}

.about-pastor-photo {
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 88px;
  object-fit: cover;
  width: 88px;
}

.about-pastor-bio {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.about-visit-section {
  background: var(--accent-burgundy);
}

.about-visit-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 52rem;
  text-align: center;
}

.about-visit-card h2 {
  max-width: 38rem;
}

.about-visit-card .about-copy {
  width: 100%;
}

.about-visit-card p:not(.section-eyebrow) {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto 1.75rem;
  max-width: 38rem;
}

.about-visit-card .btn {
  display: inline-flex;
}

.leadership-section {
  background: var(--bg-card);
  padding: 5rem 1rem;
}

.section-heading {
  margin: 0 auto 3rem;
  max-width: 40rem;
  text-align: center;
}

.section-heading h2 {
  color: var(--text-light);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
}

.team-card {
  color: var(--text-light);
  padding: 1.5rem;
  text-align: center;
}

.team-photo {
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: 50%;
  height: 150px;
  margin-bottom: 1.25rem;
  object-fit: cover;
  width: 150px;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.team-role {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 30rem;
}

.feature-card {
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 1.5rem;
  text-align: center;
}

.feature-card-link {
  display: block;
  text-decoration: none;
}

.feature-card-link:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 4px;
}

.feature-number {
  color: var(--accent-gold);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.feature-sermon-title {
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 auto 0.35rem;
  max-width: 18rem;
}

.feature-sermon-date {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.feature-icon-circle {
  align-items: center;
  background: var(--accent-burgundy);
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: 50%;
  color: var(--accent-gold);
  display: flex;
  font-size: 1.25rem;
  height: 60px;
  justify-content: center;
  margin: 1.5rem auto;
  width: 60px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer {
  background: #0d0d0f;
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
  }

  .language-item {
    margin-left: auto;
  }
}

@media (min-width: 992px) {
  .mobile-menu-backdrop,
  .mobile-menu-fallback {
    display: none;
  }

  .navbar-custom .navbar-collapse {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex !important;
    left: auto;
    padding: 0;
    position: static;
    right: auto;
    top: auto;
  }
}

@media (min-width: 768px) {
  .visitor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visitor-card-wide {
    grid-column: 1 / -1;
  }

  .giving-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .about-copy-grid {
    align-items: start;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 575.98px) {
  .about-pastor-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
