xdio* {
  box-sizing: border-box;
}

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 1000;
}

.container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 110px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 120px;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 45px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list li {
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  color: #156caf;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus {
  color: #ee3430;
}

.header-search {
  display: flex;
  align-items: center;
  width: 190px;
  min-width: 190px;
  height: 44px;
  border: 1px solid #d9d9d9;

  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.header-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 14px;
  background: transparent;
}

.header-search button {
  width: 46px;
  min-width: 46px;
  height: 44px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.header-search button img {
  width: 20px;
  height: 20px;
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #222;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

/* large desktop */
@media (max-width: 1560px) {
  .container {
    max-width: 1360px;
    padding: 0 20px;
  }

  .header-inner {
    min-height: 96px;
    gap: 18px;
  }

  .logo {
    max-height: 96px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-list a {
    font-size: 16px;
  }

  .header-search {
    width: 170px;
    min-width: 170px;
  }
}

/* laptop */
@media (max-width: 1280px) {
  .header-inner {
    min-height: 88px;
    gap: 14px;
  }

  .logo {
    max-height: 82px;
  }

  .nav-list {
    gap: 14px;
  }

  .nav-list a {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .header-search {
    width: 150px;
    min-width: 150px;
  }
}

/* tablet */
@media (max-width: 1024px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .logo-link {
    order: 1;
  }

  .header-search {
    order: 3;
    width: 100%;
    min-width: 100%;
  }

  .main-nav {
    order: 4;
    width: 100%;
    display: none;
    justify-content: flex-start;
    border-top: 1px solid #e5e5e5;
    padding-top: 16px;
    flex: 0 0 100%;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-list a {
    font-size: 16px;
  }

  .logo {
    max-height: 68px;
  }
}

/* mobile */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .logo {
    max-height: 56px;
  }

  .header-search {
    height: 42px;
  }
}

.site-footer {
  background: #156caf;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.site-footer a:hover {
  opacity: 0.8;
}

.site-footer__container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 72px 40px 28px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  gap: 64px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__logo-link {
  display: inline-block;
  width: fit-content;
}

.site-footer__logo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  font-style: normal;
  font-size: 16px;
  line-height: 1.75;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 6px;
  object-fit: contain;
}

.site-footer__hours,
.site-footer__stephen-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.site-footer__badges {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.site-footer__badge-link {
  display: inline-block;
}

.site-footer__badge {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-footer__badge--stephen {
  max-width: 230px;
}

.site-footer__badge--realm {
  max-width: 220px;
}

.site-footer__nav-area {
  min-width: 0;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 32px 28px;
}

.site-footer__nav-group {
  min-width: 0;
}

.site-footer__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__list li {
  margin-bottom: 12px;
}

.site-footer__list li:last-child {
  margin-bottom: 0;
}

.site-footer__list a {
  font-size: 16px;
  line-height: 1.5;
  display: inline-block;
}

.site-footer__bottom {
  margin-top: 15px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__copyright {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__powered {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  text-align: center;
}

.site-footer__powered span {
  font-size: 15px;
  line-height: 1.4;
}

.site-footer__powered img {
  width: 129px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* tablet */
@media (max-width: 1200px) {
  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

/* small tablet */
@media (max-width: 900px) {
  .site-footer__container {
    padding: 56px 24px 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .site-footer__logo {
    max-width: 220px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

/* mobile */
@media (max-width: 640px) {
  .site-footer__container {
    padding: 48px 20px 24px;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__title {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .site-footer__list li {
    margin-bottom: 10px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__powered {
    white-space: normal;
    flex-wrap: wrap;
  }

  .site-footer__powered img {
    width: 160px;
  }
}

.hero-worship {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 950px;
  overflow: hidden;
  background-color: #000;
}

.hero-worship__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .hero-worship__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 35%,
    rgba(0, 0, 0, 0.12) 100%
  );
} */

.hero-worship__content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  min-height: 780px;
  margin: 0 auto;
  padding: 40px 70px 70px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-worship-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 730px;
  overflow: hidden;
  background-color: #000;
}

.hero-page-text {
  position: absolute;
  bottom: 40px;
  right: 40px;
}

.hero-page-text h5 {
  color: #fff;
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.hero-page-text p {
  color: #fff;
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 40px;
}

.hero-inner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-worship__info {
  max-width: 460px;
  color: #fff;
}

.hero-worship__title {
  margin: 0 0 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.hero-worship__schedule {
  margin: 0 0 32px;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.hero-worship__schedule strong {
  font-weight: 700;
}

.hero-worship__schedule span {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-worship__button {
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  max-width: 270px;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  cursor: pointer;
}

.hero-worship__button:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-worship__dropdown {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-worship__menu {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  border-radius: 12px;
  padding: 10px 0;

  display: none;
  flex-direction: column;
  min-width: 220px;
  z-index: 1000;
}

.hero-worship__menu a {
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.hero-worship__menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-worship__circle {
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);

  width: 127px;
  height: 127px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(217, 217, 217, 0.85);

  z-index: 9999;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.hero-worship__circle:hover {
  transform: translateX(-50%) scale(1.05);
  background: rgba(217, 217, 217, 1);
}

.hero-worship__circle img {
  width: 90%;
  height: auto;
}

@media (max-width: 991px) {
  .hero-worship {
    min-height: 680px;
  }

  .hero-worship__content {
    min-height: 680px;
    padding: 100px 40px 50px;
    gap: 30px;
  }

  .hero-worship__title {
    font-size: 40px;
  }

  .hero-worship__schedule {
    font-size: 24px;
  }

  .hero-worship__schedule span {
    font-size: 20px;
  }

  .hero-worship__button {
    font-size: 20px;
    min-width: 240px;
  }

  .hero-worship__circle {
    width: 100px;
    height: 100px;
    flex-basis: 100px;
  }
}

@media (max-width: 767px) {
  .hero-worship {
    min-height: 620px;
  }

  .hero-worship__content {
    min-height: 620px;
    padding: 90px 20px 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .hero-worship__info {
    max-width: 100%;
  }

  .hero-worship__title {
    margin-bottom: 18px;
    font-size: 32px;
  }

  .hero-worship__schedule {
    margin-bottom: 24px;
    font-size: 21px;
    line-height: 1.35;
  }

  .hero-worship__schedule span {
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-worship__button {
    min-width: 100%;
    font-size: 18px;
    padding: 14px 20px;
  }

  .hero-worship__circle {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
  }
}

.feature-cards {
  width: 100%;
  padding: 80px 20px;
}

.feature-cards__container {
  max-width: 1860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  display: block;
  min-height: 608px;
  border-radius: 40px;
  overflow: hidden;
  text-decoration: none;
}

.feature-card__image {
  width: 100%;
  height: 100%;
  min-height: 608px;
  display: block;
  object-fit: cover;
}

.feature-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

.feature-card__title {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.feature-card:hover .feature-card__overlay {
  background: rgba(34, 61, 72, 0.3);
}

.feature-card:hover .feature-card__image {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

.feature-card__image {
  transition: transform 0.4s ease;
}

/* tablet */
@media (max-width: 1200px) {
  .feature-cards__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    min-height: 500px;
  }

  .feature-card__image {
    min-height: 500px;
  }

  .feature-card__title {
    font-size: 34px;
    bottom: 36px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .feature-cards {
    padding: 50px 16px;
  }

  .feature-cards__container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    min-height: 360px;
    border-radius: 28px;
  }

  .feature-card__image {
    min-height: 360px;
  }

  .feature-card__title {
    font-size: 28px;
    bottom: 24px;
    width: calc(100% - 24px);
  }
}

.connect-section {
  width: 100%;
  background: #156caf;
  padding: 90px 20px 70px;
}

.connect-section__container {
  max-width: 1320px;
  margin: 0 auto;
}

.connect-section__title {
  margin: 0 0 50px;
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.connect-form {
  max-width: 100%;
}

.connect-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 38px;
}

.connect-form__row--email {
  grid-template-columns: 1fr 180px;
  align-items: end;
}

.connect-form__field {
  display: flex;
  flex-direction: column;
}

.connect-form__field label {
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
}

.connect-form__label--hidden {
  visibility: hidden;
}

.connect-form__field input {
  width: 100%;
  height: 82px;
  padding: 0 24px;
  border: none;
  outline: none;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: #000;
}

.connect-form__field input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.connect-form__submit {
  height: 82px;
  border: none;
  cursor: pointer;
  background: #d33937;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.connect-form__submit:hover {
  background: #bb2f2d;
}

.connect-section__bottom {
  margin-top: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.connect-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.connect-socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
}

.connect-socials__link img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.connect-section__calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 192px;
  height: 54px;
  padding: 0 24px;
  border-radius: 30px;
  border: 1px solid #156caf;
  background: #fff;
  color: #156caf;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.connect-section__realm {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 40px auto 24px;
  height: auto;
}

.connect-section__hours {
  margin: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: #fff;
}

/* tablet */
@media (max-width: 991px) {
  .connect-section {
    padding: 70px 20px 60px;
  }

  .connect-section__title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .connect-form__row,
  .connect-form__row--email {
    grid-template-columns: 1fr;
  }

  .connect-form__label--hidden {
    display: none;
  }

  .connect-form__field label {
    font-size: 22px;
  }

  .connect-form__field input,
  .connect-form__submit {
    height: 72px;
    font-size: 22px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .connect-section {
    padding: 56px 16px 50px;
  }

  .connect-section__title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .connect-form__row {
    gap: 18px;
    margin-bottom: 20px;
  }

  .connect-form__field label {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .connect-form__field input,
  .connect-form__submit {
    height: 60px;
    padding: 0 18px;
    font-size: 18px;
  }

  .connect-section__bottom {
    margin-top: 34px;
    gap: 24px;
  }

  .connect-socials {
    gap: 16px;
  }

  .connect-socials__link,
  .connect-socials__link img {
    width: 56px;
    height: 56px;
  }

  .connect-section__calendar-btn {
    min-width: 160px;
    height: 48px;
    font-size: 20px;
  }

  .connect-section__realm {
    max-width: 280px;
    margin: 28px auto 18px;
  }

  .connect-section__hours {
    font-size: 18px;
  }
}
.image-mosaic {
  width: 100%;
  overflow: hidden;
  padding: 80px 0;
  background: #fff;
}

.image-mosaic__row {
  display: flex;
  gap: 20px;
  width: max-content;
}

.image-mosaic__row--top {
  margin-left: -180px;
}

.image-mosaic__row--bottom {
  margin-top: 24px;
  margin-left: 0;
}

.image-mosaic__item {
  position: relative;
  flex: 0 0 auto;
  height: 476px;
  overflow: hidden;
  /* border-radius: 28px; */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.image-mosaic__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-mosaic__item--1 {
  width: 376px;
}

.image-mosaic__item--2,
.image-mosaic__item--3 {
  width: 536px;
}

.image-mosaic__item--5,
.image-mosaic__item--6,
.image-mosaic__item--7 {
  width: 536px;
}

.image-mosaic__item--8 {
  width: 376px;
}

.image-mosaic__item {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.image-mosaic__item img {
  transition: transform 0.4s ease;
}

.image-mosaic__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.image-mosaic__item:hover img {
  transform: scale(1.04);
}

.image-mosaic__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.14) 0%,
    rgba(0, 0, 0, 0.05) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-mosaic__item:hover::after {
  opacity: 1;
}

/* ===== TABLET ===== */
@media (max-width: 1400px) {
  .image-mosaic__row--top {
    margin-left: -120px;
  }

  .image-mosaic__item {
    height: 380px;
  }

  .image-mosaic__item--1,
  .image-mosaic__item--4,
  .image-mosaic__item--8 {
    width: 260px;
  }

  .image-mosaic__item--2,
  .image-mosaic__item--3,
  .image-mosaic__item--5,
  .image-mosaic__item--6,
  .image-mosaic__item--7 {
    width: 360px;
  }
}

/* ===== SMALL TABLET ===== */
@media (max-width: 1100px) {
  .image-mosaic {
    padding: 60px 0;
  }

  .image-mosaic__row {
    gap: 16px;
  }

  .image-mosaic__row--top {
    margin-left: -80px;
  }

  .image-mosaic__item {
    height: 320px;
  }

  .image-mosaic__item--1,
  .image-mosaic__item--4,
  .image-mosaic__item--8 {
    width: 220px;
  }

  .image-mosaic__item--2,
  .image-mosaic__item--3,
  .image-mosaic__item--5,
  .image-mosaic__item--6,
  .image-mosaic__item--7 {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .image-mosaic {
    padding: 50px 16px;
    overflow: hidden;
  }

  .image-mosaic__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    margin: 0 !important;
  }

  .image-mosaic__row--bottom {
    margin-top: 16px !important;
  }

  .image-mosaic__item {
    width: 100% !important;
    height: 180px;
    flex: none;
  }

  .image-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .image-mosaic__item:nth-child(n + 5) {
    display: none;
  }

  .image-mosaic__item:hover {
    transform: none;
  }

  .image-mosaic__item:hover img {
    transform: none;
  }
}

@media (max-width: 480px) {
  .image-mosaic {
    padding: 40px 12px;
  }

  .image-mosaic__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .image-mosaic__item {
    height: 220px;
  }
}

.hero-worship__content--with-top-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  align-items: center;
}

.hero-top-links {
  margin: 0 auto;
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  align-self: start;
}

.hero-top-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 271px;
  padding: 12px 26px;
  border: 1px solid #156caf;
  border-radius: 999px;
  background: #fff;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #156caf;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

.hero-top-links__item:hover,
.hero-top-links__item:focus {
  transform: translateY(-2px);
}

.hero-worship__info {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.hero-worship__circle {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}

@media (max-width: 1024px) {
  .hero-worship__content--with-top-links {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
  }

  .hero-worship__info {
    align-self: center;
  }

  .hero-top-links {
    grid-column: 1;
    grid-row: 1;
    gap: 12px;
  }

  .hero-top-links__item {
    font-size: 16px;
    min-height: 44px;
    padding: 10px 20px;
  }

  .hero-worship__info {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-worship__circle {
    grid-column: 1;
    grid-row: 3;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .hero-top-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-top-links__item {
    width: 100%;
    justify-content: center;
  }

  .hero-page-text {
    font-size: 24px;
    left: 50%;
    top: 40%;
    transform: translate(-50%);
  }
  .hero-page-text h5 {
    font-size: 20px;
  }
  .hero-page-text p {
    font-size: 20px;
  }
}

.hero-page-intro {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 15px 0;
}

.hero-page-intro::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.08) 65%,
    rgba(0, 0, 0, 0) 85%
  );
  border-radius: 0; /* убрали рамку полностью */
  z-index: -1;
  filter: blur(25px); /* вот это ключ — размывает края */
}

.hero-page-intro__title {
  margin: 0 0 18px;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 4px #000;
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.hero-page-intro__text {
  margin: 20px auto;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  max-width: 550px;
}

.hero-worship--inner {
  min-height: 720px;
}

.hero-worship__content--inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  min-height: 720px;
  margin: 0 auto;
  padding: 40px 70px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-worship--inner {
    min-height: 620px;
  }

  .hero-worship__content--inner {
    min-height: 620px;
    padding: 90px 30px 60px;
  }

  .hero-top-links {
    margin-bottom: 70px;
    gap: 12px;
  }

  .hero-top-links__item {
    font-size: 16px;
    padding: 10px 20px;
  }

  .hero-page-intro__title {
    font-size: 40px;
  }

  .hero-page-intro__text {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .hero-worship--inner {
    min-height: 540px;
  }

  .hero-worship__content--inner {
    min-height: 540px;
    padding: 70px 20px 40px;
    text-align: center;
  }

  .hero-top-links {
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
  }

  .hero-top-links__item {
    width: 100%;
    max-width: 320px;
  }

  .hero-page-intro__title {
    font-size: 32px;
  }

  .hero-page-intro__text {
    font-size: 18px;
    line-height: 1.45;
  }
}

.hero-top-title {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
  text-align: center;
}
.hero-page-intro {
  margin-top: 70px;
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
  text-align: center;
}
.hero-worship__info {
  grid-column: 1;
  grid-row: 3;
  align-self: flex-end;
  justify-self: flex-end;
}

.hero-worship__circle {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
  align-self: end;
  position: relative;
}

.about-we-are {
  padding: 100px 20px 80px;
}

.about-we-are .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* GRID */
.about-we-are__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.about-card {
  display: flex;
  flex-direction: column;
  border-radius: 35px 35px 35px 35px;
  overflow: hidden;
  border: 1px solid #156caf;
  background: #fff;
}

.about-card__image {
  position: relative;
  height: 320px;
}

.about-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay градиент */
.about-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    to top,
    rgba(21, 108, 175, 0.9),
    rgba(21, 108, 175, 0)
  );
}

/* заголовки карточек */
.about-card__image h3 {
  font-family: 'Inter', sans-serif;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  z-index: 2;
}

/* контент */
.about-card__content {
  padding: 25px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.about-card__content p {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

/* 🔥 первая карточка (We are...) */
.about-card--hero {
  border: none;
}

.about-card--hero .about-card__image::after {
  display: none;
}

.about-card__overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 80px;
  font-weight: 900;
  color: #156caf;

  text-align: center;
}

/* НИЖНИЙ ЗАГОЛОВОК */
.about-we-are__bottom-title {
  margin-top: 70px;
  text-align: center;
  font-size: 70px;
  font-weight: 900;
  color: #156caf;
  font-family: 'Inter', sans-serif;
}

/* адаптив */
@media (max-width: 1024px) {
  .about-we-are__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-worship__info {
    align-self: center;
  }

  .hero-worship__info {
    align-self: center;
    justify-self: center;
  }

  .about-card__overlay-text {
    font-size: 56px;
  }

  .about-we-are__bottom-title {
    font-size: 42px;
  }
}

@media (max-width: 600px) {
  .about-we-are__grid {
    grid-template-columns: 1fr;
  }

  .about-card__overlay-text {
    font-size: 40px;
  }

  .about-we-are__bottom-title {
    font-size: 28px;
  }
}

.visit-section {
  font-family: 'Inter', sans-serif;
  position: relative;
  background: #1f6ea5;
  padding: 140px 20px 100px;
  color: #fff;
}

.visit-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ИКОНКА */
.visit-section__icon {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);

  width: 120px;
  height: 120px;
  background: #d9d9d9;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.visit-section__icon img {
  width: 70%;
  height: auto;
}

/* TITLE */
.visit-section__title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 70px;
}

/* GRID */
.visit-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  text-align: left;
  margin-bottom: 80px;
}

/* LIST */
.visit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.visit-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 22px;
  font-size: 22px;
  line-height: 1.4;
}

/* кастомная точка */
.visit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
}

/* bottom text */
.visit-section__bottom-text {
  max-width: 950px;
  margin: 0 auto;
  font-size: 28px;
  line-height: 1.5;
}

/* адаптив */
@media (max-width: 900px) {
  .visit-section__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .visit-section__title {
    font-size: 30px;
  }

  .visit-list li {
    font-size: 18px;
  }

  .visit-section__bottom-text {
    font-size: 18px;
  }
}

.church-staff {
  padding: 80px 20px 100px;

  font-family: 'Inter', sans-serif;
}

.church-staff .container {
  max-width: 1180px;
  margin: 0 auto;
}

.church-staff__title {
  margin: 0 0 48px;
  text-align: center;
  color: #156caf;
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
}

.church-staff__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 44px;
  align-items: start;
  justify-items: center;
}

/* верхняя карточка по центру */
.staff-card--featured {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 390px;
}

.staff-card {
  width: 100%;
  max-width: 390px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  border: 1px solid #156caf;
}

.staff-card__image {
  position: relative;
  overflow: hidden;
}

.staff-card__image img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.staff-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 22px;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

.staff-card__overlay h3 {
  margin: 0 0 2px;
  font-family: 'Inter', sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
}

.staff-card__overlay p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.staff-card__info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 86px;
}

.staff-card__info a {
  color: #156caf;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
}

.staff-card__info a:hover {
  text-decoration: underline;
}

/* tablet */
@media (max-width: 991px) {
  .church-staff__title {
    font-size: 48px;
    margin-bottom: 36px;
  }

  .church-staff__grid {
    gap: 30px;
  }

  .staff-card__image img {
    height: 360px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .church-staff {
    padding: 60px 16px 80px;
  }

  .church-staff__title {
    font-size: 36px;
  }

  .church-staff__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .staff-card--featured {
    grid-column: auto;
    max-width: 100%;
  }

  .staff-card {
    max-width: 100%;
  }

  .staff-card__image img {
    height: 340px;
  }

  .staff-card__overlay h3 {
    font-size: 28px;
  }

  .staff-card__overlay p {
    font-size: 17px;
  }

  .staff-card__info a {
    font-size: 15px;
  }
}

.about-believe,
.about-heritage {
  font-family: 'Inter', sans-serif;
}

.about-believe .container,
.about-heritage .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   WE BELIEVE
========================= */

.about-believe {
  position: relative;
  background: #156caf;
  padding: 115px 0 135px;
  text-align: center;
}

.about-believe__icon {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.14);
}

.about-believe__icon img {
  width: 58%;
  height: auto;
  display: block;
}

.about-believe__title {
  margin: 0 0 36px;
  color: #fff;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.05;
}

.about-believe__text {
  max-width: 780px;
  margin: 0 auto;
}

.about-believe__text p {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.42;
}

/* =========================
   RICH HERITAGE
========================= */

.about-heritage {
  background: #efefef;
  padding: 105px 0 110px;
}

.about-heritage__heading {
  text-align: center;
  margin-bottom: 46px;
}

.about-heritage__heading h2 {
  margin: 0 0 6px;
  color: #156caf;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
}

.about-heritage__heading p {
  margin: 0;
  color: #156caf;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.about-heritage__image {
  max-width: 760px;
  margin: 0 auto 56px;
}

.about-heritage__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-heritage__content {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
}

.about-heritage__col p {
  margin: 0;
  color: #222;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.34;
}

/* =========================
   TABLET
========================= */

@media (max-width: 991px) {
  .about-believe {
    padding: 95px 0 100px;
  }

  .about-believe__title {
    font-size: 52px;
    margin-bottom: 28px;
  }

  .about-believe__text p {
    font-size: 18px;
  }

  .about-heritage {
    padding: 80px 0 85px;
  }

  .about-heritage__heading h2 {
    font-size: 46px;
  }

  .about-heritage__heading p {
    font-size: 24px;
  }

  .about-heritage__content {
    gap: 36px;
  }

  .about-heritage__col p {
    font-size: 18px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  .about-believe {
    padding: 82px 0 70px;
  }

  .about-believe__icon {
    width: 76px;
    height: 76px;
    top: -35px;
  }

  .about-believe__title {
    font-size: 38px;
    margin-bottom: 22px;
  }

  .about-believe__text {
    max-width: 100%;
  }

  .about-believe__text p {
    font-size: 17px;
    line-height: 1.5;
  }

  .about-heritage {
    padding: 70px 0 75px;
  }

  .about-heritage__heading {
    margin-bottom: 30px;
  }

  .about-heritage__heading h2 {
    font-size: 36px;
  }

  .about-heritage__heading p {
    font-size: 21px;
  }

  .about-heritage__image {
    margin-bottom: 34px;
  }

  .about-heritage__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-heritage__col p {
    font-size: 17px;
    line-height: 1.5;
  }
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 10px 0;
}

/* кнопка */
.socials__item {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #fff;
  border-radius: 50%;

  text-decoration: none;

  transition: all 0.3s ease;
}

/* иконка */
.socials__item svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  transition: transform 0.3s ease;
}

/* hover */
.socials__item:hover {
  background: #fff;
}

.socials__item:hover svg {
  fill: #156caf;
  transform: scale(1.1);
}

.worship-services {
  position: relative;
  background: #fff;
  padding: 80px 20px 100px;
  font-family: 'Inter', sans-serif;
}

/* layout */
.worship-services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.worship-services__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT */
.worship-services__left h2 {
  color: #156caf;
  font-size: 36px;
  margin-bottom: 20px;
}

.worship-services__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.worship-services__list li {
  font-size: 22px;
  margin-bottom: 10px;
  color: #156caf;
}

.worship-services__list strong {
  font-weight: 900;
}

.worship-services__note {
  font-size: 14px !important;
  margin-bottom: 20px;
}

.worship-services__left p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* CARD */
.worship-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ccc;
  background: #f3f3f3;
}

.worship-card__image {
  position: relative;
  height: 360px;
  text-align: center;
}

.worship-card__image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  opacity: 0.82;
  background: linear-gradient(0deg, #156caf 0%, rgba(21, 108, 175, 0) 100%);
  mix-blend-mode: multiply;
}

.worship-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* затемнение */
/* .worship-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
} */

/* текст на картинке */
.worship-card__image h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;

  color: #fff;
  font-size: 32px;
  font-weight: 700;
  z-index: 2;
}

/* текст снизу */
.worship-card__content {
  padding: 20px;
  text-align: center;
}

.worship-card__content p {
  margin: 0;
  font-size: 24px;
  max-width: 363px;
  margin: 0 auto;
  line-height: 1.1;
}

/* адаптив */
@media (max-width: 900px) {
  .worship-services__grid {
    grid-template-columns: 1fr;
  }

  .worship-card__image {
    height: 220px;
  }
}

.hero-worship-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 730px;
  background-color: #000;
  overflow: visible;
}

.hero-inner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .hero-worship__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 35%,
    rgba(0, 0, 0, 0.12) 100%
  );
} */

.worship-services__icon {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);

  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #d9d9d9;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.worship-services__icon img {
  width: 85%;
  height: auto;
  display: block;
}

.worship-services {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 110px 20px 100px;
  font-family: 'Inter', sans-serif;
}

.st-simons-UMC-about-us .worship-services__icon {
  bottom: -60px;
}
@media (max-width: 900px) {
  .st-simons-UMC-about-us .worship-services__icon {
    bottom: -135px;
  }
}

.site-header {
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.main-nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  text-decoration: none;
  color: #156caf;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* parent item */
.menu-item-has-children {
  display: flex;
  align-items: center;
}

.menu-item-has-children > a {
  padding-right: 6px;
}

.submenu-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 22px;
  height: 22px;
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submenu-toggle span,
.submenu-toggle span::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  background: #156caf;
  transition: transform 0.25s ease;
}

.submenu-toggle span::before {
  transform: rotate(90deg);
}

.menu-item-has-children.active .submenu-toggle span::before {
  transform: rotate(0deg);
}

.submenu-toggle {
  display: none;
}

/* dropdown */
.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 12px 0;
  margin: 0;
  list-style: none;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;

  z-index: 200;
}

.sub-menu li {
  margin: 0;
}

.sub-menu a {
  display: block;
  min-height: auto;
  padding: 10px 18px;
  color: #156caf;
  white-space: nowrap;
}

.sub-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* desktop hover */
@media (min-width: 992px) {
  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu,
  .menu-item-has-children.active > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* mobile */
@media (max-width: 991px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 20px;
  }

  .nav-list > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-list > li > a,
  .menu-item-has-children {
    min-height: 54px;
  }

  .menu-item-has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .menu-item-has-children > a {
    flex: 1 1 auto;
    padding-right: 10px;
  }

  .submenu-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .sub-menu {
    position: static;
    min-width: 100%;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px 0;
    background: transparent;

    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .menu-item-has-children.active > .sub-menu {
    display: block;
  }

  .sub-menu a {
    padding: 10px 0 10px 20px;
    white-space: normal;
  }

  .header-search {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 10px;
  }
}

.sunday-school-page {
  font-family: 'Inter', sans-serif;
  color: #1f1f1f;
  background: #f2f2f2;
}

.sunday-school-page .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.sunday-school-intro {
  position: relative;
  text-align: center;
  padding: 50px 0 95px;
  background: #f2f2f2;
}

.sunday-school-intro__text {
  max-width: 920px;
  margin: 0 auto 34px;
  font-size: 20px;
  line-height: 1.6;
}

.sunday-school-intro__schedule h2 {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.1;
  color: #1f6fb2;
  font-weight: 700;
}

.sunday-school-intro__schedule p {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  color: #1f6fb2;
  font-weight: 700;
}

.sunday-school-intro__icon {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.sunday-school-intro__icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.children-youth-section {
  background: #006fba;
  padding: 90px 0 70px;
  color: #fff;
}

.children-youth-section__inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 28px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  color: #1f6fb2;
}

.section-title--light {
  color: #fff;
}

.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 48px;
}

.info-row--kids {
  grid-template-columns: 1fr 220px;
}

.info-row__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.info-row__content h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.info-row__content p {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.55;
}

.info-row__content ul,
.adult-class-card ul {
  margin: 0;
  padding-left: 22px;
}

.info-row__content li,
.adult-class-card li {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.45;
  list-style-type: disc;
}

.youth-block {
  margin-top: 26px;
}

.adult-section {
  background: #f2f2f2;
  padding: 70px 0 90px;
}

.adult-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.adult-section__main-image,
.adult-section__secondary-image {
  margin-bottom: 34px;
}

.adult-section__main-image img,
.adult-section__secondary-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.adult-section__main-image img {
  width: 607px;
  height: 705px;
  object-fit: cover;
}

.adult-section__secondary-image img {
  width: 558px;
  height: 624px;
  object-fit: cover;
}

.adult-class-card {
  margin-bottom: 34px;
}

.adult-class-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #1f6fb2;
}

.adult-class-card p {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.55;
  color: #1f1f1f;
}

@media (max-width: 991px) {
  .sunday-school-intro__text {
    font-size: 18px;
  }

  .sunday-school-intro__schedule h2 {
    font-size: 40px;
  }

  .sunday-school-intro__schedule p {
    font-size: 28px;
  }

  .section-title {
    font-size: 34px;
  }

  .info-row,
  .info-row--kids,
  .adult-section__inner {
    grid-template-columns: 1fr;
  }

  .info-row__image {
    max-width: 320px;
  }

  .info-row--kids .info-row__image {
    order: -1;
  }
}

@media (max-width: 767px) {
  .sunday-school-page .container {
    width: min(100% - 30px, 100%);
  }

  .sunday-school-intro {
    padding: 40px 0 80px;
  }

  .sunday-school-intro__schedule h2 {
    font-size: 32px;
  }

  .sunday-school-intro__schedule p {
    font-size: 22px;
  }

  .sunday-school-intro__icon {
    width: 64px;
    height: 64px;
    bottom: -32px;
  }

  .children-youth-section,
  .adult-section {
    padding-top: 70px;
  }

  .info-row__content h3,
  .adult-class-card h3 {
    font-size: 24px;
  }

  .info-row__content p,
  .adult-class-card p,
  .info-row__content li,
  .adult-class-card li {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .adult-section__main-image img,
  .adult-section__secondary-image img {
    width: 100%;
    height: auto;
  }
}

.music-page {
  font-family: 'Inter', sans-serif;
  background: #f3f3f3;
  color: #1f1f1f;
}

.music-page .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.music-page__intro {
  position: relative;
  padding: 90px 0 90px;
  background: #f3f3f3;
  text-align: center;
}

.music-page__intro-text {
  max-width: 980px;
  margin: 0 auto;
  font-size: 21px;
  line-height: 1.55;
}

.music-page__intro-text strong {
  color: #1f6fb2;
  font-weight: 900;
}

.music-page__circle-logo {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  z-index: 3;
}

.music-page__circle-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.young-musicians-section {
  background: #046eb6;
  padding: 95px 0 70px;
}

.young-musicians-section__inner {
  display: grid;
  grid-template-columns: 515px 1fr;
  gap: 30px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

.young-musicians-section__image img {
  width: 515px;
  height: 385px;
  object-fit: cover;
  border-radius: 24px;

  transform: scaleX(-1); /* разворот */
}

.young-musicians-section__content h2 {
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}

.young-musicians-section__content p {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
}

.adult-musicians-section {
  background: #f3f3f3;
  padding: 70px 0 90px;
}

.adult-musicians-section__inner {
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 50px;

  align-items: stretch; /* ВАЖНО */
}
.adult-musicians-section__image {
  height: 100%;
}

.adult-musicians-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.adult-musicians-section__content h2 {
  margin: 0 0 26px;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 400;
  color: #1f6fb2;
}

.music-item {
  margin-bottom: 34px;
}

.music-item h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: #1f6fb2;
}

.music-item p {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.45;
  color: #1f1f1f;
}

.music-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 310px;
  min-height: 54px;
  padding: 12px 28px;
  border: 2px solid #7aa2bf;
  border-radius: 999px;
  background: #f3f3f3;
  color: #1f6fb2;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: 0.25s ease;
}

.music-btn:hover {
  background: #1f6fb2;
  color: #fff;
  border-color: #1f6fb2;
}
@media (max-width: 991px) {
  .young-musicians-section__inner,
  .adult-musicians-section__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .young-musicians-section__image,
  .adult-musicians-section__image {
    width: 100%;
  }

  .young-musicians-section__image img,
  .adult-musicians-section__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .adult-musicians-section__image {
    height: auto;
  }

  .adult-musicians-section__image img {
    height: auto;
  }

  .young-musicians-section__content h2,
  .adult-musicians-section__content h2 {
    font-size: 42px;
  }

  .young-musicians-section__content p,
  .music-item p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .young-musicians-section__inner,
  .adult-musicians-section__inner {
    gap: 22px;
  }

  .young-musicians-section__content h2,
  .adult-musicians-section__content h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .music-item h3 {
    font-size: 22px;
  }

  .young-musicians-section__content p,
  .music-item p {
    font-size: 17px;
    line-height: 1.5;
  }
}

.children-ministry-page {
  font-family: 'Inter', sans-serif;
  background: #f2f2f2;
  color: #1f1f1f;
}

.children-ministry-page .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.children-ministry-page__intro {
  position: relative;
  padding: 30px 0 85px;
  background: #f2f2f2;
  text-align: center;
}

.children-ministry-page__intro-text {
  max-width: 760px;
  margin: 50px auto 8px;
  font-size: 24px;
  line-height: 1.45;
  color: #1f1f1f;
}

.children-ministry-page__intro-text strong {
  color: #1f6fb2;
  font-weight: 700;
}

.children-ministry-page__intro-ref {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: #1f1f1f;
}

.children-ministry-page__circle-logo {
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.children-ministry-page__circle-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.children-fun-section {
  background: #056eb5;
  padding: 95px 0 70px;
}

.children-fun-section__inner {
  display: grid;
  grid-template-columns: 559px 1fr;
  gap: 46px;
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
}

.children-fun-section__images {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.children-fun-section__image img {
  display: block;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.children-fun-section__image--top img {
  aspect-ratio: 390 / 341;
}

.children-fun-section__image--bottom img {
  aspect-ratio: 390 / 300;
}

.children-fun-section__content {
  color: #fff;
}

.children-fun-section__content h2 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}

.children-fun-section__content p {
  margin: 0 0 26px;
  font-size: 22px;
  line-height: 1.45;
  color: #fff;
}

.children-fun-section__content p strong {
  font-weight: 700;
}

.children-fun-section__list-block {
  margin-bottom: 26px;
}

.children-fun-section__list-block h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}

.children-fun-section__list-block ul {
  margin: 0;
  padding-left: 28px;
  list-style-type: disc;
}

.children-fun-section__list-block li {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
}

.children-fun-section__button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.children-ministry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 360px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid #7ea6c3;
  background: #f2f2f2;
  color: #1f6fb2;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.children-ministry-btn:hover {
  background: #1f6fb2;
  color: #fff;
  transform: translateY(-2px);
}

.children-weekly-section {
  background: #f2f2f2;
  padding: 70px 0 90px;
}

.children-weekly-section__inner {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 52px;
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

.children-weekly-section__content h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 60px;
  line-height: 1.05;
  font-weight: 700;
  color: #1f6fb2;
}

.children-weekly-card {
  margin-bottom: 38px;
}

.children-weekly-card:last-child {
  margin-bottom: 0;
}

.children-weekly-card h3 {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 700;
  color: #1f6fb2;
}

.children-weekly-card p {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.45;
  color: #1f1f1f;
}

.children-weekly-card ul {
  margin: 0;
  padding-left: 24px;
  list-style-type: disc;
}

.children-weekly-card li {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.45;
  color: #1f1f1f;
}

.children-weekly-section__images {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.children-weekly-section__image img {
  display: block;
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.children-weekly-section__image:first-child img {
  aspect-ratio: 469 / 357;
}

.children-weekly-section__image:last-child img {
  aspect-ratio: 469 / 357;
}

@media (max-width: 991px) {
  .children-fun-section__inner,
  .children-weekly-section__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .children-fun-section__images,
  .children-weekly-section__images {
    width: 100%;
  }

  .children-fun-section__image img,
  .children-weekly-section__image img {
    width: 100%;
    height: auto;
  }

  .children-fun-section__content h2,
  .children-weekly-section__content h2 {
    font-size: 42px;
  }

  .children-fun-section__content p,
  .children-fun-section__list-block h3,
  .children-fun-section__list-block li,
  .children-weekly-card p,
  .children-weekly-card li {
    font-size: 18px;
  }

  .children-weekly-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .children-ministry-page .container {
    width: min(100% - 30px, 100%);
  }

  .children-ministry-page__intro {
    padding: 24px 0 72px;
  }

  .children-ministry-page__intro-text {
    font-size: 18px;
    line-height: 1.5;
  }

  .children-ministry-page__intro-ref {
    font-size: 17px;
  }

  .children-ministry-page__circle-logo {
    width: 72px;
    height: 72px;
    bottom: -30px;
  }

  .children-fun-section,
  .children-weekly-section {
    padding-top: 60px;
  }

  .children-fun-section__inner,
  .children-weekly-section__inner {
    gap: 24px;
  }

  .children-fun-section__content h2,
  .children-weekly-section__content h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .children-fun-section__content p,
  .children-fun-section__list-block h3,
  .children-fun-section__list-block li,
  .children-weekly-card p,
  .children-weekly-card li {
    font-size: 17px;
    line-height: 1.5;
  }

  .children-weekly-card h3 {
    font-size: 22px;
  }

  .children-ministry-btn {
    width: 100%;
    min-width: 0;
    font-size: 18px;
    padding: 14px 18px;
    text-align: center;
  }
}

.children-weekly-section__image {
  height: 550px;
}

.children-weekly-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ВАЖНО */
  border-radius: 22px;
}

.youth-page {
  font-family: 'Inter', sans-serif;
  background: #f2f2f2;
}

.youth-page .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ===== INTRO ===== */

.youth-page__intro {
  padding: 80px 0 50px;
  text-align: center;
}

.youth-page__intro h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f6fb2;
  letter-spacing: 0.02em;
}

/* ===== GALLERY ===== */

.youth-gallery {
  padding: 40px 0 80px;
}

.youth-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.youth-gallery__image {
  height: 400px;
  overflow: hidden;
}

.youth-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ADAPTIVE ===== */

@media (max-width: 991px) {
  .youth-gallery__grid {
    grid-template-columns: 1fr;
  }

  .youth-gallery__image {
    height: 300px;
  }

  .youth-page__intro h1 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .youth-page__intro {
    padding: 60px 0 30px;
  }

  .youth-page__intro h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .youth-gallery__image {
    height: 240px;
  }
}

/* ===== BLUE BLOCK ===== */

.youth-info {
  position: relative;
  background: #056eb5;
  padding: 90px 0 70px;
  color: #fff;
  text-align: left;
}

.youth-info .container {
  position: relative;
  max-width: 900px;
}

/* круг */
.youth-info__circle {
  position: absolute;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);

  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #d9d9d9;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2;
}

.youth-info__circle img {
  width: 70%;
}

.youth-info__content p {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.youth-info__content ul {
  margin: 20px auto;
  padding: 0;
  list-style: disc;
  text-align: left;
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px 80px;
  justify-content: center;
}

.youth-info__content li {
  font-size: 22px;
  position: relative;
  /* padding-left: 18px; */
}

.youth-info__content strong {
  font-weight: 700;
}

/* ===== MOBILE ===== */

@media (max-width: 767px) {
  .youth-info {
    padding: 70px 0 50px;
  }

  .youth-info__circle {
    width: 70px;
    height: 70px;
    top: -100px;
  }

  .youth-info__content p {
    font-size: 17px;
  }

  .youth-info__content li {
    font-size: 17px;
  }

  .youth-info__content ul {
    grid-template-columns: 1fr;
    padding-left: 25px;
  }

  .hero-inner-pr {
    object-position: 70% 0%;
  }
}

.preschool-page {
  font-family: Arial, Helvetica, sans-serif;
  color: #1d1d1d;
  background: #f2f2f2;
}

.preschool-intro {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 70px;
  text-align: center;
}

.preschool-title {
  margin: 30px 0 28px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: #1569b2;
  text-transform: uppercase;
}

.preschool-text {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.45;
}

.preschool-text--blue {
  color: #1569b2;
}

.preschool-text--bold {
  font-weight: 700;
}

.preschool-info-lines {
  max-width: 820px;
  margin: 0 auto 18px;
}

.preschool-info-line {
  padding: 14px 0 12px;
  font-size: 20px;
  line-height: 1.35;
  border-bottom: 1px solid #4d8fc8;
}

.preschool-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
  font-size: 20px;
  line-height: 1.3;
}

.preschool-contact strong {
  font-weight: 700;
}

.preschool-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d1d1d;

  font-weight: 700;
}

.preschool-contact__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.preschool-links-band {
  position: relative;
  background: #116eb5;
  padding: 42px 20px 30px;
}

.preschool-links-band__logo {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preschool-links-band__logo img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
}

.preschool-links-band__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 110px;
}

.preschool-circle-link {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.preschool-circle-link span {
  display: block;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 700;
}

.preschool-circle-link--white {
  background: #f4f4f4;
  color: #1569b2;
}

.preschool-circle-link--blue {
  background: #116eb5;
  color: #fff;
  border: 8px solid #f4f4f4;
}

.preschool-circle-link--large {
  width: 210px;
  height: 210px;
  flex-shrink: 0;
}

.preschool-register {
  padding: 36px 20px 34px;
  background: #f2f2f2;
}

.preschool-register__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.preschool-register__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #1569b2;
}

.preschool-hiring {
  background: #116eb5;
  text-align: center;
  padding: 58px 20px 52px;
}

.preschool-hiring__title {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.preschool-hiring__btn {
  display: inline-block;
  min-width: 280px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #1569b2;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 18px;
}

.preschool-hiring__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: #fff;
}

.preschool-hiring__text a {
  color: #fff;
  font-weight: 700;
}

.preschool-support {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 30px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 34px;
  align-items: start;
}

.preschool-support__left h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 700;
  color: #1569b2;
}

.preschool-support__right {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.preschool-support__card {
  flex: 1;
  border: 1px solid #4d8fc8;
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
}

.preschool-support__card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
  color: #1569b2;
}

.preschool-support__card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.preschool-support__buttons {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.preschool-support__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #4d8fc8;
  border-radius: 14px;
  color: #1569b2;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  background: transparent;
}

@media (max-width: 991px) {
  .preschool-title {
    font-size: 32px;
  }

  .preschool-text,
  .preschool-info-line,
  .preschool-contact {
    font-size: 18px;
  }

  .preschool-links-band__inner {
    gap: 40px;
  }

  .preschool-register__inner {
    flex-direction: column;
    gap: 20px;
  }

  .preschool-support {
    grid-template-columns: 1fr;
  }

  .preschool-support__right {
    flex-direction: column;
  }

  .preschool-support__buttons {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .preschool-intro {
    padding: 24px 16px 56px;
  }

  .preschool-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .preschool-text {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .preschool-info-line {
    font-size: 17px;
    padding: 12px 0;
  }

  .preschool-contact {
    flex-direction: column;
    gap: 12px;
    font-size: 17px;
  }

  .preschool-links-band {
    padding: 58px 16px 26px;
  }

  .preschool-links-band__inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .preschool-circle-link {
    width: 165px;
    height: 165px;
  }

  .preschool-circle-link span {
    font-size: 24px;
  }

  .preschool-circle-link--large {
    width: 190px;
    height: 190px;
  }

  .preschool-hiring__title {
    font-size: 28px;
  }

  .preschool-hiring__btn {
    min-width: 220px;
    font-size: 17px;
  }

  .preschool-support__left h2 {
    font-size: 28px;
  }

  .preschool-support__card h3 {
    font-size: 17px;
  }

  .preschool-support__card p,
  .preschool-support__btn,
  .preschool-hiring__text {
    font-size: 16px;
  }
}

.missions-page {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f3f3;
  color: #1d1d1d;
  padding: 50px 0;
}

.missions-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 70px;
}

.missions-intro__quote {
  max-width: 760px;
  margin: 0 auto 20px;
  color: #2b76b7;
  font-style: italic;
  font-size: 20px;
  line-height: 1.25;
}

.missions-intro__quote p {
  margin: 0 0 8px;
}

.missions-intro__quote span {
  display: block;
  text-align: right;
  font-style: normal;
}

.missions-intro__text {
  max-width: 760px;
  margin: 0 auto;
}

.missions-intro__text p {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.missions-blue-section {
  position: relative;
  background: #116eb5;
  padding: 105px 85px 70px;
}

.missions-blue-section__logo {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.missions-blue-section__logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.missions-blue-section__lead {
  margin: 0 0 55px;
  text-align: center;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 400;
}

.missions-title {
  margin: 0 0 48px;
  text-align: center;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 700;
  text-transform: uppercase;
}

.missions-title--white {
  color: #fff;
}

.missions-title--blue {
  color: #1569b2;
}

.missions-grid {
  display: grid;
  gap: 54px 56px;
}

.missions-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.missions-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
  margin: 50px auto 0;
}

.missions-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: underline;
}

.missions-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.missions-item small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.35;
}

.missions-blue-section .missions-item h3,
.missions-blue-section .missions-item p,
.missions-blue-section .missions-item small {
  color: #fff;
}

.missions-white-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 70px 85px 30px;
}

.missions-grid--blue-text .missions-item h3 {
  color: #1569b2;
}

.missions-grid--blue-text .missions-item p {
  color: #1d1d1d;
}

.missions-item--center {
  justify-self: center;
  width: 100%;
  max-width: 360px;
}

.missions-grid--two .missions-item {
  max-width: 350px;
}

@media (max-width: 1199px) {
  .missions-blue-section,
  .missions-white-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .missions-title {
    font-size: 30px;
  }

  .missions-blue-section__lead,
  .missions-intro__text p,
  .missions-intro__quote {
    font-size: 18px;
  }

  .missions-item h3,
  .missions-item p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .missions-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .missions-blue-section {
    padding-top: 95px;
  }
}

@media (max-width: 640px) {
  .missions-intro {
    padding: 20px 16px 56px;
  }

  .missions-intro__quote {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .missions-intro__text p {
    font-size: 17px;
  }

  .missions-blue-section,
  .missions-white-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .missions-blue-section {
    padding-top: 86px;
    padding-bottom: 50px;
  }

  .missions-white-section {
    padding-top: 50px;
  }

  .missions-blue-section__lead {
    margin-bottom: 36px;
    font-size: 18px;
  }

  .missions-title {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .missions-grid--three {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .missions-item h3,
  .missions-item p {
    font-size: 16px;
  }

  .missions-item small {
    font-size: 11px;
  }
}

.circles-page {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f3f3;
  color: #1f1f1f;
  padding: 50px 0;
}

.circles-intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 36px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 46px;
  align-items: start;
}

.circles-intro__image {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
}

.circles-intro__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circles-intro__content h1 {
  margin: 28px 0 10px;
  font-size: 46px;
  line-height: 1.05;
  font-weight: 700;
  color: #1569b2;
}

.circles-intro__content p {
  margin: 0 0 26px;
  font-size: 20px;
  line-height: 1.42;
}

.circles-band {
  position: relative;
  background: #116eb5;
  padding: 88px 20px 64px;
}

.circles-band__logo {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circles-band__logo img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.circles-band__inner {
  max-width: 1080px;
  margin: 0 auto;
  color: #fff;
}

.circles-band__inner h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 33px;
  line-height: 1.2;
  font-weight: 700;
}

.circles-president {
  margin: 0 0 38px;
  text-align: center;
  color: #fff;
}

.circles-president__title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.circles-president__role {
  font-size: 28px;
  line-height: 1.2;
}

.circles-president__name {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.circles-grid {
  max-width: 1130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 80px;
}

.circles-card {
  color: #fff;
}

.circles-card strong {
  font-weight: 700;
}

.circles-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

.circles-card p {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.28;
}

.circles-card__leader {
  margin-bottom: 0;
}

.reading-program {
  padding: 52px 20px 26px;
}

.reading-program__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.reading-program h2 {
  margin: 0 0 18px;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 700;
  color: #1569b2;
}

.reading-program__text {
  max-width: 940px;
  margin: 0 0 56px;
  font-size: 21px;
  line-height: 1.35;
}

.reading-program__text a {
  color: #1569b2;
  text-decoration: underline;
}

.reading-program__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 70px;
  max-width: 900px;
}

.reading-program__item p {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.reading-program__item strong {
  color: #1569b2;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .circles-intro {
    grid-template-columns: 300px 1fr;
    gap: 32px;
  }

  .circles-intro__image {
    width: 300px;
    height: 300px;
  }

  .circles-intro__content h1 {
    font-size: 38px;
  }

  .circles-intro__content p,
  .circles-card p,
  .reading-program__text,
  .reading-program__item p {
    font-size: 18px;
  }

  .circles-band__inner h2,
  .circles-president__title,
  .circles-president__role,
  .circles-president__name,
  .circles-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .circles-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 16px 30px;
  }

  .circles-intro__image {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  .circles-intro__content h1 {
    margin-top: 0;
    font-size: 32px;
    text-align: center;
  }

  .circles-intro__content p {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .circles-band {
    padding: 74px 16px 48px;
  }

  .circles-band__inner h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .circles-president {
    margin-bottom: 30px;
  }

  .circles-president__title,
  .circles-president__role,
  .circles-president__name {
    font-size: 22px;
  }

  .circles-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .circles-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .circles-card p {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .reading-program {
    padding: 40px 16px 24px;
  }

  .reading-program h2 {
    font-size: 24px;
  }

  .reading-program__text {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .reading-program__info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reading-program__item p {
    font-size: 17px;
  }

  .hero-inner-st {
    background-color: #fff;
    object-position: center top;
  }
}

.hero-inner-st {
  background-position: center center;
}

.stephen-page {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f3f3;
  color: #1f1f1f;
}

.stephen-hero {
  background: #116eb5;
  padding: 88px 20px 120px;
}

.stephen-hero__inner {
  max-width: 730px;
  margin: 0 auto;
  color: #fff;
}

.stephen-hero__verse {
  margin: 0 0 40px;
  font-size: 22px;
  line-height: 1.4;
}

.stephen-hero__verse strong {
  font-weight: 700;
}

.stephen-hero__verse span {
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
  margin-left: 6px;
}

.stephen-hero__text {
  margin: 0;
  font-size: 22px;
  line-height: 1.42;
  font-style: italic;
  font-weight: 400;
}

.stephen-content {
  position: relative;
  padding: 108px 20px 44px;
}

.stephen-content__logo {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stephen-content__logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.stephen-content__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.stephen-content h1 {
  margin: 0 0 26px;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 700;
  color: #1569b2;
  text-transform: uppercase;
}

.stephen-content p {
  max-width: 950px;
  margin: 0 0 34px;
  font-size: 25px;
  line-height: 1.42;
}

.stephen-content a {
  color: inherit;
  text-decoration: underline;
}

.stephen-buttons {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  max-width: 1060px;
  margin-top: 22px;
}

.stephen-buttons__link {
  flex: 1;
  min-height: 54px;
  padding: 12px 24px;
  border: 1px solid #4d8fc8;
  border-radius: 999px;
  color: #1569b2 !important;
  text-decoration: none !important;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1199px) {
  .stephen-content h1 {
    font-size: 42px;
  }

  .stephen-content p,
  .stephen-hero__verse,
  .stephen-hero__text {
    font-size: 20px;
  }

  .stephen-buttons__link {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .stephen-hero {
    padding: 56px 16px 90px;
  }

  .stephen-hero__verse,
  .stephen-hero__text {
    font-size: 17px;
  }

  .stephen-hero__verse {
    margin-bottom: 24px;
  }

  .stephen-content {
    padding: 82px 16px 32px;
  }

  .stephen-content__logo {
    width: 82px;
    height: 82px;
    top: -42px;
  }

  .stephen-content__logo img {
    width: 52px;
    height: 52px;
  }

  .stephen-content h1 {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .stephen-content p {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .stephen-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .stephen-buttons__link {
    font-size: 17px;
    min-height: 50px;
  }
}

.senior-adults-page {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f3f3;
  color: #1f1f1f;
  padding: 80px 0;
}

.senior-adults-intro {
  padding: 0 20px 82px;
  text-align: center;
}

.senior-adults-intro p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 25px;
  line-height: 1.3;
}

.senior-adults-band {
  position: relative;
  background: #116eb5;
  padding: 118px 20px 58px;
}

.senior-adults-band__logo {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.senior-adults-band__logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.senior-adults-band__inner {
  max-width: 980px;
  margin: 0 auto;
}

.senior-adults-band h1 {
  margin: 0 0 38px;
  text-align: center;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
}

.senior-adults-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 86px;
}

.senior-adults-list__item p {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.38;
}

.senior-adults-list__item strong {
  font-weight: 700;
}

.senior-adults-content {
  padding: 56px 20px 28px;
}

.senior-adults-content__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.senior-adults-photo img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.senior-adults-sidebar {
  padding-top: 4px;
}

.senior-adults-sidebar__block {
  text-align: center;
}

.senior-adults-sidebar__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #1569b2;
}

.senior-adults-sidebar__text {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.32;
}

.senior-adults-sidebar__text--phone {
  margin-bottom: 0;
}

.senior-adults-sidebar__text--phone a {
  color: #1569b2;
  font-weight: 700;
  text-decoration: none;
}

.senior-adults-sidebar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 24px;
  border: 1px solid #4d8fc8;
  border-radius: 999px;
  color: #1569b2;
  text-decoration: none;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  background: transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.senior-adults-sidebar__btn:hover {
  background: #ee3431;
  /* border-color: #ee3431; */
  color: #fff;

  transform: translateY(-2px);
}

.senior-adults-sidebar__divider {
  height: 1px;
  background: #4d8fc8;
  margin: 28px 0 26px;
}

.senior-adults-list ul {
  list-style-type: disc;
  color: #fff;
  padding-left: 20px;
}

.senior-adults-list li {
  padding-bottom: 25px;
}

@media (max-width: 1199px) {
  .senior-adults-intro p,
  .senior-adults-list__item p,
  .senior-adults-sidebar__text,
  .senior-adults-sidebar__title {
    font-size: 20px;
  }

  .senior-adults-band h1 {
    font-size: 42px;
  }

  .senior-adults-sidebar__btn {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .senior-adults-content__inner {
    grid-template-columns: 1fr;
  }

  .senior-adults-list {
    gap: 24px 40px;
  }
}

@media (max-width: 767px) {
  .senior-adults-intro {
    padding: 0 16px 68px;
  }

  .senior-adults-intro p {
    font-size: 18px;
  }

  .senior-adults-band {
    padding: 92px 16px 42px;
  }

  .senior-adults-band__logo {
    width: 84px;
    height: 84px;
    top: -42px;
  }

  .senior-adults-band__logo img {
    width: 52px;
    height: 52px;
  }

  .senior-adults-band h1 {
    font-size: 34px;
    margin-bottom: 26px;
  }

  .senior-adults-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .senior-adults-list__item p {
    font-size: 18px;
  }

  .senior-adults-content {
    padding: 36px 16px 24px;
  }

  .senior-adults-content__inner {
    gap: 28px;
  }

  .senior-adults-sidebar__title,
  .senior-adults-sidebar__text {
    font-size: 18px;
    margin-top: 15px;
  }

  .senior-adults-sidebar__btn {
    font-size: 17px;
    min-height: 50px;
  }
}

.wedding-page {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f3f3;
  color: #1f1f1f;
}

.wedding-intro__content {
  padding: 74px 56px 34px 52px;
}

.wedding-intro__content h1 {
  margin: 0 0 14px;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 700;
  color: #1569b2;
}

.wedding-intro__content h2 {
  margin: 0 0 36px;
  max-width: 900px;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 700;
  color: #1569b2;
}

.wedding-intro__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.wedding-intro__text p {
  margin: 0 0 26px;
  font-size: 21px;
  line-height: 1.55;
}

.wedding-contact {
  position: relative;
  background: #116eb5;
  padding: 104px 20px 96px;
}

.wedding-contact__logo {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #d9d9d9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wedding-contact__logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.wedding-contact__inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.wedding-contact__title {
  margin: 0 0 40px;
  font-size: 31px;
  line-height: 1.3;
  font-weight: 700;
}

.wedding-contact__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 34px;
}

.wedding-contact__name {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

.wedding-contact__name span {
  font-weight: 400;
}

.wedding-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: underline;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 400;
}

.wedding-contact__item:last-child {
  text-decoration: none;
  font-weight: 700;
}

.wedding-contact__item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.wedding-guide {
  padding: 94px 20px 28px;
}

.wedding-guide__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.wedding-guide__inner p {
  margin: 0 0 34px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: #1569b2;
}

.wedding-guide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 276px;
  min-height: 54px;
  padding: 10px 28px;
  border: 1px solid #4d8fc8;
  border-radius: 999px;
  color: #1569b2;
  text-decoration: none;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  background: transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1199px) {
  .wedding-intro {
    grid-template-columns: 1fr;
  }

  .wedding-intro__image {
    max-height: 520px;
  }

  .wedding-intro__content {
    padding: 44px 28px 28px;
  }

  .wedding-intro__content h1 {
    font-size: 44px;
  }

  .wedding-intro__content h2 {
    font-size: 23px;
    margin-bottom: 26px;
  }

  .wedding-intro__text p,
  .wedding-contact__title,
  .wedding-contact__name,
  .wedding-contact__item,
  .wedding-guide__inner p {
    font-size: 20px;
  }

  .wedding-guide__btn {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .wedding-intro__content {
    padding: 32px 16px 24px;
  }

  .wedding-intro__content h1 {
    font-size: 34px;
  }

  .wedding-intro__content h2 {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .wedding-intro__text {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wedding-intro__text p {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .wedding-contact {
    padding: 84px 16px 68px;
  }

  .wedding-contact__logo {
    width: 84px;
    height: 84px;
    top: -42px;
  }

  .wedding-contact__logo img {
    width: 52px;
    height: 52px;
  }

  .wedding-contact__title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .wedding-contact__info {
    flex-direction: column;
    gap: 16px;
  }

  .wedding-contact__name,
  .wedding-contact__item,
  .wedding-guide__inner p {
    font-size: 18px;
  }

  .wedding-guide {
    padding: 58px 16px 24px;
  }

  .wedding-guide__inner p {
    margin-bottom: 24px;
  }

  .wedding-guide__btn {
    min-width: 240px;
    font-size: 17px;
  }
}

.wedding-intro {
  background: url('../img/wedding-welcome.jpg') no-repeat left center;
  background-size: contain;
  background-color: #f9f9f9;
  padding: 40px 0;
}

.wedding-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: flex-end;
}

.wedding-intro__content {
  max-width: 830px;
  font-family: 'Inter', sans-serif;
}

/* текст */
.wedding-intro__content h1 {
  font-size: 58px;
  color: #1569b2;
  margin-bottom: 12px;
}

.wedding-intro__content h2 {
  font-size: 24px;
  color: #1569b2;
  margin-bottom: 30px;
}

.wedding-intro__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.wedding-intro__text p {
  font-size: 18px;
  line-height: 1.6;
}

.fa-phone {
  color: #156caf;
}

@media (max-width: 991px) {
  .about-card-mob {
    height: 150px;
  }

  .about-we-are {
    padding-top: 25px;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .menu-item-has-children {
    position: relative;
  }

  .menu-item-has-children .sub-menu {
    display: none;
    padding: 10px 0 0;
    margin: 0;
    list-style: none;
  }

  .menu-item-has-children.active .sub-menu {
    display: block;
  }

  .submenu-toggle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
  }

  .submenu-toggle::before,
  .submenu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #000;
    transform: translate(-50%, -50%);
  }

  .submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .menu-item-has-children.active .submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .menu-item-has-children > a,
  .menu-item-has-children > .submenu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hero-worship-inner {
    height: 600px;
    min-height: 600px;
  }

  .st-simons-UMC-about-us .worship-services__icon {
    display: none;
  }

  .hero-page-intro {
    margin-top: 10px;
  }

  .hero-top-links {
    margin-top: -50px;
    margin-bottom: 0px;
  }

  .wedding-intro__text {
    grid-template-columns: auto;
  }
}

.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;

  width: 50px;
  height: 50px;

  border-radius: 50%;
  border: none;

  background: #116eb5;
  color: #fff;
  font-size: 20px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;
  padding-bottom: 5px;
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: #0d5a94;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.page-stephen .hero-inner__bg {
  background-image: url(../img/stephen-ministry-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
}

/* MOBILE FIX — центрируем весь футер */
@media (max-width: 640px) {
  .site-footer__top {
    text-align: center;
  }

  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer__contact {
    align-items: center;
    text-align: center;
  }

  .site-footer__contact-item {
    justify-content: center;
    text-align: center;
  }

  .site-footer__badges {
    align-items: center;
  }

  .site-footer__nav {
    text-align: center;
  }

  .site-footer__list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__bottom {
    align-items: center;
    text-align: center;
  }

  .site-footer__powered {
    align-items: center;
  }

  .page-stephen .hero-inner__bg {
    background-size: cover;
    background-position: center;
    background-image: url('../img/stephen-ministry-bg-2.jpg');
  }
}

.connect-section__calendar-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.connect-section__calendar-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #c90909;
  transition: left 0.3s ease;
  z-index: -1;
}

.connect-section__calendar-btn:hover::after {
  left: 0;
}

.connect-section__calendar-btn:hover {
  color: #fff;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.newsletter-modal.active {
  display: block;
}

.newsletter-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.newsletter-modal__content {
  position: relative;
  max-width: 600px;
  margin: 80px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-height: 70vh;
  overflow-y: auto;
}

.newsletter-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.newsletter-modal__content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 29px;
  font-weight: 500;
  color: #1569b2;
}

.worship-list {
  margin: 20px 0 0;
  padding-left: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 500;
}

.worship-list li {
  margin-bottom: 10px;
}

.worship-list a {
  color: #1569b2;
  text-decoration: none;
}

.worship-list a:hover {
  text-decoration: underline;
}

.hero-page-text-music {
  position: absolute;
  bottom: 40px;
  right: 40px;
}

.hero-page-text-music h5 {
  color: #fff;
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.hero-page-text-music p {
  color: #fff;
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 40px;
}

.music-back {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
}

.hero-women {
  max-width: 540px;
  margin-left: -150px;
  color: #fff;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
}

.hero-women img {
  margin-bottom: 30px;
}

@media (max-width: 1640px) {
  .hero-women {
    max-width: 540px;
    margin-left: -50px;
  }
}

@media (max-width: 1380px) {
  .hero-women {
    max-width: 390px;
    margin-left: -50px;
    font-size: 18px;
  }
}

.events-container {
  max-width: 1773px;
  margin: 40px auto;
}

.event-card {
  display: grid;
  grid-template-columns: 878px 1fr;
  gap: 64px;
  padding: 70px 0;
  border-bottom: 1px solid #333;
}

.event-card__image img {
  width: 878px;
  height: auto;
  display: block;
}

.event-card__content {
  max-width: 620px;
}

.event-card__content h2 {
  color: #156caf;
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.event-card__content h3 {
  color: #156caf;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 28px;
}

.event-card__content p {
  color: #222;
  font-family: Inter, sans-serif;
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 24px;
}

.event-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 44px;
  background: #156caf;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.event-card {
  display: grid;
  grid-template-columns: 878px 1fr;
  gap: 64px;
  padding: 70px 0;
  border-bottom: 1px solid #8d8d8d;
}

.event-card:last-child {
  border-bottom: none;
}

@media (max-width: 1100px) {
  .event-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 45px 20px;
  }

  .event-card__image img {
    width: 100%;
  }

  .event-card__content h2 {
    font-size: 34px;
  }

  .event-card__content h3 {
    font-size: 20px;
  }

  .event-card__content p {
    font-size: 18px;
  }
}

.image-mosaic {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
}

.image-mosaic__row {
  display: flex;
  gap: 22px;
  width: max-content;
  margin-bottom: 22px;
}

.image-mosaic__row--top {
  animation: mosaicMoveRight 32s linear infinite;
}

.image-mosaic__row--bottom {
  animation: mosaicMoveLeft 34s linear infinite;
}

.image-mosaic__item {
  flex: 0 0 auto;
  width: 420px;
  height: 260px;
  overflow: hidden;
  border-radius: 18px;
}

.image-mosaic__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.image-mosaic:hover .image-mosaic__row {
  animation-play-state: paused;
}

.image-mosaic__item:hover img {
  transform: scale(1.58);
  filter: brightness(1.08);
}

@keyframes mosaicMoveRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes mosaicMoveLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .image-mosaic {
    padding: 16px 0;
  }

  .image-mosaic__row {
    gap: 14px;
    margin-bottom: 14px;
  }

  .image-mosaic__item {
    width: 280px;
    height: 180px;
    border-radius: 14px;
  }

  .image-mosaic__row--top {
    animation-duration: 12s;
  }

  .image-mosaic__row--bottom {
    animation-duration: 14s;
  }
}

@media (max-width: 768px) {
  .image-mosaic {
    padding: 16px;
  }

  .image-mosaic__row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 14px;
    margin-bottom: 14px;
    animation: none !important;
    transform: none !important;
  }

  .image-mosaic__item {
    width: 100%;
    height: 220px;
  }

  .image-mosaic__item img {
    object-fit: cover;
    object-position: center;
  }

  .image-mosaic__item:hover img {
    transform: none;
  }

  .image-mosaic__row .image-mosaic__item:nth-child(n + 5) {
    display: none;
  }
}

.footer-address {
  position: relative;
  padding-left: 28px;
  display: inline-block;
}

.footer-address::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url('../img/map-pin.png') no-repeat center;
  background-size: contain;
}

@media (max-width: 768px) {
  .footer-address::before {
    transform: translateY(0%);
    top: 5px;
    left: 45px;
  }
}
