/* CSS Style for Bento Grid Widget */
.bento-grid-wrapper-006100fc {
    width: 100%;
}

.bento-filters-006100fc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.bento-filter-btn-006100fc {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #1e293b;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bento-filter-btn-006100fc.active,
.bento-filter-btn-006100fc:hover {
    background-color: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

/* Bento Grid Container */
.bento-grid-container-006100fc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.bento-card-006100fc {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    isolation: isolate;
}

/* Hover effects */
.bento-card-006100fc.has-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bento-card-006100fc.has-hover-zoom:hover .bento-bg-006100fc {
    transform: scale(1.08);
}

.bento-card-006100fc.has-hover-bright:hover .bento-overlay-006100fc {
    opacity: 0.75;
}

/* Background & Overlays */
.bento-bg-006100fc {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-overlay-006100fc {
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

/* Dynamic Grid sizes */
.bento-size-1x1 {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-size-2x1 {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-size-1x2 {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-size-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

/* Content */
.bento-content-006100fc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.bento-content-006100fc a {
    pointer-events: auto;
    color: inherit;
    text-decoration: none;
}

.bento-category-006100fc {
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    color: #ffffff;
    display: inline-block;
}

.bento-title-006100fc {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.bento-size-2x2 .bento-title-006100fc {
    font-size: 28px;
}

.bento-meta-006100fc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.bento-excerpt-006100fc {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin-top: 4px;
}

/* Cargar Más Styling */
.bento-load-more-wrapper-006100fc {
    margin-top: 32px;
}

.bento-load-more-btn-006100fc {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #1e293b;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bento-load-more-btn-006100fc:hover {
    background-color: #3b82f6;
}

.bento-load-more-btn-006100fc:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Behavior */
@media (max-width: 1024px) {
    .bento-grid-container-006100fc {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .bento-size-2x2, .bento-size-1x2 {
        grid-column: span 1;
        grid-row: span 2;
    }
    .bento-size-2x1 {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .bento-grid-container-006100fc {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .bento-size-1x1, .bento-size-2x1, .bento-size-1x2, .bento-size-2x2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}
