/* Long-form guides retain the site’s photographs, geometry and blue/orange palette. */
.insight-byline { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; margin:24px 0 10px; color:#667d99; font-size:11px; line-height:1.7; }
.insight-byline>a { font-weight:600; color:#3154a5; text-decoration:underline; text-underline-offset:3px; }
.insight-byline>span { display:inline-flex; align-items:center; gap:9px; }
.insight-byline>span::before { content:''; width:3px; height:3px; flex:0 0 3px; border-radius:50%; background:#ed8b4c; }
.interior-theme--ai .insight-byline { color:#c0cee2; }
.interior-theme--ai .insight-byline>a { color:#e5edff; }
.pe-insight .interior-hero h1 { font-size:clamp(38px,4vw,59px); }
.pe-insight .interior-hero-copy>.eyebrow { line-height:1.8; }
.pe-insight .interior-section .prose { font-size:17px; line-height:1.85; }
.pe-insight .interior-section .prose p { max-width:75ch; }
.pe-insight .interior-section .prose h2 { font-size:30px; }
.pe-insight .interior-section .prose h3 { font-size:22px; }
.pe-insight .prose .pe-faq-answer p { font-size:15px; }
.pe-insight .prose table { margin:0; font-size:14px; }
.pe-insight .prose th { color:#2d4970; background:#edf3fd; }
.pe-insight .prose th,.pe-insight .prose td { padding:16px; }
.pe-insight .prose .guide-table-wrap { overflow-x:auto; border:1px solid #dce5f3; border-radius:13px; margin:26px 0; }
.guide-table-wrap:focus-visible { outline:3px solid #f47828; outline-offset:4px; }
.insights-home { border-top:1px solid #e2e9f4; background:linear-gradient(180deg,#f4f7fd,#fff); scroll-margin-top:0; }
.insight-section-heading { display:flex; justify-content:space-between; align-items:end; gap:35px; margin-bottom:34px; }
.insight-section-heading h2 { margin:0; }
.insight-section-heading>div { min-width:0; }
.insight-section-heading>div>p { max-width:680px; font-size:16px; margin:20px 0 0; }
.insight-section-heading>.text-link { flex:0 0 auto; }
.insights-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:30px 0; }
.insight-filter-bar { margin:25px 0 32px; padding:22px 24px; border:1px solid #dce5f3; border-radius:18px; background:#f1f5fcb3; }
.insight-filter-bar[hidden],.insight-card[hidden] { display:none!important; }
.insight-filters { display:flex; flex-wrap:wrap; gap:9px; }
.insight-filter { appearance:none; cursor:pointer; padding:10px 15px; border:1px solid #d9e3f2; border-radius:10px; color:#4f6585; background:#fff; font:inherit; font-size:12px; line-height:1.5; min-height:42px; transition:background .2s,border-color .2s; }
.insight-filter:hover { border-color:#a5b9dd; background:#f6f9ff; }
.insight-filter.is-active { background:#3154a5; border-color:#3154a5; color:#fff; }
.insight-filter-count { font-size:11px; color:#657b99; margin:14px 0 0!important; }
.insight-card--integrazione .insight-card-icon,.insight-card--logistica .insight-card-icon,.insight-card--alimentare .insight-card-icon { color:#25677a; background:#edf8f7ed; }
.insight-card--documenti .insight-card-icon,.insight-card--dati .insight-card-icon { color:#6752a6; background:#f4f0fced; }
.insights-grid--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.insights-grid--single { grid-template-columns:minmax(0,1fr); }
.insight-card { display:flex; flex-direction:column; border:1px solid #dce5f3; border-radius:23px; overflow:hidden; background:#fff; box-shadow:0 18px 40px -32px #17326355; text-decoration:none!important; transition:transform .25s,border-color .25s,box-shadow .25s; }
.insight-card-visual { position:relative; height:205px; background:#e4edf9; }
.insight-card-visual::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,#19376647); pointer-events:none; }
.insight-card-image { display:block; width:100%; height:100%; object-fit:cover; }
.insight-card-icon { position:absolute; bottom:-21px; right:23px; width:53px; height:53px; border:1px solid #fff; border-radius:16px; background:#f1f6ffed; color:#3154a5; display:grid; place-items:center; z-index:1; backdrop-filter:blur(10px); box-shadow:0 9px 20px -12px #152b5d70; }
.insight-card-icon svg { width:29px; height:29px; }
.insight-card--ecommerce .insight-card-icon,.insight-card--ospitalita .insight-card-icon { color:#aa5726; background:#fff6edee; }
.insight-card--ai-documentale .insight-card-icon { color:#4968b4; }
.insight-card-copy { display:flex; flex-direction:column; align-items:flex-start; flex:1; padding:32px 28px 25px; }
.insight-card-copy>.editorial-label { font-size:9px; margin:0 0 14px; color:#546e94; }
.insight-card-copy h2,.insight-card-copy h3 { color:#233f63; font-size:25px!important; line-height:1.22!important; letter-spacing:-.035em; margin:0 0 18px!important; }
.insight-card-copy>p { font-size:14px; line-height:1.8; color:#5b708c; margin:0 0 28px; }
.insight-card-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:15px; width:100%; margin-top:auto; padding-top:19px; border-top:1px solid #e5ebf5; }
.insight-card-bottom>span:first-child { font-size:10px; color:#596d89; }
.insight-card-action { display:inline-flex; align-items:center; gap:11px; color:#3154a5; font-size:11px; font-weight:600; }
.insight-card-action .button-mark { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#edf3fd; }
.insight-card-action .button-mark svg { width:16px; height:16px; }
.insight-card:hover { transform:translateY(-4px); border-color:#a3b8dd; box-shadow:0 24px 45px -30px #17326366; }
.insights-grid--single .insight-card { display:grid; grid-template-columns:.8fr 1.2fr; }
.insights-grid--single .insight-card-visual { height:100%; min-height:290px; }
.insights-grid--single .insight-card-icon { right:-20px; bottom:25px; }
.insights-grid--single .insight-card-copy { padding:34px 40px; }
.insight-related { padding-bottom:65px; }
.pe-insights-index .interior-layout { display:block; }
.pe-insights-index .interior-content { gap:30px; }
.pe-insights-index .interior-preamble { margin-bottom:15px; }
.pe-insights-index .interior-preamble>p { max-width:850px; }
.pe-insights-index .interior-content>.interior-section { max-width:100%; }
.pe-insights-index .interior-section:has(.insights-grid) { padding:0; background:transparent; border:0; box-shadow:none; }
.pe-insights-index .interior-section:has(.insights-grid)>.interior-section-index { display:none; }
.pe-insights-index .interior-section:has(.insights-grid)>.prose>h2 { margin-bottom:30px; }
.pe-insights-index .prose .insight-card-copy p { font-size:14px; }
@media(max-width:1050px) { .insights-grid { gap:19px; } .insight-card-copy { padding:30px 23px 24px; } .insight-card-copy h2,.insight-card-copy h3 { font-size:23px!important; } .insight-section-heading { gap:25px; } .insight-section-heading>.text-link { font-size:12px; } .insights-grid--single .insight-card-copy { padding:28px 32px; } }
/* A sixth native menu link gets the same panel on tablets; Scenari stays prominent. */
@media(min-width:1001px) and (max-width:1100px) {
  .header-inner { height:85px; }
  .site-header .brand img { width:190px; }
  .menu-toggle { display:flex; align-items:center; gap:12px; background:#f0f4fc; border:1px solid #dce5f4; padding:9px 12px; border-radius:11px; font-size:12px; color:#172b49; }
  #primary-nav { display:none; position:absolute; top:85px; left:0; right:0; padding:25px 30px; border-bottom:1px solid #dfe4eb; border-radius:0 0 22px 22px; background:#fbfcfffa; backdrop-filter:blur(20px); box-shadow:0 20px 30px #172b4910; }
  #primary-nav.is-open { display:block; }
  #primary-nav ul { display:block; margin-bottom:20px; }
  #primary-nav li a { font-size:16px; padding:11px 0; }
  #primary-nav .button.small { font-size:13px; }
}
@media(max-width:800px) { .insights-grid:not(.insights-grid--single):not(.insights-grid--two) { grid-template-columns:1fr; } .insight-section-heading { align-items:start; flex-direction:column; gap:20px; } .insight-card-visual { height:230px; } .insight-card-copy h2,.insight-card-copy h3 { font-size:26px!important; } .insights-grid--two .insight-card-copy h3 { font-size:23px!important; } }
@media(max-width:650px) { .insights-grid,.insights-grid--two { grid-template-columns:1fr; } .insight-card-copy { padding:31px 25px 25px; } .insights-grid--single .insight-card { display:flex; } .insights-grid--single .insight-card-visual { min-height:0; height:210px; } .insights-grid--single .insight-card-icon { right:23px; bottom:-21px; } .insights-grid--single .insight-card-copy { padding:32px 25px 25px; } .insight-byline { font-size:10px; gap:7px 12px; margin-top:22px; } .insight-byline>a { width:100%; } .pe-insight .interior-hero h1 { font-size:38px; line-height:1.12; } .pe-insight .interior-section .prose { font-size:16px; line-height:1.85; } .pe-insight .interior-section .prose h2 { font-size:27px; } .insight-related { padding-bottom:50px; } .pe-insight .prose table { min-width:560px; } }
@media(prefers-reduced-motion:reduce) { .insight-card { transition:none; } .insight-card:hover { transform:none; } }
@media(max-width:650px) { .insight-filter-bar { padding:17px; } .insight-filter { font-size:11px; padding:10px 12px; } }
