/**
 * Pagina Prodotti (content/pages/prodotti.html): stile dei blocchi core della pagina.
 */

/* Hero: blocco Copertina con titolo e sopratitolo */
.wp-block-cover.mggrp-prodotti-hero { min-height: 14rem; padding: 0 1rem; margin: 0; }
@media (min-width: 640px) {
	.wp-block-cover.mggrp-prodotti-hero { min-height: 18rem; }
}
.mggrp-prodotti-hero__eyebrow { margin: 0 0 0.75rem; text-align: center; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.mggrp-prodotti-hero__title { margin: 0; text-align: center; color: #fff; font-weight: 300; font-size: clamp(1.9rem, 7vw, 3.75rem); }

/* Introduzione */
.mggrp-prodotti-intro { box-sizing: border-box; margin: 0; padding: 3rem 1.5rem; border-bottom: 1px solid #f0efec; }
.mggrp-prodotti-intro p { max-width: 48rem; margin-left: auto; margin-right: auto; text-align: center; font-size: 0.875rem; line-height: 1.7; color: var(--wp--preset--color--muted-foreground, #717182); }
.mggrp-prodotti-intro img { display: inline-block; height: 1rem; width: auto; object-fit: contain; vertical-align: middle; margin: 0 0.15em; }

/* Lista categorie: immagine + testo, ordine invertito da 782px nelle righe .mggrp-alt-row--reverse (patterns.css) */
.mggrp-prodotti-list { box-sizing: border-box; max-width: 83rem; margin: 0 auto; padding: 1rem 1.5rem 4rem; }
.mggrp-prodotti-row { gap: 0; margin-top: 1.25rem; border: 1px solid #f0efec; }
.mggrp-prodotti-list > .mggrp-prodotti-row:first-child { margin-top: 2.5rem; }
.mggrp-prodotti-row .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.mggrp-prodotti-row .mggrp-prodotti-row__image--bottom img { object-position: 50% 100%; }
.mggrp-prodotti-row__body { padding: 1.75rem 2rem; }
.mggrp-prodotti-row__num { margin: 1em 0 0.75rem; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: #d1d5db; }
.mggrp-prodotti-row__title { margin: 0.83em 0 0.375rem; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 500; line-height: 1.2; }
.mggrp-prodotti-row__brands { margin: 1em 0 1rem; font-size: 0.875rem; letter-spacing: 0.02em; color: var(--wp--preset--color--muted-foreground, #717182); }
.mggrp-prodotti-row__text { margin: 1em 0 1.75rem; font-size: 0.875rem; line-height: 1.7; color: var(--wp--preset--color--foreground-secondary, #3a3a3a); }
.mggrp-prodotti-row__link { margin: 1em 0; font-size: 0.875rem; font-weight: 600; }

/* CTA finale */
.mggrp-prodotti-cta { box-sizing: border-box; margin: 0; padding: 4.5rem 1.5rem; background-color: var(--wp--preset--color--foreground, #1a1a1a); text-align: center; }
.mggrp-prodotti-cta__eyebrow { margin: 1em 0 1rem; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.3); }
.mggrp-prodotti-cta__title { max-width: 32rem; margin: 0.83em auto 2rem; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 400; line-height: 1.2; color: var(--wp--preset--color--background, #fff); }
.mggrp-prodotti-cta .wp-block-buttons { display: flex; justify-content: center; margin: 0; }
.mggrp-prodotti-cta__button .wp-block-button__link { border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0; padding: 0.667em 1.333em; background: transparent; color: var(--wp--preset--color--background, #fff); font-size: 0.75rem; font-weight: 700; line-height: 1.7; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; }
