/* ══════════════════════════════════════════════════════════════
   STILI PAGINE GENERICHE — MiniBlock Mag
   Dark theme coerente col plugin Vehicle Annunci
══════════════════════════════════════════════════════════════ */

.mmag-wrap {
    min-height: calc(100vh - 60px);
    background: #0f0f0f;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: #f0f0f0;
}

.mmag-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

/* ── Archivio / Blog header ── */
.mmag-arch-header { margin-bottom: 40px; }
.mmag-arch-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 10px;
}
.mmag-arch-title em { color: #e8ff47; font-style: italic; }
.mmag-arch-desc { color: rgba(255,255,255,.5); font-size: 15px; line-height: 1.6; margin: 0; }
.mmag-arch-count { font-size: 12px; color: rgba(255,255,255,.35); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

/* ── Griglia post ── */
.mmag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.mmag-card {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mmag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.5);
    border-color: rgba(255,255,255,.15);
}

.mmag-card-thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #242424;
}
.mmag-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.mmag-card:hover .mmag-card-thumb img { transform: scale(1.04); }

.mmag-card-body { padding: 18px 20px 20px; }

.mmag-card-date {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.35);
    margin-bottom: 8px;
}

.mmag-card-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 10px;
}
.mmag-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color .15s;
}
.mmag-card-title a:hover { color: #e8ff47; }

.mmag-card-excerpt {
    font-size: 13.5px;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mmag-card-cta {
    font-size: 12.5px;
    font-weight: 700;
    color: #e8ff47;
    text-decoration: none;
}
.mmag-card-cta:hover { color: #fff; }

/* ── Paginazione ── */
.nav-links, .navigation {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.nav-links a, .nav-links span,
.page-numbers { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.nav-links a:hover, .page-numbers a:hover { background: rgba(255,255,255,.08); color: #fff; }
.page-numbers.current { background: #e8ff47; color: #111; border-color: #e8ff47; }

/* ── Singolo post/pagina ── */
.mmag-single { max-width: 780px; margin: 0 auto; }

.mmag-single-header { margin-bottom: 24px; }
.mmag-single-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.4);
    margin-bottom: 12px;
}
.mmag-cat {
    padding: 3px 10px;
    background: rgba(232,255,71,.1);
    color: #e8ff47;
    border-radius: 20px;
}

.mmag-single-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.mmag-single-thumb {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16/7;
    background: #1a1a1a;
}
.mmag-single-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Contenuto Gutenberg */
.mmag-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,.75);
}
.mmag-single-content h1,
.mmag-single-content h2,
.mmag-single-content h3,
.mmag-single-content h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    color: #fff;
    font-weight: 400;
    margin-top: 1.8em;
    margin-bottom: .6em;
}
.mmag-single-content p { margin-bottom: 1.1em; }
.mmag-single-content a { color: #e8ff47; text-underline-offset: 3px; }
.mmag-single-content a:hover { color: #fff; }
.mmag-single-content ul,
.mmag-single-content ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.mmag-single-content li { margin-bottom: .4em; }
.mmag-single-content blockquote {
    border-left: 3px solid #e8ff47;
    padding: 12px 20px;
    background: rgba(232,255,71,.05);
    border-radius: 0 10px 10px 0;
    margin: 28px 0;
    font-style: italic;
    color: rgba(255,255,255,.6);
}
.mmag-single-content pre,
.mmag-single-content code {
    background: #242424;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #e8ff47;
    font-size: 14px;
}
.mmag-single-content pre  { padding: 16px 20px; overflow-x: auto; }
.mmag-single-content code { padding: 2px 6px; }
.mmag-single-content img  { border-radius: 10px; max-width: 100%; }
.mmag-single-content figure { margin: 24px 0; }
.mmag-single-content figcaption {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin-top: 6px;
}
/* Blocchi Gutenberg embedded nel contenuto */
.mmag-single-content .wp-block-image img { border-radius: 10px; }
.mmag-single-content .wp-block-quote {
    border-left: 3px solid #e8ff47;
    padding-left: 20px;
    font-style: italic;
}
.mmag-single-content .wp-block-separator { border-color: rgba(255,255,255,.1); }
.mmag-single-content .wp-block-button__link {
    background: #e8ff47;
    color: #111;
    font-weight: 700;
    border-radius: 10px;
}

/* Navigazione post */
.mmag-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}
.mmag-post-nav a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    max-width: 48%;
    transition: color .15s;
}
.mmag-post-nav a:hover { color: #e8ff47; }
.mmag-post-nav-next { text-align: right; margin-left: auto; }

/* ── 404 ── */
.mmag-404 { text-align: center; padding: 80px 20px; }
.mmag-404-code {
    font-size: 120px;
    font-weight: 900;
    color: rgba(232,255,71,.12);
    line-height: 1;
    font-family: 'DM Serif Display', Georgia, serif;
}
.mmag-404-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    margin: 8px 0 12px;
}
.mmag-404-text { color: rgba(255,255,255,.45); font-size: 15px; margin-bottom: 28px; }

/* ── Pulsante ── */
.mmag-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #e8ff47;
    color: #111;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s;
}
.mmag-btn:hover { background: #d4ef30; }

/* ── Empty state ── */
.mmag-empty {
    color: rgba(255,255,255,.35);
    text-align: center;
    padding: 60px 20px;
    font-size: 15px;
}

/* ══════════════════════════════════════════════════════════════
   PAGINA CONTATTI (page-id-27307) + Contact Form 7 tema scuro
   (il CSS di default di CF7 non è caricato sul sito)
══════════════════════════════════════════════════════════════ */
body.page-id-27307 .mmag-single { max-width: 1040px; }

.mmag-single-content .mmag-lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.62);
    margin-bottom: 36px;
}

