/*
Theme Name: Pop25
Theme URI: https://popmagazine.it
Author: Pop Magazine
Author URI: https://popmagazine.it
Description: Tema ufficiale di Pop Magazine — magazine di musica pop italiano con sezioni News, Nuove uscite, Interviste e Live.
Version: 25.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pop-magazine
Tags: magazine, music, news, custom-colors, custom-logo, featured-images, responsive-layout
*/

/* === VARIABILI BRAND === */
:root {
  --purple: #6A1864;
  --dark: #120449;
  --grad: linear-gradient(135deg, #6A1864 0%, #120449 100%);
  --grad-subtle: linear-gradient(135deg, rgba(106,24,100,0.08), rgba(18,4,73,0.06));
  --bg: #ffffff;
  --bg2: #ffffff;
  --text: #1a1a2e;
  --text2: #5a5a7a;
  --text3: #9a9ab0;
  --border: rgba(106,24,100,0.12);
  --radius: 14px;
  --radius-sm: 8px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
  background: #ffffff;
}
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  width: 100% !important;
  max-width: none !important;
  overflow-x: hidden;
  position: relative;
}
/* WordPress aggiunge .search-results al body — assicuriamo larghezza piena */
body.search-results,
body.search {
  width: 100% !important;
  max-width: none !important;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: 'Open Sans', sans-serif; cursor: pointer; }

/* === TIPOGRAFIA — Open Sans per tutto inclusi i titoli degli articoli === */
h1, h2, h3, h4, h5 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: 36px; letter-spacing: -0.02em; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }

/* Playfair solo per pull quote ed elementi decorativi espliciti */
.decorative-serif {
  font-family: 'Playfair Display', serif;
}

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.main-content { padding: 32px 0; }

