/*
Theme Name: Astra Child
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Set Baseline Font for Rems to Standard */

:root {
  font-size: 16px;
}

/* Add Missing Alignfull styles for Narrow layout */

.ast-narrow-container.ast-no-sidebar .entry-content > .alignfull,
.ast-narrow-container.ast-no-sidebar .is-root-container > .alignfull,
[class^="astra-advanced-hook"] > .alignfull {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw;
}

/* Add Missing Border Style for Secondary Theme Buttons */

.wp-block-buttons
  .wp-block-button.is-style-outline
  .wp-block-button__link.wp-element-button,
.ast-outline-button,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.ast-outline-button {
  border-style: solid;
}

/* Spectra Button Transitions to Match Elementor */

.wp-block-button .wp-block-button__link,
.wp-block-search .wp-block-search__button,
body .wp-block-file .wp-block-file__button,
.wp-block-button .ast-outline-button {
  transition: 0.4s;
}

/* Remove Testimonial Carousel Padding so it can go full width */

.wp-block-uagb-testimonial.uagb-slick-carousel {
  padding: 0;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-prev {
  left: 25px !important;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-next {
  right: 25px !important;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-prev,
.wp-block-uagb-testimonial.uagb-slick-carousel .slick-next {
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 0.3;
}

.wp-block-uagb-testimonial.uagb-slick-carousel .slick-prev:hover,
.wp-block-uagb-testimonial.uagb-slick-carousel .slick-next:hover {
  opacity: 1 !important;
}

/* Align Testimonial Logos below name */

.wp-block-uagb-testimonial.uagb-slick-carousel .uagb-tm__meta-inner {
  display: inline-flex;
  flex-direction: column-reverse;
  gap: 5px;
}

/* Custom Testimonial Colors and Icon */

.wp-block-uagb-testimonial .slick-slide:nth-child(3n + 2) .uagb-tm__content {
  border-top-color: var(--ast-global-color-1) !important;
}

.wp-block-uagb-testimonial .slick-slide:nth-child(3n + 3) .uagb-tm__content {
  border-top-color: #e53e30 !important;
}

.wp-block-uagb-testimonial .uagb-tm__text-wrap::before {
  content: "\201c";
  display: block;
  font-size: 100px;
  font-family: "Georgia";
  color: var(--ast-global-color-0);
  margin-top: 32px;
  margin-bottom: -16px;
}

/* Add Balance */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

h1,
h2 {
  line-height: 1.2 !important;
}

h3,
h4 {
  line-height: 1.1 !important;
}

h5,
h6 {
  line-height: 1 !important;
}

h1.uagb-question,
h2.uagb-question,
h3.uagb-question,
h4.uagb-question,
h5.uagb-question,
h6.uagb-question {
  text-wrap: initial;
  line-height: 1.7 !important;
}

/* Style Entry Headers */

/* .ast-plain-container .entry-header {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--ast-global-color-4);
} */

/* .ast-plain-container .entry-header h1 {
  text-align: center;
  margin-bottom: 0;
} */

/* .ast-plain-container h2 {
	font-size: 2.1em;
}

body.ast-plain-container {
	font-size: 18px;
} */

/* Hero Image That Bleeds off the Right Side */

@media screen and (min-width: 977px) {
  .off-screen-img {
    transform: scale(1.5);
    margin-right: -160px;
  }
}

/* Icon Link Hover Animation */

.icon-hover a svg {
  transition: transform 200ms ease-in-out;
  position: relative;
}

.icon-hover a:hover svg {
  transform: translateX(5px);
}

/* Post Grid Tweaks */

.wp-block-uagb-post-grid .uagb-post__image a img,
.spectra-block-post .wp-block-post-featured-image a img {
  transition: all 200ms ease-out;
}

.wp-block-uagb-post-grid .uagb-post__image a:hover img,
.spectra-block-post .wp-block-post-featured-image a img:hover {
  transform: scale(1.05);
}

.spectra-block-post .wp-block-post-featured-image a {
  overflow: hidden;
}

/* Fix Post Carousel + Tweaks */

.wp-block-uagb-post-carousel .slick-list.draggable {
  padding: 0 !important;
}

.wp-block-uagb-post-carousel article {
  border-radius: 14px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-clip: border-box;
  border-style: solid;
  border-color: var(--ast-global-color-7);
}

.wp-block-uagb-post-carousel .uagb-post__image {
  margin: 8px;
  overflow: hidden;
  border-radius: 6px;
}

.wp-block-uagb-post-carousel .uagb-post__image a {
  border-radius: 6px;
}

.wp-block-uagb-post-carousel .slick-slide img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

.wp-block-uagb-post-carousel .uagb-post__image a img {
  transition: all 200ms ease-out;
}

.wp-block-uagb-post-carousel .uagb-post__image a:hover img {
  transform: scale(1.05);
}

.wp-block-uagb-post-carousel .slick-track,
.wp-block-uagb-post-carousel:not(:has(.slick-track)) {
  display: flex;
  gap: 16px;
}

.wp-block-uagb-post-carousel:not(:has(.slick-track)) article {
  width: calc(33.33% - 11px) !important;
}

@media screen and (max-width: 767px) {
  .wp-block-uagb-post-carousel:not(:has(.slick-track)) article {
    width: 100% !important;
  }
}

/* Text Underlines */

.wp-block-uagb-post-carousel .uagb-post__text.uagb-post__title a,
.tertiary-cta a,
.uagb-post__cta a {
  text-decoration: underline !important;
  text-decoration-color: transparent !important;
  transition: all 200ms ease-out;
  text-underline-offset: 5px;
}

.wp-block-uagb-post-carousel .uagb-post__text.uagb-post__title a:hover,
.tertiary-cta a:hover,
.uagb-post__cta a:hover {
  text-decoration-color: var(--ast-global-color-0) !important;
  text-underline-offset: 6px;
}

.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
  text-decoration-color: var(--ast-global-color-0) !important;
  text-underline-offset: 5px;
  transition: all 200ms ease-out;
}

.ast-single-post .entry-content a:hover,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a):hover {
  text-underline-offset: 6px;
}

/* Custom Tab Styles */

@media screen and (min-width: 767px) {
  .uagb-tabs__panel {
    padding-left: 40px !important;
    min-height: 66.7px;
  }
}

@media screen and (max-width: 767px) {
  ul.uagb-tabs__panel li.uagb-tab {
    border-bottom-width: 1px !important;
    transition: all 200ms ease-out;
  }

  ul.uagb-tabs__panel li.uagb-tab:hover {
    background-color: var(--ast-global-color-1) !important;
    border-color: var(--ast-global-color-1) !important;
    color: #fff !important;
  }
}

.uagb-tabs__body-wrap {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab a {
  transition: all 200ms ease-out;
}

.uagb-tabs__wrap ul.uagb-tabs__panel {
  align-items: flex-end !important;
}

.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab a:hover {
  padding-bottom: 10px !important;
}

/* Custom Counter Styles */

.wp-block-uagb-counter--number {
  width: auto !important;
}

.numbers-bar .number-wrap p,
.numbers-bar .number-wrap .wp-block-uagb-counter__title {
  text-wrap: balance;
}

@media (min-width: 977px) and (max-width: 1200px) {
  .numbers-bar > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container {
    align-items: flex-start;
  }
  .numbers-bar .number-wrap {
    flex-direction: column;
  }
  .numbers-bar .number-wrap p {
    text-align: center;
  }
}

/*Gravity Form*/

div .gf_browser_chrome gform_wrapper gf_simple_horizontal_wrapper {
  text-align: center;
}
.gf_simple_horizontal_wrapper.gf_browser_chrome
  ul.gform_fields
  li.gfield
  span.name_first,
.gf_simple_horizontal_wrapper.gf_browser_chrome
  ul.gform_fields
  li.gfield
  span.name_middle,
.gf_simple_horizontal_wrapper.gf_browser_chrome
  ul.gform_fields
  li.gfield
  span.name_last {
  padding-top: 0 !important;
}
.gf_simple_horizontal_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  input[type="text"],
.gf_simple_horizontal_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  select {
  margin-bottom: 0 !important;
}
.gf_simple_horizontal_wrapper li.hidden_label input {
  margin-top: 0 !important;
}
body .gf_simple_horizontal_wrapper .top_label div.ginput_container {
  margin-top: 0 !important;
}
.gf_simple_horizontal div.gform_footer.top_label {
  width: auto !important;
  vertical-align: top !important;
}
.gf_simple_horizontal div.gform_body {
  width: auto !important;
}
.gf_simple_horizontal div.gform_footer.top_label input[type="submit"] {
  line-height: 26px;
  font-size: 13px;
  padding: 0 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gform_button button {
  padding: 5px 24px;
}
@media only screen and (min-width: 641px) {
  .gform_wrapper form {
    max-width: 50%;
    margin: 0 auto;
  }
}
/* Center Gravity Forms */
.cent-form {
  text-align: center;
}
.why-chose_col > div {
  max-width: 535px !important;
}
/* Form styling Contact Us Hubspot Starts */
.general-form .hs-input {
  background-color: #ffffff;
  border-color: #c9c9c9;
  border-width: 2px 2px 2px 2px;
  border-radius: 8px 8px 8px 8px;
  color: #000000;
  font-size: 15px;
  min-height: 50px;
  padding: 8px 15px;
  width: 100% !important;
  box-shadow: none;
  box-sizing: border-box;
  transition: all 0.2s linear;
  line-height: 1.4;
  margin: 0 0;
}
.general-form select.hs-input {
  padding: 8px 12px;
}
.general-form fieldset {
  max-width: 100% !important;
}
.general-form .hs-inputt::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #b3b3b3;
}
.general-form .hs-input::-moz-placeholder {
  /* Firefox 19+ */
  color: #b3b3b3;
}
.general-form .hs-input:-ms-input-placeholder {
  /* IE 10+ */
  color: #b3b3b3;
}
.general-form .hs-input:-moz-placeholder {
  /* Firefox 18- */
  color: #b3b3b3;
}
.general-form .hs-input :focus {
  box-shadow: none;
  outline: none;
  border-color: #888888;
}
.general-form textarea.hs-input {
  min-height: 132px;
}
.general-form .hs-error-msgs {
  list-style: none;
  margin-left: 5px;
}
.general-form .hs-error-msg,
.hs-error-msgs {
  color: red;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  list-style: none !important;
  padding-left: 0px !important;
}
.general-form .hs_submit {
  padding: 0 15px 0 7px;
}
.general-form .hs-button {
  font-size: 17px;
  font-weight: 600;
  text-transform: capitalize;
  border-radius: 35px 35px 35px 35px;
  padding: 10px 40px;
  min-height: 59px;
  background-color: #0a77bc;
  color: #ffffff;
  transition: 0.5s;
  opacity: 1;
  width: 100%;
}
.general-form .hs-button:hover {
  background-color: #3eb489;
}
.general-form .hs-form-field label:first-child {
  font-family: "Source Sans Pro", raleway;
  font-weight: 400;
  font-size: 15px;
  padding-bottom: 10px;
  color: #4a4949;
  cursor: pointer;
  margin: 0 0;
  display: block;
}
.general-form .hs-form-field label:first-child span {
  text-transform: uppercase;
}
.general-form .hs-form-field {
  padding-right: calc(14px / 2);
  padding-left: calc(14px / 2);
  margin-bottom: 25px;
}
.general-form .hs-form-required,
.hs-error-msg {
  color: red !important;
}
/* Form styling Contact Us Hubspot Ends */
/* bottom to top */
#ast-scroll-top {
  width: 1.3em !important;
  height: 1.4em !important;
  line-height: 1.3 !important;
}
.ast-scroll-top-icon::before {
  font-size: 18px;
}
/* bottom to top */
#homeBannerImg {
  background-position: left;
}
.hide-item {
  display: none !important;
}
/* footer  */
li.elementor-icon-list-item:hover a:after {
  display: none;
}
/* header */
.header_menuu i.elementor-menu-toggle__icon--open.eicon-menu-bar {
  margin-top: -1px;
}
.header_menuu i.elementor-menu-toggle__icon--close {
  margin-top: -1px;
}
/* request form wrap  */
.request-form-wrap .elementor-row {
  justify-content: center;
}
/* // for testimonial section */
.testimonial h3.elementor-post__title {
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0px 35px;
}
/* ui floating social  */
.hustle-ui.hustle-float[data-desktop="true"][data-desktop-offset="screen"] {
  z-index: 999 !important;
}
/* search modal  */
.elementor-search-form--skin-full_screen .elementor-search-form__container {
  z-index: 9999 !important;
}
@media (max-width: 991px) {
  .hustle-ui {
    display: none;
  }
  .request-demo-form-wrap .elementor-row {
    justify-content: center;
  }
  .header_menuu .elementor-nav-menu--dropdown {
    border-radius: 0px !important;
  }
  .header_menuu .elementor-nav-menu .menu-item .elementor-item {
    border-radius: 0px !important;
  }
  .header_menuu .elementor-nav-menu .menu-item .menu-item a {
    border-radius: 0px !important;
  }
  .header_menuu .elementor-nav-menu .menu-item a .sub-arrow {
    fill: currentColor;
  }
  .header_menuu .elementor-nav-menu .menu-item.req_btn {
    padding: 10px 20px !important;
  }
  .header_menuu .elementor-nav-menu .menu-item.req_btn a {
    border-radius: 25px !important;
    width: fit-content;
  }
}
@media (max-width: 767px) {
  /* 	nav menu */
  .solutions ul.sub-menu {
    border-radius: 0px !important;
  }
  .solutions ul.sub-menu li.menu-item a {
    border-radius: 0px !important;
  }
  .new-header .elementor-nav-menu--dropdown {
    border-radius: 0px !important;
  }
}
.tst-slider .elementor-testimonial__content {
  background-color: transparent;
}
.tst-slider .elementor-testimonial__content {
  background-color: transparent !important;
}
.tst-slider .elementor-testimonial__content:after {
  display: none !important;
}
.tst-slider .elementor-testimonial__footer {
  margin-bottom: 0 !important;
}
@media screen and (max-width: 1024px) {
  .request_col {
    margin: 0 auto;
  }
  .request-demo-form-wrap {
    background-image: none !important;
  }
  .banner-sec {
    background-image: none !important;
  }
}
@media screen and (max-width: 768px) {
  header.elementor-location-header {
    position: initial !important;
  }
  .header-menu {
    width: 75%;
  }
  .keyoffer_box img {
    max-width: 120px !important;
  }
}
.card-box .elementor-widget-container {
  overflow: hidden;
}
.card-box a.eael-infobox-button {
  text-decoration: none;
}
.resources-sec p {
  margin-bottom: 0;
}
.resources-sec .elementor-widget-container {
  padding-bottom: 0 !important;
}
.resources-sec .elementor-element {
  margin-bottom: 0 !important;
}
.card-box .infobox-button {
  padding-bottom: 20px;
}
.card-box a.eael-infobox-button {
  text-decoration: underline;
  color: #0077c0 !important;
  background-color: transparent !important;
  padding: 0 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}
