.blog_hero {
    width: 100%;
    height: 430px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.blog-card {
    background-color: #fffbef;
    padding: 80px 0px;

}

@media(max-width:991px) {
    .blog-card {
        padding: 40px 0px;
    }
}

.blog-cards-section .card {
    background-color: transparent;
    border: none;
    position: relative;
}

.blog-cards-section .card::before {
    content: "";
    position: absolute;
    background-color: #7373734D;
    width: 2px;
    height: 100%;
    top: 0px;
    left: -20px;
}

.blog-cards-section .card:nth-child(3n + 1)::before {
    display: none;
}


@media (max-width: 991px) {
    .blog-cards-section .card:nth-child(2n + 1)::before {
        display: none;
    }

    .blog-cards-section .card:nth-child(2n)::before {
        display: block;
    }

    .blog-cards-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-cards-section .small-tab-hide::before {
        display: none;
    }

    .small-tab-visible::before {
        display: block;
    }
}


@media (max-width: 480px) {
    .blog-cards-section .card::before {
        display: none;
    }
}

@media (max-width: 991px) {
    .blog-cards-section .card::before {
        height: 100%;
    }
}

.blog-cards-section .card img {
    width: 100%;
    height: auto;
}

@media (max-width: 480px) {
    .blog-cards-section .card img {
        max-width: 100%;
    }
}

.blog-cards-section .card h3 {
    margin: 10px 0 5px;
    font-size: 18px;
    color: #333;
}

.blog-cards-section .card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .blog-cards-section .card p {
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .blog-cards-section .card p {
        font-size: 12.5px;
    }
}

.blog-cards-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    position: relative;
}


@media(max-width:991px) {
    .blog-cards-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-cards-section .card_sub_title {
    display: flex;
    position: relative;
    gap: 36px;
    margin-top: 10px;
}

@media (max-width: 1199px) {
    .blog-cards-section .card_sub_title {
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .blog-cards-section .card_sub_title {
        gap: 20px;
    }
}

.card_sub_title .date {
    position: relative;
}

.card_sub_title .date::before {
    content: "";
    position: absolute;
    left: -10%;
    top: 0px;
    transform: translateX(-50%);
    width: 2px;
    height: 90%;
    background-color: #ccc;
    margin-bottom: 5px;
}

.blog-cards-section .card .bottom_card_text h3 {
    font-size: 29px;
    font-weight: 400;
    color: #000000;
    margin: 5px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1366px) {
    .blog-cards-section .card .bottom_card_text h3 {
        font-size: 25px;
    }
}

@media (max-width: 1199px) {
    .blog-cards-section .card .bottom_card_text h3 {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .blog-cards-section .card .bottom_card_text h3 {
        font-size: 18px;
    }
}

.blog-cards-section .card .bottom_card_text p {
    font-size: 18px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 1199px) {
    .blog-cards-section .card .bottom_card_text p {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .blog-cards-section .card .bottom_card_text p {
        font-size: 15px;
    }
}

.blog-cards-section .card .bottom_card_text .read_btn {
    display: inline-block;
    padding: 3px 13px;
    background-color: transparent;
    color: #9D400C;
    text-decoration: none;
    border: 1px solid #9D400C;
    font-weight: 400;
    font-size: 14px;
}

.blog-cards-section .card .bottom_card_text .read_btn:hover{

    background-color: #9D400C;
    color: #fff;
    transition: all .3s ease-in-out;
}

@media (max-width: 991px) {
    .blog-cards-section .card .bottom_card_text .read_btn {
        font-size: 12px;
    }
}

.blog-cards-section .card .bottom_card_text .logo_btn img {
    max-width: 84px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .blog-cards-section .card .bottom_card_text .logo_btn img {
        max-width: 70px;
    }
}

.blog-cards-section .card .bottom_card_text .card_buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}