.menu {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.menu .navbar-dropdown.navbar-fixed-top {
  position: relative;
  top: auto;
}

.banner-overlay-dark {
  background: linear-gradient(90deg, rgba(8, 31, 46, 0.88), rgba(8, 31, 46, 0.54) 62%, rgba(8, 31, 46, 0.2)) !important;
  opacity: 1 !important;
}

.shared-site-footer {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  padding: 48px 0 18px;
  background: #000;
  color: #fff;
  font: inherit;
}

.shared-site-footer *,
.shared-site-footer *::before,
.shared-site-footer *::after {
  box-sizing: border-box;
}

.shared-footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.shared-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
}

.shared-footer-column {
  min-width: 0;
  background-color: transparent !important;
}

.shared-footer-column h2 {
  margin: 0 0 14px;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
}

.shared-footer-column p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.shared-footer-logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 0 16px;
}

.shared-site-footer a {
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.shared-site-footer a:hover,
.shared-site-footer a:focus-visible {
  color: #e8c27a;
  text-decoration: underline;
}

.shared-footer-links,
.shared-footer-times {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shared-footer-links li {
  margin: 0 0 9px;
}

.shared-footer-times li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
}

.shared-footer-times strong {
  flex: 0 0 auto;
  color: #fff;
}

.shared-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.shared-footer-directions {
  display: inline-block;
  margin: 0 0 14px;
  font-weight: 700;
}

.sermon-coming-soon {
  padding: clamp(40px, 8vw, 88px) 16px;
  background: linear-gradient(135deg, #f3f7f8, #e8f0f3);
}

.sermon-coming-soon__card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border-top: 4px solid #d6ad61;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(14, 52, 78, 0.12);
  text-align: center;
}

.sermon-coming-soon__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #94702f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sermon-coming-soon__card p {
  margin: 0;
  color: #0e344e;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.55;
}

.careers-status {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 9rem 1.25rem 5rem;
  background: linear-gradient(135deg, #f3f7f8, #e8f0f3);
}

.careers-status__card {
  width: min(100%, 820px);
  padding: clamp(32px, 6vw, 64px);
  border-top: 4px solid #d6ad61;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(14, 52, 78, 0.12);
  text-align: center;
}

.careers-status__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #94702f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.careers-status__card h1 {
  margin: 0 0 16px;
  color: #0e344e;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.careers-status__card p {
  max-width: 640px;
  margin: 0 auto 26px;
  color: #405563;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.careers-status__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 5px;
  background: #0e344e;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.careers-status__link:hover,
.careers-status__link:focus-visible {
  transform: translateY(-2px);
  background: #174d6d;
  color: #fff;
  text-decoration: none;
}

.staff-coming-soon {
  min-height: 0 !important;
  padding: 8rem 0 5rem !important;
  background: linear-gradient(110deg, #09101f 0%, #09101f 30%, #f3f6f7 30%, #f3f6f7 100%);
}

.staff-coming-soon .container {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
}

.staff-coming-soon .row {
  align-items: center;
  row-gap: 2rem;
}

.staff-coming-soon .img-block,
.staff-coming-soon .mbr-white {
  margin: 0 !important;
}

.staff-coming-soon .img-block .mbr-figure {
  overflow: hidden;
  padding: 0.6rem;
  border: 1px solid rgba(14, 52, 78, 0.12);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(14, 52, 78, 0.16);
}

.staff-coming-soon .img-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
}

.staff-coming-soon .mbr-white {
  padding: 2.5rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.94);
}

.events-hero {
  display: flex;
  min-height: 25rem;
  align-items: center;
  padding: 5rem max(1.25rem, calc((100% - 1160px) / 2));
  background-color: #0e344e;
  background-image: linear-gradient(90deg, rgba(7, 29, 43, 0.78), rgba(7, 29, 43, 0.32)), url("../images/events.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.events-hero__content {
  width: min(100%, 720px);
  color: #fff;
}

.events-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: #f0cd83;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.events-hero__intro {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.events-updates {
  padding: clamp(3.5rem, 7vw, 6rem) 1rem;
  background: linear-gradient(180deg, #f3f6f7 0%, #fff 100%);
}

.events-update-card {
  box-sizing: border-box;
  width: min(100%, 850px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.75rem);
  border: 1px solid rgba(14, 52, 78, 0.12);
  border-top: 4px solid #d6ad61;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(14, 52, 78, 0.12);
  text-align: center;
}

.events-update-card__label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #8a6727;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.events-update-card h2 {
  margin: 0 0 1rem;
  color: #0e344e;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.25;
}

