@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cousine:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600;700;800&display=swap');

/* Force pure black page background — overrides any theme shell background */
html,
body,
#page,
#wpwrap,
.site,
.site-content,
.content-area,
.site-main,
#primary,
#content,
.entry-content,
.post-content,
article,
.post,
.container,
.elementor,
.elementor-page,
.et_pb_section,
.fl-builder-content {
    background-color: #000000 !important;
}

.sad-artist-page-root {
    box-sizing: border-box;
    position: relative;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: 'Cousine', monospace !important;
    min-height: 80vh;
    padding: 0 20px 80px 20px !important;
    margin: 0 !important;
    overflow: hidden;
}

.sad-artist-page-root *, 
.sad-artist-page-root *::before, 
.sad-artist-page-root *::after {
    box-sizing: border-box;
}

.sad-artist-page-root svg {
    max-width: 20px !important;
    max-height: 20px !important;
    height: 20px !important;
    width: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* AMBIENT BACKDROP GLOW */
.sad-artist-backdrop {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 650px;
    background-size: cover;
    background-position: center;
    filter: blur(95px) opacity(0.22);
    z-index: 0;
    pointer-events: none;
}

.sad-artist-backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11,11,13,0.55) 0%, #0b0b0d 65%);
    z-index: 1;
    pointer-events: none;
}

/* CONTAINER */
.sad-artist-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 120px !important;
}

/* HERO SECTION */
.sad-artist-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
    background: rgba(20, 20, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.sad-hero-portrait-box {
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sad-hero-portrait-box:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 0 3px #ff0000;
}

.sad-hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sad-hero-portrait-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e24 0%, #0d0d10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-family: 'Anton', sans-serif !important;
    font-size: 4rem;
    font-weight: 700;
}

.sad-hero-info-box {
    flex: 1;
    min-width: 280px;
}

