/* ===== migration additions (AEO/SEO sections, breadcrumb, form, video) – set --msm-red to the brand colour ===== */
:root{--msm-red:#da251c;--msm-dark:#333;--msm-grey:#666;--msm-bg:#f5f5f5}
.msm-aeo{background:#fff;padding:60px 0}
.msm-aeo-row{width:80%;max-width:1080px;margin:auto}
.msm-aeo-head{text-align:center;margin-bottom:22px}
.msm-aeo-kicker{display:block;color:var(--msm-red);font-family:inherit;font-weight:700;font-size:14px;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}
.msm-aeo-title{font-family:inherit;font-size:30px;line-height:1.3;color:#000;padding:0}
.msm-aeo-answer{max-width:860px;margin:0 auto 22px;text-align:center;font-size:16px;line-height:1.8;color:var(--msm-grey)}
.msm-aeo-answer strong{color:var(--msm-dark);font-weight:600}
.msm-aeo-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-bottom:50px}
.msm-aeo-links a{background:var(--msm-red);color:#fff;padding:10px 20px;font-size:14px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;border-radius:2px;transition:background .2s}
.msm-aeo-links a:hover,.msm-aeo-links a:focus{background:#b01d15}
.msm-faq{max-width:900px;margin:auto}
.msm-faq-item{border:1px solid #e5e5e5;border-left:4px solid var(--msm-red);background:#fff;margin-bottom:12px;border-radius:2px}
.msm-faq-item summary{cursor:pointer;list-style:none;padding:16px 48px 16px 20px;position:relative}
.msm-faq-item summary::-webkit-details-marker{display:none}
.msm-faq-item summary::after{content:'+';position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--msm-red);font-weight:700}
.msm-faq-item[open] summary::after{content:'–'}
.msm-faq-item summary h3{font-size:17px;font-weight:600;color:var(--msm-dark);padding:0;margin:0;display:inline}
.msm-faq-item p{padding:0 20px 18px;margin:0;color:var(--msm-grey);font-size:15px;line-height:1.7}
.msm-nap{background:var(--msm-bg)}
.msm-nap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.msm-nap-grid>div{background:#fff;padding:24px;border-top:3px solid var(--msm-red)}
.msm-nap-grid h3{font-size:18px;color:var(--msm-red);padding-bottom:8px}
.msm-nap-grid p{font-size:15px;line-height:1.8;color:var(--msm-grey)}
.msm-nap-grid a{color:var(--msm-dark)}
.msm-breadcrumb{background:#f7f7f7;border-bottom:1px solid #eee}
.msm-bc-inner{width:80%;max-width:1080px;margin:auto;padding:10px 0}
.msm-breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;font-size:13px}
.msm-breadcrumb li+li::before{content:'›';margin:0 8px;color:#999}
.msm-breadcrumb a{color:var(--msm-red)}
.msm-breadcrumb li[aria-current]{color:#555}
/* lite YouTube (videos load only on click – faster page) */
.msm-yt{position:relative;display:block;aspect-ratio:16/9;background:#000 center/cover no-repeat;cursor:pointer;overflow:hidden}
.msm-yt img{width:100%;height:100%;object-fit:cover;display:block;opacity:.9}
.msm-yt::after{content:'';position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7a8.5 8.5 0 0 0-6-6C55.3.3 34 .3 34 .3s-21.3 0-26.5 1.4a8.5 8.5 0 0 0-6 6C.1 12.9.1 24 .1 24s0 11.1 1.4 16.3a8.5 8.5 0 0 0 6 6C12.7 47.7 34 47.7 34 47.7s21.3 0 26.5-1.4a8.5 8.5 0 0 0 6-6C67.9 35.1 67.9 24 67.9 24s0-11.1-1.4-16.3z' fill='%23da251c'/%3E%3Cpath d='M45 24 27 14v20' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat}
.msm-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* form */
.msm-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.msm-form-msg{padding:14px 18px;margin:10px 0 18px;border-radius:2px;font-size:15px}
.msm-ok{background:#e8f6ec;border-left:4px solid #2e9e4f;color:#1d5e30}
.msm-err{background:#fdecea;border-left:4px solid var(--msm-red);color:#8a1d15}
.gfield_error input,.gfield_error textarea{border-color:var(--msm-red)!important}
@media(max-width:980px){.msm-nap-grid{grid-template-columns:1fr}.msm-aeo-row,.msm-bc-inner{width:90%}.msm-aeo-title{font-size:24px}.msm-aeo{padding:40px 0}}
/* ---- AEO blocks v3 ---- */
.msm-definition{max-width:860px;margin:-8px auto 22px;text-align:center;font-size:15px;color:var(--msm-grey);font-style:italic}
.msm-answer{padding:40px 0 30px}
.msm-glance{background:var(--msm-bg)}
.msm-glance-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}
.msm-glance-grid li{background:#fff;text-align:center;padding:22px 12px;border-bottom:3px solid var(--msm-red)}
.msm-stat{display:block;font-size:32px;font-weight:700;color:var(--msm-red);line-height:1.2}
.msm-stat-label{display:block;font-size:14px;color:var(--msm-dark);text-transform:uppercase;letter-spacing:.5px;margin-top:6px}
.msm-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;counter-reset:s}
.msm-steps li{background:#fff;border:1px solid #eee;padding:26px 20px 20px;position:relative;text-align:center}
.msm-step-no{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--msm-red);color:#fff;font-weight:700;font-size:18px;margin-bottom:10px}
.msm-steps h3,.msm-why-grid h3{font-size:17px;color:var(--msm-dark);padding-bottom:6px}
.msm-steps p,.msm-why-grid p{font-size:14px;line-height:1.7;color:var(--msm-grey)}
.msm-trust{background:var(--msm-bg)}
.msm-trust-list{list-style:none;margin:0 auto 24px;padding:0;max-width:900px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px 24px}
.msm-trust-list li{padding-left:28px;position:relative;font-size:15px;line-height:1.7;color:var(--msm-dark)}
.msm-trust-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--msm-red);font-weight:700}
.msm-trust-logos{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;align-items:center}
.msm-trust-logos img{height:60px;width:auto;object-fit:contain;filter:grayscale(.2)}
.msm-why-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.msm-why-grid li{border-top:3px solid var(--msm-red);background:#fff;padding:20px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
/* theme list styles (Divi/Elementor) must not leak into AEO blocks */
.msm-aeo ul,.msm-aeo ol{list-style:none!important;padding:0!important;margin-left:0!important}
.msm-aeo li{list-style:none!important}.msm-aeo li::marker{content:''}
.msm-aeo ul li::before{color:var(--msm-red)}

/* ---- AEO area: one new section at the bottom, theme colour accents ---- */
.msm-aeo{border-top:1px solid #eee}
.msm-aeo + .msm-aeo{border-top:0;padding-top:20px}
/* ---- contact form: clean, responsive (scoped to our form only) ---- */
#gform_wrapper_1{max-width:860px;margin:0 auto}
#gform_wrapper_1 .gform_fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
#gform_wrapper_1 .gfield{grid-column:auto!important;width:auto!important;margin:0!important}
#gform_wrapper_1 .gfield--width-full,#gform_wrapper_1 .msm-hp{grid-column:1/-1!important}
#gform_wrapper_1 input:not([type=hidden]),#gform_wrapper_1 select,#gform_wrapper_1 textarea{width:100%!important;max-width:100%!important;box-sizing:border-box;padding:12px 14px!important;border:1px solid #d6d6d6!important;border-radius:4px!important;font-size:15px!important;background:#fff!important;color:#333;transition:border-color .2s,box-shadow .2s}
#gform_wrapper_1 input:focus,#gform_wrapper_1 select:focus,#gform_wrapper_1 textarea:focus{outline:0;border-color:var(--msm-red)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--msm-red) 18%,transparent)}
#gform_wrapper_1 .gform_button{background:var(--msm-red)!important;color:#fff!important;border:0!important;border-radius:4px!important;padding:13px 34px!important;font-size:16px!important;font-weight:600;cursor:pointer;transition:filter .2s}
#gform_wrapper_1 .gform_button:hover{filter:brightness(.9)}
#gform_wrapper_1 .gfield_error input,#gform_wrapper_1 .gfield_error select,#gform_wrapper_1 .gfield_error textarea{border-color:#c62828!important}
@media(max-width:767px){#gform_wrapper_1 .gform_fields{grid-template-columns:1fr}#gform_wrapper_1 .gform_button{width:100%}}

:root{--msm-red:#762164}

/* ===== Amba Linen Fabs – site-specific layout fixes ===== */
:root{--msm-red:#762164;--msm-dark:#1d2f40;--msm-accent:#7EBEC5;--msm-wrap:1200px;--msm-gap:calc(100% - 64px)}

/* 1. Homepage: every section uses the SAME content width (hero banner image stays full-bleed) */
body.home #main-content .et_pb_section:not(.et_pb_section_0) > .et_pb_row,
body.home #main-content .et_pb_section:not(.et_pb_section_0) > .et_pb_row.et_pb_row{width:var(--msm-gap)!important;max-width:var(--msm-wrap)!important;margin-left:auto!important;margin-right:auto!important}
.msm-aeo-row{width:var(--msm-gap);max-width:var(--msm-wrap)}
.msm-bc-inner{width:var(--msm-gap);max-width:var(--msm-wrap)}

/* 2. Even vertical rhythm between homepage sections */
body.home #main-content > .et_pb_section:not(.et_pb_section_0),
body.home #main-content > .msm-aeo{padding-top:70px!important;padding-bottom:70px!important}
body.home #main-content .et_pb_section_1{padding-top:40px!important;padding-bottom:10px!important}
body.home #main-content .et_pb_section_4{padding-top:40px!important}
.msm-aeo + .msm-aeo{padding-top:70px}

/* 3. Tablet (768–980px): tighter spacing, no overlapping negative margins */
@media (max-width:980px){
  body.home #main-content > .et_pb_section:not(.et_pb_section_0),
  body.home #main-content > .msm-aeo{padding-top:50px!important;padding-bottom:50px!important}
  .msm-aeo + .msm-aeo{padding-top:50px}
  #main-content .et_pb_row{padding-top:20px!important;padding-bottom:20px!important}
  #main-content .et_pb_text_6,#main-content .et_pb_text_9,#main-content .et_pb_text_10,#main-content .et_pb_text_7{margin-top:0!important}
  #main-content .et_pb_column{margin-bottom:24px}
  #main-content .et_pb_column:last-child{margin-bottom:0}
  #main-content h1,#main-content .dnxt-text-one,#main-content .dnxt-text-two,#main-content .dnxt-text-three{font-size:30px!important;line-height:1.3!important}
}
/* 4. Mobile (<768px) */
@media (max-width:767px){
  :root{--msm-gap:calc(100% - 32px)}
  body.home #main-content > .et_pb_section:not(.et_pb_section_0),
  body.home #main-content > .msm-aeo{padding-top:36px!important;padding-bottom:36px!important}
  .msm-aeo + .msm-aeo{padding-top:36px}
  #main-content .et_pb_section:not(.et_pb_section_0) > .et_pb_row{width:100%!important}
  #main-content .et_pb_row{padding-top:12px!important;padding-bottom:12px!important}
  #main-content h1,#main-content .dnxt-text-one,#main-content .dnxt-text-two,#main-content .dnxt-text-three{font-size:24px!important;line-height:1.35!important}
  #main-content .et_pb_number_counter .percent p{font-size:34px!important}
  #main-content .et_pb_column_14,#main-content .et_pb_column_15,#main-content .et_pb_column_16,#main-content .et_pb_column_17{padding-left:0!important}
  #main-content img{max-width:100%;height:auto}
}

/* 5. Why choose us – cards in theme colour */
.msm-why .msm-why-grid li{border-top:0;border-radius:10px;padding:26px 22px;box-shadow:0 6px 24px rgba(118,33,100,.08);position:relative;overflow:hidden;transition:transform .25s,box-shadow .25s}
.msm-why .msm-why-grid li::before{content:'';position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--msm-red),var(--msm-accent))}
.msm-why .msm-why-grid li:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(118,33,100,.14)}
.msm-why .msm-why-grid h3{color:var(--msm-red)}
@media (max-width:767px){.msm-why-grid{grid-template-columns:1fr!important}}

/* 6. AEO answer strip + FAQ = one theme-colour area at the bottom (before the final CTA) */
.msm-answer{background:linear-gradient(135deg,var(--msm-red) 0%,#4e1543 100%);border-top:0;color:#fff}
.msm-answer .msm-aeo-kicker{color:var(--msm-accent)}
.msm-answer .msm-aeo-title{color:#fff}
.msm-answer .msm-aeo-answer{color:rgba(255,255,255,.88);margin-bottom:0}
.msm-answer .msm-aeo-answer strong{color:#fff}

/* 7. Advanced FAQ: two-column, numbered, animated accordion */
.msm-aeo.msm-faq{background:#faf6f9;border-top:0}
#msm-faq .msm-aeo-row{display:grid;grid-template-columns:minmax(240px,340px) 1fr;gap:48px;align-items:start}
#msm-faq .msm-aeo-head{text-align:left;position:sticky;top:110px;margin:0;padding:34px 30px;border-radius:14px;background:linear-gradient(160deg,var(--msm-red),#4e1543);color:#fff;box-shadow:0 14px 40px rgba(118,33,100,.25)}
#msm-faq .msm-aeo-head::after{content:'10 answers about our linen fabrics, MOQ, samples, blends and export.';display:block;margin-top:14px;font-size:15px;line-height:1.7;color:rgba(255,255,255,.85)}
#msm-faq .msm-aeo-kicker{color:var(--msm-accent)}
#msm-faq .msm-aeo-title{color:#fff;font-size:30px}
#msm-faq .msm-faq{max-width:none;margin:0;counter-reset:faq}
#msm-faq .msm-faq-item{counter-increment:faq;border:1px solid #eadfe8;border-left:0;border-radius:12px;background:#fff;margin-bottom:14px;box-shadow:0 2px 10px rgba(29,47,64,.04);transition:box-shadow .25s,border-color .25s;overflow:hidden}
#msm-faq .msm-faq-item:hover{border-color:color-mix(in srgb,var(--msm-red) 35%,#eadfe8)}
#msm-faq .msm-faq-item[open]{border-color:var(--msm-red);box-shadow:0 10px 30px rgba(118,33,100,.12)}
#msm-faq .msm-faq-item summary{display:flex;align-items:center;gap:16px;padding:18px 64px 18px 18px}
#msm-faq .msm-faq-item summary::before{content:counter(faq,decimal-leading-zero);flex:0 0 42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:var(--msm-red);background:color-mix(in srgb,var(--msm-red) 10%,#fff);transition:background .25s,color .25s}
#msm-faq .msm-faq-item[open] summary::before{background:var(--msm-red);color:#fff}
#msm-faq .msm-faq-item summary::after{content:'';right:20px;width:30px;height:30px;border-radius:50%;border:2px solid var(--msm-red);background:linear-gradient(var(--msm-red),var(--msm-red)) center/12px 2px no-repeat,linear-gradient(var(--msm-red),var(--msm-red)) center/2px 12px no-repeat;transition:transform .3s,background-color .3s}
#msm-faq .msm-faq-item[open] summary::after{content:'';transform:translateY(-50%) rotate(45deg)}
#msm-faq .msm-faq-item summary h3{font-size:17px;line-height:1.45;color:var(--msm-dark)}
#msm-faq .msm-faq-item[open] summary h3{color:var(--msm-red)}
#msm-faq .msm-faq-item p{padding:0 24px 22px 76px;font-size:15px;line-height:1.75;animation:msmFaqIn .35s ease}
@keyframes msmFaqIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
#msm-faq .msm-faq-item summary:focus-visible{outline:3px solid color-mix(in srgb,var(--msm-red) 40%,transparent);outline-offset:-3px;border-radius:12px}
@media (prefers-reduced-motion:reduce){#msm-faq .msm-faq-item p{animation:none}#msm-faq .msm-faq-item summary::after{transition:none}}
@media (max-width:980px){#msm-faq .msm-aeo-row{grid-template-columns:1fr;gap:26px}#msm-faq .msm-aeo-head{position:static;text-align:center}}
@media (max-width:767px){#msm-faq .msm-aeo-head{padding:26px 20px}#msm-faq .msm-aeo-title{font-size:24px}#msm-faq .msm-faq-item summary{padding:14px 54px 14px 14px;gap:12px}#msm-faq .msm-faq-item summary::before{flex-basis:34px;height:34px;font-size:12px}#msm-faq .msm-faq-item summary::after{right:14px;width:26px;height:26px}#msm-faq .msm-faq-item summary h3{font-size:15px}#msm-faq .msm-faq-item p{padding:0 16px 18px 16px;font-size:14px}}

/* 8. Enquiry form – same look as the old Gravity Form (labels hidden, placeholders shown, full-width fields) */
#gform_wrapper_1 .hidden_label .gfield_label{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
#gform_wrapper_1 .gfield_required{color:#c02b0a;font-size:13px}

/* 9. fixes after screenshot review */
.msm-aeo.msm-faq{max-width:none;margin:0}          /* outer section shares the .msm-faq class – keep it full width */
.msm-why .msm-why-grid{grid-template-columns:repeat(3,1fr)}
@media (max-width:980px){.msm-why .msm-why-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){.msm-why .msm-why-grid{grid-template-columns:1fr}}
/* 10. mobile/tablet: keep the keyword H1 visible (old theme hid it under 980px) + readable CTA paragraph */
@media (max-width:980px){
  body.home .dnxte_multi_heading_0{display:block!important;margin-bottom:12px}
  body.home .dnxte_multi_heading_0 .dnxt-text-one,body.home .dnxte_multi_heading_0 .dnxt-text-two{line-height:1.3!important}
  #main-content .dnxt-text-three{font-size:16px!important;line-height:1.7!important}
  #main-content .et_pb_number_counter{margin-bottom:18px!important}
}
/* 11. inner-page banner: keyword H1 keeps the old banner title look (white, bold) and wraps cleanly */
body:not(.home) #main-content .et_pb_section_0 .dnxte_multi_heading_0 h1.header-level{font-weight:700;font-size:35px;line-height:1.25;color:#fff!important;max-width:820px;padding-bottom:0}
@media (max-width:980px){body:not(.home) #main-content .et_pb_section_0 .dnxte_multi_heading_0 h1.header-level{font-size:28px}}
@media (max-width:767px){body:not(.home) #main-content .et_pb_section_0 .dnxte_multi_heading_0 h1.header-level{font-size:22px}}

/* 12. contact page: same type + form style as the live site (Gravity Forms "orbital" look) */
body:not(.home) #main-content .et_pb_section_0 .dnxte_multi_heading_0 h1.header-level{line-height:1.1}
#gform_wrapper_1 .gform_fields{gap:28px 24px!important}
#gform_wrapper_1 input:not([type=hidden]),#gform_wrapper_1 textarea{font-family:'Nunito Sans',Helvetica,Arial,Lucida,sans-serif!important;font-size:14px!important;font-weight:400;color:#112337!important;border:1px solid #686e77!important;border-radius:8px!important;padding:0 12px!important;height:38px;line-height:38px}
#gform_wrapper_1 textarea{padding:12px!important;height:192px;line-height:1.5}
#gform_wrapper_1 input::placeholder,#gform_wrapper_1 textarea::placeholder{color:rgba(17,35,55,.65)}
#gform_wrapper_1 input:focus,#gform_wrapper_1 textarea:focus{border-color:#6056d1!important;box-shadow:0 0 0 3px rgba(96,86,209,.18)!important}
#gform_wrapper_1 .gform_footer{margin-top:24px}
#gform_wrapper_1 .gform_button{font-family:'Nunito Sans',Helvetica,Arial,Lucida,sans-serif!important;font-size:14px!important;font-weight:500!important;background:#6056d1!important;border:3px solid #6056d1!important;border-radius:10px!important;padding:10px 30px!important;line-height:14px;height:40px}
@media(max-width:767px){#gform_wrapper_1 .gform_fields{gap:24px!important}#gform_wrapper_1 .gform_button{width:auto}}

/* 13. hero + inner banner: light MP4 video instead of the 52 MB / 0.6 MB GIFs (same animation, same alt text) */
.msm-hero-video{display:block;width:100%;height:auto;aspect-ratio:auto 1920/800;object-fit:cover;background:#f3eef2}
.msm-hero-video img{display:block;width:100%;height:auto}

/* 14. HOMEPAGE: every section = the SAME box width (hero, banners, dark/colour sections included) + even spacing.
   Top-level sections live in .et-l--post > .et_builder_inner_content (header/footer use their own .et-l). */
body.home .et-l--post > .et_builder_inner_content > .et_pb_section{width:var(--msm-gap)!important;max-width:var(--msm-wrap)!important;margin:0 auto!important;padding:56px 0!important;box-sizing:border-box}
body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section > .et_pb_row.et_pb_row,
body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section > .msm-aeo-row{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
/* sections with a background become rounded cards of the same width; content gets inner padding */
body.home .et-l--post > .et_builder_inner_content > .et_pb_section_3,
body.home .et-l--post > .et_builder_inner_content > .et_pb_section_7,
body.home .et-l--post > .et_builder_inner_content > .msm-answer,
body.home .et-l--post > .et_builder_inner_content > .msm-aeo.msm-faq{border-radius:16px;overflow:hidden;padding:56px 48px!important;margin:28px auto!important}
/* hero + promo banner: exactly like the old site = full-bleed edge-to-edge, no padding, no radius
   (hero 1920x800 ratio, max 1600px row like the old Divi row_0; promo banner 1920x500 ratio) */
body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_0,
body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_5{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border-radius:0!important;overflow:visible}
body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_0 > .et_pb_row.et_pb_row{width:100%!important;max-width:1600px!important;margin:0 auto!important;padding:0!important}
body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_5 > .et_pb_row.et_pb_row{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.home #main-content .et_pb_section_0 > .et_pb_row,body.home #main-content .et_pb_section_5 > .et_pb_row{display:flow-root}
body.home #main-content .et_pb_section_0 > .et_pb_row > .et_pb_column,body.home #main-content .et_pb_section_5 > .et_pb_row > .et_pb_column{float:none;width:100%!important;margin:0!important}
body.home .et_pb_section_0 .et_pb_image,body.home .et_pb_section_0 .et_pb_image_wrap,
body.home .et_pb_section_5 .et_pb_image,body.home .et_pb_section_5 .et_pb_image_wrap{display:block;width:100%;margin:0!important}
body.home .et_pb_section_0 video,body.home .et_pb_section_0 .et_pb_image img{width:100%!important;max-width:100%!important;border-radius:0!important;aspect-ratio:1920/800}
body.home .et_pb_section_5 video,body.home .et_pb_section_5 .et_pb_image img{width:100%!important;max-width:100%!important;border-radius:0!important;aspect-ratio:1920/500}
/* the AEO area's own row widths follow the box */
body.home .msm-aeo + .msm-aeo{padding-top:56px!important}
#msm-faq .msm-aeo-row{width:100%!important}

@media (max-width:980px){
  body.home .et-l--post > .et_builder_inner_content > .et_pb_section{padding:40px 0!important}
  body.home .et-l--post > .et_builder_inner_content > .et_pb_section_3,
body.home .et-l--post > .et_builder_inner_content > .et_pb_section_7,
  body.home .et-l--post > .et_builder_inner_content > .msm-answer,
  body.home .et-l--post > .et_builder_inner_content > .msm-aeo.msm-faq{padding:40px 28px!important;margin:20px auto!important}
}
@media (max-width:767px){
  body.home .et-l--post > .et_builder_inner_content > .et_pb_section{padding:30px 0!important}
  body.home .et-l--post > .et_builder_inner_content > .et_pb_section_3,
body.home .et-l--post > .et_builder_inner_content > .et_pb_section_7,
  body.home .et-l--post > .et_builder_inner_content > .msm-answer,
  body.home .et-l--post > .et_builder_inner_content > .msm-aeo.msm-faq{padding:30px 18px!important;margin:16px auto!important;border-radius:12px}
  #msm-faq .msm-aeo-head{border-radius:12px}
}

/* 15. mobile: 2-up grids instead of one huge image per screen (product strip, product images, process steps, stats) */
@media (max-width:767px){
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_4),
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_5),
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_6){display:grid!important;grid-template-columns:1fr 1fr;gap:18px 14px}
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_4) > .et_pb_column,
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_5) > .et_pb_column,
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_6) > .et_pb_column{width:100%!important;margin:0!important;padding:0!important}
  body.home #main-content .et_pb_row::after{display:none}
  body.home #main-content .et_pb_section_3 .et_pb_row > .et_pb_column:first-child{grid-column:1/-1}
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_5) > .et_pb_column:last-child:nth-child(odd){grid-column:1/-1;max-width:50%;justify-self:center}
  body.home #main-content .et_pb_row:has(> .et_pb_column_1_6) .et_pb_text,body.home #main-content .et_pb_row:has(> .et_pb_column_1_6) .et_pb_text_inner{font-size:15px!important}
  body.home #main-content .et_pb_number_counter h3{font-size:16px!important}
  body.home #main-content .et_pb_number_counter .percent{height:44px}
}

/* 16. Inner-page banners: same height as the old site (359px desktop, 244px tablet/mobile), text centred */
body:not(.home) #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_0{height:359px;box-sizing:border-box;padding-top:0!important;padding-bottom:0!important;display:flex;flex-direction:column;justify-content:center}
body:not(.home) #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_0 > .et_pb_row{flex:none}
@media (max-width:980px){body:not(.home) #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_0{height:244px}}

/* 17. FINAL lock: every boxed homepage section (stats, CTA, FAQ, answer, products…) is the SAME fixed width:
   1200px on any screen wider than 1264px, otherwise screen minus 32px each side (16px on mobile). */
html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section:not(.et_pb_section_0):not(.et_pb_section_5):not(.et_pb_section_3):not(.et_pb_section_7),
html body.home #main-content .et-l--post > .et_builder_inner_content > .msm-aeo{width:var(--msm-gap)!important;max-width:var(--msm-wrap)!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}

/* 18. Stats ("Trusted for Premium Linen") + CTA ("GET IN TOUCH"): full width edge-to-edge, no rounded corners; content stays in the 1200px box */
html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_3,
html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_7{width:100%!important;max-width:none!important;border-radius:0!important;margin:0!important;padding:56px 0!important}
html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_3 > .et_pb_row.et_pb_row,
html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_7 > .et_pb_row.et_pb_row{width:var(--msm-gap)!important;max-width:var(--msm-wrap)!important;margin-left:auto!important;margin-right:auto!important}
@media (max-width:980px){html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_3,html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_7{padding:40px 0!important}}
@media (max-width:767px){html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_3,html body.home #main-content .et-l--post > .et_builder_inner_content > .et_pb_section_7{padding:30px 0!important}}

/* 19. Mobile/tablet speed: show content immediately (Divi entrance animations hide text until JS runs -> slow LCP) */
@media (max-width:980px){
  .et_animated,.et_pb_module.et_animated{opacity:1!important;animation:none!important;transform:none!important}
}