.events-update-card p {
  max-width: 620px;
  margin: 0 auto 1.75rem;
  color: #405563;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.events-update-card__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 5px;
  background: #0e344e;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.events-update-card__link:hover,
.events-update-card__link:focus-visible {
  transform: translateY(-2px);
  background: #174d6d;
  color: #fff;
  text-decoration: none;
}

.contact-form-section {
  box-sizing: border-box;
  padding: clamp(104px, 10vw, 128px) 0 !important;
  background-position: center;
  background-size: cover;
}

.contact-form-section .container {
  max-width: 1180px;
}

.contact-form-section .media-container-row {
  align-items: center;
}

.contact-form-section .form-block {
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.contact-form-section .form-block .bg {
  display: none;
}

.contact-form-section .form-wrap {
  padding: clamp(24px, 4vw, 42px);
}

.contact-form-section .fcf-form-class {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-section .fcf-field {
  min-width: 0;
  margin: 0;
}

.contact-form-section .contact-form-label {
  display: block;
  margin: 0 0 7px;
  color: #234052;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form-section .form-control {
  min-height: 50px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #d5e0e5;
  border-radius: 6px;
  background: #f7f9fa;
  box-shadow: none;
  color: #233746;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-section .form-control:focus {
  border-color: #3b728e;
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 114, 142, 0.16);
}

.contact-form-section .form-control::placeholder {
  color: #778892;
}

.contact-form-section textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-form-section .contact-form-message,
.contact-form-section #fcf-status,
.contact-form-section .contact-form-submit {
  grid-column: 1 / -1;
}

.contact-form-section .fcf-buttons {
  text-align: left;
}

.contact-form-section #fcf-button {
  min-width: 150px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 5px;
  background: #0e344e;
  color: #fff;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form-section #fcf-button:hover,
.contact-form-section #fcf-button:focus-visible {
  transform: translateY(-2px);
  background: #174d6d;
}

.contact-form-section .text-block {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(14, 52, 78, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.contact-form-section .text-block h2,
.contact-form-section .text-block h3,
.contact-form-section .text-block p,
.contact-form-section .col-md-6 > p {
  color: #fff;
  line-height: 1.65;
}

.contact-form-section .col-md-6 > p {
  padding: 22px 10px 0;
}

.extHeader .row.main-row,
.extHeader .row.align-items-center {
  align-items: stretch !important;
  row-gap: clamp(24px, 4vw, 40px);
}

.extHeader .row.main-row > .text-content,
.extHeader .row.align-items-center > .mbr-white {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.extHeader .row.main-row > .text-content {
  margin-bottom: 0 !important;
}

.extHeader .row.main-row > .text-content > .col-12 {
  flex: 0 1 auto;
  width: 100%;
  max-width: 100%;
}

.extHeader .row.main-row > .mbr-figure,
.extHeader .row.align-items-center > .img-block .mbr-figure {
  box-sizing: border-box;
  overflow: visible;
  padding: 9px;
  border: 1px solid rgba(14, 52, 78, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f1f5f7);
  box-shadow: 0 14px 34px rgba(14, 52, 78, 0.14);
}

.extHeader .row.main-row > .mbr-figure img,
.extHeader .row.align-items-center > .img-block .mbr-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.extHeader .row.align-items-center > .img-block {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}

.extHeader .row.align-items-center > .mbr-white {
  margin-top: 0 !important;
}

.home-welcome-map {
  padding: 9px;
  border: 1px solid rgba(14, 52, 78, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f1f5f7);
  box-shadow: 0 14px 34px rgba(14, 52, 78, 0.18);
}

.home-welcome-map iframe {
  border-radius: 11px;
}

.student-ministry-hero {
  position: relative;
  display: flex !important;
  min-height: 0 !important;
  height: auto !important;
  width: 100%;
  align-items: center;
  overflow: hidden;
  padding: 9rem 1.25rem 6rem;
  background-color: #0e344e;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.student-ministry-hero .overlay {
  background: linear-gradient(90deg, rgba(7, 29, 43, 0.78), rgba(7, 29, 43, 0.38));
  opacity: 1;
}

.student-ministry-hero .container,
.student-ministry-hero .d-flex {
  height: auto !important;
}

.student-ministry-hero .container {
  max-width: 1140px;
}

.student-ministry-hero .w-100 {
  max-width: 900px;
  margin: 0 auto;
}

.student-ministry-hero h1,
.student-ministry-hero p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.student-ministry-hero p {
  line-height: 1.65;
}

.ministry-feature-grid,
#image07-a .ministry-card-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  margin: 28px auto 0;
  padding: 0 clamp(16px, 2vw, 28px);
}

.ministry-feature-grid {
  max-width: 1280px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ministry-feature-grid > .col-lg-6 {
  width: auto;
  max-width: none;
  padding: 0 !important;
}

.ministry-feature-grid .image-element {
  height: clamp(320px, 34vw, 460px);
  border: 1px solid rgba(14, 52, 78, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(14, 52, 78, 0.14);
}

.ministry-feature-grid .image-element > img {
  display: block;
  border: 7px solid #fff;
  border-radius: 15px;
}

.ministry-feature-grid .card-overlay {
  inset: 7px;
  border-radius: 9px;
}

.ministry-feature-grid .wrapper {
  border-radius: 0 0 9px 9px;
}

#image07-a {
  padding: 0 0 clamp(44px, 7vw, 80px);
  background: #fff;
}

#image07-a .container-fluid {
  max-width: 1280px;
  padding: 0;
}

#image07-a .ministry-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#image07-a .ministry-card-grid > .card {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(14, 52, 78, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(14, 52, 78, 0.1);
}

#image07-a .image-block {
  height: clamp(200px, 20vw, 270px);
  border-radius: 9px;
}

#image07-a .image-block img {
  border-radius: 9px;
}

