/* ==========================================================================
   3. Header Styles
   ========================================================================== */

/* ==========================================================================
   Global Header Transitions
   ========================================================================== */
/* Default: navigation normal */

.header-revision {

  /* Header container — border instead of overflow:hidden */
  .wc-blocks-pattern-header-essential {}


  .wp-block-navigation__container {

    gap: 5px;

    li {
      padding: 19px 0;

      a {
        padding: 0 8px;
      }
    }

  }


  /* Navigation items spacing */
  .wp-block-navigation__container.wp-block-navigation>li,
  .wp-block-navigation-item {

    margin: 0;

  }


  /* Logo / site title */
  .wp-block-site-title {

    padding: 6px 12px;
    margin: 0;

  }


  /* Category dropdown */
  .wp-block-categories-dropdown select {

    background-color: transparent;

  }


  /* Search button */
  .wp-block-search__button {

    padding: 19px 6px;
    background-color: transparent;
    color: var(--wp--preset--color--contrast);

  }




  /* Submenu reset — .has-child is auto-added by Gutenberg to the top-level li
     that owns a submenu. We keep that li's own border/padding (it's still a
     main menu item) but strip padding/border from the li's INSIDE its submenu. */
  .wp-block-navigation .has-child .wp-block-navigation__submenu-container li {

    padding: 0;
    border-left: none;

  }


  /* Mini cart */
  .wc-block-mini-cart {

    padding: 20px 12px;

  }


  /* Customer account */
  .wp-block-woocommerce-customer-account {

    padding: 8px 0;

  }





  /* Main header wrapper */
  .wp-block-group.is-nowrap {


    /* first content border */
    /* 
  > .wp-block-site-title {
      border-left: 1px solid #000;
      padding-left: 12px;
  }
  */


    /* separator before category */
    >.wp-block-categories-dropdown {

      border-left: 1px solid #000;
      border-right: 1px solid #000;

      padding: 22px 7px;

    }


  }
}



@media (max-width: 425px) {
  .header-revision {

    .wp-block-navigation li,
    .wp-block-navigation li ul li:first-child {
      border-left: none;
    }

    .wp-block-navigation__container {

      gap: 0 !important;

      li {
        padding: 0;

        a {
          padding: 0;
        }
      }

    }

    .wp-block-woocommerce-customer-account {

    padding: 15px 0;

  }

    .wc-block-mini-cart {
      padding: 20px 8px;
    }

    .wp-block-categories-dropdown {
      display: none;
    }
  }
}
/* //////////////////////////// start-testmonials //////////////////////// */
.testmonials {
  .content {
    .dashicons::before {
      color: var(--wp--preset--color--accent-1);
    }

    .first-cont {
      justify-content: space-between;
    }
  }

  .testmonials-customers {
    .as-content {
      overflow-y: scroll;
      height: 575px;
      direction: rtl;
      padding-left: 12.5px;
      /* text-align: left;  */

      .dashicons::before {
        color: var(--wp--preset--color--accent-5);
      }
    }

    /* لإعادة المحتوى الداخلي لوضعه الطبيعي حتى لا تنعكس العناصر */
    .as-content>* {
      direction: ltr;
    }

    .as-content::-webkit-scrollbar {
      width: 11px;
      padding-right: 20px;
    }

    .as-content::-webkit-scrollbar-thumb {
      background-color: var(--wp--preset--color--contrast);
      /* border-radius: 10px; */
    }

    .as-content::-webkit-scrollbar-track {
      background: var(--wp--preset--color--accent-1);
    }
  }

  .is-style-default {

    /* height: 15%;
      width: 10%; */
  }
}

