/*
Theme Name: Living Life With HS Child
Theme URI: https://livinglifewithhs.co.uk/
Description: Astra child for Homepage Draft v6.3 (code template + GSAP). Free-only.
Author: Living Life With HS C.I.C.
Template: astra
Version: 1.7.120
Text Domain: llwhs-child
*/

/* Full-bleed — Blog Hub + Join + Your Stories + Menu Open Lab + Shop V2 + Toolkit V2 + Benefits DWP V2 + What is HS? V2 + About Us V2 drafts (homepage home-v2.css pattern + WP page-template class) */
.llwhs-blog-hub-v2-template .site-content,
.llwhs-blog-hub-v2-template #content,
.llwhs-blog-hub-v2-template .ast-container,
.llwhs-blog-hub-v2-template #primary,
.llwhs-blog-hub-v2-template .content-area,
.llwhs-blog-hub-v2-template .entry-content,
.llwhs-join-v2-template .site-content,
.llwhs-join-v2-template #content,
.llwhs-join-v2-template .ast-container,
.llwhs-join-v2-template #primary,
.llwhs-join-v2-template .content-area,
.llwhs-join-v2-template .entry-content,
.llwhs-your-stories-v2-template .site-content,
.llwhs-your-stories-v2-template #content,
.llwhs-your-stories-v2-template .ast-container,
.llwhs-your-stories-v2-template #primary,
.llwhs-your-stories-v2-template .content-area,
.llwhs-your-stories-v2-template .entry-content,
.llwhs-menu-open-lab-template .site-content,
.llwhs-menu-open-lab-template #content,
.llwhs-menu-open-lab-template .ast-container,
.llwhs-menu-open-lab-template #primary,
.llwhs-menu-open-lab-template .content-area,
.llwhs-menu-open-lab-template .entry-content,
.llwhs-shop-v2-template .site-content,
.llwhs-shop-v2-template #content,
.llwhs-shop-v2-template .ast-container,
.llwhs-shop-v2-template #primary,
.llwhs-shop-v2-template .content-area,
.llwhs-shop-v2-template .entry-content,
.llwhs-toolkit-v2-template .site-content,
.llwhs-toolkit-v2-template #content,
.llwhs-toolkit-v2-template .ast-container,
.llwhs-toolkit-v2-template #primary,
.llwhs-toolkit-v2-template .content-area,
.llwhs-toolkit-v2-template .entry-content,
.llwhs-benefits-dwp-v2-template .site-content,
.llwhs-benefits-dwp-v2-template #content,
.llwhs-benefits-dwp-v2-template .ast-container,
.llwhs-benefits-dwp-v2-template #primary,
.llwhs-benefits-dwp-v2-template .content-area,
.llwhs-benefits-dwp-v2-template .entry-content,
.llwhs-what-is-hs-v2-template .site-content,
.llwhs-what-is-hs-v2-template #content,
.llwhs-what-is-hs-v2-template .ast-container,
.llwhs-what-is-hs-v2-template #primary,
.llwhs-what-is-hs-v2-template .content-area,
.llwhs-what-is-hs-v2-template .entry-content,
.llwhs-about-us-v2-template .site-content,
.llwhs-about-us-v2-template #content,
.llwhs-about-us-v2-template .ast-container,
.llwhs-about-us-v2-template #primary,
.llwhs-about-us-v2-template .content-area,
.llwhs-about-us-v2-template .entry-content,
.page-template-page-blog-hub-v2-draft-php .site-content,
.page-template-page-blog-hub-v2-draft-php #content,
.page-template-page-blog-hub-v2-draft-php .ast-container,
.page-template-page-blog-hub-v2-draft-php #primary,
.page-template-page-join-community-v2-draft-php .site-content,
.page-template-page-join-community-v2-draft-php #content,
.page-template-page-join-community-v2-draft-php .ast-container,
.page-template-page-join-community-v2-draft-php #primary,
.page-template-page-your-stories-v2-draft-php .site-content,
.page-template-page-your-stories-v2-draft-php #content,
.page-template-page-your-stories-v2-draft-php .ast-container,
.page-template-page-your-stories-v2-draft-php #primary,
.page-template-page-menu-open-lab-php .site-content,
.page-template-page-menu-open-lab-php #content,
.page-template-page-menu-open-lab-php .ast-container,
.page-template-page-menu-open-lab-php #primary,
.page-template-page-shop-v2-draft-php .site-content,
.page-template-page-shop-v2-draft-php #content,
.page-template-page-shop-v2-draft-php .ast-container,
.page-template-page-shop-v2-draft-php #primary,
.page-template-page-toolkit-v2-draft-php .site-content,
.page-template-page-toolkit-v2-draft-php #content,
.page-template-page-toolkit-v2-draft-php .ast-container,
.page-template-page-toolkit-v2-draft-php #primary,
.page-template-page-benefits-dwp-v2-draft-php .site-content,
.page-template-page-benefits-dwp-v2-draft-php #content,
.page-template-page-benefits-dwp-v2-draft-php .ast-container,
.page-template-page-benefits-dwp-v2-draft-php #primary,
.page-template-page-what-is-hs-v2-draft-php .site-content,
.page-template-page-what-is-hs-v2-draft-php #content,
.page-template-page-what-is-hs-v2-draft-php .ast-container,
.page-template-page-what-is-hs-v2-draft-php #primary,
.page-template-page-about-us-v2-draft-php .site-content,
.page-template-page-about-us-v2-draft-php #content,
.page-template-page-about-us-v2-draft-php .ast-container,
.page-template-page-about-us-v2-draft-php #primary,
.page-template-page-about-us-volunteers-draft-php .site-content,
.page-template-page-about-us-volunteers-draft-php #content,
.page-template-page-about-us-volunteers-draft-php .ast-container,
.page-template-page-about-us-volunteers-draft-php #primary {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}



