/* CareWire v4.10.0 | Public-page layout refinements only. */
:root { --cw-public-width: 1190px; }
body { line-height: 1.5; }
.container { width: min(var(--cw-public-width), calc(100% - 64px)); }
/* Shorter page banners reduce empty areas above the content. */
.subhero { padding: 56px 0 52px; }
.subhero h1 { font-size: clamp(38px, 4vw, 62px); line-height: 1.1; margin: 13px 0 0; }
.subhero p { margin: 17px 0 0; max-width: 720px; }
/* Editorial pages use a reading-width column rather than scattered blocks. */
.cw-editorial-page { width: min(860px, calc(100% - 64px)); max-width: none; padding-top: 56px; padding-bottom: 76px; }
.cw-editorial-page .intro { max-width: 780px; font: 400 clamp(20px, 2vw, 26px)/1.5 Georgia, serif; margin: 0 0 27px; }
.cw-editorial-page p { max-width: 780px; line-height: 1.78; }
.cw-editorial-page h2 { margin: 32px 0 11px; font-size: 27px; }
.cw-editorial-page h2 + p { margin-top: 0; }
/* Contribution form should be readable, not compressed into a narrow centre strip. */
.cw-contribute-page .cw-engagement-form { max-width: 780px; margin-top: 25px; padding: 30px; border: 1px solid #d9e4df; background: #fff; }
.cw-contribute-page .cw-engagement-form input, .cw-contribute-page .cw-engagement-form textarea { min-height: 44px; }
.cw-contribute-page .cw-engagement-form textarea { min-height: 100px; }
/* Magazine archive: give each issue a usable cover-and-details layout. */
.cw-archive-main { min-height: 430px; padding-top: 58px; }
.cw-archive-main .issue-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 26px; }
.cw-archive-main .cw-issue-tile { display: grid; grid-template-columns: 190px minmax(0,1fr); grid-template-rows: auto auto auto 1fr; align-content: start; gap: 7px 30px; padding: 24px; background: #f2f6f3; border: 1px solid #dee8e3; max-width: 960px; }
.cw-archive-main .cw-issue-tile img { grid-row: 1 / span 4; width: 190px; max-width: 100%; height: auto; box-shadow: 0 9px 22px #07364522; }
.cw-archive-main .cw-issue-tile span { align-self: end; }
.cw-archive-main .cw-issue-tile strong { font-size: clamp(23px,2.5vw,33px); max-width: 640px; line-height: 1.2; }
.cw-archive-main .cw-issue-tile small { align-self: start; margin-top: 9px; }
/* Balanced homepage section spacing and article cards. */
.hero-grid { min-height: 540px; }
.section { padding-top: 65px; padding-bottom: 70px; }
.cw-articles-section { padding-top: 55px; }
.section-head { gap: 28px; }
.pillars article { min-height: 0; }
.site-footer .footer-inner { padding-top: 42px; padding-bottom: 32px; }
@media(max-width:700px) {
 .container { width: calc(100% - 34px); }
 .subhero { padding: 48px 0 43px; }
 .cw-editorial-page { width: calc(100% - 34px); padding-top: 42px; padding-bottom: 56px; }
 .cw-editorial-page .intro { font-size: 20px; }
 .cw-contribute-page .cw-engagement-form { padding: 18px; }
 .cw-archive-main .cw-issue-tile { grid-template-columns: 115px minmax(0,1fr); column-gap: 16px; padding: 16px; }
 .cw-archive-main .cw-issue-tile img { width: 115px; }
 .cw-archive-main .cw-issue-tile strong { font-size: 21px; }
 .section { padding-top: 50px; padding-bottom: 54px; }
}
@media(max-width:440px) {
 .cw-archive-main .cw-issue-tile { display: flex; flex-direction: column; }
 .cw-archive-main .cw-issue-tile img { width: 170px; }
}

/* v4.11: a genuinely compact publication footer, not a spacing-only change. */
.site-footer.cw-compact-footer { background:#092f39; }
.cw-compact-footer .cw-footer-main { display:grid; grid-template-columns:minmax(250px, 1fr) minmax(360px, 1.35fr); gap:32px; align-items:center; padding-top:24px; padding-bottom:19px; }
.cw-compact-footer .cw-footer-identity strong { display:block; color:#fff; font-size:21px; letter-spacing:-.5px; }
.cw-compact-footer .cw-footer-identity span { display:block; margin-top:3px; color:#bad2d3; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; }
.cw-compact-footer .cw-footer-identity p { color:#bbd0d1; font-size:12px; line-height:1.45; margin:9px 0 0; }
.cw-compact-footer .cw-footer-links { display:flex; align-items:center; justify-content:flex-end; gap:11px 21px; flex-wrap:wrap; }
.cw-compact-footer .cw-footer-links a { text-decoration:none; color:#e1eeee; font-size:12px; }
.cw-compact-footer .cw-footer-links a:hover, .cw-compact-footer .cw-footer-bottom a:hover { color:#84ded0; text-decoration:underline; }
.cw-compact-footer .cw-footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:12px; padding-bottom:13px; border-top:1px solid #42616a; color:#bdd1d3; font-size:11px; line-height:1.4; }
.cw-compact-footer .cw-footer-bottom a { color:#e0eded; text-decoration:none; }
/* Primary pages: reduce overlong sections while retaining readable text. */
.subhero {padding:43px 0 40px;}
.subhero h1 {font-size:clamp(36px,3.5vw,51px);margin-top:10px;}
.section.cw-editorial-page {padding-top:38px;padding-bottom:49px;}
.cw-editorial-page .intro {font-size:clamp(19px,1.9vw,23px);line-height:1.45;}
.cw-editorial-page h2 {margin:25px 0 9px;}
.cw-archive-main {min-height:unset;padding-top:40px;padding-bottom:50px;}
.cw-archive-main .cw-issue-tile {max-width:100%;grid-template-columns:165px minmax(0,1fr);padding:24px;min-height:245px;}
.cw-archive-main .cw-issue-tile img {width:165px;}
.cw-contribute-page .cw-engagement-form {padding:25px;}
.hero-grid {min-height:490px;}
.section {padding-top:55px;padding-bottom:58px;}
@media(max-width:800px) {
 .cw-compact-footer .cw-footer-main {grid-template-columns:1fr;gap:18px;}
 .cw-compact-footer .cw-footer-links {justify-content:flex-start;}
}
@media(max-width:600px) {
 .cw-compact-footer .cw-footer-main {padding:22px 0 18px;}
 .cw-compact-footer .cw-footer-bottom {flex-direction:column;gap:5px;}
 .cw-compact-footer .cw-footer-links {gap:12px 17px;}
 .cw-archive-main .cw-issue-tile {grid-template-columns:110px minmax(0,1fr);padding:16px;min-height:0;}
 .cw-archive-main .cw-issue-tile img {width:110px;}
 .section {padding-top:40px;padding-bottom:42px;}
}
