/**
Theme Name: Power Wellness
Author: EDUCO
Author URI: https://www.educowebdesign.com
Description: Custom theme designed for Power Wellness Core
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: power-wellness
Template: astra
*/

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 180px;
}

a,
a:focus {
  outline: none !important;
}

#masthead.site-header {
  z-index: 9999;
}

/* Offer Home */
.special-offer-section .left-panel {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.special-offer-section .offer-text {
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.45em;
  margin-bottom: 1em;
}

.special-offer-section .offer-text p {
  margin-bottom: .5em;
}

.special-offer--title img,
.special-offer--text > p img,
.special-offer-section .left-panel > h1 img,
.special-offer-section .offer-text p > img {
  height: 1em;
  width: auto !important;
  vertical-align: baseline;
  display: inline-block;
  object-fit: contain;
  margin-bottom: -.05em;
}

.special-offer-section .offer-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
.special-offer-section {
  display: flex;
  flex-direction: column-reverse}

.special-offer-section .left-panel,
  .special-offer-section .right-panel
  {max-width:100% !important;}

.special-offer-section .right-panel {
  max-height: 360px;
  }

  .special-offer-section .offer-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .special-offer-section .left-panel,
  .special-offer-section .left-panel h1,
  .special-offer-section .left-panel * {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 480px) {
  .special-offer-section .left-panel .is-style-paragraph-intro {
    font-size: 1rem !important;
  }

  .special-offer-section .left-panel p {
    margin-bottom: 0;
  }
  .special-offer-section .right-panel {
  max-height: 240px;
  }
}

@media (min-width: 1400px) {
  .special-offer-section .right-panel {

  }
}

/* Offers */
.special-offer-box {
  margin-bottom: 20px;
}

.special-offer-box .flip-box-front {
  position: relative;
  aspect-ratio: 2/1;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
}

.special-offer-box .flip-box-front::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: inherit;
  position: absolute;
  z-index: 2;
  opacity: 1;
  mix-blend-mode: multiply;
}

.special-offer--image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
  z-index: 1;
}

.special-offer--image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.special-offer-box .flip-box-back {
  color: white;
  overflow: hidden;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.special-offer--content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.special-offer--title {
  margin: 0 !important;
  padding: 20px 20px 40px;
  position: relative;
  text-align:center;
  z-index: 3;
  color: white !important;
  filter: drop-shadow(2px 2px 5px rgba(0,0,0,.4));
}

.special-offer--text {
  font-size: 1.1rem;
  margin-bottom: 1em;
}

.special-offer--text p {
  margin-bottom: .5em;
}

.special-offer-box .wp-block-button[class*="is-style-fill--white"] .wp-block-button__link:hover,
.special-offer-box .wp-block-button[class*="is-style-fill--white"] .wp-block-button__link:focus {
  border: 2px solid rgba(255,255,255,.8);
  background-color: rgba(255,255,255,.8);
  color: var(--ast-global-color-1) !important;
}

.special-offer--fine {
  font-size: 13px;
  line-height: 1.3;
  margin-top: 1.5em;
}

.special-offer--fine p {
  margin-bottom: 0;
}

@media only screen and (min-width: 640px) {
.special-offers-wrapper:not(.count-1) {
  display: flex;
  column-gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.special-offers-wrapper:not(.count-1) .special-offer-box {
  background-color: transparent;
  perspective: 1000px;
}

  .special-offers-wrapper.count-3 .special-offer-box {
    width: 380px;
    height: 380px;
  }

  .special-offers-wrapper.count-2 .special-offer-box {
    width: 580px;
    height: 290px;
  }

/* This container is needed to position the front and back side */
.special-offers-wrapper:not(.count-1) .special-offer-box .flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.special-offers-wrapper:not(.count-1) .special-offer-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.special-offers-wrapper:not(.count-1) .special-offer-box .flip-box-front,
.special-offers-wrapper:not(.count-1) .special-offer-box .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1
}

/* Style the back side */
.special-offers-wrapper:not(.count-1) .special-offer-box .flip-box-back {
  transform: rotateY(180deg);
  z-index: 3;
}

  .special-offers-wrapper.count-1 .flip-box-inner {
    display: flex;
    width: 100%;
  }

  .special-offers-wrapper.count-1 .flip-box-inner > div {
    width: 50%;
    flex: 1;
  }
}

@media only screen and (min-width: 1040px) {
  .special-offers-wrapper.count-2 {
    flex-wrap: nowrap;
  }

  .special-offers-wrapper.count-2 .special-offer-box {
    width: 50%;
  }
}

@media only screen and (min-width: 1240px) {
  .special-offers-wrapper.count-3 .special-offer-box {
    width: 400px;
    height: 400px;
  }

  .special-offers-wrapper.count-2 .special-offer-box {
    width: 610px;
    height: 305px;
  }
}

/* Spectra */
body .wp-block-uagb-container > .wp-block-uagb-image {
  width: auto !important;
  max-width: 100%;
}

.spectra-image-gallery__media {
  contain: layout;
  overflow: unset;
}

/* Container */
.ast-container,
.ast-container-fluid {
  padding-left: 40px;
  padding-right: 40px;
}

@media (min-width: 1201px) {
  .ast-container {
    max-width: 1320px;
  }
}

.svg-left .widget_media_image img {
  width: 80px;
  height: 80px;
}

/* Header */
body,
.entry-header,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  word-wrap: unset;
  font-variant-numeric: lining-nums;
}

.type-post .entry-content h2,
.type-post .entry-content h3,
.type-post .entry-content h4,
.type-post .entry-content h5,
.type-post .entry-content h6 {
  margin-top: 1em;
}

.entry-content > h2 {
  margin-top: 0;
}

.entry-header .header-title {
  margin: 40px auto;
}

/* Masthead */
#masthead .ast-container {
  padding-left: 0;
}

#masthead .ast-mobile-header-wrap .ast-primary-header-bar {
    padding-left: 0  !important;
}

.ast-logo-title-inline .ast-site-identity {
  padding: 10px 20px 30px 40px;
  margin-bottom: 20px;
  background: var(--ast-global-color-8);
  border-radius: 0 0 70px 0;
}

#ast-fixed-header  .ast-site-identity {
  margin: 0;
  padding: 30px 20px 40px 40px;
}