/* === NAVBAR === */
.site-header {
  background: var(--grad);
  height: 62px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(18,4,73,0.25);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.logo-text {
  font-size: 15px; font-weight: 700; color: white;
  letter-spacing: -0.01em; white-space: nowrap;
}
.site-logo-img {
  height: 14px; width: auto; display: block;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 600;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.current-menu-item { color: white; border-bottom-color: white; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s; color: white;
  flex-shrink: 0;
}
.search-toggle:hover { background: rgba(255,255,255,0.28); }

/* === HAMBURGER (mobile) === */
.hamburger {
  display: none; /* hidden on desktop — shown only on mobile via media query */
  flex-direction: column; gap: 5px; cursor: pointer;
  width: 34px; height: 34px; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.25); }
.hamburger span {
  display: block; width: 16px; height: 1.5px;
  background: white; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
  display: none;
  position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
  background: var(--grad);
  z-index: 99; overflow-y: auto;
  padding: 24px 0;
  animation: slideDown 0.25s ease;
}
.mobile-menu.open { display: block; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: 22px; font-weight: 700; color: white;
  padding: 16px 32px;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.15s;
}
.mobile-menu nav a:hover { background: rgba(255,255,255,0.08); }
.mobile-menu nav a::after { content: '›'; color: rgba(255,255,255,0.4); font-size: 20px; }
.mobile-menu-footer {
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.mobile-nl-btn { display: none; } /* rimossa newsletter */
.mobile-socials { display: flex; gap: 16px; justify-content: center; }
.mobile-socials a { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; }
.mobile-email-contact {
  display: block; text-align: center;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px; padding: 8px 16px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-email-contact:hover { color: white; border-color: rgba(255,255,255,0.45); }

/* === SEARCH OVERLAY === */
.search-overlay {
  display: none; background: white;
  padding: 20px 40px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(18,4,73,0.1);
  position: relative; z-index: 98;
}
.search-overlay.open { display: block; }
.search-form {
  display: flex; gap: 12px; align-items: center;
  border: 2px solid var(--purple); border-radius: 30px;
  padding: 10px 10px 10px 20px; max-width: 600px;
}
.search-form input {
  flex: 1; border: none; outline: none; font-size: 15px;
  font-family: 'Open Sans', sans-serif; color: var(--text); background: transparent;
}
.search-form input::placeholder { color: var(--text3); }
.search-submit-btn {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #6A1864, #120449);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.search-submit-btn:hover { transform: scale(1.08); box-shadow: 0 3px 10px rgba(106,24,100,0.3); }
.search-dropdown { margin-top: 16px; max-width: 600px; }
.search-result-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 0.5px solid var(--border);
  cursor: pointer; transition: opacity 0.15s; text-decoration: none;
}
.search-result-item:hover { opacity: 0.7; }
.search-result-img {
  width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; overflow: hidden;
  background: var(--grad-subtle);
  display: flex; align-items: center; justify-content: center;
}
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-no-results { font-size: 14px; color: var(--text3); padding: 16px 0; }

/* Card "Scopri l'artista" — mostrata sopra ai risultati articolo quando
   la ricerca corrisponde a una scheda artista. Compatta e riconoscibile
   (sfondo sfumato brand) ma senza appesantire il resto della lista. */
.search-artist-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; margin-bottom: 10px;
  border-radius: 12px; text-decoration: none;
  background: linear-gradient(135deg, rgba(106,24,100,0.08), rgba(18,4,73,0.06));
  border: 1px solid rgba(106,24,100,0.18);
  transition: background 0.15s, border-color 0.15s;
}
.search-artist-card:hover {
  background: linear-gradient(135deg, rgba(106,24,100,0.14), rgba(18,4,73,0.1));
  border-color: rgba(106,24,100,0.3);
}
.search-artist-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #6A1864, #120449);
  display: flex; align-items: center; justify-content: center;
}
.search-artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.search-artist-avatar span { color: white; font-size: 15px; font-weight: 700; }
.search-artist-info { flex: 1; min-width: 0; }
.search-artist-name {
  font-size: 13px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-artist-cta {
  font-size: 11px; font-weight: 600; color: var(--purple);
  text-transform: uppercase; letter-spacing: 0.03em; margin-top: 1px;
}
.search-artist-arrow { color: var(--purple); flex-shrink: 0; }

/* Card "Scopri l'artista" nella PAGINA risultati ricerca (search.php) —
   versione più ricca (foto quadrata, bio breve) di quella nel dropdown
   dell'header, ma sempre proporzionata: sta sopra alla griglia articoli
   senza rubarle la scena. */
.search-page-artist-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; margin-bottom: 28px;
  border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(135deg, rgba(106,24,100,0.07), rgba(18,4,73,0.05));
  border: 1px solid rgba(106,24,100,0.16);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.search-page-artist-card:hover {
  background: linear-gradient(135deg, rgba(106,24,100,0.12), rgba(18,4,73,0.08));
  border-color: rgba(106,24,100,0.3);
  transform: translateY(-1px);
}
.search-page-artist-avatar {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #6A1864, #120449);
  display: flex; align-items: center; justify-content: center;
}
.search-page-artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.search-page-artist-avatar span { color: white; font-size: 24px; font-weight: 700; }
.search-page-artist-info { flex: 1; min-width: 0; }
.search-page-artist-eyebrow {
  display: block; font-size: 11px; font-weight: 700; color: var(--purple);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px;
}
.search-page-artist-name { font-size: 19px; font-weight: 800; color: var(--text); line-height: 1.2; }
.search-page-artist-bio {
  font-size: 13px; color: var(--text2); margin-top: 4px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.search-page-artist-cta {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: var(--purple);
  border: 1.5px solid rgba(106,24,100,0.25); border-radius: 20px;
  padding: 9px 16px 9px 18px; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.search-page-artist-card:hover .search-page-artist-cta {
  background: rgba(106,24,100,0.08); border-color: rgba(106,24,100,0.4);
}
@media (max-width: 640px) {
  .search-page-artist-card { flex-wrap: wrap; padding: 16px; }
  .search-page-artist-cta { width: 100%; justify-content: center; }
}

/* === PAGE HEADER === */
.page-header { background: var(--grad); padding: 32px 0 36px; width: 100%; box-sizing: border-box; }
.main-content { padding: 32px 0; width: 100%; box-sizing: border-box; }.breadcrumbs { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumbs a { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; }
.breadcrumbs .sep { font-size: 12px; color: rgba(255,255,255,0.35); }
.breadcrumbs .current { font-size: 12px; color: rgba(255,255,255,0.85); font-weight: 600; }
.page-header h1 { color: white; margin-bottom: 6px; font-family: 'Open Sans', sans-serif; }
.page-header .subtitle { font-size: 14px; color: rgba(255,255,255,0.6); }

/* === HERO === */
.hero-section { background: var(--grad); padding: 0 0 40px; }
.hero-wrap {
  margin: 0 40px; border-radius: 18px; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
}
.hero-image { min-height: 360px; overflow: hidden; background: linear-gradient(160deg, #3d0f3a 0%, #0a0230 100%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; }
.hero-image .no-image {
  width: 100%; min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: rgba(255,255,255,0.25); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-content {
  background: linear-gradient(160deg, #5a1558 0%, #180660 100%);
  padding: 40px 36px; display: flex; flex-direction: column; justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
  padding: 4px 14px; border-radius: 20px;
  font-size: 10px; font-weight: 700; color: white; letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 18px; width: fit-content;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff6b9d; flex-shrink: 0; }
.hero-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 26px; font-weight: 700; color: white;
  line-height: 1.25; margin-bottom: 14px;
}
.hero-excerpt { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 22px; }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.hero-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 1.5px solid rgba(255,255,255,0.3);
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: white;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-byline { font-size: 12px; color: rgba(255,255,255,0.55); }
.hero-byline strong { color: rgba(255,255,255,0.8); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--purple);
  padding: 11px 24px; border-radius: 24px;
  font-size: 13px; font-weight: 700; width: fit-content; transition: transform 0.2s;
}
.hero-cta:hover { transform: scale(1.04); }

/* === SECTION HEADER === */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-title {
  font-size: 11px; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: 0.1em;
  border-left: 3px solid var(--purple); padding-left: 10px;
}
.section-link { font-size: 12px; font-weight: 700; color: var(--purple); }
.section-count { font-size: 12px; color: var(--text3); }

/* === CARDS === */
.card {
  background: white; border: 0.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; cursor: pointer; display: block;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(106,24,100,0.12); }
/* Tutta la superficie cliccabile: disabilita pointer su figli tranne link/btn */
.card * { pointer-events: none; }
.card a, .card button { pointer-events: auto; }
/* Overlay invisibile che rende cliccabile tutta la card */
.card-link-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: block; text-decoration: none;
}
/* Link interni sopra l'overlay */
.card-body a, .card-body button { position: relative; z-index: 2; }
/* Email CTA completamente cliccabile */
a.about-email-cta {
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
a.about-email-cta:hover {
  background: linear-gradient(135deg, rgba(106,24,100,0.1), rgba(18,4,73,0.1));
  border-color: rgba(106,24,100,0.3);
}

/* Thumbnail con immagine VERA o placeholder */
.card-thumbnail {
  width: 100%; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #2d0a2a, #0a0230);
  display: block; line-height: 0;
}
/* Explicit heights so position:absolute image stays contained */
.card-thumbnail.h200 { height: 240px; }
.card-thumbnail.h160 { height: 200px; }
.card-thumbnail.h130 { height: 170px; }
.card-thumbnail.h120 { height: 158px; }
.card-thumbnail.h110 { height: 145px; }
.card-thumbnail img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.3s;
  position: absolute; top: 0; left: 0;
}
.card:hover .card-thumbnail img { transform: scale(1.04); }

.card-thumbnail .no-img {
  width: 100%; height: 100%; min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.12); font-size: 11px;
}
.card-body { padding: 14px 16px; }
.card-body.sm { padding: 11px 13px; }

/* === BADGES === */
.badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; letter-spacing: 0.03em;
}
.badge-news { background: rgba(106,24,100,0.1); color: var(--purple); }
.badge-uscite { background: rgba(18,4,73,0.08); color: var(--dark); }
.badge-intervista { background: rgba(106,24,100,0.12); color: var(--purple); }
.badge-live { background: rgba(18,4,73,0.1); color: var(--dark); }
.badge-citta { background: rgba(18,4,73,0.06); color: var(--dark); margin-left: 4px; }
.badge-evidenza { background: var(--grad); color: white; }
.badge-artisti { background: rgba(106,24,100,0.1); color: var(--purple); }
.badge-album { background: rgba(18,4,73,0.08); color: var(--dark); }
.badge-tour { background: rgba(106,24,100,0.08); color: var(--purple); }
.badge-industria { background: rgba(18,4,73,0.1); color: var(--dark); }

/* Sopra l'header dell'articolo (sfondo scuro/sfumato) i badge "chiari" sono
   illeggibili: qui li rendiamo a contrasto alto, come già facevamo a mano
   per i tag artista in single.php. */
.article-header .badge {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* === CARD CONTENT === */
.card-title { font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 7px; }
.card-title.lg { font-size: 16px; }
.card-title.sm { font-size: 13px; }
.card-excerpt { font-size: 12px; color: var(--text2); line-height: 1.6; margin-bottom: 10px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.card-meta { font-size: 11px; color: var(--text3); }
.card-meta strong { color: var(--text2); font-weight: 600; }
.read-link { font-size: 11px; font-weight: 700; color: var(--purple); }
.pull-quote {
  border-left: 2px solid var(--purple); padding-left: 8px;
  font-size: 12px; color: var(--text2); font-style: italic; line-height: 1.5; margin: 8px 0;
}

/* === GRIDS === */
.grid-main { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 16px; margin-bottom: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.grid-2-3 { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 20px; margin-bottom: 28px; }

/* === STACK CARDS === */
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-card {
  background: white; border: 0.5px solid var(--border);
  border-radius: 12px; overflow: hidden; display: flex; transition: transform 0.2s;
}
.stack-card:hover { transform: translateY(-2px); }
.stack-thumb {
  width: 90px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(160deg, #1a0550, #3d0f3a);
  position: relative; min-height: 90px; height: auto;
}
.stack-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top:0; left:0; }
.stack-thumb .no-img { width: 100%; height: 100%; min-height: 90px; }
.stack-body { padding: 11px 13px; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.stack-title { font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
.stack-meta { font-size: 11px; color: var(--text3); }
.stack-meta strong { color: var(--text2); font-weight: 600; }

/* === DIVIDER === */
.divider { border: none; border-top: 0.5px solid var(--border); margin: 28px 0; }

/* === FILTER BAR (senza sort btn) === */
.filterbar { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-label { font-size: 12px; color: var(--text3); font-weight: 600; margin-right: 4px; }
.filter-pill {
  padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text2);
  cursor: pointer; background: white; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.filter-pill:hover { border-color: var(--purple); color: var(--purple); }
.filter-pill.active { background: var(--grad); color: white; border-color: transparent; }

/* === PAGINATION — stile moderno === */
.pagination {
  display: flex; justify-content: center; align-items: center;
  margin-top: 48px; padding-bottom: 16px; flex-wrap: wrap;
}
.pagination ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 2px; align-items: center; flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid rgba(106,24,100,0.15);
  border-radius: 999px;
  padding: 6px 8px;
  overflow: visible;
  /* altezza minima = cerchio attivo (46px) + padding top+bottom (12px) = 58px */
  min-height: 58px;
}
.pagination ul li { display: inline-flex; align-items: center; }
.page-numbers {
  min-width: 46px; height: 46px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; padding: 0 16px;
  border: none; background: transparent; color: #555;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1;
}
.page-numbers:hover {
  background: white; color: var(--purple);
  box-shadow: 0 2px 8px rgba(106,24,100,0.10);
}
.page-numbers.current {
  min-width: 46px; height: 46px; padding: 0 16px;
  background: linear-gradient(135deg, #6A1864, #120449);
  color: white;
  box-shadow: 0 4px 16px rgba(106,24,100,0.40);
  font-size: 15px; font-weight: 700;
  position: relative; z-index: 1;
}
.page-numbers.dots {
  background: transparent; box-shadow: none; min-width: auto;
  color: #aaa; cursor: default; padding: 0 8px; letter-spacing: .1em;
}
.page-numbers.prev, .page-numbers.next {
  font-size: 18px; font-weight: 400; padding: 0 18px; color: #777; min-width: 50px;
}
.page-numbers.prev:hover, .page-numbers.next:hover {
  background: white; color: var(--purple);
  box-shadow: 0 2px 8px rgba(106,24,100,0.10);
}

/* === MIGLIOR RELEASE DELLA SETTIMANA === */
.best-release-new {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  background: var(--grad); border-radius: 20px; padding: 28px;
  margin-bottom: 12px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  align-items: center;
}
.best-release-new:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(18,4,73,0.35); }
.brn-cover {
  width: 200px; height: 200px; border-radius: 14px; overflow: hidden;
  flex-shrink: 0; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.brn-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brn-cover-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.brn-body { display: flex; flex-direction: column; gap: 10px; }
.brn-badge {
  display: inline-block; font-size: 11px; font-weight: 800;
  color: #fbbf24; letter-spacing: .06em; text-transform: uppercase;
}
.brn-brano {
  font-size: 24px; font-weight: 900; color: white;
  line-height: 1.2; margin: 0;
  font-family: 'Open Sans', sans-serif;
}
.brn-artista {
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,0.7); margin: 0;
}
.brn-stars {
  display: flex; align-items: center; gap: 3px; flex-wrap: wrap;
}
.brn-voto-num {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.6);
  margin-left: 6px;
}
.brn-excerpt {
  font-size: 13px; color: rgba(255,255,255,0.65);
  line-height: 1.6; margin: 0;
}
.brn-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.brn-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 800;
  padding: 10px 22px; border-radius: 25px;
  text-decoration: none; width: fit-content;
  transition: transform 0.18s, box-shadow 0.18s;
}
.brn-cta-review {
  background: white; color: var(--purple);
}
.brn-cta-review:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.brn-cta-spotify {
  background: #1DB954; color: white;
}
.brn-cta-spotify:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(29,185,84,0.4); }
@media (max-width: 768px) {
  .best-release-new { grid-template-columns: 1fr; padding: 20px; }
  .brn-cover { width: 100%; height: 220px; border-radius: 12px; }
  .brn-cover img { width: 100%; height: 100%; object-fit: cover; }
  .brn-brano { font-size: 20px; }
}

/* === CONTINUA A LEGGERE — CAROUSEL === */
.cr-carousel-wrap {
  position: relative;
}
.cr-carousel {
  display: flex; gap: 16px;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none; /* Firefox */
}
.cr-carousel::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.cr-carousel:hover {
  cursor: grab;
}
.cr-carousel:active { cursor: grabbing; }
.cr-card {
  flex: 0 0 240px; scroll-snap-align: start;
  background: white; border-radius: 14px;
  border: 1px solid rgba(106,24,100,0.1);
  overflow: hidden; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(106,24,100,0.06);
}
.cr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(106,24,100,0.15);
}
.cr-thumb {
  height: 150px; overflow: hidden; background: var(--grad);
  position: relative;
}
.cr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.cr-card:hover .cr-thumb img { transform: scale(1.05); }
.cr-body { padding: 12px 14px; }
.cr-title {
  font-size: 13px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin: 6px 0 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cr-meta { font-size: 11px; color: var(--text3); font-weight: 500; }
/* Frecce */
.cr-arrow {
  position: absolute; top: 50%; transform: translateY(-60%);
  width: 36px; height: 36px; border-radius: 50%;
  background: white; border: 1px solid rgba(106,24,100,0.2);
  box-shadow: 0 2px 10px rgba(106,24,100,0.12);
  font-size: 18px; color: var(--purple); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s; z-index: 2;
  line-height: 1;
}
.cr-arrow:hover { background: var(--purple); color: white; transform: translateY(-60%) scale(1.08); }
.cr-prev { left: -18px; }
.cr-next { right: -18px; }
@media (max-width: 768px) {
  .cr-prev, .cr-next { display: none; }
  .cr-card { flex: 0 0 200px; }
  .cr-thumb { height: 120px; }
}
.best-release {
  background: var(--grad); border-radius: 18px; padding: 24px;
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; margin-bottom: 12px;
}
.br-cover {
  height: 180px; border-radius: 12px; overflow: hidden; position: relative;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15);
}
.br-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.br-cover .no-img { width: 100%; height: 100%; }
.br-badge { display: inline-block; background: white; color: var(--purple); font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 20px; margin-bottom: 12px; }
.br-title { font-family: 'Open Sans', sans-serif; font-size: 22px; font-weight: 700; color: white; line-height: 1.25; margin-bottom: 5px; }
.br-artist { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.br-stars { display: flex; gap: 4px; margin-bottom: 12px; align-items: center; }
.star { font-size: 16px; color: #FFD166; }
.star.off { color: rgba(255,255,255,0.2); }
.br-voto { font-size: 13px; color: rgba(255,255,255,0.7); margin-left: 8px; font-weight: 700; align-self: center; }
.br-excerpt { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 14px; }
.br-footer { display: flex; align-items: center; justify-content: space-between; }
.br-meta { font-size: 11px; color: rgba(255,255,255,0.5); }
.br-cta {
  background: white; color: var(--purple); font-size: 12px; font-weight: 700;
  padding: 8px 18px; border-radius: 20px; border: none; transition: transform 0.2s; display: inline-block;
}
.br-cta:hover { transform: scale(1.04); }

/* === INTERVISTA FEATURED === */
.int-featured {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 28px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr);
  border: 0.5px solid var(--border); background: white;
  position: relative; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.int-featured:hover {
  box-shadow: 0 8px 32px rgba(106,24,100,0.14);
  transform: translateY(-2px);
}
.int-photo {
  min-height: 280px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #2d0a2a, #0a0230);
}
.int-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.int-photo .no-img {
  width: 100%; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2); font-size: 13px;
}
.int-body { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.int-title { font-family: 'Open Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 10px; }
.int-quote {
  border-left: 3px solid var(--purple); padding: 10px 14px;
  background: var(--grad-subtle); border-radius: 0 8px 8px 0;
  margin-bottom: 14px; font-size: 13px; color: var(--text2); font-style: italic; line-height: 1.6;
}
.int-footer { display: flex; align-items: center; justify-content: space-between; }

/* === INT SEARCH === */
.int-search { display: flex; gap: 10px; margin-bottom: 28px; }
.int-search input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 30px;
  padding: 10px 20px; font-size: 14px; font-family: 'Open Sans', sans-serif;
  color: var(--text); outline: none; transition: border-color 0.2s; background: white;
}
.int-search input:focus { border-color: var(--purple); }
.int-search button {
  padding: 10px 24px; background: var(--grad); border: none;
  border-radius: 30px; color: white; font-size: 13px; font-weight: 700;
  transition: opacity 0.2s;
}
.int-search button:hover { opacity: 0.85; }

/* === LIVE FEATURED === */
.live-featured {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 28px;
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  border: 0.5px solid var(--border); background: white;
}
.live-photo {
  min-height: 270px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #0a0230, #3d0f3a);
}
.live-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-height: 270px; object-fit: cover; display: block; }
.live-photo .no-img {
  width: 100%; min-height: 270px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2); font-size: 13px;
}
.live-body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.live-title { font-family: 'Open Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 10px; }
.live-info { display: flex; gap: 20px; padding-top: 14px; border-top: 0.5px solid var(--border); margin-bottom: 14px; }
.live-info-item { display: flex; flex-direction: column; gap: 2px; }
.live-info-label { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.live-info-val { font-size: 13px; font-weight: 700; color: var(--text); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: white; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* === SINGLE ARTICLE === */
.article-header { background: var(--grad); padding: 32px 0 40px; }
.article-cats { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.article-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 36px; font-weight: 700; color: white;
  line-height: 1.2; margin-bottom: 10px; max-width: 720px;
}
.article-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px; font-weight: 400;
  color: #ffffff;
  line-height: 1.55; margin-bottom: 34px; max-width: 640px;
  font-style: italic;
}
.article-meta-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: white; flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-byline { font-size: 12px; color: rgba(255,255,255,0.55); }
.article-byline strong { color: rgba(255,255,255,0.8); }
.share-buttons { margin-left: auto; display: flex; gap: 8px; }
.share-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: white; font-size: 11px; font-weight: 700; transition: background 0.2s;
}
.share-btn:hover { background: rgba(255,255,255,0.28); }

/* === ARTICLE LAYOUT === */
.about-contributors { margin-top: 8px; }
.contributors-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.contributors-list li {
  font-size: 14px; color: var(--text2);
  display: flex; align-items: center; gap: 8px;
}
.contributors-list li strong { color: var(--text1); }
.contributors-list li span {
  font-size: 11px; font-weight: 700; color: var(--purple);
  background: rgba(106,24,100,0.08); border-radius: 20px; padding: 2px 10px;
}
.contributors-list li em { color: var(--text3); font-size: 13px; }

/* === ABOUT US PAGE === */
.about-wrap { max-width: 820px; margin: 0 auto; padding: 32px 0 48px; }
.about-body { display: flex; flex-direction: column; gap: 40px; }
.about-block p { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 14px; }
.about-section-title {
  font-size: 22px; font-weight: 800; color: var(--text1);
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(106,24,100,0.12);
  font-family: 'Open Sans', sans-serif;
}
.about-section p { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 12px; }
.contributors-list-full { display: flex; flex-direction: column; gap: 10px; }
.contributors-list-full li {
  font-size: 15px; color: var(--text2);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #fafafa; border-radius: 10px;
  border: 1px solid rgba(106,24,100,0.08);
}
.contributors-list-full li strong { color: var(--text1); font-weight: 700; min-width: 180px; }
.contributors-list-full li span {
  font-size: 12px; font-weight: 700; color: var(--purple);
  background: rgba(106,24,100,0.08); border-radius: 20px; padding: 3px 12px;
}
.about-link { color: var(--purple); font-weight: 600; text-decoration: none; }
.about-link:hover { text-decoration: underline; }

/* Pulsanti "Modifica pagina" / "Gestisci team" — visibili SOLO a chi è loggato con permessi di modifica */
.admin-edit-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.admin-edit-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: white; text-decoration: none;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px; padding: 7px 16px; transition: background 0.2s, transform 0.2s;
}
.admin-edit-btn:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.admin-edit-btn-secondary { background: rgba(255,255,255,0.08); }
.admin-edit-btn-secondary:hover { background: rgba(255,255,255,0.18); }

/* Team — card con foto, nome, ruolo e pulsanti social (gestiti da Team → Aggiungi nuovo) */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
/* Prime 4 persone del team: 2 per riga (invece di 3+), quindi più larghe,
   stessa identica altezza/stile della card standard */
.team-grid-featured {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 14px;
}
.team-member-card {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px;
  background: #fafafa; border: 1px solid rgba(106,24,100,0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.team-member-card:hover { border-color: rgba(106,24,100,0.22); box-shadow: 0 6px 18px rgba(106,24,100,0.08); }
.team-member-photo {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.team-member-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: white; font-weight: 800; font-size: 16px;
}
.team-member-info { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.team-member-name { color: var(--text1); font-weight: 700; font-size: 14.5px; }
.team-member-role {
  font-size: 11px; font-weight: 700; color: var(--purple);
  background: rgba(106,24,100,0.08); border-radius: 20px; padding: 2px 10px; width: fit-content;
}
.team-member-socials { display: flex; gap: 6px; flex-wrap: wrap; }
.team-member-social-btn {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(106,24,100,0.08); color: var(--purple);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.team-member-social-btn:hover { background: var(--grad); color: white; transform: scale(1.08); }

/* Team cards */
.about-team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.team-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 4px 20px rgba(106,24,100,0.08); }
.team-avatar {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg, #6A1864, #120449);
  color: white; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Open Sans', sans-serif; overflow: hidden;
}
.team-avatar-img { background: none; padding: 0; }
.team-avatar-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.team-info { flex: 1; min-width: 0; }
.team-info strong { display: block; font-size: 15px; font-weight: 800; color: var(--text1); margin-bottom: 2px; }
.team-role {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--purple); background: rgba(106,24,100,0.08);
  border-radius: 20px; padding: 2px 10px; margin-bottom: 8px;
}
.team-info p { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 0; }
.about-note { font-size: 13px; color: var(--text3); font-style: italic; }

/* === LEGAL PAGES (Privacy / Cookie / Policy Immagini) === */
.legal-updated { font-size: 13px; color: var(--text3); font-style: italic; margin-bottom: 18px; }
.legal-subtitle {
  font-size: 16px; font-weight: 700; color: var(--text1); margin: 18px 0 8px;
  font-family: 'Open Sans', sans-serif;
}
.about-section ul.legal-list { margin: 4px 0 14px; padding-left: 20px; }
.about-section ul.legal-list li { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 4px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.legal-toc a {
  font-size: 12px; font-weight: 700; color: var(--purple);
  background: var(--grad-subtle); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 999px; transition: all 0.2s;
}
.legal-toc a:hover { background: var(--grad); color: white; }
/* Email CTA */
.about-email-cta {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(106,24,100,0.06), rgba(18,4,73,0.06));
  border: 1px solid rgba(106,24,100,0.15);
  border-radius: 12px; padding: 14px 18px;
  font-size: 14px; font-weight: 600; color: var(--text2);
  margin: 12px auto 0; width: fit-content; max-width: 100%;
  justify-content: center; text-align: center;
}
.about-email-cta a { color: var(--purple); font-weight: 700; text-decoration: none; }
.about-email-cta a:hover { text-decoration: underline; }
.about-email-cta svg { flex-shrink: 0; color: var(--purple); }
/* Social section */
.about-social-section { text-align: center; padding: 40px 0 0; }
.about-social-title {
  font-size: 24px; font-weight: 900; color: var(--text1);
  margin-bottom: 28px; font-family: 'Open Sans', sans-serif;
  letter-spacing: -.01em;
}
.about-socials { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.about-social-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 16px; border-radius: 18px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-social-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }
.about-social-card span { font-size: 14px; font-weight: 800; color: white; letter-spacing: .02em; }
.about-social-card small { font-size: 11px; color: rgba(255,255,255,0.7); }
.about-social-ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.about-social-tt { background: linear-gradient(135deg, #010101, #69C9D0); }
.about-social-fb { background: linear-gradient(135deg, #1877f2, #0a56c7); }
.about-social-sp { background: linear-gradient(135deg, #1DB954, #158a3e); }
.about-social-yt { background: linear-gradient(135deg, #FF0000, #b30000); }
.about-social-x { background: linear-gradient(135deg, #000000, #3a3a3a); }
@media (max-width: 768px) {
  .about-team { grid-template-columns: 1fr; }
  .about-socials { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .about-socials { grid-template-columns: repeat(2, 1fr); }
}

/* === ARCHIVE / SEARCH — usa .container e .main-content come archive.php === */
.archive-main { min-width: 0; padding-top: 0; }

.article-layout {
  display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr);
  gap: 40px; padding: 0 40px 40px; max-width: 1180px; margin: 0 auto;
}
.article-body { padding-top: 32px; }

/* IMMAGINE FEATURED DELL'ARTICOLO */
.article-featured-image {
  width: 100%; height: 400px; border-radius: 16px; overflow: hidden; margin-bottom: 8px;
  background: linear-gradient(160deg, #2d0a2a, #0a0230); position: relative;
}
.article-featured-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* COVER POP FUTURE: immagine mostrata così com'è, nessun taglio, nessuna cornice */
.article-featured-image-raw { margin-bottom: 8px; text-align: center; }
.article-featured-image-raw img { max-width: 100%; height: auto; display: inline-block; }

.article-caption { font-size: 12px; color: var(--text3); text-align: center; margin-bottom: 28px; font-style: italic; }

/* === ARTICLE CONTENT === */
.entry-content p { font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 20px; font-family: 'Open Sans', sans-serif; }
.entry-content h2 { font-family: 'Open Sans', sans-serif; font-size: 24px; font-weight: 700; color: var(--text); margin: 32px 0 16px; }
.entry-content h3 { font-family: 'Open Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin: 24px 0 12px; }
.entry-content blockquote {
  border-left: 4px solid var(--purple); padding: 16px 22px;
  background: var(--grad-subtle); border-radius: 0 12px 12px 0; margin: 28px 0;
  font-size: 20px; color: var(--purple); line-height: 1.5; font-style: italic;
  font-family: 'Open Sans', sans-serif;
}
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 8px; }
.entry-content img { width: 100%; border-radius: 12px; margin: 24px 0; }
.entry-content a { color: var(--purple); text-decoration: underline; }

/* === ARTICLE TAGS === */
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0; }
.article-tag {
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text2); transition: all 0.2s;
}
.article-tag:hover { border-color: var(--purple); color: var(--purple); }

/* === AUTHOR BOX === */
.author-box {
  display: flex; gap: 16px; padding: 20px;
  border: 0.5px solid var(--border); border-radius: 14px; background: white; margin: 28px 0;
}
.author-box-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: white; flex-shrink: 0; overflow: hidden;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-name { font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.author-box-bio { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* === PROGRESS BAR === */
.reading-progress { height: 3px; background: var(--border); }
.reading-progress-bar { height: 100%; background: var(--grad); width: 0%; transition: width 0.1s; }

/* === SIDEBAR === */
.sidebar { padding-top: 32px; }
.sidebar-widget {
  background: white; border: 0.5px solid var(--border);
  border-radius: 14px; padding: 18px; margin-bottom: 16px;
}
.sidebar-widget h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: 0.1em;
  border-left: 2px solid var(--purple); padding-left: 8px; margin-bottom: 14px;
}
.sidebar-widget.newsletter-widget { background: var(--grad); border-color: transparent; }
.sidebar-widget.newsletter-widget h4 { color: rgba(255,255,255,0.6); border-left-color: rgba(255,255,255,0.4); }
.nl-sidebar-title { font-family: 'Open Sans', sans-serif; font-size: 13px; color: white; font-weight: 700; margin-bottom: 4px; }
.nl-sidebar-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.nl-sidebar-input {
  width: 100%; height: 36px; border-radius: 18px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 0 14px; font-size: 12px; color: white;
  font-family: 'Open Sans', sans-serif; outline: none; margin-bottom: 8px;
}
.nl-sidebar-input::placeholder { color: rgba(255,255,255,0.45); }
.nl-sidebar-btn {
  width: 100%; height: 36px; border-radius: 18px; background: white; border: none;
  color: var(--purple); font-size: 12px; font-weight: 700;
  font-family: 'Open Sans', sans-serif; cursor: pointer; transition: transform 0.2s;
}
.nl-sidebar-btn:hover { transform: scale(1.02); }
.related-item {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 0.5px solid var(--border);
  transition: opacity 0.15s; text-decoration: none;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover { opacity: 0.7; }
.related-thumb { width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg,#2d0a2a,#120449); position: relative; }
.related-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }
.related-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 8px; }
.related-title { font-family: 'Open Sans', sans-serif; font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.3; }
.share-widget { display: flex; gap: 8px; flex-wrap: wrap; }
.share-social {
  font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text2); transition: all 0.2s; background: transparent;
  font-family: 'Open Sans', sans-serif; cursor: pointer;
}
.share-social:hover { border-color: var(--purple); color: var(--purple); }

/* === CONTINUE READING === */
.continue-reading { padding: 0 40px 40px; max-width: 1180px; margin: 0 auto; }

/* === SIDEBAR ULTIMI ARTICOLI === */
.sidebar-recents { display: flex; flex-direction: column; gap: 10px; }
.sidebar-recent-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 10px; border-radius: 10px;
  background: var(--surface); border: 0.5px solid var(--border);
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.sidebar-recent-item:hover { background: rgba(106,24,100,0.06); transform: translateX(2px); }
.sidebar-recent-thumb {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 7px; overflow: hidden; background: var(--border);
}
.sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-recent-noimg { width: 100%; height: 100%; background: rgba(106,24,100,0.12); }
.sidebar-recent-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sidebar-recent-title {
  font-size: 12px; font-weight: 700; color: var(--text1);
  line-height: 1.4; margin: 2px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-recent-meta { font-size: 10px; color: var(--text3); margin-top: 2px; }

/* === FOOTER LOGO TESTO === */
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo-mark { display: none; }
.footer-logo-name { font-size: 13px; font-weight: 700; color: white; letter-spacing: .04em; display: inline-flex; align-items: center; }
.footer-logo-img-real { height: 11px; width: auto; display: block; }
.footer-logo-img-link { display: inline-flex; align-items: center; }
.footer-logo-img { height: 36px; width: auto; display: block; border-radius: 6px; }

/* === SIDEBAR LATEST (sl-) — ultimi 5 articoli === */
.sidebar-latest { display: flex; flex-direction: column; }
.sl-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; transition: opacity 0.18s;
}
.sl-item:last-child { border-bottom: none; padding-bottom: 0; }
.sl-item:hover { opacity: 0.72; }
.sl-thumb {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: var(--border);
}
.sl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,rgba(106,24,100,0.12),rgba(18,4,73,0.12)); }
.sl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sl-title {
  font-size: 12px; font-weight: 700; color: var(--text1);
  line-height: 1.4; margin: 2px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sl-meta { font-size: 10px; color: var(--text3); font-weight: 500; }

/* === SPOTIFY EMBED NEL CORPO ARTICOLO (shortcode/iframe diretto) === */
.entry-content .pop-spotify-embed,
.pop-spotify-embed {
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(106,24,100,0.12);
}
.pop-spotify-embed iframe {
  width: 100%; display: block; border: none;
}

/* === BARRETTA "MIGLIOR RELEASE" NEL CORPO ARTICOLO — shortcode [migliore_uscita] === */
/* Widget compatto, colori pop del brand, pensato per essere incollato ovunque
   nel testo (la posizione la decide chi scrive l'articolo). */
.entry-content .pop-mr-bar,
.pop-mr-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  padding: 12px 16px 12px 12px;
  background: var(--grad);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(106,24,100,0.22);
  max-width: 100%;
  overflow: hidden; /* la copertina non deve mai uscire dagli angoli arrotondati */
}
.pop-mr-cover {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}
.pop-mr-cover img,
.entry-content .pop-mr-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;        /* .entry-content img aggiunge margin:24px 0 a tutte le immagini del testo: qui lo annulliamo */
  border-radius: 0;  /* idem per il border-radius: ci pensa già .pop-mr-cover con overflow:hidden */
}
.pop-mr-cover-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.pop-mr-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pop-mr-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f59e0b;
}
.pop-mr-titolo {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pop-mr-artista {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pop-mr-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pop-mr-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.pop-mr-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.28); }
.pop-mr-play {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1DB954;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px; /* ottica: il triangolo del play è centrato meglio così */
  transition: transform 0.15s ease, background 0.2s ease;
}
.pop-mr-play:hover { background: #1ed760; transform: scale(1.08); }

@media (max-width: 480px) {
  .pop-mr-titolo, .pop-mr-artista { max-width: 130px; }
  .pop-mr-cta { padding: 7px 11px; font-size: 11px; }
}

/* === SPOTIFY ARTICLE WIDGET === */
.spotify-article-widget {
  margin: 32px 0 8px;
  background: var(--grad);
  border-radius: 16px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(18,4,73,0.25);
}
.saw-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.saw-header span {
  font-size: 14px; font-weight: 700; color: white; flex: 1;
}
.saw-open-link {
  font-size: 12px; font-weight: 700;
  color: white;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px; padding: 5px 14px;
  text-decoration: none; white-space: nowrap;
  transition: background 0.18s;
}
.saw-open-link:hover { background: rgba(255,255,255,0.25); }

/* === YOUTUBE ARTICLE WIDGET === */
.youtube-article-widget {
  margin: 32px 0 8px;
  background: linear-gradient(135deg, #FF0000, #B00000);
  border-radius: 16px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(176,0,0,0.25);
}
/* Contenitore proporzionale 16:9: l'iframe non è più "schiacciato" su
   desktop, si adatta sempre correttamente alla larghezza della colonna
   (colonna articolo su desktop, sidebar quando affiancato a Spotify). */
.youtube-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}
.youtube-embed-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border: none; display: block;
}
/* Variante in sidebar: stessa spaziatura degli altri widget laterali */
.sidebar-widget.youtube-article-widget {
  margin: 0 0 16px;
}

/* === INSTAGRAM ARTICLE WIDGET === */
.instagram-article-widget {
  margin: 20px 0 8px;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  border-radius: 16px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(18,4,73,0.2);
}
.ig-embed-body { display: flex; justify-content: center; }
.ig-embed-body iframe { border-radius: 12px !important; }
.sidebar-widget .instagram-article-widget { margin: 0; }
.sidebar-widget .ig-embed-body .instagram-media { min-width: 0 !important; max-width: 100% !important; }

/* Reel Instagram: l'embed ufficiale richiede "captioned" per non risultare
   vuoto/rotto, quindi la didascalia arriva comunque nell'iframe. Qui la
   tagliamo visivamente con una dissolvenza, così in pagina resta visibile
   solo la grafica/video (+ header), non tutto il testo — come per i post. */
.ig-embed-reel {
  max-height: 620px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}
.ig-embed-reel::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 85%);
  pointer-events: none;
}

/* Card Instagram compatta (solo mobile, vedi media query sotto): nascosta
   di default su web/tablet. Stessa "forma" della scheda artista (icona
   tonda su sfondo sfumato + etichetta + titolo + pulsante), solo con i
   colori brand di Instagram al posto della foto dell'artista. */
.ig-compact-card { display: none; }
.artist-cta-link.ig-cta-link { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%); }
.artist-cta-photo.ig-cta-icon { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.2); }

/* === INSTAGRAM EMBED NEL CORPO ARTICOLO (shortcode) === */
.entry-content .pop-instagram-embed,
.pop-instagram-embed {
  display: flex; justify-content: center;
  margin: 24px 0;
}

/* === NEWS SEARCH BAR === */
.news-search-bar {
  display: flex; align-items: center; gap: 12px;
  background: white; border: 1.5px solid rgba(106,24,100,0.2);
  border-radius: 30px; padding: 10px 16px 10px 20px;
  margin: 20px 0 28px; transition: border-color 0.2s, box-shadow 0.2s;
}
.news-search-bar:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(106,24,100,0.08);
}
.news-search-bar input {
  flex: 1; border: none; outline: none; font-size: 14px;
  font-family: 'Open Sans', sans-serif; color: var(--text);
  background: transparent;
}
.news-search-bar input::placeholder { color: var(--text3); }
.news-search-bar button {
  background: linear-gradient(135deg, #6A1864, #120449);
  color: white; border: none; border-radius: 20px;
  padding: 8px 20px; font-size: 13px; font-weight: 700;
  font-family: 'Open Sans', sans-serif; cursor: pointer;
  white-space: nowrap; transition: transform 0.18s, box-shadow 0.18s;
}
.news-search-bar button:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(106,24,100,0.3);
}
.sidebar-instagram-widget .sb-instagram-wrapper {
  margin-top: 4px;
  border-radius: 10px;
  overflow: hidden;
}
/* Placeholder visivo (prima di installare Smash Balloon) */
.ig-placeholder {
  display: block; text-decoration: none;
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: border-color 0.2s;
}
.ig-placeholder:hover { border-color: rgba(106,24,100,0.4); }
.ig-placeholder-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.ig-placeholder-cell {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, rgba(106,24,100,0.06), rgba(18,4,73,0.06));
  display: flex; align-items: center; justify-content: center;
}
.ig-placeholder-cell svg { width: 28px; height: 28px; }
.ig-placeholder-label {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  font-size: 12px; font-weight: 700; color: var(--text2);
}
.ig-placeholder-sub {
  font-size: 10px; font-weight: 400; color: var(--text3);
}

/* === SPOTIFY SIDEBAR WIDGET === */
.sidebar-spotify-widget { margin-top: 4px; }
.spotify-embed-wrap {
  border-radius: 10px; overflow: hidden;
  margin: 6px 0 10px;
}
.spotify-follow-btn {
  display: block; text-align: center;
  font-size: 12px; font-weight: 700;
  color: #1DB954;
  border: 1px solid rgba(29,185,84,0.35);
  border-radius: 20px; padding: 8px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.spotify-follow-btn:hover {
  background: rgba(29,185,84,0.08);
}

/* === NEWSLETTER COMPLETAMENTE RIMOSSA === */
.pre-footer-nl, .newsletter-section, .nl-inner,
.nl-text, .nl-form, .nl-input, .nl-submit, .nl-success,
.newsletter-widget, .nl-sidebar-title, .nl-sidebar-sub,
.nl-sidebar-input, .nl-sidebar-btn { display: none !important; }
/* === FOOTER === */
.site-footer { background: var(--grad); padding: 28px 0; margin-top: 48px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo-name { font-size: 13px; font-weight: 700; color: white; }
.footer-nav { display: flex; align-items: center; gap: 20px; }
.footer-nav a { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; transition: color 0.2s; }
.footer-nav a:hover { color: white; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }

/* === ACCORDION (pagina Policy) === */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg2);
}
.accordion-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 18px 20px; background: none; border: none; text-align: left;
  font-family: 'Open Sans', sans-serif; font-size: 17px; font-weight: 800; color: var(--text1);
}
.accordion-head .accordion-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-subtle); color: var(--purple); transition: transform 0.2s;
}
.accordion-item.is-open .accordion-head .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
}
.accordion-item.is-open .accordion-body { max-height: 6000px; }
.accordion-body-inner { padding: 0 20px 22px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .header-inner { padding: 0 24px; }
  .hero-wrap { margin: 0 24px; }
  .container { padding: 0 24px; }
}

@media (max-width: 900px) {
  .main-nav { display: none !important; }
  .hamburger { display: flex !important; }
  .hero-wrap { margin: 0 16px; grid-template-columns: 1fr; }
  .hero-image { min-height: 220px; }
  .hero-image img { position: relative; height: 220px; }
  .hero-content { padding: 28px 24px; }
  .hero-title { font-size: 22px; }
  .container { padding: 0 16px; }
  .grid-main { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2-3 { grid-template-columns: 1fr; }
  .best-release { grid-template-columns: 1fr; }
  .int-featured { grid-template-columns: 1fr; }
  .live-featured { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; padding: 0 16px 32px; }
  .archive-wrap { grid-template-columns: 1fr; padding: 0 16px 32px; }
  .article-title { font-size: 26px; }
  .article-header { padding: 24px 0 28px; }
  .article-featured-image { height: 260px; }
  .nl-inner { flex-direction: column; padding: 24px; text-align: center; }
  .nl-form { flex-direction: column; width: 100%; }
  .nl-input { width: 100%; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; padding: 24px 16px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .footer-socials { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .continue-reading { padding: 0 16px 32px; }
  .search-overlay { padding: 16px 16px 20px; }
  .article-layout .article-body { padding-top: 20px; }
  .archive-main { padding-top: 20px; }
  .page-header { padding: 24px 0; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .grid-main { grid-template-columns: 1fr; gap: 20px; }
  .hero-title { font-size: 20px; }
  .article-title { font-size: 22px; }
  .header-inner { padding: 0 16px; }
  .logo-text { font-size: 13px; }
  /* Team in evidenza (Damiano/Stefano, Miriam/Victoria): su schermi piccoli
     torna a 1 per riga per non stringere troppo la card */
  .team-grid-featured { grid-template-columns: 1fr; }
}

/* === SIDEBAR SU MOBILE ===
   Su mobile la sidebar mostra SOLO il blocco "Articoli correlati / dell'artista".
   "Seguici" e "Ultimi articoli" vengono nascosti; il widget Instagram e la
   scheda artista vengono affiancati e rimpiccioliti (l'embed live di
   Instagram lascia il posto a una card compatta, perché l'iframe ufficiale
   ha una larghezza minima fissa che non si può comprimere in riga). */
@media (max-width: 900px) {
  .sidebar-widget-seguici,
  .sidebar-widget-ultimi { display: none; }

  .sidebar-ig-artist-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }
  .sidebar-ig-artist-row .sidebar-widget {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
    border-radius: 16px;
  }
  /* se in riga c'è una sola card (niente scheda artista), non farla
     diventare enorme: la teniamo alla dimensione di una tile */
  .sidebar-ig-artist-row .sidebar-widget:only-child {
    flex: 0 1 42%;
  }

  /* embed Instagram completo: solo desktop/tablet, nascosto qui */
  .ig-full-embed { display: none; }

  /* card Instagram compatta: visibile solo su mobile */
  .ig-compact-card { display: block; }

  /* Instagram e scheda artista rimpicciolite allo stesso modo, per stare
     in riga in coppia (stessa "forma": icona/foto tonda + testo) */
  .sidebar-ig-artist-row .artist-cta-link { padding: 16px 10px; gap: 4px; }
  .sidebar-ig-artist-row .artist-cta-photo { width: 48px; height: 48px; }
  .sidebar-ig-artist-row .artist-cta-photo-placeholder { font-size: 16px; }
  .sidebar-ig-artist-row .artist-cta-label { font-size: 9px; }
  .sidebar-ig-artist-row .artist-cta-name { font-size: 12px; }
  .sidebar-ig-artist-row .artist-cta-btn { font-size: 10px; padding: 5px 10px; margin-top: 4px; }
}

/* === ELEMENTOR COMPATIBILITY === */
.elementor-page-content { width: 100%; }
.elementor-page-content .elementor-section { width: 100%; }
/* Remove body padding that might interfere with Elementor full-width sections */
body.elementor-page .site-footer { margin-top: 0; }

/* Elementor full-width canvas (no header/footer) */
body.elementor-editor-active .site-header,
body.elementor-editor-active .site-footer { display: none; }

/* === SUPPORTO ELEMENTOR === */

/* Pagina standard modificabile con Elementor */
.page-content-wrap { width: 100%; }

/* Layout Larghezza Intera: il contenuto Elementor occupa tutta la larghezza */
body.page-template-templates-elementor-full-width .elementor-section-stretched {
    left: 0 !important;
    width: 100% !important;
}

/* Canvas: nessun margine, nessun padding */
body.elementor-canvas { margin: 0; padding: 0; }
body.elementor-canvas .page-content-wrap { margin: 0; padding: 0; }

/* Fix per sezioni full-width Elementor */
.elementor-section.elementor-section-stretched {
    left: 0 !important;
    width: 100vw !important;
}

/* Assicura che i widget Elementor usino Open Sans come font base */
.elementor-widget-container {
    font-family: 'Open Sans', sans-serif;
}

/* Titoli Elementor con Open Sans Bold */
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

/* Bottoni Elementor con colori brand */
.elementor-button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

/* Colori brand disponibili come CSS custom properties per Elementor */
:root {
    --e-global-color-primary:   #6A1864;
    --e-global-color-secondary: #120449;
    --e-global-color-accent:    #6A1864;
}

/* === FOOTER SOCIAL BUTTONS === */
.footer-inner {
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.footer-social-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}

/* Pulsante email — ovale con etichetta, più intuitivo del solo tondino icona */
.footer-email-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 16px 0 14px; border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.footer-email-btn svg { flex-shrink: 0; }
.footer-email-btn span {
  font-size: 12.5px; font-weight: 700; color: white;
  letter-spacing: .01em; white-space: nowrap;
}
.footer-email-btn:hover {
  background: rgba(255,255,255,0.26);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.04);
}

/* === MOBILE MENU SOCIAL === */
.mobile-socials a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  transition: background 0.2s;
}
.mobile-socials a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* === SIDEBAR SHARE SOCIAL LINKS === */
.share-social-link {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--text2);
  transition: all 0.2s; background: transparent;
  font-family: 'Open Sans', sans-serif;
  text-decoration: none; display: inline-block;
}
.share-social-link:hover { border-color: var(--purple); color: var(--purple); }


/* === COMING SOON — schermata sezione vuota FULL SCREEN === */
.pop-coming-soon {
  min-height: calc(100vh - 62px);
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #6A1864 0%, #120449 100%);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.pop-coming-soon::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,100,220,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(100,50,255,0.14) 0%, transparent 50%);
  pointer-events: none;
}
.pcs-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 640px;
}
.pcs-icon {
  font-size: 64px; margin-bottom: 32px;
  animation: pcs-float 3s ease-in-out infinite;
  display: block;
}
@keyframes pcs-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.pcs-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 30px; font-weight: 800; color: white;
  line-height: 1.3; letter-spacing: -0.01em; margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
