#ai-water-power-giving.ai-directory-r19 { scroll-margin-top: 150px; background: #f6f8f3 !important; padding-top: 0; padding-bottom: 18px; }
#ai-water-power-giving.ai-directory-r19 .section-heading { margin-bottom: 24px; }
#ai-water-power-giving.ai-directory-r19 .ai-giving-intro { max-width: 68ch; font-family: "Montserrat", sans-serif; }

#ai-water-power-giving.ai-directory-r19 .ai-giving-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

#ai-water-power-giving.ai-directory-r19 .ai-giving-card,
#ai-water-power-giving.ai-directory-r19 article.ai-giving-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  height: auto;
  padding: 20px;
  border: 1px solid #d8ddd3;
  border-top: 3px solid #17633f;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

/* Normalize ALL org titles (h3 and h4) to one consistent style, including Climate Change AI */
#ai-water-power-giving.ai-directory-r19 .ai-giving-card h3,
#ai-water-power-giving.ai-directory-r19 .ai-giving-card h4,
#ai-water-power-giving.ai-directory-r19 .ai-giving-card .ai-related-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #17633f;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 4px;
}

#ai-water-power-giving.ai-directory-r19 .ai-org-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
#ai-water-power-giving.ai-directory-r19 .ai-org-heading > div:first-child { min-width: 0; }
#ai-water-power-giving.ai-directory-r19 .charity-tag {
  display: block;
  color: #17633f;
  font-family: "Montserrat", sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 4px;
}

/* Remove decorative number badge visually; keep accessible */
#ai-water-power-giving.ai-directory-r19 .ai-impact-number { display: none; }

/* De-emphasize logo marks to match tight layout, keep visible but compact */
#ai-water-power-giving.ai-directory-r19 .ai-org-mark {
  flex: 0 0 72px;
  width: 72px;
  height: 52px;
  background: #17633f;
  border-radius: 6px;
  padding: 8px;
}
#ai-water-power-giving.ai-directory-r19 .ai-org-mark img { width: 100%; height: 100%; object-fit: contain; }

#ai-water-power-giving.ai-directory-r19 .ai-giving-card p { color: #4a5247; font-family: "Montserrat", sans-serif; margin: 0; font-size: .95rem; }
#ai-water-power-giving.ai-directory-r19 .ai-support-purpose { color: #193b29; font-size: .88rem; margin-top: 2px; }

#ai-water-power-giving.ai-directory-r19 .ai-giving-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
#ai-water-power-giving.ai-directory-r19 .ai-giving-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: break-word;
}
#ai-water-power-giving.ai-directory-r19 .ai-giving-link.btn {
  background: #17633f;
  color: #f6f8f3;
  transform: none;
  transition: background-color .15s ease;
  padding: 10px 18px;
  border-radius: 6px;
}
#ai-water-power-giving.ai-directory-r19 .ai-giving-link.btn:hover { background: #193b29; }
#ai-water-power-giving.ai-directory-r19 .ai-giving-link--secondary {
  color: #17633f;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.5;
}
#ai-water-power-giving.ai-directory-r19 .ai-giving-link:focus-visible,
#ai-water-power-giving.ai-directory-r19 summary:focus-visible {
  outline: 3px solid #17633f;
  outline-offset: 3px;
}

#ai-water-power-giving.ai-directory-r19 .ai-giving-note,
#ai-water-power-giving.ai-directory-r19 .ai-impact-asof {
  margin: 16px 0 0;
  max-width: 80ch;
  color: #4a5247;
  font-size: .85rem;
}

/* Pending box, injected by Codex, scoped tight */
#ai-water-power-giving.ai-directory-r19 .ai-impact-pending {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #d8ddd3;
  border-left: 4px solid #17633f;
  border-radius: 8px;
  background: #fff;
}
#ai-water-power-giving.ai-directory-r19 .ai-impact-pending strong { color: #17633f; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; }
#ai-water-power-giving.ai-directory-r19 .ai-impact-pending p { margin: 8px 0 0; color: #4a5247; font-size: .9rem; }

/* Native disclosure styling */
#ai-water-power-giving.ai-directory-r19 details.ai-tool-disclosure,
#ai-water-power-giving.ai-directory-r19 details.ai-wider-disclosure {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid #d8ddd3;
  border-radius: 8px;
  background: #fff;
}
#ai-water-power-giving.ai-directory-r19 details summary {
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #17633f;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 2px 0;
}
#ai-water-power-giving.ai-directory-r19 .ai-tool-heading .eyebrow { display: none; }
#ai-water-power-giving.ai-directory-r19 .ai-tool-explainer {
  margin-top: 14px; padding: 0; border: none;
}
#ai-water-power-giving.ai-directory-r19 .ai-tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 24px;
  margin: 14px 0 0;
}
#ai-water-power-giving.ai-directory-r19 .ai-tool-grid dt { color: #193b29; font-size: 1rem; font-weight: 700; line-height: 1.5; }
#ai-water-power-giving.ai-directory-r19 .ai-tool-grid dt span { display: block; color: #4a5247; font-size: .85rem; font-weight: 400; }
#ai-water-power-giving.ai-directory-r19 .ai-tool-grid dd { margin: 6px 0 0; color: #4a5247; font-size: .9rem; }
#ai-water-power-giving.ai-directory-r19 .ai-tools-context { color: #4a5247; margin: 14px 0 0; max-width: 78ch; font-size: .88rem; }