.card-box a.eael-infobox-button:after {
  position: relative;
  content: "";
  padding-left: 26px;
  font-size: 17px;
  background: url(/wp-content/uploads/2022/08/arrow-blue-1.png);
  height: 8px;
  margin-left: 12px;
  margin-top: 7px;
}
.card-box a.eael-infobox-button:hover {
  text-decoration: none;
}

/* Post and News Single Templates */

/* Title Banner */

.single-post .ast-single-entry-banner .ast-container {
  max-width: 1240px !important;
  display: flex;
  flex-direction: column;
}

.single-news .ast-single-entry-banner .ast-container,
.single-awards .ast-single-entry-banner .ast-container {
  max-width: 1240px !important;
  display: flex;
  flex-direction: column;
}

.single-post .site-content > .ast-container {
  margin: 0 auto;
  padding: 0px 15px;
}

.single-news .site-content > .ast-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0px 15px;
}

.single-news .ast-single-entry-banner .ast-container h1,
.single-post .ast-single-entry-banner .ast-container h1 {
  margin-bottom: 0 !important;
  order: 2;
}

.single-news .ast-single-entry-banner .ast-container .subtitle,
.single-post .ast-single-entry-banner .ast-container .subtitle {
  font-size: 2rem;
  order: 3;
}

.single-news .ast-single-entry-banner .ast-container .entry-meta,
.single-post .ast-single-entry-banner .ast-container .entry-meta {
  order: 1;
  margin-bottom: 1rem;
}

