/* ==========================================================================
   Nairobi 2026 Speakers — extends new_theme_design.css
   Each image is a full announcement graphic (name/title/bio already baked
   in), so cards show the whole image — no cropping to a circle, no
   overlaid text — and open into a lightbox to read at full size.
   ========================================================================== */

.spk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.spk-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    padding: 0;
    border: 1px solid var(--line-soft);
}
.spk-card:hover, .spk-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--sh);
}
.spk-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 548 / 640;
    object-fit: cover;
}

/* Teaser strip on /event */
.spk-teaser-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 24px;
}
.spk-teaser-strip img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 548 / 640;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line-soft);
}

/* Lightbox */
.spk-lightbox {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(14, 24, 56, 0.94);
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.spk-lightbox.open { display: flex; }
.spk-lightbox img {
    max-width: min(90vw, 700px);
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.spk-lightbox-close {
    position: absolute; top: 18px; right: 22px;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.12); color: #fff; border: none;
    font-size: 22px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.spk-lightbox-close:hover { background: rgba(255,255,255,.22); }
.spk-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.12); color: #fff; border: none;
    font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.spk-lightbox-nav:hover { background: rgba(255,255,255,.22); }
.spk-lightbox-prev { left: 16px; }
.spk-lightbox-next { right: 16px; }
.spk-lightbox-counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.75); font-family: var(--sans); font-size: 12.5px;
    letter-spacing: .04em;
}

@media (max-width: 600px) {
    .spk-lightbox-nav { width: 38px; height: 38px; font-size: 18px; }
    .spk-lightbox-prev { left: 6px; }
    .spk-lightbox-next { right: 6px; }
}
