/* Load after home-tokens.css. No selectors affect the master or legacy pages. */
.isi-home {
    position: relative;
    isolation: isolate;
    color: var(--home-text);
    background:
        radial-gradient(circle at 84% 18%, rgba(198, 222, 250, .74), rgba(234, 244, 255, .52) 28%, transparent 56%),
        linear-gradient(90deg, #fff 0, #fff 42%, #f8fbff 62%, #eaf3ff 100%);
    font: 16px/1.55 var(--home-font);
}
.isi-home *, .isi-home *::before, .isi-home *::after { box-sizing: border-box; }
.isi-home .home-container { width: min(var(--home-content-width), calc(100% - var(--home-page-gutter) * 2)); margin-inline: auto; }
.isi-home .home-title, .isi-home .home-section-title, .isi-home .home-card-title { margin: 0; color: var(--home-blue-deep); font-family: var(--home-font); font-weight: 800; }
.isi-home .home-title { font-size: clamp(34px, 3.8vw, 60px); letter-spacing: -.045em; line-height: 1.06; }
.isi-home .home-title-accent { color: var(--home-blue); }
.isi-home .home-eyebrow { margin: 0 0 12px; color: #25528c; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.isi-home .home-lead { max-width: 640px; margin: 18px 0 0; color: var(--home-text); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; }
.isi-home .home-muted { color: var(--home-muted); }
.isi-home .home-hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: var(--home-gap); padding-block: 28px 34px; }
.isi-home .home-hero-copy, .isi-home .home-hero-visual { min-width: 0; }
.isi-home .home-hero-visual > img { display: block; max-width: 100%; height: auto; }
.isi-home .home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.isi-home .home-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--home-border); border-radius: 8px; background: var(--home-surface); color: var(--home-blue-deep); font: 650 15px/1.45 var(--home-font); text-decoration: none; cursor: pointer; }
.isi-home .home-button--primary { border-color: var(--home-blue); color: #fff; background: var(--home-blue); }
.isi-home .home-button:hover { color: var(--home-blue-deep); box-shadow: 0 5px 16px rgba(18, 62, 118, .15); text-decoration: none; }
.isi-home .home-button--primary:hover { color: #fff; }
.isi-home a:focus-visible, .isi-home button:focus-visible, .isi-home summary:focus-visible { outline: 3px solid var(--home-blue); outline-offset: 4px; }
.isi-home .home-section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.isi-home .home-section-title { font-size: clamp(25px, 2.2vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
.isi-home .home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--home-gap); }
.isi-home .home-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.isi-home .home-card { min-width: 0; padding: 24px; border: 1px solid var(--home-border); border-radius: var(--home-radius); background: var(--home-surface); box-shadow: var(--home-shadow); }
.isi-home .home-card-title { font-size: clamp(21px, 1.75vw, 27px); line-height: 1.2; letter-spacing: -.025em; }
.isi-home .home-card-text { margin: 12px 0 0; color: var(--home-text); font-size: 15px; line-height: 1.55; }
.isi-home .home-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; color: var(--home-muted); font-size: 14px; }
.isi-home .home-card-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: var(--home-blue); font-weight: 650; text-decoration: none; }
.isi-home .home-card-link:hover { color: var(--home-blue); text-decoration: underline; }
.isi-home .home-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--home-border); border-radius: 6px; background: var(--home-ice); color: var(--home-text); font-size: 12px; font-weight: 600; line-height: 1.4; }
.isi-home .home-badge--upcoming { background: #e8f1ff; color: var(--home-blue); }
.isi-home .home-icon { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; color: var(--home-blue); background: #e9f5ff; }
.isi-home .home-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.isi-home--bookmark::before { content: ''; position: absolute; top: 0; left: 0; width: 42px; height: 180px; background: linear-gradient(180deg, #1771f1, #004ee5); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 21px), 0 100%); pointer-events: none; }
/* In-flow decoration: insert after all page content, never over a popup or card. */
.isi-home .home-backdrop { position: relative; height: clamp(220px, 22.6667vw, 360px); overflow: hidden; pointer-events: none; }
.isi-home .home-backdrop::before { content: ''; position: absolute; left: 26%; bottom: 0; width: min(68vw, 1080px); aspect-ratio: 3 / 1; opacity: .24; background: linear-gradient(90deg, #075fca, #1771f1 52%, #075fca); -webkit-mask: url('../img/shared/header-serigrafia-isidata.png') center / contain no-repeat; mask: url('../img/shared/header-serigrafia-isidata.png') center / contain no-repeat; }
.isi-home .home-backdrop::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(145px, 23vh, 230px); background: url('../img/shared/home-waves.svg') center bottom / 100% 100% no-repeat; }
@media (max-width: 1100px) {
    .isi-home .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .isi-home--bookmark::before { width: 22px; height: 140px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 12px), 0 100%); }
}
@media (max-width: 767px) {
    .isi-home .home-hero { grid-template-columns: 1fr; padding-block: 24px; }
    .isi-home .home-hero-visual { width: min(400px, 100%); margin-inline: auto; }
    .isi-home .home-grid, .isi-home .home-grid--two { grid-template-columns: 1fr; }
    .isi-home .home-card { padding: 20px; }
    .isi-home--bookmark::before { width: 16px; height: 94px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%); }
    .isi-home .home-backdrop { height: calc(33.333vw + 62px); }
    .isi-home .home-backdrop::before { left: 16px; bottom: 60px; width: calc(100% - 32px); opacity: .32; }
    .isi-home .home-backdrop::after { height: 135px; }
}
