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

a,
.content>.video-play:hover span,
.content>.video-play svg,
a svg.icon,
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor,
.wp-block-post-featured-image img,
.wp-block-bold-photography-blocks-pro-header-search svg,
.wp-block-bold-photography-blocks-pro-header-social svg,
.wp-block-search__button,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close,
.wp-block-navigation .has-child > .wp-block-navigation-item__content.wp-block-navigation-item__content + button svg  {
  transition: all 0.5s ease;
}

.wp-block-section .wp-block-group-heading {
  margin-bottom: var(--wp--custom--spacing--group-heading-bottom-gap);
  position: relative;
  text-align: center;
}

.wp-block-group-heading .is-style-button .wp-block-button__link {
  position: relative;
  padding-right: 65px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:hover,
.wp-block-group-heading .is-style-button .wp-block-button__link:focus {
  padding-right: 60px;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:after {
  position: absolute;
  right: 22px;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:before {
  content: "";
  background-color: var(--wp--preset--color--text-link);
  position: absolute;
  right: 0;
  left: auto;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  transition: 0.3s;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:hover::before {
  background-color: var(--wp--preset--color--border-color);
  border-radius: 50%;
}

.wp-block-group-heading .is-style-button .wp-block-button__link:hover::after {
  color: var(--wp--preset--color--foreground);
}

.wp-block-image {
  margin-bottom: 1.5em;
  margin-top: var(--wp--style--block-gap, 2em);
}

body:not(.home) .wp-site-blocks main {
  padding-bottom: var(--wp--custom--spacing--main-block-gap);
  padding-top: var(--wp--custom--spacing--main-block-gap);
  margin-top: 0;
}

body.single-product .wp-site-blocks main,
body.woocommerce-checkout .wp-site-blocks main,
body.woocommerce-checkout .wp-site-blocks main {
  padding-top: clamp(6.5625rem, 8.5vw, 9.375rem);

}

body.home .wp-site-blocks main {
  margin-top: 0;
}

body:not(.home) .wp-site-blocks main main,
.wp-site-blocks main main {
  padding: 0;
}

body.open-search .wp-site-blocks > main,
body.open-social .wp-site-blocks > main,
body.single-product .wp-product-detail {
  position: relative;
}

.error404 main .wp-block-search,
.single.post-template-default main .wp-block-template-part {
  margin-bottom: 1.75em;
}

.wp-block-table,
.wp-block-audio {
  margin-top: var(--wp--style--block-gap);
}

.wp-block-latest-posts li a {
  text-decoration: none;
}

.wp-block-latest-posts.is-grid li {
  margin-bottom: 0;
}

.wp-block-categories__list a,
.wp-block-categories-list a,
.wp-block-archives-list a {
  text-decoration: none;
}

.wp-block-section .wp-block-columns .wp-block-columns {
  margin-bottom: 0;
}

.no-margin-top {
  margin-top: 0;
}

.is-stacked-on-mobile .wp-block-media-text__media {
  margin-bottom: 28px;
}

body.page-template-blank .wp-site-blocks main {
  margin-top: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.page-template-front .wp-site-blocks main {
  margin-top: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.wp-block-section-content h2 {
  font-weight: var(--wp--custom--typography--font-weight--bold);
}

/* For case study mobile view */
@media (min-width: 600px) and (max-width: 781px) {
  .wp-block-columns.case-study-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:only-child) {
    flex-basis: 50% !important;
  }
}


.wp-block-template-part {
  margin-top: 0;
}

/* .header-media-inner-post .wp-block-cover__inner-container {
  max-width: 920px;
} */

.header-media-inner-post {
  svg {
    display: none;
  }
}

.header-media-inner-post+.wp-block-group .woocommerce-products-header .page-title {
  display: none;
}

.header-media-inner-post+.wp-block-group .woocommerce-products-header {
  margin-bottom: 0;
}

.header-media-inner-post+.wp-block-group .woocommerce-products-header .page-title+.term-description p {
  margin-block-start: 0;
}

.header-media-inner-post .wp-block-post-title {
  font-size: var(--wp--custom--typography--font-size--huge-post-title);
  line-height: var(--wp--custom--typography--line-height--heading-one);
}

#to_top_scrollup {
  background-color: transparent;
  color: var(--wp--preset--color--color-light);
  opacity: 1 !important;
  transition: all 0.5s ease-in-out;
  box-sizing: border-box;
  font-size: 46px;
  bottom: 35px;
  right: 35px;
  width: auto;
  height: auto;
  padding: 0;
  line-height: 1.1;
  border-radius: 0;
  &:before {
    content: "\2191";
  }
  &:hover {
    color: var(--wp--preset--color--primary);
  }
}

/* --- WP Block Header
-------------------------------------------------------- */

.header-default {
  padding-bottom: 0;
  padding-top: 0;
}

.wp-block-main-header .wp-block-buttons .is-style-outline> :where(.wp-block-button__link),
.wp-block-main-header .wp-block-buttons :where(.wp-block-button__link).is-style-outline {
  padding: 9px 28px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: transparent !important;
}


/* --- WP Block Site title Style
-------------------------------------------------------- */

.wp-block-site-title a {
  text-decoration: none;
}

/* --- WP Block Navigation Main
-------------------------------------------------------- */
.wp-block-navigation a {
  text-decoration: none;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
  text-transform: capitalize;
  font-size: var(--wp--preset--font-size--extra-small);
  font-weight: 500;
}

@media screen and (max-width: 74.9375em) {
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    gap: 0;
  }
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
  text-decoration: none;
}

.wp-block-buttons-header .wp-block-buttons .wp-block-button .wp-block-button__link {
  margin-top: 0;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
  z-index: 4;
}

.wp-block-centered-menu .wp-block-navigation {
  text-align: center;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  border: none;
  border: 1px solid var(--wp--preset--color--border-color);
  padding: 7px 0;
}

.wp-block-footer .wp-block-navigation .has-child :where(.wp-block-navigation__submenu-container),
.wp-block-footer .wp-block-navigation .wp-block-navigation__submenu-icon {
  display: none;
}

@media screen and (max-width: 1199px) {
  .items-justified-right.wp-block-navigation {
    --navigation-layout-justify: flex-start;
    --navigation-layout-justification-setting: flex-start;
  }
}

.wp-block-main-header .wp-block-navigation {
  margin-left: 0;
}

@media screen and (min-width: 600px) {
  .wp-block-main-header .wp-block-navigation {
    margin-left: auto;
  }
}

.header-media-inner-post,
.wp-block-main-header {

  ol.has-background,
  ul.has-background {
    padding: 0;
  }
}

/* --- WP Block Button
-------------------------------------------------------- */

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
input[type="button"],
input[type="reset"],
input[type="submit"],
.tnp-subscription-minimal form input.tnp-submit {
  font-family: var(--wp--preset--font-family--oswald);
  background-color: var(--wp--preset--color--primary);
  border-radius: 0;
  border: none;
  color: var(--wp--preset--color--color-dark);
  font-size: var(--wp--preset--font-size--small) !important;
  font-weight: var(--wp--custom--typography--font-weight--medium);
  line-height: 1.4;
  margin-top: 0.8rem;
  padding-top: clamp(12px, 2.5vw, 14px);
  padding-right: clamp(21px, 2.5vw, 35px);
  padding-bottom: clamp(12px, 2.5vw, 14px);
  padding-left: clamp(21px, 2.5vw, 35px);
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 0 !important;
  cursor: pointer;
  transition: all 0.5s ease;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.tnp-subscription-minimal form input.tnp-submit:hover {
  border-color: transparent;
  background: var(--wp--preset--color--text-link);
  color: var(--wp--preset--color--color-dark);
}

/* --- WP Block Mobile Toggle Icon
-------------------------------------------------------- */

.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
  height: 28px;
  width: 28px;
}

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

/* --- WP Block Query Pagination
-------------------------------------------------------- */

.wp-block-query-pagination>.wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-child {
  margin-inline-start: initial;
}

.wp-block-query-pagination-numbers .page-numbers {
  background-color: var(--wp--preset--color--secondary);
  box-sizing: border-box;
  display: inline-block;
  border: 0;
  border-radius: 50%;
  color: var(--wp--preset--color--body-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--wp--preset--font-size--upper-heading);
  height: var(--wp--custom--spacing--wp-block-page-numbers);
  line-height: var(--wp--custom--typography--line-height--heading-four);
  margin-right: 7px;
  margin-bottom: 7px;
  text-decoration: none;
  text-align: center;
  width: var(--wp--custom--spacing--wp-block-page-numbers);
  font-weight: var(--wp--custom--typography--font-weight--regular);
}

.wp-block-query-pagination-numbers .page-numbers:not(.dots):hover,
.wp-block-query-pagination-numbers .page-numbers:not(.dots):focus,
.wp-block-query-pagination-numbers .page-numbers:not(.dots).current {
  color: var(--wp--preset--color--background);
  background: var(--wp--preset--color--text-link);
}

/* --- WP Block Post Terms( WP Block Post Meta)
-------------------------------------------------------- */

.wp-block-query:not(.block-editor-block-list__block) .wp-block-post-template li:not(.has-post-thumbnail) .wp-block-columns.is-layout-flex > .wp-block-column:first-of-type {
  display: none;
}

.wp-block-query:not(.block-editor-block-list__block) .wp-block-post-template li:not(.has-post-thumbnail) .wp-block-columns.is-layout-flex > .wp-block-column + .wp-block-column {
  width: 100%;
  flex-basis: 100% !important;
}

.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-post-meta .wp-block-post-author .wp-block-post-author__content {
  padding: 0;
}

.wp-block-post-meta .wp-block-post-author .icon-user {
  top: 0;
}

.wp-block-post-author__byline {
  font-size: 12px;
}

.wp-block-post-author__bio {
  font-size: 14px;
}

/* Post Terms in Single */
.single {
  .taxonomy-category.wp-block-post-terms,
  .taxonomy-post_tag.wp-block-post-terms {
    > a {
      margin-bottom: 7px;
      margin-right: 7px;
    }
    .wp-block-post-terms__separator {
      color: var(--wp--preset--color--meta);
    }
  }

  .wp-block-post-author__name {
    font-weight: 700;
  }
  .wp-block-post-author {
    padding: var(--wp--custom--spacing--extra-small);
    background-color: var(--wp--preset--color--secondary);
    .wp-block-post-author__name {
      color: var(--wp--preset--color--foreground);
      font-family: var(--wp--preset--font-family--oswald);
      font-size: var(--wp--preset--font-size--content-heading);
      line-height: 1.75;
    }
    .wp-block-post-author__bio {
      font-size: var(--wp--preset--font-size--normal);
      line-height: var(--wp--custom--typography--line-height--paragraph);
    }
  }
}

/* --- WP Block Post Navigation Link
-------------------------------------------------------- */

.wp-block-post-navigation-link .post-navigation-link__label {
  display: block;
  font-size: var(--wp--preset--font-size--tiny);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: 1.62;
  text-transform: uppercase;
  color: var(--wp--preset--color--meta);
  margin-bottom: 7px;
}

.wp-block-post-navigation-link .post-navigation-link__label svg.icon {
  color: var(--wp--preset--color--meta);
  fill: var(--wp--preset--color--meta);
}

.post-navigation-link-next {
  margin-top: 21px;
}

.wp-block-post-navigation-link a {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
}

.wp-block-post-navigation-link a:hover,
.wp-block-post-navigation-link a:focus {
  color: var(--wp--preset--color--primary);
}


/* --- WP Block Post Template(wp-block-post)
-------------------------------------------------------- */

.is-flex-container.wp-block-post-template .wp-block-post-title {
    font-size: var(--wp--preset--font-size--content-heading);
    line-height: var(--wp--custom--typography--line-height--heading-two);
}

.wp-block-post-title a {
  text-decoration: none;
}

.wp-block-post-template .wp-block-post-title a {
  color: var(--wp--preset--color--foreground);
}

.wp-block-post-template .wp-block-post-title a:hover,
.wp-block-post-template .wp-block-post-title a:focus {
  color: var(--wp--preset--color--primary);
}

body>.is-root-container .wp-block-post-template>li .wp-block-post-container,
body .wp-block-post-template>li .wp-block-post-container {
  background-color: transparent;
  margin-top: 0;
  padding: 0;
}

.wp-block-post-template .wp-block-post-meta>* {
  align-items: center;
}

.wp-block-post-meta {
  svg {
    display: none;
  }
}

svg.icon {
  fill: var(--wp--preset--color--body-text);
  height: 14px;
  margin-right: 7px;
  width: 14px;
  position: relative;
  top: 2px;
}

.post-navigation-link-next svg.icon {
  padding-left: 7px;
  padding-right: 0;
}

a svg.icon {
  fill: var(--wp--preset--color--foreground);
}

.wp-block-post-excerpt>*:last-child {
  margin-bottom: 0;
}

.wp-block-post-featured-image {
  overflow: hidden;
}

.wp-block-post-featured-image a {
  position: relative;
}

.wp-block-post-featured-image:hover img {
  transform: scale(1.05);
}

.wp-block-post-author {
  text-transform: capitalize;
}

.wp-block-post-author a {
  text-decoration: none;
}

.wp-block-post-featured-image a:before {
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(47, 47, 47, 0.1), rgba(47, 47, 47, 0.8));
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.wp-block-post-featured-image a:hover::before {
  opacity: 1;
}

.wp-block-post-excerpt__more-link {
  box-shadow: 0 1px 0 0 #f9a926;
  &:hover {
    box-shadow: none;
  }
}

/* --- WP Block Table
-------------------------------------------------------- */

.wp-block-table {
  a {
    text-decoration: none;
    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    &:hover {
      color: var(--wp--preset--color--primary);
    }
  }
}

.wp-block-table.is-style-stripes tbody tr:nth-child(2n + 1) {
  background-color: var(--wp--preset--color--secondary);
}

.wp-block-table.is-style-stripes {
  border-bottom: 0;
}

.wp-block-table.is-style-stripes thead {
  border: 0;
}

.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
  border-color: var(--wp--preset--color--border-color);
  padding: 0.5em 1.4em;
}

.wp-block-table.is-style-stripe th:not(.has-text-align-left):not(.has-text-align-right):not(.has-text-align-center) {
  text-align: left;
}

/* --- WP Block Search
-------------------------------------------------------- */

.wp-block-search.wp-block-search__button-outside {
  .wp-block-search__inside-wrapper {
    position: relative;
    box-sizing: border-box;
    padding: 0;
    .wp-block-search__button {
      height: 100%;
      position: absolute;
      right: 0;
    }
  }
}

.wp-block-sidebar .wp-block-search {
  padding: 0;
}

/* Header Toogle Search */

.wp-block-fse-pro-header-search {
  .search-controller {
    svg {
      transition: 0.3s;
      fill: var(--wp--preset--color--foreground);
    }
    &:hover {
      svg {
        fill: var(--wp--preset--color--body-text);
      }
    }
  }
  .search-container {
    background-color: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--border-color);
    left: auto;
    right: 0;
    opacity: 0;
    display: block !important;
    visibility: hidden;
  }
}

.open-search {
  .wp-block-fse-pro-header-search {
      .search-container {
        opacity: 1;
        visibility: visible;
      }
    }
}

@media screen and (max-width: 1199px) {
  .mobile-gap {
    gap: 0 !important;
  }
}

/* --- WP Block Form and Input Fields
-------------------------------------------------------- */

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 {
  background-color: transparent;
  border-radius: 0;
  border-color: var(--wp--preset--color--border-color);
  border-style: solid;
  border-width: 0 0 1px;
  color: var(--wp--preset--color--body-text);
  padding: 7px 0;
  font-size: var(--wp--preset--font-size--medium);
  line-height: var(--wp--custom--typography--line-height--heading-six);
  font-weight: var(--wp--custom--typography--font-weight--regular);
  width: 100%;
  box-sizing: border-box;
  transition: .2s border-color .2s ease-in, .2s color .2s ease-in;
}

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 {
  &:focus {
    border-color: var(--wp--preset--color--text-link);
    color: var(--wp--preset--color--foreground);
    outline: none;
  }
}

/* --- WP Block Contact Form 7
-------------------------------------------------------- */

.wpcf7-form input[type="date"],
.wpcf7-form input[type="time"],
.wpcf7-form input[type="datetime-local"],
.wpcf7-form input[type="week"],
.wpcf7-form input[type="month"],
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="password"],
.wpcf7-form input[type="search"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
  border-radius: 0;
  resize: none;
}

