﻿
:root {
    --txtClr: rgb(255, 255, 255);
    --firstCrl: #0c0078;
    /*--secondClr: #15b9d9;*/
    --bgSecondClr: rgb(209 209 209 / 8%);
    --thirdClr: #56598b;
    --fourClr: #5050a1;
}

/*حقوردی 14031205*/
.blogPage {
    font-weight: unset;
    user-select: none;
    -webkit-user-select: none;
}

    .blogPage a {
        text-decoration: none;
        color: var(--thirdClr);
    }




    .blogPage .containerFluid {
        align-items: center;
        min-height: 220px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /*
        .blogPage .containerFluid::after {
            height: 310px;
            position: absolute;
            top: 0;
            bottom: 0;
            content: "";
            width: 100%;
            background: linear-gradient( 0deg, rgba(255, 244, 244, 0.91) 3.17%, #f7feff 94.02% );
            z-index: -1;
        }
*/
    .blogPage .titleBlog {
        white-space: pre-wrap;
        max-width: 100%;
        font-size: 30px;
        font-weight: 700;
        overflow: hidden;
    }

    .blogPage .headerText {
        text-align: center;
        top: 30%;
        position: relative;
    }

    .blogPage .cardImg-category {
        opacity: 0.8;
        position: absolute;
        background: var(--formButton_bcolor1);
        padding: 6px 8px;
        /* border-radius: 20px; */
        color: var(--txtClr);
        font-size: small;
        top: -45px;
        left: 15px;
        z-index: 1;
        transition: all 0.5s;
    }

    .blogPage .cardImg-link {
        z-index: 1;
        position: absolute;
        background: var(--formButton_bcolor1);
        /* padding: 6px 8px; */
        /* border-radius: 20px; */
        color: var(--txtClr);
        font-size: small;
        bottom: -45px;
        width: 100%;
        padding: 7px;
        text-align: center;
        transition: all 0.5s;
        opacity: 0.8;
    }

        .blogPage .cardImg-link:hover {
            opacity: 1;
        }

    .blogPage .cardImg {
        max-width: 100%;
        height: 70%;
        /*height: 220px;*/
        overflow: hidden;
        position: relative;
    }

    .blogPage .cardBody {
        height: 30%;
    }

    .blogPage .card:hover .article-img {
        transform: scale(1.1) rotate(2deg);
    }

    .blogPage .card:hover .cardImg-link {
        transform: translateY(-44px);
    }

    .blogPage .card:hover .cardImg-category {
        transform: translateY(60px);
    }

    .blogPage .article-img {
        width: 100%;
        height: 100%;
        border-radius: 5px 5px 0px 0px;
        object-fit: cover;
        transition: all 0.5s;
    }

    .blogPage .content {
        direction: rtl;
        display: flex;
        width: 100%;
        max-width: 1200px;
        flex-direction: row;
        margin: 0 auto;
        padding-top: 25px;
        justify-content: space-between;
        margin-bottom: 30px
    }

    .blogPage .wrapperCard {
        flex: 3;
        max-width: 74%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        height: fit-content;
    }

/*حقوردی 14031205*/
    .blogPage .card {
        flex: 32%;
        min-width: 32%;
        max-width: 32%;
        /*        margin-bottom: 25px;*/
        border: 1px solid #8080803d;
        box-shadow: 0px 1px 0px 0px #ededed;
        border-radius: 5px;
        overflow: hidden;
        height: 300px;
        /*        margin-right: 5px*/
        user-select: none;
        -webkit-user-select: none;
    }

    .blogPage .asideArticle {
        flex: 1;
        max-width: 24%;
    }

    .blogPage .lastArticles,
    .blogPage .searchBar,
    .blogPage .tags {
        background-color: var(--bgSecondClr);
        margin-bottom: 10px;
        border-radius: 5px;
    }

    .blogPage .lastArticle {
        margin-top: 5px;
        padding: 5px 10px;
        border-bottom: 1px solid rgba(211, 211, 211, 0.507);
    }

.lastArticleHeader,
.tagsHeader {
    color: var(--formButton_bcolor1);
    text-align: center;
    border-bottom: 2px solid #fff;
    padding-bottom: 7px;
    font-size: 16px;
    font-weight: bold;
}

.blogPage .searchInput {
    all: unset;
    line-height: 2;
}

.blogPage .searchBtn {
    all: unset;
    vertical-align: text-top;
}

    .blogPage .searchBtn path {
        fill: var(--formButton_bcolor1);
    }

.blogPage .formSearch {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.blogPage .lastArticleList li a img {
    margin-left: 7px;
    vertical-align: middle;
}

.blogPage .lastArticleList {
    padding: unset;
    user-select: none;
    -webkit-user-select: none;
}


.blogPage .lastArticleImg {
    border-radius: 5px;
    object-fit: cover;
}

.blogPage .lastArticleList li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.blogPage .lastArticles {
    font-size: 13px;
}

.blogPage .tags {
    font-size: 13px;
}

.blogPage .lastArticleTitle,
.blogPage .lastArticleTitleDate {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    color: var(--thirdClr);
}

    .blogPage .lastArticleTitle:hover {
        color: var(--formButton_bcolor1);
    }

.blogPage .lastArticleTitleDate {
    display: inline-block;
    float: left;
    margin-top: 5px;
}

.blogPage .article-author svg {
    fill: var(--formButton_bcolor1) !important;
}

.blogPage .lastArticles,
.blogPage .searchBarMobile,
.blogPage .searchBar,
.blogPage .tags {
    padding: 10px 0px;
    box-shadow: 1px 1px 1px 1px gainsboro;
}


.blogPage .asideArticle ul li:last-child {
    border-bottom: unset;
}

.blogPage .cardBody-detail {
    color: var(--fourClr);
    font-size: 14px;
    margin-top: 7px;
    margin-right: 10px;
}

.blogPage .article-author {
    display: inline-block;
    margin-left: 20px;
}

    .blogPage .article-author span {
        vertical-align: middle;
        margin-right: 4px;
    }

/*.blogPage a:hover {
    color: var(--formButton_bcolor1);
}*/

.blogPage .article-date {
    flex: 1;
    text-align: -webkit-left;
    font-size: smaller;
    color: gray;
}

    .blogPage .article-date span {
        vertical-align: sub;
        margin-right: 4px;
    }

    .blogPage .article-date svg path {
        fill: var(--formButton_bcolor1) !important;
    }

.blogPage .date-full {
    display: inline-block;
}

.blogPage .article-date-moon {
    font-weight: bold;
}

.blogPage .cardFooter {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
    height: 50px;
}

.blogPage .article-title {
    margin-right: 10px;
    color: var(--thirdClr);
    font-weight: 700;
    font-size: 0.9em;
    word-spacing: 1px;
    line-height: 25px;
}

    .blogPage .article-title:hover {
        color: var(--formButton_bcolor1);
        cursor: pointer;
    }


.blogPage .searchBarMobile {
    display: none;
}

.blogPage .tag {
    display: inline-block;
    border-radius: 5px;
    padding: 4px 12px;
    background-color: var(--formButton_bcolor1);
    color: var(--formButton_fcolor);
    margin: 3px;
}

    .blogPage .tag:hover,
    .blogPage .tag:hover a {
        opacity: 0.8;
        cursor: pointer;
        /*color: var(--formButton_bcolor1);*/
    }

    .blogPage .tag a {
        color: var(--txtClr);
    }

.blogPage .tagList {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

.blogPage .lastArticleInfo {
    min-width: 70%;
    flex: 70%;
}

.blogPage .cardArticle-date {
    padding: 0 15px;
}

@media only screen and (max-width: 1200px) {
    .blogPage .content {
        max-width: 1000px;
    }

    .blogPage .wrapperCard {
        flex: 2;
        max-width: 68%;
    }

    .blogPage .card {
        min-width: 49%;
        flex: 49%;
        max-width: 49%;
    }

    .blogPage .asideArticle {
        flex: 1;
        max-width: 30%;
    }
}

@media only screen and (max-width: 990px) {
    /*    .blogPage .containerFluid::after {
        height: 260px;
    }*/

    .blogPage .content {
        max-width: 900px;
    }

    .blogPage .wrapperCard {
        flex: 2;
        max-width: 68%;
    }

    .blogPage .card {
        flex: 49%;
        max-width: 49%;
    }

    .blogPage .asideArticle {
        flex: 1;
        max-width: 30%;
    }
}

@media only screen and (max-width: 800px) {
    /*    .blogPage .containerFluid::after {
        height: 260px;
    }*/

    .blogPage .content {
        max-width: 95%;
        flex-direction: column;
    }

    .blogPage .formSearch {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .blogPage .asideArticle ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blogPage .lastArticleList li {
        flex: 1;
        min-width: 45%;
        margin: unset;
    }

    .blogPage .asideArticle ul li:nth-last-child(2) {
        border-bottom: unset;
    }

    .blogPage .asideArticle ul li:nth-child(odd) {
        border-left: 1px solid rgba(211, 211, 211, 0.507);
    }

    .blogPage .searchInput {
        width: 80%;
    }

    .blogPage .wrapperCard {
        flex: unset;
        min-width: 100%;
        margin-bottom: 20px;
    }

    .blogPage .card {
        flex: 48%;
        min-width: 48%;
        height: 300px;
    }

    .blogPage .asideArticle {
        flex: 1;
        max-width: 100%;
    }


    .blogPage .searchBar {
        display: none;
    }

    .blogPage .searchBarMobile {
        display: block;
        background-color: var(--bgSecondClr);
        margin-bottom: 25px;
        border-radius: 5px;
        line-height: 3;
    }

        .blogPage .searchBarMobile svg {
            vertical-align: middle;
        }
}

@media only screen and (max-width: 574px) {
    /*    .blogPage .containerFluid::after {
        height: 260px;
    }*/

    .blogPage .asideArticle ul li:nth-last-child(2) {
        border-bottom: 1px solid rgba(211, 211, 211, 0.507);
    }

    .blogPage .asideArticle ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blogPage .lastArticleList li {
        flex: 1;
        min-width: 100%;
        margin: unset;
    }

    .blogPage .asideArticle ul li:nth-last-child(1) {
        border-bottom: unset;
    }

    .blogPage .asideArticle ul li:nth-child(odd) {
        border-left: unset;
    }

    .blogPage .searchInput {
        width: 80%;
    }

    .blogPage .wrapperCard {
        flex: unset;
        min-width: 100%;
    }

    .blogPage .card {
        min-width: 100%;
        flex: 100%;
    }

    /*    .blogPage .article-img {
        height: unset;
    }*/

    .blogPage .article-date {
        float: left;
    }
}
