:root{--gp-rating-dock:calc(68px + env(safe-area-inset-bottom,0px))}
body #gp-fixed-yandex-rating{position:fixed;left:16px;bottom:16px;z-index:10000;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:9px;width:154px;height:52px;box-sizing:border-box;padding:7px 10px;border:1px solid #b9c5d5;border-radius:10px;background:#fff;color:#173a63;text-decoration:none;box-shadow:0 3px 14px #172d491c;font-family:Arial,sans-serif;text-align:left}
#gp-fixed-yandex-rating .gp-rating-score{font-size:28px;font-weight:700;line-height:1}
#gp-fixed-yandex-rating .gp-rating-stars{display:block;color:#e7ac00;font-size:14px;letter-spacing:1px;line-height:1.2;white-space:nowrap}
#gp-fixed-yandex-rating .gp-rating-label{display:block;font-size:10px;line-height:1.5;white-space:nowrap}
body #gp-fixed-yandex-rating:hover{border-color:#173a63;background:#f8faff}
body #gp-fixed-yandex-rating:focus-visible{outline:3px solid #647bf0;outline-offset:3px}
body #gp-analytics-settings{bottom:84px;max-width:154px}
body #gp-analytics-panel{bottom:132px;max-height:calc(100dvh - 150px)}

/* On small screens the document has its own viewport above the fixed controls. */
html.gp-rating-mobile,html.gp-rating-mobile body{height:100%;min-height:0;overflow:hidden}
html.gp-rating-mobile #gp-rating-page-viewport{position:fixed;left:0;right:0;top:var(--gp-vv-top,0px);height:calc(var(--gp-vv-height,100dvh) - var(--gp-rating-dock));overflow:auto;overscroll-behavior-y:contain;scroll-padding:20px 0;-webkit-overflow-scrolling:touch;outline-offset:-3px}
html.gp-rating-mobile body::after{content:"";position:fixed;left:0;right:0;bottom:var(--gp-vv-bottom,0px);height:var(--gp-rating-dock);z-index:900;background:#fff;border-top:1px solid #dce3ed;box-shadow:0 -2px 12px #172d490a;pointer-events:none}
html.gp-rating-mobile body #gp-fixed-yandex-rating{left:10px;bottom:calc(var(--gp-vv-bottom,0px) + 12px + env(safe-area-inset-bottom,0px));width:126px;height:44px;padding:5px 8px;column-gap:7px;border-radius:9px}
html.gp-rating-mobile #gp-fixed-yandex-rating .gp-rating-score{font-size:25px}
html.gp-rating-mobile #gp-fixed-yandex-rating .gp-rating-stars{font-size:12px;letter-spacing:.2px}
html.gp-rating-mobile #gp-fixed-yandex-rating .gp-rating-label{font-size:9px}
html.gp-rating-mobile body #gp-analytics-settings{left:144px;bottom:calc(var(--gp-vv-bottom,0px) + 16px + env(safe-area-inset-bottom,0px));width:36px;min-width:36px;max-width:36px;height:36px;padding:0;font-size:0;border-radius:9px;display:grid;place-items:center}
html.gp-rating-mobile body #gp-analytics-settings::before{content:"";display:block;width:21px;height:21px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253f70' stroke-width='1.8'%3E%3Cpath d='m9.5 3-.6 2.1-2 .9L5 5.5 3 9l1.7 1.6v2.8L3 15l2 3.5 1.9-.5 2 .9.6 2.1h5l.6-2.1 2-.9 1.9.5 2-3.5-1.7-1.6v-2.8L21 9l-2-3.5-1.9.5-2-.9L14.5 3z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
html.gp-rating-mobile body .gp-floating-call{right:64px;bottom:calc(var(--gp-vv-bottom,0px) + 12px + env(safe-area-inset-bottom,0px));width:44px;height:44px;min-height:44px}
html.gp-rating-mobile body .gp-contact-widget{right:10px;bottom:calc(var(--gp-vv-bottom,0px) + 12px + env(safe-area-inset-bottom,0px));width:44px;height:44px}
html.gp-rating-mobile body .gp-messenger-toggle{width:44px;height:44px;min-height:44px}
html.gp-rating-mobile .gp-floating-call>svg{width:23px;height:23px}
html.gp-rating-mobile .gp-messenger-toggle>svg{width:27px;height:25px}
html.gp-rating-mobile body #gp-analytics-panel{left:12px;bottom:calc(var(--gp-vv-bottom,0px) + var(--gp-rating-dock) + 12px);width:calc(100% - 24px);max-height:calc(var(--gp-vv-height,100dvh) - var(--gp-rating-dock) - 24px);padding:16px}
html.gp-rating-mobile body #gp-messenger-panel{bottom:64px;width:min(260px,calc(100vw - 20px));max-height:calc(var(--gp-vv-height,100dvh) - var(--gp-rating-dock) - 28px);overflow:auto}
html.gp-rating-mobile body #gp-callback-dialog{max-height:calc(var(--gp-vv-height,100dvh) - var(--gp-rating-dock) - 32px);margin-top:16px;margin-bottom:calc(var(--gp-rating-dock) + 16px)}
html.gp-rating-mobile .gp-lead-form :is(input,select,textarea,button){scroll-margin:20px 0}

/* The six existing points keep their exact text and counter numbering. */
#rec4130249001 .gp-numbered{display:grid;gap:16px;list-style:none;padding:0;margin:0}
#rec4130249001 .gp-numbered>li{min-width:0;margin:0;padding:24px;border:1px solid #b9c5d5;border-radius:14px;background:#fff;text-align:center;overflow-wrap:break-word}
#rec4130249001 .gp-numbered>li::before{position:static;display:grid;place-items:center;width:38px;height:38px;margin:0 auto 14px;border:1px solid #173a63;border-radius:50%;background:#f3f6fb;color:#173a63;line-height:1}
@media(max-width:700px){#rec4130249001 .gp-numbered>li{padding:20px 18px}}

#rec4130249301>.gp-site-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
#rec4130249301>.gp-site-grid>.gp-site-card{min-width:0;margin:0;padding:28px;border:1px solid #b9c5d5;border-radius:14px;background:#fff}
@media(max-width:700px){#rec4130249301>.gp-site-grid{grid-template-columns:minmax(0,1fr);gap:18px}#rec4130249301>.gp-site-grid>.gp-site-card{padding:22px 20px}}

/* Keep the complete reviews block centered, including the WordPress inner wrapper. */
#codex-yandex-reviews.gp-reviews{display:block}
#codex-yandex-reviews.gp-reviews>.wp-block-group__inner-container{width:100%;max-width:900px;margin-inline:auto;box-sizing:border-box}
#codex-yandex-reviews .gp-review-copy{width:100%;margin-inline:auto}
#codex-yandex-reviews .gp-review-link{width:100%;margin:24px auto 0}

/* Equal first-screen insurance actions only; preserve their text and destinations. */
body.page-id-15 #rec4200639601 .wp-block-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,280px));grid-auto-rows:1fr;justify-content:center;align-items:stretch;gap:12px;max-width:100%}
body.page-id-15 #rec4200639601 .wp-block-buttons>a.wp-block-button__link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:60px;margin:0;padding:15px 24px;border-radius:999px;text-align:center}
@media(max-width:700px){body.page-id-15 #rec4200639601 .wp-block-buttons{grid-template-columns:minmax(0,280px)}}

/* The three existing insurance explanations stay in order as separate cards. */
body.page-id-15 #insurance-types>p.gp-site-copy{box-sizing:border-box;width:100%;max-width:900px;margin:0 auto 18px;padding:24px 28px;border:1px solid #b9c5d5;border-radius:14px;background:#fff;text-align:center;overflow-wrap:break-word}
body.page-id-15 #insurance-types>h2{margin-bottom:28px}
body.page-id-15 #insurance-types>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:14px;box-sizing:border-box;width:100%;max-width:760px;margin:28px auto 0}
body.page-id-15 #insurance-types>nav>a.gp-site-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:60px;margin:0;padding:15px 20px;text-align:center;white-space:normal;overflow-wrap:break-word}
@media(max-width:700px){body.page-id-15 #insurance-types>p.gp-site-copy{padding:20px 18px;margin-bottom:16px}body.page-id-15 #insurance-types>nav{gap:12px}body.page-id-15 #insurance-types>nav>a.gp-site-button{min-height:64px;padding:12px 14px}}
@media(max-width:360px){body.page-id-15 #insurance-types>nav{grid-template-columns:minmax(0,1fr)}}

/* The other approved insurance text groups use the same card treatment. */
body.page-id-15 :is(#rec4162173201,#insurance-early,#insurance-refusal,#rec4162173501)>p.gp-site-copy{box-sizing:border-box;width:100%;max-width:900px;margin:0 auto 18px;padding:24px 28px;border:1px solid #b9c5d5;border-radius:14px;background:#fff;text-align:center;overflow-wrap:break-word}
body.page-id-15 :is(#rec4162173201,#insurance-early,#insurance-refusal,#rec4162173501)>h2{margin-bottom:28px}
body.page-id-15 #insurance-documents>ul.gp-site-copy{box-sizing:border-box;width:100%;max-width:900px;margin:24px auto;padding:0 0 0 28px;list-style-position:outside;text-align:left!important}
body.page-id-15 #insurance-documents>ul.gp-site-copy>li{display:list-item;text-align:left!important;margin:0 0 14px;padding:0 0 0 6px}
body.page-id-15 #rec4162173301>.gp-site-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
body.page-id-15 #rec4162173301>.gp-site-grid>.gp-site-card{box-sizing:border-box;min-width:0;margin:0;padding:28px;border:1px solid #b9c5d5;border-radius:14px;background:#fff}
@media(max-width:700px){body.page-id-15 :is(#rec4162173201,#insurance-early,#insurance-refusal,#rec4162173501)>p.gp-site-copy{padding:20px 18px;margin-bottom:16px}body.page-id-15 #rec4162173301>.gp-site-grid{grid-template-columns:minmax(0,1fr);gap:18px}body.page-id-15 #rec4162173301>.gp-site-grid>.gp-site-card{padding:22px 20px}body.page-id-15 #insurance-documents>ul.gp-site-copy{padding-left:24px}}

/* Shared presentation for the published service pages; no content or form changes. */
body #main :is(.gp-site-button,.wp-block-button__link){box-sizing:border-box;max-width:100%;min-height:60px;padding:15px 24px;border-radius:999px;font-size:16px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:break-word;text-align:center}
body #main .wp-block-buttons:has(>:nth-child(2):last-child){display:grid;grid-template-columns:repeat(2,minmax(0,280px));grid-auto-rows:1fr;justify-content:center;align-items:stretch;gap:12px;max-width:100%}
body #main .wp-block-buttons:has(>:nth-child(2):last-child)>:is(a,.wp-block-button){box-sizing:border-box;width:100%;height:100%;margin:0;min-width:0}
body #main .wp-block-buttons:has(>:nth-child(2):last-child) .wp-block-button__link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;min-height:60px;margin:0;padding:15px 24px}
body #main nav[aria-label]:has(>a:nth-child(2)){display:grid;grid-template-columns:repeat(2,minmax(0,280px));grid-auto-rows:1fr;justify-content:center;align-items:stretch;gap:14px;box-sizing:border-box;width:100%;max-width:760px;margin:28px auto 0}
body #main nav[aria-label]:has(>a:nth-child(6):last-child),body #main nav[aria-label]:has(>a:nth-child(7):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
body #main nav[aria-label]:has(>a:nth-child(7):last-child)>a:last-child{grid-column:1/-1;width:calc((100% - 14px)/2);justify-self:center}
body #main nav[aria-label]:has(>a:nth-child(2))>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:60px;margin:0;padding:15px 20px}
body #main .gp-site-grid,body #main .gp-page-section div:has(>.gp-site-card+.gp-site-card):not(.gp-site-card){display:grid!important;gap:24px;align-items:stretch}
body #main .gp-page-section div:has(>.gp-site-card+.gp-site-card):not(.gp-site-grid):not(.gp-site-card){grid-template-columns:repeat(3,minmax(0,1fr))}
body #main .gp-site-grid:has(>:nth-child(2):last-child),body #main .gp-site-grid:has(>:nth-child(4):last-child),body #main .gp-page-section div:has(>.gp-site-card+.gp-site-card):has(>.gp-site-card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}
body #main .gp-site-grid>div:has(>.gp-site-card+.gp-site-card){grid-template-columns:minmax(0,1fr)!important}
body #main :is(.gp-site-card,.gp-case-card){box-sizing:border-box;min-width:0;padding:28px;border:1px solid #b9c5d5;border-radius:14px;background:#fff;overflow-wrap:break-word}
body #main .gp-site-card:has(>a.gp-site-button){display:flex;flex-direction:column;align-items:stretch}
body #main .gp-site-card>a.gp-site-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:76px;margin-top:auto;margin-bottom:0;padding:12px 16px}
body #main #rec4163822301 .gp-site-card{display:flex;flex-direction:column;height:100%}
body #main #rec4163822301 .gp-site-card>div{display:flex;flex:1;flex-direction:column;min-width:0}
body #main #rec4163822301 .gp-site-card>div>div:has(>a.gp-site-button+a.gp-site-button){display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:12px;margin-top:auto;padding-top:24px}
body #main #rec4163822301 .gp-site-card>div>div:has(>a.gp-site-button+a.gp-site-button)>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:76px;margin:0;padding:12px 16px}
body #main :is(ul,ol).gp-site-copy{box-sizing:border-box;width:100%;max-width:900px;margin:24px auto;padding:0 0 0 28px;list-style-position:outside;text-align:left!important}
body #main :is(ul,ol).gp-site-copy>li{display:list-item;text-align:left!important;margin:0 0 14px;padding-left:6px}
body #main .gp-legal-page p{max-width:900px;margin-inline:auto;text-align:left;line-height:1.65}
body #main .gp-legal-page :is(ul,ol):has(>li:nth-child(2)){box-sizing:border-box;max-width:900px;margin-inline:auto;padding-left:28px;text-align:left}
body #main .gp-legal-page :is(ul,ol):has(>li:nth-child(2))>li{text-align:left;margin-bottom:12px;padding-left:6px}
body #main :is(#rec4130249101,#gp-bankruptcy-routes,#rec4130249301,#rec4130249401,#insurance-rate,#rec4214709501,#auto-discount,#auto-cost,#rec4201446401,#court-cost,#court-representative,#borrower-overview,#rec4202647801,#borrower-cost,#borrower-options)>p.gp-site-copy{box-sizing:border-box;width:100%;max-width:900px;margin:0 auto 18px;padding:24px 28px;border:1px solid #b9c5d5;border-radius:14px;background:#fff;overflow-wrap:break-word}

@media(max-width:900px) and (min-width:701px){body #main .gp-page-section div:has(>.gp-site-card+.gp-site-card):not(.gp-site-grid):not(.gp-site-card){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
body #main .wp-block-buttons:has(>:nth-child(2):last-child),body #main nav[aria-label]:has(>a:nth-child(2)){grid-template-columns:minmax(0,280px);gap:12px}
body #main nav[aria-label]:has(>a:nth-child(6):last-child),body #main nav[aria-label]:has(>a:nth-child(7):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
body #main nav[aria-label]:has(>a:nth-child(2))>a{min-height:64px;padding:12px 14px}
body #main .gp-site-grid,body #main .gp-page-section div:has(>.gp-site-card+.gp-site-card):not(.gp-site-card),body #main .gp-site-grid:has(>:nth-child(2):last-child),body #main .gp-site-grid:has(>:nth-child(4):last-child),body #main .gp-page-section div:has(>.gp-site-card+.gp-site-card):has(>.gp-site-card:nth-child(4):last-child){grid-template-columns:minmax(0,1fr)!important;gap:18px}
body #main :is(.gp-site-card,.gp-case-card){padding:22px 20px}
body #main :is(ul,ol).gp-site-copy{padding-left:24px}
}
@media(max-width:360px){body #main nav[aria-label]:has(>a:nth-child(6):last-child),body #main nav[aria-label]:has(>a:nth-child(7):last-child){grid-template-columns:minmax(0,1fr)}body #main nav[aria-label]:has(>a:nth-child(7):last-child)>a:last-child{grid-column:auto;width:100%}}
@media(max-width:700px){body #main :is(#rec4130249101,#gp-bankruptcy-routes,#rec4130249301,#rec4130249401,#insurance-rate,#rec4214709501,#auto-discount,#auto-cost,#rec4201446401,#court-cost,#court-representative,#borrower-overview,#rec4202647801,#borrower-cost,#borrower-options)>p.gp-site-copy{padding:20px 18px;margin-bottom:16px}}

@media(max-width:700px) and (min-width:361px){body #main nav[aria-label]:has(>a:nth-child(7):last-child)>a:last-child{width:calc((100% - 12px)/2)}}

/* Grid gaps own the spacing; remove old per-card bottom margins. */
body #main .gp-site-grid>*,body #main .gp-page-section div:has(>.gp-site-card+.gp-site-card)>.gp-site-card{margin:0!important}
body #main #rec4211990801 .gp-site-card .gp-site-card{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}

/* Autodealer service page: align the published case section with the page style. */
body.page-id-27 #main #gp-cases-auto{box-sizing:border-box;width:100%;max-width:1120px;margin:0 auto;padding:46px 24px;font-family:"GP Sans",Arial,sans-serif;font-size:19px;line-height:1.7;color:#1f3654;text-align:center}
body.page-id-27 #main #gp-cases-auto>h2{font-size:34px;line-height:1.18;margin:0 0 26px}
body.page-id-27 #main #gp-cases-auto h3{font-size:23px;line-height:1.18;margin:18px auto 14px;max-width:900px}
body.page-id-27 #main #gp-cases-auto>p:not(.gp-case-note){margin:0 0 24px}
body.page-id-27 #main #gp-cases-auto .gp-case-card{margin:0 0 24px}
body.page-id-27 #main #gp-cases-auto .gp-case-card p{max-width:900px;margin:18px auto}
body.page-id-27 #main #gp-cases-auto .gp-case-result{background:#f3f6fb;border-radius:14px}
body.page-id-27 #main #gp-cases-auto .gp-case-card summary{box-sizing:border-box;min-height:44px;margin:12px 0 0;padding:10px 0;color:#193d73;font-size:18px;line-height:1.4;overflow-wrap:break-word}
body.page-id-27 #main #gp-cases-auto .gp-case-note{font-size:14px;line-height:1.65;margin:0 auto 22px}
body.page-id-27 #main #gp-cases-auto .gp-case-cta,body.page-id-27 #main>.gp-page-section>a.gp-site-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:360px;max-width:100%;min-height:60px;margin:26px auto 0;padding:15px 24px;border:1px solid #193d73;border-radius:999px;background:#193d73;color:#fff!important;font-family:"GP Sans",Arial,sans-serif;font-size:16px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:break-word}
body.page-id-27 #main #gp-cases-auto .gp-case-cta:hover{background:#1f4a88;border-color:#1f4a88}
body.page-id-27 #main #gp-cases-auto .gp-case-cta:focus-visible{outline:3px solid #647bf0;outline-offset:3px}
@media(max-width:700px){body.page-id-27 #main #gp-cases-auto{padding:32px 20px;font-size:17px;line-height:1.7}body.page-id-27 #main #gp-cases-auto>h2{font-size:27px}body.page-id-27 #main #gp-cases-auto h3{font-size:22px}body.page-id-27 #main #gp-cases-auto .gp-case-card{margin-bottom:18px}body.page-id-27 #main #gp-cases-auto .gp-case-card summary{font-size:17px}body.page-id-27 #main #gp-cases-auto .gp-case-result{padding:18px 16px}}