@media (max-width: 600px) {
  .ast-logo-title-inline .ast-site-identity {
  padding: 10px 20px 30px 20px;
  }

  #ast-fixed-header  .ast-site-identity {
  margin: 0;
  padding: 10px 20px 30px 20px;
}
}

#ast-desktop-header .site-primary-header-wrap > .ast-builder-grid-row {
  align-items: start;
}

.ast-desktop .ast-primary-header-bar .dropdown-menu-toggle {
  display: none;
}

#ast-desktop-header  .site-header-primary-section-right {
  flex-direction: column;
  align-items: end;
  justify-content: start;
  gap: 20px;
  padding-top: 30px;
}

@media (min-width: 1140px) {
  .ast-builder-menu .main-navigation > ul {
    gap: 20px;
  }
}

@media (min-width: 1460px) {
  .ast-builder-menu .main-navigation > ul {
    gap: 30px;
  }
  #ast-desktop-header  .site-header-primary-section-right {
    flex-direction: row-reverse;
    padding-top: 60px;
    align-items: start;
    justify-content: end;
  }
  #ast-desktop-header  .site-header-primary-section-right .ast-builder-menu-1 {
    z-index: 1;
    position: relative;
  }

  #ast-desktop-header  .site-header-primary-section-right .ast-builder-menu-2 {
    z-index: 2;
    position: relative;
    padding-right: 0 !important;
  }
}

#ast-desktop-header .main-header-menu .sub-menu {
  padding-top: .5em;
  padding-bottom: .5em;
}

#ast-desktop-header .main-header-menu .sub-menu .menu-link {
  padding: .2em 1.3em;
}

/* Header Buttons */
.ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu {
  gap: 10px;
}

.ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item > .menu-link,
[id^="ast-mobile-header"] #menu-utility .menu-item .menu-link {
  display: block;
  line-height: 1.3em;
  padding: .25em .6em;
  border: 2px solid;
  border-radius: 12px;
  font-weight: bold;
  font-size: .9rem;
}

[id^="ast-mobile-header"] #menu-utility .menu-item .menu-link {
  font-size: 1rem;
}

.site-logo-img img {
  transition: filter 0s !important;
}

@media (max-width: 1200px) {
  .ast-desktop .site-header-primary-section-left > * {
    padding: 0;
  }
  .ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item > .menu-link {
    font-size: .75rem;
  }
}

.ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item:first-child > .menu-link {
  color: var(--ast-global-color-5);
  background: var(--ast-global-color-0);
  border-color: var(--ast-global-color-0);
}

.ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item:last-child > .menu-link {
  color: var(--ast-global-color-2);
  background: transparent;
  border-color: var(--ast-global-color-2);
}

.ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item:first-child > .menu-link:hover,
.ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item:last-child > .menu-link:hover,
[id^="ast-mobile-header"] #menu-utility .menu-item:last-child .menu-link:hover {
  color: var(--ast-global-color-5);
  background-color: #121e69;
  border-color: #121e69;
}

.ast-desktop .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item:last-child > .menu-link:hover,
[id^="ast-mobile-header"] #menu-utility .menu-item:last-child .menu-link:hover {
  background-color: var(--ast-global-color-2);
  border-color: var(--ast-global-color-2);
}

#masthead:has(.mega-menu-item.mega-toggle-on) .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item:first-child > .menu-link,
[id^="ast-mobile-header"] #menu-utility .menu-item:first-child .menu-link,
[id^="ast-mobile-header"] #menu-utility .menu-item:last-child .menu-link{
  color: var(--ast-global-color-0);
  background: var(--ast-global-color-5);
  border-color: var(--ast-global-color-5);
}

#masthead:has(.mega-menu-item.mega-toggle-on) .ast-primary-header-bar [id^="secondary_menu-site-navigation-desktop"] .main-header-menu > .menu-item:first-child > .menu-link:hover,
[id^="ast-mobile-header"] #menu-utility .menu-item:first-child .menu-link:hover,
[id^="ast-mobile-header"] #menu-utility .menu-item:last-child .menu-link:hover {
  color: var(--ast-global-color-5);
  background: var(--ast-global-color-2);
  border-color: var(--ast-global-color-2);
}

@media (max-width: 1100px) {
  #ast-desktop-header .site-primary-header-wrap > .ast-builder-grid-row.ast-grid-center-col-layout {
    grid-template-columns: 1fr 2fr;
  }

  #ast-desktop-header .site-primary-header-wrap > .ast-builder-grid-row.ast-grid-center-col-layout .site-header-primary-section-left {
    grid-area: 1 / 1 / 3 / 2;
  }

  #ast-desktop-header .site-primary-header-wrap > .ast-builder-grid-row.ast-grid-center-col-layout .site-header-primary-section-center {
    grid-area: 2 / 2 / 3 / 3;
    justify-content: end;
  }

  #ast-desktop-header .site-primary-header-wrap > .ast-builder-grid-row.ast-grid-center-col-layout .site-header-primary-section-right {
    grid-area: 1 / 2 / 2 / 3;
    padding-top: 10px;
  }
}

/* Jump Menu */
#masthead .ast-container.site-below-header-wrap {
  padding: 0 40px;
}

#masthead .ast-container.site-below-header-wrap,
#masthead .ast-container.site-below-header-wrap .ast-header-html,
.site-below-header-wrap .ast-header-html-1,
.site-below-header-wrap .ast-header-html {
  width: 100%;
}

.ast-mobile-header-wrap .ast-below-header-bar {
  min-height: unset;
}

.site-below-header-wrap .ast-header-html:has(.jump-menu-wrapper) {
  position: relative;
  margin-bottom: 20px;
}

.ast-sticky-shrunk .site-below-header-wrap .ast-header-html:has(.jump-menu-wrapper) {
  margin: 16px auto;
}

.jump-menu-wrapper {
  overflow: auto !important;
  margin-bottom: 0;
  border-radius: 12px;
  background: var(--ast-global-color-5);
  border: 1px solid var(--ast-global-color-2);
}

.jump-menu-wrapper +  #scroll-indicator {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 .75em;
  border-radius: 0 12px 12px 0;
  line-height: 1.4;
  text-align: center;
  background-color: var(--ast-global-color-2);
  color: var(--ast-global-color-5);
  text-transform: uppercase;
  font-size: .9em;
  font-weight: 600;
}

.jump-menu-wrapper.show-scroll + #scroll-indicator {
  display: flex;
}

