﻿#blog-section {
    padding: 40px;
}

.blog-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.blog {
    height: auto;
    width: 300px;
    padding: 20px;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

body.rtl .blog {
    position: relative;
}

.blog-title {
    color: var(--02-black, #151B26);
    leading-trim: both;
    text-edge: cap;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 21.762px;
    margin-top: 10px;
}

    .blog-title:hover {
        color: #151B26 !important;
    }

.blog-image {
    width: 276.865px;
    height: 179.303px;
    flex-shrink: 0;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.blog-description {
    color: var(--02-black, #151B26);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%; /* 21.6px */
}

.blog-link {
    color: var(--02-black, #151B26);
    text-align: right;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px; /* 178.571% */
    text-decoration-line: underline;
}

.blog-tag {
    display: inline-flex;
    padding: 5px 10px;
    margin-top: 10px;
    margin-left: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 2px;
    background: var(--03-red, #C10230);
    color: var(--01-white, #FFF);
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.blog-date-field {
    display: flex;
    flex-direction: row;
    padding-top: 15px;
}

body.rtl .blog-date-field {
    position: absolute;
    bottom: 0;
}

.blog-date {
    color: var(--02-black, #151B26);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 18px */
    margin-left: 5px;
}

body.rtl .blog-date {
    margin-left: auto;
    margin-right: 5px;
}

.blog-bottom-line {
    width: 163.865px;
    height: 0.2px;
    background: #151B26;
    margin-left: 15px;
    margin-top: 6px;
}

body.rtl .blog-bottom-line {
    margin-left: 0;
    margin-right: 15px;  
}

.blog-header {
    padding-top: 50px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.our-blog-text {
    color: #5F6B76;
    leading-trim: both;
    text-edge: cap;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20.762px; /* 412.587% */
}

.popular-articles-text {
    color: var(--02-black, #151B26);
    font-family: Montserrat;
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.all-blogs-link {
    color: #151B26 !important;
    text-align: right;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 25px; /* 178.571% */
    text-decoration-line: underline;
    float: right;
    margin-right: 10%;
}

body.rtl .all-blogs-link {
    margin-top: 20px;
    float: left;
    margin-left: 10%;
    margin-right: 0;
}

body.rtl .all-blogs-link svg{
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform-origin: center;
    -webkit-transform-origin: center;
}

.all-blogs-link:hover {
    color: #151B26 !important;
}

.blogs-swiper {
    display: none;
}

@media(max-width:1024px) {
    .blog-row {
        display: none;
    }
    .blogs-swiper {
        display: block;
    }
}

@media(max-width:768px) {
    #blog-section {
        padding: 40px 40px 40px 0px;
    }
    body.rtl #blog-section {
        padding: 40px 0 40px 40px;
    }
    .blog-header {
        padding-top: 50px;
        padding-left: 25px;
    }
    body.rtl .blog-header{
        padding-left: 0;
        padding-right: 25px;
    }
    .blog-bottom-line {
        width: 116.865px;
    }
    .all-blogs-link{
        display:none;
    }
}
