.psa-accordion-container {
    display: flex;
}

.psa-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 40%;
}

.psa-tabs-nav .psa-tab-button {
    padding: 10px 32px;
    border-bottom: 1px solid rgb(142 142 142 / 25%);
    opacity: 0.5;
    transition: .2s linear;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    text-align: start;
    position: relative;
    font-family: var(--fira-sans-condensed-family);
}

.psa-tabs-nav .psa-tab-button::after {
    content: '';
    width: 0%;
    height: 1px;
    /*background: linear-gradient(-90deg,rgba(142, 142, 142, 1) 50%, rgba(40, 40, 40, 1) 100%);*/
    background: linear-gradient(-90deg, rgb(142 142 142 / 25%) 50%, rgba(40, 40, 40, 1) 100%);
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: .2s linear;
}

.psa-tabs-nav .psa-tab-button:hover,
.psa-tabs-nav .psa-tab-button.active {
    border-bottom-color: rgb(142 142 142 / 0%);
    opacity: 1;
    transition: .2s linear;
}

.psa-tabs-nav .psa-tab-button:hover::after,
.psa-tabs-nav .psa-tab-button.active::after {
    width: 100%;
    transition: .2s linear;
}

.psa-tabs-content {
    width: 60%;
    background: #fff;
    padding: 24px 18px;
}

@media screen and (min-width: 1024px) {
    .psa-tab-content {
        display: none;
        width: 100%;
        opacity: 0;
        visibility: hidden;
    }
    
    .psa-tab-content.active {
        opacity: 1;
        visibility: visible;
    }
}
.psa-tab-content .psa-tab-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}


body:has(.services) .psa-tab-content .psa-tab-content-wrapper .psa-content-image {
    width: 100%;
    height: 147px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    img {
        width: 100%;
        height: auto;
    }
}

.psa-tab-content .psa-tab-content-wrapper .psa-content-text {
    * {
        font-family: var(--fira-sans-family);
        font-size: 18px;
        font-weight: 400;
    }
    
    strong {
        font-weight: 500;
    }
    ul, ol {
        padding-left: 20px;
        padding-top: 20px;
    }
    ul {
        list-style: disc;
    }
    
    ul li::marker {
        font-size: 14px;
    }
    
    h3 {
        font-size: 32px;
    }
    
}

body:has(.custom-products) .psa-tabs-content {
    padding: 43px 90px;
}

body:has(.custom-products) .psa-tab-content .psa-tab-content-wrapper .psa-content-image {
    height: auto;
    width: 367px;
    
    img {
        width: 100%;
        height: auto;
    }
}

body:has(.custom-stamps) .psa-tabs-content {
    padding: 24px 18px 29px 18px;
}

@media screen and (max-width: 1023px) {
   .psa-tabs-content {
       display: none;
   }
   
   .psa-tabs-nav {
       width: 100%;
   }
   
   .psa-tabs-nav .psa-tab-button {
       opacity: 1;
   }
   
   .psa-tabs-nav .psa-tab-button::after {
       width: 100%;
   }
   
   .psa-tab-content {
       max-height: 0;
       overflow: hidden;
       transition: .3s ease-out;
   }
   
   .psa-tab-content .psa-tab-content-wrapper .psa-content-text {
       
       h3 {
           display: none;
       }
       
       * {
           font-size: 16px;
           line-height: 120%;
       }
   }
   
   .tab-mobile-wrapper.active-tab {
       
       .psa-tab-content {
            max-height: 3000px;
            transition: .3s ease-in;
            padding: 12px 0 24px 0;
       }
    }
      
    .psa-tabs-nav .psa-tab-button {
       padding: 10px 0;
       width: 100%;
    }
   
   body:has(.custom-products, .custom-stamps) .psa-tabs-nav .psa-tab-button {
       padding: 10px 16px;
   }
   
   body:has(.custom-products, .custom-stamps) .tab-mobile-wrapper.active-tab {
       background: #fff;
       
       .psa-tab-content {
           padding: 12px 16px 24px 16px;
       }
   }
   
   body:has(.custom-products, .custom-stamps) .tab-mobile-wrapper.active-tab .psa-tab-button {
       border-bottom-color: transparent;
   }
   
   body:has(.custom-products, .custom-stamps) .tab-mobile-wrapper.active-tab .psa-tab-button::after {
       width: 0;
   }
   
   body:has(.custom-products, .custom-stamps) .psa-tab-content .psa-tab-content-wrapper .psa-content-image {
       width: 200px;
   }
}

@media screen and (min-width: 1024px) and (max-width: 1535px) {
    .psa-tabs-nav .psa-tab-button {
        font-size: 20px;
    }
   
}
