
/* The cloudbank is a lossless crop of the original 1664 x 936 MGSG intro image. */
:root {
  --mgsg-cloud-card-image:
    linear-gradient(108deg, rgba(9, 29, 53, .78), rgba(13, 33, 55, .75) 64%, rgba(13, 33, 55, .74)),
    url("/assets/mgsg-intro-cloudbank.webp");
}
:is([data-mgsg-cloud-card], [data-testid="mgsg-cloud-card"],
    [data-mgsg-cloud-band]):not(:where(#mgsg-giving-clouds, #mgsg-missions-clouds, #mgsg-partner-clouds)) {
  background-image: var(--mgsg-cloud-card-image);
  background-size: cover, cover;
  background-repeat: no-repeat;
  background-position: center, 67% center;
  background-color: #1d344d !important;
}
/* Tall panels show the cloudbank at a steady scale, including full Bible chapters.
   Each half of the tile contains the original pixels, reversed vertically for a seamless join. */
:is([data-mgsg-cloud-card], [data-testid="mgsg-cloud-card"]):not([data-mgsg-cloud-band]) {
  background-image:
    linear-gradient(108deg, rgba(9,29,53,.78), rgba(13,33,55,.75) 64%, rgba(13,33,55,.74)),
    url("/assets/mgsg-intro-cloudbank-tile.webp");
  background-size: cover, max(100%, 1240px) auto;
  background-position: center, 67% top;
  background-repeat: no-repeat, repeat-y;
}
/* Dark ink on the former gray Pastor’s Desk title strip needs a light counterpart. */
[data-testid="mgsg-cloud-card"] > :is(h1, h2, h3, [role="heading"]) {
  color: #f8faff;
}
/* Keep the membership / giving / missions banners' approved original sky and lettering. */
[data-mgsg-cloud-band]:not(:where(#mgsg-giving-clouds, #mgsg-missions-clouds, #mgsg-partner-clouds)) > :is(div, span, h1, h2, h3, [role="heading"]) {
  color: #f8faff !important;
}
[data-mgsg-cloud-card-heading] {
  background-color: transparent !important;
  background-image: none !important;
  color: #f8faff !important;
}
#mgsg-yearly-heading[data-mgsg-cloud-band] > * {
  color: #ffda73 !important;
}
/* Keep the previously requested fully gold lettering on Prayer and Grow. */
:is(#mgsg-prayer-intro, #mgsg-grow-intro) > * {
  color: #ffd34d;
}
@media (forced-colors: active) {
  :is([data-mgsg-cloud-card], [data-testid="mgsg-cloud-card"], [data-mgsg-cloud-band]) {
    background-image: none;
  }
}