@media (min-width: 768px) {
  #scroll-indicator {
    display: none !important;
  }
}

.jump-menu {
  list-style-type: none;
  margin: 0 !important;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: space-evenly;
  padding: 0 !important;
  font-weight: 700;
  font-family: var(--alt-font);
  font-size: .9rem;
}

.jump-menu li {
  flex-shrink: 0;
}

.jump-menu li:first-child {
  padding-left: 1.5em;
}

.jump-menu li:last-child {
  padding-right: 1.5em;
}

.jump-menu a {
  text-decoration: none !important;
  display: inline-block;
  padding: .5em .25em;
  line-height:1.25;
  outline: none;
}

.jump-menu a:focus,
.jump-menu a:active,
.jump-menu a.active {
  color: var(--ast-global-color-2);
}

@media (min-width: 980px) {
  .jump-menu {
    gap: 30px;
  }
}

/* Mobile */
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar, .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-below-header-bar, .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
  padding-left: 20px;
  padding-right: 20px;
}

.ast-main-header-nav-open:not(.ast-primary-sticky-header-active) #ast-mobile-header,
.ast-main-header-nav-open:not(.ast-primary-sticky-header-active)  #ast-mobile-header .ast-primary-header-bar {
  background: var(--ast-global-color-0) !important;
}

@media (max-width: 921px) {
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
    color: var(--ast-global-color-3);
  }
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
  background: var(--ast-global-color-1);
  margin: 0 -10px;
}

[id^="ast-mobile-header"] #menu-utility {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.ast-mobile-header-wrap .ast-mobile-header-content {
  transition: transform .5s ease-in-out 0s !important;
  transform: translatey(-100vh);
  display: block;
  visibility: hidden;
  opacity: 0;
}

.ast-main-header-nav-open.ast-hfb-header .ast-mobile-header-wrap .ast-mobile-header-content {
  transform: translatey(0);
  transition: transform .5s ease-in-out 0s !important;
  visibility: visible;
  opacity: 1;

}

[id^="ast-mobile-header"] .content-align-flex-start {
  position: absolute;
  width: 100%;
  min-height: calc(100vh - 129px) !important;
  background: var(--ast-global-color-0);
  padding: 0 10px 20px;
  border-top: none;
}