/* Content */
.single-news #primary,
.single-post #primary {
  margin-top: 60px !important;
}

.single-post #primary .site-main .ast-single-post-featured-section {
  border-radius: 16px;
  overflow: hidden;
}

@media screen and (max-width: 1023px) {
  .single-news #primary,
  .single-post #primary {
    margin-top: 15px !important;
  }
  .single-post #primary .site-main {
    flex-direction: column;
  }
  .single-post #primary .site-main .ast-single-post-featured-section {
    flex-basis: 100%;
  }
}

/* Related Posts */

.ast-single-related-posts-container .ast-related-post {
  border: 1px solid var(--ast-global-color-0, #0a77bc);
  border-radius: 16px;
  overflow: hidden;
}

.ast-single-related-posts-container .ast-related-post .entry-header {
  padding: 0 32px;
  background: transparent;
  text-align: center;
}

.ast-single-related-posts-container .ast-related-post .post-thumb {
  overflow: hidden;
}

.ast-single-related-posts-container .ast-related-post .post-thumb img {
  transition: transform 200ms ease-in-out;
  width: 100%;
}

.ast-single-related-posts-container
  .ast-related-post:hover
  .post-thumb
  a:hover
  img {
  transform: scale(1.05);
}

/* Author Box Tweaks */

.single .ast-single-author-box {
  border-top: 0 !important;
}

.single .ast-author-meta .ast-author-details {
  align-items: flex-start !important;
}

.single .ast-author-meta .about-author-title-wrapper {
  display: none;
}

.single .ast-author-meta .post-author-bio::before {
  content: "About the Author";
  color: var(--ast-global-color-8);
  font-family:
    var(--e-global-typography-primary-font-family), ui-sans-serif, system-ui,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
  font-size: var(--wp--preset--font-size--medium);
  line-height: 35.2px;
  font-weight: 700;
  text-transform: uppercase;
}

.single .ast-author-meta .ast-author-details .author-title {
  color: var(--ast-global-color-8);
}

.single .ast-author-meta .ast-author-details .author-title:hover {
  color: var(--ast-global-color-0);
}

.single .ast-author-meta {
  position: relative;
}

.single .ast-author-meta::before {
  content: "";
  min-height: 32px;
  background-image: linear-gradient(
    to left,
    #e63d2f 0%,
    #e63d2f 33.333%,
    #00964c 33.333%,
    #00964c 66.666%,
    #00b7b7 66.666%,
    #0a77bc 60%,
    #0a77bc 60%
  );
  display: block;
  position: absolute;
  left: -1px;
  right: -1px;
  top: -32px;
  border-radius: 16px 16px 0 0;
}

.single
  .ast-author-meta
  .ast-author-box-sharing
  .ast-social-icon-a
  .ast-social-element {
  --color: var(--ast-global-color-8) !important;
}

.single
  .ast-author-meta
  .ast-author-box-sharing
  .ast-social-icon-a:hover
  .ast-social-element {
  --color: var(--ast-global-color-0) !important;
}

.single .ast-author-meta .post-author-avatar img {
  min-width: 120px !important;
}

@media screen and (max-width: 921px) {
  .single .ast-author-meta .ast-author-details .ast-author-box-sharing {
    align-items: center !important;
  }
}

.single .ast-author-meta .ast-author-box-sharing .ast-social-icon-a[href=""] {
  display: none;
}

/* Bullet Overrides */

/* List Padding */

.entry-content ul.wp-block-list,
.entry-content ol.wp-block-list {
  padding-left: 18px;
  margin-left: 0;
}

ul li::marker {
  color: var(--ast-global-color-0);
}

/* Caption Styling */

.wp-block-image figcaption,
.wp-block-uagb-image figcaption {
  font-size: 0.875rem;
}

/* Blockquote Styling */

blockquote {
  font-style: normal;
}

.accordion-dark .uagb-faq-content a:hover {
  color: var(--ast-global-color-7);
}

.hbspt-form fieldset {
  max-width: 100% !important;
  margin-bottom: 10px !important;
}

.hbspt-form fieldset input,
.hbspt-form fieldset select {
  width: 100% !important;
}

.hbspt-form .hs_submit .actions {
  text-align: center;
}

/* Force image container height */
.uagb-post__image {
  height: 250px; /* adjust to whatever height you want */
  overflow: hidden;
}

/* Make image fill container without distortion */
.uagb-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Remove extra spacing inside UAGB post cards */
.uagb-post__image {
  margin-bottom: 0;
  height: auto;
}

.wp-block-uagb-post-grid .uagb-post__inner-wrap {
  padding: 0 !important;
}

.uagb-post__title {
  padding-left: 18px;
  padding-right: 18px;
  margin-bottom: 0; /* adjust smaller if needed */
}

.uagb-post__excerpt {
  margin-bottom: 0; /* adjust or set to 0 */
}

.uagb-post__cta {
  margin-top: 0;
}

.insights-block.uagb-post-grid.is-grid.uagb-equal_height_inline-read-more-buttons.uagb-post__image-position-top
  .uagb-post__text:nth-last-child(2) {
  padding-bottom: 75px;
}

.uagb-post__content-wrap,
.uagb-post__inner-wrap {
  padding-bottom: 0 !important;
}

/* Mega Menu Nav Items */

.menu-has-descriptions .menu-item .menu-link {
  flex-direction: column;
  align-items: flex-start;
}

.menu-has-descriptions .menu-item .menu-link::after {
  height: 0px !important;
  opacity: 0 !important;
  background-color: var(--e-global-color-astglobalcolor4) !important;
}

.menu-has-descriptions .menu-item:last-child .menu-link::after {
  height: 0px !important;
  opacity: 0 !important;
}

.menu-has-descriptions .menu-item .menu-link:hover {
  background-color: var(--ast-global-color-0);
  color: white;
}

.menu-has-descriptions .menu-item .menu-link:hover::after {
  background-color: var(--ast-global-color-0);
}

.menu-has-descriptions .menu-item .menu-link .menu-item-description {
  font-size: 15px;
  font-weight: normal;
  margin-top: 4px;
}

/* Mega Menu Text Editor Links */

.elementor-widget-n-menu .elementor-widget-text-editor a {
  text-decoration: underline;
  text-decoration-color: var(--ast-global-color-0);
  text-underline-offset: 5px;
  transition: all 200ms ease-out;
}

.elementor-widget-n-menu .elementor-widget-text-editor a:hover {
  text-underline-offset: 6px;
}

.wp-block-accordion-heading button {
  border-top-left-radius: inherit !important;
  border-top-right-radius: inherit !important;
  border-bottom-right-radius: inherit !important;
  border-bottom-left-radius: inherit !important;
}

.wp-block-accordion-heading button:focus,
.wp-block-accordion-heading button:hover {
  color: inherit !important;
  background-color: inherit !important;
  border-color: inherit !important;
}

/* Floats and Clears for Forms in Longer Content */

.clear-none {
  clear: none;
}

.float-container-right,
.float-container-right-50 {
  float: none;
  max-width: 100%;
  margin-bottom: 2rem !important;
}

@media screen and (min-width: 640px) {
  .float-container-right,
  .float-container-right-50 {
    float: right;
    max-width: 50%;
    margin-left: 2rem;
    z-index: 10;
  }
}

@media screen and (min-width: 1024px) {
  .float-container-right {
    max-width: 35%;
  }
  .float-container-right-50 {
    max-width: 50%;
  }
}

/* Underline Override */

.no-underline {
  text-decoration: none !important;
}

.no-underline a {
  text-decoration: none !important;
}

/* Hide Default Read More link in the Excerpt block */

.hide-excerpt-read-more .wp-block-post-excerpt__excerpt {
  margin-bottom: 0;
}

.hide-excerpt-read-more .wp-block-post-excerpt__more-text {
  display: none;
}

/* Custom Read More Link Animation */

.custom-read-more {
  transition: gap 200ms ease-in-out;
}

.custom-read-more:hover {
  gap: var(--wp--preset--spacing--40);
}

/* Reorder Post Archive Item Content */

.post-content.ast-grid-common-column {
  display: flex;
  flex-direction: column;
}

.post-content.ast-grid-common-column header {
  order: 1;
}

.post-content.ast-grid-common-column .entry-title {
  order: 2;
}

/* Stop Search Bar from Appearing Over the Nav Dropdown */
div.asl_m {
  z-index: 98 !important;
}

/* Restrict Astra's Related Blog Post Content Width */

.ast-related-posts-wrapper {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Add pattern bg to Astra's Related Blog Posts */

.ast-single-related-posts-container {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: scroll;
  background-image: url(/wp-content/uploads/2025/12/azalea_background_light.jpg);
  background-clip: padding-box;
}

.ast-single-related-posts-container .ast-related-posts-inner-section {
  background-color: #fff;
}

/* Fix Astra's Related Blog Posts Image Ratio */

.ast-related-post-content .post-thumb-img-content img {
  object-fit: cover;
}

/* Apply Current Color to List Bullets */

ul.list-current li::marker {
  color: currentcolor;
}

/* Remove top margin from #primary when no entry-header is contained within it */

#content:not(.ast-single-entry-banner + #content)
  #primary:not(:has(.entry-header)) {
  margin-top: 0 !important;
}

/* Add viewport padding to full-width root containers */

.spectra-is-root-container {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

/* Remove sidebar padding on Newsroom Templates */

@media (min-width: 993px) {
  .post-type-archive-news .widget-area.secondary {
    padding-left: 0 !important;
    border-left: none !important;
    margin-left: 0 !important;
  }

  .post-type-archive-news #primary {
    border-right: none !important;
  }
}

/* Style Lists and Links in Widget Areas like Lists and Link */

.post-type-archive-news .widget-area.secondary ul {
  list-style-type: disc;
  margin-left: 1rem;
}

.post-type-archive-news .widget-area.secondary ul li {
  margin-bottom: 0 !important;
}

.post-type-archive .widget-area.secondary a,
.post-type-archive .site-content .wp-block-list li a,
.post-type-archive .site-content p a,
.post-type-archive .content-area.primary .read-more a,
.post-type-archive .site-content .wp-block-read-more,
.archive.author .content-area.primary .read-more a {
  text-decoration: underline;
  text-decoration-color: var(--ast-global-color-0) !important;
  text-underline-offset: 5px;
  transition: all 200ms ease-out;
}

.post-type-archive .widget-area.secondary a:hover,
.post-type-archive .site-content .wp-block-list li a:hover,
.post-type-archive .site-content p a:hover,
.post-type-archive .content-area.primary .read-more a:hover,
.post-type-archive .site-content .wp-block-read-more a:hover,
.archive.author .content-area.primary .read-more a:hover {
  text-underline-offset: 6px;
}

/* Fit Width Utility Class */

.fit-width {
  width: fit-content !important;
}

/* Hide Featured Category in Post Cards */

.wp-block-post-terms a[href*="/category/featured"] {
  display: none;
}

/* Style Top-Bar Nav */

.ast-above-header-wrap
  .ast-above-header-bar
  .site-above-header-wrap
  .ast-builder-menu
  .main-header-bar-navigation
  .site-navigation
  .main-navigation
  .main-header-menu
  li.menu-item {
  border-right: 2px solid rgba(0, 0, 0, 0.27);
}

/* Remove Extraneous Padding from Archive Headers */

.ast-archive-entry-banner .ast-container {
  padding-left: 0;
  padding-right: 0;
  max-width: 1240px;
}

/* Force Archive Item Spacing */

.post-type-archive article .ast-article-inner {
  padding-bottom: 1.5rem;
}

/* Custom Archive Secondary Nav */
.post-type-archive div[class*="astra-advanced-hook"] .widget_nav_menu {
  width: 100%;
}

.post-type-archive div[class*="astra-advanced-hook"] ul#menu-archive-secondary {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--ast-global-color-7);
  width: 100%;
}

