:root {
  --erc-red: #a32028;
  --erc-red-dark: #7f171e;
  --erc-gold: #d0b24b;
  --erc-ink: #141414;
  --erc-muted: #5d5d5d;
  --erc-soft: #f7f3ed;
  --erc-white: #ffffff;
  --erc-border: rgba(20, 20, 20, 0.1);
  --erc-shadow: 0 1.25rem 3rem rgba(20, 20, 20, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--erc-ink);
  background: var(--erc-white);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.display-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

.text-accent {
  color: var(--erc-red) !important;
}

.bg-soft {
  background: var(--erc-soft);
}

.section-shell {
  padding: 5rem 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--erc-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--erc-gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.section-copy {
  max-width: 42rem;
  color: var(--erc-muted);
}

.welcome-statement {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.welcome-copy {
  max-width: 62rem;
}

.welcome-copy h3 {
  color: #8d8d8d;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.25rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  
}

.welcome-copy p {
  max-width: 56rem;
  margin: 2rem auto 0;
  color: #676767;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  line-height: 1.8;
  text-align: center;
}

.navbar {
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  padding-right: 7.5px;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 0.75rem 2rem rgba(20, 20, 20, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--erc-ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.navbar-brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.navbar-brand span {
  line-height: 1.15;
}

.navbar-brand small {
  display: block;
  color: var(--erc-muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.50rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar .nav-link {
  color: rgba(20, 20, 20, 0.78);
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--erc-red);
}

.navbar:not(.scrolled) .navbar-brand,
.navbar:not(.scrolled) .nav-link {
  color: var(--erc-white);
}

.navbar:not(.scrolled) .navbar-brand small {
  color: rgba(255, 255, 255, 0.74);
}

.navbar:not(.scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.navbar:not(.scrolled) .navbar-toggler-icon {
  filter: invert(1);
}

body:not([data-page="accueil"]) .navbar:not(.scrolled) .navbar-brand,
body:not([data-page="accueil"]) .navbar:not(.scrolled) .nav-link {
  color: var(--erc-ink);
}

body:not([data-page="accueil"]) .navbar:not(.scrolled) .navbar-brand small {
  color: var(--erc-muted);
}

body:not([data-page="accueil"]) .navbar:not(.scrolled) .navbar-toggler {
  border-color: rgba(20, 20, 20, 0.18);
}

body:not([data-page="accueil"]) .navbar:not(.scrolled) .navbar-toggler-icon {
  filter: none;
}

.btn-erc {
  border: none;
  border-radius: 999px;
  background: var(--erc-red);
  color: var(--erc-white);
  font-weight: 700;
  padding: 0.8rem 1.35rem;
}

.btn-erc:hover,
.btn-erc:focus {
  background: var(--erc-red-dark);
  color: var(--erc-white);
}

.btn-outline-erc {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: var(--erc-white);
  font-weight: 700;
  padding: 0.8rem 1.35rem;
}

.btn-outline-erc:hover,
.btn-outline-erc:focus {
  background: var(--erc-white);
  border-color: var(--erc-white);
  color: var(--erc-ink);
}

.hero-carousel .carousel-item {
  min-height: 76vh;
  position: relative;
}

.hero-carousel .carousel-item img {
  height: 76vh;
  object-fit: cover;
}

.hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.18)),
    linear-gradient(180deg, rgba(10, 10, 10, 0.15), rgba(10, 10, 10, 0.25));
}

.hero-carousel .carousel-caption {
  z-index: 2;
  right: auto;
  bottom: auto;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: left;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  z-index: 3;
}

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

.hero-copy h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.hero-copy p {
  max-width: 37rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.carousel-indicators [data-bs-target] {
  width: 2.5rem;
  height: 0.2rem;
}

.foundation-card,
.value-card,
.organ-card,
.event-card,
.church-card,
.contact-card,
.timeline-card {
  height: 100%;
  border: 1px solid var(--erc-border);
  border-radius: 1.25rem;
  background: var(--erc-white);
  box-shadow: 0 0.5rem 1.5rem rgba(20, 20, 20, 0.05);
}

.foundation-card,
.value-card,
.organ-card,
.event-card,
.church-card,
.contact-card,
.timeline-card {
  padding: 1.5rem;
}

.icon-pill {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(163, 32, 40, 0.12);
  color: var(--erc-red);
  font-size: 1.25rem;
}

.team-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--erc-border);
  background: var(--erc-white);
}

.team-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  background: #eef0ef;
}

.team-body {
  padding: 2.25rem 2rem 2.2rem;
  text-align: center;
}

.team-role {
  display: inline-block;
  color: var(--erc-red);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.team-body h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--erc-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.team-body p {
  max-width: 22rem;
  margin: 0 auto;
  color: var(--erc-muted);
  text-align: justify;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.team-socials a {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--erc-border);
  color: var(--erc-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.team-socials a:hover,
.team-socials a:focus {
  border-color: var(--erc-red);
  background: rgba(163, 32, 40, 0.06);
  color: var(--erc-red);
}

.verse-band {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(163, 32, 40, 0.95), rgba(127, 23, 30, 0.98)),
    radial-gradient(circle at top right, rgba(208, 178, 75, 0.4), transparent 40%);
  color: var(--erc-white);
}

.verse-band::before {
  content: "“";
  position: absolute;
  top: -3rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12rem;
  line-height: 1;
}

.verse-reference {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.form-shell {
  border: 1px solid var(--erc-border);
  border-radius: 1.5rem;
  background: var(--erc-white);
  box-shadow: var(--erc-shadow);
}

.form-control,
.form-select {
  min-height: 3rem;
  border-color: rgba(20, 20, 20, 0.14);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(163, 32, 40, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(163, 32, 40, 0.12);
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.56)),
    url("../img/slide-community.svg") center/cover no-repeat;
  color: var(--erc-white);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.28));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 42rem;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.construction-page {
  position: relative;
  min-height: calc(100vh - 18rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(208, 178, 75, 0.2), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(163, 32, 40, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #f7f3ed 100%);
}

.construction-page::before {
  content: "";
  position: absolute;
  inset: auto -10rem -14rem auto;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(163, 32, 40, 0.08);
  border-radius: 999px;
}

.construction-page::after {
  content: "";
  position: absolute;
  inset: 5rem auto auto -10rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(208, 178, 75, 0.2);
  border-radius: 999px;
}

.construction-shell {
  position: relative;
  z-index: 1;
  max-width: 54rem;
  margin: 0 auto;
  border: 1px solid var(--erc-border);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--erc-shadow);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  text-align: center;
  backdrop-filter: blur(12px);
}

.construction-emblem {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.5rem;
  place-items: center;
  border: 1px solid rgba(163, 32, 40, 0.12);
  border-radius: 999px;
  background: var(--erc-white);
  box-shadow: 0 1rem 2rem rgba(20, 20, 20, 0.08);
}

.construction-emblem img {
  width: 4.1rem;
  height: 4.1rem;
  object-fit: contain;
}

.construction-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(163, 32, 40, 0.08);
  color: var(--erc-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.5rem 0.9rem;
  text-transform: uppercase;
}

.construction-shell h1 {
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.construction-shell > p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--erc-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.construction-verse {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  color: var(--erc-muted);
  font-size: 0.95rem;
}

.construction-verse i {
  color: var(--erc-gold);
}

.construction-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn-outline-dark-soft {
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 999px;
  color: var(--erc-ink);
  font-weight: 700;
  padding: 0.8rem 1.35rem;
}

.btn-outline-dark-soft:hover,
.btn-outline-dark-soft:focus {
  border-color: var(--erc-red);
  background: rgba(163, 32, 40, 0.06);
  color: var(--erc-red);
}

.stat-block {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--erc-gold);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 2px;
  background: rgba(163, 32, 40, 0.18);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0.55rem;
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--erc-white);
  border-radius: 999px;
  background: var(--erc-red);
  box-shadow: 0 0 0 1px rgba(163, 32, 40, 0.18);
}

.event-date {
  color: var(--erc-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.church-meta,
.muted-copy {
  color: var(--erc-muted);
}

.map-shell {
  min-height: 22rem;
  border: 1px dashed rgba(163, 32, 40, 0.28);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(163, 32, 40, 0.06), rgba(208, 178, 75, 0.12)),
    repeating-linear-gradient(
      45deg,
      rgba(20, 20, 20, 0.03) 0,
      rgba(20, 20, 20, 0.03) 1px,
      transparent 1px,
      transparent 18px
    );
}

.footer {
  background: #101010;
  color: rgba(255, 255, 255, 0.78);
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer a:hover {
  color: var(--erc-red);
}

.footer-title {
  color: var(--erc-white);
  font-size: 1rem;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.footer-brand img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.footer-links-grid a {
  width: fit-content;
}

.footer-contact {
  display: grid;
  gap: 0.8rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-socials a {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--erc-white);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus {
  border-color: var(--erc-red);
  background: rgba(163, 32, 40, 0.14);
  color: var(--erc-red);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-divider small a{
  color: var(--erc-red);   
}
.footer-divider small a:hover{
  color: var(--erc-red-dark);  
}

.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: rgba(163, 32, 40, 0.1);
  color: var(--erc-red);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
}

/**  EVENEMENT PAGE **/

.events-page {
  background: #f7f7f5;
}

.events-hero {
  padding: 5rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 245, 0.96)),
    url("../img/slide-community.svg") center/cover no-repeat;
}

.events-hero .section-copy {
  max-width: 26rem;
}

.events-list-section {
  padding: 4.25rem 0 5.5rem;
}

.events-list-section > .container {
  max-width: 1688px;
}

.events-list-section .row {
  --bs-gutter-x: 2.25rem;
  --bs-gutter-y: 2.25rem;
}

.event-showcase-card {
  display: grid;
  grid-template-rows: 65% 35%;
  height: 35.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--erc-white);
  box-shadow: 0 1.75rem 3.5rem rgba(20, 20, 20, 0.08);
}

.event-showcase-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.event-showcase-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  background: #eef0ef;
}

.event-showcase-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 1.55rem 1.55rem 1.35rem;
}

.event-showcase-date {
  width: fit-content;
  color: var(--erc-red);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.event-showcase-body h2 {
  margin: 0.85rem 0 0.65rem;
  color: #001b34;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.event-showcase-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: #44546a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.events-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.events-pagination .pagination {
  gap: 0.35rem;
  margin-bottom: 0;
}

.events-pagination .page-link {
  min-width: 2.65rem;
  border-color: rgba(20, 20, 20, 0.12);
  border-radius: 999px;
  color: var(--erc-ink);
  font-weight: 700;
  text-align: center;
}

.events-pagination .page-link:hover,
.events-pagination .page-link:focus {
  border-color: rgba(163, 32, 40, 0.35);
  background: rgba(163, 32, 40, 0.08);
  color: var(--erc-red);
  box-shadow: none;
}

.events-pagination .active > .page-link,
.events-pagination .page-link.active {
  border-color: var(--erc-red);
  background: var(--erc-red);
  color: var(--erc-white);
}

.events-pagination .disabled > .page-link {
  color: rgba(20, 20, 20, 0.36);
}

/** Pasteur Page  **/


.churches-page {
  background: #fbfaf7;
}

.churches-hero {
  padding: 9rem 0 3.75rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74)),
    url("../img/slide-community.svg") center/cover no-repeat;
}

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

.church-search-section {
  padding: 3.5rem 0 5.5rem;
}

.church-search-form {
  margin-bottom: 2rem;
  border: 1px solid var(--erc-border);
  border-radius: 0.5rem;
  background: var(--erc-white);
  box-shadow: 0 1.25rem 2.5rem rgba(20, 20, 20, 0.07);
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.church-search-form .form-label {
  color: var(--erc-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.church-reset-btn {
  display: inline-grid;
  width: 3rem;
  min-width: 3rem;
  padding-right: 0;
  padding-left: 0;
  place-items: center;
}

.church-alert {
  border-color: rgba(208, 178, 75, 0.45);
  background: rgba(208, 178, 75, 0.14);
  color: #5c4611;
}

.church-results-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.5rem 0 1.75rem;
}

.church-results-bar h2 {
  margin: 0.6rem 0 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
}

.church-count {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  border-radius: 999px;
  background: rgba(163, 32, 40, 0.08);
  color: var(--erc-red);
  font-weight: 800;
  padding: 0.45rem 1rem;
  white-space: nowrap;
}

.pastor-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--erc-border);
  border-radius: 0.5rem;
  background: var(--erc-white);
  box-shadow: 0 1rem 2rem rgba(20, 20, 20, 0.07);
}

.pastor-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef0ef;
}