.wpcf7-form .two-col .wp-block-col,
.wpcf7-form>p {
  margin-top: 14px;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 14px;
  margin-top: 14px;
}

.comment-respond label,
.wpcf7-form label {
  display: block;
  font-size: 16px;
  color: var(--wp--preset--color--body-text);
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 10px !important;
  text-transform: capitalize;
}

.required{
  color: #ff0000;
}
.comment-form-comment {
  margin-top: 35px;
}

/* --- WP Block Embed
-------------------------------------------------------- */

.wp-block-embed {
  margin-top: var(--wp--style--block-gap);
}

/* --- WP Block Image
-------------------------------------------------------- */

.wp-block-image .alignleft {
  margin-right: 2em;
}

.wp-block-image .alignright {
  margin-left: 2em;
}

/* --- Block Widget
-------------------------------------------------------- */

.wp-block-widget-area .wp-block-navigation ul {
  display: block;
}

.wp-block-footer .wp-block-widget-area * {
  font-size: var(--wp--preset--font-size--upper-heading);
  line-height: 1.75;
  font-weight: var(--wp--custom--typography--font-weight--regular);
}

.wp-block-widget-area .wp-block-site-title a {
  font-size: 24px;
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: var(--wp--custom--typography--line-height--paragraph);
}

.wp-block-widget-area a {
  text-decoration: none;
}