/* La schermata "coming soon" è già a tutto schermo: il footer non deve
   avere lo spazio (48px) che usa normalmente dopo il contenuto, altrimenti
   si vede una striscia bianca (sfondo del body) tra i due blocchi. */
.pop-coming-soon + .site-footer {
  margin-top: 0;
}
@media (max-width: 600px) {
  .pop-coming-soon { padding: 60px 24px; min-height: calc(100vh - 62px); }
  .pcs-text { font-size: 22px; }
  .pcs-icon { font-size: 48px; }
}

/* ================================================================
   SCHEDA ARTISTA — hero, stats FIMI, record, discografia, eventi
   ================================================================ */

/* Griglia artisti (homepage "in evidenza" + pagina "Tutti gli artisti") */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 20px 12px;
}
.artist-grid-item { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; gap: 8px; }
.artist-grid-photo {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--purple);
  box-shadow: 0 4px 14px rgba(106,24,100,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.artist-grid-item:hover .artist-grid-photo { transform: scale(1.06); box-shadow: 0 6px 18px rgba(106,24,100,0.4); }
.artist-grid-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.artist-grid-photo-placeholder {
  width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: white; font-family: 'Open Sans', sans-serif; font-size: 30px; font-weight: 700;
}
.artist-grid-name { font-size: 12.5px; font-weight: 700; color: var(--text); line-height: 1.3; max-width: 100px; }

/* === SEGNALA ARTISTA (fine pagina "Tutti gli artisti") === */
.suggest-artist-box {
  margin-top: 56px;
  padding: 40px 32px;
  border-radius: 20px;
  background: var(--grad-subtle);
  border: 1px solid var(--border);
  text-align: center;
}
.suggest-artist-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 6px 18px rgba(106,24,100,0.28);
}
.suggest-artist-title { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.suggest-artist-text { font-size: 14px; color: var(--text2); max-width: 480px; margin: 0 auto 24px; line-height: 1.6; }
.suggest-artist-form {
  display: flex; gap: 10px; max-width: 480px; margin: 0 auto;
  border: 2px solid var(--purple); border-radius: 30px; padding: 6px 6px 6px 20px; background: #fff;
}
.suggest-artist-form input[type="text"] {
  flex: 1; min-width: 0; border: none; outline: none; font-size: 14px;
  font-family: 'Open Sans', sans-serif; color: var(--text); background: transparent;
}
.suggest-artist-form input[type="text"]::placeholder { color: var(--text3); }
.suggest-artist-btn {
  background: var(--grad); color: #fff; font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.03em; border: none; border-radius: 30px; padding: 12px 22px;
  white-space: nowrap; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s; flex-shrink: 0;
}
.suggest-artist-btn:hover { transform: scale(1.03); box-shadow: 0 4px 14px rgba(106,24,100,0.3); }
.suggest-artist-btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.suggest-artist-feedback { margin-top: 14px; font-size: 13px; font-weight: 600; min-height: 18px; }
.suggest-artist-feedback.is-success { color: #1c8a4b; }
.suggest-artist-feedback.is-error { color: #c0392b; }
/* honeypot: invisibile e non raggiungibile da tastiera, per non compilarlo mai per errore */
.pop-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@media (max-width: 600px) {
  .suggest-artist-box { padding: 32px 20px; margin-top: 40px; }
  .suggest-artist-form { flex-direction: column; border-radius: 20px; padding: 14px; gap: 10px; }
  .suggest-artist-form input[type="text"] { text-align: center; padding: 6px 0; }
  .suggest-artist-btn { width: 100%; padding: 13px; }
}

.featured-artists-section { padding: 8px 0 48px; }
.explore-artists-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: white; font-weight: 700; font-size: 13px;
  padding: 12px 26px; border-radius: 30px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(106,24,100,0.28); transition: transform 0.2s, box-shadow 0.2s;
}
.explore-artists-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(106,24,100,0.34); }

/* Hero scheda artista */
.artist-hero { position: relative; background: var(--grad); padding: 30px 0 40px; overflow: hidden; }
.artist-hero-bg {
  position: absolute; inset: -14px; background-size: cover; background-repeat: no-repeat;
  filter: blur(9px) saturate(1.1); transform: scale(1.08); z-index: 0;
}
.artist-hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(106,24,100,0.82) 0%, rgba(18,4,73,0.86) 100%);
}
.artist-hero > .container { position: relative; z-index: 2; }
.artist-hero-inner { display: flex; align-items: flex-start; gap: 26px; flex-wrap: wrap; }
.artist-photo { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid rgba(255,255,255,0.35); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); color: white; font-family: 'Open Sans', sans-serif; font-size: 42px; font-weight: 700; }
.artist-hero-info { flex: 1; min-width: 240px; }
.artist-name { font-family: 'Open Sans', sans-serif; font-size: 34px; font-weight: 800; color: white; margin-bottom: 10px; line-height: 1.15; }
.artist-bio { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.7; max-width: 640px; margin-bottom: 16px; }
.artist-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.artist-social-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: white; font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 20px;
  text-decoration: none; transition: background 0.2s;
}
.artist-social-link:hover { background: rgba(255,255,255,0.24); }

