/* Life Cure Catalog - site-wide layout (loads on every page, after lifecure-fixes)
 * 1. One content width for header, page sections, product pages, trust strip and footer
 * 2. Navy line between every section
 * 3. Breathing room inside sections
 * 4. Same hero banner size on every page
 */
:root{--lcs-w:1100px;--lcs-pad:24px;--lcs-line:#16324A;--lcs-gap:64px}
@media(max-width:900px){:root{--lcs-pad:20px;--lcs-gap:48px}}
@media(max-width:600px){:root{--lcs-pad:16px;--lcs-gap:40px}}

/* ---------- 1. Alignment: every container shares the same left and right edge ---------- */
header .hostinger-ai-menu .hostinger-ai-menu-wrapper.alignwide,
.lcx .wrap,
.lc-wrap,
.lcf-trust__inner,
.lcf-footer__inner{
  width:100% !important;
  max-width:calc(var(--lcs-w) + 2 * var(--lcs-pad)) !important;
  margin-left:auto !important;margin-right:auto !important;
  padding-left:var(--lcs-pad) !important;padding-right:var(--lcs-pad) !important;
  box-sizing:border-box !important}
/* header bar spans the page; its inner row is the aligned container */
header .hostinger-ai-menu.has-global-padding{padding-left:0 !important;padding-right:0 !important}
/* page wrappers must not add their own side padding on top */
.entry-content.has-global-padding{padding-left:0 !important;padding-right:0 !important}
.entry-content > .alignfull{margin-left:0 !important;margin-right:0 !important;max-width:none !important;width:100% !important}
.lcx{width:100%}
/* product pages: same top / bottom spacing as other pages */
.lc-wrap{padding-top:40px !important;padding-bottom:var(--lcs-gap) !important}

/* header: logo and menu on one centre line */
.hostinger-ai-menu-wrapper{display:flex !important;align-items:center !important;justify-content:space-between !important}
.hostinger-ai-menu-wrapper > *{align-self:center !important}
:root{--lcf-logo-down:0px}
header .wp-block-site-logo,header .custom-logo-link,.hostinger-ai-menu-wrapper > :first-child{top:0 !important}

/* two-column blocks: columns line up at the top, images fill their column */
.lcx .two{align-items:center;gap:40px}
.lcx .two img{max-width:100%}
/* centred section headings stay centred, others start on the shared left edge */
.lcx .wrap > h2,.lcx .wrap > h1{margin-top:0}

/* ---------- 2. Navy line between every section ---------- */
.lcx > section,
.lcx > .hero,
.lcx > .hb,
.lcx > picture,
.lcx > img,
.lc-hb,
section.lcf-trust.lcf-trust{border-bottom:3px solid var(--lcs-line) !important}
.lcx > picture,.lcx > .hb{display:block}
/* the last section sits on the navy footer, so it needs no line */
.lcx > section:last-child{border-bottom:0 !important}
/* the old single line around the whole page is replaced by the lines above */
.entry-content > .wp-block-group:has(.lcx){border-bottom:0 !important}

/* ---------- 3. Gap inside every section ---------- */
.lcx section.s{padding-top:var(--lcs-gap) !important;padding-bottom:var(--lcs-gap) !important}
.lcx .hero{padding-top:var(--lcs-gap) !important;padding-bottom:var(--lcs-gap) !important}
.lcx section.s h2{margin-bottom:.75em}
.lcx section.s .prose{margin-bottom:28px}
.lcx .cat2{gap:24px !important}
.lcx .iconset{gap:36px 24px !important}

/* trust strip (Own brand / Third party / Private label / Bulk supply) */
section.lcf-trust.lcf-trust{padding:36px 0 !important;margin:0 !important;background:transparent !important}
.lcf-trust__inner{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:20px !important}
.lcf-stat{align-items:flex-start !important;min-height:0 !important;height:100%;box-sizing:border-box}
.lcf-stat__mark{margin-top:2px}
@media(max-width:1000px){.lcf-trust__inner{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:560px){.lcf-trust__inner{grid-template-columns:1fr !important}}

/* ---------- 4. Hero banners: every page uses the homepage banner size ----------
 * Homepage banner box: 2.5 : 1 on computers, 1.5 : 1 on phones, image fills it from the left.
 */
.lcx > .hb,.lcx > picture,.lcx > img[src*="blog-header"],.lc-hb{display:block;width:100%;aspect-ratio:2.5 !important;overflow:hidden;margin:0 !important;background:var(--mint,#E3F0EA)}
.lcx > .hb picture,.lc-hb picture{display:block;height:100%}
.lcx > .hb img,.lcx > picture img,.lc-hb img,.lcx > img[src*="blog-header"]{
  display:block !important;width:100% !important;height:100% !important;max-width:100% !important;
  object-fit:cover !important;object-position:left center !important;border-radius:0 !important;margin:0 !important}
.lcx > img[src*="blog-header"]{height:auto !important}
@media(max-width:700px){.lcx > .hb,.lcx > picture,.lcx > img[src*="blog-header"],.lc-hb{aspect-ratio:1.5 !important}}
/* the old Products banner (drawn inside the page box) is replaced by the full-width one above */
.post-type-archive-lc_product .lc-wrap::before{display:none !important;content:none !important}

/* ---------- Contact page: enquiry form box sits inside a page column, not a full container ---------- */
.lcx .lc-wrap{max-width:none !important;width:auto !important;margin:0 !important;padding:0 !important}
.lcx .lc-wrap .lc-enquiry{margin-top:0}
.lcx .two > div > h1:first-child{margin-top:0}