@media (min-width: 600px) {
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar, .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-below-header-bar, .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
    padding-left: 40px;
    padding-right: 40px;
  }
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus {
  outline: 0;
  border: none;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  stroke: var(--ast-global-color-1);
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg.ast-close-svg {
  fill: var(--ast-global-color-5);
  stroke: var(--ast-global-color-5);
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon:hover .ast-mobile-svg {
  fill: var(--ast-global-color-3);
  stroke: var(--ast-global-color-3);
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle {
  color: var(--ast-global-color-5);
  outline: none !important;
  top: 10px;
  right: 20px;
  padding: 0;
  border: 0;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu .menu-item > .ast-menu-toggle {
  display: none;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle .icon-arrow svg {
  display: none;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle .icon-arrow {
  position: relative;
  display: block;
  width: 60px;
  height: 40px;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle .icon-arrow::before,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle .icon-arrow::after {
  content:"";
  position: absolute;
  width: 18px;
  height: 3px;
  left: 21px;
  top: 18.5px;
  background-color: var(--ast-global-color-3);
  border-radius: 2px;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle .icon-arrow::before {
  transform: rotate(-90deg);
  transition: transform .2s ease-in-out;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.ast-submenu-expanded > .ast-menu-toggle .icon-arrow::before {
  transform: rotate(0deg);
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.ast-submenu-expanded > .menu-link {
  color: var(--ast-global-color-3);
  text-decoration: none;
  font-weight: bold;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link > .ast-icon.icon-arrow {
  display: none !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item .sub-menu .sub-menu {
  display: block !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item .sub-menu .menu-item .menu-link {
  padding-top: .5em;
  padding-bottom: .5em;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item .sub-menu .sub-menu .menu-item .menu-link {
  padding-left: 30px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6em;
}

/* Sticky */
.ast-primary-sticky-header-active #ast-desktop-header .site-header-primary-section-right,
.ast-sticky-active .site-header-primary-section-right,
.ast-primary-sticky-header-active .ast-mobile-header-content {
  display: none !important;
}

.ast-sticky-active .ast-primary-header-bar {
  background: transparent !important;
}

.ast-sticky-shrunk {
  width: 100vw;
}

.ast-sticky-shrunk:has(.jump-menu-wrapper) {
  background: var(--ast-global-color-5);
}

.ast-sticky-shrunk {
  display: flex;
}

.ast-sticky-shrunk .ast-container.site-primary-header-wrap,
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-sticky-shrunk .ast-primary-header-bar {
  padding-right: 0 !important;
}

.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-sticky-shrunk .ast-below-header-bar {
  padding-left: 0;
  padding-right: 10px;
}

.ast-sticky-shrunk .ast-below-header-wrap {
  flex: 1;
}

.ast-sticky-shrunk .ast-container.site-below-header-wrap {
  padding: 0 20px !important;
}

.ast-sticky-shrunk .ast-site-identity {
  margin-bottom: 0;
}

#ast-mobile-header:has(.menu-toggle.toggled) .ast-below-header-wrap {
  display: none;
}

.ast-primary-sticky-header-active #ast-mobile-header:has(.menu-toggle.toggled) .ast-below-header-wrap {
  display: block;
}

.ast-below-sticky-header-active #ast-mobile-header .ast-mobile-header-content {
  top: 75px !important;
}

/* Search */
@media (max-width: 1200px) {
  .ast-flex.ast-header-search {
  padding-left: 0;
  }
}

.astra-search-icon span.icon-search svg {
  display: none;
}
.astra-search-icon span.icon-search {
  display: block;
  width: 28px;
  height: 28px;
  background-image: url("/wp-content/themes/power/assets/svg/PW_Search.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.astra-search-icon span.icon-search:hover {
  filter: brightness(50%);
}

.search-form .icon-close svg {
  width: 24px;
  height: 24px;
}

/* Heading */
.ast-theme-transparent-header .entry-header.ast-no-thumbnail .entry-title {
  padding-top: 120px;
}

@media (min-width: 922px) {
  .ast-theme-transparent-header .entry-header.ast-no-thumbnail .entry-title {
    padding-top: 160px;
  }
}

/* Text */
header.entry-header .entry-title {
  font-weight: 900;
  font-size: 60px;
  font-size: 3.4rem;
}

@media (max-width: 921px) {
  header.entry-header .entry-title {
    font-size: 54px;
    font-size: 3rem;
  }
}

@media (max-width: 544px) {
  header.entry-header .entry-title {
    font-size: 44px;
    font-size: 2.4rem;
  }
}

/* Gravity Form */
.gform_required_legend {
  display: none;
}
.gform_wrapper.gravity-theme input[type="color"], .gform_wrapper.gravity-theme input[type="date"], .gform_wrapper.gravity-theme input[type="datetime-local"], .gform_wrapper.gravity-theme input[type="datetime"], .gform_wrapper.gravity-theme input[type="email"], .gform_wrapper.gravity-theme input[type="month"], .gform_wrapper.gravity-theme input[type="number"], .gform_wrapper.gravity-theme input[type="password"], .gform_wrapper.gravity-theme input[type="search"], .gform_wrapper.gravity-theme input[type="tel"], .gform_wrapper.gravity-theme input[type="text"], .gform_wrapper.gravity-theme input[type="time"], .gform_wrapper.gravity-theme input[type="url"], .gform_wrapper.gravity-theme input[type="week"], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
  border-radius: 12px !important;
  background: var(--ast-global-color-5);
  border-color: var(--ast-global-color-5);
  color: var(--ast-global-color-0) !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  outline: none;
  width: 100%;
}

.gform_wrapper.gravity-theme textarea {
  resize: none;
}

.gform_wrapper.gravity-theme input[type="color"]:focus, .gform_wrapper.gravity-theme input[type="date"]:focus, .gform_wrapper.gravity-theme input[type="datetime-local"]:focus, .gform_wrapper.gravity-theme input[type="datetime"]:focus, .gform_wrapper.gravity-theme input[type="email"]:focus, .gform_wrapper.gravity-theme input[type="month"]:focus, .gform_wrapper.gravity-theme input[type="number"]:focus, .gform_wrapper.gravity-theme input[type="password"]:focus, .gform_wrapper.gravity-theme input[type="search"]:focus, .gform_wrapper.gravity-theme input[type="tel"]:focus, .gform_wrapper.gravity-theme input[type="text"]:focus, .gform_wrapper.gravity-theme input[type="time"]:focus, .gform_wrapper.gravity-theme input[type="url"]:focus, .gform_wrapper.gravity-theme input[type="week"]:focus, .gform_wrapper.gravity-theme select:focus, .gform_wrapper.gravity-theme textarea:focus {
  border-color: var(--ast-global-color-0);
  border-style: solid;
}

.gform_wrapper.gravity-theme .gfield_label {
  display: inline-block;
  font-size: 1em;
  font-weight: inherit;
  margin-bottom: 8px;
  padding: 0;
}

.gform_wrapper.gravity-theme .white-button .gform_button {
  background: var(--ast-global-color-5);
  border-color: var(--ast-global-color-5);
  color: var(--ast-global-color-0);
}

.gform_wrapper.gravity-theme .gform-footer {
  margin-top: 1em;
  justify-content: center;
}

.gform_wrapper.gravity-theme .white-button .gform_button:hover,
.gform_wrapper.gravity-theme .white-button .gform_button:focus {
  background: var(--ast-global-color-4);
  border-color: var(--ast-global-color-4);
  color: var(--ast-global-color-0);
}

.gform_wrapper.gravity-theme .gfield_required .gfield_required_custom, .gform_wrapper.gravity-theme .gfield_required .gfield_required_text {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
  background: #fff9f9;
  color: #c02b0a !important;
}

.gform_wrapper.gravity-theme .line-fields input[type="color"], .gform_wrapper.gravity-theme .line-fields input[type="date"], .gform_wrapper.gravity-theme .line-fields input[type="datetime-local"], .gform_wrapper.gravity-theme .line-fields input[type="datetime"], .gform_wrapper.gravity-theme .line-fields input[type="email"], .gform_wrapper.gravity-theme .line-fields input[type="month"], .gform_wrapper.gravity-theme .line-fields input[type="number"], .gform_wrapper.gravity-theme .line-fields input[type="password"], .gform_wrapper.gravity-theme .line-fields input[type="search"], .gform_wrapper.gravity-theme .line-fields input[type="tel"], .gform_wrapper.gravity-theme .line-fields input[type="text"], .gform_wrapper.gravity-theme .line-fields input[type="time"], .gform_wrapper.gravity-theme .line-fields input[type="url"], .gform_wrapper.gravity-theme .line-fields input[type="week"], .gform_wrapper.gravity-theme .line-fields select, .gform_wrapper.gravity-theme .line-fields textarea {
  border: none;
  border-radius: 0 !important;
  padding: 0;
  border-bottom: 1px solid var(--ast-global-color-1);
}

.gform_wrapper.gravity-theme .line-fields textarea {
  padding: .75em;
  border: 1px solid var(--ast-global-color-1);
}

.gform_wrapper.gravity-theme .line-fields textarea:focus {
  border: 1px solid var(--ast-global-color-0);
}

.gform_wrapper.gravity-theme .line-fields input[type="color"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="date"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="datetime-local"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="datetime"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="email"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="month"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="number"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="password"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="search"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="tel"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="text"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="time"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="url"]:focus, .gform_wrapper.gravity-theme .line-fields input[type="week"]:focus, .gform_wrapper.gravity-theme .line-fields select:focus, .gform_wrapper.gravity-theme .line-fields textarea:focus {
  border-color: var(--ast-global-color-0);
}

.gform_wrapper.gravity-theme .line-fields input[type="color"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="date"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="datetime-local"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="datetime"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="email"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="month"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="number"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="password"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="search"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="tel"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="text"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="time"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="url"]::placeholder, .gform_wrapper.gravity-theme .line-fields input[type="week"]::placeholder, .gform_wrapper.gravity-theme .line-fields select::placeholder {
  color: var(--ast-global-color-1);
  opacity: 1;
}

.gform_wrapper.gravity-theme .line-fields .ginput_container--name {
  flex-direction: column;
}

.gform_wrapper.gravity-theme .line-fields .gform_fields > .gfield {
  margin-bottom: 30px;
}

.gform_wrapper.gravity-theme .line-fields .ginput_container--name > span:not(:last-child) {
  margin-bottom: 50px;
}

.gform_wrapper.gravity-theme .line-fields .ginput_container--name > span {
  padding: 0 !important;
}

.gform_wrapper.gravity-theme .line-fields  .gform-footer {
  margin-top: 0;
}

/* Membership Inquiry */
@media (min-width: 922px) {
  .horizontal-form .gform_fields {
    grid-template-areas:
"a a a a b b b b e e e e e e e e"
"c c c c d d d d e e e e e e e e";
  }

  .horizontal-form .gform_fields .gfield:nth-child(1) {
    grid-area: a;
  }
  .horizontal-form .gform_fields .gfield:nth-child(2) {
    grid-area: b;
  }
  .horizontal-form .gform_fields .gfield:nth-child(3) {
    grid-area: c;
  }

  .horizontal-form .gform_fields .gfield:nth-child(4) {
    grid-area: d;
  }

  .horizontal-form .gform_fields .gfield:nth-child(5) {
    grid-area: e;
  }
}

/* Contact / Tour */
#schedule-tour {
  overflow: hidden;
  margin-top: 10px;
  transition: all .25s ease-in-out .4s;
}

#schedule-tour > .wp-block-uagb-container {
  transform: translatey(-100%);
  opacity: 0;
  transition: all .5s ease-in-out;
}

#schedule-tour.open {
  margin-top: 0;
}

#schedule-tour.open > .wp-block-uagb-container {
  transform: translatey(0);
  opacity: 1;
}

#open-tour.expanded .wp-block-button__link {
  border: 2px solid var(--ast-global-color-4);
  background-color: var(--ast-global-color-4);
  color: var(--ast-global-color-0);
}

#open-tour.expanded .wp-block-button__link:hover {
  border: 2px solid var(--ast-global-color-4);
  background-color: var(--ast-global-color-4);
  color: var(--ast-global-color-0);
}

/* Lists */
body .ast-container .wp-block-uagb-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container > ul:not(:last-child),
body .ast-container .wp-block-uagb-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container > ol:not(:last-child) {
  margin-bottom: 1.5em;
}

.entry-content ul {
  list-style-type: none !important;
  padding-left: 0;
}

.entry-content ul:not(.jump-menu) > li {
  padding-left: 1.25em;
  position: relative;
}

.entry-content ul:not(.jump-menu) > li::before {
  font-family: "Font Awesome 6 Pro";
  content: "\f0da";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--ast-global-color-0);
  font-size: 1.2em;
  transform: scaley(.625);
}

.entry-content ol > li::marker {
  color: var(--ast-global-color-0);
  font-weight: 800;
  font-size: 1.1em;
}

.entry-content ol ol > li::marker {
  font-size: 1em;
  font-weight: 600;
}

/* Flip */
.o-flip-front .o-flip-content p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--alt-font);
}

.is-style-overlay-front .o-flip-front .o-flip-content::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--ast-global-color-1);
  opacity: .5;
  background-blend-mode: multiply;
  mix-blend-mode: multiply;
}