@media (max-width: 768px) {
  .testmonials {
    padding: 0 16.5px;

    .content {
      .dashicons::before {
        color: var(--wp--preset--color--accent-1);
      }
    }

    .testmonials-customers {
      display: flex !important;
      flex-direction: column-reverse;
      order: 2;
      align-items: stretch;

      .as-content {
        display: block;
        height: 400px !important;
        max-height: 400px !important;
        overflow-y: auto !important;
        flex-shrink: 0;

        direction: rtl;
        padding-left: 15px;
        -webkit-overflow-scrolling: touch;

        .dashicons::before {
          color: var(--wp--preset--color--accent-5);
        }

        &>* {
          direction: ltr;
        }

        &::-webkit-scrollbar {
          width: 8px;
        }

        &::-webkit-scrollbar-thumb {
          background-color: var(--wp--preset--color--contrast);
          border-radius: 10px;
          border: 2px solid transparent;
          background-clip: padding-box;
        }

        &::-webkit-scrollbar-track {
          background: var(--wp--preset--color--accent-1);
        }
      }

      .first-row {
        flex-wrap: wrap;
      }

      .is-style-row {
        align-items: flex-start;

        .wp-block-image img {
          max-width: 40px !important;
        }
      }

      .is-style-paragraph {
        font-size: 14px !important;
        font-weight: 400 !important;
      }

      .is-style-default {
        img {
          /* width: 100%; */
        }

        .banner-img {
          height: 260px;

          img {
            width: 100% !important;
            height: 100% !important;
          }
        }
      }
    }
  }
}

/* //////////////////////////// end-testmonials //////////////////////// */
/* /////////////// start-main-banner //////////////////// */
.best-seller {
  ul.wc-block-product-template {
    grid-template-columns: repeat(1, 1fr);
  }

  .slide-1 {
    @media (min-width: 1024px) {
      .wc-block-product-template li:last-child .wp-block-group {
        border-bottom-width: 0 !important;
        border-bottom-style: none !important;
      }
    }

    /* .wp-block-button.wc-block-components-product-button {
      background-color: var(--wp--preset--color--contrast);
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      overflow: hidden;
    } */

    .wp-block-button.wc-block-components-product-button .wp-block-button__link {
      background-color: transparent !important;
      padding: 0 !important;
      margin: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      text-indent: -9999px;
    }

    .wp-block-button.wc-block-components-product-button .wp-block-button__link::before {
      content: "\f07a";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      text-indent: 0;
      position: absolute;
      color: var(--wp--preset--color--accent-1);
      font-size: 16px;
    }

    .wc-block-components-product-price {
      flex-wrap: wrap !important;
      flex-flow: row-reverse !important;

      del {
        color: #999;
      }
    }
  }

  .slide-2 {
    height: 565px;

    .wp-block-group {
      margin-top: 80px !important;
    }

    .wp-block-cover,
    .wp-block-cover-image {
      min-height: 565px !important;
    }

    .wp-block-button {
      a {
        position: relative;
        overflow: hidden;
        background-color: var(--wp--preset--color--contrast) !important;
        color: var(--wp--preset--color--base) !important;
        border: 1px solid var(--wp--preset--color--contrast);
        z-index: 1;
        transition: color 0.4s ease !important;
      }

      a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: var(--wp--preset--color--accent-5) !important;
        transition: width 0.4s ease;
        z-index: -1;
      }

      a:hover {
        /* color: var(--wp--preset--color--contrast) !important; */
      }

      a:hover::before {
        width: 100%;
      }
    }
  }

  .wp-block-post-title {
    a {
      color: var(--wp--preset--color--accent-8) !important;
      /* text-decoration: none; */
    }
  }

  .wp-block-post-terms {
    a {
      color: var(--wp--preset--color--accent-8) !important;
    }
  }

  .wc-block-grid__product-price {
    display: flex;
    gap: 8px;

    ins {
      background: none;
    }
  }
}

.banner-product-img {

  /* تنسيقات الـ Slide 2 */
  .wc-block-product-template__responsive {
    margin: 0;
  }

  .wp-block-button {

    /* Base Styles */
    a span,
    button span {
      background-color: var(--wp--preset--color--contrast);
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      font-size: 0;
      padding: 0;
      border: none;
      cursor: pointer;
      /* Added transition for a smooth color change */
      transition:
        background-color 0.25s ease,
        color 0.25s ease;
    }

    /* Hover Styles */
    /* This triggers when you hover the link/button OR the span itself */
    a:hover span,
    button:hover span,
    a span:hover,
    button span:hover {
      background-color: var(--wp--preset--color--accent-5) !important;
    }

    /* If there is an icon or SVG inside the span that needs to change color too */
    a:hover span *,
    button:hover span * {
      fill: var(--wp--preset--color--base);
      /* Example: changes icon color to white/base */
      color: var(--wp--preset--color--base);
    }
  }
}

