/* DOMUNEXA AI Summary Links — public provider hand-off, no API integration. */
/* Keep the article column full width when the template places the summary toolbar
 * beside the post content in a flex row. The rule is scoped to pages containing
 * this toolbar and does not affect other template rows. */
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .wp-block-group:has(> .dmx-ai-summary) { flex-direction:column; align-items:stretch; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .wp-block-group:has(> .dmx-ai-summary) > .wp-block-post-content { width:100%; max-width:100%; flex:1 1 auto; min-width:0; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0 0 28px; padding:16px 0 4px; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-label { font-weight:600; color:#26384d; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-buttons { display:flex; flex-wrap:wrap; gap:10px; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border-radius:8px; color:#fff; font-weight:700; line-height:1.2; text-decoration:none; transition:filter .15s ease, transform .15s ease; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-button:hover { color:#fff; filter:brightness(.92); transform:translateY(-1px); }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-button:focus-visible { outline:3px solid #1f6fd1; outline-offset:3px; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-button--chatgpt { background:#2f2f2f; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-button--perplexity { background:#126273; }
:where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-button--gemini { background:#4b2b8f; }
@media (max-width:767px) { :where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary { align-items:flex-start; flex-direction:column; margin-bottom:22px; } :where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-buttons { width:100%; } :where(.single-post, .single-domunexa_guide, .single-domunexa_tool) .dmx-ai-summary-button { flex:1 1 auto; min-width:0; } }
/* Strumenti: meno spazio bianco sopra lo strumento. Vale solo per le schede Strumento; Articoli e Guide non cambiano. */
body.single-domunexa_tool .wp-block-group:has(> .dmx-ai-summary) { row-gap:0; }
body.single-domunexa_tool .dmx-ai-summary { margin:0; padding:8px 0 0; }