/* Related giving section */
#ai-water-power-giving.ai-directory-r19 .ai-related-giving { margin-top: 28px; padding-top: 20px; border-top: 1px solid #d8ddd3; scroll-margin-top: 150px; }
#ai-water-power-giving.ai-directory-r19 .ai-related-giving > h3 { font-family: "Cormorant Garamond", Georgia, serif; margin: 0 0 10px; color: #17633f; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
#ai-water-power-giving.ai-directory-r19 .ai-related-intro { max-width: 78ch; margin: 0 0 18px; color: #4a5247; font-size: .95rem; }

/* Wider resource directory: compact coherent list, not forced grid */
#ai-water-power-giving.ai-directory-r19 .ai-resource-directory { margin-top: 24px; padding-top: 20px; border-top: 1px solid #d8ddd3; scroll-margin-top: 150px; }
#ai-water-power-giving.ai-directory-r19 .ai-resource-directory h3 { font-family: "Cormorant Garamond", Georgia, serif; color: #17633f; font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 10px; }
#ai-water-power-giving.ai-directory-r19 .ai-resource-directory h4 { font-family: "Cormorant Garamond", Georgia, serif; color: #193b29; font-size: 1.15rem; margin: 20px 0 10px; }
#ai-water-power-giving.ai-directory-r19 .ai-resource-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
#ai-water-power-giving.ai-directory-r19 .ai-resource-list li {
  padding: 12px 14px;
  border: 1px solid #e3e6dd;
  border-radius: 6px;
}
#ai-water-power-giving.ai-directory-r19 .ai-resource-list h5 { margin: 0 0 4px; font-family: "Montserrat", sans-serif; font-size: .98rem; }
#ai-water-power-giving.ai-directory-r19 .ai-resource-list h5 a { color: #17633f; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#ai-water-power-giving.ai-directory-r19 .ai-resource-list p { margin: 4px 0 0; color: #4a5247; font-size: .88rem; }
#ai-water-power-giving.ai-directory-r19 .ai-resource-limit { color: #5a6155; font-size: .82rem; font-style: italic; }

@media (min-width: 768px) {
  #ai-water-power-giving.ai-directory-r19 .ai-giving-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ai-water-power-giving.ai-directory-r19 .ai-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ai-water-power-giving.ai-directory-r19 .ai-resource-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  #ai-water-power-giving.ai-directory-r19 .ai-giving-grid.ai-impact-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ai-water-power-giving.ai-directory-r19 .ai-related-giving .ai-giving-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #ai-water-power-giving.ai-directory-r19 .ai-resource-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  #ai-water-power-giving.ai-directory-r19 .ai-giving-card { padding: 16px; }
  #ai-water-power-giving.ai-directory-r19 .ai-org-mark { flex-basis: 56px; width: 56px; height: 44px; padding: 6px; }
}