/* --- الميديا كويري للموبايل --- */
@media (max-width: 768px) {
  .banner-product-img {
    /* padding: 0 16.5px; */
  }

  .best-seller {
    gap: 5px;

    .slide-2 {
      order: 0;
      height: 320px;

      .is-layout-constrained {
        margin-top: 10px !important;
      }

      .is-light {
        min-height: 320px !important;
      }
    }

    .slide-1 {
      order: 1;
      overflow: visible !important;
      height: auto !important;

      .wc-block-product-template__responsive.columns-1 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        /* ✅ gap between cards when scrolling */
        height: auto !important;
        padding: 0 !important;
        /* ✅ matches banner padding + bottom for button */
        margin: 0 !important;
        list-style: none;

        scrollbar-width: none;

        &::-webkit-scrollbar {
          display: none;
        }

        .wc-block-components-product-price {
          max-width: 100%;
        }

        .wc-block-product {
          flex: 0 0 calc(100vw - 20px) !important;
          /* ✅ accounts for padding on both sides */
          width: calc(100vw - 20px) !important;
          max-width: calc(100vw - 20px) !important;
          scroll-snap-align: start;
          height: auto !important;
          overflow: visible !important;
          /* ✅ allows add-to-cart button to show */
          box-sizing: border-box;
        }
      }
    }

    .slide-3 {
      order: 2;
    }

    hr {
      display: none;
    }
  }
}

/* /////////////// end-main-banner //////////////////// */

/* /////////////// start-timeless-banner //////////////////// */
.timeless-banner {

  /* Banner Image Covers */
  .img-cover {
    min-height: 549px !important;
  }

  /* Button Styles */
  .wp-element-button {
    position: relative;
    padding: 15px 45px;
    background-color: var(--wp--preset--color--base);
    border: 2px solid var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--contrast);
    z-index: 1;
    display: inline-block;
    overflow: visible;
    background-image: linear-gradient(var(--wp--preset--color--contrast),
        var(--wp--preset--color--contrast));
    background-size: 100% 0;
    background-position: bottom;
    background-repeat: no-repeat;
    transition:
      background-size 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      color 0.4s ease,
      all 0.4s ease;

    &::before,
    &::after {
      content: "";
      transform: translateY(-180%) rotate(90deg);
      position: absolute;
      width: 8px;
      height: 8px;
      background-color: var(--wp--preset--color--contrast);
      box-shadow: 24px 0px 0px var(--wp--preset--color--contrast);
      transition: all 0.4s ease;
    }

    &::before {
      left: 20px;
      top: 24px;
    }

    &::after {
      right: 20px;
      top: 26px;
    }

    &:hover {
      color: var(--wp--preset--color--accent-1) !important;
      background-size: 100% 100%;

      &::before,
      &::after {
        background-color: var(--wp--preset--color--base);
        box-shadow: 24px 0px 0px var(--wp--preset--color--base);
      }
    }
  }

  /* Title Styles */
  .main-title {
    h3 {
      opacity: 0.4;
      transition: all 0.3s ease;
      cursor: pointer;

      &.is-active {
        opacity: 1;
        color: var(--wp--preset--color--contrast);
      }

      &:hover {
        opacity: 1 !important;
        color: var(--wp--preset--color--contrast);
      }
    }

    &:hover h3.is-active {
      opacity: 0.4;
    }
  }

  /* Text & Groups */
  .wp-block-group p {
    color: var(--wp--preset--color--contrast) !important;
  }

  /* Marquee Animation */
  .designe-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;

    h2 {
      color: var(--wp--preset--color--contrast);
      display: inline-block;
      white-space: nowrap;
      animation: marquee 4s linear infinite alternate;
      will-change: transform;
    }
  }

  /* Media Queries nested inside the parent for organization */
  @media (max-width: 1024px) {
    .img-cover {
      min-height: 470px !important;
    }
  }

  @media (max-width: 768px) {
    .first-row {
      padding-right: 0 !important;
      padding-left: 0 !important;
    }

    .img-cover {
      padding: 0 !important;
      min-height: 350px !important;
    }

    .wp-element-button {

      &::before,
      &::after {
        top: 18px;
      }
    }
  }

  @media (max-width: 425px) {
    .columns {
      border: 0;
      width: 95%;
      margin: 0 auto;
      gap: 10px;
    }

    .first-element {
      padding: 0 !important;
    }

    .first-row {
      flex-direction: column;
      padding: 0 !important;
      gap: 1px;

      .main-title {
        padding: 0 !important;

        .wp-block-heading {
          margin-top: 6px;
        }
      }
    }

    .designe-marquee h2 {
      margin-top: 0 !important;
    }

    .img-cover,
    .wp-block-cover,
    .wp-block-cover-image {
      min-height: 166px !important;
      padding: 0 !important;
    }
  }
}