.o-flip-front .o-flip-content > h3 {
  margin: 0;
}

.o-flip-front .o-flip-content > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .wp-block-themeisle-blocks-flip.mobile-flip.anim > .o-flip-inner {
    transform: var(--flip-anim);
  }
}

/* Post Pager */
.single .post-navigation {
  border-top: 0;
  margin: 0;
  padding: 1em 0;
}

.single .post-navigation .nav-links {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  gap: 3rem;
}

.single .post-navigation .nav-next,
.single .post-navigation .nav-previous {
  width: auto;
  max-width: 50%;
}

@media (max-width: 480px) {
  .single .post-navigation .nav-links {
    display: block;
  }
  .single .post-navigation .nav-next, .single .post-navigation .nav-previous {
    max-width: 100%;
  }

  single .post-navigation .nav-next a {
    justify-content: end;
  }
}

.single .post-navigation a {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: .875rem;
  margin: 0;
  max-width: 100%;
  padding: 0 !important;
  color: var(--ast-global-color-0);
  outline: 0;
}

.single .post-navigation a:hover,
.single .post-navigation a:focus {
  color: var(--ast-global-color-1);
}

.single .post-navigation a i {
  color: #d8d8da;
}

.post-navigation .nav-previous::after {
  display: none;
}

/* Testimonial */
.wp-block-uagb-testimonial {
  position: relative;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.wp-block-uagb-testimonial::before {
  content:"";
  position: absolute;
  top: 0;
  left: 0;
  height: 54px;
  width: 72px;
  background-image: url("/wp-content/themes/power/assets/svg/High_QuoteMark.svg");
  background-repeat: no-repeat !important;
  background-position: top left;
  background-size: 70px auto;
}

.wp-block-uagb-testimonial::after {
  content:"";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 54px;
  width: 72px;
  background-image: url("/wp-content/themes/power/assets/svg/Lower_QuoteMark.svg");
  background-repeat: no-repeat !important;
  background-position: bottom right;
  background-size: 70px auto;
}

/* Slider */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-family: "Font Awesome 6 Pro" !important;
  font-weight: 800;
  transform: scaleY(.675);
}

.swiper-button-prev::after {
  content: "\f0d9";
}

.swiper-button-next::after {
  content: "\f0da";
}

/* Images */
.entry-content .wp-block-image,
.entry-content .wp-block-embed {
  margin-top: 1em;
  margin-bottom: 1em;
}

.entry-content .wp-block-image {
  width: auto !important;
}

/* Footer */
footer#colophon {
  background: var(--ast-global-color-2);
  padding: 20px 20px 0 0;
  color: var(--ast-global-color-5);
  font-family: var(--alt-font);
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row,
.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
  max-width: 1400px;
}

footer#colophon .site-primary-footer-wrap {
  border-radius: 0 100px 0 0;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
  align-items: flex-start;
  grid-column-gap: 60px;
}

#block-16 .wp-block-image img {
  max-width: 100%;
  width: 220px;
}

@media (min-width: 1200px) {
ul#menu-footer {
  display: flex;
  gap: 50px;
}
}

@media (min-width: 768px) {
  footer#colophon {
    padding: 40px 20px 0 0;
  }
}

@media (min-width: 1200px) {
  footer#colophon {
    padding: 80px 40px 0 0;
  }
}

