/* --- Theme Style
-------------------------------------------------------- */

a,
.content>.video-play:hover span,
.content>.video-play svg,
a svg.icon,
#myBtn:after,
ins,
.woocommerce #respond input#submit.alt,
.woocommerce a.button,
.woocommerce button,
.swiper-pagination-bullet,
.wc-block-mini-cart__button,
svg,
.wp-block-button__link,
.woocommerce ul.products li.product .button,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wp-block-post-excerpt__more-link,
.tnp.tnp-subscription .tnp-field input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-rock-tune-header-search svg,
.wp-block-search__button,
.wc-block-product-search .wc-block-product-search__button,
.wc-block-components-button:not(.is-link).outlined,
.woocommerce ul.products li.product a h2,
.wp-block-navigation__responsive-container,
.wc-block-components-pagination__page,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wp-block-post-excerpt__more-link,
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
figure img,
.fse-slider-wrapper .wp-block-image figcaption,
.post-navigation-link__label,
.swiper-pagination span,
.slider-content *,
.wp-block-navigation .wp-block-navigation__submenu-container,
.wp-block-button.is-style-rock-tune-button .wp-block-button__link:before,
.wp-block-navigation .wp-block-navigation-item,
.social-lists,
.wp-block-navigation .has-child .wp-block-navigation__submenu-container,
.wp-block-post-excerpt__more-link:before,
.wp-block-navigation .wp-block-navigation__submenu-container li a:before,
.wp-block-post-featured-image img {
  @include transition(0.4s ease-in-out);
}

input[type="search"],
input,
textarea {
  padding: 15px 20px;

  &:is(:focus) {
    outline: none;
  }
}



.wp-block-query-pagination-numbers .dots {
  display: inline-flex;
}

/* Drop cap */
.has-drop-cap:not(:focus)::first-letter {
  font-size: 100px;
  font-weight: 500;
  line-height: 0.6;
  margin: 11px 14px 0 0;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.wp-block-section {
  position: relative;
  padding-top: var(--wp--preset--spacing--105);
  padding-bottom: var(--wp--preset--spacing--105);
}

.wp-block-group-heading {
  margin-bottom: var(--wp--preset--spacing--42);
  margin-top: 0;
}

.wp-block-section+.wp-block-section {
  margin-top: 0;
}

.wp-block-section:nth-child(even) {
  background: var(--wp--preset--color--secondary);
}

.wp-block-section:nth-child(odd) {
  background: var(--wp--preset--color--background);
}

.section-heading {
  margin-bottom: var(--wp--preset--spacing--35);
}

// Outline Button Style
.wp-block-button.is-style-outline {
  .wp-element-button {
    &:is(:hover, :focus) {
      text-decoration: none;
    }
  }
}

.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color, .has-background):hover {
  background-color: var(--wp--preset--color--button-color);
  color: var(--wp--preset--color--color-light);
  border-color: var(--wp--preset--color--button-color);
}



/* Default Button Style */
input[type="submit"] {
  background-color: var(--wp--preset--color--button-color);
  border-radius: 32px;
  border-color: var(--wp--preset--color--button-color);
  border-width: 2px;
  border-style: solid;
  color: var(--wp--preset--color--color-light);
  font-family: var(--wp--preset--font-family--syne);
  font-size: var(--wp--preset--font-size--small);
  font-style: normal;
  font-weight: 500;
  letter-spacing: inherit;
  line-height: 1.5;
  padding-top: 14px;
  padding-right: 25px !important;
  padding-bottom: 14px;
  padding-left: 25px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;

  &:hover {
    background-color: var(--wp--preset--color--button-hover-color);
    border-color: var(--wp--preset--color--button-hover-color);
    color: var(--wp--preset--color--color-light);
    text-decoration: none;
  }
}

.wp-block-button__link {
  width: 100%;
  padding-right: 50px !important;
  border-radius: 32px !important;
}

