/*=============== BLOGS HERO ===============*/
.blogs__hero {
    padding-block: 11.875rem 48px;

    .blogs__hero__container {
        .blogs__hero__content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            text-align: center;
            gap: 40px;
            border-radius: 12px;
            padding-block: 80px 70px;
			height: 355px;
            padding-inline: 2rem;
            z-index: 5;

            .hero__tetx {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                gap: 13px;
                z-index: 1;
                max-width: 472px;
                width: 100%;
                color: white;

                h1 {
                    font-size: 24px;
                    font-weight: var(--font-semi-bold);
                    text-shadow: 0 4px 4px #00000040;
                    line-height: 1;
                    width: 75%;
                }

                p {
                    font-size: 14px;
                    font-weight: var(--font-medium);
                    text-shadow: 0 4px 4px #00000040;
                }
            }

            .buttons__hero {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 16px;
                z-index: 1;

                .btn {
                    width: 146px;
                    height: 48px;
                    border-radius: 999px;
                    font-size: 1rem;
                    font-weight: var(--font-medium);
                }

                .prime {
                    background-color: var(--yellow);
                    color: white;
                    border: 1px solid #F9F3E1;
                }

                .second {
                    background-color: white;
                    color: var(--green);
                    font-weight: var(--font-semi-bold);
                }
            }

            &::after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(135deg, #24533F 0%, #1A6049 100%);
                border-radius: 12px;
                z-index: -1;
            }

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-image: url(../image/bg\ blogs.webp);
                background-size: cover;
                background-position: center;
                opacity: 0.2;
                z-index: 1;
                border-radius: 12px;
            }
        }
    }
}

/*=============== BLOGS ===============*/
.blogs {
    padding-block: 0 74px;

    .blogs__container {
        .blogs__content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 48px;

            .header__blogs {
                display: flex;
                justify-content: center;
                align-items: start;
                flex-direction: column;
                gap: 12px;
                width: 100%;

                .input {
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    width: 100%;
                    height: 51px;
                    background-color: #F4F3F2;
                    padding-inline: 12px;
                    gap: 13px;
                    border-radius: 32px;

                    input {
                        width: 100%;
                        background-color: transparent;
                        font-size: 12px;
                        font-weight: var(--font-regular);
                        color: #66666699;
                    }

                    i {
                        font-size: 18px;
                        color: #666666;
                    }
                }


                .filter__btns {
                    padding-bottom: 12px;
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    gap: 12px;
                    overflow-x: scroll;
                    width: 100%;
                    scrollbar-width: thin;
                    scrollbar-color: #F4F3F2 transparent;


                    .btn {
                        padding: 8px 24px;
                        border-radius: 999px;
                        font-size: 16px;
                        font-weight: var(--font-regular);
                        background-color: #F4F3F280;
                        color: #414944C7;
                        cursor: pointer;

                        &.active {
                            background-color: var(--green);
                            color: white;
                            font-weight: var(--font-semi-bold);
                        }
                    }
                }

            }

            .blog__cards {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 24px;
                row-gap: 35px;
                width: 100%;

                .blog__card {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    background-color: #ACB3B71A;
                    box-shadow: 0px 0px 10.14px 0px #00000012;
                    border-radius: 12px;
                    max-width: 384px;
                    width: 100%;

                    .img {
                        position: relative;
                        width: 100%;
                        height: 192.3800048828125px;
                        border-radius: 12px 12px 0 0;
                        overflow: hidden;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }

                        .type {
                            position: absolute;
                            top: 13px;
                            right: 13px;
                            background-color: var(--green);
                            color: white;
                            font-size: 12px;
                            font-weight: var(--font-bold);
                            padding: 3.5px 13.5px;
                            border-radius: 999px;
                            text-transform: uppercase;
                        }

                        .contains__video {
                            position: absolute;
                            bottom: 6px;
                            left: 6px;
                            color: white;
                            font-size: 12px;
                            font-weight: var(--font-regular);
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            gap: 3px;

                            i {
                                font-size: 14px;
                                color: white;
                            }
                        }
                    }

                    .blog__data__card {
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        gap: 16px;
                        padding: 32px;
                        width: 100%;

                        span {
                            display: flex;
                            justify-content: center;
                            align-items: start;
                            gap: 8px;
                            font-size: 12px;
                            font-weight: var(--font-regular);
                            color: #666666;
                        }

                        h3 {
                            font-size: 18px;
                            font-weight: var(--font-semi-bold);
                            color: #1c1c17;
                            display: -webkit-box;
                            -webkit-line-clamp: 3;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }

                        p {
                            font-size: 14px;
                            color: #414944;
                            font-weight: var(--font-regular);
                            display: -webkit-box;
                            -webkit-line-clamp: 4;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }

                        a {
                            width: 100%;
                            height: 48px;
                            background-color: #25644F;
                            color: white;
                            font-size: 16px;
                            font-weight: var(--font-semi-bold);
                            border-radius: 999px;
                            box-shadow: 0px 0.84px 1.69px 0px #0000000D;
                        }
                    }
                }
            }

            .view__more {
                max-width: 370px;
                width: 100%;
                height: 56px;
                border-radius: 999px;
                background-color: #F4F3F2;
                font-size: 18px;
                font-weight: var(--font-regular);
                color: var(--dark);
                gap: 12px;
                cursor: pointer;
                box-shadow: 0px 2px 4px -2px #0000001A,
                    0px 4px 6px -1px #0000001A;

                i {
                    color: #7B7D7E54;
                }
            }

        }
    }
}


/*=============== RESPONSIVE ===============*/

@media (max-width: 991px) {

    /*=============== BLOGS ===============*/
    .blogs {
        padding-bottom: 108px;

        .blogs__container {
            .blogs__content {

                .blog__cards {
                    grid-template-columns: repeat(2, 1fr);
                    row-gap: 24px;
                }

                .view__more {
                    max-width: 270px;
                }

            }
        }
    }
}


@media (max-width: 576px) {

    /*===============BLOGS HERO===============*/
    .blogs__hero {
        padding-block: 8.75rem 48px;

        .blogs__hero__container {
            .blogs__hero__content {
                padding-block: 80px 34px;

                .hero__tetx {
                    gap: 24px;

                    h1 {
                        font-size: 22px;
                        width: 100%;
                    }
                }

                .buttons__hero {
                    padding-inline: 18px;

                    .btn {
                        width: 146px;
                        height: 48px;
                        border-radius: 999px;
                        font-size: 1rem;
                        font-weight: var(--font-medium);
                    }
                }


            }
        }
    }

    /*=============== BLOGS ===============*/
    .blogs {
        padding-bottom: 108px;

        .blogs__container {
            .blogs__content {


                .blog__cards {
                    grid-template-columns: repeat(1, 1fr);
                }

            }
        }
    }
}