.custom-flex-blocks {
    display: flex;
    gap: 32px;
    margin: 56px 50px;
    justify-content: space-between;
  }
  
  .custom-block {
    flex: 1 1 0;
    min-width: 0;
  }
  
  .custom-block h1,
  .custom-block h2,
  .custom-block h3,
  .custom-block h4,
  .custom-block h5,
  .custom-block h6,
  .custom-block h1 > span,
  .custom-block h2 > span,
  .custom-block h3 > span,
  .custom-block h4 > span,
  .custom-block h5 > span,
  .custom-block h6 > span {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700 !important;
    line-height: 40px;
    color: #222;
  }
  
  .custom-block p {
    font-size: 16px;
    margin-top: 0;
  }
  
  @media (max-width: 900px) {
    .custom-flex-blocks {
      flex-direction: column;
      gap: 24px;
      margin: 25px;
    }

    .custom-block h1,
    .custom-block h2,
    .custom-block h3,
    .custom-block h4,
    .custom-block h5,
    .custom-block h6,
    .custom-block h1 > span,
    .custom-block h2 > span,
    .custom-block h3 > span,
    .custom-block h4 > span,
    .custom-block h5 > span,
    .custom-block h6 > span {
      font-size: 24px;
      line-height: 130%;
    }
  }

.faq-module {
    gap: 32px;
    margin: 56px 50px 0;
}

.faq-module h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    text-align: left;
}

.faq-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-column .faq-item:last-child {
    margin-bottom: 0;
}

.faq-item {
    background-color: #FAFAFA; 
    margin-bottom: 16px; 
    padding: 16px;
}

.faq-question {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    line-height: 1.5;
}
.faq-question svg{
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-item.active .faq-answer{
    display: block;
}
.faq-answer {
    display: none;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
}
.faq-answer p:first-child {
    margin-top: 0;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-icon {
    font-size: 22px;
    font-weight: normal;
    color: #4CAF50;
    transition: transform 0.2s ease;
}

.faq-item.active > .faq-question svg {
    transform: rotate(45deg);
}
.woocommerce-products-header{
    display: flex !important;
    gap: 100px;
}
.woocommerce-products-header .woocommerce-products-header__title{
    flex: 1;
    max-width: 50%;
}
.woocommerce-products-header .term-description{
    max-width: 65%;
}

@media (max-width: 900px) {
    .tax-product_cat .woocommerce-products-header{
        padding: 25px !important;
        flex-direction: column;
        gap: 0;
    }
    .woocommerce-products-header .woocommerce-products-header__title{
        max-width: 100%;
    }
    .woocommerce-products-header .term-description{
        max-width: 100%;
    }
    .faq-module{
        margin: 25px;
    }
    .faq-module h2 {
        font-size: 24px;
    }
    .faq-grid-layout {
        grid-template-columns: 1fr;
        gap: 0; 
    }
    .faq-item {
        margin-bottom: 15px; 
    }
    .faq-column .faq-item:last-child {
        margin-bottom: 15px; 
    }
     .faq-column:last-child .faq-item:last-child {
        margin-bottom: 0; 
    }
}

/* Read More for Term Description */
.term-description-wrapper .read-more-description-toggle {
    background: none;
    border: none;
    color: #7BAE23; /* Using a theme color, adjust as needed */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0 0 0; /* Adjust padding as needed */
}

.term-description-wrapper .read-more-description-toggle:hover {
    color: #5f8d1e; /* Darker shade for hover, adjust as needed */
}

.term-description-wrapper .read-more-description-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Ensure last p in description content doesn't have margin when button is present */
.term-description-wrapper .short-description p:last-child,
.term-description-wrapper .full-description p:last-child {
    margin-bottom: 0;
}

.term-description-wrapper .short-description + .read-more-description-toggle {
    margin-top: 1em; /* Space between truncated text and button */
}

.term-description-wrapper .full-description + .read-more-description-toggle {
    margin-top: 1em; /* Space between full text and button */
}