/* Annual Campaign 2026 Hero Section */

.spotlight-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 122px);
    max-height: 850px;
    min-height: 400px;
    overflow: hidden;
}

.spotlight-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.spotlight-lens {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform, opacity;
}

.spotlight-hero.is-spotlit .spotlight-lens {
    opacity: 1;
}

/* Touch: ease the lens between tap positions */
.spotlight-hero.is-touch .spotlight-lens {
    transition: opacity 0.4s ease;
}

.spotlight-lens-image {
    position: absolute;
    object-fit: cover;
    object-position: center;
}

/* Bottom gradient overlay */
.spotlight-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    z-index: 3;
    background: linear-gradient(to top, #212A34, transparent);
    opacity: 0.65;
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Hint dots */
.spotlight-dots {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.spotlight-dot {
    position: absolute;
    left: var(--dot-x);
    top: var(--dot-y);
    width: 20px;
    height: 20px;
    background: #efca00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: all;
    /* Invisible hit area extended to 44px for reliable clicking */
}

.spotlight-dot::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
}

/* Modal overlay */
.spotlight-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(33, 42, 52, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spotlight-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.spotlight-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px 40px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: none;
    transform: translateY(12px);
    transition: transform 0.3s ease;
}

.spotlight-modal-overlay.is-open .spotlight-modal {
    transform: translateY(0);
}

.spotlight-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #212a34;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.spotlight-modal-close:hover {
    background: rgba(33, 42, 52, 0.08);
}

.spotlight-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212a34;
    margin: 0 0 16px;
}

.spotlight-modal-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
}

.spotlight-modal-footer {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .spotlight-modal {
        padding: 40px 24px 28px;
    }

    .spotlight-modal-footer .btn {
        width: 100%;
        text-align: center;
    }
}

.spotlight-dot::before,
.spotlight-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #efca00;
    animation: dot-pulse 2.4s ease-out infinite;
    animation-delay: var(--dot-delay, 0s);
}

.spotlight-dot::after {
    animation-delay: calc(var(--dot-delay, 0s) + 0.5s);
}

@keyframes dot-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.spotlight-hero-content .entry-title {
    color: #fff;
    max-width: 625px;
}

.spotlight-hero-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 48px;
    max-width: 1440px;
    width: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}

.spotlight-hero-content .btn {
    pointer-events: all;
}

@media (max-width: 768px) {
    .spotlight-hero-content {
        gap: 15px;
    }
    .spotlight-hero {
        height: 55vh;
    }
}

/* Scrolling section — fill viewport while pinned and centre content */
.scrolling-section-reveal-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scrolling-section-reveal-block > .container {
    width: 100%;
}
