.row {
  display: flex;
  justify-content: space-between;
  max-width: var(--wp--style--global--content-size);
  margin-inline: auto;
  gap: 2em;
  @media (max-width: 780px) {
    flex-direction: column;
  }
}


@media (min-width: 1024px) {
  .large-3 {
    flex: 35%;
  }
  .large-4 {
    max-width: 33%;
  }
  .large-6 {
    max-width: 50%;
  }
  .large-9 {
    width: 75%;
  }
  .large-12 {
    width: 100%;
  }
}
/* Medium */
@media (max-width: 1024px) {
  .row {
    padding-inline: 1em;
  }
}
/* Small */
@media (max-width: 780px) {
  .columns {
    width: 100%;
  }
  .small-3 {
    max-width: 25%;;
  }
  .small-4 {
    max-width: 33%;
  }
  .small-6 {
    max-width: 50%;
  }
  .small-12 {
    width: 100%;
  }
}

.l-main {
  overflow: hidden;
}
.wp-block-button__link,
.wp-element-button {
  transition: all .3s ease-in-out;
}
.wp-block-cover {
  overflow: hidden;
}

.creative-social {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  padding-block: 0.4em;
  font-size: 14px;
  
  .row {
    @media (max-width: 780px) {
      flex-direction: row;
      gap: 0;
    }
    > * {
      display: flex;
      gap: 1em;
      @media (max-width: 780px) {
        gap: 1em;
      }
    }
    .large-6:first-child {
      @media (max-width: 530px) {
        
      }
    }
  }
  a {
    color: var(--wp--preset--color--base);
    &:hover {
      color: var(--wp--preset--color--primary);
    }
  }
  .social-icons {
    list-style: none;
    display: flex;
    gap: 1.5em;
    margin: 0;
  }
}
.l-header {
  margin-inline: auto;
  max-width: var(--wp--style--global--content-size);
  padding-inline: 1em;
  @media (max-width: 780px) {
    padding: 1em;
  }
  &.overlay {
    position: absolute;
    inset-inline: 0;
  }
  ul,
  h1 {
    list-style: none;
    margin:0;
    padding:0;
  }
  h1 img {
    max-height: 50px;
  }
  @media (min-width: 780px) {
    li.toggle-topbar.menu-icon {
      display: none;
    }
  }
  .title-area {
    @media (max-width: 780px) {
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-width: 100%;
    }
  }
  
  @media (max-width: 780px) {
  .menu-primary-menu-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease-in-out;
    > ul {
      overflow: hidden;
    }
    .active-menu & {
      grid-template-rows: 1fr;
    }
  }
}


  .top-bar-section  {
    @media (max-width: 780px) {
      position: absolute;
      top: 100px;
      background: var(--wp--preset--color--base);
      width: 100%;
      z-index: 10;
      inset-inline: 0;
      .active-menu & {
        box-shadow: 0px 8px 8px 3px #00000042;
      }
      .admin-bar & {
        top: 144px;
      }
    }    
    @media (max-width: 530px) {
      top: 120px;
    }
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  ul.menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    @media (max-width: 780px) {
      align-items: flex-start;
      flex-direction: column;
    }
    li	{
      list-style: none;
      padding: 24px 4px;
      position: relative;
      transition: 0.5s;
      display: block;
      @media (max-width: 780px) {
        padding: 7px;
      }
      a	{
        text-decoration: none;
        padding: 5px 10px;
        font-weight: 600;
        color: #212121;
        transition: all .3s;
        &:hover	{
          color: var(--wp--preset--color--primary);
          border-radius: 4px;
        }
      }
      ul {
        display: none;
        min-width: 200px;
        font-size: 15px;
      }
      &:hover > ul {
        display: block;
        z-index: 9;
        margin-top: 5px;
        background: #fff;
        border-radius: 3px;
        width: 95vw;
        padding-block: 10px;
        top: 66px;
        @media (min-width: 780px) {
          box-shadow: 0px 15px 30px 0px rgb(0 0 0 / 8%);
          position: absolute;
          width: 100%;
        }
      }
    }
  }

  ul.menu ul li:hover ul {
    left: 100%;
    top: 0;
  }
}

.creative-layout .top-bar-section li:not(.has-form) ul li {
  padding: 0;
  a:not(.button) {
    font-size: 15px;
    font-weight: 400;
    padding: 5px 1.5em;
    display: block;
  }
}

