.blog-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: 1440px;
    width: 100%;
    padding: 40px 20px;

    background-color: #F8F7F3;
    margin: 0 auto;
    overflow: hidden;
}

.blog-cta::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("https://fakhraei.clinic/wp-content/uploads/2025/12/cta-back.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    z-index: 0;
}

.blog-cta-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 30px !important;
}

.blog-cta>* {
    position: relative;
    z-index: 1;
}

.cta-description {
    width: 80%;
    max-height:73px;
    overflow:hidden;
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #FFFFFF;
    background-color: #FF5A00;
    padding: 15px 35px;

    text-decoration: none;
    border-radius: 50px;
    white-space: nowrap;
    font-size: 16px !important;
}
.cta-btn:hover ,.cta-btn:active {
     background-color: #ffffff;
     color: #FF5A00;
}


@media (max-width: 1024px) {
    .cta-description {
        width: 60%;
    }

    .blog-cta::before {
        background-size: 137% 103%;
    }

}


@media (max-width: 768px) {
    .cta-description {
        width: 100%;
    }

.cta-buttons {
    width: 100%;
    display: flex;
    padding-top: 15px;
    align-items: revert;
    justify-content: center;
    gap: 20px;
}

    .cta-btn {
        justify-content: center;
        padding: 10px 25px;
    }

    .blog-cta {
        padding: 30px 16px;
    }

    .blog-cta::before {
        background-size: 187% 100%;
    }
}


@media (max-width: 480px) {
    .blog-cta-title {
        font-size: 24px !important;
    }

    .cta-description p {
        font-size: 14px !important;
        line-height: 1.8;
    }

    .cta-btn {
        padding: 10px 25px;
        font-size: 14px !important;
    }

    .blog-cta::before {
        background-size: 214% 100%;
    }
}

.cta-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* number of lines */
    overflow: hidden;
}