/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Yuli Yang @dejavu.studio
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Genral Styling */
.ds-text-highlight_underline {
  /* text-decoration: underline; */
  text-decoration-style: solid;
  text-decoration-color: var(--theme-palette-color-13);
  text-decoration-line: underline;
  text-decoration-thickness: 4px;
}
.ds-text-highlight_underline_light {
  text-decoration-style: solid;
  text-decoration-color: var(--theme-palette-color-12);
  text-decoration-line: underline;
  text-decoration-thickness: 6px;
}
.ds-text-highlight_orange {
  color: var(--theme-palette-color-13);
  font-weight: 700;
}
.ds-text-highlight_orange_linear {
  position: relative;
}
.ds-text-highlight_orange_linear::before {
  content: "";
  display: inline-block;
  z-index: -1;
  position: absolute;
  top: 5px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fffcc9;
  background: linear-gradient(
    160deg,
    rgba(255, 252, 201, 1) 47%,
    rgba(254, 226, 116, 1) 100%
  );
}
.ds-text-highlight_larger {
  display: inline-block;
  transform: scale(1.2);
  transform-origin: bottom;
  line-height: 1;
}
.ds-text-highlight_smaller {
  display: inline-block;
  transform: scale(0.8);
  transform-origin: bottom;
  line-height: 1;
}
.ds-bg-1::before {
  content: "";
  display: block;
  z-index: -1;
  position: absolute;
  left: 10px;
  top: 10px;
  width: 100%;
  height: 100%;
  background-color: var(--theme-palette-color-13);
  opacity: 0.17;
  border-radius: 24px;
}
@media (max-width: 767px) {
  .ds-bg-1::before {
    border-radius: 12px;
  }
}
.ds-flexbox-width-fit-content {
  width: fit-content;
}

/* Menu */
nav.menu-container .ct-menu-link {
  white-space: nowrap;
}
nav.menu-container [class*="animated-submenu"] > .sub-menu {
  width: auto;
}

/* Elementor Widget Style */
/* Icon Hover Checkmark */
@media (min-width: 1024px) {
  .ds-iconbox-hover .icon-hover-checkmark::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: -2px;
    width: 20px;
    height: 20px;
    background: url(https://stagmain.tpcuwp.com/wp-content/uploads/2025/05/icon-check-hover.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .ds-iconbox-hover:hover .icon-hover-checkmark::after {
    opacity: 1;
  }

  /* Hover Box */
  .ds-hover-box .ds-hover-box-inner {
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
    pointer-events: none;
  }
  .ds-hover-box::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--theme-palette-color-13);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
  }
  .ds-hover-box:hover::before {
    opacity: 0.3;
  }
  .ds-hover-box:hover .ds-hover-box-inner {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }
  .ds-hover-box .ds-hover-box-content {
    pointer-events: none;
  }
}

/* Number List */
.elementor-element.ds-circle-number-bg {
  background: linear-gradient(141.59deg, #fccb4e 4.44%, #f89c26 95.28%);
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* FAQ Accordion */
.ds-faq .e-n-accordion-item {
  box-shadow: 0 2px 8px rgba(171, 171, 171, 0.5);
  border-radius: 6px;
}

/* Ratio COntainer */
.ds-container-ratio-16-9 {
  aspect-ratio: 16/9 auto;
}

/* Carousel - Awards */
.ds-awards-carousel {
}

/* Steps Section */
@media (min-width: 768px) {
  .ds-step-middle-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64%;
    height: 1px;
    border-bottom: 2px dotted var(--theme-palette-color-13);
    transform: translateX(-50%) translateY(-50%);
  }
  .ds-podcast-side-line::before {
    content: "";
    position: absolute;
    top: 120px;
    left: 70px;
    width: 1px;
    height: 100%;
    border-left: 1px solid #dddddd;
  }
}
@media (max-width: 767px) {
  .ds-step-middle-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 32px;
    width: 1px;
    height: 80%;
    border-left: 2px dotted var(--theme-palette-color-13);
    transform: translateY(-50%);
  }
  .ds-podcast-side-line::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50px;
    width: 1px;
    height: 100%;
    border-left: 1px solid #dddddd;
  }
}
.ds-step-side-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  border-left: 2px dotted var(--theme-palette-color-13);
  transform: translateX(-50%);
}

/* Shape - Triangle */
.ds-rounded-triangle {
  position: relative;
  background-color: var(--theme-palette-color-5);
  text-align: left;
}
.ds-rounded-triangle:before,
.ds-rounded-triangle:after {
  content: "";
  position: absolute;
  background-color: inherit;
}
.ds-rounded-triangle,
.ds-rounded-triangle:before,
.ds-rounded-triangle:after {
  width: 50px;
  height: 50px;
  border-top-right-radius: 30%;
}

.ds-rounded-triangle {
  transform: rotate(-60deg) skewX(-30deg) scale(1, 0.866);
}
.ds-rounded-triangle:before {
  transform: rotate(-135deg) skewX(-45deg) scale(1.414, 0.707)
    translate(0, -50%);
}
.ds-rounded-triangle:after {
  transform: rotate(135deg) skewY(-45deg) scale(0.707, 1.414) translate(50%);
}

/* Video Embed */
.ds-video-embed {
  display: flex;
  justify-content: center;
}

.ds-video-embed iframe {
  aspect-ratio: 16 / 9;
  width: 100% !important;
  height: 100% !important;
}

/* UL Dropdown Selector Link */
.ds-ebook-list-dropdown {
  position: relative;
  display: inline-block;
  color: #666666;
}

.ds-ebook-list-dropdown-toggle {
  cursor: pointer;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 10px;
  min-width: 200px;
}
.ds-ebook-list-dropdown-toggle::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 12px;
  height: 12px;
  background: url(https://stagmain.tpcuwp.com/wp-content/uploads/2025/06/icon-dropdown-select.svg)
    no-repeat center center;
  background-size: contain;
  margin-left: 40px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.ds-ebook-list-dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  z-index: 10;
  min-width: 200px;
}

.ds-ebook-list-dropdown:hover .ds-ebook-list-dropdown-menu {
  display: block;
}

.ds-ebook-list-dropdown-menu li {
  padding: 0.5em 1em;
  cursor: pointer;
}

.ds-ebook-list-dropdown-menu li:hover {
  background-color: #f0f0f0;
}

/* Free eBook Download Filter */
.ds-filter-ebook-dropdown {
  position: relative;
  display: inline-block;
  color: #666666;
}

.ds-filter-ebook-dropdown-toggle {
  cursor: pointer;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 10px;
  min-width: 200px;
}
.ds-filter-ebook-dropdown-toggle::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 12px;
  height: 12px;
  background: url(https://stagmain.tpcuwp.com/wp-content/uploads/2025/06/icon-dropdown-select.svg)
    no-repeat center center;
  background-size: contain;
  margin-left: 40px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.ds-filter-ebook-dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  z-index: 10;
  min-width: 200px;
}

.ds-filter-ebook-dropdown:hover .ds-filter-ebook-dropdown-menu {
  display: block;
}

.ds-filter-ebook-dropdown-menu li {
  padding: 0.5em 1em;
  cursor: pointer;
}

.ds-filter-ebook-dropdown-menu li:hover {
  background-color: #f0f0f0;
}

.ds-filter-ebook {
}

.ds-filter-ebook-item {
}

.ds-filter-ebook-item.hidden {
  display: none;
}