.wp-block-media-text.is-style-media-on-the-top .wp-block-media-text__media:hover {
  box-shadow: 14px 14px 0px var(--wp--preset--color--primary);
  transform: translateX(-10px) translateY(-10px);
}
.wp-block-media-text.is-style-media-on-the-top .wp-block-media-text__media {
  transition: all .2s ease-in-out;
}

.wd-footer {
  background: #111;
  color: #fff;
  padding-block: 4em 1em;
  & > * {
    max-width: var(--wp--style--global--content-size);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .block-title,
  .wp-block-heading {
    font-size: 1.5em;
    margin-block: 0 0.75em
  }
  a {
    color: var(--wp--preset--color--primary);

    display: inline-flex;
    position: relative;
    padding: 0.2em 0;
    overflow: hidden;
    &:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 0.1em;
      background-color: var(--wp--preset--color--primary);
      transition: opacity 300ms, transform 300ms;
      opacity: 1;
      transform: translate3d(-100%, 0, 0);
    }
    &:hover::after {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  img {
    max-height: 60px;
  }
  ul {
    padding:0;
    margin:0;
    list-style-position: inside;
  }
  ul.menu,
  .inline-list {
    display: flex;
    list-style: none;
    gap: 1em;
    font-size: 15px;
    @media (max-width: 680px) {
      flex-direction: column;
    }
    a {
      color: white;
    }
  }
  li::marker {
    color: var(--wp--preset--color--primary);
  }
}
.wd-copyright {
  margin-top: 50px;
  .row {
    width: 100%;
  }
  p {
    margin-block: 0;
  }
  .copyright {
    text-align: right;
  }
}

.wd-newsletter {
  position: relative;
  color: rgba(254, 254, 254, 0.76);
  & > div {
    margin-top: 15px;
  }
  form{
    .newslettersubmit{
      background-color: var(--wp--preset--color--primary);
      top: 43px;
    }
  }
  .newslettersubmit {
    box-shadow: none;
    height: 40px;
    inset-inline-end: 0;
    padding: 0 13px;
    position: absolute;
  }
  .email-adress, .email-adress:focus {
    background-color: transparent;
    border: 1px solid;
    color: #93a1a7;
    height: 40px;
    width: 262px;
    max-width: calc(100vw - 50px);
  }
}



.testimonail-swiper {
  position: relative;
  
}
.testimonail-swiper .swiper-button-next, .testimonail-swiper .swiper-button-prev {
  background-image: none;
}

/********************************  Inner Pages ********************************/
.wd-title-bar {
  padding-block: 4em 2em;
  background: var(--wp--preset--color--gray-1);
  margin-bottom: 3vw;
}

/********************************  Shop Pages ********************************/
.woocommerce-shop .content-area .row {
  gap: 50px;
  display: grid;
  grid-template-columns: minmax(0,3fr) minmax(0,9fr);
  > * {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .woocommerce-shop .content-area .row {
    grid-template-columns: minmax(0,1fr)!important;
    .large-3 {
      order: 2;
    }
  }
}

ul.wp-block-woocommerce-product-template {
  li.product {
    .wp-block-button__link, 
    .wp-element-button,
    .wp-block-button.wc-block-components-product-button {
      top: unset;
      bottom: 0;
      transition: all .3s ease-in-out;
      transform: translate(0);
      left: unset;
    }    
    &:hover {
      .wp-block-button__link, 
      .wp-element-button,
      .wp-block-button.wc-block-components-product-button {
        opacity: 1;
        bottom: 20px;
      }
    }
  }
}

body.woocommerce ul.products {
  --columns-number: 3;
  gap: 30px;
  display: grid;
  grid-template-columns: repeat(var(--columns-number),minmax(0,1fr));
  &.columns-4 {
    --columns-number: 4;
  }

  li.product {
    margin: 0;
    flex: 25%;

    .add_to_cart_button {
      top: unset;
      bottom: 0;
      transition: all .3s ease-in-out;
      background-color: var(--wp--preset--color--primary);
      color: var(--wp--preset--color--primary-contrast);
      border-radius: 34px;
      border-width: 0;
    }
    &:hover .add_to_cart_button {
      opacity: 1;
      bottom: 10%;
    }

  }
}

.widget-area {
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    li { 
      margin-bottom: .5em;
      a {
        transition: all .25s ease-in-out;
        position: relative;
        overflow: hidden;
        display: inline-flex;
        padding-inline-end: 4px;
        &:before {
          content: "";
          background: var(--wp--preset--color--primary);
          position: absolute;
          top: calc(50% - 2px);
          border-radius: 6px;
          height: 6px;
          width: 6px;
          inset-inline-start: -12px;
          transition: all .25s ease-in-out;
        }
        &:hover {
          padding-inline-start: 12px;
          color: var(--wp--preset--color--primary);
          &::before {
            inset-inline-start: 0;
          }
        }
      }
    }
  }
}

.product_list_widget > li{
  display: grid;
  grid-template-columns: 85px 1fr ;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.product_list_widget > li > a{
grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 3;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 10px;
}
.product_list_widget > li .star-rating{
  grid-column-start: 2;
  grid-column-end: 2;
  grid-row-start: 2;

}
.product_list_widget > li .reviewer, .woocommerce-Price-amount.amount{
grid-column-start: 2;
  grid-column-end: 2;
  grid-row-start: 2;

}
.product_list_widget > li .reviewer{

margin: 16px 0 0 2px;
}
.product_list_widget > li .product-title{
grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
}

.woocommerce .woocommerce-ordering select {
  padding-block: 12px;
} 
.widget-title {
  margin-block: 3.5rem 1.5rem;
}
.shop-widgets:nth-child(2) .widget-title {
  margin-top: 0;
}
.wc-block-price-filter { 
  .wc-block-components-price-slider__range-input-progress {
    --range-color: var(--wp--preset--color--primary);
  }
  .wc-block-components-price-slider__range-input::-webkit-slider-thumb {
    border-color: var(--wp--preset--color--primary);
  }
}

.woocommerce ul.product_list_widget li img {
  float: left;
  margin-inline: 0 1em;
  width: 5em;
}
ul.product_list_widget li {
  padding-block: 0 20px;
}
.woocommerce nav.woocommerce-pagination ul {
  border: none;
  margin-block: .5em 1.5em;
  &:hover {
    background: transparent;
  }
  li {
    border: none;
    margin: .5em;
    a,
    span {
      padding: .5em .75em;
    }
  }
}

/********************************  Single Product ********************************/
body.woocommerce-page .wd-title-bar {
  padding-block: 3em 1em;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, 

:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt,

body.woocommerce ul.products li.product a.button.add_to_cart_button {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary-contrast);
  padding: 10px 20px;
  line-height: 1.6;
  &:hover {
    background-color: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
  }
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
  width: 100px;
  display: inline-block; 
  margin-bottom: 5px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(1) {
  float: right;
  width: calc(100% - 110px);
  margin-left: 10px;
}

.woocommerce div.product div.summary > * {
  margin-block: 1.25em 0;
}
.woocommerce div.product div.summary .product_title {
  margin-top: 0;
}

.woocommerce span.onsale {
  line-height: 1.6;
  min-height: auto;
  border-radius: 0;
}

.product_meta {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  span {
    a,
    span {
      font-weight: 600;
    }
  }
}

.single-product.woocommerce div.product form.cart {
  flex-direction: row;
}
.single-product.woocommerce div.product form.cart button[name=add-to-cart] {
  margin-top: 0;
  padding: 0.5em 2em;
}

body.woocommerce .type-product {
  h2 {
    font-size: clamp(1.72rem, -0.875rem + 8.333vw, 1.95rem);
    margin-block: 2em 0.5em;
  }
  h1.product_title {
    margin-block: 0 0.05em;
    font-size: clamp(2.074rem, -0.875rem + 8.333vw, 2.75rem);
  }
  .woocommerce-Tabs-panel h2 {
    margin-block: 0.5em;
    font-size: 1.25rem;
  }
  .woocommerce-product-gallery__image img:not(.wp-post-image) {
    max-width: 100px;
  }
}

.related.products {
  margin-block: 4vw 3vw;
}
.is-style-heading-style2 {
  position: relative;
  padding-top: 25px;
}
.is-style-heading-style2:before {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 3px;
  background: var(--wp--preset--color--primary);
  top: 0;
}
.has-text-align-left:before {
  left: 0;
}
.has-text-align-center:before {
  left: calc(50% - 50px);
}
.has-text-align-right:before {
  right: 0;
}
.contact-form-1 input[type="text"], .contact-form-1 input[type="email"], .contact-form-1 textarea {
  background: none;
  border: 1px solid rgba(249,251,254,0.09);
  margin-top: 4px;
  color: #fff;
  padding-left: 15px;
  font-size: 16px;
}
.contact-form-1 label {
  color: #fff;
  font-size: 16px;
}


.blog-info {
  @extend .primary-color_bg;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  min-height: 510px;
  width: 11.667%;
  margin-right: 3%;
  padding: 0;
  @media (max-width: 840px)  {
      min-height: 70px;
      padding-top: 10px;
      width: 100%;
  }
  & > div {
      @extend .p-0-20;
  }
  a, & {
      color: #EEE;
  }
  .arrow {
      border-style: solid;
      border-width: 15px 0 15px 15px;
      border-color: rgba(0, 0, 0, 0) var(--primary-color);
      position: absolute;
      right: -50px;
      top: 15px;
      width: 20px;
  }
  br {
    @media (max-width: 840px) {
          display: none;
      }
  }
  .date {
      padding: 15px;
      background: rgba(0, 0, 0, 0.15);
      margin-top: 100px;
      text-align: center;
      @media (max-width: 840px) {
          float: left;
          margin: 0 0 0 90px;
          padding: 7px 0 0 7px;
          width: 130px;
      }
      .day {
          font-size: 2.3em;
          color: #FFF;
          padding-bottom: 10px;
          display: block;
          @media (max-width: 840px) {
              float: left;
          }
      }
      .year {
          display: block;
          padding: 2px;
      }
  }
  .author {
      div {
          font-size: 1.3em;
          a {
              color: #FFF;
          }
      }
      @media (max-width: 840px) {
          float: left;
      }

      div {
          padding-top: 5px;
      }
  }
  .comment-count {
      margin-top: 100px;
      @media (max-width: 840px) {
          float: right;
          margin: 0;
      }
      div {
          font-size: 1em;
          color: #FFF;
          padding-bottom: 6px;
      }
  }
}

.blog-posts {
  .node-title {
      font-size: 2.05em;
      margin: 15px 0 10px;
  }
  .wp-post-image {
      padding: 10px 0;

  }
  width: 85.333%;
  @media (max-width: 840px) {
      width: 100%;
  }
  article > div {
      position: relative;
  }
  .fa-image {
      font-size: 3em;
      right: 10px;
      position: absolute;
      top: 10px;
      z-index: 2;
  }
}

.blog-posts .body {
  line-height: 1.6em;
  margin-top: 10px;
}

#respond, #comments {
  margin-top: 180px;
}

.blog-posts .body.field {
  margin-top: 15px;
}

code {

  background: none;
  border: none;
}

.wd-pagination {
  padding: 20px;
  text-align: center;
  a, span {
      margin: 2px;
      padding: 5px 10px;
  }
  a {
      border: 1px solid #ccc;
      color: #777;
  }
  span {
      background: #ee02b0;
      color: #fff;
  }
}

.simple-blog {
  .wd-carousel-container {
      overflow: hidden;
  }
}

.blog .wd-gallery-images-holder {
  margin-left: 0;
}

.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright
{
  blockquote {
      p {
          font-size: 28px ;
      }
  }
}
.blog-page {
  .wp-block-gallery {
      padding-top: 30px;
      margin-left: 0;
  }

  padding-right: 30px;
  .large-block-grid-3 > li {
      margin-bottom: 25px;
      padding: 0 15px 10px;
  }
  .post {
      position: relative;
      border-bottom: 1px solid rgb(242, 242, 242);
      padding: 0 0px 35px;
      &.has-post-thumbnail header {
          margin-bottom: 35px;
      }
      &:first-child {
          margin-top: 0;
      }
      &:last-child {
          border-bottom: none;
      }
  }
  article.sticky {
      border-left: 2px solid #F5C93E;
      background: #fafafa;
      padding-left: 10px;
      padding-right: 10px;
  }
  .post-left {
      float: left;
      text-align: center;
      width: 44px;
      margin-top: 28px;
      .day {
          background-color: #ececec;
          background-image: linear-gradient(center top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.03));
          padding: 6px 4px;
          font-size: 17px;
          font-weight: 600;
          color: #727272;
          border-radius: 2px 2px 0px 0px;
          border-bottom: 1px solid #FFF;
      }
      .month {
        background-color: var(--wp--preset--color--primary);
        color: var(--wp--preset--color--primary-contrast);
        padding: 1px 4px 2px;
        font-size: 13px;
        border-radius: 0px 0px 2px 2px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        font-weight: 600;
      }
  }
  .post-right {
      margin-left: 70px;
      padding-top: 24px;
  }
  .article > a {
      display: block;
      overflow: hidden;
      text-align: center;
  }
  .article img {
      transition: all .5s ease;
  }
  .article a img:hover {
      -webkit-transform: scale(1.1);
      transform: scale(1.1);
  }
  &.blog-shortcode .article a img:hover, &.blog-shortcode .article .wd-gallery-image-holder img:hover {
      transform: scale(1.05);
  }
  &.blog-shortcode .article img, &.blog-shortcode .article .wd-gallery-image-holder img:hover {
      transition: all 1.5s ease 0s;
  }

  .article .user-picture img:hover {
      transform: none;
  }
  article .user-picture {
      border-radius: 50%;
      overflow: hidden;
      left: 7px;
      position: absolute;
      top: 122px;
      border: 1px solid rgb(255, 255, 255);
  }

  .post-infos {
      padding: 5px 0;
      margin: 0;
      line-height: 12px;
      list-style: none;
      li {
          border-right: 1px solid #ccc;
          float: left;

          margin-right: 10px;
          padding-right: 10px;
          color: #666;
          font-size: 13px;
          a {
              color: #666666;
              line-height: 1.6;
          }
          &:last-child {
              border: none;
          }
      }

  }

  .post-author {
      a {
          color: #f0f0f0;
      }
      .post-categories {
          margin: 0;
      }
  }
  .postdate .day {
      font-size: 1.1em;
      font-weight: 600;
      line-height: 1em;
  }
  .postdate .year {
      display: block;
      font-size: 13px;
      line-height: 1em;
  }
  .post-datas {
      /* background-color: #31AAE1;
      color: #FFF; */
      font-size: 13px;
      font-weight: 400;
      color: #727272;
      margin: 6px 20px 36px 10px;
      span {
          i {
              color: #1694CE;
              margin-right: 2px;
          }
      }
  }
  .blog-page .post-body {
      margin-top: 0;
  }
  article h2 {
      font-size: 28px;
      @media (max-width: 840px) {
          font-size: 22px;
      }
      font-weight: 700;
      a {
          color: #000;
      }
  }
  &.blog-shortcode {
      article h2 {
          clear: both;
          font-size: 17px;
          font-weight: 700;
          line-height: 20px;
      }
  }
  article .blog-body {
      clear: both;
      font-size: 14px;
      margin: 13px 0px 12px;
      p {
          color: #444;
          line-height: 26px;
      }
  }
  .read-more-link {
      color: var(--primary-color);
      display: block;
      margin-top: 20px;
      &:hover {
          color: #666;
          transition: all .2s;
      }
  }
  .gallery-container {
      position: relative;
      margin-bottom: 30px;
      .owl-controls {
          margin-top: -30px;
      }
      .owl-next {
          padding-left: 5px;
          padding-top: 10px;
      }
      .owl-prev {
          padding-top: 10px;
      }
  }
  .format-gallery .gallery-icon {
      font-size: 3em;
      position: absolute;
      top: 10px;
      z-index: 2;
      right: 10px;
      color: #fff;
  }
}

.sidebar-second {
  .block-title {
    margin-block: 3rem 0;
  }
}

.owl-carousel {
  margin: 0;
}

.post-item article.article {
  border: 2px solid #f8f8f8;
}

.post-text {
  font-size: 14px;
  padding: 0px 12px 10px 10px;
}

.short-blog {
  article h2 {
      font-size: 1.25em;
      font-weight: 600;
      margin: 0 0 5px 60px;
  }
  article .post-author {
      padding-left: 45px;
  }
  .postdate {
      padding: 0px 6px;
  }
  .readmore {
      margin: 5px
  }
}

.share-post {
  margin: 14px 0;
}

.share-post span, .share-post > div {
  margin: 0 6px;
}

.share-post span i {
  color: #b7b7b7;
  font-size: 21px;
}

.share-post a {
  color: #b7b7b7;
}

.share i {
  font-size: 17px;
  margin-left: 4px;
  margin-right: 7px;
}

article.fixed {
  z-index: auto;
}


.box-comment {
  margin-top: 70px;
}

#submit_comment {
  border: 0;
  padding: 10px 20px;
  width: 100%;
  background: #eee;
  text-transform: uppercase;
  border: 1px solid #ddd;
  color: #333;
  cursor: pointer;
  border-radius: 4px;
  transition: all .5s ease;
  &:hover {
      color: #000;
      background-color: #FFF;
      border-color: #000;
  }
}

.comment {
  margin-bottom: 30px;
  list-style-type: none;
  p {
      font-family: "open sans", sans-serif;
      color: #666;
      font-size: 16px;
      line-height: 29px;
  }
}

#comments {
  margin-top: 100px;
  .commentlist {
      margin-top: 60px;
  }
}

