/* Homepage content block - devy-ui, 15 Oct 2026. Loaded by mirror-render.php on the homepage (post 63) only.
   Copy is unchanged; layout only. 1440 box, no side padding above 1480px, 24px gutter below. */
section:has(>.max-w-6xl>.ace-pb-embed){padding-inline:0}
.max-w-6xl:has(>.ace-pb-embed){max-width:1440px;padding-inline:0}
@media (max-width:1480px){.max-w-6xl:has(>.ace-pb-embed){padding-inline:24px}}

.ace-pb-embed{margin-top:0;--home-gap:clamp(3.5rem,6vw,5.5rem)}
.ace-pb-embed>section+section{margin-top:var(--home-gap)}
.ace-pb-embed h2{font-size:clamp(1.75rem,1.15rem + 1.6vw,2.5rem);line-height:1.1;letter-spacing:-.02em;font-weight:var(--font-weight-bold);color:var(--pb-ink);margin:0 0 1.5rem}
.ace-pb-embed p,.ace-pb-embed li{font-size:1.0625rem;line-height:1.65}

/* 1 - What professional caulking involves: heading stacked, two paragraphs side by side */
.ace-pb-embed>section:nth-of-type(1)>div{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem 4rem}
.ace-pb-embed>section:nth-of-type(1)>div>p{margin:0}
@media (min-width:900px){.ace-pb-embed>section:nth-of-type(1)>div{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 2 - Structure to handover: the four stages as numbered columns under a gold rule, closing paragraphs side by side */
.ace-pb-embed>section:nth-of-type(2)>div{display:grid;grid-template-columns:minmax(0,1fr);gap:0 4rem}
.ace-pb-embed>section:nth-of-type(2)>div>p{margin:0 0 1rem}
.ace-pb-embed>section:nth-of-type(2)>div>p:first-child,.ace-pb-embed>section:nth-of-type(2)>div>ul{grid-column:1/-1}
.ace-pb-embed>section:nth-of-type(2) ul{counter-reset:stage;display:grid;grid-template-columns:minmax(0,1fr);gap:2rem 2.5rem;margin:1rem 0 2.5rem}
.ace-pb-embed>section:nth-of-type(2) ul>li{counter-increment:stage;margin:0;padding:1.5rem 0 0;border-top:3px solid var(--pb-gold)}
.ace-pb-embed>section:nth-of-type(2) ul>li::before{content:counter(stage,decimal-leading-zero);position:static;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;margin:0 0 1rem;border-radius:999px;background:var(--pb-gold);color:var(--pb-ink);font-size:.875rem;font-weight:var(--font-weight-bold);letter-spacing:.02em}
@media (min-width:640px){.ace-pb-embed>section:nth-of-type(2) ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){.ace-pb-embed>section:nth-of-type(2)>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1200px){.ace-pb-embed>section:nth-of-type(2) ul{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 3 - Based in Smithfield: black band */
.ace-pb-embed>section:nth-of-type(3){background:var(--pb-ink);border-top:3px solid var(--pb-gold);border-radius:var(--radius);padding:clamp(2rem,4vw,3.5rem)}
.ace-pb-embed>section:nth-of-type(3) h2{color:var(--pb-white)}
.ace-pb-embed>section:nth-of-type(3) p{margin:0;font-size:clamp(1.0625rem,.95rem + .45vw,1.3125rem);line-height:1.6;color:var(--color-gray-300)}
.ace-pb-embed>section:nth-of-type(3) p a{color:var(--pb-gold)}
.ace-pb-embed>section:nth-of-type(3) p a:hover,.ace-pb-embed>section:nth-of-type(3) p a:focus-visible{color:var(--pb-white)}

/* FAQ - three question cards side by side from 1024px, each opens on its own */
.ace-pb-embed>.ace-pb-faq{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;align-items:start}
.ace-pb-embed>.ace-pb-faq>h2{margin-bottom:.5rem}
.ace-pb-embed>.ace-pb-faq details,.ace-pb-embed>.ace-pb-faq details:first-of-type{border:1px solid var(--pb-line);border-radius:var(--radius);padding:0 1.5rem;background:var(--pb-white)}
.ace-pb-embed>.ace-pb-faq details[open]{border-color:var(--pb-gold)}
.ace-pb-embed>.ace-pb-faq summary{align-items:flex-start;padding:1.375rem 0;font-size:1.0625rem;line-height:1.4}
.ace-pb-embed>.ace-pb-faq summary .ace-pb-faq-icon{margin-top:-.25rem}
@media (min-width:1024px){.ace-pb-embed>.ace-pb-faq{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1.5rem}.ace-pb-embed>.ace-pb-faq>h2{grid-column:1/-1}}

/* Hero intro and contact-banner intro: no measure cap (Cheska 15 Oct 2026) */
.space-y-2>p.max-w-xl,#ace-cta-banner p{max-width:none!important}
