/* [KETHANE] Bento Box Media System */
:root {
    --bento-gap: 20px;
    --bento-radius: 28px;
    --glass-bg: rgba(10, 12, 18, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

.revista-bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: var(--bento-gap);
    margin-bottom: 40px;
}

.bento-item {
    position: relative;
    border-radius: var(--bento-radius);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 10;
}

/* Featured Large */
.bento-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Wide Banner */
.bento-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Tall Vertical */
.bento-item.tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.6s ease;
}

.bento-item:hover .bento-image {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 2;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-tag {
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--kethane-teal);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    border-radius: 8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-title {
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.featured .bento-title {
    font-size: 28px;
}

.bento-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* News Ticker */
.revista-ticker {
    background: rgba(0,255,255,0.05);
    border: 1px solid rgba(0,255,255,0.1);
    border-radius: 100px;
    padding: 12px 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-label {
    background: var(--kethane-teal);
    color: #000;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 11px;
    margin-right: 20px;
}

.ticker-content {
    display: flex;
    animation: ticker-scroll 60s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: #fff;
    font-size: 13px;
    margin-right: 40px;
    text-decoration: none !important;
}

.ticker-item:hover {
    color: var(--kethane-teal);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 992px) {
    .revista-bento-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .revista-bento-container {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 280px;
    }
    .featured {
        height: 380px;
    }
}
