.base-blog-slider {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
    padding: 30px 0;
    box-shadow: 0 0 10px 4px color-mix(in srgb, var(--color1001) 30%, transparent);
}
.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 {
    color: var(--color1001);
    font-family: Sahel-Black;
    font-size: 25px;
    text-align: center;
}
.blog-header p {
    color: color-mix(in srgb, var(--color1001) 90%, transparent);
    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-start;
}
.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;
    color: color-mix(in srgb, var(--color1001) 80%, transparent);
}
.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;
    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: var(--color1002);
    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: color-mix(in srgb, var(--color1002) 40%, transparent);
    color: var(--color1003);
    border-radius: 5px;
    padding: 1px 10px;
    margin-right: 10px;
}
.base-blog-box :is(.swiper-button-next, .swiper-button-prev) {
    background-color: color-mix(in srgb, var(--color1002) 40%, transparent);
    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: color-mix(in srgb, var(--color1002) 60%, transparent);
}
.base-blog-box :is(.swiper-button-next, .swiper-button-prev)::after {
    font-size: 16px;
    font-weight: 800;
    color: var(--color1003);
}
.base-blog-box .swiper-pagination {
    position: relative;
}
.base-blog-box .swiper-pagination span {
    background-color: color-mix(in srgb, var(--color1002) 60%, transparent);
    transition: width .3s;
    opacity: 1;
}
.base-blog-box .swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 4px;
    background-color: color-mix(in srgb, var(--color1002) 80%, transparent);
}
.all-posts {
    text-align: center;
    margin-top: 12px;
}
.all-posts a {
    font-family: Sahel-SemiBold;
    text-decoration: none;
    color: var(--color1002);
    background-color: color-mix(in srgb, var(--color1003) 80%, transparent);
    padding: 6px 40px 8px 40px;
    border-radius: 50px;
    box-shadow: 7px 7px 7px -4px color-mix(in srgb, var(--color1002) 20%, transparent), -7px -7px 7px -4px color-mix(in srgb, var(--color1003) 70%, transparent);
}
.all-posts a:hover {
    box-shadow: inset 7px 7px 7px -4px color-mix(in srgb, var(--color1002) 20%, transparent), inset -7px -7px 7px -4px color-mix(in srgb, var(--color1003) 70%, transparent);
}
@media screen and (max-width: 600px) {
    .base-blog-slider {
        margin: 40px 0;
    }
    .blog-header h4 {
        padding-top: 20px;
    }
    .blog-header p {
        font-size: 16px;
        margin: 0;
    }
    .blog-box-text {
        align-self: center;
        align-items: center;
    }
    .blog-box-title h4 {
        margin-bottom: 12px;
    }
    .read-more {
        margin-right: 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%;
    }
}