/*
Theme Name: Interjerui
Description: Custom ERDVIORA theme.
Version: 2.0.0
Text Domain: interjerui
*/

:root{--background:#faf9f6;--foreground:#1b1b19;--card:#fff;--card-foreground:#1b1b19;--popover:#fff;--popover-foreground:#1b1b19;--primary:#bc936e;--primary-foreground:#151514;--secondary:#20211f;--secondary-foreground:#faf9f6;--muted:#eeece7;--muted-foreground:#68655f;--accent:#a67b56;--accent-foreground:#151514;--destructive:#b42318;--border:#d6d1c9;--input:#d6d1c9;--ring:#996d48;--radius:0}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{background:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;margin:0;font-family:"Poppins",Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}img{max-width:100%;display:block}h1,h2,h3,h4,p,figure{margin:0}a:focus-visible{outline-offset:6px;outline:3px solid #bc936e}.shell{width:min(1320px,100% - 96px);margin:0 auto}.section-pad{padding:112px 0}.skip-link{color:#111;z-index:50;background:#fff;padding:16px;position:absolute;top:-100px;left:20px}.skip-link:focus{top:12px}.site-header{color:#faf9f6;background:#171816}.header-inner{justify-content:space-between;align-items:center;gap:32px;min-height:100px;display:flex}.brand{letter-spacing:-.05em;white-space:nowrap;align-items:center;gap:12px;font-size:1.7rem;font-weight:800;display:inline-flex}.brand-symbol{border:3px solid;place-items:center;width:36px;height:36px;padding-left:1px;font-size:1.9rem;font-weight:900;line-height:1;display:grid}.nav-links{color:#d3d0c9;gap:30px;font-size:.875rem;display:flex}.nav-links a:hover,.header-cta:hover{color:#d8b18e}.header-cta{border-bottom:1px solid #9d7957;align-items:center;gap:14px;padding:12px 0;font-size:.875rem;font-weight:700;display:flex}.hero{color:#fff;background:#171816;grid-template-columns:46% 54%;min-height:660px;display:grid}.hero-content{flex-direction:column;align-items:flex-start;padding:70px 48px 32px max(48px,50vw - 660px);display:flex}.eyebrow,.section-label{text-transform:uppercase;letter-spacing:.15em;font-size:.875rem;font-weight:700;line-height:1.5}.eyebrow{color:#c5a283;max-width:310px}.hero h1{letter-spacing:-.055em;margin:34px 0 25px;font-size:clamp(3.1rem,4.4vw,4.7rem);font-weight:400;line-height:1.08}.hero h1 span{color:#c5a283}.hero-copy{color:#c9c7c1;max-width:430px;font-size:1.0625rem;line-height:1.75}.button{justify-content:center;align-items:center;gap:20px;min-height:54px;padding:17px 24px;font-size:.9375rem;font-weight:700;line-height:1.4;transition:background .2s;display:inline-flex}.button-primary{color:#181816;background:#c5a283}.button-primary:hover{background:#e0bea1}.hero .button{margin:30px 0 52px}.hero-bottom{color:#aaa79e;border-top:1px solid #41403a;justify-content:space-between;align-items:center;gap:20px;width:100%;margin-top:auto;padding-top:23px;font-size:.875rem;display:flex}.hero-bottom>a{color:#dfdcd5;align-items:center;gap:15px;display:flex}.hero-visual{min-width:0;position:relative;overflow:hidden}.hero-visual>img{object-fit:cover;object-position:47% center;width:100%;height:100%}.hero-visual:after{content:"";background:linear-gradient(#0000,#0009);position:absolute;inset:55% 0 0}.hero-visual figcaption{z-index:1;justify-content:space-between;gap:20px;font-size:.875rem;line-height:1.6;display:flex;position:absolute;bottom:31px;left:32px;right:32px}.hero-visual figcaption span:first-child{font-weight:600}.hero-visual figcaption span:last-child{color:#e0d6c9}.section-label{color:#88613f}.statement-grid{grid-template-columns:1fr 2fr;gap:90px;display:grid}.statement-grid>.section-label{max-width:250px;padding-top:10px}h2{letter-spacing:-.05em;font-size:clamp(2.5rem,3.7vw,3.6rem);font-weight:400;line-height:1.1}.lead-copy{color:#66635d;max-width:640px;margin-top:28px;font-size:1.125rem;line-height:1.8}.services{background:#efede7}.section-heading{grid-template-columns:1.5fr 1fr;align-items:end;gap:96px;margin-bottom:62px;display:grid}.section-heading h2{margin-top:23px}.section-heading>p{color:#66635d;justify-self:end;max-width:380px;font-size:1.0625rem;line-height:1.75}.service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;display:grid}.service-group{border-top:2px solid #9b7758;padding-top:28px}.service-group h3{letter-spacing:-.035em;font-size:1.3rem;font-weight:500;line-height:1.3}.group-subtitle{color:#777168;min-height:42px;margin-top:10px;font-size:.875rem;line-height:1.5}.service-items{margin-top:27px}.service-item{border-top:1px solid #d3cfc5;grid-template-columns:27px 1fr;gap:13px;min-height:113px;padding:22px 0;display:grid}.service-number{color:#8c623f;font-family:"Poppins",Arial,Helvetica,sans-serif;font-size:1.125rem;line-height:1.5}.service-item h4{font-size:1rem;font-weight:400;line-height:1.6}.service-item p{color:#6c675e;margin-top:5px;font-size:.875rem;line-height:1.5}.muted-heading{color:#8d887d}.project-grid{grid-template-columns:1fr 1fr;gap:40px;display:grid}.project-image{background:#e9e5df;height:370px;position:relative;overflow:hidden}.project-image>img{object-fit:cover;width:100%;height:100%}.project-image.exterior>img{object-position:center}.image-tag{color:#403b34;background:#faf9f6;padding:9px 13px;font-size:.8125rem;line-height:1.5;position:absolute;bottom:18px;left:18px}.project-caption{padding-top:26px}.project-caption>span{color:#8c623f;font-size:.875rem}.project-caption h3{letter-spacing:-.04em;margin-top:12px;font-size:1.75rem;font-weight:400}.project-caption p{color:#6c675e;max-width:540px;margin-top:15px;font-size:1rem;line-height:1.8}.loft-note{border-top:1px solid #d6d1c9;grid-template-columns:1fr 1.15fr 1.85fr;gap:40px;margin-top:64px;padding-top:36px;display:grid}.loft-note h3{letter-spacing:-.04em;font-size:1.65rem;font-weight:400;line-height:1.2}.loft-note p{color:#6c675e;font-size:1rem;line-height:1.75}.approach{color:#f6f4ef;background:#20211f}.approach .section-label{color:#c5a283}.approach .section-heading>p{color:#b3b2a9}.approach-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px;display:grid}.approach-step{border-top:1px solid #656052;padding-top:24px}.approach-step>span{color:#c5a283;font:2rem "Poppins",Arial,Helvetica,sans-serif}.approach-step h3{letter-spacing:-.04em;margin:42px 0 18px;font-size:1.55rem;font-weight:400}.approach-step p{color:#bbb9b1;font-size:1rem;line-height:1.75}.scope-note{color:#afada5;border-top:1px solid #484840;max-width:890px;margin-top:52px;padding-top:25px;font-size:.875rem;line-height:1.7}.profile-grid{grid-template-columns:1fr 2fr;gap:90px;display:grid}.experience-number{letter-spacing:-.08em;margin-top:62px;font-size:7.5rem;font-weight:400;line-height:1}.experience-number span{vertical-align:top;color:#9c7554;padding-left:6px;font-size:3.5rem;position:relative;top:12px}.experience-label{color:#6c675e;margin-top:20px;font-size:1rem;line-height:1.7}.profile-name{margin-bottom:26px;font-size:1rem}.profile-name span{color:#797267}.profile-detail{color:#6c675e;max-width:620px;margin-top:20px;font-size:1rem;line-height:1.8}.contact{color:#fff;background:#171816}.contact-grid{grid-template-columns:1.45fr 1fr;align-items:center;gap:90px;display:grid}.contact .section-label{color:#c5a283}.contact h2{margin-top:28px}.contact h2 span{color:#c5a283}.contact-grid>div>p:last-child{color:#b6b3aa;max-width:480px;margin-top:26px;font-size:1.0625rem;line-height:1.8}.contact-details{border-left:1px solid #585346;padding-left:55px}.contact-name{color:#d1ccc1;font-size:1rem}.phone-link{letter-spacing:-.025em;white-space:nowrap;margin-top:17px;font-size:clamp(1.5rem,2.4vw,2.2rem);display:inline-block}.contact-actions{flex-wrap:wrap;align-items:center;gap:24px;margin-top:28px;display:flex}.call-link{align-items:center;gap:9px;min-height:44px;font-size:.9375rem;display:inline-flex}.contact-grid .contact-note{color:#a5a095!important;margin-top:25px!important;font-size:.875rem!important;line-height:1.8!important}.footer{color:#d5d0c5;background:#171816}.footer-inner{border-top:1px solid #3c3b34;justify-content:space-between;align-items:center;gap:30px;padding:32px 0;font-size:.875rem;display:flex}.footer-brand{font-size:1.25rem}.footer-brand .brand-symbol{border-width:2px;width:27px;height:27px;font-size:1.4rem}.footer-inner>span{color:#a29e94}@media (width>=1600px){.hero-content{padding-right:65px}.hero{min-height:720px}}@media (width<=1150px){.shell{width:calc(100% - 64px)}.header-inner{gap:24px}.nav-links{gap:18px}.hero-content{padding-left:32px;padding-right:32px}.hero h1{font-size:3.35rem}.hero-visual figcaption{flex-direction:column;gap:4px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 48px}.group-subtitle{min-height:0}.service-item{min-height:90px}.statement-grid,.profile-grid,.section-heading{gap:60px}.approach-grid{gap:26px}.project-image{height:300px}.contact-grid{gap:40px}.contact-details{padding-left:32px}.contact-actions{gap:16px}.footer-inner{flex-wrap:wrap}}@media (width<=820px){.nav-links{display:none}.hero{grid-template-columns:1fr;min-height:0}.hero-content{padding:58px 32px 30px}.eyebrow{max-width:none}.hero h1{font-size:clamp(3rem,7.5vw,4.6rem)}.hero-copy{max-width:560px}.hero .button{margin-bottom:38px}.hero-bottom{max-width:none}.hero-visual{height:480px}.hero-visual>img{object-position:center 54%}.hero-visual figcaption{flex-direction:row}.section-pad{padding:80px 0}.statement-grid,.profile-grid{grid-template-columns:1fr;gap:35px}.statement-grid>.section-label{max-width:none}.section-heading{grid-template-columns:1fr;gap:25px;margin-bottom:42px}.section-heading>p{justify-self:start;max-width:550px}.project-grid{gap:28px}.project-image{height:280px}.loft-note{grid-template-columns:1fr 2fr;gap:25px}.loft-note p{grid-column:2}.approach-grid{grid-template-columns:1fr 1fr;gap:42px}.approach-step h3{margin-top:28px}.profile-grid>div:first-child{grid-template-columns:1fr 1fr;align-items:end;gap:12px;display:grid}.profile-grid>div:first-child>.section-label{grid-column:1/-1}.experience-number{margin-top:22px;font-size:6rem}.experience-label{margin:0;padding-bottom:10px}.contact-grid{grid-template-columns:1fr;gap:48px}.contact-details{border-top:1px solid #585346;border-left:0;padding:32px 0 0}.phone-link{font-size:2rem}.footer-inner{gap:24px}.footer-inner>p{display:none}}@media (width<=540px){.shell{width:calc(100% - 40px)}.header-inner{gap:15px;min-height:82px}.brand{gap:9px;font-size:1.35rem}.brand-symbol{width:29px;height:29px;font-size:1.5rem}.header-cta{gap:6px;max-width:145px;font-size:.875rem}.header-cta svg{flex-shrink:0}.hero-content{padding:45px 20px 25px}.eyebrow{letter-spacing:.13em;max-width:280px;font-size:.8125rem}.hero h1{letter-spacing:-.055em;margin:27px 0 23px;font-size:clamp(2.5rem,9.4vw,3.5rem)}.hero-copy{font-size:1rem}.hero .button{margin-top:27px;margin-bottom:35px;padding:17px 20px}.hero-visual{height:350px}.hero-visual figcaption{flex-direction:column;gap:2px;font-size:.8125rem;bottom:20px;left:20px;right:20px}.hero-bottom{font-size:.875rem}.section-pad{padding:66px 0}.section-label{font-size:.8125rem}h2{font-size:2.4rem}.lead-copy{font-size:1rem;line-height:1.8}.section-heading>p{font-size:1rem}.service-grid{grid-template-columns:1fr;gap:35px}.service-group h3{font-size:1.5rem}.service-item{min-height:0;padding:20px 0}.service-items{margin-top:22px}.service-group{padding-top:22px}.project-grid{grid-template-columns:1fr;gap:42px}.project-image{aspect-ratio:1.35;height:auto}.project-caption h3{font-size:1.6rem}.loft-note{grid-template-columns:1fr;gap:20px;margin-top:42px}.loft-note p{grid-column:1}.loft-note h3 br{display:none}.approach-grid{grid-template-columns:1fr;gap:35px}.approach-step{grid-template-columns:48px 1fr;gap:14px 12px;display:grid}.approach-step h3{align-self:center;margin:0}.approach-step p{grid-column:2}.scope-note{margin-top:36px}.profile-grid>div:first-child{grid-template-columns:1fr 1.3fr}.experience-number{font-size:5rem}.experience-number span{font-size:2.5rem}.experience-label{font-size:.875rem}.profile-name{font-size:.9375rem}.contact-actions{align-items:flex-start;gap:22px}.contact-actions .button{padding:16px 19px}.footer-inner{align-items:flex-start;font-size:.8125rem}.footer-inner>span{padding-top:7px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition:none!important}}.header-inner{flex-wrap:wrap;padding-top:20px;padding-bottom:20px}.service-group,.service-item>div,.section-heading>div,.profile-grid>div,.contact-grid>div{min-width:0}.service-item h4,.service-group h3,.contact h2,.profile h2{overflow-wrap:break-word}.phone-link{white-space:normal}.brand-symbol,.footer-brand .brand-symbol{border:0;flex-shrink:0;padding:0}.project-image.exterior{background:#dfdedb}.project-image.exterior>img{object-fit:contain}.project-credit{color:#777168;margin-top:24px;font-size:.8125rem;line-height:1.7}.model-feature{border-top:1px solid #d6d1c9;grid-template-columns:1fr 1fr;align-items:center;gap:60px;margin-top:60px;padding-top:54px;display:grid}.model-feature figure{background:#c8c5c2;position:relative}.model-feature figure>img{width:100%;height:auto}.model-feature figcaption{color:#59544c;background:#faf9f6;padding:8px 12px;font-size:.8125rem;position:absolute;bottom:16px;left:18px}.model-feature h3{letter-spacing:-.04em;margin-top:22px;font-size:2.1rem;font-weight:400;line-height:1.15}.model-feature>div>p:not(.section-label){color:#6c675e;margin-top:20px;font-size:1rem;line-height:1.8}.model-feature>div>p.project-credit{font-size:.8125rem}@media (width<=820px){.model-feature{gap:30px}.model-feature h3{font-size:1.7rem}}@media (width<=540px){.model-feature{grid-template-columns:1fr;gap:28px;margin-top:40px;padding-top:40px}.model-feature figcaption{background:#e8e5e0;padding:12px 16px;position:static}.project-image.exterior{aspect-ratio:2}}


/* ===== ERDVIORA INTERNAL PAGES ===== */
.nav-links .nav-menu{display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}
.nav-links .nav-menu li{margin:0}
.nav-links .nav-menu a{display:block}
.nav-links .current-menu-item>a,.nav-links .current_page_item>a{color:#d8b18e}
.page-hero-dark{color:#fff;background:#171816;padding:86px 0 94px}
.page-hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px}
.page-hero-dark .section-label{color:#c5a283}
.page-hero-dark h1{font-size:clamp(3.2rem,5.2vw,5.6rem);font-weight:400;letter-spacing:-.06em;line-height:1.02;margin:25px 0}
.page-hero-dark h1 span{color:#c5a283}
.page-hero-dark p:not(.section-label){max-width:600px;color:#c7c3ba;font-size:1.08rem;line-height:1.8}
.page-hero-grid figure{height:460px;overflow:hidden;background:#252522}
.page-hero-grid figure img{width:100%;height:100%;object-fit:cover}
.page-hero-simple .shell{max-width:1320px}
.page-hero-simple h1{max-width:850px}
.page-hero-simple p:not(.section-label){max-width:700px}
.about-page-grid{display:grid;grid-template-columns:1fr 2fr;gap:90px}
.packages-section{background:#f1efe9}
.package-list{display:grid;gap:70px}
.package-card{display:grid;grid-template-columns:minmax(320px,.88fr) 1.12fr;background:#faf9f6;border-top:2px solid #9b7758}
.package-card-reverse figure{order:2}
.package-card-reverse .package-copy{order:1}
.package-card figure{min-height:650px;background:#ddd8d0}
.package-card figure img{width:100%;height:100%;object-fit:cover}
.package-copy{padding:58px 64px 62px}
.package-copy .section-label{margin-bottom:18px}
.package-copy h2{font-size:clamp(2.6rem,4vw,4rem)}
.package-price{color:#8c623f;font:1.5rem "Poppins",Arial,Helvetica,sans-serif;margin-top:18px}
.package-intro{color:#6c675e;max-width:650px;margin-top:18px;font-size:1.05rem;line-height:1.75}
.package-features{list-style:none;margin:32px 0 34px;padding:0;border-top:1px solid #d6d1c9}
.package-features li{position:relative;padding:14px 0 14px 29px;border-bottom:1px solid #d6d1c9;line-height:1.5}
.package-features li:before{content:"✓";position:absolute;left:0;color:#9b7758;font-weight:700}
.package-card-full{grid-template-columns:.8fr 1.2fr;background:#faf9f6;color:#181816}
.package-card-full .package-intro{color:#6c675e}
.package-card-full .package-price{color:#8c623f}
.package-card-full figure{background:#ddd8d0}
.package-card-full figure img{object-fit:cover}
.full-service-list{list-style:none;margin:30px 0 34px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 34px}
.full-service-list li{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:14px 0;border-top:1px solid #d6d1c9;line-height:1.45}
.full-service-list li>span{color:#8c623f;font:1.1rem "Poppins",Arial,Helvetica,sans-serif}
.full-service-list small{display:block;color:#6c675e;font-size:.78rem;margin-top:3px}
.work-archive{background:#faf9f6}
.work-group{margin-bottom:110px}
.work-group:last-child{margin-bottom:0}
.work-group-head{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;align-items:end;margin-bottom:45px}
.work-group-head h2{margin-top:12px}
.work-group-head>p{color:#6c675e;line-height:1.75}
.work-entry{border-top:1px solid #d6d1c9;padding-top:42px;margin-top:42px}
.work-entry:first-of-type{margin-top:0}
.work-gallery{display:grid;grid-template-columns:1.6fr 1fr;grid-template-rows:1fr 1fr;gap:14px;height:560px}
.work-gallery figure{overflow:hidden;background:#e7e4dd}
.work-gallery figure img{width:100%;height:100%;object-fit:cover}
.work-gallery-main{grid-row:1 / span 2}
.work-gallery.count-1{display:block;height:auto}
.work-gallery.count-1 .work-gallery-main{height:auto}
.work-gallery.count-1 .work-gallery-main img{height:auto}
.work-gallery.count-2{grid-template-rows:1fr;height:430px}
.work-gallery.count-2 .work-gallery-main{grid-row:auto}
.work-entry-copy{display:grid;grid-template-columns:.7fr 1.3fr;gap:30px 65px;padding-top:32px}
.work-entry-copy .section-label{grid-column:1}
.work-entry-copy h3{grid-column:2;font-size:2rem;font-weight:400;letter-spacing:-.04em}
.work-excerpt,.work-content{grid-column:2;color:#6c675e;line-height:1.8}
.work-content p{margin:0 0 12px}
.empty-projects{padding:40px 0}
.empty-projects h2{max-width:720px;margin-top:20px}
.contact-page{background:#efede7}
.contact-page-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}
.contact-info-card,.contact-form-card{background:#faf9f6;padding:55px}
.contact-info-card h2{margin-top:18px}
.contact-info-card>p:not(.section-label){color:#6c675e;margin-top:20px;line-height:1.8}
.contact-data{margin-top:40px;border-top:1px solid #d6d1c9}
.contact-data>div{padding:19px 0;border-bottom:1px solid #d6d1c9}
.contact-data span{display:block;color:#8c623f;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;margin-bottom:5px}
.contact-data strong,.contact-data a{font-size:1.15rem;font-weight:500}
.erdviora-form{display:grid;gap:17px}
.erdviora-form label{display:grid;gap:7px;font-size:.83rem;text-transform:uppercase;letter-spacing:.08em;color:#5e5a53}
.erdviora-form input,.erdviora-form textarea,.erdviora-form select{width:100%;border:1px solid #cfcac0;background:#fff;padding:13px 14px;font:inherit;color:#1b1b19}
.erdviora-form textarea{resize:vertical}
.erdviora-form .button{border:0;cursor:pointer;margin-top:5px}
.form-message{padding:14px 16px;margin-bottom:22px;font-size:.95rem}
.form-message.success{background:#e4eadf;color:#354431}
.form-message.error{background:#f0dddd;color:#6e2929}
.generic-page-title{font-size:clamp(2.8rem,5vw,5rem);font-weight:400;letter-spacing:-.05em;line-height:1.05;margin:24px 0 36px}
.generic-content{max-width:820px;line-height:1.8}
.footer .brand-symbol{width:27px;height:27px}
@media(max-width:1150px){
  .nav-links .nav-menu{gap:18px}
  .nav-links{font-size:.8rem}
  .package-copy{padding:45px}
  .full-service-list{grid-template-columns:1fr}
}
@media(max-width:900px){
  .header-inner{display:grid;grid-template-columns:auto 1fr;gap:14px 25px}
  .header-cta{justify-self:end}
  .nav-links{grid-column:1 / -1;display:block!important;width:100%;border-top:1px solid #343531;padding-top:15px}
  .nav-links .nav-menu{display:flex;flex-wrap:wrap;gap:10px 20px}
  .page-hero-grid,.about-page-grid,.contact-page-grid{grid-template-columns:1fr;gap:45px}
  .page-hero-grid figure{height:390px}
  .package-card,.package-card-full{grid-template-columns:1fr}
  .package-card-reverse figure,.package-card-reverse .package-copy{order:initial}
  .package-card figure{min-height:0;height:520px}
  .work-group-head{grid-template-columns:1fr;gap:20px}
  .work-entry-copy{grid-template-columns:1fr;gap:14px}
  .work-entry-copy .section-label,.work-entry-copy h3,.work-excerpt,.work-content{grid-column:1}
}
@media(max-width:600px){
  .header-inner{grid-template-columns:1fr auto;padding-top:15px;padding-bottom:15px}
  .brand{font-size:1.18rem}
  .header-cta{font-size:.75rem}
  .nav-links .nav-menu{gap:8px 14px;font-size:.72rem;text-transform:uppercase}
  .page-hero-dark{padding:60px 0 70px}
  .page-hero-dark h1{font-size:2.8rem}
  .page-hero-grid figure{height:300px}
  .package-copy{padding:32px 24px 38px}
  .package-card figure{height:400px}
  .full-service-list{grid-template-columns:1fr}
  .work-gallery{height:390px;gap:8px}
  .work-gallery.count-2{height:270px}
  .contact-info-card,.contact-form-card{padding:32px 24px}
}


/* ===== GUTENBERG FRONTPAGE COMPATIBILITY ===== */
:where(
  .gutenberg-frontpage .wp-block-columns,
  .gutenberg-frontpage .wp-block-group,
  .gutenberg-frontpage .wp-block-image,
  .gutenberg-frontpage .wp-block-buttons,
  .gutenberg-frontpage .wp-block-button,
  .gutenberg-frontpage .wp-block-heading,
  .gutenberg-frontpage p
){margin-top:0;margin-bottom:0}
.gutenberg-frontpage .wp-block-columns{gap:0}
.gutenberg-frontpage .shell.wp-block-group,
.gutenberg-frontpage .shell.wp-block-columns{max-width:none}
.gutenberg-frontpage .hero.wp-block-columns{margin:0;gap:0}
.gutenberg-frontpage .hero>.wp-block-column{margin:0}
.gutenberg-frontpage .hero-visual{position:relative;min-height:660px;overflow:hidden}
.gutenberg-frontpage .hero-visual>.wp-block-image{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.gutenberg-frontpage .hero-visual>.wp-block-image img{width:100%;height:100%;object-fit:cover;object-position:47% center}
.gutenberg-frontpage .hero-visual:after{z-index:1;pointer-events:none}
.gutenberg-frontpage .hero-caption{position:absolute;z-index:2;left:32px;right:32px;bottom:31px;color:#fff;display:flex;justify-content:space-between;gap:20px;font-size:.875rem;line-height:1.6}
.gutenberg-frontpage .hero-caption p:first-child{font-weight:600}
.gutenberg-frontpage .hero-caption p:last-child{color:#e0d6c9}
.gutenberg-frontpage .hero-buttons{margin:30px 0 52px}
.gutenberg-frontpage .wp-block-button.button-primary .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:17px 24px;border:0;border-radius:0;background:#c5a283;color:#181816;font-size:.9375rem;font-weight:700;line-height:1.4}
.gutenberg-frontpage .wp-block-button.button-primary .wp-block-button__link:hover{background:#e0bea1}
.gutenberg-frontpage .hero-bottom{margin-top:auto}
.gutenberg-frontpage .hero-bottom p{margin:0}
.gutenberg-frontpage .hero-bottom p:last-child a{color:#dfdcd5}
.gutenberg-frontpage .statement-grid .section-label{max-width:250px;padding-top:10px}
.gutenberg-frontpage .service-grid.wp-block-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.gutenberg-frontpage .service-group{margin:0}
.gutenberg-frontpage .service-items>.service-item{margin:0}
.gutenberg-frontpage .service-item>.wp-block-group{margin:0}
.gutenberg-frontpage .service-item>.service-number{margin:0}
.gutenberg-frontpage .service-item .wp-block-heading{margin:0}
.gutenberg-frontpage .project-grid.wp-block-columns{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.gutenberg-frontpage .project-image>.wp-block-image{position:absolute;inset:0;width:100%;height:100%;margin:0}
.gutenberg-frontpage .project-image>.wp-block-image img{width:100%;height:100%;object-fit:cover}
.gutenberg-frontpage .project-image.exterior>.wp-block-image img{object-fit:contain;object-position:center}
.gutenberg-frontpage .project-caption{padding-top:26px}
.gutenberg-frontpage .project-caption>p:first-child{color:#8c623f;font-size:.875rem}
.gutenberg-frontpage .project-caption>h3{letter-spacing:-.04em;margin-top:12px;font-size:1.75rem;font-weight:400}
.gutenberg-frontpage .project-caption>p:last-child{color:#6c675e;max-width:540px;margin-top:15px;font-size:1rem;line-height:1.8}
.gutenberg-frontpage .model-feature.wp-block-columns{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}
.gutenberg-frontpage .model-feature>.wp-block-column:first-child{background:#c8c5c2}
.gutenberg-frontpage .model-feature .wp-block-image{position:relative}
.gutenberg-frontpage .model-feature .wp-block-image img{width:100%;height:auto}
.gutenberg-frontpage .model-feature .wp-element-caption{color:#59544c;background:#faf9f6;padding:8px 12px;font-size:.8125rem;position:absolute;bottom:16px;left:18px}
.gutenberg-frontpage .approach-grid.wp-block-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}
.gutenberg-frontpage .approach-step>p:first-child{color:#c5a283;font:2rem "Poppins",Arial,Helvetica,sans-serif}
.gutenberg-frontpage .profile-grid.wp-block-columns{display:grid;grid-template-columns:1fr 2fr;gap:90px}
.gutenberg-frontpage .contact-grid.wp-block-columns{display:grid;grid-template-columns:1.45fr 1fr;align-items:center;gap:90px}
.gutenberg-frontpage .contact .wp-block-button.call-button .wp-block-button__link{background:transparent;border:0;padding:13px 0;color:#fff;border-radius:0;font-size:.9375rem}
.gutenberg-frontpage .contact .phone-link{margin-top:17px}
.gutenberg-frontpage .contact .phone-link a{font-size:inherit}
.gutenberg-frontpage .contact .contact-actions{margin-top:28px}
.editor-styles-wrapper .hero,
.editor-styles-wrapper .statement,
.editor-styles-wrapper .services,
.editor-styles-wrapper .projects,
.editor-styles-wrapper .approach,
.editor-styles-wrapper .profile,
.editor-styles-wrapper .contact{max-width:none!important}
.editor-styles-wrapper .hero{margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;width:100vw!important}
.editor-styles-wrapper .services,
.editor-styles-wrapper .approach,
.editor-styles-wrapper .contact{padding-left:24px;padding-right:24px}
.editor-styles-wrapper .wp-block[data-type="core/group"],
.editor-styles-wrapper .wp-block[data-type="core/columns"]{outline:1px dashed transparent}
.editor-styles-wrapper .wp-block[data-type="core/group"]:hover,
.editor-styles-wrapper .wp-block[data-type="core/columns"]:hover{outline-color:rgba(166,123,86,.22)}
@media(width<=1150px){
  .gutenberg-frontpage .service-grid.wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 48px}
  .gutenberg-frontpage .approach-grid.wp-block-columns{gap:26px}
  .gutenberg-frontpage .project-grid.wp-block-columns{gap:28px}
  .gutenberg-frontpage .contact-grid.wp-block-columns{gap:40px}
}
@media(width<=820px){
  .gutenberg-frontpage .hero-visual{min-height:480px}
  .gutenberg-frontpage .hero-visual>.wp-block-image img{object-position:center 54%}
  .gutenberg-frontpage .hero-caption{flex-direction:row}
  .gutenberg-frontpage .profile-grid.wp-block-columns{grid-template-columns:1fr;gap:35px}
  .gutenberg-frontpage .approach-grid.wp-block-columns{grid-template-columns:1fr 1fr;gap:42px}
  .gutenberg-frontpage .contact-grid.wp-block-columns{grid-template-columns:1fr;gap:48px}
  .gutenberg-frontpage .model-feature.wp-block-columns{gap:30px}
}
@media(width<=540px){
  .gutenberg-frontpage .hero-visual{min-height:350px}
  .gutenberg-frontpage .hero-caption{left:20px;right:20px;bottom:20px;flex-direction:column;gap:2px;font-size:.8125rem}
  .gutenberg-frontpage .hero-buttons{margin-top:27px;margin-bottom:35px}
  .gutenberg-frontpage .service-grid.wp-block-columns{grid-template-columns:1fr;gap:35px}
  .gutenberg-frontpage .project-grid.wp-block-columns{grid-template-columns:1fr;gap:42px}
  .gutenberg-frontpage .approach-grid.wp-block-columns{grid-template-columns:1fr;gap:35px}
  .gutenberg-frontpage .model-feature.wp-block-columns{grid-template-columns:1fr;gap:28px}
  .gutenberg-frontpage .model-feature .wp-element-caption{position:static;background:#e8e5e0;padding:12px 16px}
}


/* ===== GUTENBERG EDITOR PREVIEW ===== */
.editor-styles-wrapper .hero.wp-block-columns{display:grid;grid-template-columns:46% 54%;gap:0;max-width:none!important}
.editor-styles-wrapper .hero-visual{position:relative;min-height:660px;overflow:hidden}
.editor-styles-wrapper .hero-visual>.wp-block-image{position:absolute;inset:0;width:100%;height:100%;margin:0}
.editor-styles-wrapper .hero-visual>.wp-block-image img{width:100%;height:100%;object-fit:cover;object-position:47% center}
.editor-styles-wrapper .hero-caption{position:absolute;z-index:2;left:32px;right:32px;bottom:31px;color:#fff;display:flex;justify-content:space-between;gap:20px}
.editor-styles-wrapper .wp-block-button.button-primary .wp-block-button__link{border-radius:0;background:#c5a283;color:#181816;padding:17px 24px;font-weight:700}
.editor-styles-wrapper .service-grid.wp-block-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.editor-styles-wrapper .project-grid.wp-block-columns{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.editor-styles-wrapper .project-image{position:relative;height:370px;overflow:hidden}
.editor-styles-wrapper .project-image>.wp-block-image{position:absolute;inset:0;width:100%;height:100%;margin:0}
.editor-styles-wrapper .project-image>.wp-block-image img{width:100%;height:100%;object-fit:cover}
.editor-styles-wrapper .project-image.exterior>.wp-block-image img{object-fit:contain}
.editor-styles-wrapper .approach-grid.wp-block-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}
.editor-styles-wrapper .profile-grid.wp-block-columns{display:grid;grid-template-columns:1fr 2fr;gap:90px}
.editor-styles-wrapper .contact-grid.wp-block-columns{display:grid;grid-template-columns:1.45fr 1fr;gap:90px}


/* ===== SERVICE ITEM GUTENBERG WIDTH FIX ===== */
.gutenberg-frontpage .service-items,
.gutenberg-frontpage .service-items > .service-item,
.editor-styles-wrapper .service-items,
.editor-styles-wrapper .service-items > .service-item{
  width:100%;
  max-width:none!important;
}
.gutenberg-frontpage .service-item,
.editor-styles-wrapper .service-item{
  grid-template-columns:27px minmax(0,1fr)!important;
  align-items:start;
}
.gutenberg-frontpage .service-item > .wp-block-group,
.editor-styles-wrapper .service-item > .wp-block-group{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
.gutenberg-frontpage .service-item h4,
.editor-styles-wrapper .service-item h4{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:normal!important;
  hyphens:none!important;
}
.gutenberg-frontpage .service-item p:not(.service-number),
.editor-styles-wrapper .service-item p:not(.service-number){
  width:100%!important;
  max-width:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}


/* ===== GUTENBERG EDITOR FULL-WIDTH CANVAS FIX ===== */
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container{
  max-width:none!important;
  width:100%!important;
}
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block{
  max-width:none!important;
}
.editor-styles-wrapper .shell{
  width:calc(100% - 96px)!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.editor-styles-wrapper .shell > *{
  max-width:none!important;
}
.editor-styles-wrapper .services{
  width:100%!important;
  max-width:none!important;
}
.editor-styles-wrapper .services > .shell{
  width:calc(100% - 96px)!important;
  max-width:1320px!important;
}
.editor-styles-wrapper .section-heading.wp-block-columns{
  display:grid!important;
  grid-template-columns:1.5fr 1fr!important;
  gap:96px!important;
  width:100%!important;
  max-width:none!important;
}
.editor-styles-wrapper .service-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:32px!important;
  width:100%!important;
  max-width:none!important;
}
.editor-styles-wrapper .service-grid > .wp-block-column{
  min-width:0!important;
  width:auto!important;
  flex-basis:auto!important;
}
.editor-styles-wrapper .service-group{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
}
.editor-styles-wrapper .service-group > *{
  max-width:none!important;
}
.editor-styles-wrapper .service-items{
  width:100%!important;
  max-width:none!important;
}
.editor-styles-wrapper .service-item{
  display:grid!important;
  grid-template-columns:27px minmax(0,1fr)!important;
  gap:13px!important;
  width:100%!important;
  max-width:none!important;
}
.editor-styles-wrapper .service-item > .service-number{
  width:27px!important;
  min-width:27px!important;
  max-width:27px!important;
}
.editor-styles-wrapper .service-item > .wp-block-group{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}
.editor-styles-wrapper .service-item h4{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
}
@media(max-width:1150px){
  .editor-styles-wrapper .shell,
  .editor-styles-wrapper .services > .shell{
    width:calc(100% - 64px)!important;
  }
  .editor-styles-wrapper .service-grid.wp-block-columns{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:38px 48px!important;
  }
  .editor-styles-wrapper .section-heading.wp-block-columns{
    gap:60px!important;
  }
}


/* ===== SERVICE ITEM FINAL LAYOUT FIX ===== */
.gutenberg-frontpage .service-item,
.editor-styles-wrapper .service-item{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  column-gap:14px!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
}
.gutenberg-frontpage .service-item > .service-number,
.editor-styles-wrapper .service-item > .service-number{
  grid-column:1!important;
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  margin:0!important;
}
.gutenberg-frontpage .service-item > h4,
.editor-styles-wrapper .service-item > h4{
  grid-column:2!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.gutenberg-frontpage .service-item > p:not(.service-number),
.editor-styles-wrapper .service-item > p:not(.service-number){
  grid-column:2!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:4px 0 0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.gutenberg-frontpage .service-grid,
.editor-styles-wrapper .service-grid{
  align-items:start!important;
}
.gutenberg-frontpage .service-group,
.editor-styles-wrapper .service-group{
  min-width:0!important;
}


/* ===== GUTENBERG SERVICE INNERBLOCKS FIX ===== */
/* Gutenberg Group blocks wrap child blocks in InnerBlocks containers in the editor.
   The grid must therefore be applied to the inner block-list layout, not only
   to the frontend .service-item element. */
.editor-styles-wrapper .service-items > .block-editor-inner-blocks,
.editor-styles-wrapper .service-items > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .service-item > .block-editor-inner-blocks,
.editor-styles-wrapper .service-item > .block-editor-inner-blocks > .block-editor-block-list__layout{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}

.editor-styles-wrapper .service-item > .block-editor-inner-blocks > .block-editor-block-list__layout{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  column-gap:14px!important;
  row-gap:4px!important;
  align-items:start!important;
}

.editor-styles-wrapper .service-item > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block{
  max-width:none!important;
  min-width:0!important;
  width:auto!important;
  margin-left:0!important;
  margin-right:0!important;
}

.editor-styles-wrapper .service-item > .block-editor-inner-blocks > .block-editor-block-list__layout > .service-number{
  grid-column:1!important;
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  justify-self:start!important;
}

.editor-styles-wrapper .service-item > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block-heading{
  grid-column:2!important;
  justify-self:stretch!important;
  align-self:start!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:normal!important;
  hyphens:none!important;
}

.editor-styles-wrapper .service-item > .block-editor-inner-blocks > .block-editor-block-list__layout > p:not(.service-number){
  grid-column:2!important;
  justify-self:stretch!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}

/* Also neutralise constrained-layout rules Gutenberg adds inside these groups. */
.editor-styles-wrapper .service-item.is-layout-constrained > .block-editor-inner-blocks > .block-editor-block-list__layout > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}


/* ===== SERVICE ROWS AS NATIVE COLUMNS ===== */
/* Frontend */
.gutenberg-frontpage .service-item.wp-block-columns{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  column-gap:14px!important;
  row-gap:4px!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.gutenberg-frontpage .service-item.wp-block-columns > .wp-block-column{
  margin:0!important;
  min-width:0!important;
  width:auto!important;
  flex-basis:auto!important;
}
.gutenberg-frontpage .service-item .service-number-col{
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
}
.gutenberg-frontpage .service-item .service-text-col{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.gutenberg-frontpage .service-item .service-text-col h4{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:normal!important;
  hyphens:none!important;
}
.gutenberg-frontpage .service-item .service-text-col p{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:4px 0 0!important;
}

/* Gutenberg editor */
.editor-styles-wrapper .service-item.wp-block-columns > .block-editor-inner-blocks{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.editor-styles-wrapper .service-item.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  column-gap:14px!important;
  row-gap:4px!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.editor-styles-wrapper .service-item.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block-column{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  flex-basis:auto!important;
}
.editor-styles-wrapper .service-item.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .service-number-col{
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  grid-column:1!important;
}
.editor-styles-wrapper .service-item.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .service-text-col{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  grid-column:2!important;
}
.editor-styles-wrapper .service-text-col > .block-editor-inner-blocks,
.editor-styles-wrapper .service-text-col > .block-editor-inner-blocks > .block-editor-block-list__layout{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.editor-styles-wrapper .service-text-col > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
.editor-styles-wrapper .service-text-col .wp-block-heading{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  white-space:normal!important;
  hyphens:none!important;
}
.editor-styles-wrapper .service-text-col p{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:4px 0 0!important;
}

/* Keep rows horizontal in the editor regardless of core/columns stacking rules. */
@media(max-width:781px){
  .editor-styles-wrapper .service-item.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout{
    grid-template-columns:28px minmax(0,1fr)!important;
  }
}


/* ===== HERO BOTTOM NATIVE COLUMNS FINAL ===== */
/* Frontend: native Gutenberg Columns, always one row. */
.gutenberg-frontpage .hero-bottom.wp-block-columns{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:24px!important;
  width:100%!important;
  max-width:none!important;
  margin-top:auto!important;
  margin-bottom:0!important;
}
.gutenberg-frontpage .hero-bottom.wp-block-columns > .wp-block-column{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex-basis:auto!important;
  margin:0!important;
}
.gutenberg-frontpage .hero-bottom-left{
  text-align:left!important;
}
.gutenberg-frontpage .hero-bottom-right{
  text-align:right!important;
}
.gutenberg-frontpage .hero-bottom-left p,
.gutenberg-frontpage .hero-bottom-right p{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  white-space:nowrap!important;
}
.gutenberg-frontpage .hero-bottom-right a{
  color:#dfdcd5!important;
}

/* Gutenberg editor: core/columns has an InnerBlocks wrapper, so grid that wrapper. */
.editor-styles-wrapper .hero-bottom.wp-block-columns{
  width:100%!important;
  max-width:none!important;
  margin-top:auto!important;
  margin-bottom:0!important;
}
.editor-styles-wrapper .hero-bottom.wp-block-columns > .block-editor-inner-blocks{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.editor-styles-wrapper .hero-bottom.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:24px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.editor-styles-wrapper .hero-bottom.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block-column{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex-basis:auto!important;
  margin:0!important;
}
.editor-styles-wrapper .hero-bottom-left,
.editor-styles-wrapper .hero-bottom-left > .block-editor-inner-blocks,
.editor-styles-wrapper .hero-bottom-left > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .hero-bottom-right,
.editor-styles-wrapper .hero-bottom-right > .block-editor-inner-blocks,
.editor-styles-wrapper .hero-bottom-right > .block-editor-inner-blocks > .block-editor-block-list__layout{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.editor-styles-wrapper .hero-bottom-left{
  text-align:left!important;
}
.editor-styles-wrapper .hero-bottom-right{
  text-align:right!important;
}
.editor-styles-wrapper .hero-bottom-left .wp-block,
.editor-styles-wrapper .hero-bottom-right .wp-block{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.editor-styles-wrapper .hero-bottom-left p,
.editor-styles-wrapper .hero-bottom-right p{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  white-space:nowrap!important;
}


/* ===== GLOBAL POPPINS FONT ===== */
html,
body,
button,
input,
textarea,
select,
option,
.site-header,
.site-footer,
.gutenberg-frontpage,
.page-hero-dark,
.editor-styles-wrapper,
.editor-styles-wrapper .wp-block,
.editor-styles-wrapper input,
.editor-styles-wrapper textarea,
.editor-styles-wrapper select,
.editor-styles-wrapper button{
  font-family:"Poppins",Arial,Helvetica,sans-serif!important;
}
h1,h2,h3,h4,h5,h6,
.brand,
.nav-links,
.header-cta,
.eyebrow,
.section-label,
.service-number,
.experience-number,
.package-price,
.approach-step>span,
.gutenberg-frontpage h1,
.gutenberg-frontpage h2,
.gutenberg-frontpage h3,
.gutenberg-frontpage h4,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.editor-styles-wrapper .service-number,
.editor-styles-wrapper .experience-number,
.editor-styles-wrapper .package-price{
  font-family:"Poppins",Arial,Helvetica,sans-serif!important;
}


/* ===== HERO 46-54 GUTENBERG WIDTHS ===== */
/* Frontend */
.gutenberg-frontpage .hero.wp-block-columns{
  display:grid!important;
  grid-template-columns:minmax(0,46fr) minmax(0,54fr)!important;
  gap:0!important;
}
.gutenberg-frontpage .hero.wp-block-columns > .hero-content,
.gutenberg-frontpage .hero.wp-block-columns > .hero-visual{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}

/* Gutenberg editor: target the actual InnerBlocks layout used by core/columns. */
.editor-styles-wrapper .hero.wp-block-columns{
  width:100%!important;
  max-width:none!important;
}
.editor-styles-wrapper .hero.wp-block-columns > .block-editor-inner-blocks{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.editor-styles-wrapper .hero.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout{
  display:grid!important;
  grid-template-columns:minmax(0,46fr) minmax(0,54fr)!important;
  gap:0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.editor-styles-wrapper .hero.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .hero-content,
.editor-styles-wrapper .hero.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .hero-visual{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  flex-basis:auto!important;
}


/* ===== GUTENBERG SEMANTIC SPACING FIX ===== */
/* Preserve the same intentional spacing as the original hard-coded layout.
   The previous Gutenberg compatibility reset had higher specificity and
   unintentionally removed these margins on the live page. */
.gutenberg-frontpage .section-heading.wp-block-columns{
  margin-bottom:62px!important;
}
.gutenberg-frontpage .model-feature.wp-block-columns{
  margin-top:60px!important;
  padding-top:54px!important;
}
.gutenberg-frontpage .project-credit{
  margin-top:24px!important;
}
.gutenberg-frontpage .lead-copy{
  margin-top:28px!important;
}
.gutenberg-frontpage .profile-name{
  margin-bottom:26px!important;
}
.gutenberg-frontpage .profile-detail{
  margin-top:20px!important;
}
.gutenberg-frontpage .experience-number{
  margin-top:62px!important;
}
.gutenberg-frontpage .experience-label{
  margin-top:20px!important;
}
.gutenberg-frontpage .approach-step h3{
  margin-top:42px!important;
  margin-bottom:18px!important;
}
.gutenberg-frontpage .scope-note{
  margin-top:52px!important;
  padding-top:25px!important;
}
.gutenberg-frontpage .project-caption h3{
  margin-top:12px!important;
}
.gutenberg-frontpage .project-caption > p:last-child{
  margin-top:15px!important;
}

/* Keep editor preview aligned with live spacing. */
.editor-styles-wrapper .section-heading.wp-block-columns{
  margin-bottom:62px!important;
}
.editor-styles-wrapper .model-feature.wp-block-columns{
  margin-top:60px!important;
  padding-top:54px!important;
}
.editor-styles-wrapper .project-credit{
  margin-top:24px!important;
}
.editor-styles-wrapper .lead-copy{
  margin-top:28px!important;
}
.editor-styles-wrapper .profile-name{
  margin-bottom:26px!important;
}
.editor-styles-wrapper .profile-detail{
  margin-top:20px!important;
}
.editor-styles-wrapper .experience-number{
  margin-top:62px!important;
}
.editor-styles-wrapper .experience-label{
  margin-top:20px!important;
}
.editor-styles-wrapper .approach-step h3{
  margin-top:42px!important;
  margin-bottom:18px!important;
}
.editor-styles-wrapper .scope-note{
  margin-top:52px!important;
  padding-top:25px!important;
}
.editor-styles-wrapper .project-caption h3{
  margin-top:12px!important;
}
.editor-styles-wrapper .project-caption > p:last-child{
  margin-top:15px!important;
}

@media(max-width:820px){
  .gutenberg-frontpage .section-heading.wp-block-columns,
  .editor-styles-wrapper .section-heading.wp-block-columns{
    margin-bottom:42px!important;
  }
  .gutenberg-frontpage .model-feature.wp-block-columns,
  .editor-styles-wrapper .model-feature.wp-block-columns{
    margin-top:42px!important;
    padding-top:40px!important;
  }
}


/* ===== ERDVIORA LOGO ===== */
:root{
  --logo-icon-color:#d7cec0;
  --logo-text-color:#f0e6d8;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  line-height:1;
  white-space:nowrap;
}
.brand-mark{
  display:block;
  width:36px;
  height:auto;
  flex:0 0 auto;
  color:var(--logo-icon-color);
}
.brand-word{
  display:block;
  color:var(--logo-text-color);
  font-family:"Poppins",Arial,Helvetica,sans-serif!important;
  font-size:1.55rem;
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1;
}
.footer-brand .brand-mark{width:28px}
.footer-brand .brand-word{font-size:1.18rem}
@media(max-width:540px){
  .brand{gap:8px}
  .brand-mark{width:31px}
  .brand-word{font-size:1.28rem}
  .footer-brand .brand-mark{width:27px}
  .footer-brand .brand-word{font-size:1.1rem}
}


/* ===== MOBILE REFERENCE MATCH FINAL ===== */
@media (max-width: 767px){

  html, body{
    overflow-x:hidden!important;
  }

  body{
    font-size:14px;
  }

  .shell,
  .gutenberg-frontpage .shell{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* HEADER */
  .site-header{
    min-height:0!important;
  }

  .site-header .header-inner{
    display:flex!important;
    flex-wrap:nowrap!important;
    grid-template-columns:none!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:58px!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }

  .site-header .brand{
    flex:0 0 auto!important;
    gap:7px!important;
  }

  .site-header .brand-mark{
    width:23px!important;
  }

  .site-header .brand-word{
    font-size:11px!important;
    font-weight:800!important;
    letter-spacing:-.02em!important;
  }

  .site-header .nav-links{
    display:none!important;
  }

  .site-header .header-cta{
    margin-left:auto!important;
    max-width:none!important;
    padding:8px 0!important;
    gap:8px!important;
    border-bottom:1px solid #9d7957!important;
    font-size:10px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }

  .site-header .header-cta svg{
    width:13px!important;
    height:13px!important;
  }

  /* HERO — reference mobile: text first, image second */
  .gutenberg-frontpage .hero.wp-block-columns{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    min-height:0!important;
    width:100%!important;
    gap:0!important;
  }

  .gutenberg-frontpage .hero.wp-block-columns > .hero-content,
  .gutenberg-frontpage .hero.wp-block-columns > .hero-visual{
    flex-basis:auto!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }

  .gutenberg-frontpage .hero-content{
    order:1!important;
    padding:44px 20px 20px!important;
    min-height:0!important;
  }

  .gutenberg-frontpage .hero-visual{
    order:2!important;
    position:relative!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:390 / 260!important;
    margin:0!important;
  }

  .gutenberg-frontpage .hero-visual > .wp-block-image{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
  }

  .gutenberg-frontpage .hero-visual > .wp-block-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 52%!important;
  }

  .gutenberg-frontpage .hero-visual:after{
    inset:52% 0 0!important;
  }

  .gutenberg-frontpage .eyebrow{
    max-width:230px!important;
    margin:0 0 18px!important;
    font-size:9px!important;
    line-height:1.45!important;
    letter-spacing:.14em!important;
  }

  .gutenberg-frontpage .hero h1{
    margin:0 0 18px!important;
    font-size:34px!important;
    line-height:1.03!important;
    letter-spacing:-.052em!important;
  }

  .gutenberg-frontpage .hero-copy{
    max-width:310px!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1.65!important;
  }

  .gutenberg-frontpage .hero-buttons{
    margin:24px 0 30px!important;
  }

  .gutenberg-frontpage .wp-block-button.button-primary .wp-block-button__link{
    min-height:44px!important;
    padding:13px 16px!important;
    font-size:11px!important;
  }

  .gutenberg-frontpage .hero-bottom.wp-block-columns{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    width:100%!important;
    margin-top:0!important;
    padding-top:14px!important;
    padding-bottom:0!important;
    border-top:1px solid #41403a!important;
  }

  .gutenberg-frontpage .hero-bottom.wp-block-columns > .wp-block-column{
    display:block!important;
    width:100%!important;
    max-width:none!important;
  }

  .gutenberg-frontpage .hero-bottom-left,
  .gutenberg-frontpage .hero-bottom-right{
    width:100%!important;
  }

  .gutenberg-frontpage .hero-bottom-left{
    text-align:left!important;
  }

  .gutenberg-frontpage .hero-bottom-right{
    text-align:right!important;
  }

  .gutenberg-frontpage .hero-bottom p{
    font-size:9px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }

  .gutenberg-frontpage .hero-caption{
    left:16px!important;
    right:16px!important;
    bottom:14px!important;
    display:flex!important;
    flex-direction:row!important;
    justify-content:space-between!important;
    gap:12px!important;
    font-size:9px!important;
    line-height:1.35!important;
  }

  .gutenberg-frontpage .hero-caption p:last-child{
    text-align:right!important;
  }

  /* GLOBAL MOBILE SECTION RHYTHM */
  .gutenberg-frontpage .section-pad{
    padding:54px 0!important;
  }

  .gutenberg-frontpage .section-label{
    font-size:9px!important;
    line-height:1.45!important;
    letter-spacing:.14em!important;
  }

  .gutenberg-frontpage h2{
    font-size:30px!important;
    line-height:1.04!important;
    letter-spacing:-.045em!important;
  }

  .gutenberg-frontpage h3{
    font-size:18px!important;
    line-height:1.22!important;
  }

  .gutenberg-frontpage p{
    max-width:none!important;
  }

  /* INTRO */
  .gutenberg-frontpage .statement{
    padding-top:48px!important;
    padding-bottom:50px!important;
  }

  .gutenberg-frontpage .statement-grid.wp-block-columns{
    display:block!important;
    width:calc(100% - 32px)!important;
    gap:0!important;
  }

  .gutenberg-frontpage .statement-grid > .wp-block-column{
    width:100%!important;
    max-width:none!important;
  }

  .gutenberg-frontpage .statement-grid .section-label{
    padding-top:0!important;
    margin-bottom:18px!important;
  }

  .gutenberg-frontpage .statement-grid h2{
    margin:0!important;
    max-width:330px!important;
  }

  .gutenberg-frontpage .lead-copy{
    margin-top:18px!important;
    font-size:12px!important;
    line-height:1.65!important;
  }

  /* SECTION HEADINGS */
  .gutenberg-frontpage .section-heading.wp-block-columns{
    display:block!important;
    grid-template-columns:none!important;
    width:100%!important;
    gap:0!important;
    margin-bottom:34px!important;
  }

  .gutenberg-frontpage .section-heading > .wp-block-column{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }

  .gutenberg-frontpage .section-heading .section-label{
    margin-bottom:16px!important;
  }

  .gutenberg-frontpage .section-heading h2{
    margin-top:0!important;
  }

  .gutenberg-frontpage .section-heading > .wp-block-column:last-child{
    margin-top:18px!important;
  }

  .gutenberg-frontpage .section-heading > .wp-block-column:last-child p{
    font-size:12px!important;
    line-height:1.6!important;
    color:#66635d!important;
  }

  /* SERVICES */
  .gutenberg-frontpage .services{
    padding-top:50px!important;
    padding-bottom:48px!important;
  }

  .gutenberg-frontpage .service-grid.wp-block-columns{
    display:block!important;
    width:100%!important;
    gap:0!important;
  }

  .gutenberg-frontpage .service-grid > .service-group{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0 0 34px!important;
    padding-top:18px!important;
    border-top:1px solid #9b7758!important;
  }

  .gutenberg-frontpage .service-grid > .service-group:last-child{
    margin-bottom:0!important;
  }

  .gutenberg-frontpage .service-group h3{
    margin:0!important;
    font-size:16px!important;
    line-height:1.25!important;
  }

  .gutenberg-frontpage .group-subtitle{
    min-height:0!important;
    margin-top:6px!important;
    font-size:10px!important;
    line-height:1.45!important;
  }

  .gutenberg-frontpage .service-items{
    margin-top:16px!important;
  }

  .gutenberg-frontpage .service-item.wp-block-columns{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    column-gap:10px!important;
    min-height:0!important;
    padding:13px 0!important;
    margin:0!important;
    border-top:1px solid #d3cfc5!important;
  }

  .gutenberg-frontpage .service-number-col{
    width:24px!important;
    min-width:24px!important;
    max-width:24px!important;
  }

  .gutenberg-frontpage .service-number{
    width:24px!important;
    min-width:24px!important;
    font-size:10px!important;
    line-height:1.4!important;
  }

  .gutenberg-frontpage .service-text-col{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }

  .gutenberg-frontpage .service-item h4{
    margin:0!important;
    font-size:11px!important;
    line-height:1.45!important;
    font-weight:400!important;
  }

  .gutenberg-frontpage .service-item p:not(.service-number){
    margin-top:4px!important;
    font-size:9px!important;
    line-height:1.45!important;
  }

  /* PROJECTS */
  .gutenberg-frontpage .projects{
    padding-top:50px!important;
    padding-bottom:52px!important;
  }

  .gutenberg-frontpage .project-grid.wp-block-columns{
    display:block!important;
    width:100%!important;
    gap:0!important;
  }

  .gutenberg-frontpage .project-card{
    width:100%!important;
    max-width:none!important;
    margin:0 0 34px!important;
  }

  .gutenberg-frontpage .project-card:last-child{
    margin-bottom:0!important;
  }

  .gutenberg-frontpage .project-image{
    width:100%!important;
    height:auto!important;
    aspect-ratio:16 / 10!important;
    margin:0!important;
  }

  .gutenberg-frontpage .project-image.exterior{
    aspect-ratio:16 / 8!important;
  }

  .gutenberg-frontpage .project-image > .wp-block-image img{
    object-fit:cover!important;
  }

  .gutenberg-frontpage .project-image.exterior > .wp-block-image img{
    object-fit:cover!important;
  }

  .gutenberg-frontpage .image-tag{
    left:10px!important;
    bottom:10px!important;
    padding:6px 8px!important;
    font-size:8px!important;
  }

  .gutenberg-frontpage .project-caption{
    padding-top:14px!important;
  }

  .gutenberg-frontpage .project-caption > p:first-child{
    font-size:9px!important;
  }

  .gutenberg-frontpage .project-caption h3{
    margin-top:8px!important;
    margin-bottom:0!important;
    font-size:16px!important;
  }

  .gutenberg-frontpage .project-caption > p:last-child{
    margin-top:10px!important;
    font-size:10px!important;
    line-height:1.6!important;
  }

  .gutenberg-frontpage .project-credit{
    margin-top:14px!important;
    font-size:8px!important;
    line-height:1.5!important;
  }

  .gutenberg-frontpage .model-feature.wp-block-columns{
    display:block!important;
    grid-template-columns:none!important;
    width:100%!important;
    gap:0!important;
    margin-top:38px!important;
    padding-top:34px!important;
  }

  .gutenberg-frontpage .model-feature > .wp-block-column{
    width:100%!important;
    max-width:none!important;
  }

  .gutenberg-frontpage .model-feature .wp-block-image{
    margin:0!important;
  }

  .gutenberg-frontpage .model-feature .wp-block-image img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:4/3!important;
    object-fit:cover!important;
  }

  .gutenberg-frontpage .model-feature .wp-element-caption{
    position:static!important;
    display:inline-block!important;
    margin:0!important;
    padding:7px 9px!important;
    font-size:8px!important;
    background:#faf9f6!important;
  }

  .gutenberg-frontpage .model-feature > .wp-block-column:last-child{
    margin-top:20px!important;
  }

  .gutenberg-frontpage .model-feature h3{
    margin-top:10px!important;
    font-size:18px!important;
    line-height:1.2!important;
  }

  .gutenberg-frontpage .model-feature > .wp-block-column:last-child > p:not(.section-label){
    margin-top:10px!important;
    font-size:10px!important;
    line-height:1.6!important;
  }

  /* APPROACH / DARK PROCESS */
  .gutenberg-frontpage .approach{
    padding-top:50px!important;
    padding-bottom:48px!important;
  }

  .gutenberg-frontpage .approach .section-heading > .wp-block-column:last-child p{
    color:#b3b2a9!important;
  }

  .gutenberg-frontpage .approach-grid.wp-block-columns{
    display:block!important;
    width:100%!important;
    gap:0!important;
  }

  .gutenberg-frontpage .approach-step{
    display:block!important;
    width:100%!important;
    padding:16px 0 20px!important;
    margin:0!important;
    border-top:1px solid #656052!important;
  }

  .gutenberg-frontpage .approach-step > p:first-child{
    margin:0!important;
    color:#c5a283!important;
    font-size:22px!important;
    line-height:1!important;
  }

  .gutenberg-frontpage .approach-step h3{
    margin:12px 0 8px!important;
    font-size:16px!important;
  }

  .gutenberg-frontpage .approach-step > p:last-child{
    margin:0!important;
    font-size:10px!important;
    line-height:1.65!important;
  }

  .gutenberg-frontpage .scope-note{
    margin-top:10px!important;
    padding-top:16px!important;
    font-size:9px!important;
    line-height:1.6!important;
  }

  /* PROFILE */
  .gutenberg-frontpage .profile{
    padding-top:50px!important;
    padding-bottom:50px!important;
  }

  .gutenberg-frontpage .profile-grid.wp-block-columns{
    display:block!important;
    grid-template-columns:none!important;
    gap:0!important;
    width:calc(100% - 32px)!important;
  }

  .gutenberg-frontpage .profile-grid > .wp-block-column{
    width:100%!important;
    max-width:none!important;
  }

  .gutenberg-frontpage .experience-number{
    margin-top:20px!important;
    font-size:58px!important;
  }

  .gutenberg-frontpage .experience-number span{
    font-size:26px!important;
    top:6px!important;
  }

  .gutenberg-frontpage .experience-label{
    margin-top:8px!important;
    padding:0!important;
    font-size:10px!important;
  }

  .gutenberg-frontpage .profile-grid > .wp-block-column:last-child{
    margin-top:26px!important;
  }

  .gutenberg-frontpage .profile-grid h2{
    font-size:28px!important;
  }

  .gutenberg-frontpage .profile-detail{
    margin-top:12px!important;
    font-size:10px!important;
    line-height:1.65!important;
  }

  /* CONTACT CTA */
  .gutenberg-frontpage .contact{
    padding-top:50px!important;
    padding-bottom:48px!important;
  }

  .gutenberg-frontpage .contact-grid.wp-block-columns{
    display:block!important;
    grid-template-columns:none!important;
    width:calc(100% - 32px)!important;
    gap:0!important;
  }

  .gutenberg-frontpage .contact-grid > .wp-block-column{
    width:100%!important;
    max-width:none!important;
  }

  .gutenberg-frontpage .contact h2{
    margin-top:14px!important;
    font-size:28px!important;
  }

  .gutenberg-frontpage .contact-grid > .wp-block-column:first-child > p:last-child{
    margin-top:16px!important;
    font-size:11px!important;
    line-height:1.6!important;
  }

  .gutenberg-frontpage .contact-details{
    margin-top:28px!important;
    padding:22px 0 0!important;
    border-left:0!important;
    border-top:1px solid #585346!important;
  }

  .gutenberg-frontpage .phone-link{
    margin-top:0!important;
    font-size:23px!important;
  }

  .gutenberg-frontpage .contact-actions{
    margin-top:18px!important;
    gap:14px!important;
  }

  .gutenberg-frontpage .contact-note{
    margin-top:16px!important;
    font-size:9px!important;
  }

  /* FOOTER */
  .footer-inner{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:12px!important;
    padding:22px 0!important;
  }

  .footer-inner > p{
    display:block!important;
    font-size:9px!important;
  }

  .footer-inner > span{
    padding-top:0!important;
    font-size:8px!important;
  }

  .footer-brand .brand-mark{
    width:22px!important;
  }

  .footer-brand .brand-word{
    font-size:10px!important;
  }
}

/* Gutenberg editor mobile/tablet previews should follow the same stacking. */
@media (max-width: 767px){
  .editor-styles-wrapper .hero.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .service-grid.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .project-grid.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .approach-grid.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .profile-grid.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .contact-grid.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .model-feature.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout,
  .editor-styles-wrapper .section-heading.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout{
    display:block!important;
    grid-template-columns:none!important;
    width:100%!important;
    max-width:none!important;
  }

  .editor-styles-wrapper .hero.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .hero-content,
  .editor-styles-wrapper .hero.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > .hero-visual{
    width:100%!important;
    max-width:none!important;
    flex-basis:auto!important;
  }

  .editor-styles-wrapper .hero-bottom.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
  }

  .editor-styles-wrapper .service-item.wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    gap:10px!important;
  }
}


/* ===== MOBILE NAVIGATION FINAL ===== */
.site-header{
  position:relative;
  z-index:1000;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:20px;
  margin-left:auto;
}
.mobile-menu-toggle,
.mobile-nav{
  display:none;
}

@media(max-width:900px){
  .site-header .header-inner{
    display:flex!important;
    grid-template-columns:none!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
  }

  .site-header .nav-links{
    display:none!important;
  }

  .header-actions{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    margin-left:auto!important;
  }

  .site-header .header-cta{
    margin:0!important;
    max-width:none!important;
    flex:0 0 auto!important;
  }

  .mobile-menu-toggle{
    appearance:none;
    -webkit-appearance:none;
    display:grid!important;
    place-items:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    margin:0;
    padding:0;
    border:1px solid #56534c;
    border-radius:0;
    background:transparent;
    color:#f0e6d8;
    cursor:pointer;
  }

  .mobile-menu-toggle-lines{
    position:relative;
    display:block;
    width:18px;
    height:12px;
  }

  .mobile-menu-toggle-lines span{
    position:absolute;
    left:0;
    display:block;
    width:18px;
    height:1.5px;
    background:currentColor;
    transform-origin:center;
    transition:top .22s ease, transform .22s ease;
  }

  .mobile-menu-toggle-lines span:first-child{top:2px}
  .mobile-menu-toggle-lines span:last-child{top:9px}

  .mobile-menu-open .mobile-menu-toggle-lines span:first-child{
    top:5.5px;
    transform:rotate(45deg);
  }
  .mobile-menu-open .mobile-menu-toggle-lines span:last-child{
    top:5.5px;
    transform:rotate(-45deg);
  }

  .mobile-nav{
    display:block!important;
    position:absolute;
    z-index:999;
    top:100%;
    left:0;
    width:100%;
    overflow:hidden;
    background:#171816;
    border-top:1px solid #363631;
    box-shadow:0 18px 35px rgba(0,0,0,.24);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .mobile-menu-open .mobile-nav{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }

  .mobile-nav-inner{
    padding-top:18px;
    padding-bottom:22px;
  }

  .mobile-nav-menu{
    list-style:none;
    margin:0;
    padding:0;
  }

  .mobile-nav-menu li{
    margin:0;
    border-bottom:1px solid #34342f;
  }

  .mobile-nav-menu li:first-child{
    border-top:1px solid #34342f;
  }

  .mobile-nav-menu a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:52px;
    padding:12px 2px;
    color:#f4f0e9;
    font-size:15px;
    font-weight:400;
    line-height:1.3;
  }

  .mobile-nav-menu a:after{
    content:"↗";
    color:#c5a283;
    font-size:15px;
  }

  .mobile-nav-menu .current-menu-item > a,
  .mobile-nav-menu .current_page_item > a{
    color:#c5a283;
  }

  .mobile-nav-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:18px;
    padding:15px 17px;
    background:#c5a283;
    color:#181816;
    font-size:13px;
    font-weight:600;
  }

  .mobile-nav-cta svg{
    flex:0 0 auto;
  }
}

@media(max-width:540px){
  .site-header .header-inner{
    min-height:60px!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
  }

  .header-actions{
    gap:8px!important;
  }

  .site-header .header-cta{
    padding:7px 0!important;
    font-size:9px!important;
  }

  .site-header .header-cta svg{
    width:12px!important;
    height:12px!important;
  }

  .mobile-menu-toggle{
    flex-basis:36px;
    width:36px;
    height:36px;
  }

  .mobile-nav-menu a{
    min-height:49px;
    font-size:14px;
  }
}

@media(max-width:390px){
  .site-header .header-cta{
    max-width:112px!important;
    white-space:normal!important;
    text-align:right;
  }
}


/* ===== DESKTOP HEADER CENTERED NAV ===== */
@media (min-width:901px){
  .site-header .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:32px!important;
  }

  .site-header .brand{
    justify-self:start!important;
  }

  .site-header .nav-links{
    display:block!important;
    justify-self:center!important;
    margin:0!important;
  }

  .site-header .nav-links .nav-menu{
    justify-content:center!important;
  }

  .site-header .header-actions{
    justify-self:end!important;
    margin-left:0!important;
  }
}


/* ===== ATLIKTI DARBAI EDITORIAL GALLERY ===== */
.works-hero{
  background:#171816;
  color:#fff;
  border-bottom:1px solid #2f302d;
}
.works-hero-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr;
  align-items:end;
  gap:90px;
}
.works-hero .section-label{
  margin-bottom:20px;
  color:#c5a283;
}
.works-hero h1{
  margin:0;
  max-width:760px;
  color:#f7f5ef;
  font-size:clamp(3.4rem,6vw,6.6rem);
  font-weight:400;
  letter-spacing:-.065em;
  line-height:.97;
}
.works-hero-grid>p{
  max-width:560px;
  margin:0 0 10px;
  color:#c7c3ba;
  font-size:1.06rem;
  line-height:1.8;
}

.portfolio-projects{
  background:#faf9f6;
}
.portfolio-project{
  padding:105px 0 120px;
  border-bottom:1px solid #ddd8cf;
}
.portfolio-project:nth-child(even){
  background:#f2f0eb;
}
.portfolio-project-head{
  display:grid;
  grid-template-columns:90px minmax(0,1fr);
  gap:34px;
  align-items:start;
  margin-bottom:48px;
}
.portfolio-project-number{
  margin:9px 0 0;
  color:#9b7758;
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.12em;
}
.portfolio-project-copy{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);
  gap:70px;
  align-items:start;
}
.portfolio-project-copy h2{
  margin:0;
  max-width:680px;
  font-size:clamp(2.3rem,4vw,4.4rem);
  line-height:1.05;
  letter-spacing:-.05em;
}
.portfolio-project-copy>p{
  max-width:610px;
  margin:5px 0 0;
  color:#67635b;
  font-size:1rem;
  line-height:1.8;
}

.portfolio-mosaic{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-auto-rows:92px;
  grid-auto-flow:dense;
  gap:16px;
}
.portfolio-mosaic-item{
  position:relative;
  display:block;
  min-height:0;
  overflow:hidden;
  background:#e5e1da;
  cursor:zoom-in;
}
.portfolio-mosaic-item:nth-child(6n + 1){
  grid-column:span 7;
  grid-row:span 5;
}
.portfolio-mosaic-item:nth-child(6n + 2){
  grid-column:span 5;
  grid-row:span 3;
}
.portfolio-mosaic-item:nth-child(6n + 3){
  grid-column:span 5;
  grid-row:span 2;
}
.portfolio-mosaic-item:nth-child(6n + 4),
.portfolio-mosaic-item:nth-child(6n + 5),
.portfolio-mosaic-item:nth-child(6n + 6){
  grid-column:span 4;
  grid-row:span 3;
}
.portfolio-mosaic-item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease, filter .45s ease;
}
.portfolio-mosaic-item:hover img{
  transform:scale(1.025);
  filter:brightness(.92);
}
.portfolio-mosaic-hover{
  position:absolute;
  right:14px;
  bottom:14px;
  padding:8px 11px;
  background:rgba(250,249,246,.94);
  color:#1b1b19;
  font-size:.72rem;
  line-height:1;
  opacity:0;
  transform:translateY(5px);
  transition:opacity .2s ease, transform .2s ease;
}
.portfolio-mosaic-item:hover .portfolio-mosaic-hover{
  opacity:1;
  transform:translateY(0);
}

/* Lightbox */
body.portfolio-lightbox-open{
  overflow:hidden!important;
}
.portfolio-lightbox{
  position:fixed;
  z-index:99999;
  inset:0;
  display:grid;
  grid-template-columns:90px minmax(0,1fr) 90px;
  align-items:center;
  padding:42px 22px 28px;
  background:rgba(18,19,17,.97);
  color:#fff;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease, visibility .2s ease;
}
.portfolio-lightbox[hidden]{
  display:none!important;
}
.portfolio-lightbox.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.portfolio-lightbox-figure{
  grid-column:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  margin:0;
}
.portfolio-lightbox-image{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:calc(100vh - 125px);
  object-fit:contain;
  box-shadow:0 10px 40px rgba(0,0,0,.26);
}
.portfolio-lightbox-caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  width:min(100%,1100px);
  padding-top:15px;
  color:#d4d0c8;
  font-size:.84rem;
}
.portfolio-lightbox-title{
  max-width:80%;
}
.portfolio-lightbox-counter{
  color:#a9a59d;
  white-space:nowrap;
}
.portfolio-lightbox-close,
.portfolio-lightbox-prev,
.portfolio-lightbox-next{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  color:#f7f4ed;
  cursor:pointer;
}
.portfolio-lightbox-close{
  position:absolute;
  top:18px;
  right:22px;
  width:48px;
  height:48px;
  font-size:2.4rem;
  font-weight:300;
  line-height:1;
}
.portfolio-lightbox-prev,
.portfolio-lightbox-next{
  display:grid;
  place-items:center;
  width:64px;
  height:84px;
  font-size:4rem;
  font-weight:200;
  line-height:1;
  opacity:.86;
  transition:opacity .15s ease, transform .15s ease;
}
.portfolio-lightbox-prev{
  grid-column:1;
  justify-self:center;
}
.portfolio-lightbox-next{
  grid-column:3;
  justify-self:center;
}
.portfolio-lightbox-prev:hover,
.portfolio-lightbox-next:hover{
  opacity:1;
  transform:scale(1.05);
}

@media(max-width:1000px){
  .works-hero-grid{
    grid-template-columns:1fr;
    gap:26px;
  }
  .works-hero-grid>p{
    margin:0;
  }
  .portfolio-project-head{
    grid-template-columns:56px 1fr;
    gap:22px;
  }
  .portfolio-project-copy{
    grid-template-columns:1fr;
    gap:20px;
  }
  .portfolio-mosaic{
    grid-auto-rows:75px;
  }
}

@media(max-width:767px){
  .works-hero{
    padding:62px 0 58px!important;
  }
  .works-hero h1{
    font-size:3rem;
  }
  .works-hero-grid>p{
    font-size:.92rem;
    line-height:1.7;
  }

  .portfolio-project{
    padding:58px 0 68px;
  }
  .portfolio-project-head{
    display:block;
    margin-bottom:28px;
  }
  .portfolio-project-number{
    margin:0 0 14px;
  }
  .portfolio-project-copy{
    display:block;
  }
  .portfolio-project-copy h2{
    font-size:2rem;
    line-height:1.08;
  }
  .portfolio-project-copy>p{
    margin-top:16px;
    font-size:.9rem;
    line-height:1.7;
  }

  .portfolio-mosaic{
    display:grid;
    grid-template-columns:1fr;
    grid-auto-rows:auto;
    gap:10px;
  }
  .portfolio-mosaic-item,
  .portfolio-mosaic-item:nth-child(n){
    grid-column:auto;
    grid-row:auto;
    aspect-ratio:4/3;
  }
  .portfolio-mosaic-item img{
    object-fit:cover;
  }
  .portfolio-mosaic-hover{
    display:none;
  }

  .portfolio-lightbox{
    grid-template-columns:48px minmax(0,1fr) 48px;
    padding:56px 4px 20px;
  }
  .portfolio-lightbox-image{
    max-height:calc(100vh - 145px);
  }
  .portfolio-lightbox-prev,
  .portfolio-lightbox-next{
    width:44px;
    height:70px;
    font-size:3rem;
  }
  .portfolio-lightbox-close{
    top:10px;
    right:10px;
  }
  .portfolio-lightbox-caption{
    width:100%;
    padding:12px 10px 0;
    font-size:.72rem;
  }
  .portfolio-lightbox-title{
    max-width:72%;
  }
}


/* ===== SERVICE PACKAGE PDF COLLAGES V3 ===== */
.package-card .package-visual{
  display:block;
  min-height:650px;
  padding:0;
  overflow:hidden;
  background:#ddd8d0;
}
.package-card .package-visual img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover!important;
  object-position:center;
}
.package-card-full .package-visual{
  background:#ddd8d0;
}
.package-card-full .package-visual img{
  object-fit:cover!important;
}
@media(max-width:900px){
  .package-card .package-visual{
    min-height:0;
    height:auto;
    padding:0;
    aspect-ratio:4/5;
  }
  .package-card .package-visual img{
    width:100%;
    height:100%;
    max-height:none;
    object-fit:cover!important;
  }
}


/* ===== WORKS HERO VIDEO ===== */
.works-hero-grid{
  align-items:center;
}
.works-hero-video{
  width:100%;
  max-width:620px;
  margin-left:auto;
  overflow:hidden;
  background:#20211f;
  aspect-ratio:16/9;
}
.works-hero-video video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
@media(max-width:900px){
  .works-hero-video{
    max-width:none;
    margin:6px 0 0;
    aspect-ratio:16/9;
  }
}


/* ===== GLOBAL DESKTOP HERO H1 72PX ===== */
@media (min-width:768px){
  .gutenberg-frontpage .hero h1,
  .page-hero-dark h1,
  .works-hero h1,
  .generic-page-title{
    font-size:72px!important;
  }
}


/* ===== GUTENBERG INTERNAL PAGES ===== */
:where(
  .gutenberg-page .wp-block-columns,
  .gutenberg-page .wp-block-column,
  .gutenberg-page .wp-block-group,
  .gutenberg-page .wp-block-image,
  .gutenberg-page .wp-block-video,
  .gutenberg-page .wp-block-buttons,
  .gutenberg-page .wp-block-button,
  .gutenberg-page .wp-block-heading,
  .gutenberg-page p
){
  margin-top:0;
  margin-bottom:0;
}

.gutenberg-page .wp-block-columns{
  margin-bottom:0;
}
.gutenberg-page .shell.wp-block-columns,
.gutenberg-page .shell.wp-block-group{
  max-width:none;
}

/* Full-width section Groups only wrap the actual editable layout. */
.gutenberg-page .page-hero-dark > .wp-block-group__inner-container,
.gutenberg-page .section-pad > .wp-block-group__inner-container,
.gutenberg-page .packages-section > .wp-block-group__inner-container,
.gutenberg-page .approach > .wp-block-group__inner-container,
.gutenberg-page .contact > .wp-block-group__inner-container,
.gutenberg-page .contact-page > .wp-block-group__inner-container{
  width:100%;
  max-width:none;
  margin:0;
}

/* HERO: mirrors the old hard-coded 2-column layout. */
.gutenberg-page .page-hero-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-items:center!important;
  gap:80px!important;
}
.gutenberg-page .page-hero-grid > .wp-block-column{
  min-width:0;
}
.gutenberg-page .page-hero-media{
  height:460px;
  overflow:hidden;
  background:#252522;
}
.gutenberg-page .page-hero-media .wp-block-image{
  width:100%;
  height:100%;
}
.gutenberg-page .page-hero-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ABOUT */
.gutenberg-page .about-page-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:1fr 2fr!important;
  gap:90px!important;
}
.gutenberg-page .section-heading.wp-block-columns{
  display:grid!important;
  grid-template-columns:1.5fr 1fr!important;
  align-items:end!important;
  gap:96px!important;
  margin-bottom:62px!important;
}
.gutenberg-page .section-heading > .wp-block-column:last-child p{
  color:#66635d;
  max-width:380px;
  margin-left:auto;
  font-size:1.0625rem;
  line-height:1.75;
}
.gutenberg-page .approach-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:40px!important;
}
.gutenberg-page .approach-step{
  display:block!important;
  border-top:1px solid #656052;
  padding-top:24px;
}
.gutenberg-page .approach-step > p:first-child{
  color:#c5a283!important;
  font:2rem "Poppins",Arial,Helvetica,sans-serif!important;
  line-height:1.5!important;
}
.gutenberg-page .approach-step h3{
  margin:42px 0 18px!important;
}
.gutenberg-page .approach-step > p:last-child{
  color:#bbb9b1;
  font-size:1rem;
  line-height:1.75;
}

/* SERVICES */
.gutenberg-page .package-card.wp-block-columns{
  display:grid!important;
  grid-template-columns:minmax(320px,.88fr) 1.12fr!important;
  gap:0!important;
  margin:0!important;
  background:#faf9f6;
  border-top:2px solid #9b7758;
}
.gutenberg-page .package-card + .package-card{
  margin-top:70px!important;
}
.gutenberg-page .package-card-full.wp-block-columns{
  grid-template-columns:.8fr 1.2fr!important;
}
.gutenberg-page .package-visual-col{
  min-width:0;
}
.gutenberg-page .package-card-reverse > .package-visual-col{
  order:2;
}
.gutenberg-page .package-card-reverse > .package-copy{
  order:1;
}
.gutenberg-page .package-visual{
  min-height:650px;
  height:100%;
  overflow:hidden;
  background:#ddd8d0;
}
.gutenberg-page .package-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:650px;
  object-fit:cover!important;
}
.gutenberg-page .package-copy{
  padding:58px 64px 62px;
}
.gutenberg-page .package-copy .section-label{
  margin-bottom:18px!important;
}
.gutenberg-page .package-copy .package-price{
  margin-top:18px!important;
}
.gutenberg-page .package-copy .package-intro{
  margin-top:18px!important;
}
.gutenberg-page .package-copy .package-features{
  margin:32px 0 34px!important;
}
.gutenberg-page .package-copy .full-service-list{
  margin:30px 0 34px!important;
}
.gutenberg-page .package-copy .wp-block-buttons{
  margin:0;
}
.gutenberg-page .wp-block-button.button-primary .wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:17px 24px;
  border:0;
  border-radius:0;
  background:#c5a283;
  color:#181816;
  font-size:.9375rem;
  font-weight:700;
  line-height:1.4;
}
.gutenberg-page .wp-block-button.button-primary .wp-block-button__link:hover{
  background:#e0bea1;
}

/* Numbered list in the full package, matching the old PHP spans. */
.gutenberg-page .full-service-list{
  counter-reset:erdviora-package-item;
  list-style:none!important;
}
.gutenberg-page .full-service-list li{
  counter-increment:erdviora-package-item;
  display:grid!important;
  grid-template-columns:38px 1fr!important;
  gap:10px!important;
}
.gutenberg-page .full-service-list li::before{
  content:counter(erdviora-package-item, decimal-leading-zero);
  grid-column:1;
  grid-row:1 / span 2;
  color:#8c623f;
  font:1.1rem "Poppins",Arial,Helvetica,sans-serif;
}
.gutenberg-page .full-service-list li small{
  grid-column:2;
}

/* WORKS */
.gutenberg-page .works-hero-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:1.35fr 1fr!important;
  align-items:center!important;
  gap:90px!important;
}
.gutenberg-page .works-hero-video-col{
  min-width:0;
}
.gutenberg-page .works-hero-video{
  width:100%;
  max-width:620px;
  margin-left:auto!important;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#20211f;
}
.gutenberg-page .works-hero-video video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.gutenberg-page .contact-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:1.45fr 1fr!important;
  align-items:center!important;
  gap:90px!important;
}
.gutenberg-page .contact-grid > .wp-block-column:first-child > p:last-child{
  color:#b6b3aa;
  max-width:480px;
  margin-top:26px!important;
  font-size:1.0625rem;
  line-height:1.8;
}

/* CONTACTS */
.gutenberg-page .contact-page-grid.wp-block-columns{
  display:grid!important;
  grid-template-columns:.9fr 1.1fr!important;
  gap:70px!important;
}
.gutenberg-page .contact-info-card,
.gutenberg-page .contact-form-card{
  background:#faf9f6;
  padding:55px;
}
.gutenberg-page .contact-info-card h2{
  margin-top:18px!important;
}
.gutenberg-page .contact-info-card > p:not(.section-label){
  color:#6c675e;
  margin-top:20px!important;
  line-height:1.8;
}
.gutenberg-page .contact-data{
  margin-top:40px!important;
  border-top:1px solid #d6d1c9;
}
.gutenberg-page .contact-data-row{
  padding:19px 0;
  border-bottom:1px solid #d6d1c9;
}
.gutenberg-page .contact-data-label{
  color:#8c623f;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.72rem;
  margin-bottom:5px!important;
}
.gutenberg-page .contact-data-value{
  margin:0!important;
}
.gutenberg-page .contact-data-value a{
  font-size:1.15rem;
  font-weight:500;
}
.gutenberg-page .contact-actions{
  margin-top:28px!important;
  gap:24px!important;
  align-items:center;
}
.gutenberg-page .contact-call-button .wp-block-button__link{
  min-height:44px;
  padding:13px 0;
  border:0;
  border-radius:0;
  background:transparent!important;
  color:#181816!important;
  font-size:.9375rem;
}
.gutenberg-page .contact-call-button .wp-block-button__link:hover{
  color:#8c623f!important;
}

/* Editor: keep the same broad proportions without constraining the canvas. */
.editor-styles-wrapper .shell.wp-block-columns,
.editor-styles-wrapper .shell.wp-block-group{
  width:min(1320px,calc(100% - 48px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.editor-styles-wrapper .page-hero-dark,
.editor-styles-wrapper .section-pad,
.editor-styles-wrapper .packages-section,
.editor-styles-wrapper .approach,
.editor-styles-wrapper .contact,
.editor-styles-wrapper .contact-page{
  width:100%!important;
  max-width:none!important;
}

/* Responsive parity with the old coded pages. */
@media(max-width:1000px){
  .gutenberg-page .works-hero-grid.wp-block-columns{
    grid-template-columns:1fr!important;
    gap:26px!important;
  }
  .gutenberg-page .works-hero-video{
    max-width:none;
    margin-left:0!important;
  }
}

@media(max-width:900px){
  .gutenberg-page .page-hero-grid.wp-block-columns,
  .gutenberg-page .about-page-grid.wp-block-columns,
  .gutenberg-page .contact-page-grid.wp-block-columns{
    grid-template-columns:1fr!important;
    gap:45px!important;
  }

  .gutenberg-page .page-hero-media{
    height:390px;
  }

  .gutenberg-page .section-heading.wp-block-columns{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  .gutenberg-page .section-heading > .wp-block-column:last-child p{
    margin-left:0;
    max-width:620px;
  }

  .gutenberg-page .approach-grid.wp-block-columns{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:32px!important;
  }

  .gutenberg-page .package-card.wp-block-columns,
  .gutenberg-page .package-card-full.wp-block-columns{
    grid-template-columns:1fr!important;
  }
  .gutenberg-page .package-card-reverse > .package-visual-col,
  .gutenberg-page .package-card-reverse > .package-copy{
    order:initial;
  }
  .gutenberg-page .package-visual,
  .gutenberg-page .package-visual img{
    min-height:0;
    height:auto;
  }
  .gutenberg-page .package-visual{
    aspect-ratio:4/5;
  }
  .gutenberg-page .package-visual img{
    width:100%;
    height:100%;
  }

  .gutenberg-page .contact-grid.wp-block-columns{
    grid-template-columns:1fr!important;
    gap:45px!important;
  }
}

@media(max-width:600px){
  .gutenberg-page .page-hero-media{
    height:300px;
  }

  .gutenberg-page .package-copy{
    padding:32px 24px 38px;
  }

  .gutenberg-page .contact-info-card,
  .gutenberg-page .contact-form-card{
    padding:32px 24px;
  }

  .gutenberg-page .approach-grid.wp-block-columns{
    grid-template-columns:1fr!important;
    gap:0!important;
  }
  .gutenberg-page .approach-step{
    padding:16px 0 20px!important;
  }
  .gutenberg-page .approach-step > p:first-child{
    font-size:22px!important;
    line-height:1!important;
  }
  .gutenberg-page .approach-step h3{
    margin:12px 0 8px!important;
    font-size:16px!important;
  }
  .gutenberg-page .approach-step > p:last-child{
    font-size:10px!important;
    line-height:1.65!important;
  }
}
