/* Tighter Kadence text spacing on regular pages (custom zs/zu pages set their own) */
.single-content>:is(p,ul,ol,figure,table,blockquote){margin-bottom:1rem}
.single-content>:is(h2,h3,h4,h5,h6){margin-top:1.4em;margin-bottom:.35em}
.single-content>:is(h2,h3,h4,h5,h6)+*{margin-top:0}

/* Social follow section (all pages); element selector beats the page's `.zs-page *` reset */
section.zsx-social{background:#F7F8F7;padding:clamp(2.5rem,6vw,4rem) 16px clamp(3.5rem,8vw,5.5rem);font-family:"Segoe UI",system-ui,sans-serif;color:#16211F;scroll-margin-top:96px}
.zsx-social .zsx-in{max-width:1100px;margin:0 auto;text-align:center}
.zsx-social .zsx-h{margin:0;font-size:clamp(1.5rem,2.6vw,2.1rem);line-height:1.2;color:#0A2F2B;letter-spacing:-.02em}
.zsx-social .zsx-lead{margin:.6rem auto 0;max-width:56ch;color:#55665F;font-size:1rem}
.zsx-social ul{list-style:none;margin:1.75rem 0 0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.zsx-social a{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid #D2DCD8;border-radius:18px;background:#fff;color:inherit;text-decoration:none;text-align:start;transition:border-color .16s,transform .16s}
.zsx-social a:hover{border-color:#1A7A6E;transform:translateY(-2px)}
.zsx-social a:focus-visible{outline:2px solid #1A7A6E;outline-offset:2px}
.zsx-social svg{flex:none;width:40px;height:40px;padding:9px;border-radius:12px;background:#0E5049;color:#fff}
.zsx-social strong{display:block;font-size:1.25rem;color:#0A2F2B;line-height:1.2}
.zsx-social small{display:block;color:#55665F;font-size:.88rem}

/* Phones: card grids become swipeable rows (next card peeks in) instead of a long vertical stack */
@media (max-width:640px){
	.zs-page :is(.zs-area-grid,.zs-well-list,.zs-approach-grid),
	.zu-page :is(.zu-area-grid,.zu-well-list,.zu-steps,.zu-credentials){
		display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;gap:12px;
		overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding-block-end:4px
	}
	.zs-page :is(.zs-area-grid,.zs-well-list,.zs-approach-grid)::-webkit-scrollbar,
	.zu-page :is(.zu-area-grid,.zu-well-list,.zu-steps,.zu-credentials)::-webkit-scrollbar{display:none}
	.zs-page :is(.zs-area-grid,.zs-well-list,.zs-approach-grid)>*,
	.zu-page :is(.zu-area-grid,.zu-well-list,.zu-steps,.zu-credentials)>*{
		scroll-snap-align:start;min-height:0;opacity:1;transform:none
	}
	/* Footer: link columns side by side, brand text full width */
	.zs-page .zs-footer-main,.zu-page .zu-footer-main{grid-template-columns:1fr 1fr;gap:1.75rem 1rem}
	.zs-page .zs-footer-brand,.zu-page .zu-footer-brand{grid-column:1/-1}
}

@media (prefers-reduced-motion:reduce){
	.zsx-social a{transition:none}
	.zsx-social a:hover{transform:none}
}
