/*
Theme Name:   NI Polidoro (Astra Child)
Author:       Nextindustry
Author URI:   https://nextindustry.com
Template:     astra
Description:  Child theme Polidoro / Davhex. Colori, font e dimensioni sono in theme.json (modificabili dall'editor a blocchi); qui restano solo i pochi stili che i blocchi non coprono.
Version: 1.4.2
Text Domain:  ni-polidoro
*/

/* =========================================================
   Il layout e i colori delle sezioni si gestiscono dall'editor
   (blocchi Gruppo, Colonne, Cover, Pulsanti). Questo file contiene
   solo ciò che i blocchi non permettono di impostare.
   ========================================================= */

/* Pagine a tutta larghezza: niente margini laterali di Astra attorno alle sezioni */
.entry-content > .alignfull{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw;width:100vw;}
.entry-content > .wp-block-group,
.entry-content > .wp-block-cover{margin-block-start:0;margin-block-end:0;}

/* Pulsanti: hover */
.wp-block-button__link:hover{opacity:.9;}

/* Icone delle card (SVG come maschera, colore teal): classe da aggiungere al gruppo */
.dx-ico-factory::before,.dx-ico-clock::before,.dx-ico-scale::before,.dx-ico-pen::before,.dx-ico-box::before{
  content:"";display:block;width:52px;height:52px;margin:0 auto 12px;background:var(--wp--preset--color--dx-teal);
  -webkit-mask:var(--dx-ico) center/contain no-repeat;mask:var(--dx-ico) center/contain no-repeat;
}
.dx-ico-factory{--dx-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M3 21h18M5 21V10l5-4 5 4v11M13 21v-7h4v7M9 21v-4'/%3E%3Cpath d='M9 13h.01M9 16h.01'/%3E%3C/svg%3E");}
.dx-ico-clock{--dx-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E");}
.dx-ico-scale{--dx-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='11' width='7' height='7' rx='1'/%3E%3Crect x='13' y='4' width='8' height='14' rx='1'/%3E%3C/svg%3E");}
.dx-ico-pen{--dx-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");}
.dx-ico-box{--dx-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E");}

/* Tabelle: intestazione grigia, 2ª colonna in teal (il blocco Tabella non ha queste opzioni) */
.wp-block-table.dx-table{max-width:900px;margin:28px auto 0;overflow-x:auto;}
.wp-block-table.dx-table table{width:100%;border-collapse:collapse;border:.8px solid var(--wp--preset--color--dx-border);background:#fff;color:var(--wp--preset--color--dx-ink);}
.wp-block-table.dx-table thead{border:0;}
.wp-block-table.dx-table thead th{background:var(--wp--preset--color--dx-card);text-align:left;padding:12px 16px;font-size:16px;font-weight:700;letter-spacing:1px;text-transform:uppercase;border:0;border-bottom:.8px solid var(--wp--preset--color--dx-border);}
.wp-block-table.dx-table td{padding:12px 16px;border:0;border-bottom:.8px solid #f0f2f4;vertical-align:top;font-size:16px;}
.wp-block-table.dx-table tbody tr:last-child td{border-bottom:none;}
.wp-block-table.dx-table td:nth-child(1){font-weight:600;}
.wp-block-table.dx-table td:nth-child(2){font-weight:600;color:var(--wp--preset--color--dx-teal);}
.wp-block-table.dx-table td:nth-child(3){color:var(--wp--preset--color--dx-ink-60);line-height:1.375;}

/* Immagini dei chevron: altezza fissa */
.dx-chevron img{height:200px;width:auto;}

/* Tabelle design system (dx-tbl): A Hairline · C Spec sheet · D On dark.
   Sostituiscono il vecchio .dx-table (lasciato sopra per compatibilità). */
.wp-block-table.dx-tbl{max-width:900px;margin:28px auto 0;overflow-x:auto;border-radius:2px;}
.wp-block-table.dx-tbl table{width:100%;border-collapse:separate;border-spacing:0;border:0;font-size:15px;font-variant-numeric:tabular-nums;color:var(--wp--preset--color--dx-ink);}
.wp-block-table.dx-tbl th,.wp-block-table.dx-tbl td{padding:13px 18px;text-align:left;vertical-align:top;background:transparent;border:0;}
.wp-block-table.dx-tbl thead{border:0;}
.wp-block-table.dx-tbl td.num,.wp-block-table.dx-tbl th.num{text-align:right;white-space:nowrap;}
.wp-block-table.dx-tbl .u{color:var(--wp--preset--color--dx-ink-60);font-weight:400;margin-left:2px;}
/* A · Hairline */
.wp-block-table.dx-tbl--a{border:1px solid var(--wp--preset--color--dx-dark);}
.wp-block-table.dx-tbl--a table{background:#fff;}
.wp-block-table.dx-tbl--a th{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--dx-dark);border-bottom:1px solid var(--wp--preset--color--dx-dark);}
.wp-block-table.dx-tbl--a td{border-bottom:1px solid rgba(0,51,42,.14);}
.wp-block-table.dx-tbl--a tr:last-child td{border-bottom:0;}
.wp-block-table.dx-tbl--a td:first-child{font-weight:600;color:var(--wp--preset--color--dx-dark);}
.wp-block-table.dx-tbl--a td:nth-child(3){color:var(--wp--preset--color--dx-ink-60);}
/* C · Spec sheet */
.wp-block-table.dx-tbl--c{border:1px solid var(--wp--preset--color--dx-dark);}
.wp-block-table.dx-tbl--c table{background:#fff;}
.wp-block-table.dx-tbl--c th{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--dx-ink-60);padding-top:10px;padding-bottom:10px;background:var(--wp--preset--color--dx-card);border-bottom:1px solid rgba(0,51,42,.32);}
.wp-block-table.dx-tbl--c td{border-bottom:1px dashed rgba(0,51,42,.32);}
.wp-block-table.dx-tbl--c tr:last-child td{border-bottom:0;}
.wp-block-table.dx-tbl--c td.idx{width:44px;color:var(--wp--preset--color--dx-ink-60);font-weight:700;font-size:12px;letter-spacing:.06em;padding-right:0;}
.wp-block-table.dx-tbl--c td.lbl{color:var(--wp--preset--color--dx-dark);font-weight:500;}
.wp-block-table.dx-tbl--c td.num{color:var(--wp--preset--color--dx-dark);font-weight:700;font-size:16px;}
.wp-block-table.dx-tbl--c td.note{color:var(--wp--preset--color--dx-ink-60);font-size:13px;}
/* D · On dark */
.wp-block-table.dx-tbl--d{border:1px solid var(--wp--preset--color--dx-mint);background:var(--wp--preset--color--dx-dark);}
.wp-block-table.dx-tbl--d table{color:#fff;background:transparent;}
.wp-block-table.dx-tbl--d th{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--dx-mint);border-bottom:1px solid var(--wp--preset--color--dx-mint);}
.wp-block-table.dx-tbl--d td{border-bottom:1px solid rgba(114,203,185,.22);}
.wp-block-table.dx-tbl--d tr:last-child td{border-bottom:0;}
.wp-block-table.dx-tbl--d td:first-child{font-weight:600;}
.wp-block-table.dx-tbl--d td:nth-child(2){color:var(--wp--preset--color--dx-mint);font-weight:600;}
.wp-block-table.dx-tbl--d td:nth-child(3){color:rgba(255,255,255,.6);}

/* =========================================================
   v1.3.0 · Pattern Davhex realizzati con blocchi nativi.
   Si applicano dal pannello "Stili" del blocco (Gruppo, Paragrafo,
   Elenco, Immagine): nessun HTML personalizzato nelle pagine.
   ========================================================= */

/* ---------- Eyebrow, lead, note, mono (Paragrafo) ---------- */
.is-style-dx-eyebrow{margin:0 0 12px;font-size:13px;font-weight:600;letter-spacing:1.1px;text-transform:uppercase;color:#007a79;}
.has-dx-dark-background-color .is-style-dx-eyebrow,.is-style-dx-eco .is-style-dx-eyebrow{color:#72cbb9;}
.is-style-dx-lead{max-width:640px;font-size:18px;line-height:1.6;color:#2c3a36;}
.is-style-dx-note{margin:18px 0 0;font-size:13px;line-height:1.5;color:#5b6b66;}
.is-style-dx-mono{font:11px/1.5 Menlo,Consolas,monospace;letter-spacing:1px;text-transform:uppercase;color:#007a79;}
.is-style-dx-stat-number{margin:0;font-size:44px;line-height:1.05;font-weight:800;color:#00332a;}

/* ---------- Hero con sfondo a rotazione (Gruppo > stile "Davhex · Hero") ---------- */
.is-style-dx-hero{position:relative;background:#00332a;color:#fff;overflow:hidden;min-height:736px;display:flex!important;align-items:center;margin-top:0!important;margin-bottom:0!important;}
.is-style-dx-hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#00332a 0%,rgba(0,51,42,.8) 16%,rgba(3,42,36,.6) 100%);}
.is-style-dx-hero .dx-hero__bg{position:absolute;inset:0;margin:0;padding:0;}
.is-style-dx-hero .dx-hero__bg figure{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1.2s ease;}
.is-style-dx-hero .dx-hero__bg figure:first-child{opacity:1;}
.is-style-dx-hero.is-js .dx-hero__bg figure:first-child{opacity:0;}
.is-style-dx-hero.is-js .dx-hero__bg figure.is-active{opacity:1;}
.is-style-dx-hero .dx-hero__bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.is-style-dx-hero .dx-hero__in{position:relative;z-index:2;width:100%;max-width:1280px;margin:0 auto;padding:96px 24px 88px;box-sizing:border-box;}
.is-style-dx-hero .dx-hero__in>*{max-width:760px;}
.is-style-dx-hero h1{margin:0;line-height:1.08;font-weight:800;color:#fff;}
.is-style-dx-hero h1 mark{display:inline;padding:0 .12em;background:#72cbb9;color:#00332a;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:opacity .35s ease;}
.is-style-dx-hero h1 mark::before{content:"\200b";}
.is-style-dx-hero h1 mark:empty{background:transparent;}
.is-style-dx-hero .dx-hero__in>p:not(.is-style-dx-eyebrow){margin:24px 0 0;max-width:640px;line-height:1.65;}
.is-style-dx-hero .wp-block-buttons{margin-top:32px;gap:12px;}
.is-style-dx-hero .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4);}
.is-style-dx-hero .dx-hero__words{display:none;}
.is-style-dx-hero .dx-hero__dots{display:flex;gap:10px;margin-top:40px;}
.is-style-dx-hero .dx-hero__dots button{width:28px;height:4px;padding:0;border:0;border-radius:2px;background:rgba(255,255,255,.3);cursor:pointer;}
.is-style-dx-hero .dx-hero__dots button.is-active{background:#72cbb9;}
/* nell'editor le immagini di sfondo restano modificabili */
.editor-styles-wrapper .is-style-dx-hero{display:block!important;}
.editor-styles-wrapper .is-style-dx-hero::before{display:none;}
.editor-styles-wrapper .is-style-dx-hero .dx-hero__bg{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;}
.editor-styles-wrapper .is-style-dx-hero .dx-hero__bg figure{position:relative;opacity:1;}
.editor-styles-wrapper .is-style-dx-hero .dx-hero__bg img{position:static;height:auto;}
.editor-styles-wrapper .is-style-dx-hero .dx-hero__words{display:block;margin-top:16px;padding:10px 10px 10px 34px;background:rgba(255,255,255,.12);}
.editor-styles-wrapper .is-style-dx-hero .dx-hero__words::before{content:"Parole che ruotano nel titolo (stesso ordine delle immagini)";display:block;margin:0 0 6px -22px;font-size:12px;color:#72cbb9;}

/* ---------- Card applicazione (Gruppo > "Davhex · Card applicazione") ---------- */
.dx-cards.is-layout-grid{align-items:stretch;}
.is-style-dx-app{position:relative;display:flex!important;flex-direction:column;margin:0;background:#00332a;border:1px solid #00332a;border-top:3px solid #72cbb9;border-radius:2px;color:#fff;overflow:hidden;transition:background .25s,border-color .25s,transform .25s;}
.has-dx-dark-background-color .is-style-dx-app{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2);border-top-color:#72cbb9;}
.is-style-dx-app>figure{position:relative;margin:0;overflow:hidden;background:#00251f;}
.is-style-dx-app>figure img{display:block;width:100%;transition:transform .5s ease;}
.is-style-dx-app>figure::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,51,42,0) 40%,rgba(0,51,42,.55) 100%);pointer-events:none;}
.is-style-dx-app .dx-app__b{display:flex;flex-direction:column;flex:1;padding:22px 22px 24px;}
.is-style-dx-app .dx-app__b>*{margin:0;}
.is-style-dx-app .dx-app__t{margin:0 0 6px;font-size:22px;line-height:1.25;font-weight:800;color:#fff;letter-spacing:0;}
.is-style-dx-app .dx-app__t a{color:inherit;text-decoration:none;}
.is-style-dx-app .dx-app__t a::after{content:"";position:absolute;inset:0;z-index:3;}
.is-style-dx-app .dx-app__k{margin:0 0 10px;font-size:14px;font-weight:600;line-height:1.4;color:#72cbb9;}
.is-style-dx-app .dx-app__d{margin:0 0 16px;font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.82);}
.is-style-dx-app ul.dx-app__tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;padding:0;list-style:none;}
.is-style-dx-app ul.dx-app__tags li{margin:0;padding:3px 9px;border:1px solid rgba(255,255,255,.35);border-radius:2px;font-size:12px;line-height:1.5;color:rgba(255,255,255,.9);}
.is-style-dx-app .dx-app__c{margin-top:auto;font:11px/1.5 Menlo,Consolas,monospace;letter-spacing:1px;text-transform:uppercase;color:#72cbb9;transition:letter-spacing .25s;}
.is-style-dx-app:hover,.is-style-dx-app:focus-within{background:#fff;border-color:#fff;border-top-color:#72cbb9;transform:translateY(-4px);}
.is-style-dx-app:hover>figure img{transform:scale(1.06);}
.is-style-dx-app:hover .dx-app__t,.is-style-dx-app:focus-within .dx-app__t{color:#00332a;}
.is-style-dx-app:hover .dx-app__k{color:#007a79;}
.is-style-dx-app:hover .dx-app__d{color:#2b3640;}
.is-style-dx-app:hover ul.dx-app__tags li{border-color:rgba(0,51,42,.3);color:#00332a;background:#f3f6f5;}
.is-style-dx-app:hover .dx-app__c{color:#007a79;letter-spacing:1.6px;}
/* variante grande (2 colonne) */
.dx-cards--lg .is-style-dx-app .dx-app__b{padding:24px 26px 26px;}
.dx-cards--lg .is-style-dx-app .dx-app__t{font-size:24px;}
.dx-cards--lg .is-style-dx-app .dx-app__k{font-size:15px;}
.dx-cards--lg .is-style-dx-app .dx-app__d{font-size:15px;}
.dx-cards--lg:not(.has-dx-dark-background-color) .is-style-dx-app:hover{border-color:#00332a;}
.editor-styles-wrapper .is-style-dx-app .dx-app__t a::after,.editor-styles-wrapper .is-style-dx-model .dx-model__t a::after,.editor-styles-wrapper .is-style-dx-doc a::after{content:none;}

/* ---------- Card modello prodotto ---------- */
.is-style-dx-model{position:relative;display:flex!important;flex-direction:column;gap:6px;margin:0;padding:22px 22px 20px;background:#fff;border:1px solid rgba(0,51,42,.2);border-top:3px solid #008a89;border-radius:2px;color:#0b0f14;transition:border-color .25s,box-shadow .25s,transform .25s;}
.is-style-dx-model>*{margin:0;}
.is-style-dx-model .dx-model__t{font-size:22px;line-height:1.2;font-weight:800;color:#00332a;letter-spacing:0;}
.is-style-dx-model .dx-model__t a{color:inherit;text-decoration:none;}
.is-style-dx-model .dx-model__t a::after{content:"";position:absolute;inset:0;z-index:3;}
.is-style-dx-model .dx-model__d{margin:6px 0 14px;font-size:14px;line-height:1.5;color:#3a4650;}
.is-style-dx-model .dx-model__c{margin-top:auto;font:11px/1.5 Menlo,Consolas,monospace;letter-spacing:1px;text-transform:uppercase;color:#007a79;}
.is-style-dx-model:hover,.is-style-dx-model:focus-within{border-color:#00332a;border-top-color:#00332a;box-shadow:0 8px 24px rgba(0,51,42,.14);transform:translateY(-3px);}
.is-style-dx-model.is-cta{background:#00332a;border-color:#00332a;border-top-color:#72cbb9;grid-column:span 2;}
.is-style-dx-model.is-cta .dx-model__t{color:#fff;}
.is-style-dx-model.is-cta .dx-model__d{color:rgba(255,255,255,.82);}
.is-style-dx-model.is-cta .dx-model__c{color:#72cbb9;}
.is-style-dx-model.is-cta:hover{background:#004a3d;}
.dx-prod .dx-prod__img{position:relative;height:100%;min-height:420px;margin:0;border-radius:2px;overflow:hidden;background:#3b3b3b;border-top:3px solid #72cbb9;}
.dx-prod .dx-prod__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.dx-prod .dx-prod__img figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:36px 18px 14px;font:11px/1.5 Menlo,Consolas,monospace;letter-spacing:1px;text-transform:uppercase;color:#fff;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.7));}

/* ---------- Elenchi ---------- */
ul.is-style-dx-plist{margin:20px 0 0;padding:0;list-style:none;}
ul.is-style-dx-plist li{margin:0;padding:9px 0;border-top:1px solid rgba(0,51,42,.14);font-size:14px;color:#2b3640;}

/* ---------- Box form ---------- */
.is-style-dx-form{background:#fff;border:1px solid rgba(0,51,42,.2);border-top:3px solid #00332a;border-radius:2px;padding:28px;}
.is-style-dx-form .fluentform .ff-t-container{gap:16px}.is-style-dx-form .fluentform .ff-el-group{margin-bottom:16px}.is-style-dx-form .fluentform label{font-weight:600;font-size:14px;color:#0b0f14}.is-style-dx-form .fluentform .ff-el-form-control{border:1px solid #cfd8d5;border-radius:2px;padding:12px 14px;background:#fff;box-shadow:none}.is-style-dx-form .fluentform .ff-el-form-control:focus{border-color:#008a89;box-shadow:0 0 0 3px rgba(114,203,185,.35);outline:0}.is-style-dx-form .fluentform .ff-btn-submit{background:#00332a!important;color:#fff!important;border-radius:2px;font-weight:700;padding:14px 28px;border:0}.is-style-dx-form .fluentform .ff-btn-submit:hover{background:#008a89!important}.is-style-dx-form .fluentform .ff_tc_label,.is-style-dx-form .fluentform .ff-el-tc label{font-weight:400;font-size:13px}.is-style-dx-form .fluentform .ff-message-success{border:1px solid #72cbb9;background:#f3f6f5;color:#00332a;border-radius:2px}

/* ---------- Sostenibilità: fascia EcoVadis, numeri, card, documenti ---------- */
.is-style-dx-eco{display:grid!important;grid-template-columns:200px minmax(0,1fr);gap:48px;align-items:center;max-width:1100px;margin:0 auto;padding:48px 56px;background:#00332a;border-top:3px solid #72cbb9;border-radius:2px;color:#fff;}
.is-style-dx-eco>*{margin:0;}
.is-style-dx-eco>figure{background:#fff;border-radius:2px;padding:20px;display:flex;align-items:center;justify-content:center;}
.is-style-dx-eco>figure img{width:100%;height:auto;display:block;}
.is-style-dx-eco h2{margin:0 0 14px;font-weight:800;color:#fff;}
.is-style-dx-eco p:not(.is-style-dx-eyebrow){margin:0 0 24px;font-size:17px;line-height:1.6;color:rgba(255,255,255,.85);}
.dx-stats.is-layout-grid{border-top:1px solid #cfd8d5;border-bottom:1px solid #cfd8d5;}
.is-style-dx-stat{padding:32px 28px;border-left:1px solid #cfd8d5;margin:0;}
.dx-stats>.is-style-dx-stat:first-child{border-left:0;}
.is-style-dx-stat>p:not(.is-style-dx-stat-number){margin:10px 0 0;font-size:15px;line-height:1.5;color:#2c3a36;}
.is-style-dx-card{margin:0;background:#fff;border:1px solid #dfe6e3;border-top:3px solid #72cbb9;border-radius:2px;padding:24px 24px 26px;}
.is-style-dx-card>*{margin:0;}
.is-style-dx-card h3{margin:0 0 8px;font-size:19px;line-height:1.3;font-weight:800;color:#00332a;letter-spacing:0;}
.is-style-dx-card p{font-size:15px;line-height:1.6;color:#2c3a36;}
.is-style-dx-doc{position:relative;display:flex!important;flex-direction:column;gap:10px;margin:0;padding:24px;background:#00332a;border-top:3px solid #72cbb9;border-radius:2px;color:#fff;transition:background .25s,transform .25s;}
.is-style-dx-doc>*{margin:0;}
.is-style-dx-doc .is-style-dx-mono{color:#72cbb9;}
.is-style-dx-doc p{font-size:17px;line-height:1.35;font-weight:700;color:#fff;}
.is-style-dx-doc a{color:#fff;text-decoration:none;}
.is-style-dx-doc a::after{content:"";position:absolute;inset:0;z-index:3;}
.is-style-dx-doc:hover{background:#008a89;transform:translateY(-3px);}
.dx-side-img img{width:100%;max-width:170px;height:auto;}

/* ---------- Responsive ---------- */
@media(max-width:1100px){
 .dx-cards.is-layout-grid.dx-cards--4{grid-template-columns:repeat(2,minmax(0,1fr));}
 .dx-models.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .dx-prod .dx-prod__img{min-height:380px;}
}
@media(max-width:900px){
 .is-style-dx-eco{grid-template-columns:1fr;gap:28px;padding:32px 24px;}
 .is-style-dx-eco>figure{max-width:180px;}
 .dx-stats.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .dx-stats>.is-style-dx-stat:nth-child(3){border-left:0;}
 .dx-stats>.is-style-dx-stat:nth-child(n+3){border-top:1px solid #cfd8d5;}
}
@media(max-width:781px){.dx-split-grid.is-layout-grid,.dx-grid-2.is-layout-grid{grid-template-columns:minmax(0,1fr);}}
@media(max-width:720px){.dx-cards.is-layout-grid.dx-cards--2{grid-template-columns:minmax(0,1fr);}}
@media(max-width:600px){
 .is-style-dx-hero{min-height:620px;}
 .is-style-dx-hero .dx-hero__in{padding:72px 20px 64px;}
 .dx-cards.is-layout-grid,.dx-models.is-layout-grid,.dx-grid-2.is-layout-grid,.dx-stats.is-layout-grid{grid-template-columns:minmax(0,1fr);}
 .is-style-dx-model.is-cta{grid-column:auto;}
 .dx-stats>.is-style-dx-stat{border-left:0;border-top:1px solid #cfd8d5;}
 .dx-stats>.is-style-dx-stat:first-child{border-top:0;}
}

/* v1.3.1 · il flusso dei blocchi di Gruppo non deve aggiungere spazi dentro le card */
.is-style-dx-app>*,.is-style-dx-model>*,.is-style-dx-card>*,.is-style-dx-doc>*,.is-style-dx-stat>*,.is-style-dx-eco>*,
.is-style-dx-app .dx-app__b>*,.is-style-dx-hero .dx-hero__bg>*,.is-style-dx-form>*{margin-block-start:0!important;}
.is-style-dx-card>h3{margin-bottom:8px!important;}
.is-style-dx-stat>p:not(.is-style-dx-stat-number){margin-top:10px!important;}
.is-style-dx-hero .dx-hero__in>*{margin-block-start:0!important;}
.is-style-dx-hero .dx-hero__in>p:not(.is-style-dx-eyebrow),.is-style-dx-hero .dx-hero__in>.wp-block-buttons{margin-top:24px!important;}
.is-style-dx-hero .dx-hero__in>.wp-block-buttons{margin-top:32px!important;}
.is-style-dx-hero .wp-block-button.is-style-outline .wp-block-button__link{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.4)!important;}
.is-style-dx-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:#72cbb9!important;color:#00332a!important;}
.dx-prod .wp-block-column:first-child{min-width:0;}


/* =========================================================
   v1.4.0 · Pagine Quality e Worldwide presence
   ========================================================= */

/* Numeri chiave su sfondo scuro (Gruppo "Davhex · Numero chiave" dentro una sezione dx-dark) */
.has-dx-dark-background-color .dx-stats.is-layout-grid{border-color:rgba(255,255,255,.2);}
.has-dx-dark-background-color .is-style-dx-stat{border-color:rgba(255,255,255,.2);}
.has-dx-dark-background-color .is-style-dx-stat-number{color:#72cbb9;}
.has-dx-dark-background-color .is-style-dx-stat>p:not(.is-style-dx-stat-number){color:rgba(255,255,255,.82);}
.has-dx-dark-background-color .is-style-dx-note{color:rgba(255,255,255,.6);}

/* Card foto (Gruppo > "Davhex · Card foto"): immagine + titolo H3 + testo */
.is-style-dx-photo{display:flex!important;flex-direction:column;margin:0;background:#fff;border:1px solid #dfe6e3;border-top:3px solid #72cbb9;border-radius:2px;overflow:hidden;transition:transform .25s,box-shadow .25s;}
.is-style-dx-photo>*{margin-block-start:0!important;margin-block-end:0;}
.is-style-dx-photo>figure{margin:0;overflow:hidden;aspect-ratio:3/2;background:#00251f;}
.is-style-dx-photo>figure img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.is-style-dx-photo>h3{padding:20px 22px 0;font-size:18px;line-height:1.3;font-weight:800;color:#00332a;letter-spacing:0;}
.is-style-dx-photo>p{padding:8px 22px 24px;font-size:14.5px;line-height:1.55;color:#2c3a36;}
.is-style-dx-photo:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,51,42,.14);}
.is-style-dx-photo:hover>figure img{transform:scale(1.05);}
.has-dx-card-background-color .is-style-dx-photo{border-color:#dfe6e3;}

/* Riga di loghi (Gruppo a griglia con classe "dx-logos" che contiene blocchi Immagine) */
.dx-logos.is-layout-grid{align-items:stretch;}
.dx-logos figure{display:flex;align-items:center;justify-content:center;height:112px;margin:0;padding:16px;background:#fff;border:1px solid #dfe6e3;border-radius:2px;transition:border-color .25s,box-shadow .25s;}
.dx-logos figure img{width:auto!important;max-width:100%;max-height:64px;height:auto;filter:grayscale(1);opacity:.7;transition:filter .3s,opacity .3s;}
.dx-logos figure:hover{border-color:#72cbb9;box-shadow:0 8px 20px rgba(0,51,42,.1);}
.dx-logos figure:hover img{filter:none;opacity:1;}

/* ---------- Mappa interattiva (Gruppo > "Davhex · Mappa interattiva") ---------- */
.is-style-dx-map{position:relative;margin:0;}
.is-style-dx-map:not(.is-js)>figure{margin:0;}
.is-style-dx-map:not(.is-js)>figure img{display:block;width:100%;height:auto;border-radius:2px;}
.is-style-dx-map.is-js>figure{display:none;}
.dx-map__wrap{position:relative;}
.dx-map__stage{position:relative;aspect-ratio:1000/576;overflow:hidden;border-radius:2px;border-top:3px solid #72cbb9;background:radial-gradient(120% 95% at 28% 12%,#08665f 0%,#00423a 45%,#00251f 100%);box-shadow:0 24px 60px rgba(0,0,0,.35);}
.dx-map__svg,.dx-map__lead,.dx-map__layer{position:absolute;inset:0;width:100%;height:100%;}
.dx-map__lead{pointer-events:none;}
.dx-map__grat{fill:none;stroke:rgba(114,203,185,.1);stroke-width:.6;}
.dx-map__land{fill:#0b5a52;stroke:rgba(114,203,185,.4);stroke-width:.5;stroke-linejoin:round;opacity:0;transition:opacity 1.2s ease;}
.dx-map__stage.is-in .dx-map__land{opacity:1;}
.dx-map__arc-base{fill:none;stroke:rgba(114,203,185,.5);stroke-width:1.2;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.8s ease calc(.9s + var(--i,0)*.25s);}
.dx-map__stage.is-in .dx-map__arc-base{stroke-dashoffset:0;}
.dx-map__arc-flow{fill:none;stroke:#72cbb9;stroke-width:1.3;stroke-dasharray:3 10;opacity:0;transition:opacity .6s ease calc(2.6s + var(--i,0)*.25s);animation:dx-flow 1.6s linear infinite;}
.dx-map__stage.is-in .dx-map__arc-flow{opacity:.9;}
.dx-map__dot{fill:#fff;filter:drop-shadow(0 0 4px #72cbb9);}
@keyframes dx-flow{to{stroke-dashoffset:-26;}}

.dx-pin{position:absolute;width:0;height:0;padding:0;border:0;background:none;cursor:pointer;opacity:0;transition:opacity .5s ease calc(.3s + var(--i,0)*.2s);}
.dx-pin::before{content:"";position:absolute;left:-20px;top:-20px;width:40px;height:40px;}
.dx-map__stage.is-in .dx-pin{opacity:1;}
.dx-pin__dot{position:absolute;left:-6px;top:-6px;width:12px;height:12px;box-sizing:border-box;border-radius:50%;background:#72cbb9;border:2px solid #fff;transition:transform .25s,background .25s;}
.dx-pin.is-hq .dx-pin__dot{left:-8px;top:-8px;width:16px;height:16px;background:#fff;border-color:#72cbb9;}
.dx-pin__ring{position:absolute;left:-15px;top:-15px;width:30px;height:30px;box-sizing:border-box;border:1px solid #72cbb9;border-radius:50%;opacity:0;animation:dx-ring 2.8s ease-out infinite;}
.dx-pin__ring--2{animation-delay:1.4s;}
.dx-pin.is-active .dx-pin__dot{transform:scale(1.35);background:#fff;}
.dx-pin:focus-visible{outline:none;}
.dx-pin:focus-visible .dx-pin__dot{box-shadow:0 0 0 4px rgba(114,203,185,.55);}
@keyframes dx-ring{0%{transform:scale(.3);opacity:.9;}100%{transform:scale(1.9);opacity:0;}}

.dx-label{position:absolute;display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0;padding:9px 13px 8px;color:#fff;text-align:left;cursor:pointer;background:rgba(0,37,31,.62);border:1px solid rgba(114,203,185,.28);border-radius:2px;backdrop-filter:blur(2px);opacity:0;transform:translateY(8px);transition:opacity .6s ease calc(.9s + var(--i,0)*.2s),transform .6s ease calc(.9s + var(--i,0)*.2s),border-color .25s,background .25s;}
.dx-map__stage.is-in .dx-label{opacity:.92;transform:none;}
.dx-map__stage.is-in .dx-label.is-active{opacity:1;border-color:#72cbb9;background:rgba(0,37,31,.85);}
.dx-label__logo{display:block;width:clamp(90px,11vw,148px);height:auto;}
.dx-label__logo--davhex{width:clamp(120px,15vw,210px);}
.dx-label__title{font:800 clamp(11px,1.15vw,15px)/1.1 Inter,system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase;}
.dx-label__sub{font-size:clamp(10px,.95vw,12px);line-height:1.3;color:rgba(255,255,255,.78);}
.dx-lead__ln{stroke:rgba(255,255,255,.45);stroke-width:1;transition:stroke .25s;}
.dx-lead__ln.is-active{stroke:#72cbb9;stroke-width:1.4;}

.dx-pop{position:absolute;right:20px;top:20px;z-index:4;width:min(300px,34%);overflow:hidden;background:rgba(255,255,255,.97);color:#0b0f14;border-top:3px solid #72cbb9;border-radius:2px;box-shadow:0 14px 34px rgba(0,0,0,.32);opacity:0;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease;}
.dx-pop.is-on{opacity:1;transform:none;}
.dx-pop__img{display:block;width:100%;aspect-ratio:16/8;object-fit:cover;}
.dx-pop__b{padding:14px 18px 16px;}
.dx-pop__tag{display:inline-block;font:11px/1.5 Menlo,Consolas,monospace;letter-spacing:1px;text-transform:uppercase;color:#007a79;}
.dx-pop__t{display:block;margin:2px 0 6px;font-size:18px;line-height:1.25;font-weight:800;color:#00332a;}
.dx-pop__p{margin:0;font-size:13.5px;line-height:1.5;color:#2c3a36;}
.dx-pop__p--b{margin-top:8px;padding-top:8px;border-top:1px solid #e2e6ea;}
.editor-styles-wrapper .is-style-dx-map::before{content:"Mappa interattiva: l'immagine qui sotto serve da base (loghi) e da alternativa senza JavaScript.";display:block;margin-bottom:8px;font-size:12px;color:#72cbb9;}

@media(max-width:900px){
 .dx-pop{position:relative;right:auto;top:auto;width:auto;margin-top:12px;border-radius:2px;}
}
@media(max-width:700px){
 .dx-label,.dx-map__lead{display:none;}
 .dx-pin__dot{left:-7px;top:-7px;width:14px;height:14px;}
 .dx-logos.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce){
 .dx-pin__ring,.dx-map__arc-flow{animation:none;}
 .dx-map__land,.dx-map__arc-base,.dx-pin,.dx-label{transition:none;}
}

/* ===== v1.4.1 · Quality "Our approach" (icone) e Worldwide hero con mappa a sfondo ===== */
.dx-feats.is-layout-grid{align-items:start;}
.dx-feat{border:0!important;background:none!important;padding:0!important;box-shadow:none!important;}
.dx-feat>*{margin-block-start:0!important;margin-block-end:0;}
.dx-feat .dx-feat__ic{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:20px;border-radius:50%;background:rgba(114,203,185,.2);color:#007a79;transition:background .25s,color .25s,transform .25s;}
.dx-feat .dx-feat__ic svg{width:28px;height:28px;}
.dx-feat:hover .dx-feat__ic{background:#72cbb9;color:#00332a;transform:translateY(-3px);}
.dx-feat h3{margin-bottom:8px;font-size:18px;line-height:1.3;font-weight:800;color:#00332a;letter-spacing:0;}
.dx-feat p{font-size:14.5px;line-height:1.6;color:#2c3a36;}
@media(max-width:1000px){.dx-feats.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:560px){.dx-feats.is-layout-grid{grid-template-columns:1fr!important;}}

.is-style-dx-map.dx-worldhero{position:relative;margin-top:0!important;margin-bottom:0!important;padding:0!important;max-width:none;overflow:hidden;background-image:radial-gradient(120% 95% at 28% 12%,#08665f 0%,#00423a 45%,#00251f 100%);}
.dx-worldhero>figure{margin:0;}
.dx-worldhero .dx-map__wrap{max-width:1600px;margin:0 auto;}
.dx-worldhero .dx-map__stage{aspect-ratio:1000/556;border:0;border-radius:0;box-shadow:none;background:none;}
.dx-worldhero .dx-map__svg{-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);}
.dx-worldhero .dx-pop{display:none;}
.dx-worldhero__in{position:absolute;z-index:6;top:0;left:0;right:0;margin:0;padding:56px 24px 0;pointer-events:none;}
.dx-worldhero__in a{pointer-events:auto;}
.dx-worldhero__in h1{text-shadow:0 2px 24px rgba(0,37,31,.55);}
.dx-worldhero:not(.is-js) .dx-worldhero__in{position:static;pointer-events:auto;padding:64px 24px;}
@media(max-width:1280px){.dx-worldhero__in{position:static;pointer-events:auto;padding:56px 24px 8px;}}

/* ===== v1.4.2 · Technology: passi numerati, famiglie, segnaposto immagini ===== */
.dx-feat p.dx-feat__ic{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:20px;border-radius:50%;background:rgba(114,203,185,.2);color:#007a79;font-size:15px;font-weight:800;letter-spacing:.04em;line-height:1;}
.dx-feat:hover p.dx-feat__ic{background:#72cbb9;color:#00332a;}
.is-style-dx-photo>figure:empty,.is-style-dx-photo>figure.wp-block-image:not(:has(img)){background:linear-gradient(135deg,#0b5a52 0%,#00251f 100%) center/48px no-repeat;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2372cbb9' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E"),linear-gradient(135deg,#0b5a52 0%,#00251f 100%);background-position:center,center;background-size:48px,cover;background-repeat:no-repeat;}
.dx-split-note{margin-top:24px;}
