/* Financial Transparency tables: readable on phones */
@media (max-width: 782px) {
  .page-id-9 .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-id-9 .wp-block-table table {
    min-width: 100%;
    table-layout: auto !important;
  }

  .page-id-9 .wp-block-table th,
  .page-id-9 .wp-block-table td {
    min-width: 7rem;
    vertical-align: top;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}

/* Homepage Scripture feature */
.page-id-8 .ng-home-feature {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 10%, rgba(226, 181, 74, 0.2), transparent 34%),
    linear-gradient(145deg, #151515 0%, #222831 55%, #101010 100%);
  border-top: 4px solid #e2b54a;
  border-bottom: 4px solid #e2b54a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-block-start: 0 !important;
  padding: clamp(3rem, 7vw, 5.25rem) clamp(1.25rem, 5vw, 4rem);
}

.page-id-8 .ng-home-feature__title {
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
}

.page-id-8 .ng-home-feature__intro {
  color: #f5f5f5;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 55ch;
  margin-inline: auto;
}

.page-id-8 .ng-scripture-rotator {
  position: relative;
  max-width: 58rem;
  margin: 2.5rem auto;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  overflow: hidden;
  text-align: center;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(226, 181, 74, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.page-id-8 .ng-scripture-frame {
  position: relative;
  min-height: 17rem;
}

.page-id-8 .ng-scripture {
  position: absolute;
  inset: 50% 0 auto;
  margin: 0;
  padding: 0 1rem;
  border: 0;
  opacity: 0;
  transform: translateY(-44%);
  animation: ngVerseFade 30s infinite ease-in-out;
}

.page-id-8 .ng-scripture--2 {
  animation-delay: 10s;
}

.page-id-8 .ng-scripture--3 {
  animation-delay: 20s;
}

.page-id-8 .ng-scripture p {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.55;
  margin: 0;
}

.page-id-8 .ng-scripture cite {
  display: block;
  color: #f0cb6f;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 1rem;
}

.page-id-8 .ng-scripture-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-id-8 .ng-scripture-control {
  display: inline-block;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1;
  padding: 0.65rem 1rem;
}

.page-id-8 .ng-scripture-control:hover {
  color: #151515;
  background: #f0cb6f;
  border-color: #f0cb6f;
}

.page-id-8 .ng-scripture-toggle:focus-visible ~ .ng-scripture-control {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.page-id-8 .ng-scripture-toggle:checked ~ .ng-scripture-frame .ng-scripture {
  animation-play-state: paused;
}

.page-id-8 .ng-scripture-control__resume {
  display: none;
}

.page-id-8 .ng-scripture-toggle:checked ~ .ng-scripture-control .ng-scripture-control__pause {
  display: none;
}

.page-id-8 .ng-scripture-toggle:checked ~ .ng-scripture-control .ng-scripture-control__resume {
  display: inline;
}

.page-id-8 .ng-scripture-version {
  color: #d6d6d6;
  font-size: 0.72rem;
  line-height: 1.4;
  margin: 1rem auto 0;
  max-width: 65ch;
}

.page-id-8 .ng-home-feature .wp-block-buttons {
  gap: 0.9rem;
  margin-top: 2rem;
}

.page-id-8 .ng-home-feature .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  color: #151515 !important;
  background: #e2b54a !important;
  border: 2px solid #e2b54a;
  font-weight: 700;
}

.page-id-8 .ng-home-feature .wp-block-button.is-style-outline .wp-block-button__link {
  color: #ffffff !important;
  background: transparent !important;
  border: 2px solid #ffffff;
  font-weight: 700;
}

.page-id-8 .ng-home-feature .wp-block-button__link:hover {
  color: #151515 !important;
  background: #f0cb6f !important;
  border-color: #f0cb6f !important;
}

@keyframes ngVerseFade {
  0% {
    opacity: 0;
    transform: translateY(-44%);
  }
  3%, 30% {
    opacity: 1;
    transform: translateY(-50%);
  }
  33%, 100% {
    opacity: 0;
    transform: translateY(-56%);
  }
}

@media (max-width: 782px) {
  .page-id-8 .ng-home-feature {
    padding: 3rem 1.25rem;
  }

  .page-id-8 .ng-home-feature__title {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .page-id-8 .ng-scripture-rotator {
    margin-block: 2rem;
    padding: 1.35rem 1rem;
    border-radius: 14px;
  }

  .page-id-8 .ng-scripture-frame {
    min-height: 20rem;
  }

  .page-id-8 .ng-scripture {
    padding: 0;
  }

  .page-id-8 .ng-scripture p {
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .page-id-8 .ng-home-feature .wp-block-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .page-id-8 .ng-home-feature .wp-block-button,
  .page-id-8 .ng-home-feature .wp-block-button__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-id-8 .ng-scripture {
    display: none;
    position: static;
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .page-id-8 .ng-scripture--1 {
    display: block;
  }

  .page-id-8 .ng-scripture-frame {
    min-height: 0;
  }

  .page-id-8 .ng-scripture-control {
    display: none;
  }
}
/* Financial Transparency tables: readable on phones */
@media (max-width: 782px) {
  .page-id-9 .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-id-9 .wp-block-table table {
    min-width: 100%;
    table-layout: auto !important;
  }

  .page-id-9 .wp-block-table th,
  .page-id-9 .wp-block-table td {
    min-width: 7rem;
    vertical-align: top;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}

/* Homepage Scripture feature */
.page-id-8 .ng-home-feature {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 10%, rgba(226, 181, 74, 0.2), transparent 34%),
    linear-gradient(145deg, #151515 0%, #222831 55%, #101010 100%);
  border-top: 4px solid #e2b54a;
  border-bottom: 4px solid #e2b54a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-block-start: 0 !important;
  padding: clamp(2.75rem, 4.5vw, 3.75rem) clamp(1.25rem, 5vw, 4rem);
}

.page-id-8 .ng-home-feature__title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
}

.page-id-8 .ng-home-feature__intro {
  color: #f5f5f5;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 55ch;
  margin-inline: auto;
}

.page-id-8 .ng-scripture-rotator {
  position: relative;
  max-width: 58rem;
  margin: 2rem auto 1.75rem;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  overflow: hidden;
  text-align: center;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(226, 181, 74, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.page-id-8 .ng-scripture-frame {
  position: relative;
  min-height: 13.5rem;
}

.page-id-8 .ng-scripture {
  position: absolute;
  inset: 50% 0 auto;
  margin: 0;
  padding: 0 1rem;
  border: 0;
  opacity: 0;
  transform: translateY(-44%);
  animation: ngVerseFade 30s infinite ease-in-out;
}

.page-id-8 .ng-scripture--2 {
  animation-delay: 10s;
}

.page-id-8 .ng-scripture--3 {
  animation-delay: 20s;
}

.page-id-8 .ng-scripture p {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.55;
  margin: 0;
}

.page-id-8 .ng-scripture cite {
  display: block;
  color: #f0cb6f;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 1rem;
}

.page-id-8 .ng-scripture-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-id-8 .ng-scripture-control {
  display: inline-block;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1;
  padding: 0.65rem 1rem;
}

.page-id-8 .ng-scripture-control:hover {
  color: #151515;
  background: #f0cb6f;
  border-color: #f0cb6f;
}

.page-id-8 .ng-scripture-toggle:focus-visible ~ .ng-scripture-control {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.page-id-8 .ng-scripture-toggle:checked ~ .ng-scripture-frame .ng-scripture {
  animation-play-state: paused;
}

.page-id-8 .ng-scripture-control__resume {
  display: none;
}

.page-id-8 .ng-scripture-toggle:checked ~ .ng-scripture-control .ng-scripture-control__pause {
  display: none;
}

.page-id-8 .ng-scripture-toggle:checked ~ .ng-scripture-control .ng-scripture-control__resume {
  display: inline;
}

.page-id-8 .ng-scripture-version {
  color: #d6d6d6;
  font-size: 0.72rem;
  line-height: 1.4;
  margin: 1rem auto 0;
  max-width: 65ch;
}

.page-id-8 .ng-home-feature .wp-block-buttons {
  gap: 0.9rem;
  margin-top: 2rem;
}

.page-id-8 .ng-home-feature .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  color: #151515 !important;
  background: #e2b54a !important;
  border: 2px solid #e2b54a;
  font-weight: 700;
}

.page-id-8 .ng-home-feature .wp-block-button.is-style-outline .wp-block-button__link {
  color: #ffffff !important;
  background: transparent !important;
  border: 2px solid #ffffff;
  font-weight: 700;
}

.page-id-8 .ng-home-feature .wp-block-button__link:hover {
  color: #151515 !important;
  background: #f0cb6f !important;
  border-color: #f0cb6f !important;
}

@keyframes ngVerseFade {
  0% {
    opacity: 0;
    transform: translateY(-44%);
  }
  3%, 30% {
    opacity: 1;
    transform: translateY(-50%);
  }
  33%, 100% {
    opacity: 0;
    transform: translateY(-56%);
  }
}

@media (max-width: 782px) {
  .page-id-8 .ng-home-feature {
    padding: 2.5rem 1rem;
  }

  .page-id-8 .ng-home-feature__title {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .page-id-8 .ng-scripture-rotator {
    margin-block: 1.75rem;
    padding: 1.35rem 1rem;
    border-radius: 14px;
  }

  .page-id-8 .ng-scripture-frame {
    min-height: 17.5rem;
  }

  .page-id-8 .ng-scripture {
    padding: 0;
  }

  .page-id-8 .ng-scripture p {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .page-id-8 .ng-home-feature .wp-block-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .page-id-8 .ng-home-feature .wp-block-button,
  .page-id-8 .ng-home-feature .wp-block-button__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-id-8 .ng-scripture {
    display: none;
    position: static;
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .page-id-8 .ng-scripture--1 {
    display: block;
  }

  .page-id-8 .ng-scripture-frame {
    min-height: 0;
  }

  .page-id-8 .ng-scripture-control {
    display: none;
  }
}
/* Financial Transparency tables: readable on phones */
@media (max-width: 782px) {
  .page-id-9 .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-id-9 .wp-block-table table {
    min-width: 100%;
    table-layout: auto !important;
  }

  .page-id-9 .wp-block-table th,
  .page-id-9 .wp-block-table td {
    min-width: 7rem;
    vertical-align: top;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
}