/* SAFF Legacy Giving — navy and gold design (v1.1.0).
   Every selector is scoped to .saff-lg to avoid changing the rest of the site. */
.saff-lg {
  --saff-lg-navy: #142b40;
  --saff-lg-navy-deep: #0e2034;
  --saff-lg-gold: #ebbd65;
  --saff-lg-white: #f7f9fc;
  --saff-lg-muted: #d3dce5;
  box-sizing: border-box;
  width: min(1140px, calc(100% - 36px));
  margin: 56px auto;
  font-family: inherit;
  color: var(--saff-lg-white);
}
.saff-lg *, .saff-lg *::before, .saff-lg *::after { box-sizing: border-box; }
.saff-lg__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  overflow: hidden;
  border: 1px solid rgba(221, 189, 121, .19);
  border-radius: 22px;
  background: var(--saff-lg-navy);
  box-shadow: 0 14px 40px rgba(9, 27, 43, .13);
}
.saff-lg__copy {
  min-width: 0;
  padding: clamp(26px, 4.5vw, 58px);
  background: linear-gradient(140deg, #142b40 0%, #173249 62%, #11263b 100%);
}
.saff-lg__eyebrow {
  margin: 0 0 14px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .17em;
  line-height: 1.5 !important;
  color: var(--saff-lg-gold) !important;
}
.saff-lg__title {
  margin: 0 !important;
  font-size: clamp(30px, 3.4vw, 45px) !important;
  line-height: 1.13 !important;
  font-weight: 800 !important;
  letter-spacing: -.03em;
  text-transform: none !important;
  color: #fff !important;
}
.saff-lg__rule {
  width: 62px;
  height: 3px;
  margin: 22px 0;
  border-radius: 2px;
  background: var(--saff-lg-gold);
}
.saff-lg__lead {
  margin: 0 0 18px !important;
  font-size: clamp(17px, 1.6vw, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: var(--saff-lg-gold) !important;
}
.saff-lg__body p {
  margin: 0 0 13px !important;
  font-size: 16px !important;
  line-height: 1.78 !important;
  color: var(--saff-lg-muted) !important;
}
.saff-lg__note {
  padding-left: 13px;
  margin: 16px 0 23px !important;
  border-left: 2px solid var(--saff-lg-gold);
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #dbe3eb !important;
}
.saff-lg__button,
.saff-lg__button:visited {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid #f0c877;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0ca7c 0%, #e6b758 100%);
  box-shadow: 0 5px 15px rgba(5, 18, 31, .22);
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  color: #152436 !important;
  text-align: center;
  text-decoration: none !important;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.saff-lg__button:hover,
.saff-lg__button:focus-visible {
  background: #ffdc90;
  color: #0d2033 !important;
  box-shadow: 0 7px 19px rgba(5, 18, 31, .30);
  transform: translateY(-1px);
}
.saff-lg__button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.saff-lg__arrow { font-size: 21px; line-height: 1; }
.saff-lg__media {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  background: #0c1d31;
}
.saff-lg__photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}
/* Styled placeholder remains until the user uploads a photograph in Settings. */
.saff-lg__placeholder {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 440px;
  padding: 40px 26px;
  overflow: hidden;
  background: radial-gradient(circle at 52% 37%, rgba(103, 133, 152, .26), transparent 53%),
              linear-gradient(145deg, #102740 0%, #0e2034 62%, #0a1a2e 100%);
  color: #fff;
  text-align: center;
}
.saff-lg__placeholder::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border: 1px solid rgba(220, 183, 104, .25);
  border-radius: 180px 180px 14px 14px;
}
.saff-lg__placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(220, 183, 104, .15);
  border-radius: 50%;
}
.saff-lg__halo {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(220, 183, 104, .16);
  border-radius: 50%;
}
.saff-lg__placeholder-mark {
  margin-bottom: 20px;
  font-size: 46px;
  line-height: 1;
  color: var(--saff-lg-gold);
}
.saff-lg__placeholder-copy {
  font-family: Georgia, serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 600;
  line-height: 1.19;
  color: #fff;
}
.saff-lg__placeholder-sub {
  margin-top: 27px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  color: var(--saff-lg-gold);
}
@media (max-width: 780px) {
  .saff-lg { width: min(680px, calc(100% - 24px)); margin: 32px auto; }
  .saff-lg__inner { grid-template-columns: 1fr; border-radius: 18px; }
  .saff-lg__copy { padding: 30px 25px 32px; }
  .saff-lg__eyebrow, .saff-lg__title, .saff-lg__lead, .saff-lg__body, .saff-lg__note { text-align: center; }
  .saff-lg__rule { margin: 19px auto; }
  .saff-lg__note { padding: 16px 0 0; border-left: 0; border-top: 2px solid var(--saff-lg-gold); }
  .saff-lg__button { display: flex; max-width: 400px; margin: 0 auto; }
  .saff-lg__media, .saff-lg__placeholder { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .saff-lg__button { transition: none; } }