.wp-block-widget-area ul li {
  margin-bottom: 14px;
}

.wp-block-widget-area ul li a {
  color: var(--wp--preset--color--foreground);
}

.wp-block-widget-area ul li a:hover {
  color: var(--wp--preset--color--primary);
}

.wp-block-search .wp-block-search__label,
.wp-block-widget-area h3,
.wp-block-widget-area h2 {
  display: block;
  font-size: var(--wp--preset--font-size--upper-heading);
  line-height: 1.56;
  font-weight: 600;
  color: var(--wp--preset--color--foreground);
  margin-bottom: 21px;
}

.wp-block-footer,
.wp-block-footer .wp-block-widget,
.wp-block-footer .wp-block-navigation {
  font-size: var(--wp--preset--font-size--medium);
}

.wp-block-tag-cloud>a {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 14px;
  text-decoration: none;

}

.wp-block-column-sidebar .wp-block-widget-area ul,
.wp-block-column-sidebar ul.wp-block-archives,
.wp-block-column-sidebar .wp-block-categories ul {
  list-style: none;
  padding-left: 0;
}

.wp-block-widget-area li {
  list-style: none;
}

.wp-block-archives-list>li,
.wp-block-categories-list>li {
  text-align: right;
}

.wp-block-sidebar,
.wp-block-footer {
  .wp-block-archives-list > li:before,
  .wp-block-archives-list > li:after,
  .wp-block-categories-list > li:before,
  .wp-block-categories-list > li:after {
    content: "";
    display: table;
    width: 100%;
  }

  ul.wp-block-categories,
  ul.wp-block-archives {
    padding-left: 0;
  }

  .wp-block-archives-list > li:after,
  .wp-block-categories-list > li:after {
    clear: both;
  }
}


