.ndo-figuras-grid,
.ndo-figuras-grid *,
.ndo-figura-single-profile,
.ndo-figura-single-profile * {
    box-sizing: border-box;
}

/* =========================================================
   PLAYLIST — LEVE, SEM CORTAR RETRATOS
   ========================================================= */
.ndo-figuras-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px 22px !important;
    width: 100% !important;
    margin: 0 !important;
}

.ndo-figuras-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* moldura igual para todos */
.ndo-figuras-card-photo {
    --ndo-photo-bg: none;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #EEF3F8 !important;
    isolation: isolate !important;
}

/* fundo da própria fotografia: só é visível nos retratos */
.ndo-figuras-card-photo::before {
    content: "" !important;
    position: absolute !important;
    inset: -24px !important;
    z-index: 0 !important;
    background-image: var(--ndo-photo-bg) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    filter: blur(22px) saturate(.75) !important;
    transform: scale(1.14) !important;
    opacity: 0 !important;
}

.ndo-figuras-card-photo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: rgba(246, 249, 252, .40) !important;
    opacity: 0 !important;
}

.ndo-figuras-card-photo img {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    margin: 0 auto !important;
    max-width: none !important;
    min-height: 0 !important;
}

/* horizontais/quadradas enchem a moldura */
.ndo-figuras-card-photo-landscape img,
.ndo-figuras-card-photo-square img,
.ndo-figuras-card-photo-unknown img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* retratos: SEM CORTE. Imagem completa sobre fundo suave. */
.ndo-figuras-card-photo-portrait::before,
.ndo-figuras-card-photo-portrait::after {
    opacity: 1 !important;
}

.ndo-figuras-card-photo-portrait img {
    width: auto !important;
    max-width: 86% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.ndo-figuras-photo-placeholder {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 16px !important;
    color: #0B2242 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.ndo-figuras-card-body {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 11px 0 0 !important;
    background: transparent !important;
}

.ndo-figuras-label,
.ndo-figuras-excerpt {
    display: none !important;
}

.ndo-figuras-title {
    margin: 0 0 5px !important;
    color: #0B2242 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.ndo-figuras-title a,
.ndo-figuras-title a:hover,
.ndo-figuras-title a:focus {
    color: #0B2242 !important;
    text-decoration: none !important;
}

.ndo-figuras-subtitle {
    margin: 0 0 11px !important;
    color: #718096 !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

.ndo-figuras-actions {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-top: 0 !important;
    flex-wrap: wrap !important;
}

.ndo-figuras-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transform: none !important;
}

.ndo-figuras-btn-spotify {
    gap: 7px !important;
    color: #FFFFFF !important;
    background: #1DB954 !important;
    border: 1px solid #1DB954 !important;
}

.ndo-figuras-btn-spotify:hover {
    color: #FFFFFF !important;
    background: #169C46 !important;
    border-color: #169C46 !important;
}

.ndo-figuras-btn-bio {
    color: #0B2242 !important;
    background: #FFFFFF !important;
    border: 1px solid #D7E0EC !important;
}

.ndo-figuras-btn-bio:hover {
    color: #2563EB !important;
    background: #F5F8FD !important;
    border-color: #BFD3F8 !important;
}

.ndo-figuras-spotify-icon,
.ndo-figuras-spotify-icon svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
}

.ndo-figuras-spotify-icon svg {
    fill: #FFFFFF !important;
}

.ndo-figuras-empty {
    padding: 20px !important;
    color: #475569 !important;
    background: #F7F9FC !important;
    border: 1px solid #DCE5EF !important;
    border-radius: 10px !important;
}

/* =========================================================
   PÁGINA INDIVIDUAL — mantém fotografia natural
   ========================================================= */
.ndo-figura-single-profile {
    display: grid !important;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: center !important;
    margin: 0 0 34px !important;
    padding: 28px !important;
    color: #FFFFFF !important;
    background: #062650 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.ndo-figura-single-photo {
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #DCE7EF !important;
}

.ndo-figura-single-photo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 430px !important;
    object-fit: contain !important;
    object-position: center !important;
}

.ndo-figura-single-title {
    margin: 0 0 10px !important;
    color: #FFFFFF !important;
    font-size: clamp(34px, 5vw, 58px) !important;
    line-height: .98 !important;
    font-weight: 900 !important;
}

.ndo-figura-single-subtitle {
    margin: 0 0 22px !important;
    color: rgba(255,255,255,.84) !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
}

.ndo-figura-single-spotify {
    min-height: 46px !important;
    padding: 0 22px !important;
    font-size: 12px !important;
}

.ndo-figura-single-bio {
    color: #24364B !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
}

@media (max-width: 1024px) {
    .ndo-figuras-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .ndo-figuras-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 12px !important;
    }

    .ndo-figuras-card-photo {
        height: 170px !important;
        min-height: 170px !important;
    }

    .ndo-figuras-card-photo-portrait img {
        max-width: 92% !important;
    }

    .ndo-figuras-title {
        font-size: 14px !important;
    }

    .ndo-figuras-subtitle {
        font-size: 9px !important;
    }

    .ndo-figuras-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .ndo-figuras-btn {
        width: 100% !important;
    }

    .ndo-figura-single-profile {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        padding: 18px !important;
    }

    .ndo-figura-single-title {
        font-size: 36px !important;
    }
}
