/**
 * Stackable Child
 */
/* Hero Section Entry Headers
----------------------------------------------- */
[data-prefix=single_page] .entry-header {
  row-gap: var(--theme-content-spacing);
}

@media (min-width: 1000px) {
  .header-hover {
    margin-top: -100px !important;
    margin-bottom: 70px !important;
  }
}
@media (max-width: 999.98px) {
  .header-hover:after {
    content: "" !important;
    display: block;
    position: absolute;
    top: 0;
    left: calc(0px - var(--stk-block-background-padding));
    height: 100%;
    width: 100vw;
    z-index: -1;
    background-color: var(--stk-block-background-color);
  }
}

/* Hero Containers
----------------------------------------------- */
.stk-block-background:not(.stk--no-padding) {
  padding-top: 6em;
  padding-bottom: 6em;
  margin-bottom: 0;
}
@media (max-width: 999.98px) {
  .stk-block-background:not(.stk--no-padding) {
    padding-top: 4em;
    padding-bottom: 4em;
  }
}
@media (max-width: 698.98px) {
  .stk-block-background:not(.stk--no-padding) {
    padding-top: 3em;
    padding-bottom: 3em;
  }
}

/* Typography - Subtitles
----------------------------------------------- */
.stk-subtitle {
  --stk-subtitle-size: 0.85rem;
  line-height: 1rem;
}

/* Buttons
------------------------------------------- */
.stk-block-button:not(.is-style-link).stk-button-small .stk-button {
  --stk-button-padding: 12px 36px !important;
}
.stk-block-button:not(.is-style-link).stk-button-large .stk-button {
  --stk-button-padding: 24px 60px !important;
}
.stk-block-button:hover .stk-button {
  box-shadow: 0px 5px 30px -10px var(--theme-button-background-initial-color) !important;
}

/* Header Top Row Notification Banner
----------------------------------------------- */
.notification-spacer {
  transition: none !important;
}

body:not(.stk-notif-active) #header {
  margin-bottom: calc(0px - var(--header-height));
}
body:not(.stk-notif-active)[data-header] .ct-header [data-row*=top] {
  visibility: hidden;
  height: var(--height);
}
body:not(.stk-notif-active) .notification-spacer {
  height: var(--header-height) !important;
}

/* Homepage Service Grid
----------------------------------------------- */
.service-grid > .stk-block-content {
  justify-content: center;
}
.service-grid .stk-block-image-box {
  padding: 0px;
  border-radius: 50%;
}
.service-grid .stk-block-image-box .stk-block-image {
  border-style: solid !important;
  border-width: 20px !important;
  border-radius: 50%;
}
.service-grid .stk-block-image-box .stk-block-image .stk-img-wrapper {
  aspect-ratio: 1/1 !important;
  height: auto !important;
  --stk-gradient-overlay: 0 !important;
}
.service-grid .stk-block-image-box .stk-block-image .stk-img-wrapper img {
  -o-object-fit: cover;
     object-fit: cover;
}
.service-grid .stk-block-image-box:where(.stk-hover-parent:hover, .stk-hover-parent.stk--is-hovered) .stk-block-image .stk-img-wrapper {
  --stk-gradient-overlay: 0.7 !important;
}

.service-grid .stk-block-image-box .stk-block-column {
  align-self: flex-end !important;
}
.service-grid .stk-block-image-box .stk-block-column .stk-block-column__content {
  padding: 1em 1em 2em !important;
  box-shadow: none !important;
}
.service-grid .stk-block-image-box .stk-block-column .stk-block-column__content .stk-block-heading__text {
  font-size: clamp(1.25rem, 1.0769rem + 0.7692vw, 1.75rem);
  text-transform: uppercase;
  transform: scale(1);
}
@media (max-width: 999.98px) {
  .service-grid .stk-block-image-box .stk-block-column .stk-block-column__content {
    padding: 0.85em 0.85em 1.25em !important;
  }
}
.service-grid .stk-block-image-box:where(.stk-hover-parent:hover, .stk-hover-parent.stk--is-hovered) .stk-block-column .stk-block-column__content {
  padding-bottom: 2.5em !important;
}
.service-grid .stk-block-image-box:where(.stk-hover-parent:hover, .stk-hover-parent.stk--is-hovered) .stk-block-column .stk-block-column__content .stk-block-heading__text {
  transform: scale(1);
}

/* Homepage Sponsor Carousel
----------------------------------------------- */
.stk-block-carousel.vertical-center .wp-block-gallery,
.stk-block-carousel.vertical-center .stk-block-carousel__slider {
  align-items: center;
}
.stk-block-carousel.vertical-center .wp-block-gallery > figure,
.stk-block-carousel.vertical-center .stk-block-carousel__slider > figure {
  text-align: center;
  margin-bottom: 0 !important;
}
.stk-block-carousel.vertical-center .wp-block-gallery > figure img,
.stk-block-carousel.vertical-center .stk-block-carousel__slider > figure img {
  max-height: 150px;
  width: auto;
}

/* Testimonials - Story Videos
----------------------------------------------- */
.stk-block-video-popup .stk-block-image.testimonial-video-upload .stk-img-wrapper {
  border-radius: 12px;
}
.stk-block-video-popup .stk-block-image.testimonial-video-upload .stk-img-wrapper video {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
}
.story-type-sponsor-story .stk-block-video-popup .stk-block-image.testimonial-video-upload .stk-img-wrapper {
  aspect-ratio: 9/16 !important;
}

.plyr-sponsor-story .gslide-video {
  max-width: 360px !important;
}
.plyr-sponsor-story .plyr__video-wrapper {
  aspect-ratio: 9/16 !important;
}