/* 1.7.69 — Bloom Sticky on Woo singular/archive/cart/checkout/account (+ product taxonomies) via site sticky; mailing CTA like Shop hub; Astra header off. Legal/blog/story still CTA-off. */
/* 1.7.68 — Mobile Bloom OPEN FINAL: yellow-ring logo → CTA+X side-by-side → centred 9 links (≤720). Desktop open unchanged.
 */
/* 1.7.67 — Bloom sticky viewport lock (sitewide belt; page CSS + llwhs-site-sticky.css are source of truth)
 * Visitors: top:0. Desktop admin: +32px only when #wpadminbar exists. Mobile ≤782: always top:0 (no cream void).
 * Blog/story singles: Astra #primary top padding zeroed in llwhs-site-sticky.css (was doubling spacer).
 */


/* 1.7.74 — Join cross-sell: compact iframe + peach/purple CTA chip on 9852/9853 (see below).
 * 1.7.73 — Join form pages: hide Astra entry title (belt+suspenders with site-post-title=disabled).
 * 1.7.72 page-id .entry-header alone was insufficient vs cache / Astra header.entry-header rules.
 */
body.page-id-9845 header.entry-header,
body.page-id-9852 header.entry-header,
body.page-id-9853 header.entry-header,
body.page-id-9854 header.entry-header,
body.page-id-9855 header.entry-header,
body.page-id-9845 .entry-header,
body.page-id-9852 .entry-header,
body.page-id-9853 .entry-header,
body.page-id-9854 .entry-header,
body.page-id-9855 .entry-header,
body.page-id-9845 h1.entry-title,
body.page-id-9852 h1.entry-title,
body.page-id-9853 h1.entry-title,
body.page-id-9854 h1.entry-title,
body.page-id-9855 h1.entry-title,
body.page-id-9845 .ast-archive-description,
body.page-id-9852 .ast-archive-description,
body.page-id-9853 .ast-archive-description,
body.page-id-9854 .ast-archive-description,
body.page-id-9855 .ast-archive-description,
body.page-id-9845 .ast-single-entry-banner,
body.page-id-9852 .ast-single-entry-banner,
body.page-id-9853 .ast-single-entry-banner,
body.page-id-9854 .ast-single-entry-banner,
body.page-id-9855 .ast-single-entry-banner {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.llwhs-join-form-page .llwhs-join-form-card > .wp-block-heading:first-child,
.llwhs-join-form-page h1.wp-block-heading,
.llwhs-join-form-page h2.wp-block-heading.llwhs-join-intro-heading {
  text-align: center !important;
  color: #4a3260;
}

.llwhs-join-form-page .srfm-submit-container,
.llwhs-join-form-page .srfm-submit-container .wp-block-button,
.llwhs-join-form-page .srfm-submit-container > div,
.llwhs-join-form-page .srfm-submit-container [style*="text-align"] {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.llwhs-join-form-page .srfm-submit-container .srfm-submit-button,
.llwhs-join-form-page .srfm-submit-container .srfm-btn-frontend,
.llwhs-join-form-page #srfm-submit-btn {
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

/* Google Form embed (Stories / optional Blog) inside cream card */
.llwhs-join-form-page .llwhs-gform-embed-wrap {
  width: 100%;
  margin: 0.5rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.llwhs-join-form-page iframe.llwhs-gform-embed {
  display: block;
  width: 100%;
  min-height: 2200px;
  border: 0;
  background: #fff;
}

/* 1.7.74 — Post-submit cross-sell: compact iframe on mailing-list (9852) + support-group (9853)
 * so confirmation + peach/purple CTA sit in first viewport (scroll inside iframe). */
body.page-id-9852 .llwhs-join-form-page .llwhs-gform-embed-wrap,
body.page-id-9853 .llwhs-join-form-page .llwhs-gform-embed-wrap {
  margin: 0.25rem 0 0;
  max-height: 820px;
}
body.page-id-9852 .llwhs-join-form-page iframe.llwhs-gform-embed,
body.page-id-9853 .llwhs-join-form-page iframe.llwhs-gform-embed {
  height: 820px !important;
  min-height: 820px !important;
  max-height: 820px !important;
}
@media (max-width: 600px) {
  body.page-id-9852 .llwhs-join-form-page .llwhs-gform-embed-wrap,
  body.page-id-9853 .llwhs-join-form-page .llwhs-gform-embed-wrap {
    max-height: 760px;
  }
  body.page-id-9852 .llwhs-join-form-page iframe.llwhs-gform-embed,
  body.page-id-9853 .llwhs-join-form-page iframe.llwhs-gform-embed {
    height: 760px !important;
    min-height: 760px !important;
    max-height: 760px !important;
  }
}

/* Cross-sell chip (peach/purple) — tight under compact iframe */
.llwhs-join-form-page .llwhs-join-xsell-cta,
.llwhs-join-form-page .llwhs-join-wa-cta,
.llwhs-join-form-page .llwhs-join-whatsapp-cta {
  display: block;
  margin: 0.85rem 0 0;
  padding: 0.95rem 1.25rem;
  text-align: center !important;
  color: #4a3260 !important;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  background: linear-gradient(135deg, #FFC9B2 0%, #F3E8FF 55%, #E8D5F5 100%);
  border: 2px solid #6A4883;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(106, 72, 131, 0.22), 0 1px 0 rgba(74, 50, 96, 0.12);
}
.llwhs-join-form-page .llwhs-join-xsell-cta a,
.llwhs-join-form-page .llwhs-join-wa-cta a,
.llwhs-join-form-page .llwhs-join-whatsapp-cta a {
  color: #6A4883 !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.llwhs-join-form-page .llwhs-join-xsell-cta a:hover,
.llwhs-join-form-page .llwhs-join-wa-cta a:hover,
.llwhs-join-form-page .llwhs-join-whatsapp-cta a:hover {
  color: #4a3260 !important;
  filter: brightness(0.95);
}