section.comment {
  border-bottom: 1px solid #f4f4f4;
  margin-top: 20px;
  padding: 20px 30px;
}

#comments .author-meta img {
  margin-right: 10px;
}

#comments > h3 {
  margin-bottom: 30px;
}

.author-meta a {
  i {
      margin-right: 6px;
  }
  color: #777;
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
  display: block;
}

.comment-reply-link {

  border-radius: 3px;
  color: #fff;
  float: right;
  font-size: 14px;
  padding: 3px 10px;
  &:hover {
      color: #64b8ef;
      background-color: #FFF;
      border-color: #64b8ef;
  }
}

.comment-author img {
  float: left;
  margin-right: 12px;
}

/********  Single ******/
.single-post {
  .body.field {
      padding-top: 40px;
      .thumbnail {
          margin-bottom: 30px;
      }
  }
  .titlebar {
      position: relative;
  }
  .title-container {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
  }
  .wp-block-button.is-style-outline {
      margin: 28px 0;
  }
  .aligncenter, div.aligncenter{
      text-align: center;
  }
  .has-pale-pink-background-color,
  .wp-block-cover.has-background-dim{
      background-color: #000;
      margin-bottom: 28px;
  }
}

.blog-shortcode {
  .post-info {
      margin-top: 15px;
  }
}

