.bento-grid-cfa32001 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    grid-auto-flow: dense;
}

@media (min-width: 768px) {
    .bento-grid-cfa32001 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid-cfa32001 {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
    }
}

.bento-item-cfa32001 {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #222;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
}

/* Size Spans */
@media (min-width: 1024px) {
    .bento-item-cfa32001.size-1x1 { grid-column: span 1; grid-row: span 1; }
    .bento-item-cfa32001.size-2x1 { grid-column: span 2; grid-row: span 1; }
    .bento-item-cfa32001.size-1x2 { grid-column: span 1; grid-row: span 2; }
    .bento-item-cfa32001.size-2x2 { grid-column: span 2; grid-row: span 2; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .bento-item-cfa32001.size-2x2, .bento-item-cfa32001.size-2x1 {
        grid-column: span 2;
    }
}

.bento-bg-cfa32001 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.bento-overlay-cfa32001 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 80%);
    transition: opacity 0.3s ease;
}

.bento-content-cfa32001 {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bento-meta-cfa32001 {
    font-size: 0.85em;
    opacity: 0.8;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bento-title-cfa32001 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.2;
}

.bento-title-cfa32001 a {
    color: inherit;
    text-decoration: none;
}

.bento-category-cfa32001 {
    align-self: flex-start;
    background: var(--e-global-color-primary, #444);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 4px;
}

.bento-excerpt-cfa32001 {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 6px;
}

/* Hover Effects */
.bento-item-cfa32001:hover .bento-bg-cfa32001.hover-zoom {
    transform: scale(1.05);
}
.bento-item-cfa32001.hover-lift:hover {
    transform: translateY(-5px);
}
.bento-item-cfa32001:hover .bento-overlay-cfa32001.hover-brighten {
    opacity: 0.6;
}
