@font-face {
    font-family: iranyekanfa;
    font-display: swap;
    font-style: normal;
    font-weight: normal;
    src: url("/Content/font/woff/iranyekanwebregularfanum.woff");
}

@font-face {
    font-family: iranyekanfabold;
    font-display: swap;
    font-style: normal;
    src: url("/Content/font/woff/iranyekanwebextrablackfanum.woff");
}

body {
    font-family: iranyekanfa, Arial, Helvetica, sans-serif;
    font-size: 14px;
}

h1,
h2,
h3 {
    font-family: iranyekanfabold, Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

a,
a:hover {
    color: inherit;
}

@media (min-width: 576px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

/* ------------------ root ---------------*/
.mb-8 {
    margin-bottom: 8rem;
}

.mb-12 {
    margin-bottom: 12rem;
}

.rounded-12p {
    border-radius: 12px;
}

.pb-30p {
    padding-bottom: 30px;
}

.swiper-slide {
    height: auto;
}
/* ------------------ banner section --------------*/

.wrap-favorite-news {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 15px;
    max-height: 600px;
}

.fav-news-1 {
    grid-area: 1 / 1 / 6 / 7;
}

.fav-news-2 {
    grid-area: 1 / 7 / 4 / 13;
}

.fav-news-3 {
    grid-area: 4 / 7 / 6 / 10;
}

.fav-news-4 {
    grid-area: 4 / 10 / 6 / 13;
}

.fav-tag {
    top: 2rem;
    right: 2rem;
    z-index: 1;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.fav-tag-1 {
    background-color: #B9AE7D;
}

.fav-tag-2 {
    background-color: #CA6D7D;
}

.fav-tag-3 {
    background-color: #4D4D4D;
}

.fav-tag-4 {
    background-color: #007751;
}

.fav-title {
    bottom: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2rem;
    z-index: 1;
}

.fav-items {
    border-radius: 1rem;
    cursor: pointer;
}

    .fav-items:nth-child(3) .fav-title,
    .fav-items:nth-child(4) .fav-title {
        font-size: 1.5rem;
    }

    .fav-items img {
        transition: all 0.2s ease-in-out;
        object-fit: cover;
    }

    .fav-items::after {
        content: "";
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 2%, #000000 100%);
        width: 100%;
        height: 50%;
        bottom: 0;
        left: 0;
        right: 0;
        position: absolute;
    }

    .fav-items:hover img {
        transform: scale(1.2);
    }

/* -------------- blog section --------------*/
.wrap-banner-blog {
    background: #0048aa;
    max-height: 210px;
    border-radius: 12px;
    color: #fff;
}

.mockup-blog {
    margin-top: -3rem;
}
/* ------------ lastest blog ------------*/
.blog-post img {
    max-height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
}
/* ------------- wrapp news ----------*/
.wrapp-news {
    display: grid;
    gap: 15px;
    grid-template: repeat(2, 1fr) / repeat(3, 1fr);
}

.date-news-item {
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    text-align: center;
    padding: 1rem;
    min-width: 75px;
}

.author-news-item span {
    font-size: 12px;
}

.img-news-item img {
    object-fit: cover;
    width: 100%;
    height: 320px;
    transition: all 0.2s ease-in-out;
}

.news-item:hover .img-news-item img {
    transform: scale(1.1);
}

.content-news-item p {
    min-height: 50px;
}
.content-news-item h3{
    font-family:iranyekanfa;   
}

li.page-item > a {
    width: 45px;
    height: 45px;
}
/* ------------- Video Section ----------*/
.video-item img {
    object-fit: cover;
}

.video-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 180deg, rgba(217, 217, 217, 0) 0%, rgba(40, 40, 40, 0.42) 55.21%, rgba(0, 0, 0, 0.63) 100% );
    width: 100%;
    height: 50%;
    border-radius: 0 0 12px 12px;
}

.video-tag {
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.video-links {
    bottom: 2rem;
    right: 2rem;
    width: 88%;
    flex-wrap: wrap;
}

.time-own-video {
    top: -20px;
    left: 15px;
    background: #0048aa;
    border-radius: 3px;
    letter-spacing: 1.5px;
}
.play-icon{
    transition:all 0.2s ease-in-out;
}
.wrap-play:hover .play-icon {
    transform:scale(2)
}
/* --------------------- Tags Section ------------------*/
.video-row {
    row-gap: 1.5rem;
}

.all-tags {
    z-index: 1;
}

    .all-tags li {
        background: #f2f4f6;
        border-radius: 8px;
        color: #0048aa;
        transition: all 0.2s ease-in-out;
        padding: 0.5rem 1rem;
    }

        .all-tags li:not(:last-child) {
            margin-left: 2rem;
        }

        .all-tags li:hover {
            background-color: #0048aa;
            color: #f2f4f6;
        }

.title-tags::after {
    content: "";
    position: absolute;
    margin-right: 3rem;
    width: 70%;
    height: 4px;
    background-color: #f2f4f6;
    top: 50%;
}
/*---------------------- media queries -----------------*/
@media only screen and (max-width: 900px) {
    .fav-items:nth-child(3) .fav-title,
    .fav-items:nth-child(4) .fav-title {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 767px) {
    .title-tags::after {
        content: none;
    }

    .fav-tag {
        font-size: 10px;
    }

    .mockup-blog {
        margin-top: 3rem;
        margin-bottom: unset;
    }

    .fav-news-3 {
        grid-area: 6 / 1 / 7 / 7;
    }

    .fav-news-4 {
        grid-area: 6 / 7 / 6 / 13;
    }

    .fav-items:nth-child(3) .fav-title,
    .fav-items:nth-child(4) .fav-title,
    .fav-title {
        font-size: 1.5rem;
    }

    .fav-news-2 {
        grid-area: 1 / 7 / 6 / 13;
    }
}

@media only screen and (max-width: 662px) {
    .wrap-banner-blog {
        max-height: unset;
        padding-bottom: 1rem;
    }
}

@media only screen and (max-width: 600px) {
    h2 {
        font-size: 22px;
    }

    p {
        font-size: 12px;
    }

    .content-banner-blog {
        text-align: center;
    }

    .wrapp-news {
        grid-template: repeat(2, 1fr) / repeat(2, 1fr);
    }

    .date-news-item {
        padding: 0.5rem;
        min-width: 60px;
    }
}

@media only screen and (max-width: 576px) {
    .wrap-favorite-news {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(12, 1fr);
    }

    .fav-news-1 {
        grid-area: 1 / 1 / 4 / 6;
    }

    .fav-news-2 {
        grid-area: 4 / 1 / 7 / 6;
    }

    .fav-news-3 {
        grid-area: 7 / 1 / 10 / 6;
    }

    .fav-news-4 {
        grid-area: 10 / 1 / 13 / 6;
    }
}

@media only screen and (max-width: 480px) {
    .wrapp-news {
        grid-template: repeat(2, 1fr) / repeat(1, 1fr);
    }
}