.post-type-archive div[class*="astra-advanced-hook"] ul#menu-archive-secondary li a {
  font-weight: bold;
}

.post-type-archive div[class*="astra-advanced-hook"] ul#menu-archive-secondary li.current-menu-item a {
  color: var(--ast-global-color-0) !important;
  border-bottom: 2px solid var(--ast-global-color-0) !important;
}

/* Remove Extra Archive Padding */

.post-type-archive .ast-grid-common-col {
	padding-left: 0;
	padding-right: 0;
}

/* Reduce Menu Toggle Button Padding */

.ast-button-wrap .menu-toggle.main-header-menu-toggle {
	padding: 0.3em;
}

/* Justify Top Bar Menu to the End on Mobile */

@media (max-width: 1024px) {
    .ast-builder-menu-2 .main-header-menu, .ast-header-break-point .ast-builder-menu-2 .main-header-menu {
       justify-content: end;
    }
}

/* Force Secondary Nav Dividers on Mobile */

.site-above-header-wrap .ast-builder-menu .main-header-bar-navigation .site-navigation .main-navigation .main-header-menu li.menu-item {
    border-right: 2px solid rgba(0, 0, 0, 0.27);
}

/* Stack Mobile Topbar Elements on Small Viewports */

@media (max-width: 680px) {
	.site-above-header-wrap .ast-builder-grid-row {
		grid-template-columns: auto;
		justify-content: center;
	}
	
	.ast-header-break-point .site-above-header-wrap  .ast-builder-menu {
		width: auto;
	}
	
	.site-above-header-wrap .ast-grid-right-section {
		justify-content: center;
	}
}

