/* --- Block Styles
-------------------------------------------------------- */

/* --- WP Block Group Style
-------------------------------------------------------- */

.wp-block-section.is-style-padding-0 {
  padding-bottom: 0;
  padding-top: 0;
}

/* --- WP Block Columns Style
-------------------------------------------------------- */

.wp-block-columns.is-style-have-gap-0 {
  gap: 0;
}


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

.wp-block-button .wp-block-button__link,
.wp-block-post-excerpt__more-link {
  text-decoration: none;
  position: relative;
  width: auto;
}


.wp-block-button.is-style-plain,
.wp-block-post-excerpt__more-link {
  text-decoration: underline;
  position: relative;
  color: var(--wp--preset--color--button-color);
  padding-right: 25px;
  transition: all 0.4s;
  display: inline-block;


  &:hover {
    text-decoration: none;
  }

  &:after,
  &:before {
    content: "";
    transition: 0.3s;
    position: absolute;
    opacity: 1;
    right: 0;

  }

  &:hover::after,
  &:hover::before {
    right: -5px;
  }

  &:before {
    display: block;
    background-color: var(--wp--preset--color--button-color);
    height: 0.1rem;
    border-radius: 1px;
    top: 25px;
    width: 1rem;
  }

  &:after {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 0.125rem solid var(--wp--preset--color--button-color);
    border-bottom: 0;
    border-left: 0;
    border-radius: 1px;
    margin-left: 10px;
    margin-bottom: 2px;
    top: 21px;
    @include transform(rotate(45deg));
  }
}

.block-editor-block-list__block .wp-block-post-excerpt__more-link:after,
.block-editor-block-list__block .wp-block-post-excerpt__more-link::before {
  display: none;
}

.wp-block-button.is-style-plain .wp-block-button__link {
  border: none;
  color: var(--wp--preset--color--button-color);
  position: relative;
  padding: 0;
  padding-bottom: 3px;
  background-color: transparent;

  &::before {
    position: absolute;
    width: 100%;
    height: 2px;
    content: '';
    background-color: var(--wp--preset--color--button-color);
    bottom: 0;
    right: 0;
    left: auto;
    transition: all 0.4s;
  }

  &.has-title-color::before {
    background-color: var(--wp--preset--color--title);

  }

  &.has-title-color:hover::before {
    background-color: var(--wp--preset--color--button-color) !important;

  }

  &.has-title-color:hover {
    color: var(--wp--preset--color--button-color) !important;

  }


  &:hover::before {
    width: 0;
  }
}

.wp-block-button.is-style-plain:has(.has-title-color):before {
  background-color: var(--wp--preset--color--title);
}

.wp-block-button.is-style-plain:has(.has-title-color):hover:before {
  background-color: var(--wp--preset--color--button-color);
}

.wp-block-button.is-style-plain:has(.has-title-color):after {

  border: 0.125rem solid var(--wp--preset--color--title);
  border-bottom: 0;
  border-left: 0;
}

.wp-block-button.is-style-plain:has(.has-title-color):hover:after {

  border: 0.125rem solid var(--wp--preset--color--button-color);
  border-bottom: 0;
  border-left: 0;
}

.wp-block-button.is-style-plain .wp-block-button__link .wp-block-button.is-style-plain .has-text-color:hover,
.wp-block-button.is-style-plain .has-text-color:focus {
  color: var(--wp--preset--color--link-color) !important;
}

.wp-block-button .wp-block-button__link,
.wp-block-post-excerpt__more-link {

  &:hover,
  &:focus {
    background: transparent;
    box-shadow: none;
    color: var(--wp--preset--color--button-color);
    transform: none;
  }
}


.is-style-outline .wp-element-button {
  padding-top: clamp(12px, 2.5vw, 16px);
  padding-right: clamp(21px, 2.5vw, 35px);
  padding-bottom: clamp(12px, 2.5vw, 16px);
  padding-left: clamp(21px, 2.5vw, 35px);
  display: block;

  &.has-text-color:hover,
  &.has-text-color:focus {
    background-color: var(--wp--preset--color--link-color);
    border-color: var(--wp--preset--color--link-color);
    color: var(--wp--preset--color--light) !important;
  }

}


/* --- WP Block Post Comments Style
-------------------------------------------------------- */
.wp-post-author-card,
.wp-block-group.post-navigation-link-container,
.wp-block-comments {
  max-width: 780px;
}

