:root {
  --accent: #8ec92f;
  --accent-dark: #6fa51f;
  --black: #111111;
  --soft-black: #222222;
  --body: #888888;
  --text: #333333;
  --line: #eeeeee;
  --light: #f7f7f7;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
  font-family: "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

body.is-loading {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #212121;
  opacity: 1;
  visibility: visible;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.preloader-inner img {
  width: min(187px, 42vw);
  height: auto;
  animation: preloader-pulse 1400ms ease-in-out infinite;
}

.preloader-inner span {
  color: #f8f8f8;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 40px;
  text-align: center;
}

@keyframes preloader-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--soft-black);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  z-index: 100;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1170px, calc(100% - 32px));
  min-height: 96px;
  margin: 0 auto;
  gap: 24px;
}

.logo img {
  width: 118px;
  height: auto;
}

.mainmenu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.mainmenu a {
  color: #000000;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.7;
  text-transform: uppercase;
}

.mainmenu a:hover,
.mainmenu a:focus {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 3000ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.22));
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 600px;
  padding: 120px 16px 80px;
  text-align: center;
}

.hero-copy p,
.hero-copy h1 {
  margin: 0;
  background: rgba(255, 255, 255, 0.82);
  color: #333333;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

.hero-copy p {
  padding: 6px 15px;
  font-size: clamp(28px, 3vw, 42px);
}

.hero-copy h1 {
  margin-top: 10px;
  padding: 6px 15px;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 400;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.67);
  color: rgba(255, 255, 255, 0.88);
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-arrow:hover {
  background: var(--accent);
}

.slider-arrow.previous {
  left: 15px;
}

.slider-arrow.next {
  right: 15px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--accent);
  color: var(--white);
}

.feature-strip article {
  min-height: 132px;
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.section {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.about-band {
  background: #f2f2f2;
}

.gallery-band {
  background: #f2f2f2;
}

.section-title {
  margin-bottom: 54px;
  text-align: center;
}

.section-title.compact {
  margin-bottom: 24px;
  text-align: left;
}

h2,
h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: Raleway, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.25;
}

h2 {
  font-size: clamp(30px, 4vw, 42px);
}

h3 {
  font-size: 22px;
}

.section-title span {
  display: block;
  width: 70px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--accent);
}

.section-title.compact span {
  margin-left: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-grid article {
  background: var(--white);
  padding: 28px 30px 30px;
  min-height: 100%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.card-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: -28px -30px 24px;
  max-width: calc(100% + 60px);
  width: calc(100% + 60px);
}

.card-grid p {
  margin: 0 0 14px;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 20px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.st-btn:hover {
  background: var(--soft-black);
  color: var(--white);
}

.st-btn.secondary {
  background: var(--soft-black);
}

.st-btn.secondary:hover {
  background: var(--accent);
}

.sermon-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
  margin: 0 auto;
}

.sermon-list article {
  display: block;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sermon-list article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.sermon-list img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sermon-list article div {
  padding: 22px 22px 24px;
}

.sermon-list h3 {
  margin-bottom: 8px;
}

.sermon-list h3 a {
  color: var(--text);
}

.sermon-list h3 a:hover {
  color: var(--accent);
}

.sermon-list p {
  margin: 0;
}

.president-band {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
  align-items: start;
  gap: 70px;
  min-height: 496px;
  padding: 0 max(16px, calc((100vw - 1170px) / 2)) 24px;
  background: var(--white);
  color: var(--body);
}

.president-band h2 {
  margin: 0 0 8px;
  color: #787f88;
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(26px, 2.5vw, 31px);
  font-weight: 400;
  line-height: 1.05;
}

.president-band h2 b {
  display: inline-block;
  color: #6f737a;
  font-weight: 800;
}

.president-copy {
  min-height: 460px;
  padding-top: 0;
}

.president-band p {
  max-width: 650px;
  margin: 0;
  color: #7c8390;
  font-size: 14px;
  line-height: 1.55;
}

.president-band p strong {
  color: #111111;
  font-weight: 800;
}

.president-signature {
  width: min(520px, 88%);
  margin-top: 132px;
  mix-blend-mode: multiply;
}

.president-portrait {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  margin: 41px 10px 0 auto;
  background: transparent;
}

.president-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    url("assets/original/leader-mdani.jpg") center 0% / 132% auto no-repeat,
    #ffffff;
  box-shadow: 0 8px 4px rgba(117, 83, 22, 0.25);
}

.president-portrait::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -35px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0) 68%);
  filter: blur(4px);
}

.president-portrait img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 10%;
  opacity: 0;
}

.gallery,
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.leadership-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.leader-card {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
  overflow: hidden;
}

.leader-image {
  display: grid;
  place-items: start center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ffffff;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.leader-card-poster {
  background: #ffffff;
}

.leader-card-poster .leader-image img {
  width: 82%;
  height: 82%;
  margin-top: 10px;
}

.leader-card-poster h3 {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 800;
}

.leader-card-poster p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: #111111;
}

.leader-card h3 {
  margin: 18px 14px 6px;
  font-size: 20px;
}

.leader-card p {
  margin: 0 14px 20px;
  color: var(--body);
  font-style: italic;
}

.donation {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: 40px;
  padding: 55px max(16px, calc((100vw - 1170px) / 2));
  background: #454545;
}

.donation h2 {
  color: var(--white);
}