/* Keyframes remain global */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-30%);
  }
}

/* ================= TEXT ANIMATION ================= */

.mian-paragraph p,
.mian-paragraph h2 {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.swiper-slide-active .mian-paragraph p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.swiper-slide-active .mian-paragraph h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.card-price {
  margin-top: 0;
  justify-content: space-between;
}

/* /////////////// end-timeless-banner //////////////////// */

/* /////////- start-our-store -///////// */

/* --- إعدادات الشاشات الكبيرة (Desktop) --- */
/* Tablet and Desktop (768px and up) */
@media (min-width: 768px) {
  .main-store-desctop {
    display: block;

    .wp-block-cover {
      min-height: 791px !important;
    }

    .cover-img {
      position: relative;

      img {
        height: 100%;
        width: 100%;
        object-fit: fill;
      }

      .content {
        max-width: 631px;

        .wp-block-button__link {
          position: relative;
          overflow: hidden;
          background-color: var(--wp--preset--color--contrast) !important;
          color: var(--wp--preset--color--base) !important;
          z-index: 1;
          transition: color 0.4s ease;
          border: none;
          display: inline-block;

          &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: var(--wp--preset--color--accent-5) !important;
            transition: width 0.4s ease;
            z-index: -1;
          }

          &:hover {
            /* color: var(--wp--preset--color--contrast) !important; */

            &::before {
              width: 100%;
            }
          }
        }
      }
    }
  }

  /* Hide phone version on desktop/tablet */
  .main-store-phone {
    display: none;
  }
}

/* Mobile (Up to 767px) */
@media (max-width: 767px) {
  .main-store-desctop {
    display: none;
  }

  .main-store-phone {
    /* padding: 0 16.5px; */
    display: block;

    .wp-block-cover {
      min-height: 271px !important;
    }

    .cover-img {
      height: auto;

      img {
        width: 100%;
        height: 257px;
        object-fit: cover;
      }
    }
  }
}

/* /////////- end-our-store -///////// */

/* /////////////// start-blogs-page //////////////////// */

.blog-banner {
  .woocommerce .woocommerce-breadcrumb {
    margin: 0 0 1em 14px;
    padding: 0;
    text-align: center;
  }
}

