/* ePRICE Marketplace – stile del tema. Colori e font da theme.json; layout a 1180px come eprice.it. */

:root {
	--ep-c-ink: var(--wp--preset--color--ink);
	--ep-c-black: var(--wp--preset--color--nero);
	--ep-c-yellow: var(--wp--preset--color--giallo);
	--ep-c-blue: var(--wp--preset--color--blu);
	--ep-c-grey: var(--wp--preset--color--grigio);
	--ep-c-line: var(--wp--preset--color--linea);
	--ep-c-text: var(--wp--preset--color--testo);
	--ep-c-text-2: #42474D;
	--ep-c-muted: var(--wp--preset--color--muted);
	--ep-gap-xl: var(--wp--preset--spacing--xl);
	--ep-r: 8px;
	--ep-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
	--ep-ico-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
	--ep-ico-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4L13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E");
	--ep-ico-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
	--ep-ico-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
	--ep-ico-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	--ep-ico-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Header ---------- */
.ep-header > *, .ep-header__nav > * { margin-block: 0 !important; }
.ep-header__top { background: var(--ep-c-ink); color: #fff; padding-block: 14px; }
.ep-header__row { gap: 12px 24px; }
.ep-header__nav { background: var(--ep-c-black); }
.ep-header .ep-nav-wrap { width: 100%; }

/* ---------- Sezioni e spaziature ---------- */
.ep-main > .wp-block-post-content > :first-child { margin-block-start: 0; }
.ep-section, .wp-block-columns.ep-section { margin-block-start: var(--ep-gap-xl); }
.ep-section--first, .wp-block-columns.ep-section--first { margin-block-start: 40px; }
.ep-section--last, .wp-block-columns.ep-section--last { margin-block-end: 0; }
.ep-main { padding-bottom: var(--ep-gap-xl); }
.ep-main:has(> .wp-block-post-content > .alignfull:last-child) { padding-bottom: 0; }
.ep-hero-row { margin-block-start: 24px !important; gap: 16px; }
.wp-block-columns.ep-hero-row { margin-bottom: 0; }
.wp-block-columns.ep-cols-gap { gap: 32px 56px; }
.wp-block-columns.ep-equal { gap: 16px; }
.ep-equal > .wp-block-column > * { height: 100%; }
.ep-stack { display: flex; flex-direction: column; gap: 16px; }
.ep-stack > * { flex: 1 1 auto; margin: 0 !important; }
.ep-block.ep-vantaggi-wrap { margin-block-start: 16px; }
.ep-section-head { margin-bottom: 12px; gap: 8px 24px; }
.ep-section-head > * { margin: 0; }
.ep-grow { flex: 1 1 420px; }
.ep-band-pad { padding-block: 56px; margin-block-start: 0 !important; }

/* ---------- Fasce (stili gruppo) ---------- */
.is-style-ep-band-grey { background: var(--ep-c-grey); }
.is-style-ep-band-dark { background: var(--ep-c-ink); color: #fff; }
.is-style-ep-band-black { background: var(--ep-c-black); color: #fff; }
.is-style-ep-band-yellow { background: var(--ep-c-yellow); color: var(--ep-c-ink); }
.is-style-ep-band-dark :where(h1, h2, h3, h4), .is-style-ep-band-black :where(h1, h2, h3, h4) { color: #fff; }
.is-style-ep-band-yellow :where(h1, h2, h3, h4) { color: var(--ep-c-ink); }
.ep-pagehead { padding-block: 40px 48px; }
.ep-pagehead > * { margin-block: 0; }
.ep-pagehead > * + * { margin-block-start: 14px; }
/* Nei layout "constrained" un max-width centra il blocco: qui il testo resta allineato a sinistra. */
.ep-pagehead > .is-style-ep-lead { max-width: var(--wp--style--global--content-size) !important; padding-right: max(0px, calc(100% - 62ch)); box-sizing: border-box; }
.ep-cta { padding-block: 56px; }
.ep-cta--slim { padding-block: 40px; }
.ep-cta__text { margin: 0; font-size: 1.625rem; font-weight: 800; line-height: 1.2; }

/* ---------- Riquadri ---------- */
.is-style-ep-hero { background: var(--ep-c-ink); color: #fff; border-radius: var(--ep-r); padding: 48px 44px; height: 100%; box-sizing: border-box; display: flex; align-items: center; }
.is-style-ep-hero > .wp-block-columns { width: 100%; margin: 0; }
.ep-hero__title { color: #fff; font-size: var(--wp--preset--font-size--hero); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.is-style-ep-card { border: 1px solid var(--ep-c-line); border-radius: var(--ep-r); padding: 40px; box-sizing: border-box; }
.is-style-ep-card-dark { background: var(--ep-c-ink); color: #fff; border-radius: var(--ep-r); padding: 36px; box-sizing: border-box; }
.is-style-ep-card-white { background: #fff; border-radius: var(--ep-r); padding: 24px 28px; color: var(--ep-c-text); }
.is-style-ep-card-white > *, .is-style-ep-card > *, .is-style-ep-card-dark > *, .is-style-ep-panel > * { margin-block: 0; }
.is-style-ep-card-white > * + *, .is-style-ep-card > * + *, .is-style-ep-card-dark > * + *, .is-style-ep-panel .ep-grow > * + * { margin-block-start: 14px; }
.is-style-ep-panel { background: var(--ep-c-grey); border-radius: var(--ep-r); padding: 40px; gap: 24px; }
.ep-panel--yellow { background: var(--ep-c-yellow); }
.ep-panel--sm { padding: 20px; margin-block-start: 12px !important; }
.ep-panel--sm p { margin: 0; font-size: 0.9375rem; color: var(--ep-c-text-2); }
.ep-panel--sm a { color: var(--ep-c-text); text-decoration: none; }
.ep-panel--sm a:hover { color: var(--ep-c-blue); }

/* ---------- Tipografia di supporto ---------- */
.ep-h-md { font-size: 1.625rem; line-height: 1.2; }
.ep-h-xl { font-size: clamp(1.875rem, 4vw, 2.375rem); font-weight: 800; line-height: 1.1; }
.ep-muted { color: var(--ep-c-muted); }
.is-style-ep-eyebrow { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ep-c-muted); }
.is-style-ep-eyebrow.ep-on-dark { color: var(--ep-c-yellow); }
.is-style-ep-lead { font-size: 1.125rem; color: var(--ep-c-text-2); max-width: 62ch; }
.is-style-ep-band-dark .is-style-ep-lead, .is-style-ep-hero .is-style-ep-lead { color: #E6E7EA; }
.is-style-ep-band-yellow .is-style-ep-lead { color: var(--ep-c-ink); }
.is-style-ep-arrow-link a { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.is-style-ep-arrow-link a::after { content: " →"; white-space: pre; }

/* ---------- Liste ---------- */
.is-style-ep-plain { list-style: none; padding-left: 0 !important; margin: 0; }
.is-style-ep-plain li + li { margin-top: 8px; }
.is-style-ep-checks, .is-style-ep-checks-yellow { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 16px; }
.is-style-ep-checks li, .is-style-ep-checks-yellow li { position: relative; padding-left: 36px; }
.is-style-ep-checks li::before, .is-style-ep-checks-yellow li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; background: var(--ep-c-blue); -webkit-mask: var(--ep-ico-check) center / contain no-repeat; mask: var(--ep-ico-check) center / contain no-repeat; }
.is-style-ep-checks-yellow li::before { background: var(--ep-c-yellow); }
.is-style-ep-steps { list-style: none; padding-left: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; counter-reset: ep-step; }
.is-style-ep-steps li { counter-increment: ep-step; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border: 1px solid var(--ep-c-line); border-radius: var(--ep-r); font-size: 0.9375rem; color: var(--ep-c-text-2); }
.is-style-ep-steps li::before { content: counter(ep-step); width: 40px; height: 40px; border-radius: 50%; background: var(--ep-c-yellow); color: var(--ep-c-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.125rem; }
.is-style-ep-steps li strong { display: block; font-size: 1.1875rem; font-weight: 800; color: var(--ep-c-blue); }

/* ---------- Pulsanti ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; box-sizing: border-box; text-decoration: none; }
.is-style-ep-outline .wp-block-button__link { background: #fff; color: var(--ep-c-ink); border: 1px solid var(--ep-c-ink); font-weight: 700; padding: 0 22px; min-height: 48px; }
.is-style-ep-outline .wp-block-button__link:hover { background: var(--ep-c-ink); color: #fff; }
.is-style-ep-outline-light .wp-block-button__link { background: transparent; color: #fff; border: 1px solid #6B727A; font-weight: 600; }
.is-style-ep-outline-light .wp-block-button__link:hover { background: transparent; color: #fff; border-color: #fff; }
.is-style-ep-dark .wp-block-button__link { background: var(--ep-c-ink); color: #fff; }
.is-style-ep-dark .wp-block-button__link:hover { background: var(--ep-c-black); color: #fff; }
.wp-block-button__link:focus-visible { outline: 3px solid var(--ep-c-yellow); outline-offset: 2px; }

/* ---------- Funzionalità con icona ---------- */
.ep-feats { gap: 28px; margin-top: 28px; }
.ep-feat::before { content: ""; display: block; width: 34px; height: 34px; margin-bottom: 10px; background: var(--ep-c-yellow); -webkit-mask: var(--ep-ico-plus) center / contain no-repeat; mask: var(--ep-ico-plus) center / contain no-repeat; }
.is-style-ep-card.ep-feat::before { width: 30px; height: 30px; background: var(--ep-c-blue); }
.ep-feat--tag::before { -webkit-mask-image: var(--ep-ico-tag); mask-image: var(--ep-ico-tag); }
.ep-feat--list::before { -webkit-mask-image: var(--ep-ico-list); mask-image: var(--ep-ico-list); }
.ep-feat--truck::before { -webkit-mask-image: var(--ep-ico-truck); mask-image: var(--ep-ico-truck); }
.ep-feat--lock::before { -webkit-mask-image: var(--ep-ico-lock); mask-image: var(--ep-ico-lock); }
.ep-feat--calendar::before { -webkit-mask-image: var(--ep-ico-calendar); mask-image: var(--ep-ico-calendar); }
.ep-feat h3 { margin: 0; font-size: 1.125rem; }
.ep-feat p { margin: 8px 0 0; font-size: 0.9375rem; }
.is-style-ep-band-dark .ep-feat p { color: #CACBCD; }
.is-style-ep-card.ep-feat { padding: 28px; }
.is-style-ep-card.ep-feat p { color: var(--ep-c-text-2); }

/* ---------- Servizio singolo ---------- */
.ep-benefits { border-top: 1px solid var(--ep-c-line); }
.ep-benefit { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--ep-c-line); }
.ep-benefit > * { margin: 0 !important; }
.ep-benefit__title { flex: 1 1 220px; font-size: 1.25rem; line-height: 1.3; color: var(--ep-c-blue); }
.ep-benefit p { flex: 2 1 320px; color: var(--ep-c-text-2); }
.wp-block-quote.is-style-ep-dark { margin: 40px 0 0; padding: 36px; border: 0; border-radius: var(--ep-r); background: var(--ep-c-ink); color: #fff; }
.wp-block-quote.is-style-ep-dark::before { content: ""; display: block; width: 36px; height: 28px; margin-bottom: 18px; background: var(--ep-c-yellow); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M0 34V20C0 9 6 2 17 0l2 5c-6 2-9 6-9 12h8v17zm25 0V20C25 9 31 2 42 0l2 5c-6 2-9 6-9 12h8v17z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M0 34V20C0 9 6 2 17 0l2 5c-6 2-9 6-9 12h8v17zm25 0V20C25 9 31 2 42 0l2 5c-6 2-9 6-9 12h8v17z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wp-block-quote.is-style-ep-dark p { font-size: 1.3125rem; line-height: 1.45; font-weight: 600; margin: 0; }
.wp-block-quote.is-style-ep-dark cite { display: block; margin-top: 18px; font-size: 0.875rem; font-style: normal; color: #CACBCD; }

/* ---------- Pagine generiche ---------- */
.ep-prose a { text-decoration: underline; }

/* ---------- Footer ---------- */
.ep-footer { background: var(--ep-c-ink); color: #CACBCD; font-size: 0.875rem; line-height: 1.6; padding-top: 56px; }
.ep-footer a { color: #CACBCD; text-decoration: none; }
.ep-footer a:hover { color: #fff; }
.ep-footer .is-style-ep-eyebrow { color: #fff; margin-bottom: 10px; font-size: 0.75rem; }
.ep-footer__cols { gap: 40px 48px; }
.ep-footer__about > * + * { margin-top: 14px; }
.ep-footer__about p { margin-bottom: 0; }
.ep-footer__about .wp-block-button__link { min-height: 44px; padding: 0 18px; font-size: 0.875rem; color: var(--ep-c-ink); }
.ep-footer__links { gap: 32px; }
.ep-footer__links .wp-block-group > * { margin: 0; }
.ep-footer__legal { border-top: 1px solid #454C55; margin-top: 40px; padding: 20px 0 28px; font-size: 0.75rem; color: #B3B7BC; gap: 8px 24px; }
.ep-footer__legal p { margin: 0; }
.ep-footer__legal a { color: #B3B7BC; text-decoration: underline; }

/* ---------- v1.1: riquadro blu commissioni ---------- */
.is-style-ep-card-blue { background: var(--ep-c-blue); color: #E3ECF8; border-radius: var(--ep-r); padding: 36px; box-sizing: border-box; }
.is-style-ep-card-blue > * { margin-block: 0; }
.is-style-ep-card-blue > * + * { margin-block-start: 14px; }
.is-style-ep-eyebrow.ep-on-blue { color: #CFE0F5; }
.ep-big-rate { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1; font-weight: 800; color: var(--ep-c-yellow); }
.is-style-ep-white .wp-block-button__link { background: #fff; color: var(--ep-c-blue); min-height: 48px; padding: 0 18px; }
.is-style-ep-white .wp-block-button__link:hover { background: var(--ep-c-grey); color: var(--ep-c-blue); }

/* ---------- v1.1: pagina servizio ricca (Sponsorizzazioni) ---------- */
.ep-stack-lg > * { margin-block: 0; }
.ep-stack-lg > * + * { margin-block-start: 56px; }
.ep-sub > * { margin-block: 0; }
.ep-sub > * + * { margin-block-start: 20px; }
.ep-formats { gap: 16px; }
.ep-format { padding: 24px; }
.ep-format > * { margin: 0; }
.ep-format h3 { margin-top: 12px; font-size: 1.125rem; }
.ep-format p { margin-top: 8px; font-size: 0.9375rem; color: var(--ep-c-text-2); }
.ep-format::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 8px; background: #FFF4D1 var(--ep-fmt-icon) center / 22px no-repeat; }
.ep-format--display { --ep-fmt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3139' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v12H3zM8 21h8M12 17v4'/%3E%3C/svg%3E"); }
.ep-format--store { --ep-fmt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3139' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9M4 9v11h16V9M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.ep-format--mail { --ep-fmt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3139' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ep-format--bell { --ep-fmt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3139' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.ep-format--share { --ep-fmt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3139' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E"); }
.ep-format--book { --ep-fmt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B3139' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h12v16H6a2 2 0 0 1-2-2zM16 8h4v10a2 2 0 0 1-2 2h-2M8 8h4M8 12h4'/%3E%3C/svg%3E"); }
.ep-split { gap: 20px 32px; align-items: center; }
.ep-split .ep-grow > * { margin-block: 0; }
.ep-split .ep-grow > * + * { margin-block-start: 8px; }
.is-style-ep-card-dark .is-style-ep-lead, .is-style-ep-card-dark p:not(.is-style-ep-eyebrow) { color: #E6E7EA; }
.is-style-ep-card-dark h2 { color: #fff; }
.is-style-ep-steps.ep-steps--2 li { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; padding: 22px 24px; }
.is-style-ep-steps.ep-steps--2 li::before { grid-row: 1 / span 2; width: 36px; height: 36px; font-size: 1rem; }
.is-style-ep-steps.ep-steps--2 li strong { grid-column: 2; font-size: 1.0625rem; }

/* ---------- v1.2: offerte Sponsorizzazioni con screenshot ---------- */
.ep-offers { counter-reset: ep-offer; }
.ep-stack-lg.ep-offers > * + * { margin-block-start: 64px; }
.ep-stack-lg.ep-offers > .ep-jump + * { margin-block-start: 40px; }
.ep-jump { gap: 8px; }
.ep-jump .wp-block-button__link { min-height: 44px; border-radius: 999px; font-size: 0.9375rem; border-color: #A9ADB2; }
.ep-offer { counter-increment: ep-offer; scroll-margin-top: 24px; }
.ep-offer > * { margin-block: 0; }
.ep-offer > * + * { margin-block-start: 16px; }
.ep-offer__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.ep-offer__eyebrow::before { content: counter(ep-offer); width: 28px; height: 28px; border-radius: 50%; background: var(--ep-c-yellow); color: var(--ep-c-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 800; letter-spacing: 0; }
.ep-offer h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.ep-offer > p { color: var(--ep-c-text-2); }
.ep-checks-2 { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 24px !important; font-size: 0.9375rem; }
.ep-offer .ep-shot { margin-block-start: 24px; }
.ep-shot img { width: 100%; height: auto; display: block; border: 1px solid var(--ep-c-line); border-radius: var(--ep-r); }
.ep-shot figcaption { margin: 8px 0 0; font-size: 0.8125rem; color: var(--ep-c-muted); text-align: left; }

/* ---------- v1.3: canali delle campagne ---------- */
.ep-channels { gap: 12px; }
.ep-channel { background: var(--ep-c-grey); border-radius: var(--ep-r); padding: 18px 20px; }
.ep-channel > * { margin: 0; }
.ep-channel > * + * { margin-top: 10px; }
.ep-channel .is-style-ep-eyebrow { font-size: 0.75rem; }
.ep-namechips { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ep-namechips li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 6px; background: #fff; border: 1px solid var(--ep-c-line); font-size: 0.875rem; font-weight: 700; color: var(--ep-c-ink); }

/* ---------- v1.4: home interattiva ---------- */
.ep-hero-band { background-color: var(--ep-c-ink); background-image: radial-gradient(circle at 85% 20%, rgba(251, 189, 11, .16), rgba(251, 189, 11, 0) 45%), radial-gradient(circle at 10% 110%, rgba(0, 70, 149, .45), rgba(0, 70, 149, 0) 50%); color: #fff; padding-block: 72px 132px; overflow: hidden; margin-block-start: 0 !important; }
.ep-hero-band__cols { gap: 40px 56px; margin: 0; }
.ep-hero-band__text > * { margin-block: 0; }
.ep-hero-band__text > * + * { margin-block-start: 22px; }
.ep-hero__title--xl { font-size: clamp(2.25rem, 4.6vw, 3.625rem); line-height: 1.02; letter-spacing: -0.025em; }
.ep-hero-band .is-style-ep-lead { color: #E6E7EA; }
.ep-trust { flex-direction: row !important; flex-wrap: wrap; gap: 10px 22px !important; font-size: 0.875rem; font-weight: 600; color: #E6E7EA; }
.ep-trust li { padding-left: 26px !important; }
.ep-trust li::before { width: 18px !important; height: 18px !important; top: 1px !important; }
.wp-block-columns.ep-offer-row { position: relative; z-index: 2; margin-block-start: -84px !important; gap: 16px; }
.ep-offer-row .ep-tile { box-shadow: 0 18px 40px -18px rgba(31, 35, 40, .35); }
.ep-offer-row .ep-tile--outline { border: 0; box-shadow: 0 18px 40px -18px rgba(31, 35, 40, .35), 0 0 0 1px var(--ep-c-line); }
.ep-offer-row .ep-tile--blue { box-shadow: 0 18px 40px -18px rgba(0, 70, 149, .6); }
.ep-offer-row .ep-tile--yellow { box-shadow: 0 18px 40px -18px rgba(251, 189, 11, .8); }
.ep-offer-row .ep-tile__big { font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1; }
.ep-offer-row .ep-tile--yellow .ep-tile__big { font-size: clamp(1.875rem, 2.6vw, 2.5rem); line-height: 1.05; }
.ep-intro { margin-bottom: 32px; }
.ep-intro > * { margin-block: 0; }
.ep-intro > * + * { margin-block-start: 10px; }
.wp-block-column.ep-intro { margin-bottom: 0; }
.wp-block-column.ep-intro > .ep-block { margin-block-start: 28px; }
.is-style-ep-eyebrow.ep-on-light { color: var(--ep-c-blue); }
.ep-anchor { scroll-margin-top: 24px; }
.ep-band-pad-lg { padding-block: 88px; }
.ep-band-pad-lg .ep-h-xl { font-size: clamp(1.875rem, 4vw, 2.5rem); }
.is-style-ep-band-black .is-style-ep-card-dark { padding: 32px; border-radius: 12px; }
.is-style-ep-band-black .is-style-ep-card-dark .is-style-ep-eyebrow { color: #CACBCD; }
.is-style-ep-band-black .is-style-ep-card-dark h3 { color: #fff; }
.is-style-ep-card-dark .ep-block + .wp-block-buttons { margin-block-start: 24px; }
.is-style-ep-card-dark .wp-block-button__link { min-height: 48px; }
@media (max-width: 781px) {
	.ep-hero-band { padding-block: 48px 120px; }
	.wp-block-columns.ep-offer-row { margin-block-start: -88px !important; }
	.ep-band-pad-lg { padding-block: 56px; }
	.is-style-ep-band-black .is-style-ep-card-dark { padding: 24px 20px; }
}

/* ---------- v1.5: intestazioni scure di Costi e Servizi ---------- */
.ep-hero-band--page { padding-block: 40px 64px; }
.ep-hero-band--overlap { padding-bottom: 132px; }
.ep-pagehead-text { max-width: var(--wp--style--global--content-size) !important; padding-right: max(0px, calc(100% - 780px)); box-sizing: border-box; }
.ep-pagehead-row .ep-pagehead-text { flex: 1 1 560px; padding-right: 0; max-width: 780px !important; }
.is-style-ep-band-black .is-style-ep-lead { color: #CACBCD; }
.ep-pagehead-text > * { margin-block: 0; }
.ep-pagehead-text > * + * { margin-block-start: 14px; }
.ep-hero__title--page { font-size: clamp(2.125rem, 4.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.025em; }
.ep-hero-band .ep-breadcrumb ol { color: #CACBCD; }
.ep-hero-band .ep-breadcrumb a { color: var(--ep-c-yellow); }
.ep-hero-band .ep-costi-formula { margin-block-start: 40px; }
.ep-pagehead-row { gap: 24px; }
.ep-pagehead-row > .wp-block-buttons { margin: 0; }
.ep-block.ep-offer-row { position: relative; z-index: 2; margin-block-start: -84px; }
.wp-block-heading.ep-intro { margin-bottom: 28px; }
@media (max-width: 781px) {
	.ep-hero-band--page { padding-block: 32px 48px; }
	.ep-hero-band--overlap { padding-bottom: 120px; }
	.ep-block.ep-offer-row { margin-block-start: -88px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.is-style-ep-hero { padding: 32px 24px; }
	.is-style-ep-card, .is-style-ep-panel { padding: 28px 22px; }
	.is-style-ep-card-dark, .is-style-ep-card-blue { padding: 28px 22px; }
	.ep-pagehead { padding-block: 28px 36px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* 1.5.4 · Evidenziazione nei titoli: senza lo stile in linea (tolto da kses) il browser mostrerebbe lo sfondo giallo di <mark>. */
mark.has-inline-color { background-color: transparent; }
