/* Blog Posts Widget Styles */
.blog-posts-grid {
    display: flex;
    gap: 20px;
    height: 500px;
    width: 100%;
}
.odmedia-hero-posts .odm-blog-post-category {
    background: rgba(254, 254, 254, 0.4);
    font-weight: 400;
    border-radius: 18px;
    padding: 0px 14px;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 25px;
}
.blog-post-main {
    flex: 0 0 67%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.blog-posts-sidebar {
    flex: 0 0 calc(33% - 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-post-small {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.blog-post-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.blog-post-link:hover {
    transform: scale(1.0);
}

.blog-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 0;
}

.blog-post-link:hover .blog-post-image {
    transform: scale(1.04);
}

.blog-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 10;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blog-post-link:hover .blog-post-overlay {
    opacity: 0.8 !important;
}

.blog-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 20;
}

.blog-post-small .blog-post-content {
    padding: 20px;
}
.odmedia-hero-posts .odm-blog-post-category:hover {
    text-decoration: none !important;
}
.blog-post-title a {
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.blog-posts-sidebar .blog-post-title,
.blog-post-main .blog-post-title{
    margin: 0 !important;
}
.blog-post-main .blog-post-title a {
    font-size: 32px;
}

.blog-post-small .blog-post-title a {
    font-size: 17px;
}
.odmedia-hero-posts .blog-posts-sidebar .odm-blog-post-category {
    font-size: 9px;
    line-height: 20px;
    margin-bottom: 4px;
}
.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 13px;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.blog-post-meta a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-post-meta a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.blog-post-meta .meta-separator {
    opacity: 0.7;
    font-size: 10px;
}

.blog-post-main .blog-post-meta {
    font-size: 14px;
}

.blog-post-small .blog-post-meta {
    font-size: 11px;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {

    .blog-posts-sidebar .blog-post-title{
        width: 50%;
        float: left;
    }
    .blog-post-main .blog-post-title {
        width: 50%;
        float: right;
    }

    .odmedia-hero-posts .odm-blog-post-category{
        font-size: 9px;
    }
    .blog-posts-grid {
        flex-direction: column;
        height: auto !important;
        gap: 15px;
    }

    .blog-post-main {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
    }

    .blog-posts-sidebar {
        flex: 0 0 auto;
        width: 100%;
        gap: 15px;
    }

    .blog-post-small {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
    }

    .blog-post-main .blog-post-title a {
        font-size: 24px;
    }

    .blog-post-small .blog-post-title a {
        font-size: 20px;
    }

    .blog-post-main .blog-post-meta {
        font-size: 13px;
    }

    .blog-post-small .blog-post-meta {
        font-size: 12px;
    }
}