.wp-block-archives-list>li>a,
.wp-block-categories-list>li>a {
  float: left;
}

.wp-block-sidebar {
  font-size: clamp(16px, 3.5vw, 18px);
}

.wp-block-categories .cat-item {
  text-align: right;
}

.wp-block-categories .cat-item a {
  float: left;
}

/* --- Block Widget Sidebar
-------------------------------------------------------- */

.wp-block-sidebar .wp-block-widget a {
  color: var(--wp--preset--color--foreground);
}

.wp-block-tag-cloud>a {
  background-color: var(--wp--preset--color--secondary);
}

.wp-block-tag-cloud>a:hover,
.wp-block-tag-cloud>a:focus {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--color-light);
}

.wp-block-sidebar .wp-block-widget .wp-block-archives li,
.wp-block-sidebar .wp-block-widget .wp-block-categories li {
  margin-bottom: 14px;
}

.wp-block-sidebar .wp-block-widget .wp-block-archives li:last-child,
.wp-block-sidebar .wp-block-widget .wp-block-categories li:last-child {
  margin-bottom: 0;
}

.wp-product-category-with-sidebar .wp-block-widget {
    padding: var(--wp--preset--spacing--30);
    background-color: var(--wp--preset--color--secondary) !important;
    width: 100%;
}

.wp-block-sidebar>*:not(:last-child) {
  margin-bottom: var(--wp--custom--spacing--wp-block-sidebar-widget);
}

