/*
 * SeedChange native blocks (added 2026-11)
 * Styles for: sc-donation-hero, sc-cta-band, sc-testimonials, sc-milestones.
 * Loaded after template_parts/blocks/css/style.css. Uses the theme palette
 * (sass/banfieldStyles/_variables.scss) and the theme's 10px root font size.
 * Every rule is scoped to an .sc-* class, so existing blocks are not affected.
 */

/* ---------- Shared ---------- */

.sc-bg-none { background-color: transparent; }
.sc-bg-light-grey { background-color: #f4f4f1; }
.sc-bg-indigo { background-color: #09183d; }
.sc-bg-aquamarine { background-color: #007471; }
.sc-bg-teal { background-color: #27bdbe; }
.sc-bg-red { background-color: #e65a3e; }
.sc-bg-pink { background-color: #c83e85; }
.sc-bg-mint { background-color: #47b972; }
.sc-bg-yellow { background-color: #ffde2f; }

section.sc-bg-light-grey.sc-donation-hero,
section.sc-bg-light-grey.sc-testimonials,
section.sc-bg-light-grey.sc-milestones {
  padding: 8rem 0;
}

.sc-eyebrow {
  font-family: motiva-sans, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e65a3e;
  margin: 0 0 1.2rem;
}

.sc-preview-note {
  font-size: 1.4rem;
  font-style: italic;
  opacity: 0.7;
  margin-top: 1.6rem;
}

/* ---------- Donation hero ---------- */

.sc-donation-hero {
  padding-top: 4rem;
}

.sc-donation-hero .flex {
  align-items: center;
}

.sc-donation-hero.image-right .sc-dh-media {
  order: 2;
}

.sc-donation-hero.image-right .sc-dh-content {
  order: 1;
}

.sc-donation-hero .sc-dh-image {
  display: block;
  width: 100%;
  height: auto;
}

.sc-donation-hero .sc-dh-heading {
  margin-top: 0;
  margin-bottom: 2.4rem;
}

.sc-donation-hero h1.sc-dh-heading {
  font-size: 4.2rem;
  line-height: 1.15;
}

.sc-donation-hero h2.sc-dh-heading {
  font-size: 3.6rem;
  line-height: 1.2;
}

.sc-donation-hero .sc-dh-text p:last-child {
  margin-bottom: 0;
}

.sc-donation-hero .sc-dh-form {
  margin-top: 3.2rem;
  min-height: 4rem;
}

@media (max-width: 639px) {
  .sc-donation-hero .sc-dh-media,
  .sc-donation-hero.image-right .sc-dh-media {
    order: 0;
    margin-bottom: 3.2rem;
  }
  .sc-donation-hero.image-right .sc-dh-content {
    order: 1;
  }
  .sc-donation-hero h1.sc-dh-heading,
  .sc-donation-hero h2.sc-dh-heading {
    font-size: 3rem;
  }
}

/* ---------- CTA band ---------- */

.sc-cta-band {
  position: relative;
  padding: 8rem 0;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.sc-cta-band.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(9, 24, 61, 0.6);
}

.sc-cta-band .grid-container {
  position: relative;
}

.sc-cta-band.align-center .sc-cta-content {
  text-align: center;
}

.sc-cta-band .sc-cta-heading {
  color: inherit;
  margin-top: 0;
  margin-bottom: 2rem;
}

.sc-cta-band .sc-cta-text,
.sc-cta-band .sc-cta-text p {
  color: inherit;
}

.sc-cta-band .sc-cta-text p:last-child {
  margin-bottom: 0;
}

.sc-cta-band .sc-eyebrow {
  color: inherit;
  opacity: 0.85;
}

.sc-cta-band .btn {
  margin-top: 3.2rem;
}

/* Light bands use the theme's dark text colour. */
.sc-cta-band.sc-bg-none:not(.has-image),
.sc-cta-band.sc-bg-light-grey:not(.has-image),
.sc-cta-band.sc-bg-yellow:not(.has-image) {
  color: #09183d;
}

.sc-cta-band.sc-bg-none:not(.has-image) .sc-eyebrow,
.sc-cta-band.sc-bg-light-grey:not(.has-image) .sc-eyebrow {
  color: #e65a3e;
  opacity: 1;
}

/* ---------- Testimonials ---------- */

.sc-testimonials .sc-tm-heading {
  margin-top: 0;
}

.sc-testimonials .sc-tm-list {
  row-gap: 3.2rem;
}

.sc-testimonials .sc-tm-item {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.2rem;
  background-color: #fff;
  border-top: 4px solid #e65a3e;
}

.sc-testimonials.sc-bg-none .sc-tm-item {
  background-color: #f4f4f1;
}

/* Keeps the theme's yellow quote icon (blockquote background in style.css),
   moved to the left and given room above the text. */
.sc-testimonials .sc-tm-quote {
  margin: 0 0 2.4rem;
  padding: 5.6rem 0 0;
  border: 0;
  background-position: left top;
  background-size: 3.6rem auto;
  font-size: 1.8rem;
  line-height: 1.6;
  font-style: italic;
  color: #09183d;
}

.sc-testimonials.count-1 .sc-tm-quote {
  background-position: center top;
}

.sc-testimonials .sc-tm-person {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.sc-testimonials .sc-tm-photo {
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sc-testimonials .sc-tm-meta {
  display: flex;
  flex-direction: column;
}

.sc-testimonials .sc-tm-name {
  font-family: motiva-sans, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
}

.sc-testimonials .sc-tm-role {
  font-size: 1.4rem;
  opacity: 0.8;
}

.sc-testimonials.count-1 .sc-tm-item {
  text-align: center;
  align-items: center;
}

/* ---------- Milestones ---------- */

.sc-milestones .sc-ms-heading {
  margin-top: 0;
  margin-bottom: 1.6rem;
}

.sc-milestones .sc-ms-intro {
  margin-bottom: 4rem;
}

.sc-milestones .sc-ms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Vertical line through the markers. */
.sc-milestones .sc-ms-list::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  bottom: 0.8rem;
  left: 1.1rem;
  width: 2px;
  background-color: #e6e6e6;
}

.sc-milestones .sc-ms-item {
  position: relative;
  display: flex;
  gap: 2.4rem;
  margin: 0 0 4rem;
}

.sc-milestones .sc-ms-item:last-child {
  margin-bottom: 0;
}

.sc-milestones .sc-ms-marker {
  position: relative;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background-color: #e65a3e;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #e65a3e;
}

.sc-milestones .sc-ms-item.has-icon .sc-ms-marker {
  width: 4.8rem;
  height: 4.8rem;
  margin-left: -1.2rem;
  margin-top: 0;
  background-color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-milestones .sc-ms-icon {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.sc-milestones .sc-ms-label {
  font-family: motiva-sans, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007471;
  margin: 0 0 0.4rem;
}

.sc-milestones .sc-ms-title {
  margin: 0 0 0.8rem;
  line-height: 1.3;
}

.sc-milestones .sc-ms-text {
  margin: 0;
}