/* Integration repairs: one six-card directory and compact supporting content. */
#ai-water-power-giving.ai-directory-r19{padding:42px 0;background:#f6f8f3!important}
#ai-water-power-giving.ai-directory-r19 .section-heading{margin:0 0 18px}
#ai-water-power-giving.ai-directory-r19 .section-heading h2{max-width:none;font-size:clamp(32px,3.4vw,44px);line-height:1.12;margin-bottom:10px}
#ai-water-power-giving.ai-directory-r19 .ai-giving-intro{max-width:88ch;font-size:.95rem;line-height:1.6}
#ai-water-power-giving.ai-directory-r19 .ai-directory-nav{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid #cddacd}
#ai-water-power-giving.ai-directory-r19 .ai-directory-nav a{display:inline-flex;align-items:center;min-height:44px;color:#155c3c;font-size:.9rem;font-weight:700;text-underline-offset:4px}
#ai-water-power-giving.ai-directory-r19 .ai-primary-directory{margin:0;padding:0;border:0}
#ai-water-power-giving.ai-directory-r19 .ai-primary-directory>h3{margin-bottom:8px}
#ai-water-power-giving.ai-directory-r19 .ai-giving-card{gap:12px;padding:22px}
#ai-water-power-giving.ai-directory-r19 .ai-giving-card h4,#ai-water-power-giving.ai-directory-r19 .ai-giving-card .ai-related-title{font-size:30px;line-height:1.1;color:#193b29}
#ai-water-power-giving.ai-directory-r19 .ai-giving-card p{font-size:15px;line-height:1.65;color:#35483b}
#ai-water-power-giving.ai-directory-r19 .ai-org-heading{min-height:66px;margin:0;align-items:center}
#ai-water-power-giving.ai-directory-r19 .ai-giving-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 14px;padding-top:12px;border-top:1px solid #e1e8de}
#ai-water-power-giving.ai-directory-r19 .ai-giving-actions .btn{font-size:.86rem;min-height:44px;padding:10px 14px}
#ai-water-power-giving.ai-directory-r19 .ai-giving-actions .ai-giving-link--secondary{font-size:.82rem;min-height:44px;flex:1 1 160px}
#ai-water-power-giving.ai-directory-r19 .ai-card-guidance{border-top:1px solid #e1e8de;padding-top:8px}
#ai-water-power-giving.ai-directory-r19 details>summary{min-height:44px;align-content:center;line-height:1.5}
#ai-water-power-giving.ai-directory-r19 .ai-card-guidance summary{min-height:44px;display:list-item;align-content:center;font-family:Montserrat,sans-serif;font-size:.83rem;line-height:1.5;color:#285a3a}
#ai-water-power-giving.ai-directory-r19 .ai-card-guidance>div{display:grid;gap:10px;padding:6px 0 4px}
#ai-water-power-giving.ai-directory-r19 .ai-card-guidance p{font-size:.87rem}
#ai-water-power-giving.ai-directory-r19 .ai-funding-policy{font-size:.83rem;color:#193b29;background:#f2f6ee;padding:10px;border-radius:6px}
#ai-water-power-giving.ai-directory-r19 .ai-context-disclosure{margin:20px 0 0;padding:14px 18px;border:1px solid #ccd9ca;border-radius:8px;background:#eef4e9;scroll-margin-top:160px}
#ai-water-power-giving.ai-directory-r19 .ai-context-disclosure>summary{min-height:44px;line-height:1.5;font-family:Montserrat,sans-serif;font-size:.95rem}
#ai-water-power-giving.ai-directory-r19 .ai-pending-label{display:inline-block;margin-left:14px;font-family:Montserrat,sans-serif;font-size:.75rem;letter-spacing:.02em;color:#4d613e}
#ai-water-power-giving.ai-directory-r19 .ai-context-disclosure .ai-impact-pending{margin:8px 0 0;padding:10px 0 0;border:0;border-radius:0;background:none}
#ai-water-power-giving.ai-directory-r19 .ai-tool-disclosure{margin-top:12px;padding:14px 18px}
#ai-water-power-giving.ai-directory-r19 .ai-tool-disclosure>summary{min-height:44px;line-height:1.5;font-family:Montserrat,sans-serif;font-size:.95rem}
#ai-water-power-giving.ai-directory-r19 .ai-tool-explainer h3{font-size:24px;margin:8px 0 12px}
#ai-water-power-giving.ai-directory-r19 .ai-resource-directory{margin-top:24px;padding-top:24px}
#ai-water-power-giving.ai-directory-r19 .ai-resource-directory>p{font-size:.92rem;line-height:1.6}
#ai-water-power-giving.ai-directory-r19 .ai-resource-list li{padding:14px;background:#fff}
#ai-water-power-giving.ai-directory-r19 .ai-resource-list p{line-height:1.6}
#ai-water-power-giving.ai-directory-r19 [id]{scroll-margin-top:160px}
#ai-water-power-giving.ai-directory-r19 a:focus-visible{outline:3px solid #17633f;outline-offset:4px}
@media(min-width:768px){#ai-water-power-giving.ai-directory-r19 .ai-giving-grid.ai-impact-featured{grid-template-columns:repeat(2,minmax(0,1fr))}#ai-water-power-giving.ai-directory-r19 .ai-resource-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){#ai-water-power-giving.ai-directory-r19,#ai-water-power-giving.ai-directory-r19 [id]{scroll-margin-top:210px}}
@media(max-width:480px){#ai-water-power-giving.ai-directory-r19{padding:32px 0}#ai-water-power-giving.ai-directory-r19 .ai-giving-card{padding:18px}#ai-water-power-giving.ai-directory-r19 .ai-giving-card h4,#ai-water-power-giving.ai-directory-r19 .ai-giving-card .ai-related-title{font-size:28px}#ai-water-power-giving.ai-directory-r19 .ai-directory-nav{gap:4px 16px}#ai-water-power-giving.ai-directory-r19 .ai-pending-label{margin-left:8px}}
@media(prefers-reduced-motion:reduce){#ai-water-power-giving.ai-directory-r19 .ai-giving-link{transition:none}}
