/* PTM layout correction v23 - load AFTER v22. Scoped to page #1063. */
#pl-1063 > #pg-1063-0 { margin-top:20px !important; padding-top:0 !important; }
#pl-1063 #pg-1063-0 .custom-html-widget:first-child { margin-bottom:22px; }

/* Center text inside the full-width teal price and questions strips. */
#pl-1063 > #pg-1063-1 > .panel-row-style,
#pl-1063 > #pg-1063-5 > .panel-row-style {
 display:block !important; width:100% !important; margin:0 !important; text-align:center !important;
}
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) .panel-grid-cell {
 width:100% !important; max-width:none !important; flex:none !important; margin:0 auto !important;
}
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) .sow-headline-container,
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) .sow-headline,
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) .textwidget,
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) .textwidget div,
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) .textwidget p {
 width:100% !important; max-width:none !important; text-align:center !important;
 margin-left:auto !important; margin-right:auto !important;
}

/* Two-column native PHP forms. */
#pl-1063 .aspo-ptm-form { width:100% !important; max-width:1140px !important; margin:18px auto 10px !important; }
#pl-1063 .aspo-ptm-hp { position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip-path:inset(50%) !important; }
#pl-1063 .aspo-ptm-form-grid { display:grid !important; grid-template-columns:minmax(260px,330px) minmax(0,1fr) !important; gap:20px !important; align-items:start !important; }
#pl-1063 .aspo-ptm-form-left { display:flex !important; flex-direction:column !important; gap:18px !important; }
#pl-1063 .aspo-ptm-form input:not([type="hidden"]):not([type="checkbox"]),
#pl-1063 .aspo-ptm-form textarea {
 display:block !important; width:100% !important; margin:0 !important; padding:12px 20px !important;
 border:1px solid #d0d0d0 !important; background:#fff !important; color:#2d4357 !important;
 box-sizing:border-box !important; border-radius:0 !important; font-size:16px !important;
}
#pl-1063 .aspo-ptm-form-left input { height:46px !important; }
#pl-1063 .aspo-ptm-form textarea { height:176px !important; min-height:176px !important; resize:vertical; }
#pl-1063 .aspo-ptm-form-right { min-width:0 !important; }
#pl-1063 .aspo-ptm-consent { display:flex !important; gap:9px !important; align-items:flex-start !important; margin:24px 0 16px !important; font-size:16px !important; line-height:1.46 !important; color:#2d4357 !important; }
#pl-1063 .aspo-ptm-consent input[type="checkbox"] { flex:0 0 15px !important; width:15px !important; height:15px !important; margin:4px 0 0 !important; }
#pl-1063 .aspo-ptm-consent span { min-width:0; }
#pl-1063 .aspo-ptm-form button.aspo-ptm-submit {
 display:block !important; width:auto !important; min-width:144px !important; margin:22px 0 0 !important;
 border:0 !important; border-radius:100px !important; padding:14px 22px !important;
 background:#f39440 !important; color:#fff !important; font-size:15px !important;
 font-weight:400 !important; letter-spacing:.08em; text-transform:uppercase; cursor:pointer;
}
#pl-1063 .aspo-ptm-form-unavailable { padding:20px; background:#fff3d9; }

/* Four licenses, one horizontal row, with original thumbnails. */
#pl-1063 #pg-1063-4 .siteorigin-widget-tinymce > div,
#pl-1063 #pg-1063-4 .textwidget > div {
 display:flex !important; flex-wrap:nowrap !important; align-items:flex-start !important;
 justify-content:center !important; gap:16px !important; width:100% !important;
}
#pl-1063 #pg-1063-4 .textwidget a { display:block !important; flex:0 1 212px !important; min-width:0; }
#pl-1063 #pg-1063-4 .textwidget img {
 display:block !important; width:100% !important; max-width:212px !important; height:auto !important; margin:0 auto !important;
}

/* Light gray full-bleed testimonials, as in the original. */
#pl-1063 > #pg-1063-6 {
 width:100vw !important; max-width:none !important;
 margin-left:calc(50% - 50vw) !important; margin-right:0 !important;
 background:#ededed !important;
}
#pl-1063 > #pg-1063-6 > .panel-row-style {
 background:#ededed !important; width:100% !important; max-width:none !important;
 margin:0 !important; padding:22px max(24px, calc((100vw - 1140px)/2)) 38px !important;
 display:block !important;
}
#pl-1063 #pg-1063-6 .panel-grid-cell { width:100% !important; max-width:none !important; }
#pl-1063 #pg-1063-6 .sow-headline { text-align:center !important; color:#111 !important; }
#pl-1063 #pg-1063-6 .textwidget p { color:#111 !important; }

/* Bottom form under the testimonials; reduce legacy empty spacer. */
#pl-1063 #pg-1063-7 { margin-top:34px !important; }
#pl-1063 #pg-1063-7 .textwidget > div[style*="margin-top:100px"] { margin-top:0 !important; }

/* Same centered client-row look as on other pages. */
#pl-1063 > #pg-1063-8,
#pl-1063 > #pg-1063-9 { width:100% !important; max-width:1140px !important; margin-left:auto !important; margin-right:auto !important; }
#pl-1063 > #pg-1063-8 > .panel-row-style,
#pl-1063 > #pg-1063-9 > .panel-row-style { background:transparent !important; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
#pl-1063 #pg-1063-8 h1.sow-headline { text-align:center !important; }
#pl-1063 > #pg-1063-9 > .panel-row-style { display:grid !important; grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:20px !important; align-items:start !important; padding:0 0 38px !important; }
#pl-1063 #pg-1063-9 .panel-grid-cell { width:auto !important; min-width:0 !important; flex:none !important; }
#pl-1063 #pg-1063-9 .textwidget,
#pl-1063 #pg-1063-9 .textwidget p { text-align:center !important; font-size:15px !important; }
#pl-1063 #pg-1063-9 img { display:block !important; max-width:125px !important; max-height:65px !important; height:auto !important; width:auto !important; margin:0 auto 12px !important; }

@media (max-width:800px) {
 #pl-1063 .aspo-ptm-form-grid { grid-template-columns:1fr !important; }
 #pl-1063 .aspo-ptm-form-left { max-width:none; }
 #pl-1063 #pg-1063-4 .textwidget > div { flex-wrap:wrap !important; }
 #pl-1063 > #pg-1063-9 > .panel-row-style { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:480px) {
 #pl-1063 #pg-1063-4 .textwidget a { flex:0 1 calc(50% - 8px) !important; }
 #pl-1063 > #pg-1063-9 > .panel-row-style { grid-template-columns:1fr !important; }
}
/* ASPO — PTM v23.1 */
/* Хлебные крошки на 20 px ниже меню */

body:has(#pl-1063) #content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body:has(#pl-1063) #content > .wrapper,
body:has(#pl-1063) #posts,
body:has(#pl-1063) .post,
body:has(#pl-1063) .post-excerpt {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Убираем отступ 58 px из версии 22 */
#pl-1063 > #pg-1063-0 {
    margin-top: -10px !important;
    padding-top: 0 !important;
}