@media (max-width: 767px) {
  .ase-mobile-first  { order: 1; }
  .ase-mobile-second { order: 2; }
  .ase-mobile-third  { order: 3; }
}

@media (max-width: 767px) {
  body.single-post .primary-sidebar,
  body.single-post #secondary {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.single-post .ase-post-video {
    display: block !important;
    visibility: visible !important;
    position: fixed !important;
    top: 80px;
    left: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
    z-index: 99999 !important;
  }

  body.single-post.admin-bar .ase-post-video {
    top: 126px;
  }

  body.single-post #mobile-header .site-bottom-header-wrap {
  padding-top: 56.25vw;
}
}

@media (max-width: 767px) {
    .ase-post-video {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .ase-post-video .presto-player,
    .ase-post-video presto-player {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
  .kb-row-layout-id692_5d889a-c8 .presto-block-video {
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
  .kb-row-layout-id692_5d889a-c8 + :not(.ase-mobile-header-ad) {
    padding-top: 0 !important;
  }
}

@media (max-width: 767px) {
    body.single-post .ase-post-video .presto-block-video {
        margin: 0 !important;
    }
}

/* Keep the consent banner above the video player */
.cmplz-cookiebanner {
  z-index: 2147483647 !important;
}

/* Hide the floating tab; retain the footer settings link */
#cmplz-manage-consent .cmplz-manage-consent {
  display: none !important;
}

/* Featured slider: mobile headline sizing and spacing */
@media (max-width: 767px) {
  .ase-hero-carousel .entry-wrapper {
    padding: 16px !important;
  }

  .ase-hero-carousel .entry-title {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
  }

  .ase-hero-carousel .entry-title a {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

.ase-mobile-header-ad {
  width: 100%;
  box-sizing: border-box;
  text-align: center !important;
}
@media (max-width: 767px) {
  body.home .ase-home-video {
    width: 100vw;
    max-width: none;
    margin-inline: calc((100% - 100vw) / 2);
  }
}
@media (max-width: 767px) {
  body.home #mobile-header .site-bottom-header-wrap:not(:has(.asewr-ase-header-placement)) {
    display: none;
  }
}
@media (max-width: 767px) {
  body.home #primary.content-area {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  body.home #primary .ase-mobile-header-ad {
    padding-top: 20px;
    padding-bottom: 16px;
  }
}
@media (max-width: 767px) {
  body.home .ase-hero-carousel {
    width: calc(100vw - 24px);
    max-width: none;
    margin-inline: calc((100% - 100vw + 24px) / 2);
  }
}
@media (max-width: 767px) {
  body.home .kb-row-layout-id692_5d889a-c8 {
    position: sticky;
    top: 80px;
    z-index: 10;
  }

  body.home.admin-bar .kb-row-layout-id692_5d889a-c8 {
    top: 126px;
  }
}