/* MUSIC USAGE (raimu.ch/music-usage) - caricato dopo site.css */

/* --- titolo con l'immagine --- */
.music-usage { font-family: Roboto, sans-serif; }
.usage-intro { padding: 10px; text-align: center; }
.usage-banner { display: block; width: 100%; margin-bottom: 20px; }
.music-usage h1 { margin: 0; font-size: var(--h2); font-weight: 600; line-height: 1; color: var(--green); }

/* --- gruppi di domande: colonna con titolo e icona + colonna con le domande --- */
.faq-section { padding: 10px 10px 0; }
.faq-section:last-child { padding-bottom: 10px; }
.faq-group { display: flex; }
.faq-side { width: 27.727%; padding: 10px; text-align: center; }
.faq-list { width: 72.273%; padding: 10px; }
.faq-line { margin: 2px 0 22px; border: 0; border-top: 6px solid var(--green); }
.faq-side h2 { margin: 0 0 20px; font-family: var(--hand); font-size: var(--h2); font-weight: 400; line-height: 1; }
.faq-side img { display: block; margin: 0 auto; }
.faq-separator { margin: 15px 0 25px; border: 0; border-top: 1px solid #000; }

/* --- domanda (cliccabile): testo a sinistra, "+" a destra che ruota in "×" quando è aperta --- */
.faq-item h3 { margin: 0; }
.faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 0; padding: 16px 0;
    text-align: left; cursor: pointer; font: 500 17px/1.35 Roboto, sans-serif; color: #fff; background: none;
    border: 0; border-bottom: 1px solid var(--line); transition: color .2s;
}
.faq-question:hover { color: var(--green); }
.faq-text { order: 1; }
.faq-icon { order: 2; position: relative; flex: none; width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.faq-icon svg { display: none; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] { color: var(--green); border-bottom: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

/* --- risposta --- */
.faq-answer { padding: 0; border-bottom: 1px solid var(--line); color: #e3e8e5; }
.faq-answer p { max-width: 68ch; margin-bottom: 1em; }
.faq-answer p:last-child { margin-bottom: 16px; }
.faq-answer h4 { font-size: var(--h2); }
.mark.yes { color: green; }
.mark.no { color: red; }

@media (max-width: 767px) {
    .faq-group { flex-direction: column; }
    .faq-side, .faq-list { width: 100%; }
}
