/* ph-mdv3 (from ph-mdv2): the client's "scritte più morbide" — soft serif headings and a rounder sans,
   so inner pages match the new home. Loaded after md.css on every v2 page. */
/* v3: the client prefers the first design (ph-md): IBM Plex everywhere, no soft serif titles. */

/* top bar (client mockup): long version on wide screens, shorter on smaller ones */
.tb-long { display: none; } /* the full list never fits the 1320px row */
@media (max-width: 900px) { .tb-more { display: none; } }
.tb-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.utility p { flex: 1 1 auto; min-width: 0; max-width: none; }
@media (max-width: 1200px) { .tb-text > .tb-more:first-child { display: none; } }
@media (max-width: 600px) { .page-head h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); } }

/* AI Act art. 50: disclosure note in the footer (added by v2/compliance.mjs) */
.foot-legal .ai-note { flex-basis: 100%; font-size: .78rem; line-height: 1.5; color: #7f93ad; }
.gdpr-note { margin: 14px 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted, #5b6b80); }
.gdpr-note a { color: inherit; text-decoration: underline; }
.tone-navy .gdpr-note { color: #b9c8db; }

/* legal pages (privacy, cookie) */
.legal { font-size: 1.02rem; }
.legal h2 { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin-top: 2.2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal .legal-meta { font-size: .9rem; color: var(--muted, #5b6b80); border-left: 3px solid var(--blue, #2f7fd6); padding-left: 14px; }
.legal-table { overflow-x: auto; margin: 1em 0 1.4em; border: 1px solid var(--line, #dde8f3); border-radius: 14px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line, #dde8f3); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { background: #f3f8fe; font-weight: 700; color: var(--navy, #16335c); }
.legal mark.tbc { background: #fff1b8; color: inherit; padding: 0 .2em; border-radius: 4px; }
.legal code { font-size: .9em; background: #f3f8fe; padding: .1em .35em; border-radius: 4px; }

/* form honeypot (anti-spam), out of sight and out of the tab order */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
