/**
* Home
*/
@media (max-width: 767px) {
  .wdse-media-logos {
    justify-content: space-around;
  }
}

/**
 * General
 */
.wdse-heading-title {
  width: calc(100% - 60px);
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .wdse-heading-title {
    width: calc(100% - 40px);
  }
}

@media (max-width: 767px) {
  .wdse-heading-title {
    width: calc(100% - 20px);
  }
}
/* Icon list */
/* .wdse-icon-list-item {
 .kadence-info-box-image-inner-intrisic {
   display: flex;
   width: 18px;
   flex-shrink: 0;
 }
}
.wdse-icon-list-2 {
 li {
   padding: 15px 0 !important;
 }
} */

/* Decorative divider */
:is(.wdse-deco-divider, .wdse-deco-divider-wrapper) {
  position: relative;
  margin-block-start: 0;
  &::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 9px);
    height: 0.5px; /* Line thickness */
    background-color: var(--wp--preset--color--contrast-4);
    transform: translateY(-50%);
  }
  &::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0.5px solid var(--wp--preset--color--contrast-4);
    /* background-color: var(--wp--preset--color--base-2); */
    transform: translateY(-50%);
  }
}

.wdse-deco-divider-wrapper::before,
.wdse-deco-divider-wrapper::after {
  top: 0%;
}

.wdse-deco-divider.light,
.wdse-deco-divider-wrapper.light {
  &::before {
    background-color: var(--wp--preset--color--base);
  }
  &::after {
    border-color: var(--wp--preset--color--base);
  }
}
.wdse-deco-divider.dark,
.wdse-deco-divider-wrapper.dark {
  &::before {
    background-color: var(--wp--preset--color--contrast);
  }
  &::after {
    border-color: var(--wp--preset--color--contrast);
  }
}
/* Styles for high-density displays */
@media (min-resolution: 2dppx) {
  :is(.wdse-deco-divider, .wdse-deco-divider-wrapper) {
    &::before {
      height: 1px; /* Line thickness */
    }
    &::after {
      border: 1px solid var(--wp--preset--color--contrast-4);
    }
  }
}

/* Inner Scroll section */
@media (min-width: 768px) {
  .smooth-scroll-container {
    height: 475px; /* Set your desired height */
    overflow-y: scroll;
    scrollbar-width: none; /* Hides scrollbar in Firefox */
    -ms-overflow-style: none; /* Hides scrollbar in IE/Edge */
    scroll-behavior: smooth;
  }

  .smooth-scroll-container::-webkit-scrollbar {
    display: none; /* Hides scrollbar in Chrome, Safari */
  }
}

/* Page Template */
.wdb-page-contained-template {
  p {
    max-width: 100%;
    img {
      max-width: 400px;
      height: auto;
    }
  }
  iframe {
    max-width: 100%;
  }
}
/* Modal */
/* .modal .modal-content {
 max-width: 914px;
}
.modal-content {
 background-color: var(--wp--preset--color--base-2);
} */

/* popup */
.wdse-popup-col2 {
  position: relative;
  .kt-inside-inner-col {
    margin-left: -2px !important;
  }
}

.wdse-popup-col2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 100%;
  top: 0;
  left: -2px;
  bottom: 0;
  background-color: var(--wp--preset--color--base-3);
  z-index: 99999999999999;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

@media only screen and (max-width: 767px) {
  .wdse-popup-col2 {
    margin-left: 0;
    margin-top: -1px;
  }
  .wdse-popup-col2::after {
    height: 50px;
    width: 100%;
    top: -1px;
    left: 0;
    right: 0;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
  }
}

.wdse-lp-form-col2::after {
  content: '';
  position: absolute;
  height: 50px;
  width: 100%;
  top: -1px;
  left: 0;
  right: 0;
  background-color: var(--wp--preset--color--base-3);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.kadence-conversions-close {
  border-radius: 50%;
  top: 16px !important;
  right: 16px !important;
}

/* Stroke border */
.btw-stroke-border,
.btw-framed-heading,
.btw-one-blog .kt-row-column-wrap,
.btw-popup .kt-row-column-wrap {
  position: relative;
  border-radius: 2px !important;
}
.btw-stroke-border::after,
.btw-framed-heading::after,
.btw-one-blog .kt-row-column-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.15s ease;
  pointer-events: none;
  border-style: solid;
  border-width: 12px;
  border-image-slice: 12; /* should match the border width */
  border-image-outset: 1px;
  /* border-image-repeat: round; */
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}
.btw-stroke-border.has-opacity-hvr-effect::after,
.btw-framed-heading.has-opacity-hvr-effect::after {
  opacity: 75%;
}
.btw-stroke-border.has-opacity-hvr-effect:hover {
  &::after {
    opacity: 100%;
  }
  .btw-framed-heading.has-opacity-hvr-effect::after {
    opacity: 100%;
  }
}
.btw-stroke-border.is-gold-on-hvr:hover::after {
  filter: invert(60%) sepia(50%) saturate(400%) hue-rotate(5deg) brightness(90%)
    contrast(70%);
  border-image-slice: 7;
  border-image-outset: 3px;
}
@media (min-width: 600px) and (max-width: 767px) {
  .btw-stroke-border.btw-testimonial::after,
  .btw-framed-heading::after {
    border-image-slice: 8;
  }
}
@media (max-width: 599px) {
  .btw-stroke-border.btw-testimonial::after,
  .btw-framed-heading::after {
    border-image-slice: 4;
  }
}

