/**
 * Theme Name: AWD Child
 * Author: Austin Web & Design
 * Author URI: https://austinwebanddesign.com/
 * Description: Child theme of Astra for AWD customizations.
 * 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: awd-child
 * Template: astra
 */

/*------------------------------------
Typography & Utilities
------------------------------------*/
.screen-reader-text { position: absolute !important; overflow: hidden; clip: rect(0 0 0 0); width: 1px; height: 1px; margin: -1px; padding: 0; white-space: nowrap; border: 0; }

/*------------------------------------
Header
------------------------------------*/
#ast-desktop-header li.desktop-hide.menu-item { position: absolute; left: -9999rem; top: -9999rem; }
.ast-mobile-popup-content .header-widget-area.widget-area { padding-top: 0; }
#menu-toggle-close { border: 1px solid transparent; }
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover svg path { fill: #fff; }
.ast-builder-menu-1 .menu-item.current-menu-item>.menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item>.ast-menu-toggle { color: var(--ast-global-color-0); }

/*------------------------------------
Hero Section
------------------------------------*/
.hero-banner .uagb-heading-text { position: relative; display: inline-block; white-space: nowrap; }
.hero-permian-text h1.uagb-heading-text::before { content: 'Improving Life in The'; position: absolute; top: 8%; left: 19.4%; z-index: 1; font-family: 'Roboto', sans-serif; font-size: 24px; line-height: 1; letter-spacing: 0.25em; text-transform: uppercase; color: #fff; }
.wp-block-uagb-container.hero-banner::after { content: ''; position: absolute; z-index: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 342px; background: linear-gradient(360deg, #040605 20.67%, rgba(4, 6, 5, 0) 100%); }
.wp-block-uagb-advanced-heading.hero-permian::after { content: ''; position: absolute; top: 36%; left: 24.7%; z-index: 1; width: 100%; height: 526px; background: url('/wp-content/uploads/2025/04/permian-strategic-partnership-hero-cut-out.png') no-repeat left top / 83% auto; }
.hero-banner h1.uagb-heading-text { text-shadow: 10px 10px 5px rgba(0, 0, 0, 0.4); }
@media screen and (min-width:1200px) {
  .hero-banner p.uagb-desc-text { position: relative; z-index: 2; padding-left: 95px; text-align: left; line-height: 1; letter-spacing: 0.25em; }
}
@media screen and (min-width:977px) and (max-width:1540px) {
  .home .wp-block-uagb-container.hero-banner  h1.uagb-heading-text { font-size: clamp(6rem, 24vw + 1rem, 24em); }
  .hero-permian-text h1.uagb-heading-text::before { top: 0; }
  #hero-banner > .uagb-container-inner-blocks-wrap { row-gap: 40px; padding-bottom: 75px; }
  .hero-banner p.uagb-desc-text { line-height: 1; letter-spacing: 0.25em; }
}
@media screen and (max-width:976px) {
  .home .wp-block-uagb-container.hero-banner  h1.uagb-heading-text { font-size: clamp(6rem, 24vw + 1rem, 24em); }
  .hero-permian-text h1.uagb-heading-text::before { top: -30px; left: 0; right: 0; text-align: center; font-size: 26px; }
}
@media screen and (max-width:767px) {
  .home .wp-block-uagb-container.hero-banner  h1.uagb-heading-text { font-size: clamp(4rem, 23vw + 1rem, 24em); }
  .hero-permian-text h1.uagb-heading-text::before { top: -30px; left: 0; right: 0; text-align: center; font-size: 22px; }
}
@media screen and (max-width:544px) {
  .home .wp-block-uagb-container.hero-banner  h1.uagb-heading-text { font-size: clamp(4rem, 20vw + 1rem, 14em); }
  .hero-permian-text h1.uagb-heading-text::before { font-size: 20px; letter-spacing: 3px; }
}

/*------------------------------------
Buttons
------------------------------------*/
body a.wp-block-button__link .uagb-button__link::after, a.wp-block-button__link.uagb-text-link::after, .post-content > .read-more a::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 12px; vertical-align: middle; background: url('/wp-content/themes/awd-child/images/arrow-btn.svg') no-repeat center / contain; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); transform: rotate(0deg); /* baseline: no rotation */ transform-origin: center center; }
#primary .spectra-gbs-dark-button1746219525996 .uagb-button__link::after, #primary  .dark-btn .uagb-buttons-repeater.wp-block-button__link::after, #primary  a.wp-block-button__link.uagb-text-link::after { background-image: url('/wp-content/themes/awd-child/images/arrow-btn-dark.svg'); }
body a.wp-block-button__link:hover .uagb-button__link::after, a.wp-block-button__link.uagb-text-link:hover::after, .post-content > .read-more a:hover::after { transform: rotate(45deg); }
@media (min-width:977px) {
  .btn3 .uagb-buttons-repeater.wp-block-button__link { min-width: 180px; }
}

/*------------------------------------
Graphics
------------------------------------*/
.graphic-b1::after, .graphic-b2::after { content: ''; position: absolute; bottom: 0; width: 100px; height: 100px; background: #fff; }
.graphic-b1::after { left: 0; }
.graphic-b2::after { right: 0; }

/*------------------------------------
Focus Areas
------------------------------------*/
.entry-header.focus-area-header { margin: 0; text-align: center; }
.entry-header.focus-area-header h1.entry-title { font-size: 64px; line-height: 1; margin: 0; color: #fff; opacity: 1; }
@media screen and (max-width:976px) {
  .entry-header.focus-area-header h1.entry-title { font-size: 58px; }
}
@media screen and (max-width:768px) {
  .entry-header.focus-area-header h1.entry-title { font-size: 52px; }
}

/*------------------------------------
Post Grids
------------------------------------*/
.uagb-post-grid .uagb-post__image img, .ast-article-post .post-thumb-img-content img { object-fit: cover; }
.wp-block-uagb-post-grid .uagb-post__text.uagb-post-grid-byline { display: flex; }
.uagb-post-pagination-wrap a.page-numbers, .uagb-post-pagination-wrap span.page-numbers.current { padding: 3px 14px; line-height: 1.95; }

/*------------------------------------
Social Links
------------------------------------*/
.awd-social a { font-size: 24px; transition: color 0.4s ease-out; }
.awd-social a:hover { color: var(--ast-global-color-2); }
ul.social-list { display: flex; margin: 0; padding: 0; list-style: none; column-gap: 1.5em; justify-content: flex-start; }

/*------------------------------------
Custom Lists
------------------------------------*/
@media (min-width:641px) {
  .two-column-list { column-count: 2; column-gap: 2em; }
  .three-column-list { column-count: 3; column-gap: 2em; }
  .four-column-list { column-count: 4; column-gap: 2em; }
  .five-column-list { column-count: 5; column-gap: 2em; }
  .six-column-list { column-count: 6; column-gap: 2em; }
  .two-column-list li, .three-column-list li, .four-column-list li, .five-column-list li, .six-column-list li { break-inside: avoid; }
}

/*------------------------------------
Single Posts
------------------------------------*/
.single-post .entry-content h2.wp-block-heading, .single-post .entry-content h3.wp-block-heading, .single-post .entry-content h4.wp-block-heading { margin-top: 10px; margin-bottom: 20px; }
.single-post  h2.wp-block-heading { font-size: 52px; }
.single-post  h3.wp-block-heading { font-size: 42px; }
.single-post  h4.wp-block-heading { font-size: 32px; }

/*------------------------------------
Sidebar Page
------------------------------------*/
#secondary .wp-block-search, body.error404 #page-not-found .wp-block-search { width: 100%; max-width: 100%; font-family: inherit; }
#secondary .wp-block-search__label, body.error404 #page-not-found .wp-block-search__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
#secondary .wp-block-search__inside-wrapper, body.error404 #page-not-found .wp-block-search__inside-wrapper { display: flex; align-items: center; border: 1px solid #000; border-radius: 80px; overflow: hidden; background: #fff; transition: box-shadow 0.3s ease; }
#secondary .wp-block-search__inside-wrapper:focus-within, body.error404 #page-not-found .wp-block-search__inside-wrapper:focus-within { box-shadow: 0 0 0 2px var(--ast-global-color-0); border-color: var(--ast-global-color-0); }
#secondary .wp-block-search__input, body.error404 #page-not-found .wp-block-search__input { flex: 1; padding: 0.75em 1em; font-size: 20px; border: none; outline: none; background: transparent; }
#secondary .wp-block-search__button, body.error404 #page-not-found .wp-block-search__button { padding: 0.75em 1.7em; font-size: 16px; font-weight: 600; color: #fff; background-color: var(--ast-global-color-0); border: none; border-left: 1px solid #ccc; cursor: pointer; transition: background-color 0.3s ease; border-radius: 80px; }
#secondary .wp-block-search__button:hover, body.error404 #page-not-found .wp-block-search__button:hover { background-color: var(--ast-global-color-8); }
#secondary .post-sidebar  .widget.widget_categories { padding-left: 10px; }
.widget_categories li.cat-item a { text-transform: uppercase; letter-spacing: 3px; font-weight: 600; }
#secondary .wp-block-group h2 { letter-spacing: normal; font-size: 2em; }

/*------------------------------------
Gravity Forms (General)
------------------------------------*/
.gform_required_legend { display: none; }
.google-branding p { font-size: 12px; margin: 0; color: #777; }
.gform_wrapper:not(.horizontal-signup_wrapper) form { padding: 30px 25px; border-radius: 12px; background: #f7f7f7; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.gform_wrapper:not(.horizontal-signup_wrapper) .gform_body > .gform_fields.top_label { row-gap: 10px; }
.gform_wrapper:not(.horizontal-signup_wrapper) .gfield_label { font-weight: 600; display: block; margin-bottom: 6px; color: #333; }
.gform_wrapper:not(.horizontal-signup_wrapper) input[type="text"], .gform_wrapper:not(.horizontal-signup_wrapper) input[type="email"], .gform_wrapper:not(.horizontal-signup_wrapper) input[type="tel"], .gform_wrapper:not(.horizontal-signup_wrapper) textarea { font-size: 16px; width: 100%; min-height: 54px; padding: 14px 15px; border: 1px solid #ccc; border-radius: 40px; background: #fff; color: rgba(0, 0, 0, 0.4); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.gform_wrapper:not(.horizontal-signup_wrapper) input:focus, .gform_wrapper:not(.horizontal-signup_wrapper) textarea:focus { border-color: #cb3234; box-shadow: 0 0 0 1px rgba(0, 115, 230, 0.2); outline: none; }
.gform_wrapper:not(.horizontal-signup_wrapper) textarea { min-height: 120px; resize: vertical; }
.gform_wrapper:not(.horizontal-signup_wrapper) .gform_footer .gform_button { font-size: 20px; font-weight: 600; padding: 14px 40px; border: none; border-radius: 999px; background-color: #cb3234; color: #fff; cursor: pointer; transition: background-color 0.3s ease; min-width: 220px; }
.gform_wrapper:not(.horizontal-signup_wrapper) .gform_footer .gform_button:hover, .gform_wrapper:not(.horizontal-signup_wrapper) .gform_footer .gform_button:focus { background-color: #000; }
.gform_wrapper:not(.horizontal-signup_wrapper) .validation_message, .gform_wrapper:not(.horizontal-signup_wrapper) .gform_validation_errors { font-size: 14px; margin-top: 5px; color: #e53935; }
.gform_wrapper.gform-theme.gform-theme--foundation.gform-theme--framework.gform_validation_error .gform_validation_errors { background: #fff; }
.gform_wrapper.gform-theme.gform-theme--foundation.gform-theme--framework.horizontal-signup_wrapper.gform_validation_error input.gform_button.button { position: relative; background: #cb3234; border-radius: 500px; }
.gform_submission_error.hide_summary { letter-spacing: normal; }

/*------------------------------------
Gravity Forms Horizontal Form
------------------------------------*/
.gform_wrapper.horizontal-signup_wrapper .gform_fields.top_label { position: relative; display: flex; flex-wrap: wrap; row-gap: 20px; }
.horizontal-signup_wrapper .gfield.gfield--type-email.email-input.email-field { width: 100%; flex: 0 0 100%; order: 1; }
.horizontal-signup_wrapper input[type="email"] { height: 54px; }
.horizontal-signup_wrapper.gform_wrapper input[type="email"] { font-size: 20px; font-weight: 400; min-height: 54px; padding: 0 178px 0 33px; color: rgba(0, 0, 0, 0.4); box-sizing: border-box; overflow-x: auto; }
.horizontal-signup_wrapper .gfield.gfield--type-submit { order: 3; }
body .gform_wrapper.gform-theme.horizontal-signup_wrapper .gfield.gfield--type-submit .gform-button, body .gform_wrapper.gform-theme.horizontal-signup_wrapper input.gform_button.button { font-size: 20px !important; position: absolute; top: 5px; right: 6px; width: 172px !important; padding: 11px 25px !important;    /* height: 44px !important; */ }
.horizontal-signup_wrapper .gfield.gfield--type-checkbox { padding-left: 30px; order: 1; }
.horizontal-signup_wrapper .gfield.gfield--type-checkbox input { width: 20px; height: 20px; border-width: 1px; border-color: #fff; border-radius: 0; background-color: transparent; }
.horizontal-signup_wrapper input[type="checkbox"] { width: 24px; height: 24px; cursor: pointer; border: 2px solid #fff; border-radius: 4px; background-color: transparent; appearance: none; -webkit-appearance: none; -moz-appearance: none; transition: background-color 0.2s ease; }
.horizontal-signup_wrapper input[type="checkbox"]:checked { background-color: #fff; }
.horizontal-signup_wrapper input[type="checkbox"]::before, .horizontal-signup_wrapper input[type="checkbox"]:checked::before { content: none; }
.horizontal-signup_wrapper.gform_wrapper input[type="email"]:focus, body .gform_wrapper.gform-theme.horizontal-signup_wrapper .gfield.gfield--type-submit .gform-button:focus { outline: none; }

/*------------------------------------
Sign-Up Form — brand alignment + SMS consent disclosure
------------------------------------*/

/* Override Gravity Forms orbital-theme primary color so focus rings and CTAs use PSP red */
.psp-signup-form_wrapper.gform-theme, .psp-signup-form_wrapper[data-form-theme="orbital"].gform-theme { --gf-color-primary: #cb3234; --gf-color-primary-rgb: 203, 50, 52; --gf-color-primary-darker: #000000; --gf-color-primary-lighter: #cb3234; --gf-radius: 999px; }

/* Card wrapper around the form to match the branded vertical form pattern */
.psp-signup-form_wrapper form.psp-signup-form { padding: 30px 25px; border-radius: 12px; background: #f7f7f7; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }

/* Submit button — large red pill matching the Stay Connected CTA */
.psp-signup-form_wrapper .gform_footer .gform_button, .psp-signup-form_wrapper .gform_footer input[type="submit"], .psp-signup-form_wrapper .gform_footer button[type="submit"] { font-size: 20px !important; font-weight: 600 !important; padding: 14px 40px !important; border: none !important; border-radius: 999px !important; background-color: #cb3234 !important; color: #fff !important; cursor: pointer; transition: background-color 0.3s ease; min-width: 220px; }
.psp-signup-form_wrapper .gform_footer .gform_button:hover, .psp-signup-form_wrapper .gform_footer .gform_button:focus, .psp-signup-form_wrapper .gform_footer input[type="submit"]:hover, .psp-signup-form_wrapper .gform_footer input[type="submit"]:focus, .psp-signup-form_wrapper .gform_footer button[type="submit"]:hover, .psp-signup-form_wrapper .gform_footer button[type="submit"]:focus { background-color: #000 !important; }

/* Inputs — ensure rounded pill shape and consistent height, even under orbital theme */
.psp-signup-form_wrapper input[type="text"], .psp-signup-form_wrapper input[type="email"], .psp-signup-form_wrapper input[type="tel"] { font-size: 16px; width: 100%; min-height: 54px; padding: 14px 20px; border: 1px solid #ccc; border-radius: 40px; background: #fff; color: #333; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.psp-signup-form_wrapper input[type="text"]:focus, .psp-signup-form_wrapper input[type="email"]:focus, .psp-signup-form_wrapper input[type="tel"]:focus { border-color: #cb3234; box-shadow: 0 0 0 2px rgba(203, 50, 52, 0.15); outline: none; }

/* Field labels — consistent weight/color */
.psp-signup-form_wrapper .gfield_label, .psp-signup-form_wrapper .gform-field-label { font-weight: 600; color: #333; margin-bottom: 6px; }

/* SMS consent disclosure — small, readable, NOT pre-checked */
.psp-signup-form .psp-sms-consent .gfield_label, .psp-signup-form .psp-sms-consent .gform-field-label { font-weight: 400; }
.psp-signup-form .psp-sms-consent .gfield_consent_label, .psp-signup-form .psp-sms-consent .gfield_checkbox label { font-size: 13px; font-weight: 400; line-height: 1.5; color: #555; }
.psp-signup-form .psp-sms-consent .gfield_consent_label a, .psp-signup-form .psp-sms-consent .gfield_checkbox label a { color: #cb3234; text-decoration: underline; }
.psp-signup-form .psp-sms-consent input[type="checkbox"] { margin-top: 4px; }

/*------------------------------------
Footer
------------------------------------*/
.site-footer .awd-social.social-shortcode::before { content: 'Follow us'; display: inline-block; font-family: 'Roboto', sans-serif; font-size: 20px; font-weight: 500; line-height: 24px; margin-bottom: 33px; text-transform: uppercase; }
.footer-info { display: flex; flex-direction: column; row-gap: 7px; }
.footer-info, .footer-info a { font-size: 18px; transition: color 0.3s ease; }
.footer-info-item { display: flex; align-items: center; column-gap: 1.3em; }
.footer-info-item span { flex: 0 1 20px; max-width: 20px; height: 26px; }
.footer-info-item span > svg path { fill: var(--ast-global-color-2); }
.site-footer p:empty { display: none; }
.contact-numbers { display: flex; flex-direction: column; }
.site-footer .menu { display: flex; flex-direction: column; row-gap: 14px; }
.site-footer .widget-title { letter-spacing: 0px; }
.gform-icon--circle-error:empty::before { content: none; }
@media (min-width:1025px) {
  .ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row { grid-template-columns: 32.5% 16.7% auto; }
}

/* 404 */
.error404 h1.ast-advanced-headers-title { font-size: 5em; }

/*------------------------------------
Media Queries
------------------------------------*/
@media screen and (min-width:1401px) {
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding: 0 .5em; white-space: nowrap; }
  #ast-desktop-header .ast-custom-button-link .ast-custom-button { padding: 12px 30px; }
  #ast-desktop-header .ast-builder-layout-element.ast-header-button-1 { padding-left: 0; }
  #ast-desktop-header  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container { padding-left: 0; padding-right: 0; }
}
@media screen and (min-width:922px) and (max-width:1400px) {
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding: 0 .4em; font-size: 18px; white-space: nowrap; }
  #ast-desktop-header .ast-custom-button-link .ast-custom-button { padding: 12px 25px; }
  #ast-desktop-header .ast-builder-layout-element.ast-header-button-1 { padding-left: 0; }
  #ast-desktop-header  .site-primary-header-wrap.ast-builder-grid-row-container.ast-container { padding-left: 0; padding-right: 0; }
  #ast-desktop-header .ast-builder-layout-element.ast-header-button-1 .ast-custom-button { font-size: 18px; }
}
@media screen and (min-width:977px) and (max-width:1260px) {
  body.home .wp-block-uagb-container.home-members > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container { max-width: 100%; padding: 25px 10px; }
}
@media screen and (max-width:1024px) {
  .uagb-heading-text br { display: none; }
  .wp-block-group.footer-logo-social { align-items: center; }
}
@media screen and (max-width:976px) {
  #primary ul.social-list { justify-content: center; }
}
@media screen and (max-width:767px) {
  .horizontal-signup_wrapper .gfield.gfield--type-checkbox { padding-left: 30px; width: 100%; }
  body .gform_wrapper.gform-theme.horizontal-signup_wrapper #field_submit { width: 100%; }
  body .gform_wrapper.gform-theme.horizontal-signup_wrapper .gfield.gfield--type-submit .gform-button, body .gform_wrapper.gform-theme.horizontal-signup_wrapper input.gform_button.button { position: relative; top: 0; right: unset; margin: 0 auto; width: 100% !important; max-width: 330px; min-height: 52px !important; }
  body .gform_wrapper.gform-theme.horizontal-signup_wrapper .gform-footer.gform_footer.top_label { justify-content: center; }
  .horizontal-signup_wrapper .gfield.gfield--type-checkbox .gfield_checkbox { text-align: center; }
  .horizontal-signup_wrapper .ginput_container.ginput_container_checkbox label { text-align: left; }
  .horizontal-signup_wrapper.gform_wrapper input[type="email"] { padding: 10px 10px 10px 15px; }
  html, body { overflow-x: hidden; }
  .error404 h1.ast-advanced-headers-title { font-size: 3.5em; }
  .ast-separate-container .site-content .ast-single-post-featured-section + article {
    margin-top: 0;
}
}
@media screen and (max-width:640px) {
  #primary .gform_wrapper:not(.horizontal-signup_wrapper) input[type="text"], #primary  .gform_wrapper:not(.horizontal-signup_wrapper) input[type="email"], #primary  .gform_wrapper:not(.horizontal-signup_wrapper) input[type="tel"], #primary  .gform_wrapper:not(.horizontal-signup_wrapper) textarea { min-height: 54px; }
  .single.single-focus-area .nav-links { padding-left: 0; padding-right: 0; }
  [data-aos^="fade"][data-aos*="-right"], [data-aos^="fade"][data-aos*="-left"], .uagb-aos.animate-fade-left, .uagb-aos.animate-fade-right { will-change: transform; transform: translateX(0); contain: layout style; max-width: 100vw }
  ul.two-column-list { margin-left: 0; padding-left: 15px; }
}
@media screen and (max-width:480px) {
  #hero-banner .uagb-buttons__wrap.uagb-buttons-layout-wrap .wp-block-uagb-buttons-child, .focus-btns .uagb-buttons__wrap.uagb-buttons-layout-wrap .wp-block-uagb-buttons-child { width: 100%; max-width: 300px; }
  #hero-banner .wp-block-button__link { padding-left: 10px; padding-right: 10px; }
  .error404 h1.ast-advanced-headers-title { font-size: 3em; }
}
@media screen and (max-width:375px) {
  a.uagb-buttons-repeater.wp-block-button__link { white-space: nowrap; }
  #ast-mobile-header img.custom-logo { max-width: 180px; }
}
