/* ASPO visual alignment patch v2: homepage + footer. Scope only legacy output. */
body.home #content .wrapper.cf {max-width:none; width:100%; padding:0;}
body.home #content #posts.stage2-posts,
body.home #content #posts .post,
body.home #content #posts .post-excerpt { width:100%; max-width:none; float:none; margin:0; padding:0; }
body.home #pl-11 #pg-11-3 > .panel-row-style,
body.home #pl-11 #pg-11-5 > .panel-row-style { display:flex; align-items:flex-start; justify-content:space-between; gap:30px; box-sizing:border-box; }
body.home #pl-11 #pg-11-3 .panel-grid-cell,
body.home #pl-11 #pg-11-5 .panel-grid-cell { min-width:0; flex:1 1 0; width:calc((100% - 60px)/3); text-align:center; margin:0; }
body.home #pl-11 #pg-11-3 .so-widget-image,
body.home #pl-11 #pg-11-5 .so-widget-image,
body.home #pl-11 #pg-11-3 .widget_sow-image > img,
body.home #pl-11 #pg-11-5 .widget_sow-image > img { display:block; margin:0 auto 18px; max-width:200px; width:auto; height:auto; }
body.home #pl-11 #pg-11-3 .widget_sow-editor,
body.home #pl-11 #pg-11-5 .widget_sow-editor {text-align:center;}
body.home #pl-11 #pg-11-3 h5,
body.home #pl-11 #pg-11-5 h5 {font-weight:400; text-align:center; line-height:1.45; margin:0 auto; max-width:350px;}
body.home #pl-11 #pg-11-2 .panel-row-style {padding:30px 15px 0;}
body.home #pl-11 #pg-11-2 h2.sow-headline {text-align:center; margin:0;}
body.home #pl-11 #pg-11-4,
body.home #pl-11 #pg-11-6 {text-align:center;}
body.home #pl-11 #pg-11-4 .so-widget-sow-headline,
body.home #pl-11 #pg-11-6 .so-widget-sow-headline {margin:0 auto 22px; text-align:center;}
body.home #pl-11 #pg-11-4 .sow-headline,
body.home #pl-11 #pg-11-6 .sow-headline {font-size:26px;line-height:1.3;font-weight:400;}
body.home #pl-11 .sow-headline-container .decoration {height:1px;max-width:840px;background:#e5e5e5;margin:22px auto 0;}
body.home #pl-11 #pg-11-4 .widget_sow-editor {max-width:900px;margin:0 auto; text-align:center;}
body.home #pl-11 #pg-11-7 > .panel-row-style {display:flex; justify-content:space-between; gap:24px; box-sizing:border-box;}
body.home #pl-11 #pg-11-7 .panel-grid-cell {flex:1 1 0; min-width:0; text-align:center;}
body.home #pl-11 #pg-11-7 img {display:block;margin:0 auto 15px;max-width:100%;height:auto;}
body.home #pl-11 #pg-11-7 p {text-align:center;}
/* The original footer uses four columns in a centered wrapper, not distributed inline links. */
#footer .wrapper.cf {max-width:1170px; width:calc(100% - 40px); margin:0 auto; box-sizing:border-box;}
#footer .footer-margin-left.cf {display:grid; grid-template-columns:1.55fr 1fr 1fr 1.2fr; gap:40px; align-items:start; padding:55px 0 45px;}
#footer .footer-box {float:none!important; width:auto!important; margin:0!important; padding:0!important; box-sizing:border-box;}
#footer .footer-box p {margin:0 0 7px;}
#footer .footer-box img {max-width:100%;height:auto;}
#footer .footer-box a {color:#d5d5d5;text-decoration:underline;}
#footer .footer-box:last-child {text-align:right;}
#footer .footer-box:last-child p:first-child {font-size:18px;font-weight:700;color:#fff;}
#footer .footer-box:last-child a {color:#58cedc;}
@media(max-width:780px) {
 body.home #pl-11 #pg-11-3 > .panel-row-style,
 body.home #pl-11 #pg-11-5 > .panel-row-style,
 body.home #pl-11 #pg-11-7 > .panel-row-style {flex-direction:column;align-items:center;gap:25px;}
 body.home #pl-11 #pg-11-3 .panel-grid-cell,
 body.home #pl-11 #pg-11-5 .panel-grid-cell,
 body.home #pl-11 #pg-11-7 .panel-grid-cell {width:100%!important;flex:auto;text-align:center;}
 #footer .footer-margin-left.cf {grid-template-columns:1fr 1fr;gap:25px;}
 #footer .footer-box:last-child {text-align:left;}
}
@media(max-width:480px) {#footer .footer-margin-left.cf {grid-template-columns:1fr;}}