/* Style Top Bar Links */

.site-above-header-wrap {
	a {
		text-underline-offset: 5px;
    transition: all 200ms ease-out;
		
		&:hover {
		text-decoration: underline;
			text-underline-offset: 6px;
	}
	}
	
	.ast-search-icon {
		transition: all 200ms ease-out;
	}
	
	.ast-search-icon:hover {
		color: var(--ast-global-color-3);
		transform: scale(1.2);
	}
}

/* Remove Bottom Margin From Custom Post Types Main Article hentry */

article.case_studies,
article.datasheets,
article.tools,
article.whitepapers,
article.video,
article.webinar {
	margin-bottom: 0;
}

/* Remove Extra Padding and Margin from Author Archive Grid */

.archive.author .wp-block-post-template {
	margin-left: 0;
}

.archive.author .ast-grid-common-col {
	padding-left: 0;
	padding-right: 0;
}

/* Center Awards Featured images and Resize */

.single-awards .post-thumb {
	max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Force Full Width on Wistia emebd containers */

.wistia_responsive_padding {
	width: 100%;
}

/* Add Footer Menu Dividers */

@media (min-width: 545px) {
	#astra-footer-menu .menu-item {
	border-right: 2px solid var(--ast-global-color-3);
}
	
	#astra-footer-menu .menu-item:last-child {
		border-right: none;
	}
	
	.footer-nav-wrap .astra-footer-horizontal-menu a {
        padding: 0 0.5em;
    }
}