.sad-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sad-badge {
    font-family: 'Cousine', monospace !important;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.sad-badge-type {
    background: #ff0000;
    color: #ffffff;
}

.sad-badge-count {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sad-badge-label {
    background: rgba(0, 0, 0, 0.4);
    color: #a0a0a5;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* MAIN TITLE & SUBTITLE */
.sad-main-title {
    font-family: 'Cousine', monospace !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: none !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

.sad-artist-subtitle {
    font-family: 'Cousine', monospace !important;
    font-size: 0.95rem !important;
    color: #ff0000 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin: 6px 0 14px 0 !important;
    padding: 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    display: block !important;
}

.sad-title-underline {
    height: 2px !important;
    width: 100% !important;
    max-width: 480px !important;
    background: linear-gradient(90deg, #ff0000 0%, rgba(255, 0, 0, 0.3) 50%, rgba(255, 255, 255, 0) 100%) !important;
    margin: 0 0 22px 0 !important;
    border-radius: 2px !important;
    border: none !important;
}

/* SOCIAL & STREAMING LINKS BAR */
.sad-social-links-bar {
    margin-top: 0 !important;
}

.sad-social-title {
    font-size: 0.72rem;
    color: #8a8a93;
    letter-spacing: 1.5px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.sad-social-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sad-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff !important;
    font-family: 'Cousine', monospace !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.sad-social-btn:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

.sad-social-instagram:hover { background: #e1306c; border-color: #e1306c; box-shadow: 0 6px 16px rgba(225, 48, 108, 0.4); }
.sad-social-spotify:hover   { background: #1db954; border-color: #1db954; box-shadow: 0 6px 16px rgba(29, 185, 84, 0.4); }
.sad-social-apple:hover     { background: #fc3c44; border-color: #fc3c44; box-shadow: 0 6px 16px rgba(252, 60, 68, 0.4); }
.sad-social-youtube:hover   { background: #ff0000; border-color: #ff0000; box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4); }
.sad-social-tiktok:hover    { background: #00f2fe; border-color: #00f2fe; color: #000 !important; box-shadow: 0 6px 16px rgba(0, 242, 254, 0.4); }
.sad-social-twitter:hover   { background: #1da1f2; border-color: #1da1f2; box-shadow: 0 6px 16px rgba(29, 161, 242, 0.4); }

/* MEDIA & BIO GRID */
.sad-artist-media-grid {
    display: grid;
    gap: 28px;
    margin-bottom: 48px;
}

.sad-artist-media-grid.has-both {
    grid-template-columns: 1fr 1fr;
}

.sad-artist-media-grid.single-col {
    grid-template-columns: 1fr;
}

.sad-artist-card {
    background: rgba(20, 20, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.sad-card-header {
    margin-bottom: 20px;
}

.sad-card-tag {
    font-size: 0.7rem;
    color: #ff0000;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.sad-card-title {
    font-family: 'Cousine', monospace !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
}

/* SPOTIFY CARD */
.sad-spotify-iframe-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    background: #000;
}

.sad-spotify-iframe-wrapper iframe {
    display: block;
    width: 100%;
    height: 352px;
    border: none;
}

/* BIO CARD */
.sad-bio-text,
.sad-bio-text *,
.sad-bio-text p {
    font-family: 'Cousine', monospace !important;
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    color: #d1d1d6 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
}

.sad-bio-text {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 8px;
}

.sad-bio-text::-webkit-scrollbar {
    width: 5px;
}
.sad-bio-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.sad-bio-text::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 4px;
}

.sad-bio-text p {
    margin: 0 0 16px 0;
}
.sad-bio-text p:last-child {
    margin-bottom: 0;
}

/* DISCOGRAPHY SECTION */
.sad-artist-discography-section {
    margin-top: 50px;
}

.sad-disco-header-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.sad-section-tag {
    font-size: 0.72rem;
    color: #ff0000;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.sad-section-title {
    font-family: 'Cousine', monospace !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
}

.sad-disco-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sad-artist-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a5;
    font-family: 'Cousine', monospace !important;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.8px;
    transition: all 0.2s ease;
}

.sad-artist-tab:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.sad-artist-tab.active {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}

/* DISCOGRAPHY GRID */
.sad-artist-disco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.sad-disco-card {
    background: rgba(20, 20, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sad-disco-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 0, 0, 0.15);
}

.sad-disco-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.sad-disco-cover-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #141418;
}

.sad-disco-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sad-disco-card:hover .sad-disco-cover-img {
    transform: scale(1.06);
}

.sad-disco-cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-weight: 700;
    letter-spacing: 2px;
}

.sad-disco-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(11,11,13,0.85) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    transition: opacity 0.3s ease;
}

.sad-disco-card:hover .sad-disco-overlay {
    opacity: 1;
}

.sad-disco-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff0000;
    color: #ffffff;
    font-family: 'Cousine', monospace !important;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.sad-disco-card-meta {
    padding: 16px;
}

.sad-disco-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sad-disco-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sad-badge-album {
    background: #ff0000;
    color: #ffffff;
}

.sad-badge-single {
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0a5;
}

.sad-disco-year {
    font-size: 0.75rem;
    color: #8a8a93;
    font-weight: 700;
}

.sad-disco-card-title {
    font-family: 'Cousine', monospace !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sad-empty-discography {
    background: rgba(20, 20, 24, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: #8a8a93;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .sad-artist-hero {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }
    
    .sad-hero-portrait-box {
        width: 180px;
        height: 180px;
    }

    .sad-meta-badges {
        justify-content: center;
    }

    .sad-title-underline {
        margin: 0 auto 20px auto;
    }

    .sad-social-items {
        justify-content: center;
    }

    .sad-artist-media-grid.has-both {
        grid-template-columns: 1fr;
    }

    .sad-disco-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .sad-artist-container {
        padding-top: 90px !important;
    }

    .sad-main-title {
        font-size: 1.8rem !important;
    }

    .sad-artist-disco-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .sad-disco-card-meta {
        padding: 12px;
    }

    .sad-disco-card-title {
        font-size: 0.82rem !important;
    }
}

/* ==========================================================================
   GRAFFITI ARTIST PORTFOLIO & LIGHTBOX STYLES
   ========================================================================== */

.sad-graffiti-portfolio-section {
    margin-top: 50px;
}

.sad-graffiti-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sad-portfolio-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a5;
    font-family: 'Cousine', monospace !important;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.8px;
    transition: all 0.2s ease;
}

.sad-portfolio-tab:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.sad-portfolio-tab.active {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}

/* GRAFFITI GRID */
.sad-graffiti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.sad-graffiti-card {
    background: rgba(20, 20, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.sad-graffiti-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 0, 0, 0.2);
}

.sad-graffiti-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #141418;
}

.sad-graffiti-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.sad-graffiti-card:hover .sad-graffiti-thumb-img {
    transform: scale(1.08);
}

.sad-graffiti-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(11,11,13,0.85) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.sad-graffiti-card:hover .sad-graffiti-overlay {
    opacity: 1;
}

.sad-graffiti-zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff0000;
    color: #ffffff;
    font-family: 'Cousine', monospace !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.sad-graffiti-card:hover .sad-graffiti-zoom-btn {
    transform: translateY(0);
}

.sad-graffiti-card-meta {
    padding: 18px;
}

.sad-graffiti-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sad-graffiti-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(255, 0, 0, 0.2);
    color: #ff4d4d;
    border: 1px solid rgba(255, 0, 0, 0.4);
}

.sad-graffiti-year {
    font-size: 0.75rem;
    color: #8a8a93;
    font-weight: 700;
}

.sad-graffiti-card-title {
    font-family: 'Cousine', monospace !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.sad-graffiti-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #a0a0a5;
}

.sad-graffiti-location svg {
    color: #ff0000;
}

/* LIGHTBOX MODAL & Z-INDEX ISOLATION */
body.sad-modal-open {
    overflow: hidden !important;
}

body.sad-modal-open header,
body.sad-modal-open nav,
body.sad-modal-open .site-header,
body.sad-modal-open footer,
body.sad-modal-open .site-footer,
body.sad-modal-open #header,
body.sad-modal-open #footer,
body.sad-modal-open div[class*="header"],
body.sad-modal-open div[class*="footer"],
body.sad-modal-open div[class*="nav"] {
    z-index: 1 !important;
}

.sad-lightbox-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 2147483647 !important; /* Highest possible z-index in CSS */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 90px !important;  /* Starts comfortably below site header menu */
    padding-bottom: 50px !important; /* Leaves space above site footer bar */
    box-sizing: border-box !important;
    opacity: 0;
    visibility: hidden;
    overflow: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sad-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.sad-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 6, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.sad-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: 94vw;
    max-width: 1550px;
    height: calc(100vh - 150px);
    max-height: 82vh;
    background: rgba(14, 14, 18, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sad-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 30;
    background: rgba(255, 0, 0, 0.85);
    border: 1px solid #ff0000;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.sad-lightbox-close:hover {
    background: #ff0000;
    transform: rotate(90deg) scale(1.1);
}

.sad-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sad-lightbox-nav:hover {
    background: #ff0000;
    border-color: #ff0000;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.sad-lightbox-prev { left: 20px; }
.sad-lightbox-next { right: 380px; } /* Placed nicely next to image view */

.sad-lightbox-body {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.sad-lightbox-img-wrapper {
    position: relative;
    flex: 1;
    background: #050508;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    overflow: hidden;
}

.sad-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.9);
    cursor: zoom-in;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sad-lightbox-img:hover {
    transform: scale(1.015);
}

.sad-lightbox-zoom-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(18, 18, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: 'Cousine', monospace !important;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.sad-lightbox-zoom-hint:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.5);
}

.sad-lightbox-loader {
    position: absolute;
    color: #ff0000;
    font-family: 'Cousine', monospace !important;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: none;
}

.sad-lightbox-meta-panel {
    width: 360px;
    min-width: 340px;
    max-width: 380px;
    height: 100%;
    background: #101014;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    flex-shrink: 0;
}

.sad-lightbox-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.sad-lightbox-cat {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #ff4d4d;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.35);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
}

.sad-lightbox-counter {
    font-family: 'Cousine', monospace !important;
    font-size: 0.76rem;
    color: #a0a0a5;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-top: 4px;
}

.sad-lightbox-title {
    font-family: 'Cousine', monospace !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.3 !important;
    word-break: break-word;
}

.sad-lightbox-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #a0a0a5;
}

.sad-lightbox-loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d1d1d6;
}

.sad-lightbox-loc svg {
    color: #ff0000;
}

.sad-lightbox-year {
    font-weight: 700;
    color: #ff0000;
}

.sad-lightbox-desc {
    font-family: 'Cousine', monospace !important;
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    color: #c0c0c6 !important;
    margin: 0 0 20px 0 !important;
}

/* FULLSCREEN OVERLAY ZOOM MODAL */
.sad-fullscreen-zoom-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 2147483647 !important;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
    padding: 20px;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.sad-fullscreen-zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

.sad-fullscreen-zoom-img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.95);
    user-select: none;
    -webkit-user-drag: none;
}

.sad-fullscreen-zoom-close {
    position: fixed !important;
    top: max(20px, env(safe-area-inset-top, 20px)) !important;
    right: max(20px, env(safe-area-inset-right, 20px)) !important;
    z-index: 2147483648 !important;
    background: #ff0000 !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 0, 0, 0.5) !important;
    transition: transform 0.25s ease, background-color 0.25s ease !important;
}

.sad-fullscreen-zoom-close:hover {
    transform: scale(1.12) rotate(90deg) !important;
    background: #cc0000 !important;
}

@media (max-width: 960px) {
    .sad-lightbox-dialog {
        width: 96vw;
        height: 92vh;
    }

    .sad-lightbox-body {
        flex-direction: column;
        overflow-y: auto;
    }
    
    .sad-lightbox-img-wrapper {
        min-height: 320px;
        height: 50vh;
        padding: 16px;
    }

    .sad-lightbox-next {
        right: 16px;
    }

    .sad-lightbox-meta-panel {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: auto;
        padding: 24px 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ALBUM COUNT BADGE ON CARD */
.sad-album-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(11, 11, 13, 0.85);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #ffffff;
    font-family: 'Cousine', monospace !important;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.sad-album-count-badge svg {
    color: #ff0000;
}

.sad-graffiti-card.is-album-card {
    border-color: rgba(255, 0, 0, 0.2);
}

/* LIGHTBOX SUB-CAROUSEL THUMBNAIL STRIP */
.sad-lightbox-thumbs-container {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sad-thumbs-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #8a8a93;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sad-lightbox-thumbs-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.sad-thumb-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: #08080c;
    opacity: 0.65;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.sad-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.sad-thumb-item:hover {
    opacity: 0.95;
    border-color: rgba(255, 255, 255, 0.6);
}

.sad-thumb-item:hover img {
    transform: scale(1.12);
}

.sad-thumb-item.active {
    opacity: 1;
    border-color: #ff0000 !important;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.65);
}

.sad-thumb-item.active img {
    transform: scale(1.04);
}


