/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* Header Menu
----------------------------------------------- */
@media (min-width: 1440px) {
  [data-column=end] > [data-items=primary] .ct-header-trigger {
    display: none;
  }
}
@media (max-width: 1440px) {
  [data-column=end] > [data-items=primary] [data-id=menu] {
    display: none;
  }
}
[class*=header-menu] {
  height: auto;
}

/* Main Menu - Offcanvas Panel
----------------------------------------------- */
@media (max-width: 698.98px) {
  #offcanvas .ct-panel-content-inner {
    padding-top: 0;
  }
}

/* Typography - Headers
----------------------------------------------- */
[data-prefix=single_page] .entry-header .page-title {
  font-family: var(--theme-default-typography-h1-family, var(--theme-font-family));
  font-size: var(--theme-default-typography-h1-size, var(--theme-font-size));
  line-height: var(--theme-default-typography-h1-line-height, var(--theme-line-height));
  letter-spacing: var(--theme-default-typography-h1-letter-spacing, var(--theme-letter-spacing));
  text-transform: var(--theme-default-typography-h1-text-transform, var(--theme-text-transform));
  -webkit-text-decoration: var(--theme-default-typography-h1-text-decoration, var(--theme-text-decoration));
          text-decoration: var(--theme-default-typography-h1-text-decoration, var(--theme-text-decoration));
}

/* Custom Font Vertical Baseline Fix */
span.stk-button__inner-text:after {
  content: "";
  display: inline-block;
  height: 0.75em;
}

[data-header] .ct-header [data-row*=top] {
  z-index: 2 !important;
}
[data-header] .ct-header [data-row*=top] > div {
  margin: 0;
  width: 100vw;
}
[data-header] .ct-header [data-row*=top] .ct-header-content-block {
  width: 100vw;
}

/* Custom Out/Underlines
----------------------------------------------- */
.custom-underline span {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  text-decoration: none !important;
}
.custom-underline span:after {
  content: "";
  position: absolute;
  left: -0.5rem;
  right: -0.5rem;
  background-image: url("/wp-content/uploads/2025/03/underline-brush-single.svg");
  background-repeat: no-repeat;
  background-size: contain;
  aspect-ratio: 298/22;
  top: 85%;
  z-index: 1;
}
.custom-underline.double span:after {
  background-image: url("/wp-content/uploads/2025/03/underline-brush-double.svg");
  aspect-ratio: 284/30;
  top: 80%;
}
.custom-underline.triple span:after {
  background-image: url("/wp-content/uploads/2025/03/underline-brush-triple.svg");
  aspect-ratio: 700/50;
  top: 85%;
}

.custom-outline strong {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  text-decoration: none !important;
}
.custom-outline strong:before {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  background-image: url("/wp-content/uploads/2025/03/outline-brush-circle.svg");
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 408/160;
  z-index: 1;
}

/* Image Gallery
----------------------------------------------- */
.wp-block-gallery.vertical-center > figure.wp-block-image {
  align-content: center;
  flex-wrap: wrap;
}

/* Footer
----------------------------------------------- */
[data-icons-type*=outline] .ct-icon-container {
  border: 2px solid var(--background-color);
}