@media (max-width: 921px) {
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    padding-bottom: 20px;
  }
}

@media (min-width: 641px) and (max-width: 921px) {

  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
    grid-column-gap: 40px;
  }

  .ast-header-break-point .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"] {
    display: flex !important;
  }

  .ast-header-break-point .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"] > * {
    width: 50%;
  }

  .ast-header-break-point .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"] > *:not(:first-child) {
    padding-left: 20px;
  }

  .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack .site-footer-section .menu {
    overflow: hidden;
  }

  .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack .site-footer-section .menu > li {
    width: 48%;
    float: left;
    margin-right: 2%;
  }
}


@media (max-width: 640px){
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    padding-bottom: 20px;
  }

   .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
    margin-bottom: 0;
  }

  .widget_nav_menu .menu-footer-container ul ul.sub-menu {
  display: none;
  }

  .ast-footer-copyright p {
    font-size: .675rem;
    line-height: 1.3;
  }
}

ul#menu-footer .menu-item .menu-link,
footer#colophon a {
  color: var(--ast-global-color-5);
}

ul#menu-footer .menu-item .menu-link:hover,
footer#colophon a:hover {
  color: var(--ast-global-color-3);
}

ul#menu-footer > .menu-item {
  margin-bottom: 1em;
}

ul#menu-footer > .menu-item > .menu-link {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding-bottom: 0;
}

ul#menu-footer > .menu-item > .sub-menu > .menu-item {
  padding: 0;
  font-size: .7rem;
  line-height: 1.2;
}

ul#menu-footer > .menu-item > .sub-menu .menu-link {
  display: inline-block;
  padding: .25rem 0;
  font-weight: 600;
}

#block-20 {
  margin-top: 50px;
}

#block-20 .wp-block-group {
  justify-content: end;
  gap: 1ch;
}

#block-20 .wp-block-group  h3 {
  font-size: 1rem;
  font-weight: 600;
}

#block-20 li a {
  padding: 0;
}

#block-20 li a svg {
  width: 30px;
  height: 30px;
}

#menu-footer-utility {
  display: flex;
  justify-content: end;
  gap: 40px;
}

@media (max-width: 921px) {
    #block-20 .wp-block-group {
    justify-content: start;
  }
  #menu-footer-utility {
    display: flex;
    justify-content: start;
  }
}

#menu-footer-utility a {
  color: var(--ast-global-color-5);
  font-size: 14px;
  font-size: .66rem;
  font-weight: 500;
}

.ast-builder-grid-row-3-equal .ast-builder-grid-row.site-primary-footer-inner-wrap {
  grid-template-columns: 1fr;
  max-width: 400px;
  justify-content: center;
  row-gap: 30px;
}

@media (min-width: 800px) and (max-width: 921px) {
  .ast-builder-grid-row-3-equal .ast-builder-grid-row.site-primary-footer-inner-wrap {
    max-width: 1240px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 2fr auto;
  }

  .ast-builder-grid-row-3-equal .ast-builder-grid-row.site-primary-footer-inner-wrap > .site-footer-primary-section-1
  {
    grid-area: 1 / 1 / 2 / 2; }
  .ast-builder-grid-row-3-equal .ast-builder-grid-row.site-primary-footer-inner-wrap > .site-footer-primary-section-2 {
    grid-area: 1 / 2 / 2 / 3; }
  .ast-builder-grid-row-3-equal .ast-builder-grid-row.site-primary-footer-inner-wrap > .site-footer-primary-section-3 {
    grid-area: 2 / 1 / 3 / 3; }
}

@media (min-width: 922px) {
.ast-builder-grid-row-3-equal .ast-builder-grid-row.site-primary-footer-inner-wrap {
  max-width: 1240px;
  grid-template-columns: 1.5fr 2fr 1fr;
  }
}

#block-18 {
  margin-top: 60px;
}

.wp-block-search__inside-wrapper {
  position: relative;
  outline: none !important;
  border: 0;
  max-width: 20rem;
  border-radius: 14px;
  overflow: hidden;
  background: white;
}

.wp-block-search__inside-wrapper .wp-block-search__input {
  outline: 0 !important;
  box-shadow: none !important;
  border: none ! important;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ast-global-color-2);
  font-family: var(--alt-font);
}

.wp-block-search__button.has-icon .search-icon {
  display: none;
}

.wp-block-search__button.has-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: none !important;
  margin: 0 !important;
  display: block;
  width: 28px;
  height: 38px;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  background-image: url("/wp-content/themes/power/assets/images/PW_Search.svg") !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Facets */
.fs-wrap {
  width: 100% !important;
  max-width: 100%;
  z-index: 10;
}

.fs-wrap .fs-label-wrap {
  background-color: var(--ast-global-color-5);
  border-radius: 12px;
  border: 1.5px solid var(--ast-global-color-0);
}

.fs-label-wrap .fs-label {
  padding: 9px 22px 9px 8px;
  color: var(--ast-global-color-0);
  font-weight: 500;
}

.fs-wrap .fs-arrow {
  border: none;
  background: url('/wp-content/themes/power/assets/svg/Arrow-Down-Green.svg') no-repeat center center;
  width: .75em;
  height: 1em;
}

.facetwp-facet.facetwp-facet-categories {
  margin-bottom: 0;
}

.facetwp-facet-load_more {
  text-align: center;
}

/* Pages */
article.page.type-page .entry-header:not(.ast-no-title) {
    margin-top: 40px;
}

article.page.type-page .entry-content {
  padding-bottom: 60px;
}

article.page.type-page .entry-content:has(.wp-block-uagb-container) {
  padding-bottom: 0;
}

/* Articles */
.single-post #primary,
.single-post.ast-plain-container.ast-no-sidebar #primary{
  margin-top: 0;
}

.single-post .ast-single-entry-banner {
  position: relative;
  overflow: hidden;
  margin: .5rem auto 2rem;
}

@media (min-width: 768px)  {
  .single-post .ast-single-entry-banner {
    min-height: 440px;
    justify-content: center;
  }
}

.single-post .ast-single-entry-banner .post-thumb-img-content {
  margin: 0 -40px;
  position: relative;
}

