/* Saint Life — site overrides (keep main.css as the theme source) */

:root {
  --sl-gold: #fbca5c;
  --sl-orange: #eb9309; /* warm companion to gold — homepage hero/feature shapes */
  --sl-interest: #960202; /* deep red — replaces theme blue secondary */
  --sl-black: #0d0d0d;
}

/* Sticky footer: when the page is shorter than the viewport, keep the black
   footer at the bottom instead of leaving a white gap under it.

   White fill lives on `main` (not `body`) with a local stacking context so
   theme layers that use z-index: -1 (about garden mask, feature map behind
   the 144mln block, etc.) still paint above the page background. Putting
   background-color on a flex `body` hid those images behind opaque white. */
html {
  background-color: var(--sl-black);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: transparent;
}

main.main {
  flex: 1 0 auto;
  background-color: #fff;
  position: relative;
  z-index: 0;
}

.footer {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 0;
}

.footer__copyright__text a {
  color: var(--sl-gold);
  text-decoration: none;
}

.footer__copyright__text a:hover {
  color: #fff;
}

.sl-footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.sl-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sl-gold);
  border-radius: 50%;
  color: var(--sl-gold);
  font-size: 1.15rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.sl-footer-social a:hover,
.sl-footer-social a:focus-visible {
  background: var(--sl-gold);
  color: #0d0d0d;
}

/* Header: on wide desktops, pull logo + CTA inward so they sit with page content
   rather than hugging the edges of the ultra-wide container--custom (1644px). */
@media (min-width: 1400px) {
  .header .container--custom {
    padding-left: 72px;
    padding-right: 72px;
  }
}

@media (min-width: 1700px) {
  .header .container--custom {
    padding-left: 96px;
    padding-right: 96px;
  }
}

.header__logo__image {
  max-height: 52px;
  width: auto;
  height: auto;
  display: block;
}

.footer__logo__image {
  max-width: 280px;
  width: 100%;
  height: auto;
}

/* Interest / secondary accent — deep red instead of the old blue */
.bgSecondary,
.btn--styleOne.btn--primary:hover,
.btn--styleOne.btn--secondary,
.btn--secondary .it-btn__inner,
.it-btn__blob,
.footer__newsletter__button,
.btn--styleTwo:hover {
  background-color: var(--sl-interest) !important;
  background: var(--sl-interest) !important;
}

.colorSecondary {
  color: var(--sl-interest) !important;
}

.btn--styleOne.btn--secondary,
.btn--styleTwo:hover {
  border-color: var(--sl-interest);
  color: #fff;
}

.btn--styleOne.btn--secondary:hover {
  background-color: var(--sl-gold) !important;
  background: var(--sl-gold) !important;
  color: #fff;
}

.btn--secondary .it-btn__blob {
  background-color: var(--sl-gold) !important;
}

/* Screen-reader-only labels (used sitewide, not only churches.css) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*
 * Gold (#fbca5c) fails WCAG AA as small text on white/light backgrounds.
 * Use a darker amber for section eyebrows; keep icon animation colour linked.
 */
.sectionTitle__small {
  color: #7a5808;
}

.sectionTitle__small i {
  color: #960202;
}

/* Font Awesome: show fallback glyphs while the webfont loads */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fontawesome/webfonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fontawesome/webfonts/fa-brands-400.woff2") format("woff2");
}

