/* Store Factory: theme compatibility (Astra). Applies only to pages that contain the FC homepage sections. */
body:has(.fc-hero){background-color:var(--fc-white);overflow-x:clip}
body:has(.fc-hero) .entry-header,
body:has(.fc-hero) .ast-archive-description{display:none}
body:has(.fc-hero) .site-content > .ast-container{max-width:none;padding-left:0;padding-right:0;display:block}
body:has(.fc-hero) #primary{width:100%;max-width:none;margin:0;padding:0}
body:has(.fc-hero) .ast-separate-container .ast-article-single,
body:has(.fc-hero) .ast-separate-container .ast-article-post{background:transparent;padding:0;margin:0;border:0;box-shadow:none}
body:has(.fc-hero) .entry-content{margin:0}
body:has(.fc-hero) .entry-content > .fc-hero,
body:has(.fc-hero) .entry-content > .fc-trust{max-width:none;width:100%;margin-left:0;margin-right:0}

/* Keep brand fonts and colours when the theme sets its own heading style */
html body h1.fc-hero__title,
html body h2.fc-promo__title,
html body h2.fc-section-title{font-family:var(--fc-font-display)!important;font-weight:500!important;color:var(--fc-onyx)!important}
html body h2.fc-promo--new .fc-promo__title,
html body .fc-promo--new h2.fc-promo__title{color:var(--fc-white)!important}

/* Buttons: sentence case, no tracking */
html body .fc-btn .wp-block-button__link{text-transform:none!important;letter-spacing:0!important;font-size:14px!important;font-weight:600!important}

/* Remove the theme's article padding so hero and trust bar run edge to edge */
body:has(.fc-hero) .site-main > article{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}

/* Grid children: ignore the block-gap margins WordPress adds to flow layouts */
body .fc-categories > *,
body .fc-promos > *,
body .fc-trust__inner > *{margin-top:0!important;margin-bottom:0!important}
html body .fc-tile__label a,
html body .fc-tile__label a:hover{text-decoration:none!important}
html body .fc-promo--new .fc-promo__body{max-width:80%}
