/* Blocchi "Home - Artista Spotify" (nnm/home-artist) e "Home - Canale YouTube"
   (nnm/home-youtube). Caricato da functions.php su ogni pagina che contiene uno
   dei due blocchi (home compresa) e sempre nell'editor. Le regole di sezione
   sono limitate ai due blocchi per funzionare anche fuori da homepage.css. */
.nnm-artist.section,.nnm-youtube.section{padding:88px 0}
.nnm-artist .section-label,.nnm-youtube .section-label{font-family:var(--font-head);font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--blue);margin-bottom:10px}
.nnm-artist .section-title,.nnm-youtube .section-title{font-family:var(--font-head);font-size:clamp(26px,3.5vw,40px);font-weight:800;color:var(--black);line-height:1.1;margin-bottom:20px}
/* ARTIST / SPOTIFY */
.nnm-artist{background:var(--white)}
.nnm-artist__intro{max-width:640px;color:var(--gray-text);font-size:17px;margin-bottom:36px}
.nnm-artist__grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:32px;align-items:stretch}
.nnm-artist__grid--single{grid-template-columns:1fr;max-width:640px}
.nnm-artist__card{background:var(--gray-bg);border:1.5px solid var(--gray-border);border-radius:3rem;padding:36px;display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.nnm-artist__id{display:flex;align-items:center;gap:18px}
.nnm-artist__avatar{width:82px;height:82px;flex:0 0 82px;border-radius:24px;overflow:hidden;box-shadow:0 8px 0 var(--gray-border)}
.nnm-artist__avatar-img{width:100%;height:100%;object-fit:cover;display:block}
.nnm-artist__avatar--empty{display:flex;align-items:center;justify-content:center;background:var(--blue-light);box-shadow:0 8px 0 var(--blue-mid)}
.nnm-artist__avatar--empty svg{width:40px;height:40px;fill:var(--blue)}
.nnm-artist__name{font-family:var(--font-head);font-size:24px;font-weight:800;color:var(--black);margin:0;line-height:1.15}
.nnm-artist__role{font-size:14px;color:var(--gray-text);margin:6px 0 0}
.nnm-artist__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.nnm-artist__follow{display:inline-flex;align-items:center;gap:9px;font-family:var(--font-head);font-size:15px;font-weight:700;color:#fff;background:#1DB954;padding:15px 26px;border-radius:var(--r-pill);text-decoration:none;box-shadow:0 6px 0 #14833b;transition:transform .2s,box-shadow .2s}
.nnm-artist__follow:hover{transform:translateY(-2px);box-shadow:0 8px 0 #14833b}
.nnm-artist__follow:active{transform:translateY(4px);box-shadow:none}
.nnm-artist__follow svg{width:19px;height:19px;fill:#fff}
.nnm-artist__link{font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--blue);text-decoration:none}
.nnm-artist__link:hover{text-decoration:underline}
.nnm-artist__media{position:relative;overflow:hidden;background:#1f1f1f;border-radius:1.9rem;padding:6px;display:flex;flex-direction:column;box-shadow:0 22px 48px rgba(0,0,0,.3)}
.nnm-artist__media .dot-bg{background-image:radial-gradient(circle,#fff 1px,transparent 1px);opacity:.05}
.nnm-artist__player-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 12px}
.nnm-artist__player-brand{display:inline-flex;align-items:center;gap:9px;font-family:var(--font-head);font-size:13px;font-weight:800;letter-spacing:.03em;color:#fff}
.nnm-artist__player-brand svg{width:20px;height:20px;fill:#1DB954;flex:0 0 20px}
.nnm-artist__eq{display:inline-flex;align-items:flex-end;gap:3px;height:18px}
.nnm-artist__eq i{width:3px;background:#1DB954;border-radius:2px;transform-origin:bottom;animation:nnm-eq 1s var(--ease) infinite}
.nnm-artist__eq i:nth-child(1){height:100%;animation-delay:-.4s}
.nnm-artist__eq i:nth-child(2){height:100%;animation-delay:-.15s}
.nnm-artist__eq i:nth-child(3){height:100%;animation-delay:-.65s}
.nnm-artist__eq i:nth-child(4){height:100%;animation-delay:0s}
@keyframes nnm-eq{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
.nnm-artist__player-frame{position:relative;z-index:1;background:transparent;border-radius:1.5rem;overflow:hidden}
.nnm-artist__player{display:block;border:0;border-radius:1.5rem}
@media(prefers-reduced-motion:reduce){.nnm-artist__eq i{animation:none;transform:scaleY(.7)}}

/* YOUTUBE */
.nnm-youtube{background:var(--white)}
.nnm-youtube__intro{max-width:640px;color:var(--gray-text);font-size:17px;margin-bottom:36px}
.nnm-youtube__grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:32px;align-items:stretch}
.nnm-youtube__grid--single{grid-template-columns:1fr;max-width:720px}
.nnm-youtube__card{background:var(--gray-bg);border:1.5px solid var(--gray-border);border-radius:3rem;padding:36px;display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.nnm-youtube__id{display:flex;align-items:center;gap:18px}
.nnm-youtube__avatar{width:82px;height:82px;flex:0 0 82px;border-radius:24px;overflow:hidden;box-shadow:0 8px 0 var(--gray-border)}
.nnm-youtube__avatar-img{width:100%;height:100%;object-fit:cover;display:block}
.nnm-youtube__avatar--empty{display:flex;align-items:center;justify-content:center;background:#ffe3e3;box-shadow:0 8px 0 #ffbcbc}
.nnm-youtube__avatar--empty svg{width:42px;height:42px;fill:#FF0000}
.nnm-youtube__name{font-family:var(--font-head);font-size:24px;font-weight:800;color:var(--black);margin:0;line-height:1.15}
.nnm-youtube__handle{font-size:14px;color:var(--gray-text);margin:6px 0 0}
.nnm-youtube__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.nnm-youtube__subscribe{display:inline-flex;align-items:center;gap:9px;font-family:var(--font-head);font-size:15px;font-weight:700;color:#fff;background:#FF0000;padding:15px 26px;border-radius:var(--r-pill);text-decoration:none;box-shadow:0 6px 0 #b40000;transition:transform .2s,box-shadow .2s}
.nnm-youtube__subscribe:hover{transform:translateY(-2px);box-shadow:0 8px 0 #b40000}
.nnm-youtube__subscribe:active{transform:translateY(4px);box-shadow:none}
.nnm-youtube__subscribe svg{width:22px;height:22px;fill:#fff;flex:0 0 22px}
.nnm-youtube__link{font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--blue);text-decoration:none}
.nnm-youtube__link:hover{text-decoration:underline}
.nnm-youtube__media{position:relative;overflow:hidden;background:#1f1f1f;border-radius:1.9rem;padding:6px;display:flex;flex-direction:column;box-shadow:0 22px 48px rgba(0,0,0,.3)}
.nnm-youtube__media .dot-bg{background-image:radial-gradient(circle,#fff 1px,transparent 1px);opacity:.05}
.nnm-youtube__player-head{position:relative;z-index:1;display:flex;align-items:center;gap:12px;padding:14px 16px 12px}
.nnm-youtube__player-brand{display:inline-flex;align-items:center;gap:9px;font-family:var(--font-head);font-size:13px;font-weight:800;letter-spacing:.03em;color:#fff}
.nnm-youtube__player-brand svg{width:22px;height:22px;fill:#FF0000;flex:0 0 22px}
.nnm-youtube__player-frame{position:relative;z-index:1;border-radius:1.5rem;overflow:hidden;aspect-ratio:16/9;background:#000}
.nnm-youtube__player{display:block;border:0;width:100%;height:100%}
.nnm-youtube__facade{display:block;width:100%;height:100%;margin:0;padding:0;border:0;cursor:pointer;background-color:#000;background-size:cover;background-position:center;position:relative}
.nnm-youtube__facade::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35))}
.nnm-youtube__play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;align-items:center;justify-content:center;width:74px;height:52px;border-radius:16px;background:#FF0000;box-shadow:0 8px 24px rgba(0,0,0,.35);transition:transform .2s var(--pop),background .2s}
.nnm-youtube__play svg{width:30px;height:30px;fill:#fff}
.nnm-youtube__facade:hover .nnm-youtube__play,.nnm-youtube__facade:focus-visible .nnm-youtube__play{transform:translate(-50%,-50%) scale(1.08);background:#f22}
.nnm-youtube__facade:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

@media(max-width:900px){
  .nnm-artist__grid,.nnm-youtube__grid{grid-template-columns:1fr}
}
