.base-blog-slider {
    background-image: url(../../images/blog/bg.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    padding: 30px 0;
    box-shadow: 0 0 10px 4px rgba(0,0,0,0.1);
}
.blog-slider {
    max-width: 1100px;
    width: 100%;
    padding: 0px 30px;
    margin: 0px auto;
}
.base-blog-box {
    max-width: 900px;
    margin: 0px auto;
}
.blog-header {
    text-align: center;
}
.blog-header h4 {
    font-family: Sahel-Black;
    font-size: 25px;
    text-align: center;
}
.blog-header p {
    font-family: Sahel;
    font-size: 20px;
    direction: rtl;
    text-align: center;
    padding: 1% 4% 0% 4%;
    line-height: 35px;
}
.blog-box {
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px 0px;
}
.blog-body ul {
    padding: 0px;
}
.blog-box-image {
    width: 150px;
    position: relative;
    flex-shrink: 0;
}
.blog-box-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transform: scale(2);
    transition: transform .5s;
}
.base-blog-box .swiper-slide-active .blog-box-image img {
    transform: scale(1);
}
.blog-box-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}
.blog-box-text > p {
    direction: rtl;
    text-align: justify;
    position: relative;
    font-size: 14px;
    line-height: normal;
    margin-bottom: 30px;
    opacity: 0;
    transition: transform 1s, opacity 1s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.base-blog-box .swiper-slide-active .blog-box-text > p {
    font-family: Sahel;
    opacity: 1;
}
.blog-box-text > p::before, .blog-box-text > p::after {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    position: absolute;
    color: #d7d7d7;
    height: 40px;
    z-index: -1;
}
.blog-box-text > p::before {
    font-family: Sahel-Black;
    content: "}}";
    top: -45px;
    left: 10px;
    font-size: 35px;
}
.blog-box-text > p::after {
    font-family: Sahel-Black;
    content: "{{";
    top: 73px;
    right: 0;
    font-size: 35px;
}
.blog-box-title {
    position: relative;
    width: fit-content;
    line-height: 1;
    opacity: 0;
    transition: transform 1s .2s, opacity 1s .3s;
}
.base-blog-box .swiper-slide-active .blog-box-title {
    opacity: 1;
}
.blog-box-title h4 {
    text-align: right;
    direction: rtl;
    font-size: 20px;
    font-family: Sahel-Bold;
    color: #001ea9;
    opacity: .8;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-box-title p {
    font-size: 13px;
    font-family: Sahel-Light;
    text-align: center;
}
.read-more {
    text-decoration: none;
    background-color: #84f4ff;
    color: black;
    border-radius: 5px;
    padding: 1px 10px;
    margin-right: 10px;
}
.base-blog-box :is(.swiper-button-next, .swiper-button-prev) {
    background-color: #001ea933;
    top: 24%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background-color .3s;
    box-shadow: var(--shadow);
}
.base-blog-box :is(.swiper-button-next, .swiper-button-prev):hover {
    background-color: #001fa980;
}
.base-blog-box :is(.swiper-button-next, .swiper-button-prev)::after {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}
.base-blog-box .swiper-pagination {
    position: relative;
}
.base-blog-box .swiper-pagination span {
    background-color: #001ea933;
    transition: width .3s;
    opacity: 1;
}
.base-blog-box .swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 4px;
    background-color: #001fa980;
}
.all-posts {
    text-align: center;
    margin-top: 12px;
}
.all-posts a {
    font-family: Sahel-SemiBold;
    text-decoration: none;
    color: #3c5f7c;
    background-color: #f9f9f9;
    padding: 6px 40px 8px 40px;
    border-radius: 50px;
    box-shadow: 7px 7px 7px -4px rgba(10, 99, 169, 0.16), -7px -7px 7px -4px rgba(255, 255, 255, 0.70);
}
.all-posts a:hover {
    box-shadow: inset 7px 7px 7px -4px rgba(10, 99, 169, 0.16), inset -7px -7px 7px -4px rgba(255, 255, 255, 0.70);
}
@media screen and (max-width: 600px) {
    .base-blog-slider {
        margin-bottom: 10%;
    }
    .blog-header h4 {
        padding-top: 20px;
    }
    .blog-header p {
        font-size: 16px;
        margin: 0;
    }
    .base-blog-box .swiper-pagination {
        margin-top: -25px;
    }
}
@media screen and (max-width: 390px) {
    .blog-box-text > p::after {
        top: 90px;
    }
}
@media screen and (min-width: 768px) {
    .blog-box {
        flex-direction: row;
        padding: 30px 100px;
    }
    .blog-box-image {
        width: 200px;
    }
    .base-blog-box :is(.swiper-button-next, .swiper-button-prev) {
        top: 50%;
    }
}