/* PRM layout refinement. Mobile is the base; desktop expands at 1000/1200px. */
body.rrgs-editorial .ed-footer{padding-bottom:48px}
body.rrgs-editorial .ed-footer>a.ed-footer-logo{display:block;width:198px;max-width:calc(100% - 40px);padding:0;margin:0 auto;transform:translateY(-50%);background:#fff;min-height:0}
body.rrgs-editorial .ed-footer>a.ed-footer-logo img{width:100%;height:auto;aspect-ratio:306/172;object-fit:contain}
body.rrgs-editorial .ed-footer-grid{margin-top:-12px;gap:36px!important}
body.rrgs-editorial .ed-footer-right-grid{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(100px,.8fr)!important;grid-template-rows:auto 1fr;align-items:start;column-gap:20px!important;row-gap:24px!important}
body.rrgs-editorial .ed-footer-practice{display:contents}
body.rrgs-editorial .ed-footer-practice>h2{grid-column:1;grid-row:1;margin:0!important}
body.rrgs-editorial .ed-footer-practice>p{grid-column:1;grid-row:2;margin:0!important}
body.rrgs-editorial .ed-footer-legal-col{grid-column:2;grid-row:2;padding:0!important;margin:0!important;align-self:start}
body.rrgs-editorial .ed-footer-legal-col>.ed-footer-legal{margin:0!important;gap:0!important}
body.rrgs-editorial .ed-footer-right-grid a{line-height:1.8;display:inline-block;vertical-align:top}
body.rrgs-editorial .ed-footer-legal-col .screen-reader-text{position:absolute!important}
body.rrgs-editorial .ed-footer .rrgs-social-links{height:auto;min-height:44px}
body.rrgs-editorial .ed-footer .rrgs-social-links__strip{width:147px;height:30px;margin-top:7px}
/* Natural dimensions and spacing; the slider's measured height follows its cards. */
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-results-featured{margin-top:-25px;padding-bottom:24px}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-case-carousel{padding:0 0 68px;visibility:visible}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-case-carousel .splide__arrows{top:auto;bottom:0;right:0;left:auto;margin:0;gap:12px}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .splide__slide{height:auto;display:flex;min-width:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card{display:flex;position:relative;flex-direction:column;gap:8px;box-sizing:border-box;width:100%;height:auto;min-height:232px;overflow:visible;padding:16px 24px 0;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;background:transparent;text-align:center;color:white;isolation:isolate}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card:before{content:"";position:absolute;inset:0;z-index:-1;background:url('result-gradient.svg') center/100% 100% no-repeat,url('result-shape.svg') center/100% 100% no-repeat;pointer-events:none}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card__amount{font:700 44px/1.11 Lexend,sans-serif;color:#fff!important;margin:0;text-transform:capitalize;overflow-wrap:anywhere}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card__title{font:600 14px/1.4 Lexend,sans-serif;color:#fff;margin:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card__details{font:400 14px/1.45 Lexend,sans-serif;text-align:left;width:100%;margin:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card__details summary{min-height:44px;padding:10px 0;color:#fff;font-size:14px;font-weight:400;text-align:center}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card__details p{font-size:16px;line-height:1.5;margin:8px 0 20px;color:#fff}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card__link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;line-height:1.35;margin:auto -24px 0;padding:10px 30px;color:#152f54;background:#e5a541;font:600 14px/1.35 Lexend,sans-serif;text-decoration:none}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-result-card__link:after{content:"";display:block;width:18px;height:18px;flex:none;background:url('button-arrow.svg') center/contain no-repeat}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .splide__pagination{position:static;margin:4px 88px 0 0;justify-content:center;padding:0}
/* Results listing supports long descriptions without diagonal masks cutting words. */
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-result-card{background:linear-gradient(160deg,#385f96,#112746);padding:28px 24px;min-width:0;height:auto;overflow:visible}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-result-card h3{color:white;font-size:36px;line-height:1.12;overflow-wrap:anywhere}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-result-card p{font-size:16px;line-height:1.5}
/* Support icons are independent media blocks; copy remains native Gutenberg. */
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-block:32px}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:24px;border-left:8px solid #e5a541;background:#152f54;text-align:left;color:#fff;min-width:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card>*{margin:0!important;min-width:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card figure{width:49px;min-height:0;align-self:center}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card img{display:block;width:49px;height:auto;max-height:65px;object-fit:contain}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card h3{font-size:24px;font-weight:300;line-height:1.3;color:#e5a541}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card p{font-size:16px;line-height:1.5;color:#fff}
/* One image layer, one editable title, one editable button. */
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-city-cta{padding:60px 0 110px;min-height:0;background:linear-gradient(#112746,#385f96);text-align:center}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta>.prm-backdrop{display:none}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta .prm-container{max-width:1034px;display:flex;flex-direction:column;align-items:center;gap:24px}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta .prm-container>*{margin:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta h2.prm-display{font-size:32px;line-height:1.25;text-transform:none;color:#fff;margin:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta h2.prm-display:after{content:"";display:block;width:40px;height:6px;margin:24px auto 0;background:#e5a541}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta p{font-size:16px;line-height:1.5;color:#fff}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta .wp-block-buttons{width:100%;max-width:410px;justify-content:center}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta .wp-block-button{width:100%}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta .wp-block-button__link{width:100%;min-height:60px;padding:16px;font-size:18px}
/* Shared interior rhythm. */
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-no-fees .rrgs-icon-callout__icon{width:100%;min-width:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-main-grid{padding-block:40px;gap:40px}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-main-grid>.prm-inner{min-width:0;margin:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-prose{min-width:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-prose>figure img{max-width:100%;height:auto}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-prose .wp-block-buttons{margin-block:24px}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner :is(.prm-bio-details,.prm-legal,.prm-office-grid){min-width:0}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner :is(table,iframe,video){max-width:100%}
:is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .wp-block-table{overflow-x:auto}
@media(min-width:768px){
 body.rrgs-editorial .ed-footer>a.ed-footer-logo{width:306px}
 body.rrgs-editorial .ed-footer-grid{margin-top:0}
}
@media(min-width:1000px){
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-results-featured{margin-top:-52px;padding-bottom:12px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-main-grid{gap:64px;padding-block:72px 100px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-grid{gap:24px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card{grid-template-columns:98px minmax(0,1fr);gap:8px 40px;padding:35px;border-left-width:10px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card figure{grid-column:1;grid-row:1/3;width:98px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card img{width:98px;max-height:129px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card h3{grid-column:2;font-size:36px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-support-card p{grid-column:2;font-size:22px;line-height:1.28}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-city-cta{padding:130px 0 180px;min-height:740px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta>.prm-backdrop{display:block;opacity:.55;mix-blend-mode:multiply}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta>.prm-backdrop img{object-position:center bottom}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta h2.prm-display{font-size:clamp(52px,4.35vw,80px);line-height:1.25}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta h2.prm-display:after{width:64px;height:10px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta p{font-size:22px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-city-cta .wp-block-button__link{font-size:24px;min-height:70px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-inner .prm-result-card h3{font-size:44px}
}
@media(min-width:1200px){
 body.rrgs-editorial .ed-footer-grid{grid-template-columns:minmax(0,461fr) minmax(0,220fr) minmax(0,220fr) minmax(0,364fr)!important;gap:30px!important;margin-top:0}
 body.rrgs-editorial .ed-footer{padding-bottom:65px}
 body.rrgs-editorial .ed-footer-right-grid{grid-template-columns:minmax(0,220fr) minmax(0,114fr)!important;gap:32px 30px!important}
 body.rrgs-editorial .ed-footer h2{font-size:24px;line-height:28px;letter-spacing:0}
 body.rrgs-editorial .ed-footer>.ed-container{padding-top:0}
 body.rrgs-editorial .ed-footer .wp-block-button__link{font-size:clamp(18px,1.3vw,24px);min-height:70px!important}
}
/* The inspector changes available width, so editor content gets its own rules. */
.editor-styles-wrapper .prm-inner .prm-support-card{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:24px}
.editor-styles-wrapper .prm-inner .prm-support-card :is(figure,h3,p){grid-column:auto;grid-row:auto}
.editor-styles-wrapper .prm-inner .prm-support-card img{width:49px}
.editor-styles-wrapper .prm-inner .prm-support-card h3{font-size:24px}
.editor-styles-wrapper .prm-inner .prm-support-card p{font-size:16px}
.editor-styles-wrapper .prm-inner .prm-city-cta{padding:32px 16px;min-height:0}
.editor-styles-wrapper .prm-inner .prm-city-cta>.prm-backdrop{position:relative!important;opacity:1;mix-blend-mode:normal;display:block}
.editor-styles-wrapper .prm-inner .prm-city-cta h2.prm-display{font-size:32px}
/* Reserve one control row; five indicators must never wrap below the arrows. */
@media(max-width:599px){
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .rrgs-case-carousel .splide__arrows{left:0;right:0;justify-content:space-between}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .splide__pagination{position:absolute;left:52px;right:52px;bottom:0;display:flex;flex-wrap:nowrap;justify-content:center;gap:2px;margin:0;padding:0;min-height:44px}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .splide__pagination li{margin:0;padding:0;flex:none;line-height:0}
 :is(body.rrgs-editorial,.editor-styles-wrapper) .prm-results-featured .splide__pagination__page{width:28px;min-width:28px;height:44px;margin:0;padding:0}
}
@media(min-width:1000px){
 body.rrgs-editorial .prm-inner .prm-container{width:calc(100% - 80px);max-width:1420px}
}
@media(min-width:1200px){
 body.rrgs-editorial .ed-footer>.ed-container{max-width:1420px}
 body.rrgs-editorial .ed-footer>a.ed-footer-logo{transform:translateY(-77px)}
 body.rrgs-editorial .ed-footer-grid{margin-top:-27px}
}
