/* Church-specific extensions loaded after the original Hesed styles. */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.2rem;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

.parallax-mirror {
  max-width: 100vw;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #fb8b23;
  outline-offset: 4px;
}

.s-header {
  top: 0;
  position: fixed;
  background-color: rgba(5, 5, 5, .97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  transition: top .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.s-header.is-scrolled {
  top: 0;
  background-color: rgba(5, 5, 5, .97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 1.2rem 3.2rem rgba(0, 0, 0, .22);
}

.header-nav li.current a {
  color: #fb8b23;
}

.header-logo img {
  width: 300px;
  height: auto;
}

.header-logo {
  top: calc(50% + .7rem);
}

.hero-content__eyebrow,
.social-subhead,
.s-location .subhead,
.s-contact .subhead,
.s-church-about .subhead {
  margin: 0 0 2.4rem;
  color: #fb8b23;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .35rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-content h1 {
  margin-bottom: 2.4rem;
}

.hero-content h1 span {
  display: block;
  white-space: nowrap;
}

.hero-content__tagline {
  max-width: 62rem;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-family: "Lora", serif;
  font-size: 2.4rem;
  line-height: 1.6;
}

.hero-content__tagline span {
  display: block;
  color: #fb8b23;
  white-space: nowrap;
}

.section-title {
  margin-top: 0;
  margin-bottom: 3.2rem;
  font-size: 4.8rem;
}

.section-title--light {
  color: #ffffff;
}

.placeholder-note {
  margin-bottom: 3.2rem;
  color: rgba(255, 255, 255, .54);
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  letter-spacing: .14rem;
  text-transform: uppercase;
}

.placeholder-note--dark {
  color: rgba(0, 0, 0, .5);
}

.service-schedule h3 {
  margin-top: 0;
  color: #ffffff;
  font-size: 1.5rem;
  letter-spacing: .4rem;
  line-height: 1.333;
  text-transform: uppercase;
}

.service-schedule strong {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.s-church-about {
  padding-bottom: 16rem;
}

.church-about-content {
  padding-bottom: 0;
  border-bottom: 0;
}

.church-about-media img {
  display: block;
  width: 100%;
  height: 50rem;
  object-fit: cover;
  object-position: center;
}

.s-daily-word {
  min-height: 0;
  padding-top: 14rem;
  padding-bottom: 14rem;
}

.daily-word__content {
  padding-top: 9.6rem;
  padding-bottom: 9.6rem;
}

.daily-verse {
  margin: 0;
  padding: 4rem;
  border-left: 2px solid #fb8b23;
  background-color: rgba(0, 0, 0, .64);
}

.daily-verse p {
  margin-bottom: 2.4rem;
  color: #ffffff;
  font-family: "Lora", serif;
  font-size: 3rem;
  line-height: 1.5;
}

.daily-verse footer {
  color: #fb8b23;
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .25rem;
  text-transform: uppercase;
}

.social-subhead,
.social-title {
  text-align: center;
}

.social-title {
  margin-top: 0;
  margin-bottom: 4.8rem;
  color: #ffffff;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4rem 4.8rem;
}

.social-list li {
  margin: 0;
}

.s-location {
  padding-top: 16rem;
  padding-bottom: 16rem;
  background-color: #ffffff;
}

.location-details {
  padding-right: 5vw;
}

.location-details h3 {
  margin-top: 4rem;
  margin-bottom: 1.6rem;
}

.location-details address {
  margin-bottom: 4rem;
  font-style: normal;
}

.location-map iframe {
  display: block;
  width: 100%;
  min-height: 48rem;
  border: 0;
  filter: grayscale(20%);
}

.s-contact {
  padding-top: 14rem;
  padding-bottom: 14rem;
  background-color: #f1f1f1;
}

.contact-header {
  margin-bottom: 4rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 4.8rem;
  background-color: #ffffff;
  border-top: 2px solid #7d1c24;
}

.contact-card__label {
  margin-bottom: 1.2rem;
  color: #7d1c24;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .2rem;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-top: 1.6rem;
  margin-bottom: 2.4rem;
  overflow-wrap: anywhere;
}

.contact-card .btn {
  margin-top: auto;
  margin-bottom: 0;
}

.contact-content {
  align-items: center;
}

.contact-form {
  margin-bottom: 0;
  padding: 4.8rem;
  background-color: #ffffff;
  border-top: 2px solid #7d1c24;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.2rem;
}

.contact-form .form-field {
  margin-bottom: 2.4rem;
}

.contact-form .label-optional {
  margin-left: .4rem;
  color: rgba(0, 0, 0, .5);
  font-size: 1.2rem;
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 0;
}

.contact-form textarea {
  min-height: 16rem;
  resize: vertical;
}

.contact-form__botcheck {
  display: none !important;
}

.contact-form__status {
  margin: 0;
  padding: 3.2rem 0;
  color: #3b0d11;
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.contact-form__status.is-error {
  color: #7d1c24;
}

.contact-form.is-sent .contact-form__fields {
  display: none;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: .65;
}

.contact-list--single {
  max-width: 700px;
}

.footer-logo img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.footer-placeholder {
  font-size: 1.4rem;
  letter-spacing: .08rem;
}

.ss-copyright span span {
  font-size: inherit;
}

.ss-copyright span span::after {
  display: none;
}

@media screen and (max-width:1200px) {
  .church-about-content,
  .location-content,
  .contact-header,
  .contact-list {
    max-width: 900px;
  }

  .daily-word__content {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

@media screen and (max-width:900px) {
  .s-church-about,
  .s-location,
  .s-contact {
    padding-top: 11.2rem;
    padding-bottom: 11.2rem;
  }

  .church-about-media,
  .location-map {
    margin-top: 5.6rem;
  }

  .contact-card {
    margin-top: 3.2rem;
  }

  .location-details {
    padding-right: 16px;
  }

  .contact-list {
    display: block;
  }

  .contact-card + .contact-card {
    margin-top: 3.2rem;
  }
}

@media screen and (max-width:800px) {
  .s-header {
    top: 0;
    background-color: rgba(5, 5, 5, .97);
  }

  .header-nav-wrap {
    top: 0;
    padding-top: 10rem;
  }

  .header-logo img {
    width: 230px;
  }

  .hero-content__tagline {
    margin-right: auto;
    margin-left: auto;
    font-size: 2.1rem;
  }

  .daily-word__content .column:first-child {
    margin-bottom: 4.8rem;
  }

  .daily-word__content .column:first-child,
  .daily-word__content .column:last-child {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media screen and (max-width:600px) {
  .contact-form {
    padding: 3.2rem 2.4rem;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .s-hero {
    min-height: 68rem;
    height: 100svh;
  }

  .hero-content {
    padding-top: 16rem;
    padding-bottom: 12rem;
  }

  .hero-content h1 {
    font-size: 3.8rem;
    overflow-wrap: anywhere;
  }

  .hero-content__tagline {
    font-size: 1.9rem;
  }

  .hero-content__buttons {
    margin-top: 3.2rem;
  }

  .hero-content__buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 5.4rem;
    padding: 1.6rem 1.2rem;
    line-height: 1.5;
    white-space: normal;
  }

  .s-about,
  .s-church-about,
  .s-daily-word,
  .s-social,
  .s-location,
  .s-contact,
  .s-footer {
    padding-top: 9.6rem;
    padding-bottom: 9.6rem;
  }

  .section-title,
  .social-title {
    font-size: 3.6rem;
  }

  .church-about-media img {
    height: 34rem;
  }

  .daily-word__content {
    padding: 0 25px;
    border: 0;
  }

  .daily-verse {
    padding: 3.2rem 2.4rem;
  }

  .daily-verse p {
    font-size: 2.4rem;
  }

  .social-list {
    gap: 2rem;
  }

  .location-map iframe {
    min-height: 36rem;
  }

  .contact-card {
    padding: 3.2rem 2.4rem;
  }
}

@media screen and (max-width:400px) {
  .header-logo img {
    width: 188px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .section-title,
  .social-title,
  .s-contact .display-1,
  .s-location .display-1,
  .s-church-about .display-1 {
    font-size: 3.2rem;
  }

  .social-list {
    gap: 1.6rem;
  }

  .social-list__icon {
    margin: 0;
  }

  .location-map iframe {
    min-height: 30rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
