/**
 * Theme: JAB Child (Astra)
 * Author: JAB Web Design
 * Template: astra
 * Version: 1.0.0
 */
@font-face { font-display: swap !important; }

/* =========================
   HEADER
========================= */
#ast-desktop-header .site-branding.ast-site-identity { padding-top: 5px; padding-bottom: 10px; }
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner { background-color: rgba(0, 0, 0, 0.88); backdrop-filter: blur(6px); }
#menu-toggle-close { border: 1px dotted transparent; margin: 0 0 0 auto; padding-left: 24px; }
#ast-mobile-popup .ast-mobile-popup-header { display: flex; justify-content: flex-end; }
#ast-mobile-popup .ahfb-svg-iconset svg { width: 32px; height: 32px; transition: none; }

/* =========================
   Hero
========================= */
.life-luster-hero {
  position: relative;
  overflow: hidden;
}

.life-luster-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  /* Life Luster gradient overlay */
  background: linear-gradient(
    90deg,
    rgba(40, 42, 38, 0.72) 0%,
    rgba(40, 42, 38, 0.55) 35%,
    rgba(95, 112, 86, 0.25) 60%,
    rgba(255, 255, 255, 0.0) 100%
  );
}

/* Ensure content sits above overlay */
.life-luster-hero > * {
  position: relative;
  z-index: 2;
}

/* =========================
   MOBILE MENU – Layout / Pin Meta to Bottom
========================= */
#ast-mobile-popup.ast-mobile-popup-drawer.active, #ast-mobile-popup.ast-mobile-popup-drawer.active .ast-mobile-popup-inner { height: 100vh; }
#ast-mobile-popup.ast-mobile-popup-drawer.active .ast-mobile-popup-inner { display: flex; flex-direction: column; }
#ast-mobile-popup.ast-mobile-popup-drawer.active .ast-mobile-popup-content { display: flex !important; flex-direction: column; flex: 1 1 auto; min-height: 0; }
#ast-mobile-popup .ast-builder-menu-mobile { flex: 0 0 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
#ast-mobile-popup .header-widget-area.header-widget-area-inner { margin-top: auto; padding: 22px 22px max(26px, env(safe-area-inset-bottom)); position: relative; }
#ast-mobile-popup .header-widget-area.header-widget-area-inner::before { content: ""; position: absolute; inset: -40px 0 0 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0)); pointer-events: none; }
#ast-mobile-popup .mobile-menu-meta { position: relative; margin: 0; font-size: 13.5px; opacity: 0.65; letter-spacing: 0.02em; text-align: center; }

/* ==============================
   MOBILE MENU – Links + Spacing
============================== */
#ast-hf-mobile-menu .ast-icon { display: none; }
#ast-hf-mobile-menu li { margin: 14px 0; }
#ast-hf-mobile-menu .menu-link { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(20px, 4.2vw, 25px); font-weight: 500; letter-spacing: 0.02em; color: #ffffff; opacity: 0.82; text-decoration: none; position: relative; transition: color 140ms ease-out, transform 140ms ease-out, opacity 140ms ease-out; }

/* ==============================
   MOBILE MENU – Hover / Active States
============================== */
#ast-hf-mobile-menu .menu-link:hover, #ast-hf-mobile-menu .menu-link:focus-visible { color: var(--ast-global-color-0); transform: translateY(-1px); opacity: 1; outline: none; }
#ast-hf-mobile-menu .current-menu-item > .menu-link, #ast-hf-mobile-menu .current_page_item > .menu-link { color: var(--ast-global-color-0); font-weight: 600; opacity: 1; }

/* ==============================
   MOBILE MENU – Accent Rule
============================== */
#ast-hf-mobile-menu .menu-link::after { content: ""; display: block; width: 0; height: 2px; margin-top: 6px; max-width: 420px; background-color: var(--ast-global-color-0); transition: width 160ms ease-out; }
#ast-hf-mobile-menu .menu-link:hover::after, #ast-hf-mobile-menu .menu-link:focus-visible::after, #ast-hf-mobile-menu .current-menu-item > .menu-link::after, #ast-hf-mobile-menu .current_page_item > .menu-link::after { width: min(62vw, 420px); }
@media screen and (max-width:375px) {
   #ast-mobile-header img.custom-logo { max-width: 180px; width: 100%; }
}

/* =========================
   UTILITIES & LIST LAYOUTS
========================= */
@media (min-width:641px) {
   ul.two-column-list, ol.two-column-list { column-count: 2; }
   ul.three-column-list, ol.three-column-list { column-count: 3; }
   ul.four-column-list, ol.four-column-list { column-count: 4; }
   ul.five-column-list, ol.five-column-list { column-count: 5; }
}
ul.two-column-list, ul.three-column-list, ul.four-column-list, ul.five-column-list, ol.two-column-list, ol.three-column-list, ol.four-column-list, ol.five-column-list { margin: 0; padding-left: 0; list-style-position: outside; column-gap: 2rem; }
ul[class*='-column-list'] li, ol[class*='-column-list'] li { margin-bottom: .5em; break-inside: avoid; }
ul.wp-block-list.two-column-list ul.wp-block-list, ul[class*='-column-list'] ul[class*='-column-list'] { margin-top: 10px; padding-left: 20px; column-gap: .5em; }
.single ul.wp-block-list { padding-left: 30px; }

