/* LoveLifeCalc Redesign — Astra theme layer (loads only when Astra is active). */

/* Astra global palette → purple Nocturne. Astra colors headings, text, links, buttons and borders from these. */
.llc-rd-global.llc-astra{
  --ast-global-color-0:#b48cff; /* primary / links / buttons */
  --ast-global-color-1:#c6a6ff; /* hover */
  --ast-global-color-2:#e9e9ed; /* headings */
  --ast-global-color-3:#cfd3e5; /* body text */
  --ast-global-color-4:#231e2e; /* light surface */
  --ast-global-color-5:#17141f; /* page background */
  --ast-global-color-6:#e9e9ed;
  --ast-global-color-7:#3f424d; /* borders */
  --ast-global-color-8:#f3f5fe;
  --ast-border-color:#3f424d;
}
.llc-rd-global.llc-astra,.llc-rd-global.ast-separate-container,.llc-rd-global.ast-plain-container,.llc-rd-global.ast-page-builder-template{background-color:var(--llc-bg)!important}

/* Hide Astra header + footer pieces (fallback if markup removal didn't apply) */
.llc-rd-header.llc-astra #masthead,.llc-rd-header.llc-astra .site-header:not(.llc-header),.llc-rd-header.llc-astra #ast-desktop-header,.llc-rd-header.llc-astra #ast-mobile-header,.llc-rd-header.llc-astra .ast-above-header-wrap,.llc-rd-header.llc-astra .ast-main-header-wrap,.llc-rd-header.llc-astra .ast-below-header-wrap,.llc-rd-header.llc-astra #ast-mobile-popup-wrapper,.llc-rd-header.llc-astra .ast-mobile-popup-drawer,.llc-rd-header.llc-astra .ast-search-box.full-screen{display:none!important}
.llc-rd-footer.llc-astra #colophon,.llc-rd-footer.llc-astra .site-footer:not(.llc-footer),.llc-rd-footer.llc-astra .site-above-footer-wrap,.llc-rd-footer.llc-astra .site-primary-footer-wrap,.llc-rd-footer.llc-astra .site-below-footer-wrap{display:none!important}

/* Astra "Scroll to Top" button, restyled instead of hidden */
.llc-astra #ast-scroll-top{background:transparent!important;border:1px solid var(--llc-accent)!important;border-radius:var(--llc-r)!important;color:var(--llc-a200)!important;box-shadow:0 0 24px -8px var(--llc-accent)}
.llc-astra #ast-scroll-top:hover{background:color-mix(in srgb,var(--llc-accent) 14%,transparent)!important}

/* Containers: separate/boxed layouts go transparent on the dark ground */
.llc-rd-global.llc-astra .site-content,.llc-rd-global.llc-astra .ast-container,.llc-rd-global.ast-separate-container .ast-article-single:not(.ast-related-post),.llc-rd-global.ast-separate-container .ast-article-post,.llc-rd-global.ast-separate-container .comments-area,.llc-rd-global.ast-separate-container .ast-author-box,.llc-rd-global.ast-separate-container .ast-woocommerce-container,.llc-rd-global.ast-separate-container #primary,.llc-rd-global.ast-separate-container .site-main>.ast-row,.llc-rd-global.llc-astra .ast-archive-description,.llc-rd-global.llc-astra .ast-single-related-posts-container,.llc-rd-global.llc-astra .widget-area .widget{background-color:transparent!important;box-shadow:none!important}
.llc-rd-global.ast-separate-container .ast-article-single:not(.ast-related-post),.llc-rd-global.ast-separate-container .ast-article-post{padding-left:0;padding-right:0}

/* Titles, breadcrumbs, meta */
.llc-rd-global.llc-astra .entry-header .entry-title,.llc-rd-global.llc-astra .ast-archive-title{font-family:var(--llc-font)!important;font-weight:500!important;letter-spacing:-.035em;color:var(--llc-n100)!important}
.llc-rd-global.llc-astra .ast-breadcrumbs-wrapper,.llc-rd-global.llc-astra .ast-breadcrumbs-wrapper a,.llc-rd-global.llc-astra .entry-meta,.llc-rd-global.llc-astra .entry-meta a{color:var(--llc-n400)!important;font-size:13px}
.llc-rd-global.llc-astra .ast-breadcrumbs-wrapper a:hover{color:var(--llc-a300)!important}

/* Astra buttons and search */
.llc-rd-global.llc-astra .ast-button,.llc-rd-global.llc-astra .ast-custom-button,.llc-rd-global.llc-astra .wp-block-button .wp-block-button__link,.llc-rd-global.llc-astra .entry-content input[type=submit],.llc-rd-global.llc-astra .entry-content input[type=button]{background:transparent!important;border:1px solid var(--llc-accent)!important;border-radius:var(--llc-r)!important;color:var(--llc-a200)!important}
.llc-rd-global.llc-astra .search-field,.llc-rd-global.llc-astra .ast-search-menu-icon .search-field{background:var(--llc-bg)!important;color:var(--llc-text)!important;border:1px solid var(--llc-n700)!important;border-radius:var(--llc-r)!important}

/* Sidebar widgets */
.llc-rd-global.llc-astra .widget-title,.llc-rd-global.llc-astra .widget h2{color:var(--llc-text)!important;font-family:var(--llc-font)!important;font-weight:500!important}
.llc-rd-global.llc-astra .widget a{color:var(--llc-n300)}
.llc-rd-global.llc-astra .widget a:hover{color:var(--llc-a200)}

/* Pages using [llc_home]: edge-to-edge, no Astra padding or title gap */
.llc-has-home.llc-astra .site-content>.ast-container{max-width:none!important;padding:0!important;display:block}
.llc-has-home.llc-astra #primary,.llc-has-home.llc-astra .site-main,.llc-has-home.llc-astra article{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
.llc-has-home.llc-astra #secondary{display:none!important}
.llc-has-home.llc-astra .entry-header{display:none!important}
.llc-has-home.llc-astra .entry-content>.llc-full,.llc-has-home.llc-astra .entry-content>p:empty{margin:0!important}
.llc-has-home.llc-astra .llc-full{width:100%;max-width:none;margin-left:0}

/* Stop the 100vw breakout from causing a sideways scrollbar elsewhere */
.llc-astra #page{overflow-x:clip}

/* Admin bar offset for the sticky header on mobile */
@media (max-width:782px){.admin-bar .llc-header{top:46px}}
@media (max-width:600px){.admin-bar .llc-header{top:0}}
