/* Shared visual warmth throughout the information pages. */
.inner-page main{position:relative;isolation:isolate;overflow:hidden;padding-bottom:12px}
.inner-page main:before{content:"";position:absolute;left:-65px;top:135px;width:180px;height:245px;z-index:-1;background:url('illustrations/leaf-branch.svg') center/contain no-repeat;opacity:.4;transform:rotate(-14deg);pointer-events:none}
.inner-page main:after{content:"";position:absolute;right:-50px;bottom:80px;width:170px;height:230px;z-index:-1;background:url('illustrations/leaf-branch.svg') center/contain no-repeat;opacity:.32;transform:rotate(18deg);pointer-events:none}
.inner-page .page-heading{border-left:0;border-radius:36px 7px 36px 7px;background:linear-gradient(115deg,#e6f0e0,#f3f8f0 65%,#fff);margin-top:32px;padding:30px 32px}
.inner-page .page-heading h1{color:#28563b}
.page-wellness-visual{max-width:850px;margin:22px auto 30px;border-radius:65px 12px 50px 12px;overflow:hidden;position:relative;box-shadow:0 6px 22px #315d3414}
.page-wellness-visual img{display:block;width:100%;height:285px;object-fit:cover;object-position:50% 60%}
.inner-page .topic-row{position:relative;border-top:1px solid #c9dabb;padding-top:28px;padding-bottom:28px}
.inner-page .topic-row:before{content:"";display:block;width:42px;height:5px;background:#9fbc86;border-radius:100%;margin-bottom:18px}
.inner-page .topic-row:nth-child(2n):before{background:#b7d1d3}
.inner-page .page-cta{border-radius:32px 10px 32px 10px;background:#e4efdc}
.inner-page .mission-section:first-child{border-radius:26px 8px 26px 8px}
.inner-page .person .portrait{border-radius:45% 45% 8px 8px}
.inner-page .faq details{border-radius:20px 7px 20px 7px}
.inner-page footer{border-radius:35% 10% 0 0 / 24px 14px 0 0}
@media(max-width:760px){.inner-page main:before{left:-70px;width:125px;opacity:.22}.inner-page main:after{right:-60px;width:125px;opacity:.22}.inner-page .page-heading{margin-top:24px;padding:25px 22px;border-radius:28px 7px 28px 7px}.page-wellness-visual{margin-top:20px;margin-bottom:22px;border-radius:38px 8px 32px 8px}.page-wellness-visual img{height:220px;object-position:42% center}.inner-page .topic-row{padding-top:25px;padding-bottom:25px}}

.page-wellness-visual img[src="yoga-pond.webp"]{height:420px;object-position:50% 20%}
@media(max-width:760px){.page-wellness-visual img[src="yoga-pond.webp"]{height:240px;object-position:35% center}}
.page-wellness-visual img[src*="images.unsplash.com"]{height:310px;object-position:center center}
.page-wellness-visual img[src*="photo-1617892439076"]{object-position:center 60%}
@media(max-width:760px){.page-wellness-visual img[src*="images.unsplash.com"]{height:230px;object-position:center center}}
.page-wellness-visual img[src*="12623939"]{object-position:center 62%}

.page-wellness-visual img[src="peaceful-cosmos.webp"]{object-position:center 44%}

/* Photos relate directly to the nearby counseling information. */
.topic-story-photo{margin:22px 0 24px;border-radius:24px 7px;overflow:hidden;background:#eff4ea}
.topic-story-photo img{display:block;width:100%;height:330px;object-fit:cover;object-position:center 43%}
.topic-story-photo figcaption{padding:14px 20px;font-size:15px;line-height:1.65;color:#465e4a}
.page-wellness-visual img[src="being-heard.webp"],.page-wellness-visual img[src="everyday-connection.webp"]{height:370px;object-position:center 42%}
@media(max-width:760px){.topic-story-photo img{height:235px}.topic-story-photo figcaption{padding:13px 17px}.page-wellness-visual img[src="being-heard.webp"],.page-wellness-visual img[src="everyday-connection.webp"]{height:250px}}

.page-wellness-visual img[src="strengths-and-growth.webp"]{height:auto;max-height:none;aspect-ratio:3/2;object-position:center}
.topic-story-photo img[src="coping-small-steps.webp"]{height:auto;aspect-ratio:3/2;object-position:center}

.page-wellness-visual img[src*="1638271676271"]{height:auto;aspect-ratio:3/2;object-position:center}
.page-wellness-visual img[src*="1769198751951"]{height:auto;aspect-ratio:3/2;object-position:center}

/* Let portrait photographs keep their natural framing. */
.page-wellness-visual img[src*="5699451"]{height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center}
.page-wellness-visual.personal-growth-portrait{max-width:420px}
.page-wellness-visual.personal-growth-portrait img{height:auto;aspect-ratio:auto;object-fit:contain}
.topic-story-photo:has(img[src*="6347916"]){max-width:420px;margin-left:auto;margin-right:auto}
.topic-story-photo img[src*="6347916"]{height:auto;aspect-ratio:auto;object-fit:contain}

/* A real portrait replaces the generated Emotional Wellbeing landscape. */
.page-wellness-visual.emotional-wellbeing-portrait{max-width:420px}
.page-wellness-visual.emotional-wellbeing-portrait img{height:auto;aspect-ratio:auto;object-fit:contain}

.personal-growth-portrait figcaption{font-size:16px;line-height:1.7;text-align:center;color:#3d5b43;padding:18px 22px;background:#edf4e7}

.page-wellness-visual.about-strengths-portrait{max-width:420px}
.page-wellness-visual.about-strengths-portrait img{height:auto;aspect-ratio:auto;object-fit:contain}

/* Two individual portraits give men and women equal presence. */
.strengths-portraits{max-width:600px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:26px;margin-bottom:30px}
.strengths-portraits figure{margin:0;overflow:hidden;border-radius:30px 8px;background:#edf3e6;border:1px solid #d6e1ce;box-shadow:0 5px 20px #315d3410}
.strengths-portraits figure:nth-child(2){border-radius:8px 30px}
.strengths-portraits figure{aspect-ratio:3/4}.strengths-portraits img{display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:cover;object-position:center}
@media(max-width:760px){.strengths-portraits{gap:16px;margin-top:22px;margin-bottom:26px}.strengths-portraits figure{border-radius:22px 6px}.strengths-portraits figure:nth-child(2){border-radius:6px 22px}}
@media(max-width:380px){.strengths-portraits{grid-template-columns:1fr;max-width:300px}}


.page-wellness-visual .healing-road-photo{display:block;width:100%;object-fit:cover;object-position:center center;filter:saturate(.60) contrast(.88) brightness(.98)}

.page-wellness-visual .relationships-reflection-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%}

/* The selected relationships detail photos sit in equal, filled frames. */
.page-wellness-visual.relationships-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:920px}
.relationships-photo-pair .relationships-photo-frame{aspect-ratio:3/2;overflow:hidden;border-radius:20px 6px}
.page-wellness-visual.relationships-photo-pair img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:center;border-radius:0;transform:none}
.relationships-photo-pair figcaption{grid-column:1/-1;margin-top:0}
@media(max-width:760px){.page-wellness-visual.relationships-photo-pair{gap:12px}.relationships-photo-pair .relationships-photo-frame{aspect-ratio:4/5;border-radius:14px 5px}.page-wellness-visual.relationships-photo-pair img{aspect-ratio:4/5}}

.page-wellness-visual.relationships-photo-pair .relationships-man-silhouette{object-position:center center}

/* Keep only the approved gardening woman, centered with a gentler color cast. */
.strengths-portraits.strengths-single{max-width:300px;grid-template-columns:minmax(0,1fr)}
.strengths-single img{filter:none}

/* Keep the About Us pottery portrait compact rather than overly tall. */
.strengths-portraits.strengths-single{max-width:270px}
.strengths-portraits.strengths-single figure{aspect-ratio:5/6}
.strengths-portraits.strengths-single img{aspect-ratio:auto;object-position:center 38%}
