/* ═══════════════════════════════════════════════════════════
   Spotlight Section Styles
   ═══════════════════════════════════════════════════════════ */

.spotlight-page {
    background-color: #f8fafc;
    /* light background matching the mockup */
    padding-bottom: 6rem;
    padding-top: 4rem;
}

/* Hero Section */
.spotlight-hero-section {
    margin-bottom: 4rem;
}

.spotlight-hero-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* max-height: 500px; */
    background: #000;
    display: flex;
    align-items: center;
}

.spotlight-hero-wrapper::after {
    /* Slight overlay so the image isn't too bright behind the card if it overflows */
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.spotlight-hero-img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: cover;
    display: block;
}

.spotlight-hero-card {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.spotlight-label {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.spotlight-label--dark {
    background-color: #1a4331;
    color: #ffffff;
}

.spotlight-label--green {
    background-color: #2b7a4b;
    color: #ffffff;
}

.spotlight-hero-card h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.spotlight-hero-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.spotlight-btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: #1a4331;
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.spotlight-btn-primary:hover {
    background-color: #123022;
    color: #ffffff;
}

/* Two Column Grid */
.spotlight-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .spotlight-content-grid {
        grid-template-columns: 1fr;
    }
}

.spotlight-section-title {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* Videos Grid */
.spotlight-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.spotlight-video-item {
    display: flex;
    flex-direction: column;
}

.spotlight-video-item--horizontal {
    grid-column: 1 / -1;
    /* Spans full width of the parent container */
}

.spotlight-video-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #374151;
    margin-top: 0.75rem;
    line-height: 1.4;
}

.spotlight-video-thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/16;
    /* For IG Live */
}

.spotlight-video-item--horizontal .spotlight-video-thumb {
    aspect-ratio: 16/9;
    /* For Webinar */
}

.spotlight-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.spotlight-video-item:hover .spotlight-video-thumb img {
    opacity: 0.6;
}

.spotlight-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.spotlight-video-item:hover .spotlight-play-btn {
    background-color: rgba(26, 67, 49, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}


/* Insights Grid */
.spotlight-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.spotlight-insight-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.spotlight-insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.spotlight-insight-thumb {
    height: 160px;
    background: #e5e7eb;
    overflow: hidden;
}

.spotlight-insight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.spotlight-insight-card:hover .spotlight-insight-thumb img {
    transform: scale(1.05);
}

.spotlight-insight-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.spotlight-insight-body .spotlight-label {
    align-self: flex-start;
    margin-bottom: 0.75rem;
}

.spotlight-insight-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
}

.spotlight-read-more {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.spotlight-read-more:hover {
    color: #1a4331;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .spotlight-hero-card {
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        padding: 2rem;
    }

    .spotlight-hero-wrapper {
        min-height: 500px;
    }

    .spotlight-hero-img {
        opacity: 0.7;
        /* make text more readable */
    }
}