/* ==========================================================================
   Spotlight Widget — hero-strip layout
   ========================================================================== */

/* ── Widget title: matches .wkb-featured-posts style ── */
.wkb-spotlight .widget-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0em;
    position: relative;
    margin-bottom: var(--space-md);
}

.wkb-spotlight .widget-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--clr-primary);
    margin: 0.6rem auto 0;
    border-radius: 2px;
}

/* ── Strip grid: all items in one row of equal-width columns ── */
.wkb-spotlight-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 3px;
    height: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ── Individual strip ── */
.wkb-spotlight-strip {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--clr-bg-dark);
}

/* Background image fills the strip */
.wkb-spotlight-strip__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.wkb-spotlight-strip:hover .wkb-spotlight-strip__image {
    transform: scale(1.06);
}

/* Gradient overlay — bottom-heavy, matching the post hero */
.wkb-spotlight-strip__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 18, 8, 0.60) 0%,
        rgba(28, 18, 8, 0.15) 45%,
        rgba(28, 18, 8, 0.00) 100%
    );
    z-index: 1;
    transition: background 0.35s ease;
}

.wkb-spotlight-strip:hover .wkb-spotlight-strip__overlay {
    background: linear-gradient(
        to top,
        rgba(28, 18, 8, 0.70) 0%,
        rgba(28, 18, 8, 0.25) 50%,
        rgba(28, 18, 8, 0.00) 100%
    );
}

/* Text content pinned to the bottom */
.wkb-spotlight-strip__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem 1.5rem;
    z-index: 2;
}

.wkb-spotlight-strip__title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    color: #FFFCF5;
    line-height: 1.15;
    margin: 0 0 0.65rem;
    text-shadow: 0 2px 20px rgba(28, 18, 8, 0.5);
}

.wkb-spotlight-strip__excerpt {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: rgba(255, 252, 245, 0.78);
    line-height: 1.65;
    margin: 0;
}

/* Full-strip clickable overlay */
.wkb-spotlight-strip__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* Placeholder when no featured image */
.wkb-spotlight-strip__placeholder {
    position: absolute;
    inset: 0;
    background: var(--clr-bg-warm);
}

/* ==========================================================================
   Responsive: stack strips vertically on mobile
   ========================================================================== */

@media (max-width: 767px) {
    .wkb-spotlight-grid {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-template-columns: 1fr;
        height: auto;
        gap: 3px;
    }

    .wkb-spotlight-strip {
        min-height: 260px;
    }


}
