/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra child theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Sticky transparent Astra header with a post-hero state. */
#masthead{position:fixed!important;top:0;left:0;right:0;width:100%;z-index:100}body.admin-bar #masthead{top:32px}#masthead .ast-primary-header-bar{background-color:transparent;transition:background-color 180ms ease,backdrop-filter 180ms ease}#masthead.is-past-hero .ast-primary-header-bar{background-color:rgba(55,75,80,.82)!important;backdrop-filter:blur(3px)}
@media(max-width:921px){body{overflow-x:hidden}#masthead #ast-mobile-header .ast-mobile-header-content{display:block!important;position:fixed;top:0;right:0;bottom:0;width:min(88vw,22.5rem);max-width:100%;margin:0;padding:5.5rem 1.75rem 1.75rem;background:rgba(55,75,80,.98);box-shadow:-10px 0 24px rgba(0,0,0,.16);overflow-y:auto;-webkit-overflow-scrolling:touch;transform:translateX(100%);visibility:hidden;pointer-events:none;transition:transform 180ms ease,visibility 0s linear 180ms}body.ast-main-header-nav-open #masthead #ast-mobile-header .ast-mobile-header-content{transform:translateX(0);visibility:visible;pointer-events:auto;transition-delay:0s}#masthead #ast-mobile-header .ast-mobile-header-content .main-header-menu{display:block}#masthead #ast-mobile-header .ast-mobile-header-content .ast-menu-svg,body.ast-main-header-nav-open #masthead #ast-mobile-header .ast-mobile-header-content .ast-close-svg{display:inline-flex}#masthead #ast-mobile-header .ast-mobile-header-content .ast-close-svg,body.ast-main-header-nav-open #masthead #ast-mobile-header .ast-mobile-header-content .ast-menu-svg{display:none}body.ast-main-header-nav-open{overflow:hidden}}
@media(max-width:782px){body.admin-bar #masthead{top:46px}}@media(prefers-reduced-motion:reduce){#masthead .ast-primary-header-bar,#masthead #ast-mobile-header .ast-mobile-header-content{transition:none}}

@media(max-width:921px){#masthead #ast-mobile-header .ast-mobile-header-content .ast-builder-menu-mobile,#masthead #ast-mobile-header .ast-mobile-header-content .ast-main-header-bar-alignment,#masthead #ast-mobile-header .ast-mobile-header-content .main-header-bar-navigation,#masthead #ast-mobile-header .ast-mobile-header-content .main-navigation,#masthead #ast-mobile-header .ast-mobile-header-content .main-header-menu{background:transparent!important}#masthead #ast-mobile-header .ast-mobile-header-content .menu-link,#masthead #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle{color:#fff!important}}

/* Refined sticky-header proportions and menu surfaces. */
#masthead,#masthead .ast-main-header-wrap{margin:0!important}#masthead .ast-primary-header-bar,#masthead .site-primary-header-wrap{min-height:64px!important}#masthead .site-primary-header-wrap{padding-top:0!important;padding-bottom:0!important}#masthead.is-past-hero .ast-primary-header-bar{background-color:#374b50!important;backdrop-filter:none}
@media(max-width:921px){#masthead #ast-mobile-header .ast-mobile-header-content{display:flex!important;flex-direction:column;justify-content:center;padding:4rem 2rem;background:#374b50!important}#masthead #ast-mobile-header .ast-mobile-header-content *{background-color:transparent!important}#masthead #ast-mobile-header .ast-mobile-header-content .main-header-menu>.menu-item>.menu-link{padding:.85rem 0!important}}
@media(min-width:922px){#masthead #ast-desktop-header .sub-menu{background-color:#374b50!important}#masthead #ast-desktop-header .sub-menu .menu-link{color:#fff!important}}

/* Ensure the populated Trustindex slider is visible on mobile. */
@media (max-width: 921px) {
  .ti-widget.ti-goog[data-trustindex-widget="true"][data-layout-category="slider"] {
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }
}