.wp-block-comments {
  padding-top: var(--wp--custom--spacing--wp-block-post);
  margin-top: var(--wp--custom--spacing--extra-small);
  border-top: 1px solid var(--wp--preset--color--border-color);

  .wp-block-comments-title {
    font-size: clamp(24px, 2.85vw, 36px);
    margin-top: 0;
  }

  .wp-block-comment-author-name {
    color: var(--wp--preset--color--secondary-text);

    a {
      text-decoration: none;
    }
  }

  .wp-block-comment-content {
    margin-top: 14px;

    p {
      color: var(--wp--preset--color--body-text);
      font-size: var(--wp--preset--font-size--body-default) !important;
    }
  }

  .wp-block-comment-edit-link a,
  .wp-block-comment-reply-link a {
    color: var(--wp--preset--color--body-text);

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

}

.wp-block-comment-template ol,
.wp-block-comment-template li:not(:first-child) {
  margin-top: 42px;
}

.wp-block-post-comments .commentlist>li>.children>li article,
.comment article,
.wp-block-post-comments .commentlist>li>.children>li article,
.wp-block-post-comments .commentlist>li>article {
  padding-bottom: var(--wp--custom--spacing--wp-block-navigation-block);
}

.wp-block-post-comments .commentlist>li>article {
  padding-top: 0;
}

.wp-block-post-comments .commentlist .comment-body>*:last-child,
.wp-block-post-comments .comment-respond>*:last-child,
.wp-block-post-comments .comment-respond .comment-form>*:last-child,
.wp-block-post-comments .comment-respond .comment-form>P:last-of-type,
.wp-block-post-comments .commentlist .comment-body>*:last-child,
.wp-block-post-comments .comment-respond>*:last-child,
.wp-block-post-comments .comment-respond .comment-form>*:last-child,
.wp-block-post-comments .comment-respond .comment-form>P:last-of-type {
  margin-bottom: 0;
}

.wp-block-post-comments .comment-author,
.wp-block-post-comments .comment-author {
  color: var(--wp--preset--color--foreground);
  font-size: var(--wp--preset--font-size--normal);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: 1.75;
  margin-bottom: 7px;
}

.wp-block-post-comments .comment-content,
.wp-block-post-comments .comment-content {
  margin-top: 20px;
}

.wp-block-group.wp-block-post-meta {
  gap: 25px;
}

.wp-block-post-meta .wp-block-post-author {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

.wp-block-group.post-navigation-link-container {
  margin-top: var(--wp--custom--spacing--wp-block-navigation-widget);
  margin-bottom: var(--wp--custom--spacing--wp-block-navigation-block);
}

.wp-block-post-comments .comment-metadata,
.wp-block-post-comments .comment-metadata {
  color: var(--wp--preset--color--body-text);
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.62;
}

.wp-block-post-comments .comment-metadata a,
.wp-block-post-comments .comment-metadata a {
  text-decoration: none;
}

.wp-block-post-comments .comment-author .avatar {
  @include border(50%);
  height: 65px;
  float: left;
  margin-right: 21px;
  overflow: hidden;
  width: 65px;
}

.wp-block-post-author__avatar img {
  border-radius: 50%;
  height: clamp(85px, 8vw, 125px);
  width: clamp(85px, 8vw, 125px);
}

.wp-block-post-author__avatar {
  margin-right: clamp(21px, 3vw, 35px);
}

.wp-block-post-author__name,
.wp-block-post-comments .comment-meta .fn,
.comment-author .says {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--font-weight--regular);
  text-transform: capitalize;
}

.wp-block-post-comments .comment-meta .fn {
  text-transform: uppercase;
}

.comment-metadata,
.comment-metadata .edit-link {
  font-size: var(--wp--preset--font-size--tiny);
  margin-top: 8px;
}


.comment-reply-title {
  font-family: var(--wp--preset--font-family--merriweather);
  font-size: var(--wp--preset--font-size--post-title);
  font-weight: var(--wp--custom--typography--font-weight--semi-bold);
  margin-top: 0;
}

label {
  color: var(--wp--preset--color--title);
  font-size: var(--wp--preset--font-size--medium-small);
  margin-bottom: 7px;
  display: block;
}

p.logged-in-as {
  color: var(--wp--preset--color--title);
  margin-bottom: 28px;
}

.wp-block-post-comments #comments {
  font-size: var(--wp--preset--font-size--extra-large);
  margin-top: var(--wp--custom--spacing--wp-block-navigation-widget);
  margin-bottom: var(--wp--custom--spacing--wp-block-navigation-block);
}


