
.card-container {
    padding: 20px;
}



.date-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1F8CEAB2;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.arrow-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}


.card .blog_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}



 .card {
    border: none !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    position: sticky !important;
}





.text_default_color {
    color: #FFFFFF;
}
.custom_card {
position: absolute;
bottom: 15px;
left: 15px;
color: white;
z-index: 2;
}

.font-22{
    font-size: 22px;
}
.text-wrapper-3 {
margin-top: -1px;
font-weight: 800;
color: #1569b2;
font-size: 26px;
letter-spacing: 0;
line-height: 38.4px;
position: relative;
width: fit-content;
font-family: "Martel Sans", Helvetica;
white-space: nowrap;
}

.rectangle {
position: relative;
width: 62px;
height: 4px;
background-color: #1569b2;
}


.font_martel_300 {
font-family: "Martel Sans", Helvetica;
font-weight: 300;
}

.font-30 {
font-size: 30px;
}

.font-17 {
font-size: 17px;
}

.font_martel_700 {
font-family: "Martel Sans", Helvetica;
font-weight: 700;
}

.hover_card {
border: none;
position: relative;
overflow: hidden;
border-radius: 10px;
width: 100%;
height: 0;
padding-bottom: 100%;
z-index: 2 !important;
}

.hover_card:hover .arrow-icon {
right: 10px;
opacity: 1;
}

.hover_card:hover .date-label {
background-color: #1F8CEA;
}


.hover_card::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
opacity: 0;
transition: opacity 0.5s ease;
border-radius: 10px;
}

.hover_card:hover::after {
opacity: 1;
}

.view_all {
    color: #759D1B;
    font-weight: 800;
    text-decoration: none;
    font-size: 16px;
}


@media (max-width: 767px) {

    .blog_slider {

        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 1rem !important;
        scroll-behavior: smooth !important;
        scroll-snap-type: x mandatory !important;
        scroll-timeline: --slider-scroll x !important;
    }

    .blog_slide {
        width: 91% !important;
        border-radius: 4px !important;
        height: 100% !important;
        padding: 2px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        background: linear-gradient(to top right, transparent, var(--accent));
    }


    .indicator_blog.active {
        background: #759D1B;
    }

    .blog_indicators {
        /* position: absolute !important; */
        /* right: 134px ; */
        justify-content: center !important;
        display: flex !important;
        gap: 12px !important;
        padding-right: 25px;

    }

    .indicator_blog {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: white;
    }

    .view_all {
        float: right !important;
        margin-top: -25px;
        color: #759D1B;
        font-weight: 800;
        text-decoration: none;
        font-size: 14px;
        padding-right: 38px;
    }

    .carousel-dots {
        margin-top: 10px;
    }

    .dots {
        height: 12px;
        width: 12px;
        margin: 0 5px;
        background-color: #bbb;
        /* Inactive color */
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }

    .dots.active {
        background-color: #759D1B;
        /* Active color */
    }




    .blog_carousel {
        gap: 12px !important;
    }

    .blog_carousel>.carousel-slider {
        min-width: 90% !important;
        min-height: 100% !important;
    }


    .custom_blog_style {
        font-weight: 700 !important;
        font-size: 16px !important;
        white-space: normal;
    }

    .text-wrapper-3 {
        font-size: 16px !important;
    }

    .font-heading {
        font-size: 20px !important;
        line-height: 24px;
    }

    .font-subheading {
        font-size: 14.7px !important;
        margin-top: 10px !important;
    }

    .carousel-indicators {
        position: relative !important;
    }

    .carousel-indicators .active {
        background-color: #759D1B;
    }
}