.wp-block-button {
  position: relative;
  max-width: max-content;

  .wp-block-button__link {
    position: relative;

    &::after {
      content: "";
      display: inline-block;
      width: 1.2em;
      height: 1.2em;
      transition: all 0.4s;


      /* Use SVG as mask */
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M566.9 342.6L589.5 320L566.9 297.4L406.9 137.4L384.3 114.8L339 160.1C340.3 161.4 383 204.1 467 288.1L64.3 288.1L64.3 352.1L467 352.1C383 436.1 340.3 478.8 339 480.1L384.3 525.4L406.9 502.8L566.9 342.8z"/></svg>') no-repeat center;
      mask-size: contain;

      background-color: var(--wp--preset--color--text-link);
      position: absolute !important;
      right: 13px !important;
      top: 50% !important;
      transform: translateY(-50%);
      left: auto !important;
    }

    &:hover:after {
      /* Use SVG as mask */
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M566.9 342.6L589.5 320L566.9 297.4L406.9 137.4L384.3 114.8L339 160.1C340.3 161.4 383 204.1 467 288.1L64.3 288.1L64.3 352.1L467 352.1C383 436.1 340.3 478.8 339 480.1L384.3 525.4L406.9 502.8L566.9 342.8z"/></svg>') no-repeat center;
      mask-size: contain;
      background-color: var(--wp--preset--color--color-light);
    }

    &::before {
      position: absolute;
      content: '';
      width: 26px;
      height: 26px;
      background: var(--wp--preset--color--color-light);
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      border-radius: 50%;
      transition: all 0.4s;
    }

    &:hover:before {
      background-color: var(--wp--preset--color--button-color);
    }
  }
}

.wp-block-button.is-style-outline {
  &::after {
    /* Use SVG as mask */
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M566.9 342.6L589.5 320L566.9 297.4L406.9 137.4L384.3 114.8L339 160.1C340.3 161.4 383 204.1 467 288.1L64.3 288.1L64.3 352.1L467 352.1C383 436.1 340.3 478.8 339 480.1L384.3 525.4L406.9 502.8L566.9 342.8z"/></svg>') no-repeat center;
    mask-size: contain;

    background-color: var(--wp--preset--color--color-light);
  }

  &:hover::after {
    /* Use SVG as mask */
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M566.9 342.6L589.5 320L566.9 297.4L406.9 137.4L384.3 114.8L339 160.1C340.3 161.4 383 204.1 467 288.1L64.3 288.1L64.3 352.1L467 352.1C383 436.1 340.3 478.8 339 480.1L384.3 525.4L406.9 502.8L566.9 342.8z"/></svg>') no-repeat center;
    mask-size: contain;

    background-color: var(--wp--preset--color--button-color);
  }

  &:before {
    background: var(--wp--preset--color--button-color);
  }

  &:hover::before {
    background: var(--wp--preset--color--color-light);
  }
}

.wp-block-post-excerpt__more-text,
.is-style-high-performance-button {

  &::before {
    background-color: transparent;
  }

  &:hover::before {
    background-color: var(--wp--preset--color--button-color);
  }

  .wp-block-button__link,
  .wp-block-post-excerpt__more-link {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--foreground);
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    word-wrap: break-word;
    position: relative;
    text-decoration: none;
    padding: 0;
    border: 0;
    background-color: transparent;
    font-family: var(--wp--preset--font-family--syne);
    padding-right: 50px;
    text-transform: uppercase;


    &:hover,
    &:focus {
      color: var(--wp--preset--color--text-link) !important;
      border: 0;

    }
  }
}

.wp-block-post-excerpt__more-text .wp-block-post-excerpt__more-link {
  padding-right: 50px !important;
  margin-top: 7px;


  &::after {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    transition: all 0.4s;


    /* Use SVG as mask */
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M566.9 342.6L589.5 320L566.9 297.4L406.9 137.4L384.3 114.8L339 160.1C340.3 161.4 383 204.1 467 288.1L64.3 288.1L64.3 352.1L467 352.1C383 436.1 340.3 478.8 339 480.1L384.3 525.4L406.9 502.8L566.9 342.8z"/></svg>') no-repeat center;
    mask-size: contain;

    background-color: var(--wp--preset--color--text-link);
    position: absolute !important;
    right: 13px !important;
    top: 50% !important;
    transform: translateY(-50%);
    left: auto !important;
  }

  &:hover:after {
    /* Use SVG as mask */
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M566.9 342.6L589.5 320L566.9 297.4L406.9 137.4L384.3 114.8L339 160.1C340.3 161.4 383 204.1 467 288.1L64.3 288.1L64.3 352.1L467 352.1C383 436.1 340.3 478.8 339 480.1L384.3 525.4L406.9 502.8L566.9 342.8z"/></svg>') no-repeat center;
    mask-size: contain;
    background-color: var(--wp--preset--color--color-light);
  }

  &::before {
    position: absolute;
    content: '';
    width: 26px;
    height: 26px;
    background: var(--wp--preset--color--color-light);
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    transition: all 0.4s;
  }

  &:hover:before {
    background-color: var(--wp--preset--color--button-color);
  }
}