.wp-block-sidebar>* h2 {
  margin-bottom: 21px;
}

.wp-block-widget-area .wp-block-latest-posts__post-author,
.wp-block-widget-area .wp-block-latest-posts__post-date {
  font-size: var(--wp--preset--font-size--tiny);
  line-height: 1.62;
  margin-top: 5px;
}

.wp-block-sidebar .wp-block-widget ul li a {
  font-size: clamp(16px, 3.5vw, 18px);
  font-weight: 400;
  line-height: 1.56;
}

/* --- Block Footer style
-------------------------------------------------------- */

.wp-block-footer .wp-block-navigation .wp-block-page-list {
  display: block;
}

footer .wp-block-image {
  margin-top: 0;
}

footer>*+* {
  margin-block-start: 0 !important;
}

.wp-block-footer {
  margin-top: 0 !important;
}

.wp-block-footer.wp-block-site-generator p {
  white-space: normal !important;
}

/* --- Block Widget Footer
-------------------------------------------------------- */

.wp-block-footer-widget-area-columns {
  margin-bottom: 0;
  padding-bottom: var(--wp--custom--spacing--wp-footer-vertical);
  padding-top: var(--wp--custom--spacing--wp-footer-vertical);
}

.wp-block-footer.wp-block-site-generator p {
  font-size: var(--wp--preset--font-size--tiny);
  letter-spacing: 1px;
}

.wp-block-site-info>p a {
  color: var(--wp--preset--color--color-light);
}

.wp-block-site-info>p a:hover,
.wp-block-site-info>p a:focus {
  color: var(--wp--preset--color--text-link);
}

.wp-block-footer.wp-block-site-generator a {
  text-decoration: none;
}

.wp-block-footer .wp-block-widget:not(:last-child),
.wp-block-footer .wp-block-widget>*:not(:last-child),
.wp-block-footer .wp-block-latest-posts__list>li:not(:last-child) {
  margin-bottom: var(--wp--custom--spacing--extra-small);
}

.wp-block-widget-area .wp-block-widget figure {
  line-height: 0;
  margin-bottom: 0;
}

/* Footer Widgets  */
.wp-block-footer {
  .wp-block-latest-posts {
    li {
      a {
        color: var(--wp--preset--color--foreground);
        font-family: var(--wp--preset--font-family--oswald) !important;
      }
      .wp-block-latest-posts__post-date {
        color: var(--wp--preset--color--body-text);
      }
    }
  }
}

.footer-copyright {
  a {
    color: var(--wp--preset--color--foreground);
    &:hover {
      color: var(--wp--preset--color--primary);
    }
  }
}


/* --- WP Block Sections
-------------------------------------------------------- */

.wp-block-section {
  padding-top: 0;
  padding-bottom: var(--wp--custom--spacing--section-block-top);
}

.section-has-padding-top {
  padding-top: var(--wp--custom--spacing--section-block-top);
}

/* Paddding Bottom 140px needed for the sections  */
.wp-block-section.wp-block-cta,
.wp-block-section.wp-block-quick-contact {
  padding-top: var(--wp--custom--spacing--section-block-top);
}

.wp-block-section.wp-block-video-featured + .wp-block-section,
.wp-block-section.wp-block-cta + .wp-block-section,
.wp-block-section.wp-block-cta-just-video + .wp-block-section,
.wp-block-section.wp-block-featured-slider + .wp-block-section,
.wp-block-section.wp-block-custom-header-media + .wp-block-section {
  padding-top: var(--wp--custom--spacing--section-block-top);
}

.wp-block-section.wp-block-header-media-no-image {
  padding-bottom: var(--wp--custom--spacing--main-block-gap);
  padding-top: var(--wp--custom--spacing--main-block-gap);
}

.wp-block-section+.wp-block-section,
.page-template-blank .wp-site-blocks footer,
.page-template-front .wp-site-blocks footer,
footer.wp-block-template-part {
  margin-top: 0;
}

/* --- Drop Cap
-------------------------------------------------------- */

.has-drop-cap:not(:focus)::first-letter {
  color: var(--wp--preset--color--foreground);
  margin: 14px 16px 4px -3px;
  font-weight: 400;
  font-size: 92px;
  line-height: .6;
}

/* --- WP Block Image
-------------------------------------------------------- */

.wp-block-cover-image,
.wp-block-cover {
  min-height: 320px;
  transition: all 0.3s ease-in-out;
}

.header-media-inner-post {
  .wp-block-cover {
    min-height: 100%;
    //padding: clamp(3.5em, 8.5vw, 7.5em) clamp(2em, 6.5vw, 3em)
    padding: var(--wp--preset--spacing--120) var(--wp--custom--spacing--outer) clamp(80px, 9.5vw, 120px) var(--wp--custom--spacing--outer);
  }

}

.wp-block-image figure.alignright,
.wp-block-image figure.alignleft,
.wp-block[data-align="left"] .wp-block-image,
.wp-block[data-align="right"] .wp-block-image,
.wp-block-cover.alignleft,
.wp-block-cover.alignright,
.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright,
.wp-block[data-align="left"]>.wp-block-pullquote,
.wp-block[data-align="right"]>.wp-block-pullquote,
[data-align="left"]>.wp-block-cover,
[data-align="right"]>.wp-block-cover,
.wp-block-embed.alignleft,
.wp-block-embed.alignright,
.wp-block[data-align="left"]>.wp-block-embed,
.wp-block[data-align="right"]>.wp-block-embed {
  max-width: 320px;
  width: 100%;
}