.main-blog-page {

  /* ─── Sidebar ─── */
  .blogs-side-bar {

    /* Search */
    .wp-block-search__inside-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      flex-direction: row-reverse;
      background-color: transparent;

      input {
        background-color: transparent;
        width: 100%;
        height: 56px;
        padding-left: 60px;
        /* Adjusted to give the icon breathing room */
        padding-right: 15px;
        border: 1px solid var(--wp--preset--color--accent-4);
      }

      button {
        position: absolute;
        left: -10px;
        /* Positioned inside the input on the left */
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;

        /* Hide the original "Search" text */
        text-indent: -9999px;
        overflow: hidden;

        /* The Magnifying Glass Icon (SVG URL) */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23adadad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 24px;

        width: 40px;
        height: 40px;
        border: none;
        box-shadow: none;
        cursor: pointer;
        display: flex;
        transition: opacity 0.2s ease;

        &:hover {
          opacity: 0.7;
        }
      }
    }

    /* Latest Posts */
    .wp-block-post-template {
      margin: 0 !important;
    }

    /* Categories */
    .categories {
      list-style: none;
      padding-left: 0;
      margin-top: 3px;

      ul {
        padding: 0;
      }

      li {
        display: flex;
        align-items: center;
        gap: 8px;

        &::before {
          content: "";
          display: inline-block;
          width: 16px;
          height: 16px;
          flex-shrink: 0;
          background-image: url("../images/blogs/layer1.png");
          background-size: contain;
          background-repeat: no-repeat;
        }
      }

      a {
        color: var(--wp--preset--color--accent-4);
        transition: all 0.3s ease;

        &:hover {
          color: var(--wp--preset--color--accent-5);
        }
      }
    }

    /* Tags */
    .tags ul {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
      padding: 0;

      li {
        width: fit-content;
        list-style: none;
        margin-top: 10px;

        a {
          color: var(--wp--preset--color--contrast);
          padding: 9px 24px;
          border: 1px solid var(--wp--preset--color--contrast);
          /* text-decoration: none; */
          transition: all 0.3s ease;

          &:hover {
            color: var(--wp--preset--color--accent-5);
            border-color: var(--wp--preset--color--accent-5);
          }
        }
      }
    }
  }

  /* ─── Main Blog Area ─── */
  .main-blogs {

    /* Post Title */
    .wp-block-post-title a {
      color: var(--wp--preset--color--accent-8);
      /* text-decoration: none; */
      transition: all 0.3s ease;

      &:hover {
        color: var(--wp--preset--color--accent-9);
      }

      &:visited {
        color: var(--wp--preset--color--accent-8);
      }
    }

    a.wp-block-post-excerpt__more-link {
      color: var(--wp--preset--color--accent-5);
    }

    /* Pagination */
    .wp-block-query-pagination {
      .wp-block-query-pagination-numbers {

        a,
        span {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          height: 40px;
          padding: 0;
          color: var(--wp--preset--color--base);
          background-color: var(--wp--preset--color--contrast);
          /* color:red; */
          border-radius: 50%;
          transition: all 0.3s ease;
        }

        .current {
          background-color: var(--wp--preset--color--accent-5);
          color: var(--wp--preset--color--medium-gray);
        }
      }

      .wp-block-query-pagination-previous,
.wp-block-query-pagination-next{
        text-decoration: none !important;
      }

      .is-arrow-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--wp--preset--color--medium-gray);
        border: 1px solid var(--wp--preset--color--medium-gray);
        color: var(--wp--preset--color--primary);
        border-radius: 50%;
      }
    }
  }

  @media (max-width: 768px) {
    .main-blogs {
      ul {
        margin-left: 0;
      }
    }

    .tags ul {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
      /* padding: 0; */

      li {
        width: fit-content;
        list-style: none;
        margin-top: 16px;
      }
    }
  }
}

/* /////////////// end-blogs-page //////////////////// */