.post-info {
  margin: 50px 0 18px 0;
  font-size: 16px;
  & > span {
      padding-right: 15px;
      i {
          padding-right: 5px;
      }
  }
}

.blog-page .post-datas::before {
  background-color: #F9BC16;
  content: " ";
  height: 4px;
  position: absolute;
  top: 40px;
  width: 40px;
}

.blog-shortcode .post-body {
  position: relative;
}

/*_____________  Blog Post List  ______________*/
.post-item article.article {
  border: 1px solid #f0f0f0;
  background-color: #f0f0f0;
  text-align: center;
  transition: all .3s;
}

.post-item article.article:hover {
  background-color: #282828;
}

.blog-page.blog-shortcode article h2 {
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  padding-top: 30px;
}

.blog-page article h2 a {
  color: #000;
}

.blog-page .post-datas {
  color: #bbb;
}

.blog-page .post-datas::before {
  background-color: var(--primary-color);
  content: " ";
  height: 1px;
  position: absolute;
  top: 40px;
  width: 140px;
  left: calc(50% - 70px);
}

.post-text {
  color: #777;
  padding: 0px 12px 23px 10px;
}

.post-list .post-text .text-right {
  text-align: center !important;
}

.post-list .post-text .text-right a {
  color: var(--primary-color);
  font-style: italic;
}