.pastor-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pastor-card-media--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(163, 32, 40, 0.08), rgba(208, 178, 75, 0.16));
  padding: 2rem;
}

.pastor-card-media--placeholder img {
  max-width: 8rem;
  object-fit: contain;
}

.pastor-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}

.pastor-code {
  width: fit-content;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.06);
  color: var(--erc-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  text-transform: uppercase;
}

.pastor-card h2 {
  margin: 0.9rem 0 1rem;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.pastor-details {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: var(--erc-muted);
  font-size: 0.94rem;
}

.pastor-details li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.pastor-details i {
  color: var(--erc-red);
  line-height: 1.6;
}

.pastor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.pastor-meta span {
  border: 1px solid rgba(163, 32, 40, 0.16);
  border-radius: 999px;
  color: var(--erc-red);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.32rem 0.68rem;
}

.church-empty-state {
  border: 1px dashed rgba(163, 32, 40, 0.24);
  border-radius: 0.5rem;
  background: var(--erc-white);
  color: var(--erc-muted);
  padding: 3rem 1.5rem;
  text-align: center;
}

.church-empty-state i {
  color: var(--erc-red);
  font-size: 2.5rem;
}

.church-empty-state h3 {
  margin: 1rem 0 0.5rem;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.church-empty-state p {
  margin-bottom: 0;
}

.church-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.church-pagination .pagination {
  gap: 0.35rem;
  margin-bottom: 0;
}

.church-pagination .page-link {
  min-width: 2.65rem;
  border-color: rgba(20, 20, 20, 0.12);
  border-radius: 999px;
  color: var(--erc-ink);
  font-weight: 700;
  text-align: center;
}

.church-pagination .page-link:hover,
.church-pagination .page-link:focus {
  border-color: rgba(163, 32, 40, 0.35);
  background: rgba(163, 32, 40, 0.08);
  color: var(--erc-red);
  box-shadow: none;
}

.church-pagination .active > .page-link,
.church-pagination .page-link.active {
  border-color: var(--erc-red);
  background: var(--erc-red);
  color: var(--erc-white);
}

.church-pagination .disabled > .page-link {
  color: rgba(20, 20, 20, 0.36);
}


@media (max-width: 1399.98px) {
  .events-list-section > .container {
    max-width: 1180px;
  }

  .event-showcase-card {
    height: 31.5rem;
  }

  .event-showcase-body {
    padding: 1.35rem 1.35rem 1.2rem;
  }

  .event-showcase-category {
    top: 1.55rem;
    left: 1.55rem;
    font-size: 1.05rem;
    padding: 0.62rem 0.92rem 0.72rem;
  }

  .event-showcase-date {
    font-size: 0.84rem;
  }

  .event-showcase-body h2 {
    margin: 0.72rem 0 0.52rem;
    font-size: 1rem;
  }

  .event-showcase-body p {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}


@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1rem 2rem rgba(20, 20, 20, 0.08);
    padding: 1rem;
  }

  .navbar:not(.scrolled) .navbar-collapse .nav-link {
    color: rgba(20, 20, 20, 0.78);
  }

  .navbar:not(.scrolled) .navbar-collapse .nav-link.active {
    color: var(--erc-red);
  }

  .hero-carousel .carousel-item,
  .hero-carousel .carousel-item img {
    min-height: 72vh;
    height: 72vh;
  }

  .hero-carousel .carousel-item::after {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.6)),
      linear-gradient(180deg, rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.18));
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
   .events-list-section > .container {
    max-width: 960px;
  }

  .event-showcase-card {
    height: 31rem;
  }

  .event-showcase-body {
    padding: 1.4rem 1.35rem 1.25rem;
  }

  .event-showcase-body h2 {
    font-size: 1.05rem;
  }

  .event-showcase-body p {
    font-size: 0.88rem;
  }
  .churches-hero {
    padding-top: 7.5rem;
  }

  .church-search-section {
    padding-top: 2.5rem;
  }

  .church-results-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pastor-card-media {
    aspect-ratio: 16 / 10;
  }

}

@media (max-width: 575.98px) {
  .section-shell {
    padding: 4rem 0;
  }

  .welcome-statement {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .navbar-brand span {
    max-width: 12rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .construction-page {
    min-height: auto;
    padding: 7.5rem 0 4rem;
  }

  .construction-actions {
    flex-direction: column;
  }


  .events-list-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .event-showcase-card {
    height: 29.5rem;
  }

  .event-showcase-body {
    padding: 1.25rem 1.1rem 1.15rem;
  }

  .event-showcase-category {
    top: 1.25rem;
    left: 1.25rem;
    font-size: 1rem;
    padding: 0.58rem 0.9rem 0.68rem;
  }

  .event-showcase-body h2 {
    font-size: 0.98rem;
  }

  .event-showcase-body p {
    font-size: 0.84rem;
  }
  
  .churches-hero {
    padding: 7rem 0 2.75rem;
  }

  .church-search-form .d-flex {
    flex-direction: column;
  }

  .church-reset-btn {
    width: 100%;
  }

  .church-count {
    justify-content: center;
    width: 100%;
  }

  .pastor-card-body {
    padding: 1.15rem;
  }
}
