.testimonoals h1{
    padding: 50px 0px 30px;
    font-size: 36px;
    text-align: center;
    font-weight: 300;
    width: max-content;
}
.testimonials-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.testimonials-content {
    place-content: center;
}
.testimonials-content h5 {
    color: rgba(3, 78, 161, 1);
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 30px;
    font-weight: 400;
}
.testimonoals{
    padding-bottom: 150px;
}
.testimonials-content p {
    font-size: 18px;
    line-height: 32px;
}
.scoliosis {
    font-size: 26px;
    line-height: 34px;
    text-align: center;
    margin-top: 10px;
    width: 48%;
    margin-left: auto;
}

.all-testimonials h2{
    font-size: 36px;
    text-align: center;
    font-weight: 300;
    padding: 30px 0px 30px;
}

.testtabcontent{
    display: none;
}
.testi-tabs {
    overflow: hidden;
    background-color: rgba(230, 237, 246, 1);
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0px;
    height: 50px;
}
.testi-tabs button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
}
.testi-tabs button.active {
    color: rgba(0, 183, 172, 1);
    border-bottom: 2px solid rgba(3, 78, 161, 1);
}
.testi-section{
    padding: 40px 0px;
}
.testivideo-align {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.testivideo-align .video-thumbnail-wrapper p{
    font-size: 18px;
    text-align: center;
    margin-top: 5px;
    line-height: 26px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.blogs-align {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blogs-cards {
    border: 1px solid rgba(3, 78, 161, 0.2);
    border-radius: 10px;
    background: #fff;
}
.blogs-cards img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    width: 100%;
}
.blogs-content {
    padding: 25px 20px;
}
.blogs-content h4 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 300;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4em;
    height: calc(1.4em* 2);
}
.blogs-content p {
    font-size: 20px;
    margin-bottom: 20px;
    color: rgba(32, 33, 36, 1);
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.62em;
    height: calc(1.62em* 4);
}
.blog-reads p{
    height: unset;
}
.blogs-content a {
    text-decoration: underline;
    font-size: 20px;
    text-underline-offset: 6px;
    font-family: 'HelveticaNeueMedium';
}
.blog-reads{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.blog-reads p{
    display: flex;
    align-items: center;
    gap: 5px;
    width: unset;
    margin-bottom: unset;
    font-size: 18px;
    color: #00b7ac;
    font-family: 'HelveticaNeueRoman', sans-serif;
}
.blog-reads p span{
    font-family: 'HelveticaNeueRoman', sans-serif;
}
.vertical-line {
    width: 2px;
    height: 20px;
    background-color: #00b7ac;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 8px;
}
.testi-section .custom-play-button {
    width: 40px;
    height: 40px;
}
.testi-section .custom-play-button::before {
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.pagination button {
    border: 1px solid rgba(3, 78, 161, 0.2);
    background-color: white;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
    color: #034ea1;
    width: 35px;
    height: 35px;
}

.pagination button.active {
    background-color: #034ea1;
    color: white;
    border-color: #034ea1;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pagination button.pagination-arrow {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
}
.proff-tabs,
.channel-tabs {
    overflow: hidden;
    background-color: rgba(230, 237, 246, 1);
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0px;
    height: 50px;
}

.proff-tabs button,
.channel-tabs button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 18px;
}

.proff-tabs button.active,
.channel-tabs button.active {
    color: rgba(0, 183, 172, 1);
    border-bottom: 2px solid rgba(3, 78, 161, 1);
}
.stories-content-text{
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
  }
  @media (max-width: 991px) {
    .testimonials-section {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .testimonials-content{
        order: 2;
    }
    .video-thumbnail-wrapper{
        order:1
    }
    .splide__arrows {
        width: 50%;
    }
}
@media (max-width: 768px) {
    .blogs-align{
        grid-template-columns: repeat(2, 1fr);
    }
    .blogs-cards img {
        width: 100%;
    }
    .blogs-cards {
        margin-bottom: 20px;
    }
    .testi-section{
        padding: 20px 15px;
    }
}
@media (max-width: 767px) {
    .blogs-align {
        display: unset;
    }
    .video-thumbnail-wrapper{
        margin-bottom: 20px;
    }
    .testimonials-section{
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .testimonials-content h5{
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 25px;
    }
    .testimonials-content p {
        font-size: 16px;
        line-height: 26px;
    }
    .scoliosis {
        font-size: 16px;
        line-height: 26px;
        text-align: center;
        margin-top: 0px;
        width: 100%;
        margin-left: auto;
    }
    /* .testimonoals {
        padding-bottom: 90px;
    } */
    .proff-tabs{
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: nowrap;
        white-space: nowrap;
        /* justify-content: flex-start; */
        overflow-x: auto;
    }
    .proff-tabs::-webkit-scrollbar {
        height: 3px;
      }
      
      .proff-tabs::-webkit-scrollbar-thumb {
        background: #888; 
        border-radius: 3px;
      }
      .splide__arrows {
        width: 100%;
    }
}
@media (max-width: 499px) {
    .all-testimonials h2 {
        font-size: 26px;
        padding: 20px 0px 0 0;
        margin-bottom: 0;
    }
    .blog-contents h2, .blog-contents h2 * {
        font-size: 18px;
    }
    .testivideo-align {
        display: unset;
    }
    .testimonoals h1{
        margin-bottom: 0;
        font-size: 26px;
    }
    .testi-tabs button{
        font-size: 16px;
    }
    .pagination {
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .blogs-content h4 {
        font-size: 20px;
        line-height: 1.2em;
        max-height: calc(1.2em* 2);
    }
    .blogs-content {
        padding: 20px 15px;
    }
    .blogs-content p{
        font-size: 16px;
        line-height: 1.42em;
        max-height: calc(1.42em* 4);
    }
    .blogs-content a{
        font-size: 16px;
    }
}