/* Style Footer Links */

#astra-footer-menu .menu-item > a,
.widget_nav_menu .menu .menu-item .menu-link,
footer .widget a {
	text-underline-offset: 5px;
}

#astra-footer-menu .menu-item > a:hover,
.widget_nav_menu .menu .menu-item .menu-link:hover,
footer .widget a:hover {
	text-decoration: underline;
	text-underline-offset: 6px;
}

/* Normalize Footer Widget Header Margin */

footer .site-footer-section .footer-widget-area .widget:has( > h2) {
	margin-bottom: 19px !important;
}

/* Adjust column number on tablet */

@media (min-width: 545px) and (max-width: 1023px) {
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-5-equal .ast-builder-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Center Footer Button and Social Icons on Mobile */

@media (max-width: 545px) {
	footer .widget .wp-block-social-links,
	footer .widget .wp-block-spectra-buttons {
		justify-content: center;
	}
}

/* Mega Menu Container */

.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li .astra-megamenu {
	border-radius: 0 0 8px 8px;
	overflow: hidden;
}

.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li .astra-megamenu, .ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:not([data-megamenu-trigger=click]):hover .astra-megamenu {
	padding: 0 !important;
}

.site-header-section .ast-builder-menu,
.site-header-section .ast-main-header-bar-alignment,
.site-header-section .ast-builder-menu .main-navigation>ul {
	height: 100%;
}


/* Mega Menu Column Headers */

.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .menu-item-heading > .menu-link .menu-text {
	font-size: 16px;
}

.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .menu-item-heading > .menu-link {
	padding: 29px 20px 13px 20px;
}

/* Mega Menu Content Highlight */

.content-highlight {
	min-width: 33.333%;
	max-width: 33.333%;
}

.content-highlight .ast-mm-custom-content.ast-mm-template-content {
	padding: 0;
	margin: 0 !important;
	height: 100%;
}

/* Style Mega Content Links */

.content-highlight .ast-mm-custom-content.ast-mm-template-content p a {
	text-decoration: underline;
    text-decoration-color: var(--ast-global-color-0);
    text-underline-offset: 5px;
}

.content-highlight .ast-mm-custom-content.ast-mm-template-content p a:hover {
    text-underline-offset: 6px;
}

/* Style Mega Menu Nav Links */

.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .sub-menu .menu-link {
	padding: 13px 20px;
	display: flex;
	flex-direction: column;
}

.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .sub-menu .menu-link:hover {
	background-color: var(--ast-global-color-0);
	color: #fff;
}

.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .sub-menu .menu-link .menu-text {
	font-weight: 600;
}

.ast-desktop .main-header-menu .astra-megamenu-li .sub-menu .sub-menu .menu-link .menu-item-description {
	font-weight: 400;
	font-size: 15px
}

/* Make Empty Parent Mobile Menu Items Clickable */

.ast-header-break-point .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle {
	outline: none !important;
	border-style: none;
	width: 100%;
	padding-right: 0;
	text-align: right;
}

/* Style Mobile Menu Descriptions */

#ast-hf-mobile-menu .sub-menu .menu-item .ast-icon  {
	display: none;
}

#ast-hf-mobile-menu .sub-menu .menu-item .menu-link {
	display:flex;
	flex-direction:column;
	padding: 13px 20px
}

#ast-hf-mobile-menu .sub-menu .menu-item .menu-link span {
	line-height: 1.45;
}

#ast-hf-mobile-menu .sub-menu .menu-item .menu-link .menu-text {
	font-weight: bold;
}

/* Force More Insights Padding on Narrow Single COntainers */

.ast-narrow-container .ast-single-related-posts-container {
	padding: 2.5em !important;
}

/* Add Pagination Padding where needed */

.single-awards .post-navigation,
.single-news .post-navigation,
.single-press-release .post-navigation
{
	padding-bottom: 2em;
}

/* Style Links in White Text FAQs */

.ast-single-post .entry-content .dark-faq a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: #fff !important;
}
