
  #amf-bass-page .amf-image-card img,
  #amf-bass-page .amf-trial-photo img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  #amf-bass-page .amf-image-card.amf-image-contain img {
    padding: 10px;
  }

  #amf-bass-page .amf-level-top {
    padding: 24px 22px 20px;
  }

  #amf-bass-page .amf-level-body {
    padding: 22px;
  }

  #amf-bass-page .amf-teacher-card {
    padding: 20px;
  }

  #amf-bass-page .amf-faq-item summary {
    padding: 18px;
  }

  #amf-bass-page .amf-faq-answer {
    padding: 0 18px 20px;
  }

  #amf-bass-page .amf-footer-links {
    flex-direction: column;
  }

  #amf-bass-page .amf-footer-links a {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #amf-bass-page *,
  #amf-bass-page *::before,
  #amf-bass-page *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* 15. ENHANCEMENTS - scoped to this page */
#amf-bass-page {scroll-behavior:smooth;}
#amf-bass-page .amf-hero::after {content:"";position:absolute;inset:auto 0 0;height:5px;background:linear-gradient(90deg,transparent,var(--amf-gold),transparent);pointer-events:none;}
#amf-bass-page .amf-hero-photo-frame {transition:transform .35s ease,box-shadow .35s ease;}
#amf-bass-page .amf-hero-photo-frame:hover {transform:translateY(-5px);box-shadow:0 30px 75px rgba(0,0,0,.27);}
#amf-bass-page .amf-detail,#amf-bass-page .amf-level,#amf-bass-page .amf-faq-item {transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
#amf-bass-page .amf-detail:hover,#amf-bass-page .amf-level:hover {transform:translateY(-4px);box-shadow:0 16px 32px rgba(23,32,29,.1);border-color:#d4b781;}
#amf-bass-page .amf-faq-item[open] {border-color:#d6a65c;box-shadow:0 8px 24px rgba(23,32,29,.06);}
#amf-bass-page .amf-faq-item summary:hover {color:#8b622b;}
#amf-bass-page .amf-button:active {transform:translateY(0);}
#amf-bass-page .amf-button:focus-visible,#amf-bass-page .amf-top-button:focus-visible {outline:3px solid #d6a65c;outline-offset:4px;}
#amf-bass-page .amf-progress {position:fixed;top:0;left:0;height:4px;width:0;background:#d6a65c;z-index:99999;pointer-events:none;}
#amf-bass-page .amf-top-button {position:fixed;right:22px;bottom:22px;z-index:9998;width:48px;height:48px;border:1px solid #d6a65c;border-radius:50%;background:#19241f;color:white;font-size:24px;cursor:pointer;box-shadow:0 9px 24px rgba(0,0,0,.22);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .25s,visibility .25s;}
#amf-bass-page .amf-top-button.is-visible {opacity:1;visibility:visible;transform:translateY(0);}
#amf-bass-page .amf-top-button:hover {background:#34483a;}
#amf-bass-page [data-amf-reveal] {opacity:1;transform:none;}
#amf-bass-page.amf-js-ready [data-amf-reveal] {opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease;}
#amf-bass-page.amf-js-ready [data-amf-reveal].is-visible {opacity:1;transform:none;}
#amf-bass-page #amf-programma,#amf-bass-page #amf-prova,#amf-bass-page #amf-contatti {scroll-margin-top:85px;}
@media(max-width:650px) {#amf-bass-page .amf-top-button {right:14px;bottom:14px;width:43px;height:43px;}#amf-bass-page .amf-detail:hover,#amf-bass-page .amf-level:hover {transform:none;}}
@media(prefers-reduced-motion:reduce) {#amf-bass-page {scroll-behavior:auto;}#amf-bass-page.amf-js-ready [data-amf-reveal] {opacity:1;transform:none;transition:none;}#amf-bass-page .amf-hero-photo-frame,#amf-bass-page .amf-detail,#amf-bass-page .amf-level {transition:none;}}


/* Logo ART & MUSIC FACTORY affiancato al testo */
#amf-bass-page .amf-hero-intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 145px;
  gap: 22px;
  align-items: center;
  margin-top: 19px;
}
#amf-bass-page .amf-hero-intro-row .amf-hero-description {
  margin-top: 0;
  min-width: 0;
}
#amf-bass-page .amf-hero-logo {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
#amf-bass-page .amf-hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
@media (max-width: 1100px) {
  #amf-bass-page .amf-hero-intro-row {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  #amf-bass-page .amf-hero-intro-row {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
    align-items: center;
  }
  #amf-bass-page .amf-hero-logo { padding: 6px; border-radius: 10px; }
  #amf-bass-page .amf-hero-intro-row .amf-hero-description {font-size: 14px;line-height:1.65;}
}