.btw-stroke-border.btw-testimonial::after {
  border-image-source: url('/wp-content/uploads/2026/03/testimonial_border.svg');
}

.btw-stroke-border.btw-testimonial.blue-stroke::after {
  border-image-source: url('/wp-content/uploads/2026/03/testimonial_border_blue.svg');
}

.btw-stroke-border.btw-one-quote::after {
  border-image-source: url('/wp-content/uploads/2026/04/one_point_border.svg');
}

.btw-stroke-border .kt-row-column-wrap {
  background-color: var(--wp--preset--color--base);
}
.btw-stroke-border.btw-one-point::after,
.btw-one-blog .kt-row-column-wrap::after {
  border-image-source: url('/wp-content/uploads/2026/03/one_story_border.svg');
}

.btw-stroke-border.btw-one-story::after {
  border-image-source: url('/wp-content/uploads/2026/03/one_story_border.svg');
}

.btw-stroke-border.btw-guide-form-border::after {
  border-image-source: url('/wp-content/uploads/2026/04/guide_container_border.svg');
}

.btw-framed-heading::after {
  border-image-source: url('/wp-content/uploads/2026/03/frame_tag.svg');
  border-image-slice: 11;
}

.btw-framed-heading.blue-tag::after {
  border-image-source: url('/wp-content/uploads/2026/03/frame_tag_blue.svg');
}

.btw-framed-heading.blue-tag.large::after {
  border-image-source: url('/wp-content/uploads/2026/03/about-me-tag-frame.svg');
  border-width: 19px;
  border-image-slice: 19;
}

.btw-framed-heading.blog-tag::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 8px solid;
  border-image-source: url('/wp-content/uploads/2026/03/blog_tag_border.svg');
  border-image-slice: 7;
  border-image-repeat: stretch;
  pointer-events: none;
}

.wp-singular.single-post .btw-framed-heading.blog-tag::after {
  filter: invert(100%) brightness(200%);
}

.btw-framed-heading.blog-tag:hover {
  &::after {
    border-image: none;
    border: none;
  }
  a {
    color: var(--wp--preset--color--base) !important;
  }
}

/* Horizontal list */
.btw-horizontal-list :is(img, figure) {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .btw-horizontal-list {
    flex-direction: column;
    align-items: start;
  }
}

@media (min-width: 1025px) {
  .btw-tagged-cta {
    position: relative;
    &::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background-image: url('/wp-content/uploads/2026/03/top_right_tag.svg');
      background-size: auto;
      background-repeat: no-repeat;
      background-position: calc(50% + 300px) calc(100% - 165px);
      pointer-events: none;
    }
    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('/wp-content/uploads/2026/03/bottom_left_tag.svg');
      background-size: auto;
      background-repeat: no-repeat;
      background-position: calc(50% - 300px) calc(100% - 45px);
      pointer-events: none;
    }
  }
}

.btw-read-more-btn svg {
  transition: transform 0.2s ease;
}

.btw-read-more-btn:hover svg,
.case-study-sidebar-btn:hover .btw-read-more-btn svg {
  transform: rotate(-45deg);
}

.btw-read-more-btn {
  box-shadow: none;
}

.btw-start-here-point-col-1 img {
  transition: all 0.2s ease;
}

.btw-start-here-point-col-1 figure:not(.btw-clip) img {
  opacity: 0.8;
}

.btw-start-here-point-col-1:hover figure:not(.btw-clip) img {
  transform: scale(1.3);
  opacity: 1;
}

:is(.wp-site-blocks, .kadence-conversion) form input:is(:active, :focus) {
  background-color: var(--wp--preset--color--base-3) !important;
}

/* Form input border-image */
:is(.wp-site-blocks, .kadence-conversion)
  form
  :is(
    input[type='text'],
    input[type='email'],
    input[type='tel'],
    input[type='number'],
    input[type='url'],
    input[type='search'],
    input[type='password'],
    textarea,
    select
  ) {
  border-style: solid;
  border-width: 2px !important;
  border-color: transparent !important;
  border-image-source: url('/wp-content/uploads/2026/04/form_input_border.svg');
  border-image-slice: 2;
  border-image-outset: 0;
}
