﻿.blogs-main {
    /* width: 100vh;
  height: 100vh; 
  background: radial-gradient(circle, #474b4ecf, #1516188a); */
}

.header-section {
    position: relative;
    background: url('/Images/pexels-act5.jpg') center/cover no-repeat;
    height: 60vh;
}

.header-title {
    text-align: center;
    margin: 0;
    padding: 268px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.blogs-main .blogs-container {
    /* max-width: 1001px; */
    /* border-radius: 8px; */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    font-family: "Poppins", sans-serif;
    padding: 2rem 2rem 10rem 2rem;
    background: linear-gradient(135deg, #1a1a1a96, #4f94d4bf, #d6cfcfa1);
    margin: 0px auto 0px auto;
}

.blogs-title {
/*    position: absolute;
    top: 22rem;
    left: 61rem;*/
    text-align: center;
    font-size: 3.5rem;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    text-decoration: underline;
}

.blog-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
/*    flex-wrap: wrap;
    width: 1217px;*/
    margin: 0 auto;
    background-color: #160e0e;
    padding: 17px;
    border-radius: 8px;
}

.blog-card {
    background: #fff;
    width: 58rem;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    .blog-card:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .blog-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #6a11cb, #2575fc);
        z-index: 0;
        opacity: 0.1;
        border-radius: 10px;
    }

    .blog-card h2 {
        margin: 0;
        font-size: 1rem;
        font-weight: bold;
        color: #333;
        z-index: 1;
        position: relative;
        text-decoration: underline;
        letter-spacing: 1px;
        line-height: 29px;
        height: 3.8rem;
    }

    .blog-card p {
        font-size: 1.2rem;
        color: black;
        margin: 32px 0px 0px 0px;
        z-index: 1;
        position: relative;
        font-family: system-ui;
        line-height: 1.6;
        height: 10rem;
        padding: 3px;
        overflow: hidden;
    }

.blog-meta {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    position: relative;
}

    .blog-meta span {
        font-weight: bold;
        color: black;
    }

.blog-card:hover h2 {
    color: #6a11cb;
}

.blog-card:hover p {
    color: #2575fc;
}


@media (min-width:768px) and (max-width:991px) {
}

@media (max-width:767px) {
    .blogs-title {
        position: absolute;
        top: 15rem;
        left: 6rem;
        font-size: 1.7rem;
        letter-spacing: 4px;
    }

    .blog-list {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: wrap;
        width: 285px;
        margin: 0 auto;
        background-color: #160e0e;
        padding: 4px;
        border-radius: 4px;
    }

    .blog-card h2 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: bold;
        color: #333;
        z-index: 1;
        position: relative;
        text-decoration: underline;
        letter-spacing: 1px;
        line-height: 19px;
        height: 4rem;
    }

    .blog-card p {
        font-size: 1.1rem;
        color: black;
        margin: 12px 0;
        z-index: 1;
        position: relative;
        font-family: system-ui;
        line-height: 1.2;
        height: 14rem;
        padding: 3px;
        overflow: hidden;
    }
}

@media (max-width:320px) {
}