.wd-small-blog .wd-thumbnail {
  float: left;
  max-width: 84px;
}

.blog-desc .blog-desc-header {
  font-family: "open sans";
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 20px;
  margin: 0 0 0.5rem;
  padding: 0;
  text-transform: uppercase;
}

.blog-desc {
  display: table-cell;
  padding: 0 0 0 1rem;
  text-align: left;
  vertical-align: top;
}

.wd-small-blog {
  display: table;
  padding: 0 20px 30px 6px;
}

.blog-page {
  .quote-format {
      blockquote {
          background-color: var(--primary-color);
          box-shadow: none;
          border-left: none;
          padding: 30px;
          position: relative;
          margin: 80px 0 50px;
      }
      p {
          padding-left: 20px;
          color: #fff;
          font-size: 1.7em;
          font-style: normal;
          a {
              color: #f0f0f0;
              font-weight: 600;
          }
      }
      h2 {
          font-size: 0.8em;
          margin-left: 20px;
          float: right;
      }
      .quotes {
          color: rgba(0, 0, 0, 0.2);
          font-size: 4em;
          position: absolute;
      }
      .leftq {
          color: #fff;
          font-family: "FontAwesome";
          font-size: 2em;
          left: 20px;
          padding: 15px 0;
          top: 6px;
          transform: rotate(-45deg) translateX(-8px);
      }
      .rightq {
          bottom: 15px;
          right: 15px;
          color: #FFF;
      }
      .share-post a, .share-post span i {
          color: #FFF;
      }
  }
  .format-link .quote-format .leftq {
      left: 0;
      top: 6px;
      color: #BEBEBE;
      font-size: 2em;
      transform: rotate(-45deg) translateX(-8px);
      padding: 15px 0px;
  }
}

