.service-faq {
  background-color: var(--tertiary-white);
  padding: 2.5rem 1.25rem 1rem;

  @media (width>=1024px) {
    padding: 5rem 3.5rem;
    padding-bottom: 1.25rem;
  }

  .faq-list__title {
    :is(h1, h2, h3, h4, h5, h6) {
      font-size: var(--heading-font-size-m);
      color: var(--raisin-black);
      font-style: normal;
      line-height: normal;
      font-weight: var(--fw-700);
      font-family: var(--body-font-arena);
      margin: 0;
      margin-bottom: var(--space-16px);

      @media (width>=1024px) {
        color: var(--tertiary-black);
        font-size: var(--heading-font-3-des);
        line-height: var(--heading-lh-16-des-display);
        margin-bottom: 2.5rem;
      }
    }
  }

  .faq-sidebar {
    .faq-dropdown-toggle {
      display: none;
    }
    .faq-tabs {
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      overflow-y: hidden;
      gap: 0.5rem;
      width: calc(100% + 1.25rem);
      max-width: calc(100% + 1.25rem);
      margin-right: -1.25rem;
      padding-right: 1.25rem;
      flex-wrap: nowrap;
      scrollbar-width: none;

      @media (width>=1024px) {
        gap: 1.5rem;
      }

      .faq-tab {
        border: none;
        background-color: var(--tertiary-white);
        padding: var(--space-10px) 1.688rem var(--space-9px);
        border-bottom: 1px solid var(--bars-unselected);
        color: var(--secondary-black);
        font-size: var(--body-font-size-xxxs);
        font-family: var(--body-font-arena);
        font-weight: var(--fw-400);
        line-height: normal;
        font-style: normal;
        text-transform: uppercase;
        flex-shrink: 0;
        white-space: nowrap;
        margin-bottom: 1rem;
        cursor: pointer;

        @media (width>=1024px) {
          font-size: var(--body-font-size-xxs);
          line-height: 1.225rem;
          letter-spacing: 0.28px;
          padding: 0 0 var(--space-8px) 0;
          margin-bottom: 0.5rem;
        }
      }

      .active {
        border-bottom: 1px solid var(--primary-blue-700);
        color: var(--primary-blue-700);
        font-weight: var(--fw-700);
        letter-spacing: 0.24px;
        padding: var(--space-8px) var(--space-10px) var(--space-7px) var(--space-14px);
        line-height: 1.225rem;

        @media (width>=1024px) {
          padding: 0 0 var(--space-9px) 0;
        }
      }
    }
  }

  .faq-content-area {
    .hidden {
      display: none;
    }

    .faq-item {
      border-bottom: 1px solid;
      border-image: linear-gradient(90deg, rgba(178, 178, 178, 0), #b2b2b2, rgba(178, 178, 178, 0)) 1;
      padding: var(--space-14px) 0 var(--space-10px);

      @media (width>=1024px) {
        padding: var(--space-16px) 0 var(--space-8px);
      }

      .faq-accordion-title {
        list-style: none;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;

        &::marker {
          display: none;
        }

        &::after {
          content: '';
          position: absolute;
          right: 0;
          top: 50%;
          transform: translateY(-50%);
          width: 1.5rem;
          height: 1.5rem;
          background: center / contain no-repeat url(/icons/add-blue.svg);
          transition: background-image 0.3s ease;

          @media (width>=1024px) {
            width: 2rem;
            height: 2rem;
          }
        }

        .question-text > :is(h1, h2, h3, h4, h5, h6) {
          font-size: var(--body-font-size-xxs);
          font-weight: var(--fw-600);
          font-style: normal;
          color: var(--raisin-black);
          line-height: 1rem;
          display: block;
          padding-right: 2rem;
          margin: 0;
          @media (width>=1024px) {
            height: 4rem;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: var(--body-font-size-s);
            line-height: 1.5rem;
          }
        }
      }

      &[open] {
        scroll-margin-top: 120px;

        .faq-accordion-title::after {
          background: center / contain no-repeat url(/icons/minus-blue.svg);
        }
      }

      .faq-accordion-content {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.1s ease;

        .answer-text {
          padding: var(--space-14px) 0 0;

          @media (width>=1024px) {
            padding: 0;
          }
          p,
          ul,
          a {
            font-family: var(--body-font-arena);
            font-size: var(--body-font-size-xxxxs);
            font-style: normal;
            font-weight: var(--fw-300);
            line-height: 1rem;
            margin: 0;

            @media (width>=1024px) {
              font-size: var(--body-font-size-xxs);
              line-height: var(--heading-lh-6-des);
            }
          }

          ul {
            list-style-type: disc;
            padding-inline-start: 40px;
          }

          a {
            color: var(--tertiary-black);
            text-decoration: underline;
          }
        }
      }

      details[open] .faq-accordion-content {
        max-height: 1000px;
      }
    }
  }
  .faq-toggle-button{
        height: 40px;
        width: 100%;
        border: none;
        border-bottom: 0;
        background: transparent;
        border-radius: 0px;
        text-align: left;
        font-family: var(--body-font-family);
        font-size: 0.875rem;
        font-style: normal;
        font-weight: var(--fw-600);
        line-height: var(--heading-lh-4--mob-text-medium);
        padding: 0;
        color: var(--primary-blue-700);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        svg path{
          fill:var(--primary-blue-700);
    }

         @media (width >= 768px) {
                height: 64px;
                font-size: var( --body-font-size-s);
                line-height: var(--heading-lh-21-des-text-small);
      
    }
  }
      .arrow-icon {
        margin-left: auto;
        transition: transform 0.2s ease;
      
    }
  
}