/* Statistiche artista (manuali, a pillola) */
.artist-badges-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 20px; }
.artist-badge {
  display: flex; align-items: center; gap: 12px;
  background: rgba(106,24,100,0.10);
  border-radius: 999px;
  padding: 13px 24px;
}
.artist-badge-icon { flex-shrink: 0; width: 30px; height: 30px; line-height: 0; }
.artist-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.artist-badge-value { font-family: 'Open Sans', sans-serif; font-weight: 800; font-size: 17px; color: var(--purple); }
.artist-badge-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--purple); opacity: .8; }

/* Record — stessa pillola delle statistiche, leggermente più piccola */
.artist-records { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 34px; }
.record-badge {
  display: flex; align-items: center; gap: 7px;
  background: rgba(106,24,100,0.10);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Open Sans', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--purple);
}
.record-badge svg { flex-shrink: 0; }
.cert-badge-emoji { font-size: 16px; line-height: 1; }

/* Biografia lunga */
.artist-bio-full-wrap { margin-bottom: 34px; }
.artist-bio-full { font-size: 15px; color: var(--text2); line-height: 1.8; max-width: 760px; margin-bottom: 0; }
.artist-bio-full p { margin-bottom: 14px; }
.artist-bio-full p:last-child { margin-bottom: 0; }
/* Chiusa a 5 righe finché non si preme "Leggi altro" */
.artist-bio-full.is-clamped {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5;
  line-clamp: 5; overflow: hidden;
}
.bio-readmore-btn {
  margin-top: 10px; background: none; border: none; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 800; color: var(--purple);
}
.bio-readmore-btn:hover { text-decoration: underline; }