#image07-a .image-block:before {
  border-radius: 9px;
}

#image07-a figcaption .wrap {
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 16px 10px;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(transparent, rgba(7, 29, 43, 0.92));
}

#image07-a figcaption .wrap h4 {
  margin: 0;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  .student-ministry-hero {
    padding: 7rem 1rem 4rem;
  }

  .student-ministry-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .student-ministry-hero p {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .careers-status {
    padding: 7rem 1rem 4rem;
  }

  .staff-coming-soon {
    padding: 7rem 0 4rem !important;
    background: #f3f6f7;
  }

  .staff-coming-soon .mbr-white {
    padding: 1.5rem;
  }

  .events-hero {
    min-height: 21rem;
    padding: 4rem 1.25rem;
    background-position: 58% center;
  }

  .contact-form-section {
    padding: 104px 0 !important;
  }

  .contact-form-section .text-block {
    margin-top: 24px;
  }

  .extHeader .row.main-row,
  .extHeader .row.align-items-center {
    row-gap: 24px;
  }

  .ministry-feature-grid,
  #image07-a .ministry-card-grid {
    gap: 18px;
    padding-right: 16px;
    padding-left: 16px;
  }

}

@media (max-width: 991px) {
  #image07-a .ministry-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .contact-form-section .fcf-form-class {
    grid-template-columns: 1fr;
  }

  .contact-form-section .contact-form-message,
  .contact-form-section #fcf-status,
  .contact-form-section .contact-form-submit {
    grid-column: auto;
  }

  .cid-rEvfz48qzQ h3 {
    width: auto;
    max-width: 100%;
    letter-spacing: 2px;
  }

  .cid-rEvfz48qzQ h3::before,
  .cid-rEvfz48qzQ h3::after {
    display: none;
  }

  .ministry-feature-grid {
    grid-template-columns: 1fr;
  }

  .ministry-feature-grid .image-element {
    height: 320px;
  }

  #image07-a .ministry-card-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  #image07-a .image-block {
    height: 260px;
  }
}

.shared-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

@media (max-width: 991px) {
  .shared-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }
}

@media (max-width: 575px) {
  .shared-site-footer {
    padding-top: 36px;
  }

  .shared-footer-inner {
    width: calc(100% - 32px);
  }

  .shared-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .shared-footer-bottom {
    flex-direction: column;
  }
}
