:root{
    --lightblue: #f7f4fd;
    --darkblue: #132086;
    --text: #14213d;
    --white: #ffffff;
    --green: #5ec430;
}

.success-stories-subtitle {
    font-size: 30px;
    color: var(--white);
    text-align: center;
    line-height: 1.3;
}
.success-stories-post-section {padding: 100px 15px 80px;}
.success-stories-post-wrapper {
    max-width: 980px;
    margin: 0 auto;
}
.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.success-stories-post-image-wrapper {
    position: relative;
    display: flex;
    height: 320px;
    overflow: hidden;
}
section.quotes {
    padding: 100px 15px 80px;
    background-color: #eef0f5;
}
.quotes-inner p {
    font-size: 24px;
    line-height: 34px;
    font-weight: 300;
}
.quotes-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.success-stories-clients img {
    padding: 10px 15px;
    margin: 0 auto;
}

.responsive-image {
    max-width: 100%;
    display: block;
    height: auto;
}

.quotes-inner p.under-quotes {
    color: #230383;
}
.success-stories-post-image-wrapper .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000060;
    transition: opacity .3s ease-in-out;
    opacity: 0;
}
.success-stories-post-image-wrapper:hover .image-overlay {
    opacity: 1;
}
.success-stories-post-image-wrapper:hover .img {

    transform: scale(1.1);
}
.success-stories-post-image-wrapper .img{
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all .3s ease-in-out;
}
.success-stories-post-title {
    display: inline-block;
    font-size: 30px;
    line-height: 1.3;
    color: var(--darkblue);
    font-weight: bold;
    margin: 20px 0 30px;
}
.button.success-stories-button {
    background-color: var(--white);
    color: var(--green);
    font-weight: bold;
    border: 2.5px solid var(--green);
    border-radius: 30px;
    padding: 14px 21px;
}
.home-clients-slider-section .sub-contents{
	max-width: 100%
}
.mosaic-section .sub-contents > .section-stories-clients {
    padding-top: 0;
    padding-bottom: 0;
}
.page-id-5 .success-stories-clients {
    padding: 0;
}
.archive .success-stories-clients {padding: 100px 15px 100px;}
.success-stories-clients-inner {
    max-width: 100%;
    margin: 0 auto;
}
.success-stories-clients-inner h2 {
    margin-bottom: 60px;
    text-align: center;
    font-weight: bold;
    font-size: 50px;
}
.success-stories-clients-images-wrapper {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
}
.success-stories-clients-images {
    display: flex;
    align-items: center;
    gap: 60px;
}
.slider-image-wrapper a {
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-image-wrapper a img {
    max-width: 220px;
}
.ss-swiper {
    max-width: 90%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 28px !important;
    color: var(--darkblue);
}
.slider-image-wrapper img {max-height: 100px; max-width: 270px;margin: 0 auto;}
/** @Contact section */
.ss-contact{
    padding: 100px 15px 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/wp-content/themes/mosaic-sections-theme/success-stories/images/contact_bg.png');
}
.ss-contact-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.ss-contact-inner h2{
    font-size: 50px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--darkblue);
    margin-bottom: 32px;
}
.ss-contact-inner p{
    font-size: 30px;
    line-height: 1.3;
    color: var(--darkblue);
}
.ss-contact-inner a{
    display: inline-block;
    font-size: 14px;
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--white);
    background-color: var(--green);
    padding: 16px 48px;
    border-radius: 24px;
    max-width: max-content;
}
.ss-contact-inner-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}
.logos-wrapper {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: 0 auto;
}
.logos-wrapper.desktop .logo {
    margin: 0 auto;
    width: 20%;
}
@media only screen and (min-width: 992px) {
.logos-wrapper.desktop {
    display: flex;
}

}
/** Contact section end */
@media (max-width: 992px) {
    .logos-wrapper.desktop .logo {
        margin: 0 auto;
        width: 30%;
    }
}
@media (max-width: 768px) {
    .quotes-inner p {font-size: 18px; line-height: 28px;}
    .quotes-inner p.under-quotes {font-size: 18px; line-height: 28px;}
    .success-stories-grid{grid-template-columns: repeat(1, 1fr);}
    .ss-contact-inner h2{font-size: 48px;}
}
@media (max-width: 640px) {
    .ss-swiper {max-width: 100%;}
    .swiper-button-next:after, .swiper-button-prev:after {font-size: 20px !important;}
    .slider-image-wrapper img {max-height: 120px;}
}
@media (max-width: 480px) {
    section.success-hero h2.section-headline {font-size: 48px;}
    .success-stories-post-section {padding: 80px 15px 60px;}
    .success-stories-post-image-wrapper{height: 290px;}
    .success-stories-post-title{margin: 30px 0 20px; font-size: 30px;}
    .success-stories-clients-inner h2 {font-size: 42px; line-height: 1.3;}
    .success-stories-clients-images {gap:24px; justify-content: space-around;}
    .button.success-stories-button{padding: 8px 18px; font-size: 14px;}
    .ss-contact-inner h2{font-size: 32px;}
    .ss-contact-inner p{font-size: 24px;}
    .ss-contact-inner-buttons{flex-direction: column;padding: 0 15px;}
    .ss-contact-inner a{width: 100%;max-width: 100%;}
}