/* Topic pages share the typography and green palette of the site's V1 family pages. */
#parentNeeds .kb-topic-link {
  display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
  min-height:0; border:1px solid #d5ebe8; border-radius:14px; overflow:hidden;
  background:white; color:#174f57; box-shadow:none; transition:border-color .16s,box-shadow .16s;
}
#parentNeeds .kb-topic-link:hover,#parentNeeds .kb-topic-link:focus-visible {border-color:#42787b;box-shadow:0 4px 14px #174f5712}
#parentNeeds .kb-topic-link::after {content:none}
#parentNeeds .kb-topic-link > img {position:static;display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1.9;object-fit:cover;border:none;border-radius:0;opacity:1;filter:none}
#parentNeeds .kb-topic-link > div {position:static;padding:15px 17px 17px;background:white;width:100%;box-sizing:border-box}
#parentNeeds .kb-topic-link h3 {margin:0 0 8px;line-height:1.4;color:#174f57;font-size:clamp(1rem,1.45vw,1.24rem)}
.v14-labels {list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:3px 0;color:#53676b}
.v14-labels li {font-size:.91rem;line-height:1.62;max-width:100%;margin:0}
.v14-labels li:not(:last-child)::after {content:"·";color:#42787b;margin:0 .36em}
.family-topic .t55-hero-photo img {display:block;object-fit:cover}
.v14-gallery {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:25px 21px}
.v14-scene {grid-column:span 2;min-width:0;margin:0}
.v14-scene:nth-child(-n+2) {grid-column:span 3}
.v14-scene figure {margin:0;border-radius:14px;overflow:hidden;background:#e9eee8}
.v14-scene img {display:block;width:100%;height:auto;aspect-ratio:1.63;object-fit:cover}
.v14-scene:nth-child(-n+2) img {aspect-ratio:1.98}
.v14-scene h3 {font-size:clamp(1.12rem,1.8vw,1.5rem);line-height:1.38;margin:12px 0 4px;color:#174f57}
.v14-scene p,.v14-context {font-size:1rem;line-height:1.7;color:#53676b;margin:0}
.v14-context {margin:-7px 0 22px}
.family-topic .v14-support {background:#f5fbfa}
.v14-network {--wire:#65a7a7;position:relative;isolation:isolate;width:min(100%,900px);margin:14px auto 0;padding:0}
.v14-hub {position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;width:clamp(145px,18vw,180px);aspect-ratio:1;box-sizing:border-box;background:#08777b;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px}
.v14-hub small {font-size:.87rem;line-height:1.45;color:#f5fbfa;margin-bottom:6px}
.v14-hub strong {font-size:1.18rem;line-height:1.45}
.v14-spokes {list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:24px 30%;margin:0;padding:5px 0}
.v14-role {position:relative;display:flex;flex-direction:column;justify-content:center;min-height:76px;background:white;padding:12px 19px;border:1px solid #d5ebe8;border-radius:12px;color:#53676b;font-size:.98rem;line-height:1.55;box-sizing:border-box}
.v14-role strong {color:#174f57;font-size:1.1rem}
.v14-role::after {content:"";position:absolute;height:1px;width:52%;background:var(--wire);z-index:-1}
.v14-role:nth-child(odd)::after {left:100%;top:55%;transform-origin:left}
.v14-role:nth-child(even)::after {right:100%;top:55%;transform-origin:right}
.v14-role:nth-child(1)::after,.v14-role:nth-child(4)::after {transform:rotate(18deg)}
.v14-role:nth-child(2)::after,.v14-role:nth-child(3)::after {transform:rotate(-18deg)}
.family-topic .v14-teaching {background:#fff}
.v14-cycle {margin-top:18px;padding:4px 0}
.v14-cycle ol {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
.v14-cycle li {position:relative;border:1px solid #d5ebe8;border-radius:12px;padding:16px 12px;background:#f5fbfa;display:flex;flex-direction:column;justify-content:center;text-align:center}
.v14-cycle li:not(:last-child)::after {content:"→";position:absolute;top:50%;right:-23px;width:21px;transform:translateY(-50%);font-size:1.2rem;color:#42787b}
.v14-cycle h3 {color:#174f57;font-size:1.06rem;line-height:1.4;margin:0 0 6px}
.v14-cycle p {color:#53676b;font-size:.93rem;line-height:1.55;margin:0}
.v14-return {position:relative;margin:0 9% 0 30%;padding:14px 4px 0;border:solid #65a7a7;border-width:0 1px 1px;border-radius:0 0 12px 12px;text-align:center;color:#08777b;font-size:.9rem}
.v14-return::before {content:"";position:absolute;left:-4px;top:2px;width:6px;height:6px;border:solid #42787b;border-width:1px 1px 0 0;transform:rotate(-45deg)}
.v14-return>span {position:relative;top:.7em;display:inline-block;padding:0 8px;background:white}
@media(max-width:850px) {
  .v14-gallery {gap:20px 16px}
  .v14-cycle ol {gap:16px}.v14-cycle li {padding:12px 7px}.v14-cycle li:not(:last-child)::after {width:15px;right:-16px}
}
@media(max-width:680px) {
  #parentNeeds .kb-topic-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #parentNeeds .kb-topic-link > img {aspect-ratio:1.55}
  #parentNeeds .kb-topic-link > div {padding:11px 10px 13px}
  .v14-labels li {font-size:.88rem}
  .v14-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
  .v14-scene,.v14-scene:nth-child(-n+2) {grid-column:span 1}
  .v14-scene:first-child {grid-column:1/-1}
  .v14-scene img,.v14-scene:nth-child(-n+2) img {aspect-ratio:1.5}
  .v14-scene:first-child img {aspect-ratio:1.8}
  .v14-network {padding-top:0}
  .v14-hub {position:relative;transform:none;top:auto;left:auto;margin:0 auto 21px;border-radius:14px;aspect-ratio:auto;width:75%;padding:12px}
  .v14-hub::after {content:"";position:absolute;bottom:-12px;height:12px;border-left:1px solid var(--wire)}
  .v14-hub small {margin-bottom:2px}
  .v14-spokes {position:relative;gap:11px 14px;padding:0}
  .v14-spokes::before {content:"";position:absolute;left:25%;right:25%;top:-10px;height:10px;border:solid var(--wire);border-width:1px 1px 0}
  .v14-role {min-height:70px;padding:9px 11px}
  .v14-role:nth-child(n)::after {width:1px;height:12px;left:50%;right:auto;top:auto;bottom:100%;transform:none}
  .v14-role:nth-child(-n+2)::after {content:none}
  .v14-cycle {position:relative;padding-right:34px}
  .v14-cycle ol {display:flex;flex-direction:column;gap:18px}
  .v14-cycle li {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.1fr);gap:10px;align-items:center;padding:13px;text-align:left}
  .v14-cycle h3 {margin:0}
  .v14-cycle li:not(:last-child)::after {content:"↓";top:auto;left:50%;right:auto;bottom:-19px;width:12px;height:18px;line-height:18px;transform:none}
  .v14-return {position:static;margin:0;padding:10px 0 0;border:0;text-align:left}
  .v14-return>span {top:0;padding:0}
  .v14-return::after {content:"";position:absolute;z-index:0;right:10px;top:29%;bottom:15%;width:22px;border:solid #65a7a7;border-width:1px 1px 1px 0;border-radius:0 8px 8px 0}
  .v14-return::before {left:auto;right:27px;top:calc(29% - 3px);transform:rotate(-135deg)}
}
@media(max-width:480px) {
 .v14-gallery {grid-template-columns:1fr;gap:22px}
 .v14-scene img,.v14-scene:nth-child(-n+2) img {aspect-ratio:1.65}
 .v14-role strong,.v14-cycle h3 {font-size:1rem}
}

.v14-attribution {display:inline-block;margin-top:17px;color:#53676b;font-size:.86rem;text-decoration:underline;text-underline-offset:3px}