/* /////////////// start-post-page //////////////////// */
.main-post {
  .blogs-side-bar {

    /* Search */
    .wp-block-search__inside-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      flex-direction: row-reverse;
      background-color: transparent;

      input {
        background-color: transparent;
        width: 100%;
        height: 56px;
        padding-left: 60px;
        /* Adjusted to give the icon breathing room */
        padding-right: 15px;
        border: 1px solid var(--wp--preset--color--accent-4);
      }

      button {
        position: absolute;
        left: -10px;
        /* Positioned inside the input on the left */
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;

        /* Hide the original "Search" text */
        text-indent: -9999px;
        overflow: hidden;

        /* The Magnifying Glass Icon (SVG URL) */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23adadad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 24px;

        width: 40px;
        height: 40px;
        border: none;
        box-shadow: none;
        cursor: pointer;
        display: flex;
        transition: opacity 0.2s ease;

        &:hover {
          opacity: 0.7;
        }
      }
    }

    /* Latest Posts */
    .wp-block-post-template {
      margin: 0 !important;
    }

    /* Categories */
    .categories {
      list-style: none;
      padding-left: 0;
      margin-top: 3px;

      ul {
        padding: 0;
      }

      li {
        display: flex;
        align-items: center;
        gap: 8px;

        &::before {
          content: "";
          display: inline-block;
          width: 16px;
          height: 16px;
          flex-shrink: 0;
          background-image: url("../images/blogs/layer1.png");
          background-size: contain;
          background-repeat: no-repeat;
        }
      }

      a {
        color: var(--wp--preset--color--accent-4);
        transition: all 0.3s ease;

        &:hover {
          color: var(--wp--preset--color--accent-5);
        }
      }
    }

    /* Tags */
    .tags ul {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
      padding: 0;

      li {
        width: fit-content;
        list-style: none;
        margin-top: 10px;

        a {
          color: var(--wp--preset--color--contrast);
          padding: 9px 24px;
          border: 1px solid var(--wp--preset--color--contrast);
          /* text-decoration: none; */
          transition: all 0.3s ease;

          &:hover {
            color: var(--wp--preset--color--accent-5);
            border-color: var(--wp--preset--color--accent-5);
          }
        }
      }
    }
  }
}

/* /////////////// end-post-page //////////////////// */

/* /////////////// start-blog-section-plus //////////////////// */

.blog-section-plus {
  .wp-block-post-featured-image {
    width: clamp(134px, 18vw, 322px);
  }

  .is-layout-constrained {
    height: stretch;
  }

  .content {
    .wp-block-post-excerpt__excerpt {
      /* font-size: clamp(1rem, 1.3125rem + -1vw, 0.75rem); */
    }

    .wp-block-post-excerpt__more-text {
      a {
        text-decoration: underline;
        text-transform: capitalize;
        /* font-size: clamp(1rem, 0.6875rem + 1vw, 1.25rem); */
        color: var(--wp--preset--color--accent-5);
      }
    }
  }

  .main-btn {
    padding: 0;
    border: none;
    overflow: hidden;

    a {
      background-color: var(--wp--preset--color--base);
      border: 1px solid var(--wp--preset--color--contrast);
      display: inline-block;
      padding: 10px 20px;
      color: var(--wp--preset--color--contrast);
      /* text-decoration: none; */
      position: relative;
      z-index: 1;
      transition: color 0.4s ease;

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: var(--wp--preset--color--accent-5);
        z-index: -1;
        transition: width 0.4s ease;
      }

      &:hover::before {
        width: 100%;
      }

      &:hover {
        /* color: var(--wp--preset--color--accent-1); */
      }
    }
  }
}

@media (max-width: 425px) {
  .blog-section-plus {
    .is-layout-constrained {
      height: stretch;
    }

    .wp-block-post-featured-image {
      height: 176px !important;

      img {
        height: 100% !important;
      }
    }

    .content {
      padding: 9px !important;

      .wp-block-post-title,
      .wp-block-post-excerpt {
        margin-block-start: 5px;
      }

      .wp-block-post-excerpt__more-text {
        margin-bottom: 0;
        margin-top: 7px;

        a {
          text-decoration: underline;
          color: var(--wp--preset--color--accent-5);
        }
      }
    }

    .columns-2 {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: visible !important;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 16px;
      height: auto !important;

      scrollbar-width: none;

      &::-webkit-scrollbar {
        display: none;
      }

      .wp-block-post {
        flex: 0 0 100vw;
        scroll-snap-align: start;
        height: auto !important;
        overflow: visible !important;
      }

      .wp-block-post .first-row {
        min-height: 176px !important;
      }

      .wp-block-post .blog-img,
      .wp-block-post .blog-img img {
        height: 271px !important;
        width: auto !important;
      }
    }
  }
}

/* /////////////// end-blog-section-plus //////////////////// */