/* Homepage photograph hero. Other routes use the existing site stylesheet. */
.grant-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f4f7ef;
  border-bottom: 1px solid #dfe6da;
}
.grant-hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 66%;
  margin: 0;
}
.grant-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.grant-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f4f7ef 0%, rgba(244,247,239,.96) 7%, rgba(244,247,239,.65) 21%, rgba(244,247,239,0) 40%);
  pointer-events: none;
}
.grant-hero-shell { min-height: 610px; display: flex; align-items: center; }
.grant-hero-copy { width: 550px; max-width: 49%; padding: 62px 0 66px; }
.grant-hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: #1b6655; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.grant-hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #21836a; }
.grant-hero h1 { margin: 19px 0 23px; color: #173d32; font-size: clamp(42px,4.1vw,59px); font-weight: 850; line-height: 1.22; letter-spacing: -.065em; }
.grant-hero h1 em { color: #126951; font-style: normal; }
.grant-hero-description { margin: 0 0 27px; color: #506257; font-size: 17px; line-height: 1.85; letter-spacing: -.025em; }
.grant-hero .search-box { align-items: center; max-width: 520px; border-color: #d4dfd1; border-radius: 12px; box-shadow: 0 8px 28px rgba(36,67,43,.07); }
.grant-hero-search-icon { flex: 0 0 20px; width: 20px; height: 20px; margin-left: 11px; color: #819082; }
.grant-hero .search-box input { padding: 13px 11px; font-size: 15px; }
.grant-hero .search-box input::placeholder { color: #7e897f; opacity: 1; }
.grant-hero .search-box button { flex-shrink: 0; padding: 12px 19px; background: #126951; border-radius: 8px; font-size: 15px; }
.grant-hero .search-box:focus-within { outline: 2px solid #126951; outline-offset: 3px; }
.grant-hero-topics { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; margin-top: 13px; font-size: 13px; }
.grant-hero-topics > span { color: #6b7b6c; }
.grant-hero-topics a { color: #4a6253; text-decoration: none; }
.grant-hero-topics a:hover { color: #126951; text-decoration: underline; }
.grant-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 22px; margin-top: 29px; }
.grant-hero-primary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 51px; padding: 11px 21px; color: #fff; background: #126951; border: 1px solid #126951; border-radius: 8px; font-size: 15px; font-weight: 800; text-decoration: none; transition: background .18s; }
.grant-hero-primary:hover { background: #084b40; }
.grant-hero-secondary { display: inline-flex; gap: 9px; color: #2f5643; font-size: 14px; font-weight: 750; text-decoration: none; }
.grant-hero-secondary:hover { text-decoration: underline; }
.grant-hero a:focus-visible, .grant-overview a:focus-visible { outline: 2px solid #126951; outline-offset: 4px; }
.grant-overview { background: #fff; border-bottom: 1px solid var(--line); }
.grant-overview-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 100px; padding-block: 22px; }
.grant-overview-intro { display: flex; align-items: center; gap: 14px; }
.grant-overview-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; background: #f0f6ed; color: #126951; border-radius: 12px; }
.grant-overview-icon svg { width: 23px; height: 23px; }
.grant-overview-intro strong, .grant-overview-intro span { display: block; }
.grant-overview-intro strong { font-size: 16px; letter-spacing: -.035em; }
.grant-overview-intro div > span { color: #738071; font-size: 13px; }
.grant-overview-stats { display: flex; align-items: center; gap: 34px; margin: 0; }
.grant-overview-stats > div { display: flex; align-items: baseline; gap: 12px; }
.grant-overview-stats > div + div { padding-left: 34px; border-left: 1px solid #e0e8dc; }
.grant-overview-stats dt { color: #687767; font-size: 13px; }
.grant-overview-stats dd { margin: 0; color: #176549; font-size: 25px; line-height: 1.2; font-weight: 850; letter-spacing: -.04em; }
.grant-overview-stats dd small { margin-left: 3px; font-size: 13px; font-weight: 600; }
@media (min-width: 1600px) { .grant-hero-photo { width: calc(50% + 265px); } }
@media (max-width: 1100px) and (min-width: 861px) {
  .grant-hero-copy { max-width: 51%; }
  .grant-hero h1 { font-size: 45px; }
  .grant-hero-description { font-size: 15px; }
  .grant-overview-stats { gap: 22px; }
  .grant-overview-stats > div + div { padding-left: 22px; }
}
@media (max-width: 860px) {
  .grant-hero-photo { position: relative; z-index: 0; inset: auto; width: 100%; height: clamp(235px,48vw,340px); }
  .grant-hero-photo img { object-position: 74% 45%; }
  .grant-hero-photo::after { background: linear-gradient(0deg, #f4f7ef 0%, rgba(244,247,239,0) 22%); }
  .grant-hero-shell { min-height: auto; }
  .grant-hero-copy { width: 100%; max-width: 100%; padding: 17px 0 38px; }
  .grant-hero h1 { margin: 15px 0 17px; font-size: clamp(35px,6.2vw,48px); line-height: 1.22; }
  .grant-hero-description { margin-bottom: 22px; font-size: 15px; line-height: 1.8; }
  .grant-hero .search-box { max-width: none; }
  .grant-hero-actions { margin-top: 24px; }
  .grant-overview-inner { flex-wrap: wrap; justify-content: flex-start; gap: 16px; padding-block: 22px; }
  .grant-overview-intro { width: 100%; }
  .grant-overview-stats { gap: 28px; padding-left: 58px; }
  .grant-overview-stats > div + div { padding-left: 28px; }
  .grant-overview-stats dd { font-size: 22px; }
}
@media (max-width: 460px) {
  .grant-hero .container, .grant-overview .container { width: calc(100% - 36px); }
  .grant-hero-kicker { font-size: 12px; }
  .grant-hero h1 { font-size: 35px; }
  .grant-hero .search-box input { padding-inline: 8px; font-size: 13px; }
  .grant-hero .search-box button { padding-inline: 14px; font-size: 14px; }
  .grant-hero-actions { gap: 14px; }
  .grant-hero-primary { gap: 17px; padding-inline: 17px; font-size: 14px; }
  .grant-hero-secondary { gap: 5px; font-size: 12px; }
  .grant-overview-intro strong { font-size: 15px; }
  .grant-overview-stats { width: 100%; justify-content: space-between; gap: 14px; padding-left: 0; }
  .grant-overview-stats > div { gap: 9px; }
  .grant-overview-stats > div + div { padding-left: 17px; }
  .grant-overview-stats dt { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .grant-hero-primary { transition: none; } }