/* Discografia — nessun box/card, solo copertina e testo, stile fresco */
.discography-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 20px; margin-bottom: 34px; }
.disc-card { background: transparent; }
.discography-scroll.cr-carousel { margin-bottom: 34px; }
.discography-scroll .disc-card { flex: 0 0 180px; scroll-snap-align: start; }
.disc-cover {
  position: relative; width: 100%; aspect-ratio: 1/1; background: var(--grad-subtle); overflow: hidden;
  border-radius: 20px; box-shadow: 0 6px 18px rgba(20,10,45,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.disc-card:hover .disc-cover { transform: translateY(-5px) scale(1.02); box-shadow: 0 16px 30px rgba(106,24,100,0.28); }
.disc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.disc-card:hover .disc-cover img { transform: scale(1.1); }
.disc-cover-link { position: absolute; inset: 0; display: block; cursor: pointer; z-index: 1; }
.disc-cover-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#2d0a2a,#120449); }
.disc-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(0deg, rgba(18,4,73,0.65) 0%, rgba(18,4,73,0.1) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.25s ease;
}
.disc-card:hover .disc-play-btn { opacity: 1; }
.disc-play-btn-circle {
  width: 42px; height: 42px; border-radius: 50%; background: #1ED760;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4); transform: scale(0.85);
  transition: transform 0.25s ease;
}
.disc-card:hover .disc-play-btn-circle { transform: scale(1); }
.disc-info { padding: 11px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.disc-title {
  font-size: 13.5px; font-weight: 800; color: var(--text); line-height: 1.3;
  /* riserva sempre lo spazio di 2 righe: titoli corti e lunghi restano allineati,
     così data e certificazione partono tutte alla stessa altezza */
  min-height: calc(1.3em * 2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.disc-date { font-size: 11px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.disc-cert-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; margin-top: 3px;
  width: fit-content; padding: 4px 10px 4px 5px; border-radius: 20px;
  background: rgba(106,24,100,0.10); color: var(--purple);
}
.disc-cert-badge svg { flex-shrink: 0; }
.disc-article-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
  color: white; background: var(--grad); padding: 6px 11px; border-radius: 20px;
  box-shadow: 0 3px 10px rgba(106,24,100,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.disc-article-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(106,24,100,0.45); }

/* Prossimi concerti */
.events-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }
.event-item { display: flex; align-items: center; gap: 16px; background: white; border: 0.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.event-date-box { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; flex-shrink: 0; background: var(--grad); border-radius: 10px; color: white; }
.event-day { font-size: 18px; font-weight: 800; line-height: 1.1; }
.event-month { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.event-info { flex: 1; min-width: 0; }
.event-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.event-venue { font-size: 12px; color: var(--text2); }
.event-cta { flex-shrink: 0; background: var(--grad-subtle); color: var(--purple); font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 20px; text-decoration: none; white-space: nowrap; }
.event-cta:hover { opacity: 0.8; }

/* Box "Scheda artista" in sidebar articolo (sostituisce il feed Instagram) */
.artist-cta-widget { padding: 0; overflow: hidden; }
.artist-cta-link { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; background: var(--grad); border-radius: var(--radius); padding: 26px 18px; gap: 6px; }
.artist-cta-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.4); margin-bottom: 6px; }
.artist-cta-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-cta-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); color: white; font-family: 'Open Sans', sans-serif; font-size: 24px; font-weight: 700; }
.artist-cta-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: rgba(255,255,255,0.65); }
.artist-cta-name { font-size: 16px; font-weight: 800; color: white; font-family: 'Open Sans', sans-serif; }
.artist-cta-btn { margin-top: 6px; font-size: 12px; font-weight: 700; color: white; background: rgba(255,255,255,0.18); padding: 7px 16px; border-radius: 20px; }

@media (max-width: 768px) {
  .artist-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .artist-socials { justify-content: center; }
  .artist-badges-row { gap: 10px; }
  .stat-item { flex: 1 1 33%; border-bottom: 0.5px solid var(--border); }
  .artists-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .artists-grid .artist-grid-photo { width: 68px; height: 68px; }
  /* Artisti in evidenza in homepage: foto leggermente più grandi che in "Tutti gli artisti" */
  .featured-artists-scroll .artist-grid-item { flex: 0 0 84px; }
  .featured-artists-scroll .artist-grid-photo { width: 84px; height: 84px; }
  /* Discografia: card leggermente più piccole su mobile */
  .discography-scroll .disc-card { flex: 0 0 128px; }
  .disc-title { font-size: 12.5px; }
  .disc-date { font-size: 10.5px; }
}

/* ================================================================
   POP FUTURE — sezione "i numeri del mese" (homepage + archivio)
   ================================================================ */
.popfuture-section { padding: 8px 0 48px; }

.section-link.popfuture-more {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; transition: gap 0.2s, opacity 0.2s;
}
.section-link.popfuture-more:hover { gap: 9px; opacity: 0.8; }
.section-link.popfuture-more svg { flex-shrink: 0; }

.popfuture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px;
}