.single-post .ast-single-entry-banner .post-thumb-img-content::before {
  content: "";
  position: absolute;
  pointer-events: none;
  top: -0px;
  left: -0px;
  width: calc(100% + 0px + 0px);
  height: calc(100% + 0px + 0px);
  border-color: inherit;
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 360px;
  background-attachment: scroll;
  mix-blend-mode: screen;
  background-image: var(--overlay-bg);
  background-clip: padding-box;
  opacity: 0.25;
}

.single-post .ast-single-entry-banner .ast-container {
  padding-bottom: 0px;
}

.ast-single-entry-banner[data-post-type="post"] .ast-container .entry-title {
  margin-top: 40px;
  margin-bottom: 1rem;
}

@media (min-width: 640px)  {
  .single-post .ast-single-entry-banner .post-thumb-img-content {
    position: absolute;
    margin: 0;
    right: 0;
    width: 55%;
    height: 100%;
    top: 50%;
    transform: translatey(-50%);
  }

  .single-post .ast-single-entry-banner .post-thumb-img-content::before {
    background-size: 480px;
  }

  .single-post .ast-single-entry-banner .post-thumb-img-content::after {
    content:'';
    position: absolute;
    width: 25%;
    height: 100%;
    left: 0;
    background: linear-gradient(to left, transparent 0, var(--ast-global-color-6) 85%);
  }

  .ast-single-entry-banner[data-post-type="post"] .post-thumb img {
    object-fit: cover;
  }
  .ast-single-entry-banner[data-post-type="post"] .ast-container:has(.post-thumb) .entry-title,
  .ast-single-entry-banner[data-post-type="post"] .ast-container:has(.post-thumb) .entry-meta {
    max-width: 50%;
    z-index: 2;
    position: relative;
  }
}

@media (min-width: 1080px)  {
  .single-post .ast-single-entry-banner .ast-container {
    padding-bottom: 60px;
  }
  .ast-single-entry-banner[data-post-type="post"] .ast-container .entry-title {
  margin-top: 80px;
  }
}

.ast-single-entry-banner[data-post-type="post"] .entry-meta {
  font-size: 0;
}

.ast-single-entry-banner[data-post-type="post"] .entry-meta .author a {
  pointer-events: none;
  color: inherit;
}

.ast-single-entry-banner[data-post-type="post"] .entry-meta .published:before {
  content: "Published: "
}

.ast-single-entry-banner[data-post-type="post"] .entry-meta .author a::before {
  content: "By: "
}

.ast-single-entry-banner[data-post-type="post"] .entry-meta > * {
  display: block;
}

.single.single-post #content {
  z-index: 2;
}

.single-post .resources-title {
  text-align: center;
  margin-top: 3rem;
}

.single-post .resource-slider {
  margin: 1.5rem auto 2rem;
}

/* Article Teaser */
.article-list,
.resource-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}

.article-list--item {
  position: relative;
}

.article-list-wrapper + .article-list-wrapper,
[class*="-list-wrapper"] + [class*="-list-wrapper"] {
  margin-top: 20px;
}

[class*="-list"] > .article-list--item {
  max-width: 600px;
  container-type: inline-size;
}

[class*="-list"] > .article-list--item a {
  display: block;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {

  .resource-list:not(.cols-1),
  .article-list:not(.cols-1){
    grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  }
}

@media (min-width: 1140px) {
    .resource-list.cols-3,
  .article-list.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  }

  .resource-list.cols-4,
  .article-list.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  }

    .resource-list:not(.cols-1):not(.cols-2):not(.cols-3):not(.cols-4),
  .article-list:not(.cols-1):not(.cols-2):not(.cols-3):not(.cols-4) {
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  }
}

.article-list--image .wp-post-image {
  object-fit: cover;
  height: 100%;
}

.article-list--title h3,
.entry-content .article-list--title h3 {
  position: absolute;
  bottom: 0;
  margin: 0;
  z-index: 3;
  width: 100%;
  margin: 0;
}

.resource-list-title,
.entry-content .resource-list-title {
  padding: .35em 1em;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  background: var(--ast-global-color-6);
  letter-spacing: 0;
  display: block;
  color: var(--ast-global-color-5);
  text-decoration: none !important;
}

.resource-list-title:hover,
.entry-content .resource-list-title:hover {
  color: var(--ast-global-color-5);
}

.article-list--title h3::after,
.entry-content .article-list--title h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 1200%;
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: contain;
  background-attachment: scroll;
  mix-blend-mode: screen;
  background-image: var(--overlay-bg);
  background-clip: padding-box;
  opacity: 0.25;
  width: 75%;
  max-width: 300px;
  pointer-events: none;
}

.article-list--item a,
.entry-content .article-list--item a {
  text-decoration: none;
}

.article-list--front {
  position: relative;
}

.article-overlay-title {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 0;
  opacity: 0;
  transition: all .3s ease-in-out;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  color: white !important;
  font-weight: 500;
  font-size: 1rem;
  background: rgba(var(--slide-overlay-rgb),.8);
}

.article-overlay-title > div {
  padding: 30px 20px 60px 20px;
  text-align: center;
  display: block;
  width: 100%;
}

.resource-slider .article-overlay-title > div {
  padding: 30px 35px 60px 35px;
}