.wp-block-cover.alignleft,
.wp-block-pullquote.alignleft,
.wp-block[data-align="left"]>.wp-block-pullquote,
[data-align="left"]>.wp-block-cover,
.wp-block-embed.alignleft,
.wp-block[data-align="left"]>.wp-block-embed {
  margin-right: 2em !important;
  margin-bottom: 1.5em;
}

.wp-block-cover.alignright,
.wp-block-pullquote.alignright,
.wp-block[data-align="right"]>.wp-block-pullquote,
[data-align="right"]>.wp-block-cover,
.wp-block-embed.alignright,
.wp-block[data-align="right"]>.wp-block-embed {
  margin-left: 2em !important;
  margin-bottom: 1.5em;
}


/* --- WP Block Figcaption
-------------------------------------------------------- */
.wp-block-image.alignleft,
.wp-block-image.alignright {
  margin-top: 32px;
}

.wp-site-blocks figure figcaption,
figure figcaption {
  color: var(--wp--preset--color--meta);
  font-size: 16px;
  line-height: var(--wp--custom--typography--line-height--paragraph);
  padding: 7px 14px;
  margin: 0;
}

/* --- WP Block Calendar
-------------------------------------------------------- */

.wp-block-calendar table th {
  border-color: var(--wp--preset--color--border-color);
  background-color: var(--wp--preset--color--secondary);
}

.wp-block-calendar th,
.wp-block-calendar tbody td {
  border-color: var(--wp--preset--color--border-color);
}

.wp-block-calendar tbody td#today {
  color: var(--wp--preset--color--foreground);
  font-weight: var(--wp--custom--typography--font-weight--bold);
}

.wp-block-calendar table caption {
  color: var(--wp--preset--color--foreground);
  margin-bottom: 7px;
}

/* --- WP Block Header Search and Social (Toggle)
-------------------------------------------------------- */

.toggle-social-and-toggle-search {
  margin-top: 0 !important;
}

.wp-block-custom-header-media-with-title-and-nav .wp-block-bold-photography-blocks-pro-header-social .social-container,
.wp-block-custom-header-media-with-title-and-nav .wp-block-bold-photography-blocks-pro-header-search .search-container {
  left: -30px;
  right: -30px;
  width: calc(100% + 60px);
}

.wp-block-main-header {
  position: relative;
  z-index: 9;
}

.wp-block-bold-photography-blocks-pro-header-social .social-container {
  background: var(--wp--preset--color--secondary);
}

.wp-block-bold-photography-blocks-pro-header-search svg:hover,
.wp-block-bold-photography-blocks-pro-header-search svg:focus,
.wp-block-bold-photography-blocks-pro-header-social svg:hover,
.wp-block-bold-photography-blocks-pro-header-social svg:focus {
  fill: var(--wp--preset--color--foreground);
}

.wp-block-bold-photography-blocks-pro-header-search .wp-block-search {
  padding: 0;
}

/* New for Social and Search */

.wp-block-main-header .wp-block-main-header-container,
.wp-block-main-header .wp-block-social-search-container {
  gap: 0;
}

.wp-block-bold-photography-blocks-pro-header-search .search-container,
.wp-block-bold-photography-blocks-pro-header-social .social-container {
  left: 0;
  padding: clamp(14px, 1.5vw, 21px) 28px;
  background-color: var(--wp--preset--color--secondary);
  animation: smoothScrollBack 0s backwards, fadein 0.6s;
}

.alignfull.wp-block-main-header .wp-block-bold-photography-blocks-pro-header-search .search-container,
.alignfull.wp-block-main-header .wp-block-bold-photography-blocks-pro-header-social .social-container {
  padding: clamp(14px, 1.5vw, 21px) var(--wp--custom--spacing--outer);
}

