/* ============================================
   SUB-PAGE STYLES
   Shared styles for all interior pages
   ============================================ */

/* Page header — compact hero-like banner */
.page-header {
    padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.page-header .section-subtitle {
    max-width: 720px;
}
.page-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color 0.2s, gap 0.2s;
}
.page-back + .section-label {
    display: block;
}
.page-back:hover {
    color: var(--accent);
    gap: 8px;
}
.page-back svg {
    width: 14px;
    height: 14px;
}

/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-close:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
}
.lightbox-caption {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
}
