/*
Theme Name: Theresa Hupp Astra Child
Template: astra
Text Domain: theresa-hupp-astra-child
Description: Astra child theme preserving the Theresa Hupp Author masthead, navigation, SearchWP form, and full-width footer.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/

/* Load Astra's stylesheet first; this file contains site-specific styling. */
.th-site-header{width:100%;margin:0;font-family:Poppins,sans-serif;position:relative;z-index:50}
.th-masthead{width:100%;min-height:150px;display:flex;align-items:center;justify-content:center;padding:8px 24px;box-sizing:border-box;background:#fff url('/wp-content/uploads/2024/08/lace-347489_640.jpg') center center/cover no-repeat}
.th-masthead__link{display:block;width:min(92%,1040px);text-align:center;line-height:0}
.th-masthead__logo{display:block;width:100%;height:auto;max-height:190px;object-fit:contain;margin:0 auto}
.th-navigation-bar{width:100%;background:#f4f4f4;margin-top:-1px}
.th-navigation-bar__inner{max-width:1440px;min-height:58px;margin:0 auto;padding:0 3%;display:flex;align-items:center;justify-content:space-between;gap:24px;box-sizing:border-box}
.th-primary-navigation{flex:1 1 auto;min-width:0}
.th-primary-menu,.th-primary-menu ul{list-style:none;margin:0;padding:0}
.th-primary-menu{display:flex;align-items:stretch;justify-content:flex-start;gap:0}
.th-primary-menu>li{position:relative;margin:0;padding:0}
.th-primary-menu a{display:block;padding:18px 13px;color:#3e3e3e;font-size:15px;font-weight:400;line-height:1.35;text-decoration:none;white-space:nowrap}
.th-primary-menu>li:hover>a,.th-primary-menu>li:focus-within>a,.th-primary-menu>li.current-menu-item>a,.th-primary-menu>li.current_page_item>a{color:#d62958}
.th-primary-menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:100;min-width:220px;background:#fff;box-shadow:0 5px 16px rgba(0,0,0,.16);padding:7px 0}
.th-primary-menu li:hover>.sub-menu,.th-primary-menu li:focus-within>.sub-menu{display:block}
.th-primary-menu .sub-menu a{padding:10px 16px;white-space:normal;font-size:14px}
.th-primary-menu .sub-menu a:hover,.th-primary-menu .sub-menu a:focus{background:#f4f4f4;color:#d62958}
.th-header-search{flex:0 0 220px;max-width:25%}
.th-header-search form{margin:0}
.th-header-search input[type=search],.th-header-search input[type=text]{max-width:100%}
.th-desktop-navigation{display:block;flex:1 1 auto;min-width:0}
.th-mobile-menu{display:none}
.th-menu-toggle-label{display:none}
.th-menu-icon,.th-menu-icon:before,.th-menu-icon:after{display:block;width:22px;height:2px;background:currentColor;position:relative}
.th-menu-icon:before,.th-menu-icon:after{content:"";position:absolute;left:0}
.th-menu-icon:before{top:-7px}.th-menu-icon:after{top:7px}
.site-footer-native.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);background:#54595f;color:#efefd4;box-sizing:border-box;padding:20px 24px;font-family:Poppins,sans-serif;font-size:14px;line-height:1.5}
.site-footer-native__inner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 28px;max-width:1200px;margin:0 auto;text-align:center}
.site-footer-native__inner p{margin:0}.site-footer-native__copyright{font-size:15px}
.site-footer-native__privacy a,.site-footer-native__privacy a:visited{color:#efefd4;text-decoration:underline;text-underline-offset:2px}
.site-footer-native__privacy a:hover,.site-footer-native__privacy a:focus{color:#fff}
/* Astra supplies all page and post templates; only its default header/footer are suppressed. */
#masthead,#colophon{display:none!important}
@media(min-width:901px){.th-mobile-menu:not([open])>.th-menu-content{display:block}}
@media(max-width:1100px){.th-navigation-bar__inner{padding-left:2%;padding-right:2%;gap:12px}.th-primary-menu a{padding-left:8px;padding-right:8px;font-size:14px}.th-header-search{flex-basis:190px}}
@media(max-width:900px){
.th-masthead{min-height:0;padding:10px 14px}.th-masthead__link{width:min(96%,850px)}.th-masthead__logo{max-height:150px}
.th-navigation-bar__inner{min-height:56px;padding:0 18px;display:flex;flex-wrap:wrap;gap:0}
.th-desktop-navigation{display:none}.th-mobile-menu{display:block;flex:1 1 auto;min-width:0}
.th-mobile-menu>.th-menu-toggle-label{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 8px;color:#3e3e3e;font-size:15px;cursor:pointer;list-style:none}
.th-mobile-menu>.th-menu-toggle-label::-webkit-details-marker{display:none}
.th-mobile-menu:not([open])>.th-menu-content{display:none}
.th-menu-content{position:static;background:transparent;box-shadow:none;padding:0 0 12px}
.th-primary-menu{display:block}.th-primary-menu a{padding:11px 8px;white-space:normal}
.th-mobile-menu .th-primary-menu>li,.th-mobile-menu .th-primary-menu .sub-menu>li{display:flex;flex-wrap:wrap;align-items:center}
.th-mobile-menu .th-primary-menu>li>a,.th-mobile-menu .th-primary-menu .sub-menu>li>a{flex:1 1 auto;min-width:0}
.th-mobile-menu .th-primary-menu .sub-menu{display:none;position:static;flex:0 0 100%;width:100%;box-shadow:none;background:transparent;padding:0 0 4px 16px}
.th-mobile-menu .th-primary-menu li.th-submenu-open>.sub-menu{display:block}
.th-mobile-menu .th-primary-menu .sub-menu[hidden]{display:none!important}
.th-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;margin:0;padding:0;border:0;background:transparent;color:#3e3e3e;cursor:pointer}
.th-submenu-toggle span{display:block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s ease}
.th-submenu-toggle[aria-expanded=true] span{transform:rotate(225deg)}
.th-primary-menu .sub-menu a{font-size:14px;padding:8px}
.th-header-search{flex:0 1 230px;max-width:55%;padding:8px 0}
}
@media(max-width:520px){.th-masthead__link{width:100%}.th-masthead__logo{max-height:110px}.th-navigation-bar__inner{padding:0 12px}.th-header-search{flex-basis:58%;max-width:58%}}

/* Widen the desktop single-post layout; keep the mobile layout unchanged. */
@media(min-width:922px){
  body.single-post.ast-separate-container .ast-container{width:calc(100% - 60px)!important;max-width:1500px!important}
  body.single-post.ast-separate-container .ast-article-single{width:100%!important;max-width:none!important}
  body.single-post .elementor-location-single .e-con-boxed>.e-con-inner{width:100%!important;max-width:100%!important}
}

/* The old Elementor Theme Builder header/footer are still assigned in WordPress.
   Suppress those locations in this Astra preview to prevent duplicate chrome. */
.elementor-location-header,
.elementor-location-footer{display:none!important}