/* STUDIO'S - PRENOTAZIONE SALE PROVA */

#sp-booking{
  --navy:#07385d;
  --blue:#0b5488;
  --line:#b8d5ed;
  font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;
  color:#102c50;
  max-width:900px;
  margin:20px auto;
}

#sp-booking *{
  box-sizing:border-box;
}

#sp-booking .hero{
  background:linear-gradient(120deg,#0d517d,#052c4c);
  color:white;
  padding:22px;
  border-radius:10px 10px 0 0;
}

#sp-booking .hero h2{
  color:white;
  margin:0 0 6px;
  font-size:clamp(21px,3vw,28px);
}

#sp-booking .hero p{
  margin:0;
  color:white;
}

#sp-booking .panel{
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 10px 10px;
  background:#fff;
  padding:22px;
}

#sp-booking .grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 15px;
}

#sp-booking .grid>div{
  min-width:0;
}

#sp-booking label{
  display:block;
  font-weight:650;
  margin:0 0 5px;
}

#sp-booking input:not([type=checkbox]),
#sp-booking select,
#sp-booking textarea{
  width:100%;
  min-width:0;
  padding:10px;
  border:1px solid #abc5df;
  border-radius:6px;
  background:white;
  color:#16375b;
  font:inherit;
}

#sp-booking .full{
  grid-column:1/-1;
}

#sp-booking .notice{
  background:#edf6ff;
  border-left:4px solid var(--blue);
  padding:12px;
  border-radius:5px;
  margin-bottom:16px;
}

#sp-booking .heading{
  font-weight:750;
  font-size:17px;
  color:var(--navy);
  border-bottom:1px solid var(--line);
  padding-bottom:7px;
  margin:20px 0 12px;
}

#sp-booking .checks .wpcf7-form-control{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 12px;
}

#sp-booking .checks .wpcf7-list-item{
  margin:0;
}

#sp-booking .checks .wpcf7-list-item label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:500;
  margin:0;
  cursor:pointer;
}

#sp-booking .checks input[type=checkbox]{
  width:17px;
  height:17px;
  min-width:17px;
  margin:0;
  accent-color:#0b5488;
}

#sp-booking .drummer{
  background:#fff5e8;
  border:1px solid #e9b66e;
  padding:12px;
  border-radius:7px;
  margin:16px 0;
  color:#59380b;
}

#sp-booking textarea{
  min-height:90px;
  resize:vertical;
}

#sp-booking input[name="sp-end"]{
  background:#edf6ff;
  font-weight:700;
  color:#07385d;
}

#sp-booking .submit{
  display:block;
  width:100%;
  background:#119b35;
  color:white;
  border:0;
  border-radius:7px;
  padding:14px;
  font-weight:750;
  font-size:17px;
  cursor:pointer;
}

#sp-booking .submit:hover{
  background:#087b27;
}

#sp-booking .hint{
  font-size:12px;
  color:#526a81;
  margin:14px 0;
}

#sp-booking .status{
  margin:10px 0;
  font-weight:650;
  color:#07385d;
}

#sp-booking .wpcf7-response-output{
  padding:12px;
  border-radius:6px;
  font-weight:600;
}

@media(max-width:600px){
  #sp-booking .grid{
    grid-template-columns:1fr;
  }

  #sp-booking .panel{
    padding:15px;
  }

  #sp-booking .checks .wpcf7-form-control{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  #sp-booking .checks .wpcf7-list-item label{
    font-size:12px;
    align-items:flex-start;
    overflow-wrap:anywhere;
  }
}


/* ============================================
   INIZIO NUOVA SEZIONE
   ANTEPRIMA DINAMICA DELLE SALE PROVA
   ============================================ */


/* VISIBILITA' DEL RIQUADRO */

#sp-booking #sp-room-preview[hidden]{
  display:none !important;
}

#sp-booking #sp-room-preview:not([hidden]){
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}


/* CONTENITORE PRINCIPALE ANTEPRIMA */

#sp-booking #sp-room-preview{
  width:100%;
  min-width:0;
  margin:5px 0 15px;
  background:#f4f8fc;
  border:1px solid #b8d5ed;
  border-radius:10px;
  overflow:hidden;
  font-family:inherit;
}


