/* Shared church palette and navigation states. */
header.site-header .restored-phone {
  color: #fff;
  transition: color .2s ease, border-color .2s ease;
}

header.site-header .restored-phone:is(:hover, :focus-visible) {
  color: #D7EBAA;
}

header.site-header .header-nav a {
  position: relative;
}

header.site-header .header-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px;
  height: 2px;
  border-radius: 2px;
  background: #D7EBAA;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

header.site-header .header-nav a:is(:hover, :focus-visible) {
  color: #D7EBAA;
}

header.site-header .header-nav a:is(:hover, :focus-visible, .active)::after {
  transform: scaleX(1);
}

.nav-panel__links a:is(:hover, :focus-visible),
.mobile-nav a:is(:hover, :focus-visible) {
  color: #314D3E;
  background-color: #eef4e1;
}

.nav-panel__cta .restored-phone:is(:hover, :focus-visible) {
  color: #314D3E;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.church-home main > #about {
  background: #f2f6e9;
  border-top: 1px solid #dbe5d1;
}

body.church-home main > #propovedi {
  background: #EDECEA;
  border-top: 1px solid #e0e0db;
}

body.church-home main > #contacts {
  background: #fff;
  border-top: 1px solid #dcded8;
}

body.church-home #contacts .contact-item {
  background: #EDECEA;
}

footer.site-footer.october-footer {
  background: #314D3E;
  color: #fff;
}

.october-footer .october-footer__top :is(strong, .october-footer__brand) {
  color: #D7EBAA;
}

@media (prefers-reduced-motion: reduce) {
  header.site-header .restored-phone,
  header.site-header .header-nav a::after {
    transition: none;
  }
}
