/* ChapelAdmin generated marketing artwork: images are kept as individual files. */
.generated-artwork {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(7, 30, 72, .12);
}
.generated-artwork-wrap {
  width: min(1320px, calc(100% - 40px));
  margin: 26px auto 34px;
}
.generated-feature-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1320px, calc(100% - 40px));
  margin: 32px auto 54px;
}
.generated-feature-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(7, 30, 72, .10);
}
.generated-feature-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.generated-feature-gallery figcaption {
  padding: 14px 18px;
  color: #10254f;
  font-size: 1rem;
  font-weight: 700;
}
.generated-assets-note {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto 36px;
  color: #52617a;
  font-size: .92rem;
}
@media (max-width: 760px) {
  .generated-artwork-wrap, .generated-feature-gallery, .generated-assets-note {
    width: calc(100% - 24px);
  }
  .generated-feature-gallery { grid-template-columns: 1fr; gap: 16px; }
  .generated-artwork { border-radius: 12px; }
}

/* Individual resource-card thumbnails, prepared at 400 × 250 px. */
.resource-card-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1320px, calc(100% - 40px));
  margin: 30px auto 56px;
}
.resource-card-thumb {
  display: block;
  overflow: hidden;
  color: #10254f;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2eaf5;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(7, 30, 72, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.resource-card-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(7, 30, 72, .14);
}
.resource-card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.resource-card-thumb-copy { padding: 16px 18px 18px; }
.resource-card-thumb-copy h3 { margin: 0 0 7px; color: #10254f; font-size: 1.08rem; }
.resource-card-thumb-copy p { margin: 0 0 12px; color: #53627a; line-height: 1.5; }
.resource-card-thumb-copy > span { color: #0758cb; font-weight: 700; }
@media (max-width: 900px) {
  .resource-card-thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .resource-card-thumbnails { grid-template-columns: 1fr; width: calc(100% - 24px); gap: 16px; }
}

/* Image clarity and proportion fixes for ChapelAdmin marketing pages. */
.suite-hero > img,
.suite-about-hero > img,
.suite-resource-hero > img,
.suite-help-hero > img,
.suite-mobile-hero > img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.suite-product-band > img,
.suite-contact-info > img,
.suite-help-bottom > img,
.suite-mobile-bottom > img,
.suite-about-hero img,
.suite-hero img {
  max-width: 100%;
  image-rendering: auto;
}
.resource-card-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

/* Resource page image repair: preserve source proportions and use crisp, matched 16:9 artwork. */
.suite-resource-grid article > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.suite-resource-hero > img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center;
}

/* Mobile page bottom artwork: dedicated 2:1 image, never stretch the source. */
.suite-mobile-bottom > img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  image-rendering: auto;
}
