
.lrve-page .wp-block-post-title{display:none}
.lrve-page .entry-content{max-width:1240px;margin:0 auto;padding:0 22px}
.lrve-page .entry-content>.wp-block-group{max-width:1240px}
.lrve-hero{background:#fff;border-radius:28px;overflow:hidden;margin:22px auto 65px}
.lrve-hero-columns{align-items:stretch!important;gap:0!important;margin:0!important}
.lrve-hero-columns>.wp-block-column{margin:0!important}
.lrve-hero-copy{padding:clamp(30px,5vw,80px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:480px}
.lrve-hero-copy h1{font-size:clamp(40px,5vw,72px);letter-spacing:-.055em;line-height:1.08}
.lrve-hero-copy p{line-height:1.7;color:#67617a}
.lrve-hero-copy .wp-block-image{max-width:160px}
.lrve-hero-media{height:100%;background:#e6dcfa;display:flex;flex-direction:column;justify-content:center;padding:20px}
.lrve-hero-media .wp-block-image img{width:100%;max-height:510px;object-fit:contain}
.lrve-hero-media p{font-size:12px;color:#655b7a}
.lrve-pill .wp-block-button__link{background:#dcfa77!important;color:#26243c!important;border-radius:50px!important;padding:16px 25px;font-weight:700}
.lrve-gallery-wrap,.lrve-editable{margin:50px auto 80px!important}
.lrve-gallery-wrap h2,.lrve-editable h2,.lrve-footer-cta h2{font-size:clamp(32px,4vw,50px);letter-spacing:-.045em}
.lrve-gallery,.lrve-card-grid{gap:18px}
.lrve-gallery-card,.lrve-service-card{background:#f0e8ff;border-radius:18px;padding:16px;min-width:0}
.lrve-gallery-card img,.lrve-service-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.lrve-gallery-card p{font-size:12px}
.lrve-service-card{background:#faf8f4;padding:20px}
.lrve-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lrve-post-card{padding:20px;border-radius:16px;background:#f5f0ff}
.lrve-post-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.lrve-footer-cta{background:#e4d9fa;border-radius:25px;padding:55px;margin-bottom:50px!important}
@media(max-width:781px){
.lrve-page .entry-content{padding:0 12px}
.lrve-hero-columns{display:block!important}
.lrve-hero-copy{min-height:0;padding:36px 24px}
.lrve-hero-media{min-height:300px}
.lrve-gallery{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:16px;scrollbar-width:thin}
.lrve-gallery>.wp-block-column{flex:0 0 78%!important;scroll-snap-align:start;margin:0!important}
.lrve-card-grid{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory}
.lrve-card-grid>.wp-block-column{flex:0 0 76%!important;scroll-snap-align:start}
.lrve-post-grid{grid-template-columns:1fr}
.lrve-footer-cta{padding:30px}
}

/* Reference layout rebuild */
body.lrve-page .wp-block-post-title{display:none}
body.lrve-page .wp-block-post-content,
body.lrve-page .entry-content,
.editor-styles-wrapper .wp-block-post-content {
 width:min(100% - 36px,1200px)!important;max-width:1200px!important;
 margin-inline:auto!important;padding:0!important;
}
body.lrve-page .wp-block-post-content > .wp-block-group,
.editor-styles-wrapper .wp-block-post-content > .wp-block-group{
 max-width:1200px!important;width:100%!important;margin:0 auto 56px!important;
}
.lrve-hero{border-radius:24px!important;background:#fff!important;overflow:hidden}
.lrve-hero-columns,.lrve-feature-columns{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 align-items:stretch!important;gap:0!important;width:100%!important;max-width:none!important;
}
.lrve-hero-columns>.wp-block-column,.lrve-feature-columns>.wp-block-column{
 width:auto!important;min-width:0!important;flex-basis:auto!important;
}
.lrve-hero-copy,.lrve-feature-copy{
 padding:clamp(35px,5vw,80px)!important;min-width:0!important;
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
}
.lrve-hero-copy h1{font-size:clamp(38px,4.5vw,70px)!important;letter-spacing:-.06em!important;line-height:1.07!important;word-break:normal!important;overflow-wrap:normal!important;color:#28233d}
.lrve-hero-copy p,.lrve-feature-copy p{max-width:46ch;line-height:1.75;color:#706783}
.lrve-hero-media{min-height:450px!important;padding:0!important;background:#e9dfff!important;justify-content:center}
.lrve-hero-media figure,.lrve-photo figure{width:100%!important;margin:0!important;height:100%}
.lrve-hero-media img,.lrve-photo img{display:block;width:100%!important;height:100%!important;min-height:450px;object-fit:cover!important;max-height:none!important}
.lrve-hero-media p{font-size:11px;padding:8px 18px;color:#655c77}
.lrve-intro{padding:65px clamp(20px,5vw,80px)!important;text-align:center;background:#f5f0ff;border-radius:20px}
.lrve-intro h2{font-size:clamp(32px,4vw,54px);letter-spacing:-.04em}
.lrve-intro p{max-width:680px;margin-inline:auto}
.lrve-gallery-wrap{padding:20px 0!important}
.lrve-gallery,.lrve-process-grid,.lrve-faq-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;max-width:none!important;overflow:visible!important}
.lrve-gallery>.wp-block-column,.lrve-process-grid>.wp-block-column,.lrve-faq-grid>.wp-block-column{width:auto!important;min-width:0!important;flex-basis:auto!important}
.lrve-tile{background:#f4effb;padding:15px;border-radius:17px}
.lrve-tile img{width:100%!important;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.lrve-tile h3{font-size:23px;margin:16px 0 8px}
.lrve-tile p{font-size:14px;color:#655d73}
.lrve-tile .wp-block-button__link{font-size:13px}
.lrve-feature{border-radius:20px;overflow:hidden;background:#fff}
.lrve-feature-copy{min-height:410px}
.lrve-feature-copy h2{font-size:clamp(32px,3.6vw,54px);letter-spacing:-.045em}
.lrve-photo{height:100%;background:#eee7f7}
.lrve-process{background:#e9dfff;padding:50px;border-radius:20px}
.lrve-process-grid>.wp-block-column{background:#fff;border-radius:14px;padding:25px}
.lrve-faq{padding:45px 10px}
.lrve-faq-grid>.wp-block-column{border-top:1px solid #d9d1e4;padding:20px}
.lrve-footer-cta{background:#e9dfff!important;padding:70px!important;border-radius:22px}
.lrve-footer-cta h2{max-width:650px}
.lrve-pill .wp-block-button__link{background:#dcfa77!important;color:#28233d!important;border-radius:40px!important}
@media(max-width:781px){
 body.lrve-page .wp-block-post-content,.editor-styles-wrapper .wp-block-post-content{width:calc(100% - 20px)!important}
 .lrve-hero-columns,.lrve-feature-columns{display:flex!important;flex-direction:column!important}
 .lrve-hero-copy,.lrve-feature-copy{padding:35px 25px!important;min-height:0!important}
 .lrve-hero-media img,.lrve-photo img{min-height:260px!important;max-height:400px!important}
 .lrve-gallery{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:14px!important}
 .lrve-gallery>.wp-block-column{flex:0 0 80%!important;width:80%!important;scroll-snap-align:start}
 .lrve-process-grid,.lrve-faq-grid{grid-template-columns:1fr!important}
 .lrve-process{padding:25px}
 .lrve-footer-cta{padding:35px 25px!important}
}

/* v4.1: remove nested theme constraints on columns and service cards */
body.lrve-page .wp-block-post-content > .lrve-hero,body.lrve-page .wp-block-post-content > .lrve-gallery-wrap,body.lrve-page .wp-block-post-content > .lrve-intro,body.lrve-page .wp-block-post-content > .lrve-feature,body.lrve-page .wp-block-post-content > .lrve-process,body.lrve-page .wp-block-post-content > .lrve-faq,body.lrve-page .wp-block-post-content > .lrve-footer-cta{width:min(1200px,calc(100vw - 56px))!important;max-width:1200px!important;margin-left:50%!important;transform:translateX(-50%);box-sizing:border-box}
body.lrve-page .lrve-gallery-wrap .lrve-gallery,body.lrve-page .lrve-gallery-wrap .wp-block-columns.lrve-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;width:100%!important;max-width:none!important;margin:0!important;overflow:visible!important}
body.lrve-page .lrve-gallery>.wp-block-column{flex:none!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
body.lrve-page .lrve-gallery .lrve-tile{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box}
body.lrve-page .lrve-gallery .lrve-tile figure{width:100%!important;max-width:none!important}
body.lrve-page .lrve-gallery .lrve-tile img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover}
body.lrve-page .lrve-hero-media{min-height:440px!important;display:flex;flex-direction:column;justify-content:center}
body.lrve-page .lrve-hero-media img{min-height:0!important;aspect-ratio:4/3;object-fit:cover!important}
@media(max-width:781px){body.lrve-page .wp-block-post-content > .lrve-hero,body.lrve-page .wp-block-post-content > .lrve-gallery-wrap,body.lrve-page .wp-block-post-content > .lrve-intro,body.lrve-page .wp-block-post-content > .lrve-feature,body.lrve-page .wp-block-post-content > .lrve-process,body.lrve-page .wp-block-post-content > .lrve-faq,body.lrve-page .wp-block-post-content > .lrve-footer-cta{width:calc(100vw - 24px)!important}body.lrve-page .lrve-gallery-wrap .lrve-gallery,body.lrve-page .lrve-gallery-wrap .wp-block-columns.lrve-gallery{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scroll-snap-type:x mandatory}body.lrve-page .lrve-gallery>.wp-block-column{flex:0 0 82%!important;width:82%!important;scroll-snap-align:start}}

/* v5: keep galleries full width and never squeeze desktop cards */
@media(min-width:782px){
body.lrve-page .lrve-gallery-wrap,body.lrve-page .lrve-gallery-wrap>.wp-block-columns{width:100%!important;max-width:1200px!important}
body.lrve-page .lrve-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
body.lrve-page .lrve-gallery>.wp-block-column{width:100%!important;max-width:none!important;flex:initial!important;min-width:0!important}
body.lrve-page .lrve-tile{width:100%!important;max-width:none!important;box-sizing:border-box!important}
body.lrve-page .lrve-tile figure,body.lrve-page .lrve-tile img{width:100%!important}
}