.wp-block-post-excerpt__more-text {
  margin-top: var(--wp--preset--spacing--16);
}

.wp-block-post-author__bio {
  font-size: 1rem;
  font-weight: normal;
  margin: 10px 0 0
}

/* Comment Form */
.comment-reply-title {}

label {
  font-weight: 500;
}

.wp-block-comment-template+.comment-respond,
.wp-block-comment-template+.wp-block-post-comments-form,
.comment-form-comment {
  margin-top: var(--wp--preset--spacing--42)
}

.wp-block-post-comments-form input[type="checkbox" i]:not([type="submit"]) {
  width: 25px;
}

:root :where(.wp-block-comment-author-name a:where(:not(.wp-element-button))) {
  font-size: inherit;
}

/* Post Comments */
.wp-block-comment-meta {
  margin-right: 4.5rem;
}

.wp-block-comments .comment {
  position: relative;

  .wp-block-comment-reply-link {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 22px;

    &:hover {
      border-color: var(--wp--preset--color--body-text) !important;

      .comment-reply-link {
        color: var(--wp--preset--color--body-text) !important;
      }
    }
  }
}

.wp-block-post-comments-form.comment-respond {
  margin-bottom: 35px;
  max-width: var(--wp--style--global--content-size);
}

#cancel-comment-reply-link {
  font-size: 14px;
}

.wp-block-comment-content p:last-of-type {
  margin: 0;
}


// INPUT HOVER
.wp-block-post-comments-form textarea,
.wp-block-post-comments-form input:not([type="submit"]),
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {

  width: 100%;
  color: var(--wp--preset--color--body-text);
  background-color: var(--wp--preset--color--background);
  border: 1px solid var(--wp--preset--color--border-default-color);
  border-radius: 0;
  font-family: var(--wp--preset--font-family--poppins);
  font-size: var(--wp--preset--font-size--default);
  box-sizing: border-box;

  &:is(:focus) {
    border-color: var(--wp--preset--color--text-link);
  }
}



/* Block Socials */

body .wp-block-social-links {
  gap: 0;
  margin-inline: -9px;

  .wp-block-social-link-anchor {
    padding: 9px;
  }
}



/* Quote and Blocksquote */
.wp-block-quote {
  position: relative;

  &:before {
    font-family: var(--wp--preset--font-family--sans-serif);
    content: "\201C";
    display: block;
    float: left;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.3;
    position: absolute;
    top: -7px;
    left: -20px;
    height: 0;
  }

  &.has-text-align-center {
    padding-top: 21px;

    &:before {
      left: 50%;
      transform: translateX(-50%);
    }
  }

  &.has-text-align-right {
    &:before {
      left: auto;
      right: -20px;
    }
  }
}

.wp-block-quote.is-style-plain {
  &:before {
    display: none;
  }

  cite {
    font-style: italic;
  }
}

.wp-block-quote.has-text-align-right {
  border: 0;
  padding-inline: 0;
}

.wp-block-pullquote {
  p {
    margin-bottom: 0;
  }
}

.wp-block-pullquote.has-text-align-center,
.wp-block-pullquote {
  border-right-width: 0;
  border-left-width: 0;
}

.wp-block-pullquote.has-text-align-right {
  border-width: 0;
  border-right-width: 4px;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 14px;
}

.wp-block-pullquote.has-text-align-left {
  border-width: 0;
  border-left-width: 4px;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 14px;
}

.wp-block-pullquote cite {
  display: block;
}

/* Table */
.wp-block-table {
  &.is-style-stripes {
    border-bottom: 0;
  }

  thead,
  tfoot {
    border: 0;
  }

  td,
  th {
    border: 1px solid var(--wp--preset--color--border-default-color);
    padding: 14px 20px;
    font-size: var(--wp--preset--font-size--normal);
  }

  figcaption {
    margin-top: 14px;
  }
}

.wp-block-image {
  .wp-element-caption {
    padding: 7px;
    background-color: var(--wp--preset--color--secondary);
    margin: 0;
  }
}

/* Block Search */
.wp-block-search__button {
  right: 0;
  height: 56px;
  width: 56px;
  background-color: var(--wp--preset--color--button-color);
  color: var(--wp--preset--color--color-light);
  margin: 0;
  padding: 0;

  &:hover {
    border: none;
    background-color: var(--wp--preset--color--button-hover-color);

  }
}

.wp-block-search .wp-block-search__inside-wrapper {
  padding: 0;
  border: none;
}



