/* -----------------------------------------------
   Sección contenedora del Spotlight Card
   Mismo max-width y márgenes que el resto del sitio
----------------------------------------------- */
.spotlight-entry-section {
    max-width: var(--container-width, 1200px);
    margin: 24px auto 0;
    padding: 0 20px;
}

/* Grid del sistema spotlight (generado por entry.js) */
.sc-entry-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* Si hay una sola card, ocupa el ancho completo */
.sc-entry-grid[data-count="1"] {
    grid-template-columns: 1fr;
}

/* Card cinematic */
.sc-cinematic {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    color: inherit;
}

.sc-cinematic:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 102, 0, 0.28);
}

.sc-cinematic .sc-bg {
    position: absolute;
    inset: 0;
    /* background-image y background-position se setean inline por entry.js */
    background-size: cover;
    transition: transform 0.6s ease;
}

.sc-cinematic:hover .sc-bg {
    transform: scale(1.06);
}

.sc-cinematic .sc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.20) 55%,
            transparent 100%);
}

.sc-cinematic .sc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
}

.sc-cinematic .sc-badge {
    display: inline-block;
    background: var(--primary-color, #ff6600);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 13px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.sc-cinematic .sc-title {
    font-family: var(--font-main, 'Outfit', sans-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
}

.sc-cinematic .sc-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #111;
    font-family: var(--font-main, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    transition: background 0.3s, color 0.3s;
}

.sc-cinematic:hover .sc-cta {
    background: var(--primary-color, #ff6600);
    color: #fff;
}

/* Mobile — 2 columnas compactas side by side */
@media (max-width: 600px) {
    .sc-entry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .sc-cinematic {
        height: 130px;
    }

    .sc-cinematic .sc-content {
        padding: 10px 12px;
    }

    .sc-cinematic .sc-badge {
        font-size: 0.5rem;
        padding: 3px 8px;
        margin-bottom: 5px;
    }

    .sc-cinematic .sc-title {
        font-size: 0.8rem;
        margin-bottom: 7px;
        line-height: 1.2;
    }

    .sc-cinematic .sc-cta {
        font-size: 0.68rem;
        padding: 6px 11px;
    }
}