/* =====================================================
   Balto Hemeroteca Grid – hemeroteca.css
   ===================================================== */

.balto-hemeroteca-grid {
    display: grid;
    grid-template-columns: repeat(var(--balto-cols, 3), 1fr);
    gap: 24px;
    padding: 10px 0 30px;
}

.balto-hemeroteca-item {
    position: relative;
}

.balto-hemeroteca-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.balto-hemeroteca-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.balto-hemeroteca-thumb {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.balto-hemeroteca-no-thumb {
    width: 100%;
    aspect-ratio: 3/4;
    background: #eee;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    padding: 12px;
    text-align: center;
}

.balto-hemeroteca-caption {
    margin-top: 8px;
}
.balto-hemeroteca-title {
    font-size: 13px;
    color: #e74a1a;
    font-weight: 600;
    display: block;
}

@media (max-width: 860px) {
    .balto-hemeroteca-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 500px) {
    .balto-hemeroteca-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