.donation p {
  color: #cccccc;
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.donation-amounts button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.donation-amounts button:hover,
.donation-amounts button[aria-pressed="true"] {
  background: var(--white);
  color: var(--soft-black);
}

.stats-hero {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 32px;
  text-align: center;
}

.stats-hero h1 {
  margin: 0;
  color: var(--text);
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 400;
}

.stats-hero p {
  max-width: 680px;
  margin: -28px auto 24px;
}

.stats-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.stats-viewer {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto 70px;
  padding: 18px;
  background: #f2f2f2;
}

.stats-viewer object {
  display: block;
  width: 100%;
  min-height: 780px;
  border: 0;
  background: var(--white);
}

.page-hero {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 32px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 400;
}

.page-hero p {
  max-width: 680px;
  margin: -28px auto 24px;
}

.about-content-band {
  background: #f2f2f2;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 46px;
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 76px;
}

.about-content-full {
  display: block;
  max-width: 960px;
}

.about-content article,
.about-content aside {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.about-content article {
  padding: 34px 38px;
}

.about-content article p {
  margin: 0 0 20px;
  color: #666666;
  font-size: 15px;
}

.about-content article p:last-child {
  margin-bottom: 0;
}

.about-content aside {
  padding: 28px;
  border-top: 4px solid var(--accent);
}

.about-content aside h2,
.about-content aside h3 {
  margin-bottom: 12px;
}

.about-content aside ul {
  margin: 0 0 22px;
  padding-left: 18px;
}

.about-content aside li {
  margin-bottom: 8px;
}

.president-profile-band {
  background: #f2f2f2;
}

.president-profile {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 46px;
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 76px;
}

.president-profile-card,
.president-article {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.president-profile-card {
  align-self: start;
  padding: 28px;
  text-align: center;
  border-top: 4px solid var(--accent);
}

.profile-image {
  width: 260px;
  height: auto;
  margin: 0 auto 22px;
}

.profile-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.president-profile-card h2 {
  margin-bottom: 6px;
  font-size: 23px;
}

.president-profile-card p {
  margin: 0;
  color: var(--body);
  font-style: italic;
}

.president-article {
  padding: 34px 38px;
}

.president-article p,
.president-article li {
  color: #666666;
  font-size: 15px;
}

.president-article h2 {
  margin-top: 28px;
  font-size: 25px;
}

.president-article ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.president-article blockquote {
  margin: 34px 0 0;
  padding: 28px;
  border-left: 5px solid var(--accent);
  background: #f7f7f7;
}

.president-article blockquote h2 {
  margin-top: 0;
}

.subheader {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 42px 16px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)),
    url("assets/wordpress-homepage/themes_blessing_assets_images_bg-subheader.jpg") center / cover;
  text-align: center;
}

.subheader h1 {
  margin: 0;
  color: var(--white);
  font-family: Raleway, Arial, sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
}

.subheader p {
  margin: 8px 0 0;
  color: #cccccc;
}

.contact-page {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.75fr);
  gap: 48px;
  align-items: start;
}

.contact-page-form input,
.contact-page-form textarea {
  background: #ffffff;
}

.contact-page-info {
  color: #666666;
}

.contact-page-info section {
  margin-bottom: 28px;
}

.contact-page-info h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 21px;
}

.contact-page-info p {
  margin: 0 0 6px;
}

.contact-email {
  margin-top: 26px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 40px;
}

.contact-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 10px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dddddd;
  padding: 11px 12px;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(142, 201, 47, 0.28);
  border-color: var(--accent);
}

.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 1.1fr;
  gap: 34px;
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 38px;
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 18px;
  font-weight: 400;
}

.footer-col p {
  margin: 0 0 12px;
  color: #cccccc;
}

.footer-col a {
  display: block;
  color: #cccccc;
  margin-bottom: 9px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-about img {
  width: 138px;
  margin-bottom: 16px;
}

.footer-give {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 8px;
  padding: 8px 15px;
  background: var(--accent);
  color: var(--white) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-give:hover {
  background: var(--white);
  color: var(--soft-black) !important;
}

.sub-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(16px, calc((100vw - 1170px) / 2));
  background: #0b0b0b;
  color: #cccccc;
}

.sub-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .mainmenu {
    position: fixed;
    inset: 96px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 18px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.1);
  }

  .mainmenu.is-open {
    display: flex;
  }

  .mainmenu a {
    padding: 12px 0;
  }

  .feature-strip,
  .card-grid,
  .gallery,
  .leadership-grid,
  .sermon-list,
  .donation,
  .contact,
  .about-content,
  .president-profile,
  .contact-page-grid,
  .president-band,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .president-band {
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 82px;
  }

  .logo img {
    width: 96px;
  }

  .mainmenu {
    inset: 82px 0 auto;
  }

  .hero,
  .hero-copy {
    min-height: 420px;
  }

  .slider-arrow {
    display: none;
  }

  .feature-strip,
  .card-grid,
  .sermon-list,
  .gallery,
  .leadership-grid,
  .donation,
  .contact,
  .about-content,
  .president-profile,
  .contact-page-grid,
  .president-band,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .president-band {
    padding-top: 28px;
  }

  .president-copy {
    min-height: auto;
  }

  .president-signature {
    margin-top: 48px;
  }

  .president-portrait {
    width: min(360px, 100%);
    margin: 18px auto 28px;
  }

  .donation-amounts {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main nav {
    grid-template-columns: 1fr;
  }

  .sub-footer {
    flex-direction: column;
  }
}