/********** 3- Recent News ******/
.sidebar .latest-posts ul li {
  list-style: none;
  padding: 10px 0;
  min-height: 6.5em;
}

.latest-posts ul li {
  list-style: none;
  padding: 10px 0;
  min-height: 77px;
}

.latest-posts ul li:first-child {
  padding-top: 0;
  min-height: 66px;
}

.latest-posts ul li:last-child {
  border: none;
}

.latest-posts .blog-image img {
  margin-right: 10px;
  width: 68px;
}

.sidebar .latest-posts .blog-image img {
  width: 70px;
}

.latest-posts .blog-title, .latest-posts .subheader {
  margin: 0;
  line-height: 20px;
}

.l-footer-columns .latest-posts .blog-title a {
  color: #eee;
}

.latest-posts ul {
  margin-left: 0;
}

.single-post {
  .blog-page {
      img {
          margin-bottom: 20px;
      }
  }
  .blog-body p {
      margin: 28px 0px 28px;
  } 
}

.post-categories {
  display: inline-block;
}

.sidebar-second section {
  ul {
    padding-inline-start: 1.5em;
  }
  &:first-child {
    .block-title {
      margin-top: 0;
    }
  }
}

.comment-list {
  list-style: none;
  .pingback {
      padding-top: 30px;
      padding-bottom: 30px;
      border-bottom: 1px solid #eee;

      .edit-link {
          display: block;
          background: var(--primary-color);
          padding: 5px 10px;
          width: 50px;
          border-radius: 5px;
          margin-top: 10px;

          a {
              color: #fff;
          }
      }
  }
}


