/* Container */
.ebc-71e0beb5-wrapper {
    display: grid;
    gap: var(--ebc-gap, 20px);
}

/* Card */
.ebc-71e0beb5-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    background-color: var(--ebc-card-bg, #ffffff);
    border-radius: var(--ebc-card-radius, 8px);
    box-shadow: var(--ebc-card-shadow, 0 4px 10px rgba(0,0,0,0.05));
    text-decoration: none;
    color: inherit;
}
.ebc-71e0beb5-card:hover {
    box-shadow: var(--ebc-card-shadow-hover, 0 8px 20px rgba(0,0,0,0.1));
}
.ebc-71e0beb5-card:hover .ebc-71e0beb5-image img {
    transform: scale(1.05);
}

/* Image */
.ebc-71e0beb5-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.ebc-71e0beb5-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

/* Overlay */
.ebc-71e0beb5-overlay {
    position: absolute;
    inset: 0;
    background: var(--ebc-overlay, linear-gradient(to top, rgba(0,0,0,0.8), transparent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Content */
.ebc-71e0beb5-content {
    padding: var(--ebc-padding, 20px);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* Tags */
.ebc-71e0beb5-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ebc-tag-gap, 8px);
    margin-bottom: 12px;
}
.ebc-71e0beb5-tag {
    background-color: var(--ebc-tag-bg, #eee);
    color: var(--ebc-tag-color, #333);
    padding: 4px 10px;
    border-radius: var(--ebc-tag-radius, 20px);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Title */
.ebc-71e0beb5-title {
    margin: 0 0 10px 0;
    color: var(--ebc-title-color, #111);
}

/* Meta */
.ebc-71e0beb5-meta {
    font-size: 13px;
    color: var(--ebc-meta-color, #666);
    margin-bottom: 10px;
}

/* Excerpt */
.ebc-71e0beb5-excerpt {
    font-size: 14px;
    color: var(--ebc-excerpt-color, #444);
    margin: 0;
}

/* Layouts */
@media (min-width: 1025px) {
    .ebc-71e0beb5-layout-list .ebc-71e0beb5-card {
        flex-direction: row;
        align-items: stretch;
    }
    .ebc-71e0beb5-layout-list .ebc-71e0beb5-image {
        width: 40%;
    }
    .ebc-71e0beb5-layout-list .ebc-71e0beb5-content {
        width: 60%;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .ebc-71e0beb5-card {
        background: none;
    }
    .ebc-71e0beb5-image {
        width: 100%;
        position: absolute;
        inset: 0;
    }
    .ebc-71e0beb5-overlay {
        opacity: 1;
    }
    .ebc-71e0beb5-content {
        justify-content: flex-end;
        min-height: 300px;
    }
    .ebc-71e0beb5-title, 
    .ebc-71e0beb5-meta, 
    .ebc-71e0beb5-excerpt {
        color: #fff !important;
    }
}
