/* las_mods_cards.css */
.mods-section {
    margin: 60px 0;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0 30px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f2f2f2;
    margin: 0;
}

.view-all {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #ff4d4d;
}

.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.mod-card {
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mod-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    height: 160px;
    width: 100%;
}

.mod-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mod-image-fallback {
    width: 100%;
    height: 100%;
}

.mod-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e63946;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.mod-content {
    padding: 20px;
}

.mod-category {
    color: #e63946;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.mod-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f2f2f2;
    line-height: 1.3;
}

.mod-excerpt {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 15px;
    line-height: 1.4;
}

.mod-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #9a9a9a;
    margin-top: 15px;
}

.mod-link {
    display: block;
    margin-top: 10px;
    color: #e63946;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mod-link:hover {
    color: #ff4d4d;
}

.mod-pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 40px;
    gap: 2px;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .mods-grid {
        grid-template-columns: 1fr;
    }
    
    .mod-image {
        height: 200px;
    }
}

/* Optimización para imágenes */
.mod-image {
    transition: transform 0.3s ease;
}

.mod-card:hover .mod-image {
    transform: scale(1.05);
}