@use "../abstracts/variables" as vars;

/* ============================================================
   Blog 3 — Circular / Elegant Card Design
   ============================================================ */
.blog3 {
    background-color: vars.$color-white;

    .mt-35 {
        margin-top: 35px;

        @media (max-width: 1024px) {
            margin-top: 0;
        }
    }


    &__card {
        overflow: hidden;
        transition: all 0.4s ease;

        &:hover {
            transform: translateY(vars.rem(-10));
            box-shadow: 0 vars.rem(20) vars.rem(50) rgba(0, 0, 0, 0.1);
        }
    }

    &__thumb {
        max-width: 370px;
        margin: -30px auto 0;
        z-index: 8;

        @media (max-width: 992px) {
            max-width: 300px;
            margin: -5px auto 0;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
    }

    &__card:hover &__thumb img {
        transform: scale(1.1);
    }


    &__info-card {
        background-color: #F4F7FA;
        border-radius: vars.rem(20);
        padding: vars.rem(30) vars.rem(25) 100px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;

        @media (max-width: 1399px) {
            padding: vars.rem(25) vars.rem(20) 80px;
        }

        @media (max-width: 991px) {
            padding: vars.rem(25);
        }

        @media (max-width: 575px) {
            padding: vars.rem(10) vars.rem(15) vars.rem(35) vars.rem(10);
        }
    }

    &__card-header {
        display: flex;
        align-items: flex-start;
        gap: vars.rem(20);

        @media (max-width: 1399px) {
            gap: vars.rem(10);
        }
    }

    &__date {
        width: vars.rem(70);
        height: vars.rem(100);
        border: 2px solid #0073E6;
        border-radius: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background-color: vars.$color-white;

        @media (max-width: 1399px) {
            width: vars.rem(55);
            height: vars.rem(75);
        }

        .blog3__day {
            font-family: vars.$font-family-base;
            font-weight: 700;
            font-size: 40px;
            line-height: 24px;
            letter-spacing: -2%;
            text-align: center;
            color: vars.$color-primary;
            margin-bottom: 10px;

            @media (max-width: 1399px) {
                font-size: vars.rem(20);
                margin-bottom: 5px;
            }
        }

        .blog3__month {
            font-family: vars.$font-family-base;
            font-weight: 600;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: -2%;
            text-align: center;
            text-transform: uppercase;
            color: vars.$color-heading;

            @media (max-width: 1399px) {
                font-size: vars.rem(12);
            }
        }
    }

    &__meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: vars.rem(15);
        margin-bottom: 13px;

        @media (max-width: 1399px) {
            margin-bottom: vars.rem(10);
        }

        .blog3__meta-item {
            font-size: vars.rem(14);
            font-weight: 500;
            color: #818181;
            display: flex;
            align-items: center;
            gap: vars.rem(7);

            @media (max-width: 1399px) {
                font-size: vars.rem(12);
            }

            i {
                color: #A4A4A4;
            }
        }
    }

    &__card-title {
        font-family: vars.$font-family-base;
        font-weight: 800;
        font-size: vars.rem(24);
        line-height: 1.4;
        color: vars.$color-heading;
        display: block;
        text-decoration: none;
        transition: color 0.3s ease;

        @media (max-width: 1399px) {
            font-size: vars.rem(20);
        }

        &:hover {
            color: #0073E6;
        }
    }

}