.wp-block-post-comments {

  ul,
  ol {
    list-style-type: none;
  }
}

.commentlist {
  margin-top: 0;
}


.wp-block-post-comments .comment-metadata>*:not(:last-child),
.wp-block-post-comments .comment-metadata>*:not(:last-child) {
  padding-right: 10px;
}

.wp-block-post-comments .reply,
.wp-block-post-comments .reply {
  font-size: var(--wp--preset--font-size--small);
}

.wp-block-post-comments .reply a,
.wp-block-post-comments .reply a {
  font-weight: var(--wp--custom--typography--font-weight--bold);
  text-decoration: none;
  text-transform: uppercase;
}

.wp-block-post-comments .comment-respond,
.wp-block-post-comments .comment-respond {
  margin-top: var(--wp--custom--spacing--normal);
}

.wp-block-post-comments .comment-respond .comment-form,
.wp-block-post-comments .comment-respond .comment-form {
  font-size: var(--wp--preset--font-size--upper-heading);
}

.wp-block-post-comments .comment-respond .comment-form a,
.wp-block-post-comments .comment-respond .comment-form .logged-in-as,
.wp-block-post-comments .comment-respond .comment-form .comment-notes,
.wp-block-post-comments .comment-respond .comment-form .comment-form-cookies-consent,
.wp-block-post-comments .comment-respond .comment-form a,
.wp-block-post-comments .comment-respond .comment-form .logged-in-as,
.wp-block-post-comments .comment-respond .comment-form .comment-notes,
.wp-block-post-comments .comment-respond .comment-form .comment-form-cookies-consent {
  font-size: var(--wp--preset--font-size--extra-small);
  text-decoration: none;
}

/* --- WP Block Latest Comments Style
-------------------------------------------------------- */

.wp-block-latest-comments,
.wp-block-latest-comments {
  margin-top: 0;
  padding: 0;
}

.wp-block-latest-comments a,
.wp-block-latest-comments a {
  text-decoration: none;
}

.wp-block-latest-comments .wp-block-latest-comments__comment,
.wp-block-latest-comments .wp-block-latest-comments__comment {
  border-bottom: 1px solid var(--wp--preset--color--border-color);
  margin-bottom: 0;
  padding-bottom: var(--wp--custom--spacing--normal);
  padding-top: var(--wp--custom--spacing--normal);
}

.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt>*:last-child,
.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt>*:last-child {
  margin-bottom: 0;
}

.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,
.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt {
  margin-top: 20px;
}

.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
  margin-left: 4.25em;
}

.comment-body a {
  text-decoration: none;
}

.wp-block-latest-comments .avatar,
.wp-block-latest-comments__comment-avatar {
  height: 65px;
  width: 65px;
}

.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-date,
.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-date {
  font-size: var(--wp--preset--font-size--tiny);
  margin-top: 7px;
}

.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-author,
.wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-author {
  color: var(--wp--preset--color--foreground);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  line-height: 1.75;
}

/* --- WP Block Quote Style
-------------------------------------------------------- */

.wp-block-quote p,
.wp-block-quote p {
  color: var(--wp--preset--color--foreground);
  font-family: var(--wp--preset--font-family--merriweather);
  font-size: var(--wp--custom--typography--font-size--heading-four);
  font-weight: var(--wp--custom--typography--font-weight--semi-bold);
  line-height: 1.4;
  margin-top: 0;
}

.wp-block-quote.is-style-default,
.wp-block-quote.is-large:not(.is-style-plain),
.wp-block-quote.is-style-large:not(.is-style-plain),
.wp-block-quote:not(.is-style-plain) {
  background-color: var(--wp--preset--color--peach-puff);
  border-left: 5px solid var(--wp--preset--color--chocolate-dim);
  position: relative;
  padding: 35px;
  position: relative;


}



.wp-block-pullquote.is-style-solid-color blockquote {
  max-width: 100%;
}

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

.wp-block-pullquote.has-text-align-right:not(blockquote) {
  border: 0;
  border-right: 4px solid;
}

.wp-block-quote.has-text-align-right,
.wp-block-quote.has-text-align-right.is-style-large:not(.is-style-plain),
.wp-block-quote.has-text-align-right:not(.is-style-plain) {
  &:before {
    left: auto;
    right: var(--wp--custom--spacing--section-heading-gap);
  }
}

figure.wp-block-pullquote.alignleft:not(.has-text-align-center) blockquote,
figure.wp-block-pullquote.has-text-align-left blockquote {
  margin: 0;
  text-align: left;
}

