/* Blog Card ---------------------------------- */
.blog-card {
    .blog-img {
        border-radius: 10px;
    }
    .blog-content {
        box-shadow: 0px 6px 20px rgba(182, 182, 182, 0.15);
        border-radius: 10px;
        background-color: $white-color;
        padding: 30px;
        margin: -55px 15px 0 15px;
        position: relative;
        z-index: 3;
    }
    .box-title {
        margin-bottom: 17px;
        border-bottom: 1px solid $border-color;
        padding-bottom: 17px;
        a {
            background-image: linear-gradient(to left, $theme-color, $theme-color);
            background-repeat: no-repeat;
            background-position: bottom left;
            background-size: 0 2px;
            transition: 0.5s ease-in-out;
            &:hover {
                background-size: 100% 2px;
            }
        }
    }
    .blog-img {
        overflow: hidden;
        img {
            width: 100%;
            transition: 0.4s ease-in-out;
        }
    }
    .blog-meta {
        margin: -0.4em 0 18px 0;
        span, 
        a {
            > i {
                color: $theme-color;
            }
        }
    }
    &.style2 {
        --theme-color: #3D72FC;
        transition: 0.4s ease-in-out;
        .blog-img {
            border-radius: 10px 10px 0 0;
        }
        .blog-content {
            margin: 0;
            border-radius: 0 0 10px 10px;
        }
        .line-btn {
            color: $theme-color;
            &:before {
                background-color: $theme-color;
            }
        }
        &:hover {
            --theme-color: #FF8F1F;
        }
    }
    
    &:hover {
        .blog-img {
            img {
                transform: scale(1.08);
            }
        }
    }
}

@include xl {
    .blog-card .blog-content {
        padding: 20px;
    }
}

@include lg {
    .blog-card .blog-content {
        padding: 30px;
    }
}

@include md {
    .blog-card {
        .box-title {
            font-size: 22px;
        }
        .blog-content {
            padding: 20px;
        }
    }
}

@include sm {
    .blog-card {
        .blog-content {
            padding: 30px;
        }
        .box-title {
            font-size: 24px;
        }
    }
}
@media (max-width: 410px) {
    .blog-card {
        .box-title {
            font-size: 22px;
        }
    }
}

@media (max-width: 350px) {
    .blog-card {
        .blog-content {
            padding: 18px;
        }
        .box-title {
            font-size: 20px;
        }
        .blog-meta span, 
        .blog-meta a {
            margin-right: 0;
            padding-right: 10px;
        }
    }
}