/* DISPOSIZIONE FOTO E DESCRIZIONE */

#sp-booking #sp-room-preview .sp-preview-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  align-items:stretch;
  min-height:240px;
}


/* CONTENITORE FOTOGRAFIA */

#sp-booking #sp-room-preview .sp-preview-photo{
  position:relative;
  min-width:0;
  min-height:240px;
  overflow:hidden;
  background:#e8eff5;
}


/* FOTOGRAFIA DELLA SALA */

#sp-booking #sp-preview-image{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:100% !important;
  max-width:100%;
  height:100% !important;
  position:absolute;
  inset:0;
  object-fit:cover;
  object-position:center;
  margin:0 !important;
  padding:0 !important;
  border:0;
  border-radius:0;
  transition:transform .35s ease;
}


/* LEGGERO EFFETTO ZOOM FOTOGRAFIA */

#sp-booking #sp-room-preview .sp-preview-photo:hover img{
  transform:scale(1.035);
}


/* CONTENITORE INFORMAZIONI */

#sp-booking #sp-room-preview .sp-preview-info{
  padding:22px;
  min-width:0;
}


/* PICCOLA INTESTAZIONE */

#sp-booking #sp-room-preview .sp-preview-caption{
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  color:#647d92;
  margin:0 0 5px;
}


/* NOME DELLA SALA */

#sp-booking #sp-preview-title{
  color:#07385d;
  font-size:24px;
  font-weight:750;
  line-height:1.3;
  margin:0 0 14px;
}


/* RIQUADRI SUPERFICIE E CAPIENZA */

#sp-booking #sp-room-preview .sp-preview-specs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:15px;
}

#sp-booking #sp-room-preview .sp-preview-spec{
  min-width:0;
  background:#ffffff;
  border:1px solid #ccdfed;
  border-radius:7px;
  padding:10px;
  text-align:center;
}

#sp-booking #sp-room-preview .sp-preview-spec span{
  display:block;
  font-size:11px;
  color:#526a81;
  margin-bottom:4px;
}

#sp-booking #sp-room-preview .sp-preview-spec strong{
  display:block;
  font-size:17px;
  font-weight:700;
  line-height:1.4;
  color:#07385d;
  overflow-wrap:anywhere;
}


/* DESCRIZIONE DELLA SALA */

#sp-booking #sp-preview-description{
  color:#435d73;
  font-size:14px;
  line-height:1.65;
  margin:0 0 15px;
}


/* LINK ALLA PAGINA DELLA SALA */

#sp-booking #sp-preview-link{
  display:inline-block;
  background:#0b5488;
  color:#ffffff !important;
  padding:10px 15px;
  border-radius:6px;
  font-size:13px;
  font-weight:650;
  line-height:1.5;
  text-decoration:none !important;
  transition:background .2s ease;
}

#sp-booking #sp-preview-link:hover{
  background:#07385d;
  color:#ffffff !important;
}


/* ============================================
   ANTEPRIMA RESPONSIVE - SMARTPHONE E TABLET
   ============================================ */

@media(max-width:650px){

  #sp-booking #sp-room-preview .sp-preview-layout{
    grid-template-columns:1fr;
  }

  #sp-booking #sp-room-preview .sp-preview-photo{
    min-height:0;
    aspect-ratio:16/9;
  }

  #sp-booking #sp-preview-image{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
  }

  #sp-booking #sp-room-preview .sp-preview-info{
    padding:16px;
  }

  #sp-booking #sp-preview-title{
    font-size:21px;
  }

  #sp-booking #sp-room-preview .sp-preview-spec{
    padding:8px;
  }

  #sp-booking #sp-room-preview .sp-preview-spec strong{
    font-size:15px;
  }

  #sp-booking #sp-preview-description{
    font-size:13px;
  }

  #sp-booking #sp-preview-link{
    display:block;
    width:100%;
    text-align:center;
  }

}


/* ACCESSIBILITA' - RIDUZIONE ANIMAZIONI */

@media(prefers-reduced-motion:reduce){

  #sp-booking #sp-preview-image,
  #sp-booking #sp-preview-link{
    transition:none;
  }

  #sp-booking #sp-room-preview .sp-preview-photo:hover img{
    transform:none;
  }

}


/* ============================================
   FINE NUOVA SEZIONE ANTEPRIMA SALE PROVA
   ============================================ */
