/**
Theme Name: AWD Child
Author: Austin Web & Design
Author URI: https://austinwebanddesign.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful 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: awd-child
Template: astra
*/

/* ===========================
   Header
=========================== */

ul#ast-hf-menu-1 .menu-item:last-child a.menu-link { padding-right: 42px; }
ul#ast-hf-menu-2 .menu-item:first-child a.menu-link { padding-left: 60px; }
.ast-desktop .main-header-menu > .menu-item:not(:last-child)::after { content: ''; background-image: url('/wp-content/themes/awd-child/images/menu-paws.svg'); background-repeat: no-repeat; background-size: contain; position: absolute; display: block; width: 10px; height: 10px; right: -5px; }
.ast-desktop .main-header-bar-navigation::before { content: ''; display: block; height: 1px; background-image: repeating-linear-gradient(to right, #4F3230 0 1px, transparent 1px 3px); }
.ast-desktop .main-header-bar-navigation::after { content: ''; display: block; height: 1px; background-image: repeating-linear-gradient(to right, #4F3230 0 1px, transparent 1px 3px); }
.ast-desktop .ast-site-identity { padding-top: 16px; }
.ast-desktop .ast-builder-grid-row.ast-grid-center-col-layout { gap: 10px; }
#ast-desktop-header .ast-icon.icon-arrow { display: none; }
.ast-desktop.ast-theme-transparent-header .current_page_parent .current_page_item a.menu-link { background: var(--ast-global-color-0) !important; }
#ast-desktop-header .site-primary-header-wrap { padding-left: 0; padding-right: 0; }
#menu-toggle-close { border: 1px transparent; }
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle { height: 60px; }
@media screen and (max-width:1560px) {
   ul#ast-hf-menu-1 .menu-item:last-child a.menu-link { padding-right: 5px; }
   #ast-desktop-header .custom-logo-link img { max-width: 220px; width: 220px; }
   #ast-desktop-header .main-header-menu > .menu-item > .menu-link { font-size: 17px; }
}

/* ===========================
   General Edits
=========================== */
.wp-block-uagb-container.paws-up, .wp-block-uagb-container.paws-down { position: relative; }
.wp-block-uagb-container.paws-up::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: url('/wp-content/themes/awd-child/images/paws-up.png'); z-index: 0; background-repeat: no-repeat; background-size: auto; background-position: 0 7%; }
.wp-block-uagb-container.paws-down::after { content: ''; position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; background: url('/wp-content/themes/awd-child/images/paws-down.png'); z-index: 0; background-repeat: no-repeat; background-size: auto; background-position: 100% 102%; }

/* ===========================
   Utility + List Layouts
=========================== */
@media screen and (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; }

/* Pet Names */
.white-icon .wp-block-button__link .uagb-button__link::before { background-image: url('/wp-content/themes/awd-child/images/btn-paw-hover.svg'); }

/* embeds */

/* Force portrait for YouTube Shorts embeds */
.wp-block-embed.is-type-video.wp-embed-aspect-9-16.wp-has-aspect-ratio { max-width: 360px; margin-inline: auto; }
.wp-block-embed.is-type-video.wp-embed-aspect-9-16.wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; aspect-ratio: 9 / 16; height: auto; }
.wp-block-embed.is-type-video.wp-embed-aspect-9-16.wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: none !important; display: none !important; }
.wp-block-embed.is-type-video.wp-embed-aspect-9-16.wp-has-aspect-ratio .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* gallery */
#primary .spectra-image-gallery__control-lightbox--main .swiper-slide img { max-height: 86%; max-width: 90%; }

/* ===========================
   Buttons
=========================== */
.wp-block-button__link .uagb-button__link::before, .ast-outline-button .uagb-button__link::before { content: ''; height: 16px; width: 16px; display: inline-block; margin-right: 8px; background-repeat: no-repeat; background-size: contain; background-position: center; transition: transform 0.3s ease, opacity 0.3s ease, background-image 0.3s ease; opacity: 1; }
.wp-block-button__link .uagb-button__link::before { background-image: url('/wp-content/themes/awd-child/images/btn-paw.svg'); }
.ast-outline-button .uagb-button__link::before { background-image: url('/wp-content/themes/awd-child/images/btn-paw.svg'); }
.wp-block-button__link:hover .uagb-button__link::before, .ast-outline-button:hover .uagb-button__link::before { background-image: url('/wp-content/themes/awd-child/images/btn-paw-hover.svg'); transform: scale(1.3) rotate(8deg); opacity: 1; }
.wp-block-uagb-buttons .uagb-button__wrapper { position: relative; display: inline-block; z-index: 0; }
.wp-block-uagb-buttons .uagb-button__wrapper > .uagb-buttons-repeater, .wp-block-uagb-buttons .uagb-button__wrapper > .uagb-buttons-repeater .uagb-button__link { position: relative; z-index: 1; }
.wp-block-uagb-buttons .uagb-button__wrapper::after { content: ""; position: absolute; inset: 0; transform: translate(5px, 5px); background: #4F3230; border-radius: inherit; z-index: -1; pointer-events: none; transition: transform 0.2s ease; }
.wp-block-uagb-buttons .uagb-button__wrapper:hover::after { transform: translate(0, 0); }
.uagb-button__wrapper:has(> .ast-outline-button)::after { background: #3A5F40; }
@media screen and (min-width:977px) {
   .uagb-buttons-repeater.wp-block-button__link, .uagb-buttons-repeater.ast-outline-button { min-width: 200px; }
}
@media screen and (max-width:560px) {
   .wp-block-uagb-buttons .uagb-button__wrapper > .uagb-buttons-repeater, .wp-block-uagb-buttons .uagb-button__wrapper > .uagb-buttons-repeater .uagb-button__link { min-width: 180px; }
}

/* ===========================
   AWD Social Links
=========================== */
.awd-social.social-shortcode { display: flex; justify-content: center; flex-wrap: wrap; padding: 1rem 0; }
.awd-social.align-left { justify-content: flex-start; text-align: left; }
.awd-social.align-center { justify-content: center; text-align: center; }
.awd-social.align-right { justify-content: flex-end; text-align: right; }
.awd-social .social-list { display: flex; flex-wrap: wrap; gap: 1.66rem; list-style: none; margin: 0; padding: 0; }
.awd-social .social-item { display: inline-flex; }
.awd-social .awd-social-icons { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; font-size: 38px; border-radius: 0; background-color: transparent; color: var(--ast-global-color-0); text-decoration: none; transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.awd-social .awd-social-icons:hover { transform: scale(1.1); background-color: transparent; color: var(--ast-global-color-0); }
.awd-social .awd-social-icons i { font-size: 1.25rem; line-height: 1; }
.awd-social .awd-image-icon img { width: 24px; height: 24px; object-fit: contain; display: block; }
.awd-social.social-shortcode.footer-social { padding: 0; }

/* ===========================
   Gravity Forms Styling
=========================== */
.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: 0.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: 0.75rem 1rem; background-color: #f9f9f9; border: 1px solid #ccc; border-radius: 0; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus { border-color: var(--ast-global-color-0); outline: none; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li { margin-bottom: 0.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-color: #fff; appearance: none; cursor: pointer; transition: background-color 0.3s ease, border-color 0.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: 0.2rem; left: 0.4rem; width: 0.25rem; height: 0.6rem; transform: rotate(45deg); border: solid #fff; border-width: 0 0.2rem 0.2rem 0; }
.gform_wrapper .gform_footer input[type='submit'] { font-size: 1rem; min-width: 200px; padding: 23px 25px; background-color: var(--ast-global-color-0); color: #fff; border: none; border-radius: 0; cursor: pointer; transition: background-color 0.3s ease; color: var(--ast-global-color-8); font-weight: 400; font-size: 18px; }
.gform_wrapper .gform_footer input[type='submit']:hover { background-color: #000; color: var(--ast-global-color-7); }

/* Gravity Forms submit styled like UAG buttons */
.gform_wrapper .gf-uagb { position: relative; display: inline-block; z-index: 0; }
.gform_wrapper .gf-uagb::after { content: ""; position: absolute; inset: 0; transform: translate(5px, 5px); background: #4F3230; border-radius: inherit; z-index: -1; pointer-events: none; transition: transform .2s ease; height: 90%; }

/* Optional alt color when using an outline variant on the input */
.gform_wrapper .gf-uagb:has(> .gform_footer .ast-outline-button)::after, .gform_wrapper .gf-uagb:has(> input.ast-outline-button)::after { background: #3A5F40; }
.gform_wrapper .gf-uagb:hover::after { transform: translate(0, 0); }

/* Paw on the submit (input can't use ::before, so use a bg image) */
.gform_wrapper .gf-uagb input.gform_button,              /* legacy class */
.gform_wrapper .gf-uagb input[type="submit"] { position: relative; z-index: 1; background-image: url('/wp-content/themes/awd-child/images/btn-paw.svg'); background-repeat: no-repeat; background-position: 50px 50%; background-size: 16px 16px; padding-left: 52px; /* room for the paw */ min-width: 200px; border-radius: 0; transition: background-color .3s ease, color .3s ease, transform .2s ease; }

/* Hover swap to the pink paw (matches your UAG hover) */
.gform_wrapper .gf-uagb input.gform_button:hover, .gform_wrapper .gf-uagb input[type="submit"]:hover { background-image: url('/wp-content/themes/awd-child/images/btn-paw-hover.svg'); }

/* Keep your existing colors/typography */
.gform_wrapper .gform_footer input[type='submit'] { font-size: 18px; font-weight: 400; padding: 23px 25px; color: var(--ast-global-color-8); background-color: var(--ast-global-color-0); border: none; border-radius: 0; cursor: pointer; }
.gform_wrapper .gform_footer input[type='submit']:hover { background-color: #000; color: var(--ast-global-color-7); }

/* ===========================
   Footer
=========================== */
.contact-info.custom-footer-info.has-icons { display: flex; flex-wrap: wrap; gap: 4px; }
.contact-info.custom-footer-info .contact-social .awd-social, .contact-info.contact-page .awd-social { padding: 0; }
.contact-info.custom-footer-info .contact-social .social-list { display: flex; flex-wrap: wrap; column-gap: 2rem; row-gap: .5rem; list-style: none; margin: 0; padding: 0; }
.contact-info.custom-footer-info .contact-social .social-item { display: flex; }
.contact-info.custom-footer-info .contact-social .social-list a { display: inline-flex; align-items: center; gap: .6rem; line-height: 1.4; text-decoration: none; color: inherit; font-size: inherit; }
.contact-info.custom-footer-info .contact-social .awd-social .awd-social-icons, .contact-info.contact-page .contact-social .awd-social .awd-social-icons { width: auto; height: auto; font-size: inherit; background: none; border-radius: 0; padding: 0; color: inherit; transform: scale(1); }
.ci-text { margin-left: 7px; }
.contact-info.custom-footer-info .contact-social .social-list i, .contact-info.custom-footer-info .contact-social .social-list img.svg-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; transform: translateY(1px); }
.contact-info.custom-footer-info .contact-social .ci-text { white-space: nowrap; }
.contact-social.contact-info-item path { fill: #FF6DC3; }
.contact-info.custom-footer-info .awd-social .awd-social-icons:hover { transform: scale(1); background-color: transparent; color: var(--ast-global-color-0); }
.contact-info.contact-page { font-size: 20px; line-height: 36px; }
.contact-info.contact-page .ci-text { margin-left: 7px; color: var(--ast-global-color-2); }
.contact-info.contact-page .ci-text:hover, .contact-info.contact-page .ci-text:focus { color: var(--ast-global-color-1); }
@media screen and (min-width:1561px) {
   .contact-info.custom-footer-info.has-icons { max-width: 490px; }
}

/* ===========================
   Media Queries
=========================== */
@media screen and (max-width:1300px) {
   .wp-block-uagb-container.paws-up::before { background-position: 0 16%; }
}
@media screen and (max-width:1260px) {
   .contact-info.custom-footer-info.has-icons { flex-direction: column; text-align: center; justify-content: center; gap: 10px; margin: 45px auto 30px; }
   .contact-info.custom-footer-info .contact-social .awd-social { justify-content: center; }
}
@media screen and (max-width:976px) {
   figure.wp-block-table.is-style-regular.has-medium-font-size { font-size: 16px !important; line-height: 1.5; }
   .wp-block-uagb-container.paws-up::before { background-position: 0 10%; }
   .contact-info.contact-page .awd-social { justify-content: center; }
   .entry-content .contact-info.contact-page.has-icons { flex-direction: column; text-align: center; justify-content: center; gap: 10px; margin: 10px auto 30px; display: flex; }
}
@media screen and (max-width:640px) {
   figure.wp-block-table.is-style-regular.has-medium-font-size { font-size: 14px !important; }
   .contact-info.custom-footer-info .contact-social .ci-text, .contact-info.contact-page .awd-social .ci-text { display: none; }
   .contact-info.custom-footer-info .contact-social .awd-social .awd-social-icons, .contact-info.contact-page .contact-social .awd-social .awd-social-icons { font-size: 32px; }
   .contact-info.custom-footer-info .contact-social.contact-info-item, .contact-info.contact-page .awd-social { margin-top: 15px; }
   .awd-site-credit { display: block; text-transform: uppercase; font-size: 12px; }
}