@keyframes smoothScrollBack {
  0% {
    transform: translateY(40px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.wp-block-bold-photography-blocks-pro-header-search .search-controller:hover svg,
.wp-block-bold-photography-blocks-pro-header-social .social-controller:hover svg,
.wp-block-social-search-container .wp-block-social-links.is-style-logos-only .wp-social-link a:hover {
  color: var(--wp--preset--color--text-link);
  fill: var(--wp--preset--color--text-link);
}

.wp-block-bold-photography-blocks-pro-header-search svg,
.wp-block-bold-photography-blocks-pro-header-social svg,
.wp-block-social-search-container .wp-block-social-links.is-style-logos-only .wp-block-social-link-anchor {
  color: var(--wp--preset--color--foreground);
  fill: var(--wp--preset--color--foreground);
}

.header-with-search-cart .header-inner-wrapper {
  width: 100%;
}


/* --- WP Block Slider
-------------------------------------------------------- */

.fse-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.fse-slider-wrapper .tns-outer {
  position: relative;
}

.fse-slider-wrapper .wp-block-image figcaption {
  bottom: 55px;
  color: var(--wp--preset--color--color-light);
  font-size: var(--wp--preset--font-size--content-heading);
  left: 50%;
  margin: 0 auto;
  max-width: 760px;
  opacity: 0;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  transform-origin: top;
  visibility: hidden;
  width: 100%;
  transition: all 0.5s ease;
  padding: 15px;
  box-sizing: border-box;
}

.fse-slider-wrapper .tns-item.tns-slide-active .wp-block-image figcaption {
  opacity: 1;
  transition-delay: 0.2s;
  visibility: visible;
}

/* Sliding Testimonial */
.sliding-testimonial {
  max-width: 600px;
}

/* Nan Arrows */
.tns-control>button {
  background: var(--wp--preset--color--border-color);
  border: 0;
  color: var(--wp--preset--color--foreground);
  cursor: pointer;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: var(--wp--custom--typography--line-height--paragraph);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: all 0.5s ease;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.tns-control>button.tns-prev {
  left: -50px;
}

.tns-control>button.tns-next {
  right: -50px;
}

.tns-control>button>span {
  display: none;
}

.tns-control>button:before {
  content: "";
  display: inline-block;
  color: inherit;
  opacity: 1;
  width: 0.6rem;
  height: 0.6rem;
  border-style: solid;
  border-color: currentColor;
  border-width: 0.2rem 0.2rem 0 0;
}

.tns-control>button.tns-prev:before {
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  margin-left: 4px;
}

.tns-control>button.tns-next:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-right: 4px;
}

.tns-control>button:hover,
.tns-control>button:focus {
  background: var(--wp--preset--color--text-link);
  color: var(--wp--preset--color--foreground);
}

/* Nav Dots */
.tns-nav>button {
  border: 0;
  background-color: var(--wp--preset--color--border-color);
  height: 10px;
  line-height: 10px;
  margin: 0 4px;
  width: 10px;
  border-radius: 100%;
  box-shadow: none;
  position: relative;
  transition: all 0.5s ease;
  padding: 0;
}

.tns-nav>button:hover,
.tns-nav>button:focus {
  background-color: var(--wp--preset--color--foreground);
}

.tns-nav>button.tns-nav-active {
  background-color: var(--wp--preset--color--foreground);
}

.tns-nav {
  line-height: 0;
  text-align: center;
}

/* Dots Positions */
.fse-slider-wrapper.horizontal-inside-slider-bottom-left .tns-nav,
.fse-slider-wrapper.horizontal-inside-slider-bottom-center .tns-nav,
.fse-slider-wrapper.horizontal-inside-slider-bottom-right .tns-nav {
  bottom: 28px;
  position: absolute;
  width: 100%;
}

.fse-slider-wrapper.horizontal-inside-slider-bottom-left .tns-nav {
  text-align: left;
  left: 28px;
}

.fse-slider-wrapper.horizontal-inside-slider-bottom-center .tns-nav {
  text-align: center;
}

.fse-slider-wrapper.horizontal-inside-slider-bottom-right .tns-nav {
  text-align: right;
  right: 28px;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-left .tns-nav,
.fse-slider-wrapper.horizontal-outside-slider-bottom-center .tns-nav,
.fse-slider-wrapper.horizontal-outside-slider-bottom-right .tns-nav {
  margin-top: 28px;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-left .tns-nav {
  margin-left: 28px;
  text-align: left;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-center .tns-nav {
  text-align: center;
}

.fse-slider-wrapper.horizontal-outside-slider-bottom-right .tns-nav {
  margin-right: 28px;
  text-align: right;
}

/* --- WP Block The Newsletter Plugin
-------------------------------------------------------- */

.site-newsletter {
  text-align: center;
}

.site-newsletter .tnp-subscription-minimal {
  margin-top: 35px;
}

.tnp-subscription-minimal form input.tnp-submit {
  width: auto;
  padding: 13px 24px;
}

.tnp-subscription-minimal form input.tnp-email {
  background-color: transparent;
  border-color: transparent;
  max-width: 100%;
  padding: 13px;
  margin-right: 0;
  background-color: var(--wp--preset--color--white);;
  color: var(--wp--preset--color--body-text);
  width: 100%;
  display: block;
  border-radius: 0;
  border: 1px solid var(--wp--preset--color--border-color);

}

.tnp-subscription-minimal form input.tnp-email:focus {
  color: var(--wp--preset--color--color-dark);
}

.wp-block-tnp-minimal>p {
  margin: 0;
}

/* --- WP Block The Newsletter Plugin For Footer
-------------------------------------------------------- */

.wp-block-footer .tnp-subscription-minimal form {
  position: relative;
  max-width: 360px;
  display: flex;
}

.wp-block-footer .tnp-subscription-minimal input.tnp-submit {
  margin-top: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  font-size: 14px;
}

.wp-block-footer .wp-block-tnp-minimal {
  padding: 0 !important;
}

.wp-block-fse-pro-accordion .accordion-controls .toggle-btn {
  color: var(--wp--preset--color--body-text) !important;
  &:hover {
    color: var(--wp--preset--color--primary) !important;
  }
}

/* --- WP Block Breadcumb
-------------------------------------------------------- */

.breadcrumb-area {
  font-size: 14px;
  margin: 0;
  width: unset;
}

.woocommerce .breadcrumb-area .woocommerce-breadcrumb {
  font-size: 14px;
}

.catch-breadcrumb.breadcrumb-area {
  margin-bottom: 0;
  width: auto !important;
}

.breadcrumb-area .entry-breadcrumbs,
.catch-breadcrumb.breadcrumb-area .section-wrapper {
  max-width: var(--wp--style--global--wide-size);
  margin: 0 auto;
  text-transform: capitalize;
}

.breadcrumb-area a,
.woocommerce .breadcrumb-area .woocommerce-breadcrumb a {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
}

.header-media-inner-post .breadcrumb-area a {
  color: var(--wp--preset--color--color-light);
}

.breadcrumb-area a:hover,
.woocommerce .breadcrumb-area .woocommerce-breadcrumb a:hover {
  color: var(--wp--preset--color--primary);
}

.breadcrumb .breadcrumb-current {
  opacity: 0.4;
}

.header-media-inner-post .wp-block-post-title+.breadcrumb-area,
.header-media-inner-post+.breadcrumb-area {
  margin: 14px 0 0 0;
}

body .wp-block-inner-page-title {
  margin-bottom: var(--wp--custom--spacing--group-heading-bottom-gap);
  font-size: 16px;
}

.wp-block-inner-page-title .wp-block-term-description {
  margin: 7px 0 0 0;
}

.wp-block-inner-page-title .wp-block-term-description p {
  margin: 0;
}

.wp-block-inner-page-title .wp-block-post-title,
.wp-block-inner-page-title .wp-block-query-title,
.woocommerce-products-header__title.page-title {
  font-size: var(--wp--preset--font-size--product-heading);
  line-height: var(--wp--custom--typography--line-height--heading-three);
}

/* --- WP Block Sidebar
-------------------------------------------------------- */
@media screen and (max-width: 782px) {
  .wp-block-sidebar-on-left > .wp-block-column.wp-block-column-sidebar {
    order: 2;
  }
  .wp-block-sidebar-on-left > .wp-block-column:not(.wp-block-column-sidebar) {
    order: 1;
  }
}

.wp-block-columns.wp-block-sidebar-on-right,
.wp-block-columns.wp-block-sidebar-on-left {
  gap: 0;
}


/* Increased Anchor Space To 42px */

.wp-block-bold-photography-blocks-pro-header-social .social-controller,
.wp-block-bold-photography-blocks-pro-header-search .search-controller {
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.wp-block-main-header .bold-photography-blocks-pro-icons a {
  display: flex;
  padding: 8px;
}

.simple-audio-player .simp-controls button {
  height: 42px;
  padding: 10px;
  width: 42px;
}

@media screen and (max-width: 1200px) {
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    padding: 7px 0;
  }
}

.wp-block-sticky-music-playlist .simple-audio-player .simp-controls .simp-others .simp-shide button svg {
  width: 22px;
  height: 22px;
}

.wp-block-sticky-music-playlist .simple-audio-player .simp-controls .simp-others .simp-shide button {
  display: inline-block;
  line-height: 0px;
  height: auto;
  width: auto;
  padding: 10px;
}

/* --- WP Block Social
-------------------------------------------------------- */

/* Overwrite the codes from fse pro */
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link .components-button,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link a,
.wp-block-social-links.is-style-default .wp-social-link .components-button,
.wp-block-social-links.is-style-default .wp-social-link a {
  background-color: inherit !important;;
  color: inherit !important;;
  border-radius: inherit !important;;
}

.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link .components-button:hover,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link .components-button:focus,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link a:hover,
.wp-block-social-links:not(.is-style-logos-only):not(.is-style-pill-shape):not(.is-style-circle-shape) .wp-social-link a:focus,
.wp-block-social-links.is-style-default .wp-social-link .components-button:hover,
.wp-block-social-links.is-style-default .wp-social-link .components-button:focus,
.wp-block-social-links.is-style-default .wp-social-link a:hover,
.wp-block-social-links.is-style-default .wp-social-link a:focus {
  background-color: inherit !important;
  color: inherit !important;
}

.wp-block-social-links.is-style-logos-only.has-small-icon-size .wp-social-link svg {
  height: 1em;
  width: 1em;
}

/* Social hover for theme */
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
  &:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--color-dark) !important;
  }
}

.wp-block-social-links.is-style-logos-only .wp-social-link {
  &:hover {
    color: var(--wp--preset--color--primary) !important;
  }
}

/* Social Inside Slider */
.wp-site-blocks {
  .absolute-social {
    display: none;
  }
}

.absolute-social {
  position: absolute !important;
  top: 70vh;
  left: 28px;
  z-index: 999;
  -webkit-transform: rotate(-90deg) translateX(0);
  -moz-transform: rotate(-90deg) translateX(0);
  -ms-transform: rotate(-90deg) translateX(0);
  -o-transform: rotate(-90deg) translateX(0);
  transform: rotate(-90deg) translateX(0);
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 0 0;
  margin: 0 !important;

  ul li+li a {
    position: relative;

    &:before {
      background-color: var(--wp--preset--color--primary);
      content: "";
      position: absolute;
      top: 50%;
      left: -8px;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      margin-top: -2px;
    }
  }
  .wp-block-social-links.is-style-logos-only {
    .wp-social-link {
      .wp-block-social-link-anchor {
        padding: 7px;
      }
    }
  }
}


/* For Navigation colors */

.wp-block-navigation:not(.has-text-color) .wp-block-navigation__submenu-container {
  color: inherit;
}

.wp-block-navigation:not(.has-text-color) .wp-block-navigation__responsive-container.is-menu-open {
  color: inherit;
}


