/* Inner Banner Styles */
.inner_banner_mb {
    margin-bottom: 60px;
}

.inner_banner_blog {
    margin-bottom: 0px;
    margin-top: 86px;
}

.blog_banner {
    background-image: url(../images/aboutpage/about_banner.jpg); /* Update with your blog banner image */
    background-repeat: no-repeat;
    background-size: cover;
}

.inner_banner_title ul li,
.inner_banner_title ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
}

.inner_banner_title ul li {
    display: inline-block;
}

.blog_banner .inner_banner_title {
    display: inline-block;
    padding: 160px 0px;
    position: relative;
    text-align: left;
}

.inner_banner_title h1 {
    color: white;
    font-size: 60px;
    margin-top: 5px;
    font-weight: 700;
}

/* Blog Section */
.blog_section {
    background-color: #ffffff;
    padding: 0px 0px 60px 0px;
}
.blog_title_section {
    text-align: center;
    padding: 40px 0;
}
.blog_section .blog_main_title {
    font-size: 36px;
    color: #ff0000;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog_subtitle {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}
.blog_section .blog_top_one h5 {
    font-size: 24px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
}

.blog_section .blog_top_one h3 {
    color: var(--white);
    font-weight: 600;
    font-size: 45px;
    line-height: 55px;
}

.blog_section .blog_top_one p {
    color: #fff;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.blog_section .blog_top_one a {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    text-decoration: underline;
    margin-top: 10px;
    display: inline-block;
    width: 100%;
}

.blog_section .blog_top_one a:hover {
    color: var(--red);
}

.blog_section .blog_top_one_img img {
    border-radius: 25px;
    width: 100%;
    height: auto;
}

.blog_section .blog_dt_full {
    margin: 20px 0;
    width: 100%;
    display: block;
    position: relative;
}

.blog_section .blog_dt_full::after {
    width: 100%;
    height: 1px;
    background-color: #8a8a8a;
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
}

.blog_section .blog_dt_full p {
    text-align: right;
    color: var(--white);
    background-color: #454545;
    display: inline-block;
    position: relative;
    z-index: 1;
    padding-left: 20px;
}

.blog_section .blog_small_blog {
    position: relative;
    margin-bottom: 30px;
    border-radius: 25px;
    overflow: hidden;
    background: #000; /* Ensure dark background for overlay effect */
}

.blog_section .blog_small_img {
    position: relative;
}

.blog_section .blog_small_img::after {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    background-image: url("../images/hi.png");
    background-repeat: no-repeat;
    background-position: bottom left;
}

.blog_section .blog_data {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end; /* Align content to the bottom */
}

.blog_section .blog_data_in {
    padding: 40px;
    color: var(--white);
    position: relative;
    width: 100%;
    height: 100%;
}

.blog_section .blog_data_in h5 {
    font-size: 24px;
    line-height: 35px;
    font-weight: 800;
    margin: 0px 0px;
}

.blog_section .blog_data_in p {
    line-height: 28px;
    margin: 10px 0 5px;
}

.blog_section .blog_data_in h6 {
    font-weight: 800;
    margin: 0px 0px;
}

.blog_section .blog_data_in_more a {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    text-decoration: underline;
    margin-top: 10px;
    display: inline-block;
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.blog_section .main_btn {
    margin-top: 35px;
    background-color: #291963; /* Matching the purple from previous designs */
    color: #fff;
    padding: 10px 20px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    text-align: center;
    touch-action: manipulation;
    transition: all 0.3s ease-in-out;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
    background: var(--red);
    min-width: 170px;
    line-height: 25px;
    border-radius: 5px;
}

.blog_section .main_btn:hover {
    background-color: #1f1f1f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog_section {
        padding: 50px 0px;
    }

    .blog_section .blog_top_one h3 {
        font-size: 30px;
        line-height: 40px;
    }

    .blog_section .blog_top_one h5 {
        font-size: 20px;
    }

    .blog_section .blog_top_one p {
        font-size: 14px;
    }

    .blog_section .blog_data_in {
        padding: 20px;
    }

    .blog_section .blog_data_in h5 {
        font-size: 20px;
        line-height: 28px;
    }

    .blog_section .blog_data_in p {
        font-size: 14px;
        line-height: 22px;
    }

    .blog_section .blog_data_in_more a {
        font-size: 14px;
        bottom: 20px;
        left: 20px;
    }

    .blog_section .main_btn {
        font-size: 14px;
        padding: 8px 16px;
        min-width: 150px;
    }
}