@media (min-width: 1200px) {
  .article-overlay-title > div {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .article-overlay-title > div {
    padding: 20px 16px 40px;
    font-size: .825rem;
    line-height: 1.25;
  }

  .resource-slider .article-overlay-title > div {
    padding: 10px 35px 40px 35px;
  }

  .resource-slider {
    margin-left: -30px !important;
    margin-right: -30px !important;
  }
}

@media (max-width: 600px) {
  a.resource-list-title {
    position: relative;
    padding-right: 30px;
  }
  a.resource-list-title::after {
    position: absolute;
    right: .5em;
    top: 50%;
    font-family: "Font Awesome 6 Pro";
    content: "\f0da";
    transform: scaleX(1.45) translateY(-50%);
    transition: all .3s;
    font-weight: bold;
  }
}

.article-list--item a .article-list--front {
  overflow: hidden;
}

.article-list--item:hover .article-overlay-title,
.article-list--item:active .article-overlay-title,
.article-list--item.touch-hover-effect .article-overlay-title {
  top: 0;
  opacity: 1;
}

/* Post Slider */
.resource-slider .slick-slide {
  padding: 0 10px;
}

.resource-slider .slick-slide > div {
  margin: 0 auto;
}

.resource-slider .slick-slide.slick-current {
  opacity: 1;
}

.resource-slider .slick-list {
    margin: 0 -10px;
}

.resource-slider .slick-prev,
.resource-slider .slick-next {
  width: 40px;
  height: 60px;
  box-shadow: none;
  z-index: 10;
}

.resource-slider .slick-prev {
  left: 3px;
}

.resource-slider .slick-next {
  right: 3px;
}

.resource-slider .slick-prev::before, .resource-slider .slick-next::before {
  font-family: "Font Awesome 6 Pro";
  color: var(--ast-global-color-5);
  opacity: .7;
  font-size: 60px;
  font-weight: 600;
  display: inline-block;
  transform: scaleY(.75);
}

.resource-slider .slick-prev:hover::before, .resource-slider .slick-next:hover::before {
  opacity: 1;
}

.resource-slider .slick-prev::before {
  content: "\f0d9";
}

.resource-slider .slick-next::before {
  content: "\f0da";
}

@media (max-width: 480px) {
  .resource-slider .slick-current .article-list--item .article-overlay-title,
  {
    top: 0;
    opacity: 1;
    transition: all .5s ease-in-out 1.3s;
  }
}

/* Videos */
.entry-content > .video-teaser--trigger,
.entry-content > .video-teaser--wrapper {
  margin: 0;
}

.fancybox-slide--video .fancybox-content {
  aspect-ratio: 16/9;
  min-height: 200px;
}

.video-wrapper {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.video-wrapper > iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}

.video-teaser--wrapper {
  position: relative;
  height: auto;
  padding-bottom: 0;
  overflow: hidden;
}

.video-teaser--wrapper > iframe {
  top: 0;
}

.video-teaser--trigger,
.article-list--front.has-video {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.video-teaser--trigger::after,
.article-list--front.has-video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity: .6;
  pointer-events: none;
  width: 60px;
  height: 60px;
  max-width: 40%;
  max-height: 40%;
  background: url(/wp-content/themes/power/assets/images/play_icon.svg) no-repeat center center;
    background-size: auto;
  background-size: contain;
  transition: all .25s ease-in-out;
  z-index: 1;
}

.single-post-video {
  margin: -20px auto 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 10px 10px 0 0 var(--ast-global-color-1);
  max-width: 800px;
}

.single-post-video::before {
  width: 180px;
  height: 180px;
  max-width: 50%;
  max-height: 50%;
}

/* FAQ */
.uagb-faq-item .uagb-faq-questions .uagb-faq-icon-wrap,
.uagb-faq-item .uagb-faq-questions .uagb-faq-icon-wrap.uagb-icon-active{
  display: none !important;
}

.uagb-faq-item .uagb-faq-questions {
  position: relative;
  padding-right: 2em !important;
}

.uagb-faq-item .uagb-faq-questions::before,
.uagb-faq-item .uagb-faq-questions::after {
    content: "";
    position: absolute;
    right: 10px;
    width: 1em;
    height: .175em;
    background: var(--ast-global-color-0);
    border-radius: .5em;
    top: 1em;
}

.uagb-faq-item .uagb-faq-questions::before {
    transform: rotate(-90deg);
  transition: transform .25s ease-in-out;
}

.uagb-faq-item-active.uagb-faq-item .uagb-faq-questions::before {
    transform: rotate(0deg);
}

/* Accordion */
.wp-block-themeisle-blocks-accordion:not(.has-icon) > .wp-block-themeisle-blocks-accordion-item > .wp-block-themeisle-blocks-accordion-item__title {
  padding-right: 2.25em !important;
}

.wp-block-themeisle-blocks-accordion:not(.has-icon) > .wp-block-themeisle-blocks-accordion-item:not([open]) > .wp-block-themeisle-blocks-accordion-item__title::before,
.wp-block-themeisle-blocks-accordion:not(.has-icon) > .wp-block-themeisle-blocks-accordion-item:not([open]) > .wp-block-themeisle-blocks-accordion-item__title::after,
.wp-block-themeisle-blocks-accordion:not(.has-open-icon) > .wp-block-themeisle-blocks-accordion-item[open] > .wp-block-themeisle-blocks-accordion-item__title::before,
.wp-block-themeisle-blocks-accordion:not(.has-open-icon) > .wp-block-themeisle-blocks-accordion-item[open] > .wp-block-themeisle-blocks-accordion-item__title::after {
  content: "";
  position: absolute;
  right: .5em;
  width: 1em;
  height: 0;
  border-bottom: .175em solid;
  border-radius: .5em;
  top: 1.5em;
  transform: rotate(0deg);
}

.wp-block-themeisle-blocks-accordion:not(.has-icon) > .wp-block-themeisle-blocks-accordion-item:not([open]) > .wp-block-themeisle-blocks-accordion-item__title::before {
  transform: rotate(-90deg) translatey(-.04em);
  transition: transform .25s ease-in-out;
}

.wp-block-themeisle-blocks-accordion:not(.has-open-icon) > .wp-block-themeisle-blocks-accordion-item[open] > .wp-block-themeisle-blocks-accordion-item__title::after,
.wp-block-themeisle-blocks-accordion:not(.has-open-icon) > .wp-block-themeisle-blocks-accordion-item[open] > .wp-block-themeisle-blocks-accordion-item__title::before {
  transform: rotate(0deg);
  transition: transform .25s ease-in-out;
}

/* Table */
.is-style-plan-table h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.is-style-plan-table .tablepress > :where(thead, tfoot) > tr > * {
  background: transparent;
  color: inherit;
  font-weight: normal;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}


.is-style-plan-table .tablepress > :where(thead) + tbody > :where(:not(.child)) > *,
.is-style-plan-table .tablepress > tbody > * ~ :where(:not(.child)) > *,
.is-style-plan-table .tablepress > tfoot > :where(:first-child) > * {
  border: none !important;
}

.is-style-plan-table  .tablepress > :not(caption) > * > * {
  padding: .125em;
}

.is-style-plan-table td.column-3, .is-style-plan-table td.column-4 {
  text-align: center;
  font-size: 1.25em;
  padding-top: .25em;
}

.is-style-plan-table td.column-3 small,
.is-style-plan-table td.column-4 small {
  font-size: .6em;
}

.is-style-plan-table td:not(.column-2) {
  font-weight: bold;
}

.is-style-plan-table td.column-2 {
  font-size: .75rem;
}
