/* MasonicWebsite homepage v1 — scoped to native blocks on the front page. */
html body.home #main,html body.home #main>[class*="ct-container"],html body.home #main article,html body.home .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html body.home #main>.hero-section{display:none!important}
html body.home .mw-home{--mw-ink:#0b2340;--mw-navy:#001f3b;--mw-gold:#c99738;--mw-paper:#f5f4ef;margin:0!important;width:100%!important;max-width:none!important;color:var(--mw-ink);background:#fff;font-size:17px;line-height:1.65}
.mw-home *{box-sizing:border-box}
.mw-home .wp-block-group{margin-top:0;margin-bottom:0}
html body.home .mw-home .mw-home-shell{width:min(1180px,calc(100% - 112px))!important;max-width:1180px!important;margin:0 auto!important}
.mw-home h1,.mw-home h2,.mw-home h3,.mw-home p,.mw-home figure{margin-top:0}
.mw-home h1,.mw-home h2{font-family:Georgia,'Times New Roman',serif;font-style:normal;font-weight:700;letter-spacing:-.035em;line-height:1.07;color:inherit}
.mw-home h1{font-size:clamp(48px,5.3vw,76px);max-width:930px;margin-bottom:26px}
.mw-home h2{font-size:clamp(36px,3.4vw,50px);margin-bottom:24px}
.mw-home h3{font-size:23px;line-height:1.22;letter-spacing:-.02em;color:inherit;margin-bottom:16px}
.mw-home p{margin-bottom:20px}
.mw-home p:last-child{margin-bottom:0}
.mw-home .mw-home-kicker{font-size:11px;line-height:1.5;font-weight:800;letter-spacing:.18em;color:#856019;margin-bottom:22px}
.mw-home .mw-home-gold{color:#e0b45e}
.mw-home .mw-home-hero{padding:185px 0 66px;background:linear-gradient(90deg,rgba(0,26,49,.98) 0%,rgba(0,26,49,.86) 46%,rgba(0,26,49,.25) 100%),url('https://masonicwebsite.co.uk/wp-content/uploads/2025/02/How-to-build-a-masonic-website.jpg') center 46%/cover;color:#fff}
.mw-home .mw-home-hero .mw-home-kicker,.mw-home .mw-home-final .mw-home-kicker{color:#e0b45e}
.mw-home .mw-home-lead{font-size:20px;line-height:1.6;max-width:650px;color:#e3eaf0;margin-bottom:28px}
.mw-home .mw-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 0}
html body.home .mw-home .wp-block-button__link{display:inline-flex;min-height:50px;align-items:center;justify-content:center;padding:14px 22px;background:var(--mw-gold);border:1px solid var(--mw-gold);border-radius:2px;color:#001a31;font-size:14px;font-weight:750;line-height:1.3;text-decoration:none;box-shadow:none}
html body.home .mw-home .mw-home-button-alt .wp-block-button__link{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.mw-home .wp-block-button__link:hover{filter:brightness(1.08)}
.mw-home a:focus-visible{outline:2px solid #c99738;outline-offset:5px}
.mw-home .mw-home-hero-note{font-size:13px;color:#c3d0db;margin-top:24px}
.mw-home .mw-home-intro{background:var(--mw-paper);padding:36px 0;border-bottom:1px solid #e4e5df}
.mw-home .mw-home-intro-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:62px;align-items:center}
.mw-home .mw-home-intro-title{font-size:20px;line-height:1.5;margin:0}
.mw-home .mw-home-intro-grid>p:last-child{font-size:16px;line-height:1.65;margin:0}
.mw-home .mw-home-section{padding:88px 0}
.mw-home .mw-home-section-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:36px}
.mw-home .mw-home-section-heading h2{margin-bottom:0}
.mw-home .mw-home-text-link a{font-size:14px;font-weight:750;color:inherit;text-decoration:underline;text-underline-offset:5px}
.mw-home .mw-home-work-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:40px;align-items:start}
html body.home .mw-home .mw-home-example.mw-home-example-full .wp-block-image img{aspect-ratio:auto!important;height:auto!important;max-height:none!important;object-fit:contain!important}
html body.home .mw-home .mw-home-example.mw-home-example-full .wp-block-image{max-width:404px!important}
html body.home .mw-home .mw-home-example.mw-home-example-full picture{display:block;aspect-ratio:auto!important;height:auto!important;max-height:none!important}
.mw-home .mw-home-intro{padding:60px 0}
.mw-home .mw-home-intro-grid{grid-template-columns:1.3fr 1fr}
.mw-home .mw-home-restored-title{font-size:clamp(30px,2.7vw,40px);margin:0}
.mw-home .mw-home-accent{color:#856019}
.mw-home .mw-home-intro-grid>p.mw-home-restored-promise{font-size:clamp(23px,2vw,30px);line-height:1.4}
.mw-home .mw-home-restored-promise strong{color:#856019}
.mw-home .mw-home-benefits{margin-top:48px!important;padding:36px;background:var(--mw-paper)}
.mw-home .mw-home-benefits h2{font-size:clamp(28px,2.5vw,38px);line-height:1.15;margin-bottom:24px}
.mw-home .mw-home-benefits p{font-size:clamp(19px,1.6vw,23px);line-height:1.45;border-top:1px solid #d8d9d1;padding-top:18px;margin-bottom:18px}
.mw-home .mw-home-benefits p strong{color:#856019}
@media(max-width:767px){.mw-home .mw-home-benefits{padding:24px;margin-top:30px!important}}
html body.home .mw-home .mw-home-example .wp-block-image{margin:0!important;width:100%!important;border:1px solid #dce2e7;border-radius:3px;overflow:hidden;box-shadow:0 18px 40px rgba(0,31,59,.08)}
html body.home .mw-home .mw-home-example .wp-block-image img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1.5;object-fit:cover!important;object-position:top center;max-width:100%!important;margin:0!important}
.mw-home .mw-home-example-label{margin:16px 0 0;font-size:11px;font-weight:800;letter-spacing:.14em}
.mw-home .mw-home-testimonial{border-left:3px solid var(--mw-gold);padding:8px 0 8px 28px;margin:54px auto 0!important;max-width:850px}
.mw-home .mw-home-quote{font-family:Georgia,'Times New Roman',serif;font-size:27px;line-height:1.42;letter-spacing:-.015em;margin-bottom:14px}
.mw-home .mw-home-quote-credit{font-size:13px;color:#596777}
.mw-home .mw-home-services{background:var(--mw-paper)}
.mw-home .mw-home-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:40px}
.mw-home .mw-home-service{border-top:1px solid #c8cdd0;padding-top:24px}
.mw-home .mw-home-number{font-family:Georgia,serif;font-size:28px;color:#977022;margin-bottom:16px}
.mw-home .mw-home-service>p:not(.mw-home-number):not(.mw-home-text-link){font-size:16px;color:#4f6170}
.mw-home .mw-home-extra{padding-top:30px;margin-top:32px;border-top:1px solid #d6d9d6;font-size:14px;color:#4f6170}
.mw-home .mw-home-extra a{color:inherit;text-underline-offset:3px}
.mw-home .mw-home-process-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}
.mw-home .mw-home-heading-copy>p:not(.mw-home-kicker){max-width:380px;color:#4f6170}
.mw-home .mw-home-step{padding-bottom:24px;margin-bottom:24px!important;border-bottom:1px solid #dce2e7}
.mw-home .mw-home-step:last-child{margin-bottom:0!important;padding-bottom:0;border-bottom:0}
.mw-home .mw-home-step h3{font-size:20px;margin-bottom:10px}
.mw-home .mw-home-step p{font-size:16px;color:#4f6170}
.mw-home .mw-home-pricing{background:#eaf0f3}
.mw-home .mw-home-price-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:90px;align-items:center}
.mw-home .mw-home-price-figure{font-size:22px;line-height:1.1;margin:0 0 20px}
.mw-home .mw-home-price-figure strong{font-family:Georgia,serif;font-weight:400;font-size:100px;letter-spacing:-.05em;display:block;margin-top:12px}
.mw-home .mw-home-price>p:last-child{max-width:310px;color:#4f6170}
.mw-home .mw-home-price-detail>p{color:#4f6170;font-size:16px}
.mw-home .mw-home-price-detail .mw-home-text-link{margin-top:22px}
.mw-home .mw-home-final{background:var(--mw-navy);color:#fff;text-align:center}
.mw-home .mw-home-final p:not(.mw-home-kicker){max-width:560px;margin-left:auto;margin-right:auto;color:#d5e0e9}
.mw-home .mw-home-final .mw-home-actions{justify-content:center}
@media(min-width:1000px){
 html body.home #header [data-row="middle"]>.ct-container-fluid{padding-left:46px!important;padding-right:46px!important}
 html body.home #header [data-device="desktop"] [data-column],html body.home #header [data-device="desktop"] [data-items],html body.home #header [data-device="desktop"] .site-branding{display:flex!important;align-items:center!important;height:78px!important;min-height:0!important}
}
@media(max-width:999px){
 html body.home #header{position:absolute!important;top:34px!important;left:0!important;right:0!important;width:100%!important;background:transparent!important;z-index:1000!important}
 .mw-home .mw-home-hero{padding-top:150px}
 .mw-home .mw-home-intro-grid{gap:32px}
 .mw-home .mw-home-process-grid,.mw-home .mw-home-price-grid{gap:44px}
}
@media(max-width:767px){
 html body.home #header{top:30px!important}
 html body.home .mw-home .mw-home-shell{width:calc(100% - 40px)!important;max-width:none!important}
 .mw-home .mw-home-hero{padding:130px 0 46px;background-position:60% center;background-image:linear-gradient(90deg,rgba(0,26,49,.95),rgba(0,26,49,.76)),url('https://masonicwebsite.co.uk/wp-content/uploads/2025/02/How-to-build-a-masonic-website.jpg')}
 .mw-home h1{font-size:clamp(38px,10vw,48px);line-height:1.06;letter-spacing:-.035em;margin-bottom:22px}
 .mw-home h2{font-size:34px;line-height:1.1}
 .mw-home .mw-home-lead{font-size:17px;line-height:1.6}
 .mw-home .mw-home-kicker{font-size:10px;letter-spacing:.13em;margin-bottom:18px}
 .mw-home .mw-home-actions{flex-direction:column;align-items:stretch}
 .mw-home .mw-home-actions .wp-block-button{width:100%}
 html body.home .mw-home .wp-block-button__link{width:100%}
 .mw-home .mw-home-intro{padding:30px 0}
 .mw-home .mw-home-intro-grid,.mw-home .mw-home-work-grid,.mw-home .mw-home-three,.mw-home .mw-home-process-grid,.mw-home .mw-home-price-grid{grid-template-columns:1fr;gap:28px}
 .mw-home .mw-home-section{padding:54px 0}
 .mw-home .mw-home-section-heading{display:block;margin-bottom:28px}
 .mw-home .mw-home-section-heading>.mw-home-text-link{margin-top:20px}
 .mw-home .mw-home-three{margin-top:28px}
 .mw-home .mw-home-service{padding-top:20px}
 .mw-home .mw-home-quote{font-size:23px}
 .mw-home .mw-home-testimonial{padding-left:20px;margin-top:36px!important}
 .mw-home .mw-home-price-figure strong{font-size:80px}
 .mw-home .mw-home-final{text-align:left}
}
