/* ASPO — Contacts page, stage 28. Scoped to page #pl-25 only. */
body:has(#pl-25) #content,
body:has(#pl-25) #content > .wrapper,
body:has(#pl-25) #posts,
body:has(#pl-25) #posts > .post,
body:has(#pl-25) #posts > .post > .post-excerpt {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
#pl-25 { margin-top: 0 !important; padding-top: 0 !important; }

/* Banner — 20px beneath the menu and full browser width. */
#pl-25 > #pg-25-0 {
    width: 100vw !important;
    max-width: none !important;
    margin: 20px 0 0 calc(50% - 50vw) !important;
    padding: 0 !important;
}
#pl-25 #pg-25-0 > .panel-row-style,
#pl-25 #pg-25-0 .panel-grid-cell,
#pl-25 #pg-25-0 .sow-image-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
#pl-25 #pg-25-0 img.so-widget-image {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
}

/* Contact details — eliminate the unused SiteOrigin second column. */
#pl-25 > #pg-25-1 {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 28px auto 20px !important;
}
#pl-25 #pgc-25-1-1 { display: none !important; }
#pl-25 #pgc-25-1-0 {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}
#pl-25 #pg-25-1 .sow-headline-container,
#pl-25 #pg-25-1 .sow-headline {
    text-align: center !important;
    width: 100% !important;
}
#pl-25 #pg-25-1 .sow-headline {
    color: #2b4962 !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    margin: 0 0 16px !important;
}
#pl-25 #pg-25-1 .decoration {
    width: 100% !important;
    max-width: 970px !important;
    height: 1px !important;
    margin: 20px auto 28px !important;
    background: #e5e5e5 !important;
}
#pl-25 #pg-25-1 .decoration-inside { display: none !important; }
#pl-25 #pg-25-1 .textwidget {
    width: 100% !important;
    max-width: 850px !important;
    margin: 0 auto !important;
    text-align: center !important;
    color: #2c4861;
    font-size: 17px;
    line-height: 1.5;
}
#pl-25 #pg-25-1 .textwidget p {
    text-align: center !important;
    margin: 0 auto 17px !important;
}

/* Remove old empty spacer area between contacts and clients. */
#pl-25 > #pg-25-2,
#pl-25 #pg-25-2 > .panel-row-style {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
}

/* The same five-column clients presentation as other ASPO pages. */
#pl-25 > #pg-25-3 { margin: 35px auto 10px !important; }
#pl-25 #pg-25-3 .sow-headline {
    text-align: center !important;
    font-size: 28px !important;
    color: #2b4962 !important;
    font-weight: 400 !important;
}
#pl-25 #pg-25-3 .decoration {
    width: 100% !important;
    max-width: 970px !important;
    height: 1px !important;
    background: #e5e5e5 !important;
    margin: 20px auto 25px !important;
}
#pl-25 #pg-25-3 .decoration-inside { display: none !important; }
#pl-25 #pg-25-4 {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
    align-items: start;
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto 45px !important;
}
#pl-25 #pg-25-4 > .panel-grid-cell {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}
#pl-25 #pg-25-4 .textwidget { text-align: center !important; font-size: 16px; line-height: 1.4; }
#pl-25 #pg-25-4 img { display: block !important; max-width: 125px !important; width: auto; height: auto !important; margin: 0 auto 12px !important; }
#pl-25 #pg-25-4 p { text-align: center !important; }
@media (max-width: 700px) {
  #pl-25 #pg-25-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 15px; gap: 20px; }
  #pl-25 #pg-25-1 { padding: 0 15px; }
  #pl-25 #pg-25-1 .textwidget { font-size: 16px; }
}
@media (max-width: 420px) {
  #pl-25 #pg-25-4 { grid-template-columns: 1fr; }
}