figure.wp-block-pullquote.alignright:not(.has-text-align-center) blockquote,
figure.wp-block-pullquote.has-text-align-right blockquote {
  margin: 0;
  text-align: right;
}

figure.wp-block-pullquote.aligncenter blockquote,
figure.wp-block-pullquote.has-text-align-center blockquote {
  text-align: center;
}


.wp-block-quote {
  text-align: left;

  &.has-text-align-right {
    text-align: right;
    border-left: 0;
    border-right: 0;
  }

  &.has-text-align-center {
    text-align: center;
  }
}

.wp-block-quote.has-text-align-center:before,
.wp-block-quote.has-text-align-center.is-style-large:not(.is-style-plain):before,
.wp-block-quote.has-text-align-center:not(.is-style-plain):before,
.wp-block-quote.is-style-default:not(.has-text-align-left):not(.has-text-align-right):before {
  left: 50%;
  transform: translateX(-50%);
}

.wp-block-quote cite,
.wp-block-quote footer,
.wp-block-quote cite,
.wp-block-quote footer {
  font-size: var(--wp--preset--font-size--small);
}

.wp-block-quote.is-style-large,
.wp-block-quote.is-large,
.wp-block-quote.is-style-large,
.wp-block-quote.is-large {
  color: var(--wp--preset--color--foreground);
}

/* --- WP Block Seperator Style
-------------------------------------------------------- */

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  opacity: 1;
  width: 80px;

  &.is-style-default {
    width: 80px;
  }
}

.section-heading .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  margin-left: 0;

  &.is-style-default {
    margin-left: 0;
    margin-top: 30px;
  }
}

/* --- WP Block Pullquote Style
-------------------------------------------------------- */
.wp-block-pullquote p {
  color: var(--wp--preset--color--foreground);
  font-size: var(--wp--custom--typography--font-size--heading-four);
  line-height: 1.4;
  font-family: var(--wp--preset--font-family--merriweather);
  margin-top: 0;
}

.wp-block-pullquote cite,
.wp-block-pullquote footer,
.wp-block-pullquote .wp-block-pullquote__citation {
  font-size: var(--wp--preset--font-size---medium-small);
  text-transform: none;
}

.wp-block-pullquote {
  padding-top: 35px;
  padding-bottom: 35px;
  border-top: 5px solid var(--wp--preset--color--chocolate-dim);
  border-bottom: 5px solid var(--wp--preset--color--chocolate-dim);
}

.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright,
.wp-block[data-align="left"] .wp-block-pullquote,
.wp-block[data-align="right"] .wp-block-pullquote {
  border: none;
  position: relative;


  blockquote {
    margin: 0;
  }
}



.wp-block-pullquote.alignleft,
.wp-block-pullquote.has-text-align-left,
.wp-block[data-align="left"] .wp-block-pullquote {
  margin-right: 0;
  padding-right: 35px;
  padding-left: 20px;
}

.wp-block-pullquote.alignright,
.wp-block-pullquote.has-text-align-right,
.wp-block[data-align="right"] .wp-block-pullquote {
  margin-left: 0;
  padding-left: 35px;
  padding-right: 20px;
}

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

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

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

.wp-block-table thead,
.wp-block-table thead {
  border-bottom-color: var(--wp--preset--color--border-color);
}

.wp-block-table tfoot {
  border-top-color: var(--wp--preset--color--border-color);
}

.wp-block-table th,
.wp-block-table th {
  font-weight: var(--wp--custom--typography--font-weight--semi-bold);
  color: var(--wp--preset--color--foreground);
}

.wp-block-table table,
.wp-block-table table {
  border: 1px solid var(--wp--preset--color--border-color);
}

/* --- WP Block Preformatted and Verse Style
-------------------------------------------------------- */

.wp-block-preformatted,
.wp-block-preformatted,
.wp-block-verse {
  background-color: var(--wp--preset--color--peach-puff);
  box-sizing: border-box;
  font-family: "Courier Prime", monospace;
  overflow: auto;
  padding: var(--wp--custom--spacing--extra-small);
  word-wrap: break-word;
}

/* --- WP Column Block Style
-------------------------------------------------------- */
.wp-block-column {
  box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

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

.wp-block-navigation__submenu-container {
  display: none;
}

button[aria-expandd="true"] .wp-block-navigation__submenu-container {
  display: block;
}

.wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
  width: 100%;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.wp-site-blocks>*+* {
  margin-block-start: 0;
}