.simple-blog {
  .wd-latest-news {
      .wd-image-category {
          span {
              background: #FBD232;
              color: #fff;
              display: inline-block;
              left: 0;
              padding-bottom: 4px;
              position: absolute;
              text-align: center;
              top: 50px;
              padding: 5px;
              a {
                  color: #fff;
              }

          }
      }
      .post-infos {
          list-style: none;
          margin-bottom: 10px;
          li {
              display: inline-block;
              margin-right: 10px;
          }
      }
  }
}

.wp-block-table {
  width: 100% !important;
  border-collapse: collapse;
  td {
      border: 1px solid;
      border-collapse: collapse;
  }
}

.is-style-media-on-the-top{
  .wp-block-media-text__content :is(h1, h2, h3, h4, h5, h6) {
    position: relative;
    &:after{
      display: block;
      content: "";
      position: absolute;
      background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgYXJpYS1oaWRkZW49InRydWUiIGZvY3VzYWJsZT0iZmFsc2UiPjxwYXRoIGQ9Im0xNC41IDYuNS0xIDEgMy43IDMuN0g0djEuNmgxMy4ybC0zLjcgMy43IDEgMSA1LjYtNS41eiI+PC9wYXRoPjwvc3ZnPg==");
      background-repeat: no-repeat;
      inset-inline-end: 0;
      inset-block-start: 10px;
      width: 30px;
      height: 30px;
      background-position-x: -30px;
      transition: all .3s ease-in-out;
    }
  }
  &:hover :is(h1, h2, h3, h4, h5, h6):after{
    background-position-x: 0;
  }
}