.mmag-single-content .mmag-contact {
    display: flex;
    gap: 34px;
    align-items: flex-start;
    margin: 0;
}
.mmag-single-content .mmag-contact > .wp-block-column { margin: 0; }
.mmag-single-content .mmag-contact h2 {
    margin-top: 0;
    margin-bottom: .4em;
    font-size: 24px;
}
.mmag-single-content .mmag-contact > .wp-block-column > p:first-of-type,
.mmag-single-content .mmag-contact > .wp-block-column > .wp-block-heading + p {
    font-size: 14.5px;
    color: rgba(255,255,255,.55);
}

.mmag-single-content .mmag-contact-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mmag-single-content .mmag-cbox {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 18px 20px;
}
.mmag-single-content .mmag-cbox h3 {
    margin: 0 0 6px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    color: #e8ff47;
}
.mmag-single-content .mmag-cbox p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.6);
}
.mmag-single-content .mmag-cbox a { color: #e8ff47; }
.mmag-single-content .mmag-cbox a:hover { color: #fff; }

/* ── Contact Form 7 ── */
.mmag-single-content .wpcf7 { margin: 0; }
.mmag-single-content .wpcf7-form p { margin: 0 0 18px; }
.mmag-single-content .wpcf7-form > p:last-of-type { margin-bottom: 0; }
.mmag-single-content .wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255,255,255,.82);
}
.mmag-single-content .wpcf7-form input[type=text],
.mmag-single-content .wpcf7-form input[type=email],
.mmag-single-content .wpcf7-form input[type=tel],
.mmag-single-content .wpcf7-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    background: #121212;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.mmag-single-content .wpcf7-form textarea { min-height: 140px; resize: vertical; }
.mmag-single-content .wpcf7-form input::placeholder,
.mmag-single-content .wpcf7-form textarea::placeholder { color: rgba(255,255,255,.3); }
.mmag-single-content .wpcf7-form input:focus,
.mmag-single-content .wpcf7-form textarea:focus {
    outline: none;
    border-color: #e8ff47;
    background: #161616;
    box-shadow: 0 0 0 3px rgba(232,255,71,.16);
}
.mmag-single-content .wpcf7-form input[type=submit] {
    width: auto;
    margin-top: 4px;
    padding: 13px 34px;
    background: #e8ff47;
    color: #111;
    font-family: inherit;
    font-weight: 800;
    font-size: 15px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.mmag-single-content .wpcf7-form input[type=submit]:hover { background: #d4ef30; }
.mmag-single-content .wpcf7-form input[type=submit]:active { transform: translateY(1px); }

.mmag-single-content .wpcf7-not-valid {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,.15) !important;
}
.mmag-single-content .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #f87171;
}
.mmag-single-content .wpcf7-response-output {
    margin: 10px 0 0 !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255,255,255,.75);
}
.mmag-single-content .wpcf7-form.invalid .wpcf7-response-output,
.mmag-single-content .wpcf7-form.unaccepted .wpcf7-response-output,
.mmag-single-content .wpcf7-form.spam .wpcf7-response-output {
    border-color: rgba(248,113,113,.5) !important;
    color: #f6a4a4;
}
.mmag-single-content .wpcf7-form.sent .wpcf7-response-output {
    border-color: rgba(232,255,71,.5) !important;
    color: #e8ff47;
}
.mmag-single-content .wpcf7-spinner { background-color: rgba(255,255,255,.4); }
/* GDPR modulo contatti: informativa breve + casella obbligatoria */
.mmag-single-content .mag-cf-req { font-size: 13px; color: rgba(255,255,255,.5); margin: 0 0 14px; }
.mmag-single-content .mag-cf-star { color: #e8ff47; }
.mmag-single-content .mag-cf-info {
    margin: 0 0 16px; padding: 14px 16px; border-radius: 10px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.6);
    max-height: 180px; overflow-y: auto;
}
.mmag-single-content .mag-cf-info-hd { margin: 0 0 8px !important; font-weight: 700; color: rgba(255,255,255,.85); font-size: 13px; }
.mmag-single-content .mag-cf-info ul { margin: 0; padding-left: 18px; }
.mmag-single-content .mag-cf-info li { margin: 0 0 6px; }
.mmag-single-content .mag-cf-info strong { color: rgba(255,255,255,.8); }
.mmag-single-content .mag-cf-info-more { margin: 8px 0 0 !important; }
.mmag-single-content .mag-cf-info a,
.mmag-single-content .mag-cf-privacy a { color: #e8ff47; text-decoration: underline; text-underline-offset: 2px; }
.mmag-single-content .wpcf7-form .mag-cf-privacy label { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 20px; font-weight: 400; cursor: pointer; }
.mmag-single-content .mag-cf-privacy input[type=checkbox] {
    -webkit-appearance: none; appearance: none;
    flex-shrink: 0;
    width: 20px; height: 20px; margin: 0;
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 6px;
    background: rgba(0,0,0,.35) center / 14px no-repeat;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.mmag-single-content .mag-cf-privacy input[type=checkbox]:hover { border-color: #e8ff47; }
.mmag-single-content .mag-cf-privacy input[type=checkbox]:checked { background-color: #e8ff47; border-color: #e8ff47; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.mmag-single-content .mag-cf-privacy input[type=checkbox]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(232,255,71,.3); }

@media (max-width: 980px) {
    body.page-id-27307 .mmag-single { max-width: 640px; }
    .mmag-single-content .mmag-contact { flex-direction: column; gap: 26px; }
    .mmag-single-content .mmag-contact > .wp-block-column { flex-basis: auto !important; width: 100%; }
}

@media (max-width: 700px) {
    .mmag-inner { padding: 28px 16px 56px; }
    .mmag-grid  { grid-template-columns: 1fr; gap: 16px; }
    .mmag-single { max-width: 100%; }
    body.page-id-27307 .mmag-single { max-width: 100%; }
    .mmag-404-code { font-size: 80px; }
}

/* ══════════════════════════════════════════════════════════════
   PAGINE ISTITUZIONALI — sistema componenti .mmag-x
   Enterprise, mobile-first (1 colonna di default, espande ai breakpoint)
   Usato da: come-funziona, sicurezza-antifrode, faq, lavora-con-noi,
             pubblicita-sul-sito, servizi-premium
══════════════════════════════════════════════════════════════ */
body.page-id-31255 .mmag-single,
body.page-id-31257 .mmag-single,
body.page-id-27366 .mmag-single,
body.page-id-31288 .mmag-single,
body.page-id-31284 .mmag-single,
body.page-id-31282 .mmag-single,
body.page-id-31273 .mmag-single,
body.page-id-31286 .mmag-single,
body.page-id-35245 .mmag-single { max-width: 1000px; }
/* copre anche eventuali nuove pagine che usano il sistema .mmag-x */
.mmag-single:has(.mmag-x) { max-width: 1000px; }

.mmag-single-content .mmag-x { display: block; }
.mmag-single-content .mmag-x > * + * { margin-top: 30px; }
.mmag-single-content .mmag-x > section + section { margin-top: 46px; }
.mmag-single-content .mmag-x > .mmag-x-lead + * { margin-top: 26px; }

.mmag-single-content .mmag-x-lead {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.65;
    color: rgba(255,255,255,.66);
    margin: -6px 0 0;
    max-width: 62ch;
}

.mmag-single-content .mmag-x-sec > h2 {
    font-size: clamp(21px, 5.2vw, 30px);
    margin: 0 0 14px;
}
.mmag-single-content .mmag-x-sec > h2 + .mmag-x-subtitle {
    margin: -8px 0 16px;
    color: rgba(255,255,255,.55);
    font-size: 15px;
    line-height: 1.6;
    max-width: 60ch;
}
.mmag-single-content .mmag-x-sec > * + * { margin-top: 14px; }
.mmag-single-content .mmag-x-eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: #e8ff47;
    margin-bottom: 10px;
}

/* Griglia card */
.mmag-single-content .mmag-x-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.mmag-single-content .mmag-x-card {
    background: #171717;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 20px;
}
.mmag-single-content .mmag-x-card h3 {
    margin: 0 0 6px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px; font-weight: 700; color: #fff;
}
.mmag-single-content .mmag-x-card p {
    margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6);
}
.mmag-single-content .mmag-x-card p + p { margin-top: 8px; }

/* Step numerati */
.mmag-single-content ol.mmag-x-steps {
    list-style: none; counter-reset: s;
    padding: 0; margin: 0;
    display: grid; gap: 12px;
}
.mmag-single-content ol.mmag-x-steps > li {
    counter-increment: s;
    position: relative;
    background: #171717;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 17px 20px 17px 62px;
    margin: 0;
    font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.72);
}
.mmag-single-content ol.mmag-x-steps > li::before {
    content: counter(s);
    position: absolute; left: 16px; top: 15px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: #e8ff47; color: #111;
    font-weight: 800; font-size: 14px;
    border-radius: 10px;
}
.mmag-single-content ol.mmag-x-steps > li strong { color: #fff; }
.mmag-single-content ol.mmag-x-steps > li a { color: #e8ff47; }

/* Callout */
.mmag-single-content .mmag-x-note {
    border: 1px solid rgba(255,255,255,.1);
    border-left: 3px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.03);
    border-radius: 12px;
    padding: 16px 18px;
}
.mmag-single-content .mmag-x-note h3 {
    margin: 0 0 6px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px; font-weight: 700; color: #fff;
}
.mmag-single-content .mmag-x-note p { margin: 0; font-size: 14px; color: rgba(255,255,255,.66); line-height: 1.6; }
.mmag-single-content .mmag-x-note p + p { margin-top: 8px; }
.mmag-single-content .mmag-x-note--accent { border-left-color: #e8ff47; background: rgba(232,255,71,.05); }
.mmag-single-content .mmag-x-note--accent h3 { color: #e8ff47; }
.mmag-single-content .mmag-x-note--warn   { border-left-color: #f8b26a; background: rgba(248,178,106,.05); }
.mmag-single-content .mmag-x-note--warn h3 { color: #f8b26a; }
.mmag-single-content .mmag-x-note--danger { border-left-color: #f87171; background: rgba(248,113,113,.05); }
.mmag-single-content .mmag-x-note--danger h3 { color: #f87171; }
.mmag-single-content .mmag-x-note--ok     { border-left-color: #7ee0a0; background: rgba(126,224,160,.05); }
.mmag-single-content .mmag-x-note--ok h3   { color: #7ee0a0; }

/* Liste con marcatore */
.mmag-single-content ul.mmag-x-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 10px;
}
.mmag-single-content ul.mmag-x-list > li {
    position: relative; margin: 0; padding-left: 28px;
    font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.72);
}
.mmag-single-content ul.mmag-x-list > li::before {
    position: absolute; left: 0; top: 0;
    font-size: 15px; font-weight: 700;
}
.mmag-single-content ul.mmag-x-list--do > li::before   { content: "\2713"; color: #7ee0a0; }
.mmag-single-content ul.mmag-x-list--dont > li::before { content: "\2715"; color: #f87171; }
.mmag-single-content ul.mmag-x-list--dot > li::before  { content: "\2022"; color: #e8ff47; }

/* Due colonne (impila su mobile) */
.mmag-single-content .mmag-x-two { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* Statistiche */
.mmag-single-content .mmag-x-stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.mmag-single-content .mmag-x-stat {
    background: #171717; border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px; padding: 15px 16px;
}
.mmag-single-content .mmag-x-stat b {
    display: block;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(19px, 5.5vw, 26px); font-weight: 400; color: #fff; line-height: 1.05;
    margin-bottom: 3px;
}
.mmag-single-content .mmag-x-stat span { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.4; }

/* FAQ accordion */
.mmag-single-content .mmag-x-faq { display: grid; gap: 9px; }
.mmag-single-content .mmag-x-faqcat {
    margin: 18px 0 2px;
    font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.4);
    font-family: 'DM Sans', system-ui, sans-serif; font-weight: 700;
}
.mmag-single-content .mmag-x-faq > .mmag-x-faqcat:first-child { margin-top: 0; }
.mmag-single-content .mmag-x-q {
    background: #171717;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
}
.mmag-single-content .mmag-x-q > summary {
    list-style: none;
    cursor: pointer;
    padding: 15px 46px 15px 18px;
    position: relative;
    font-weight: 600; font-size: 15px; color: #fff; line-height: 1.45;
}
.mmag-single-content .mmag-x-q > summary::-webkit-details-marker { display: none; }
.mmag-single-content .mmag-x-q > summary::after {
    content: "+";
    position: absolute; right: 15px; top: 13px;
    font-size: 20px; font-weight: 400; color: #e8ff47; line-height: 1;
    transition: transform .2s ease;
}
.mmag-single-content .mmag-x-q[open] > summary::after { transform: rotate(45deg); }
.mmag-single-content .mmag-x-q > summary:hover { color: #e8ff47; }
.mmag-single-content .mmag-x-q > .mmag-x-a {
    padding: 0 18px 17px;
    font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.66);
}
.mmag-single-content .mmag-x-q > .mmag-x-a > *:first-child { margin-top: 0; }
.mmag-single-content .mmag-x-q > .mmag-x-a > *:last-child { margin-bottom: 0; }
.mmag-single-content .mmag-x-q > .mmag-x-a ol,
.mmag-single-content .mmag-x-q > .mmag-x-a ul { padding-left: 1.2em; margin: 8px 0; }
.mmag-single-content .mmag-x-q > .mmag-x-a li { margin-bottom: 4px; }

/* Tier / listino servizi */
.mmag-single-content .mmag-x-tiers { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mmag-single-content .mmag-x-tier {
    background: #171717; border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 22px;
}
.mmag-single-content .mmag-x-tier--featured {
    border-color: rgba(232,255,71,.5);
    box-shadow: inset 0 0 0 1px rgba(232,255,71,.15);
}
.mmag-single-content .mmag-x-tier h3 {
    margin: 0 0 3px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 17px; font-weight: 700; color: #fff;
}
.mmag-single-content .mmag-x-tier .mmag-x-tag { font-size: 12px; color: #e8ff47; font-weight: 700; }
.mmag-single-content .mmag-x-tier ul {
    list-style: none; padding: 0; margin: 14px 0 0;
    display: grid; gap: 8px;
}
.mmag-single-content .mmag-x-tier li {
    position: relative; margin: 0; padding-left: 24px;
    font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.7);
}
.mmag-single-content .mmag-x-tier li::before {
    content: "\2713"; position: absolute; left: 0; color: #7ee0a0; font-weight: 700;
}

/* Indice marche (/marchi/) */
.mmag-single-content .mmag-x-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.mmag-single-content .mmag-x-brand {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
    min-height: 46px;
    padding: 11px 14px;
    background: #171717;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 600; font-size: 14px; line-height: 1.25;
    transition: border-color .15s ease, background .15s ease;
}
.mmag-single-content .mmag-x-brand:hover {
    border-color: rgba(232,255,71,.45);
    background: #1c1c1c;
    color: #fff !important;
}
.mmag-single-content .mmag-x-brand-n {
    flex-shrink: 0;
    font-size: 12px; font-weight: 700;
    color: rgba(255,255,255,.4);
}
@media (min-width: 520px) {
    .mmag-single-content .mmag-x-brands { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 780px) {
    .mmag-single-content .mmag-x-brands { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

/* Banda CTA */
.mmag-single-content .mmag-x-cta {
    background: linear-gradient(180deg, #1d1d1d, #161616);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 30px 22px;
    text-align: center;
}
.mmag-single-content .mmag-x-cta h2 { margin: 0 0 8px; font-size: clamp(19px, 4.8vw, 26px); }
.mmag-single-content .mmag-x-cta p {
    margin: 0 auto 18px; max-width: 48ch;
    font-size: 14.5px; color: rgba(255,255,255,.62); line-height: 1.6;
}
.mmag-single-content .mmag-x-btnrow {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.mmag-single-content .mmag-x-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 12px 24px;
    background: #e8ff47; color: #111 !important;
    font-weight: 800; font-size: 15px;
    border-radius: 11px; text-decoration: none;
    transition: background .15s ease, transform .1s ease;
}
.mmag-single-content .mmag-x-btn:hover  { background: #d4ef30; color: #111 !important; }
.mmag-single-content .mmag-x-btn:active { transform: translateY(1px); }
.mmag-single-content button.mmag-x-btn {
    border: 0; cursor: pointer; font-family: inherit;
    -webkit-appearance: none; appearance: none;
}
.mmag-single-content .mmag-x-btn--ghost {
    background: transparent; color: #e8ff47 !important;
    border: 1px solid rgba(232,255,71,.4);
}
.mmag-single-content .mmag-x-btn--ghost:hover { background: rgba(232,255,71,.1); color: #e8ff47 !important; }

/* Gate accesso (shortcode [vehicle_annuncio_form] per utenti non loggati) */
.mmag-single-content .va-authgate { margin-top: 8px; }
.mmag-single-content .va-gate-hint {
    margin: 16px auto 0; max-width: 44ch;
    font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.5);
}
.mmag-single-content .va-gate-hint a { color: #e8ff47; }

/* ≥ 640px : tablet e oltre */
@media (min-width: 640px) {
    .mmag-single-content .mmag-x-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mmag-single-content .mmag-x-two   { grid-template-columns: 1fr 1fr; gap: 16px; }
    .mmag-single-content .mmag-x-stats { grid-template-columns: repeat(4, 1fr); }
    .mmag-single-content .mmag-x-tiers { grid-template-columns: repeat(3, 1fr); }
    .mmag-single-content .mmag-x > * + * { margin-top: 38px; }
    .mmag-single-content .mmag-x > section + section { margin-top: 58px; }
}
@media (min-width: 900px) {
    .mmag-single-content .mmag-x-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
/* ══ MAGAZINE: elenco articoli, categorie, ricerca (2026-09-26) ══ */
.mmag-wrap .msr{font-size:18px}
.mmag-hero{margin-bottom:22px}
.mmag-kicker{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#e8ff47;text-decoration:none}
.mmag-hero .mmag-arch-desc{max-width:680px}
.mmag-hero .mmag-arch-desc p{margin:0 0 8px}
.mmag-search{display:flex;align-items:center;gap:8px;max-width:560px;margin-top:22px;padding:5px 5px 5px 14px;background:#1a1a1a;border:1.5px solid rgba(255,255,255,.1);border-radius:14px;transition:border-color .15s,box-shadow .15s}
.mmag-search:focus-within{border-color:#e8ff47;box-shadow:0 0 0 3px rgba(232,255,71,.12)}
.mmag-search>.msr{font-size:22px;color:rgba(255,255,255,.4)}
.mmag-search input{flex:1;min-width:0;height:42px;padding:0 4px;font-size:15px;font-family:inherit;color:#fff;background:transparent;border:none;outline:none;-webkit-appearance:none;appearance:none}
.mmag-search input::placeholder{color:rgba(255,255,255,.4)}
.mmag-search input::-webkit-search-cancel-button{filter:invert(1);opacity:.5}
.mmag-search button{height:42px;padding:0 18px;font-size:14px;font-weight:700;font-family:inherit;color:#111;background:#e8ff47;border:none;border-radius:10px;cursor:pointer;transition:background .15s}
.mmag-search button:hover{background:#d4ef30}

/* Chip categorie */
.mmag-cats{display:flex;gap:8px;margin:0 0 22px;padding-bottom:4px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mmag-cats::-webkit-scrollbar{display:none}
.mmag-cat-chip{flex-shrink:0;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 8px 0 14px;font-size:14px;font-weight:600;color:rgba(255,255,255,.75);text-decoration:none;background:#1a1a1a;border:1px solid rgba(255,255,255,.1);border-radius:999px;transition:background .15s,border-color .15s,color .15s}
.mmag-cat-chip:hover{color:#fff;border-color:rgba(255,255,255,.25)}
.mmag-cat-chip span:last-child{min-width:26px;padding:3px 8px;font-size:12px;font-weight:700;text-align:center;color:rgba(255,255,255,.6);background:rgba(255,255,255,.08);border-radius:999px}
.mmag-cat-chip.is-active{color:#111;background:#e8ff47;border-color:#e8ff47}
.mmag-cat-chip.is-active span:last-child{color:#111;background:rgba(0,0,0,.12)}
.mmag-cat-chip.is-active .msr{font-variation-settings:'FILL' 1,'wght' 600,'GRAD' 0,'opsz' 24}
.mmag-count{margin:0 0 14px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:rgba(255,255,255,.35)}

/* Card: tutta cliccabile (link esteso), meta con categoria + tempo di lettura */
.mmag-wrap .mmag-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}
.mmag-wrap .mmag-card{position:relative;display:flex;flex-direction:column}
.mmag-wrap .mmag-card:focus-within{border-color:#e8ff47}
.mmag-wrap .mmag-card--noimg::before{content:"";display:block;height:3px;background:linear-gradient(90deg,#e8ff47,rgba(232,255,71,0));opacity:.55;transition:opacity .2s}
.mmag-wrap .mmag-card--noimg:hover::before{opacity:1}
.mmag-wrap .mmag-card-body{flex:1;display:flex;flex-direction:column;padding:18px 20px 18px}
.mmag-card-meta{position:relative;z-index:2;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.mmag-chip-sm{display:inline-flex;align-items:center;gap:5px;padding:4px 10px 4px 8px;font-size:12px;font-weight:600;color:rgba(255,255,255,.75);text-decoration:none;background:rgba(255,255,255,.06);border-radius:999px;transition:background .15s,color .15s}
.mmag-chip-sm .msr{font-size:15px;color:#e8ff47}
.mmag-chip-sm:hover{background:rgba(232,255,71,.15);color:#fff}
.mmag-read{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:rgba(255,255,255,.45)}
.mmag-read .msr{font-size:15px}
.mmag-badge{padding:4px 10px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#111;background:#e8ff47;border-radius:999px}
.mmag-wrap .mmag-card-title{font-size:19px;margin:0 0 8px}
.mmag-card-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.mmag-card-link:focus-visible{outline:none}
.mmag-wrap .mmag-card-excerpt{margin:0 0 16px;font-size:14px;color:rgba(255,255,255,.55)}
.mmag-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid rgba(255,255,255,.06);font-size:12.5px;color:rgba(255,255,255,.4)}
.mmag-card-cta{display:inline-flex;align-items:center;gap:4px;font-weight:700;color:#e8ff47}
.mmag-card-cta .msr{transition:transform .15s}
.mmag-card:hover .mmag-card-cta .msr{transform:translateX(3px)}

/* Articolo in evidenza */
.mmag-wrap .mmag-card--feat{grid-column:1/-1;background:radial-gradient(120% 140% at 100% 0%,rgba(232,255,71,.10),rgba(232,255,71,0) 55%),#1a1a1a;border-color:rgba(232,255,71,.22)}
.mmag-wrap .mmag-card--feat .mmag-card-body{padding:26px 28px 22px}
.mmag-wrap .mmag-card--feat .mmag-card-title{font-size:clamp(24px,3vw,32px);line-height:1.2;max-width:820px}
.mmag-wrap .mmag-card--feat .mmag-card-excerpt{font-size:15.5px;max-width:760px;-webkit-line-clamp:3}
@media(min-width:900px){
    .mmag-wrap .mmag-card--feat:has(.mmag-card-thumb){flex-direction:row}
    .mmag-wrap .mmag-card--feat .mmag-card-thumb{flex:0 0 46%;aspect-ratio:auto}
}

/* Paginazione */
.mmag-wrap .navigation{margin-top:40px}
.mmag-wrap .nav-links{margin-top:0}
.mmag-wrap .nav-links .page-numbers{min-width:44px;min-height:44px;padding:0 12px;font-size:14px;border-radius:10px}
.mmag-wrap .nav-links .page-numbers .msr{font-size:22px}
.mmag-wrap .nav-links a.page-numbers:hover{background:rgba(255,255,255,.08);color:#fff}
.mmag-wrap .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Banda CTA verso gli annunci */
.mmag-cta-band{display:flex;align-items:center;gap:18px;margin-top:48px;padding:22px 24px;background:#1a1a1a;border:1px solid rgba(255,255,255,.08);border-radius:18px}
.mmag-cta-ico{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:14px;background:rgba(232,255,71,.12)}
.mmag-cta-ico .msr{font-size:30px;color:#e8ff47}
.mmag-cta-txt{flex:1;min-width:0}
.mmag-cta-txt strong{display:block;font-family:'DM Serif Display',Georgia,serif;font-size:21px;font-weight:400;color:#fff;margin-bottom:3px}
.mmag-cta-txt span{font-size:14px;color:rgba(255,255,255,.55)}
.mmag-cta-btns{display:flex;gap:8px;flex-shrink:0}
.mmag-wrap .mmag-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 18px;min-height:46px;font-size:14px}
.mmag-btn--ghost{color:#fff!important;background:transparent!important;border:1px solid rgba(255,255,255,.22)}
.mmag-btn--ghost:hover{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.05)!important}

@media(max-width:860px){
    .mmag-cta-band{flex-wrap:wrap}
    .mmag-cta-btns{width:100%}
    .mmag-cta-btns .mmag-btn{flex:1}
}
@media(max-width:700px){
    .mmag-wrap .mmag-grid{grid-template-columns:1fr;gap:14px}
    .mmag-wrap .mmag-card--feat .mmag-card-body{padding:20px 18px 18px}
    .mmag-cats{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
    .mmag-search button{padding:0 14px}
    .mmag-cta-band{padding:20px 18px}
    .mmag-cta-ico{display:none}
}
@media(max-width:400px){
    .mmag-cta-btns{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
    .mmag-wrap .mmag-card,.mmag-card-cta .msr{transition:none}
    .mmag-wrap .mmag-card:hover{transform:none}
}

/* ══ ARTICOLO SINGOLO (2026-09-26) ══ */
.mmag-progress{position:fixed;left:0;right:0;top:62px;height:3px;z-index:450;pointer-events:none}
.mmag-progress span{display:block;height:100%;background:#e8ff47;transform:scaleX(0);transform-origin:0 50%;will-change:transform}
.mmag-art{max-width:760px}
.mmag-art--toc{max-width:1100px}
.mmag-art .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.mmag-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-bottom:18px;font-size:13px;color:rgba(255,255,255,.35)}
.mmag-crumbs a{display:inline-flex;align-items:center;color:rgba(255,255,255,.55);text-decoration:none;transition:color .15s}
.mmag-crumbs a:hover{color:#e8ff47}
.mmag-crumbs .msr{font-size:17px}

.mmag-art-head{max-width:760px;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid rgba(255,255,255,.08)}
.mmag-art .mmag-single-title{font-size:clamp(30px,4.6vw,48px);line-height:1.12;letter-spacing:-.01em;margin:0 0 16px}
.mmag-art-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;font-size:13px;color:rgba(255,255,255,.5)}
.mmag-art-upd{display:inline-flex;align-items:center;gap:4px}
.mmag-art-meta .msr,.mmag-art-upd .msr{font-size:16px}
.mmag-art-meta .mmag-read{font-size:13px}

/* Condivisione */
.mmag-share{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}
.mmag-share-lbl{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:rgba(255,255,255,.35);margin-right:4px}
.mmag-sh{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;color:rgba(255,255,255,.75);background:#1a1a1a;border:1px solid rgba(255,255,255,.1);border-radius:50%;cursor:pointer;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.mmag-sh svg{width:19px;height:19px}
.mmag-sh .msr{font-size:20px}
.mmag-sh:hover{color:#111;background:#e8ff47;border-color:#e8ff47}
.mmag-sh--wa:hover{color:#fff;background:#25d366;border-color:#25d366}
.mmag-sh--fb:hover{color:#fff;background:#1877f2;border-color:#1877f2}
.mmag-sh.is-ok{color:#111;background:#86efac;border-color:#86efac}
.mmag-sh[hidden]{display:none}

/* Layout con sommario */
.mmag-art-layout{display:block}
.mmag-toc{margin:0 0 26px}
.mmag-toc details{background:#161616;border:1px solid rgba(255,255,255,.09);border-radius:14px;overflow:hidden}
.mmag-toc summary{display:flex;align-items:center;gap:8px;min-height:50px;padding:0 16px;font-size:14px;font-weight:700;color:#fff;cursor:pointer;list-style:none;user-select:none}
.mmag-toc summary::-webkit-details-marker{display:none}
.mmag-toc summary .msr{font-size:20px;color:#e8ff47}
.mmag-toc summary .msr:last-child{margin-left:auto;color:rgba(255,255,255,.45);transition:transform .2s}
.mmag-toc details[open] summary .msr:last-child{transform:rotate(180deg)}
.mmag-toc ol{list-style:none;margin:0;padding:4px 8px 12px;max-height:60vh;overflow-y:auto;scrollbar-width:thin}
.mmag-toc li{margin:0}
.mmag-toc a{display:block;padding:7px 10px;font-size:13.5px;line-height:1.4;color:rgba(255,255,255,.6);text-decoration:none;border-left:2px solid transparent;border-radius:0 8px 8px 0;transition:color .15s,background .15s,border-color .15s}
.mmag-toc li.lv3 a{padding-left:24px;font-size:13px}
.mmag-toc a:hover{color:#fff;background:rgba(255,255,255,.04)}
.mmag-toc a.is-on{color:#e8ff47;border-left-color:#e8ff47;background:rgba(232,255,71,.06)}
@media(min-width:1100px){
    .mmag-art--toc .mmag-art-layout{display:grid;grid-template-columns:minmax(0,760px) 280px;gap:48px;align-items:start}
    .mmag-art--toc .mmag-toc{order:2;position:sticky;top:86px;margin:0}
    .mmag-art--toc .mmag-toc summary{cursor:default;pointer-events:none}
    .mmag-art--toc .mmag-toc summary .msr:last-child{display:none}
    .mmag-art--toc .mmag-toc ol{max-height:calc(100vh - 170px)}
}

/* Tipografia dell'articolo */
.mmag-art .mmag-single-content{font-size:17px;line-height:1.78;color:rgba(255,255,255,.78);overflow-wrap:break-word}
.mmag-art .mmag-single-content>*:first-child{margin-top:0}
.mmag-art .mmag-single-content h2{font-size:clamp(24px,3vw,30px);line-height:1.2;margin-top:1.9em}
.mmag-art .mmag-single-content h3{font-size:clamp(20px,2.4vw,23px);line-height:1.25}
.mmag-art .mmag-single-content h2,.mmag-art .mmag-single-content h3,.mmag-art .mmag-single-content h4{scroll-margin-top:84px}
.mmag-art .mmag-single-content strong{color:#fff}
.mmag-art .mmag-single-content li::marker{color:#e8ff47}
.mmag-art .mmag-single-content img{height:auto}
.mmag-art .mmag-single-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px;display:block;overflow-x:auto}
.mmag-art .mmag-single-content th,.mmag-art .mmag-single-content td{padding:10px 12px;border:1px solid rgba(255,255,255,.1);text-align:left;vertical-align:top}
.mmag-art .mmag-single-content th{background:#1a1a1a;color:#fff}
.mmag-art .mmag-single-content iframe{max-width:100%}
.mmag-art .mmag-single-content p:empty{display:none}

/* Fondo articolo: condivisione + precedente/successivo */
.mmag-art-foot{max-width:760px;margin-top:40px}
.mmag-art-foot .mmag-share{justify-content:center;padding:22px;margin:0;background:#161616;border:1px solid rgba(255,255,255,.08);border-radius:16px}
.mmag-art-foot .mmag-share-lbl{width:100%;text-align:center;margin:0 0 4px;font-size:13px;letter-spacing:.04em;text-transform:none;color:rgba(255,255,255,.6)}
.mmag-art-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;padding-top:0;border-top:none}
.mmag-art-nav a{display:flex;flex-direction:column;gap:6px;max-width:none;padding:16px 18px;background:#1a1a1a;border:1px solid rgba(255,255,255,.08);border-radius:14px;color:#fff;font-size:15px;font-family:'DM Serif Display',Georgia,serif;font-weight:400;line-height:1.3;transition:border-color .15s,background .15s}
.mmag-art-nav a:hover{border-color:rgba(232,255,71,.4);background:#1e1e1e;color:#fff}
.mmag-art-nav small{display:inline-flex;align-items:center;gap:4px;font-family:'DM Sans',system-ui,sans-serif;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#e8ff47}
.mmag-art-nav small .msr{font-size:16px}
.mmag-art-nav .mmag-post-nav-next{grid-column:2;text-align:right;align-items:flex-end}

/* Correlati */
.mmag-related{margin-top:56px}
.mmag-related-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.mmag-related-head h2{font-family:'DM Serif Display',Georgia,serif;font-size:clamp(22px,3vw,28px);font-weight:400;color:#fff;margin:0}
.mmag-related-head a{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:700;color:#e8ff47;text-decoration:none;white-space:nowrap}

@media(max-width:700px){
    .mmag-progress{top:58px}
    .mmag-art .mmag-single-content{font-size:16.5px}
    .mmag-art .mmag-single-content figure.alignleft,.mmag-art .mmag-single-content figure.alignright,.mmag-art .mmag-single-content .alignleft,.mmag-art .mmag-single-content .alignright{float:none;margin:18px auto;text-align:center}
    .mmag-art-nav{grid-template-columns:1fr}
    .mmag-art-nav .mmag-post-nav-next{grid-column:auto}
    .mmag-share-lbl{width:100%}
    .mmag-art-head .mmag-share-lbl{display:none}
}
@media(prefers-reduced-motion:reduce){ .mmag-progress{display:none} }
.mmag-single-fig{margin:0 0 32px}.mmag-single-fig .mmag-single-thumb{margin-bottom:0}.mmag-thumb-cap{margin-top:8px;font-size:13px;color:rgba(255,255,255,.5);text-align:center}
.mmag-card-thumb,.mmag-single-thumb{position:relative}
.mmag-partner{position:absolute;top:12px;left:12px;z-index:2;padding:4px 11px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#111;background:#e8ff47;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.35);pointer-events:none}

/* ── STORIA DEI MODELLI: scheda rapida + sezioni dati (templates/partials/model-article.php, 2026-10-11) ── */
.ma-facts{margin:0 0 28px;padding:18px 18px 16px;background:linear-gradient(180deg,#191919,#141414);border:1px solid rgba(255,255,255,.09);border-radius:18px;line-height:1.4}
.ma-facts-h{display:flex;align-items:center;gap:8px;margin:0 0 14px!important;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55)}
.ma-facts-h .msr{color:#e8ff47;font-size:20px}
.ma-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.ma-facts-grid div{min-width:0;padding:11px 12px;background:#1d1d1d;border:1px solid rgba(255,255,255,.07);border-radius:12px}
.ma-facts-grid dt{margin:0 0 3px;font-size:11.5px;font-weight:600;color:rgba(255,255,255,.5)}
.ma-facts-grid dd{margin:0;font-size:15px;font-weight:700;color:#fff;overflow-wrap:anywhere}
.ma-facts-grid dd small{font-weight:500;color:rgba(255,255,255,.5)}
.ma-facts-grid .is-acc{border-color:rgba(232,255,71,.3)}
.ma-facts-grid .is-acc a{color:#e8ff47;text-decoration:none}
.ma-facts-cta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0!important}
.ma-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border-radius:12px;background:#e8ff47;color:#111!important;font-size:14px;font-weight:700;text-decoration:none!important;border:1px solid #e8ff47;cursor:pointer;font-family:inherit}
.ma-btn .msr{font-size:19px}
.ma-btn--ghost{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.2)}
.ma-btn--ghost:hover{border-color:#e8ff47;color:#e8ff47!important}
.ma-facts-cta .ma-btn{flex:1 1 220px}
.ma-sections{margin-top:36px;display:flex;flex-direction:column;gap:36px}
.ma-sec>h2{margin-top:0!important}
.ma-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));margin:16px 0 4px}
.ma-more{margin:12px 0 0!important;font-weight:700}
.ma-more a,.ma-sec p a{display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.ma-more .msr,.ma-sec p a .msr{font-size:18px}
.ma-table-wrap{overflow-x:auto;border:1px solid rgba(255,255,255,.09);border-radius:14px;margin:14px 0 0}
.ma-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.4;min-width:440px}
.ma-table th{position:sticky;top:0;background:#1b1b1b;text-align:left;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.55);padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.09)}
.ma-table td{padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.06);color:rgba(255,255,255,.85);white-space:nowrap}
.ma-table tr:last-child td{border-bottom:0}
.ma-table tbody tr:nth-child(even) td{background:rgba(255,255,255,.02)}
.ma-table small{color:rgba(255,255,255,.45)}
.ma-toggle{margin-top:12px}
.ma-gens{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
.ma-gen{padding:16px 18px;background:#161616;border:1px solid rgba(255,255,255,.09);border-radius:14px}
.ma-gen h3{margin:0 0 10px!important;font-size:17px!important;line-height:1.3}
.ma-gen h3 small{font-size:13px;font-weight:600;color:#e8ff47;margin-left:6px}
.ma-gen ul{margin:0!important;padding:0!important;list-style:none;display:grid;gap:6px}
.ma-gen li{margin:0!important;display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#fff;border-bottom:1px dashed rgba(255,255,255,.07);padding-bottom:6px}
.ma-gen li::before{content:none!important}
.ma-gen li span{color:rgba(255,255,255,.5)}
.ma-src{margin:10px 0 0!important;font-size:12px;color:rgba(255,255,255,.4)}
.ma-pass{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.ma-pass div{padding:14px;background:#161616;border:1px solid rgba(255,255,255,.09);border-radius:14px}
.ma-pass b{display:block;font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:26px;line-height:1.1;color:#e8ff47;margin-bottom:4px}
.ma-pass span{display:block;font-size:12.5px;line-height:1.4;color:rgba(255,255,255,.55)}
.ma-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ma-links a{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 13px;font-size:13.5px;font-weight:600;color:#fff!important;text-decoration:none!important;background:#161616;border:1px solid rgba(255,255,255,.1);border-radius:999px}
.ma-links a:hover{border-color:#e8ff47;color:#e8ff47!important}
.ma-links a.is-hub{border-color:rgba(232,255,71,.35);color:#e8ff47!important}
.ma-links .msr{font-size:16px}
@media(min-width:640px){.ma-facts{padding:22px 24px 20px}.ma-facts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-gens{grid-template-columns:repeat(2,minmax(0,1fr))}}