/* Block Navigation */
.wp-block-navigation__responsive-container.is-menu-open {
  padding: var(--wp--preset--spacing--42);
}

.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item.wp-block,
.block-editor-block-list__block .wp-block-navigation__container.block-editor-block-list__layout {
  width: 100% !important;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  padding: 9px;

  &:hover {
    color: var(--wp--preset--color--text-link);
  }
}



span.post-navigation-link__label {
  font-size: 14px;
  opacity: 0.7;
}

/* Hide SVG in next/prev buttons */
.wp-block-post-navigation-link {
  .post-navigation-link__label {
    svg.icon {
      display: none;
    }
  }
}

/* Boxed Layout */
.wp-site-blocks {
  margin: 0 auto;
}



/* WP Block Query = WP Block Post Template */
.wp-block-latest-posts .wp-block-post-template>.wp-block-post>div {
  height: 100%;
}

.wp-block-post-nav>* {
  flex: 1;
}

.wp-block-post-navigation-link:hover .post-navigation-link__title {
  color: var(--wp--preset--color--text-link);
}



:root :where(.wp-block-post-title a:where(:not(.wp-element-button))):hover {
  color: var(--wp--preset--color--text-link)
}



p a:where(:not(.wp-element-button)) {

  &:hover,
  &:focus {
    text-decoration: none;

  }
}


.wp-block-post-meta p a {
  color: var(--wp--preset--color--title) !important;

  &:hover,
  &:focus {
    text-decoration: none;
  }
}

.wp-block-post-title {
  line-height: 1.35;

  a {
    color: var(--wp--preset--color--title-color)
  }


}

.wp-block-sidebar-on-left .wp-block-template-part .wp-block-template-part,
.wp-block-sidebar-on-right .wp-block-template-part .wp-block-template-part {
  margin-inline: 0 !important;
}

.wp-block-comment-author-name a:hover,
.wp-block-comment-author-name a:focus {
  text-decoration: underline;
}

:root :where(.wp-block-comment-reply-link a:where(:not(.wp-element-button))):hover,
:root :where(.wp-block-comment-reply-link a:where(:not(.wp-element-button))):focus {
  opacity: 1;
}

nav.wp-block-query-pagination .page-numbers:hover,
nav.wp-block-query-pagination .page-numbers.current {
  color: var(--wp--preset--color--color-light);
  background-color: var(--wp--preset--color--button-color);
}

@media screen and (max-width: 600px) {
  .wp-block-query {
    .wp-block-query-pagination {
      justify-content: center;
      gap: 14px;
    }
  }
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  color: var(--wp--preset--color--button-color);
}

/* Inner Header Media - No Front Page */
.media-no-front-page.wp-block-cover {
  min-height: 250px;
}

/* Catch Breadcrumbs */
.catch-breadcrumb.breadcrumb-area {
  padding-top: var(--wp--preset--spacing--21);
  padding-right: var(--wp--preset--spacing--42);
  padding-left: var(--wp--preset--spacing--42);
  margin: 0;
  font-size: var(--wp--preset--font-size--extra-small);
  width: auto !important;

  span {
    a {
      text-decoration: none;
      display: inline-block;
      color: inherit;

      &:hover,
      &:focus {
        text-decoration: underline;
        color: inherit;
      }
    }

    .breadcrumb-current {
      display: inline-block;
      padding: 4px 10px;
      background-color: var(--wp--preset--color--secondary);
    }
  }

  .sep {
    padding: 6px;
  }
}

.catch-breadcrumb.breadcrumb-area span .breadcrumb-current {
  display: inline-block;
  padding: 0 !important;
  background-color: transparent !important;
}

/* If Post Has No thumbnail Inside Post Templates of Block Query */
.wp-block-query:not(.block-editor-block-list__block) {
  .wp-block-post-template {
    li:not(.has-post-thumbnail) {
      .wp-block-columns.is-layout-flex {
        gap: 0;

        >.wp-block-column:first-of-type {
          display: none;
        }

        >.wp-block-column {
          +.wp-block-column {
            flex-basis: 100% !important;
          }
        }
      }
    }
  }
}

.has-sidebar {

  .wp-block-column.sidebar-column>.wp-block-group,
  .wp-block-column.sidebar-column>.wp-block-group aside {
    height: 100%;
  }

  aside {
    box-shadow: rgba(28, 27, 27, 0.25) 0px 0px 3px, rgba(70, 70, 70, 0.22) 0px 0px 3px;
    position: relative;
  }
}


/** animation css **/
.fse-pro-animation {
  animation-timing-function: ease-in !important;
}