.popfuture-card {
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
}

.popfuture-cover {
  position: relative;
  aspect-ratio: 10 / 14;
  border-radius: 10px;
  overflow: hidden;
  background: var(--grad);
  box-shadow:
    0 22px 40px -12px rgba(18,4,73,0.30),
    0 4px 10px rgba(18,4,73,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: perspective(900px) rotateY(0deg) translateY(0);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.popfuture-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.popfuture-cover-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad);
}
.popfuture-cover-placeholder span {
  font-family: 'Open Sans', sans-serif; font-weight: 800; font-size: 20px;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.85); text-align: center; line-height: 1.3;
}
/* Costa/dorso della rivista, per un tocco fisico "stampato" */
.popfuture-cover::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.32), rgba(0,0,0,0.08) 60%, transparent);
  z-index: 2; pointer-events: none;
}
.popfuture-cover-shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.16) 0%, transparent 28%, transparent 72%, rgba(255,255,255,0.08) 100%);
}
.popfuture-badge {
  position: absolute; top: 12px; left: 16px; z-index: 3;
  background: rgba(255,255,255,0.94); color: var(--purple);
  font-size: 11px; font-weight: 800; letter-spacing: 0.03em;
  padding: 5px 11px; border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.popfuture-card:hover .popfuture-cover,
.popfuture-card:focus-visible .popfuture-cover {
  transform: perspective(900px) rotateY(-6deg) translateY(-8px);
  box-shadow:
    0 32px 54px -14px rgba(18,4,73,0.38),
    0 10px 18px rgba(18,4,73,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.popfuture-info { padding: 0 2px; }
.popfuture-periodo {
  display: block; font-size: 11px; font-weight: 700; color: var(--purple);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px;
}
.popfuture-title {
  font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 800;
  color: var(--text); line-height: 1.35;
}

/* Archivio "Tutti i numeri" — griglia più fitta */
.popfuture-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 32px 28px;
}
.popfuture-empty { color: var(--text2); padding: 40px 0; text-align: center; }

@media (max-width: 900px) {
  .popfuture-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
  .popfuture-archive-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 20px; }
}
@media (max-width: 600px) {
  .popfuture-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .popfuture-archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 16px; }
  .popfuture-badge { font-size: 10px; padding: 4px 9px; top: 9px; left: 10px; }
  .popfuture-title { font-size: 13.5px; }
  .popfuture-periodo { font-size: 10px; }
}
