﻿/*==================================
        OneNews Page
==================================*/

body {
    font-family: "Vazirmatn", sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 2;
}

/*================ Hero =================*/

.blog-hero {
    background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65));
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

.blog-category {
    display: inline-block;
    background: #74C63D;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255,255,255,.9);
    font-size: 15px;
}

    .blog-meta i {
        color: #74C63D;
        margin-left: 6px;
    }

/*================ Article =================*/

.blog-content {
    padding: 80px 0;
}

    .blog-content .container {
      /*  max-width: 900px;*/
        background: #fff;
        padding: 45px;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
    }

    .blog-content img {
        width: 100%;
        border-radius: 18px;
    }

    .blog-content p {
        margin: 25px 0;
        font-size: 17px;
        color: #555;
        text-align: justify;
    }

/*================ Call Box =================*/

.call-box {
    padding-bottom: 70px;
}

.call-card {
    background: linear-gradient(135deg,#74C63D,#57a92b);
    color: #fff;
    text-align: center;
    padding: 50px;
    border-radius: 25px;
}

    .call-card h2 {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 25px;
    }

    .call-card .btn {
        background: #fff;
        color: #57a92b;
        border: none;
        border-radius: 40px;
        padding: 14px 35px;
        font-weight: 700;
        transition: .3s;
    }

        .call-card .btn:hover {
            transform: translateY(-4px);
        }

/*================ Related =================*/

.related-blog {
    padding: 70px 0;
    background: #fff;
}

    .related-blog h2 {
        text-align: center;
        font-weight: 800;
        margin-bottom: 50px;
    }

.related-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .35s;
}

    .related-card:hover {
        transform: translateY(-8px);
    }

    .related-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .related-card h5 {
        padding: 20px;
        text-align: center;
        font-weight: 700;
        line-height: 1.8;
    }

/*================ Responsive =================*/

@media(max-width:991px) {

    .blog-hero {
        padding: 90px 0;
    }

        .blog-hero h1 {
            font-size: 34px;
        }

    .blog-content .container {
        padding: 25px;
    }

    .call-card {
        padding: 35px 20px;
    }

        .call-card h2 {
            font-size: 24px;
        }
}

@media(max-width:768px) {

    .blog-hero h1 {
        font-size: 28px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }

    .blog-content p {
        font-size: 15px;
    }

    .related-card {
        margin-bottom: 25px;
    }
}
