/* ============================================
   Pride Board Photo
   ============================================ */
.pbp-board {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Photo wrapper — relative for overlay positioning */
.pbp-photo-wrap {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.pbp-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    object-position: center 40%;
}

/* Load-in animation */
.pbp-photo-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.pbp-photo-wrap.pbp-visible {
    opacity: 1;
    transform: translateY(0);
}
.pbp-photo-wrap a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    display: block;
}

/* Dark gradient at bottom of photo for name readability */
.pbp-photo-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

/* Desktop markers — overlaid on the photo */
.pbp-markers {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: auto;
    z-index: 2;
}
.pbp-marker {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pbp-marker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a78bfa;
    border: 2px solid #ffffff;
    box-shadow: 0 0 6px rgba(124,58,237,0.4);
    margin-bottom: 2px;
}
.pbp-marker-line {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.5);
}
.pbp-marker-label {
    white-space: nowrap;
    padding-top: 3px;
}
.pbp-marker-name {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.pbp-marker-role {
    display: block;
    font-size: 9px;
    font-weight: 500;
    color: #c4b5fd;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Caption */
.pbp-caption {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    padding: 12px 0 4px;
    letter-spacing: 0.02em;
}

/* Mobile list — hidden on desktop */
.pbp-mobile-list {
    display: none;
}
.pbp-mobile-list ol {
    list-style: none;
    counter-reset: board;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}
.pbp-mobile-list li {
    counter-increment: board;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f0f1f4;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.pbp-mobile-list li::before {
    content: counter(board) ".";
    font-size: 11px;
    font-weight: 700;
    color: #7c3aed;
    min-width: 20px;
}
.pbp-list-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}
.pbp-list-role {
    font-size: 11px;
    font-weight: 500;
    color: #7c3aed;
}

/* Not pictured */
.pbp-not-pictured {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    padding: 10px 0 0;
    font-style: italic;
}
.pbp-np-label {
    font-weight: 600;
    font-style: normal;
    color: #6b7280;
}

/* Dark theme */
.pbp-dark .pbp-caption { color: #c4b5fd; }
.pbp-dark .pbp-mobile-list li { background: #1e1e2e; border-color: #2d2d44; }
.pbp-dark .pbp-list-name { color: #ffffff; }
.pbp-dark .pbp-not-pictured { color: #6b7280; }
.pbp-dark .pbp-np-label { color: #9ca3af; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .pbp-markers {
        display: none;
    }
    .pbp-photo-gradient {
        display: none;
    }
    .pbp-mobile-list {
        display: block;
    }
}

@media (max-width: 480px) {
    .pbp-mobile-list ol {
        grid-template-columns: 1fr;
    }
    .pbp-mobile-list li {
        padding: 6px 10px;
    }
}