/* =========================
   TYPOGRAPHY / HEADINGS
========================= */
/* h2, h2.uagb-heading-text { letter-spacing: -.03em; }
h3, h3.uagb-heading-text { letter-spacing: -.04em; } */

@media screen and (max-width:976px) {

}

/* =========================
   BUTTONS
========================= */
@media (min-width:977px) {
   .uagb-buttons-repeater.wp-block-button__link, .uagb-buttons-repeater.ast-outline-button { min-width: 189px; }
}
@media screen and (max-width:767px) {

}

/* =========================
   SOCIAL LINKS (AWD)
========================= */


/* Wrapper */
.awd-social.social-shortcode {
  padding: 1.75rem 0 1.25rem;
}
.awd-social.social-shortcode::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 0 auto 18px;
  background: rgba(0, 0, 0, 0.12);
}
/* List layout */
.awd-social.social-shortcode .social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center; /* default */
}

/* Alignment via shortcode attribute */
.awd-social.align-left .social-list { justify-content: flex-start; }
.awd-social.align-center .social-list { justify-content: center; }
.awd-social.align-right .social-list { justify-content: flex-end; }

/* Link + icon sizing */
.awd-social .awd-social-icons,
.awd-social a.awd-image-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.75;
}

/* SVG size */
.awd-social img.svg-icon {
  width: 30px;
  height: 30px;
  display: block;
}
.awd-social .social-item { margin: 0; padding: 0; }
.awd-social a.awd-image-icon:hover,
.awd-social a.awd-image-icon:focus-visible {
  transform: translateY(-1px);

  opacity: 1;
}

.awd-social a.awd-image-icon {
  transition: transform 140ms ease, opacity 140ms ease;
}

.awd-social a.awd-image-icon:hover,
.awd-social a.awd-image-icon:focus-visible {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* =========================
   GRAVITY FORMS
========================= */
.gform_wrapper { font-family: inherit; max-width: 800px; margin: 0 auto; }
.gform_wrapper.gravity-theme * .gform_required_legend { display: none; }
.gform_wrapper .gfield_label { font-size: 1rem; font-weight: 500; display: block; margin-bottom: .5rem; color: #333; }
#secondary .gform_wrapper .ginput_container_fileupload input { font-size: 14px; }
.gform_wrapper input[type='text'], .gform_wrapper input[type='email'], .gform_wrapper input[type='tel'], .gform_wrapper textarea { font-family: 'Public Sans', sans-serif; font-size: 1rem; width: 100%; min-height: 56px; padding: .75rem 1rem; background: #f9f9f9; border: 1px solid #ccc; border-radius: 0; transition: border-color .3s ease, box-shadow .3s ease; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus { border-color: var(--ast-global-color-0); outline: none; box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25); }
.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li { margin-bottom: .5rem; list-style: none; }
.gform_wrapper input[type='checkbox'], .gform_wrapper input[type='radio'] { position: relative; width: 1.2rem; height: 1.2rem; border: 2px solid #ccc; border-radius: 0; background: #fff; appearance: none; cursor: pointer; transition: background-color .3s ease, border-color .3s ease; }
.gform_wrapper input[type='checkbox']:checked, .gform_wrapper input[type='radio']:checked { border-color: var(--ast-global-color-0); background-color: var(--ast-global-color-0); }
.gform_wrapper input[type='checkbox']:checked::after { content: ''; position: absolute; top: .2rem; left: .4rem; width: .25rem; height: .6rem; transform: rotate(45deg); border: solid #fff; border-width: 0 .2rem .2rem 0; }
.gform_wrapper .gform_footer input[type='submit'] { font-size: 1rem; min-width: 200px; padding: 16px 25px; background: var(--ast-global-color-0); color: #fff; border: none; border-radius: 0; cursor: pointer; transition: background-color .3s ease; }
.gform_wrapper .gform_footer input[type='submit']:hover { background: #000; }

.gform-footer.gform_footer.top_label {
    justify-content: center;
}
.ginput_container.ginput_container_turnstile {
    display: flex;
    justify-content: center;
}
/* =========================
   BLOG
========================= */
h2.entry-title.ast-blog-single-element { text-align: center; }
.ast-blog-single-element.cat-links { text-align: center; margin-bottom: 10px; }
.ast-article-post .post-thumb-img-content img { object-fit: cover; }



/* =========================
   CONTACT INFO SHORTCODE
========================= */
.contact-info.topbar { display: inline-flex; gap: 1.1rem; align-items: center; }
.contact-fax::before { content: "Fax: "; font-weight: 600; }
.contact-info.custom-footer-info { display: flex; flex-direction: column; gap: 0; }
.contact-name.contact-info-item { font-weight: 500; }
.entry-content .contact-info a { color: inherit; }
.entry-content .contact-info a:hover { color: var(--ast-global-color-2); }
@media (max-width:640px) {
   .contact-info.topbar { font-size: 14px; flex-wrap: wrap; row-gap: .25rem; }
}

/* =========================
   FOOTER
========================= */
.site-footer p:empty { display: none; }
.site-footer h3 { margin-bottom: 23px; line-height: 1; }
.site-footer ul.menu li.menu-item:not(:last-child) { padding-bottom: 6px; }
@media screen and (max-width:767px) {
   .hero-meta { justify-content: center; }
}
