/* One illustration for each chapter, with a larger composition in the hero. */
[data-page=home] .cap-hero{padding-top:20px;overflow:hidden}
[data-page=home] .home-moduli-hero{display:grid;grid-template-columns:1.02fr 1fr;gap:14px;align-items:center;min-height:470px}
[data-page=home] .home-moduli-hero .hero-heading{text-align:left;padding-block:34px 40px;position:relative;z-index:1}
[data-page=home] .home-moduli-hero h1{max-width:590px;margin-inline:0;font-size:clamp(44px,4.5vw,60px)}
[data-page=home] .home-moduli-hero .cap-lead{max-width:505px;margin:22px 0 0}
[data-page=home] .home-moduli-hero .cap-hero-actions{justify-content:flex-start;margin-top:27px}
[data-page=home] .home-hero-art{height:430px;width:calc(100% + 44px);margin-right:-44px}
[data-page=home] .chapter-index{margin-top:10px}
[data-page=home] .home-section-intro{display:grid;grid-template-columns:minmax(0,1fr) 285px;align-items:center;gap:38px;min-height:194px;margin-bottom:24px}
[data-page=home] .home-section-intro .chapter-heading{margin-bottom:0;max-width:none}
[data-page=home] .home-section-intro .home-section-lead{max-width:740px}
[data-page=home] .home-operation-art,[data-page=home] .home-register-art{height:194px;min-width:0}
[data-page=home] .home-operation-art>.ifamatic-art{height:100%}
[data-page=home] .home-art-close{display:none}
#automazioni:has([data-operation=close][aria-selected=true]) .home-art-renew{display:none}
#automazioni:has([data-operation=close][aria-selected=true]) .home-art-close{display:block}
[data-page=home] .home-register-band .ifamatic-art{--art-bg:var(--mix-soft)}
[data-page=home] .home-hospital-visual{min-width:0}
[data-page=home] .home-connect-art{height:220px;max-width:420px;margin:0 auto 18px;--art-bg:var(--mix-detail-soft)}
[data-page=home] .home-data-note{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:14px 18px;max-width:1000px;margin:28px auto 0;padding-top:22px;border-top:1px solid var(--mix-line);text-align:left}
[data-page=home] .home-data-note>svg{width:24px;height:24px;fill:none;stroke:var(--mix-link);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
[data-page=home] .home-data-note p{margin:0;font-size:18px;line-height:1.5;color:var(--mix-muted)}
[data-page=home] .home-data-note a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--mix-link);font-size:16px;font-weight:600;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
[data-page=home] .home-data-note a:focus-visible{outline:3px solid var(--mix-action);outline-offset:4px}
@media(max-width:1050px){
  [data-page=home] .home-moduli-hero{min-height:440px;grid-template-columns:1.08fr 1fr}
  [data-page=home] .home-moduli-hero h1{font-size:50px}
  [data-page=home] .home-hero-art{height:380px;width:calc(100% + 30px);margin-right:-30px}
  [data-page=home] .home-section-intro{grid-template-columns:minmax(0,1fr) 230px;gap:30px;min-height:175px}
  [data-page=home] .home-operation-art,[data-page=home] .home-register-art{height:175px}
}
@media(max-width:800px){
  [data-page=home] .cap-hero{padding-top:24px}
  [data-page=home] .home-moduli-hero{display:block;min-height:0}
  [data-page=home] .home-moduli-hero .hero-heading{padding-block:10px 0;max-width:670px}
  [data-page=home] .home-moduli-hero h1{font-size:48px;max-width:670px}
  [data-page=home] .home-hero-art{width:100%;height:350px;max-width:560px;margin:2px auto 0}
  [data-page=home] .chapter-index{margin-top:0}
  [data-page=home] .home-section-intro{grid-template-columns:minmax(0,1fr) 180px;gap:24px;min-height:160px}
  [data-page=home] .home-operation-art,[data-page=home] .home-register-art{height:160px}
  [data-page=home] .home-connect-art{height:210px;max-width:390px;margin-bottom:15px}
  [data-page=home] .home-data-note{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:4px 14px;max-width:600px}
  [data-page=home] .home-data-note>svg{margin-top:2px}
  [data-page=home] .home-data-note a{grid-column:2;justify-self:start}
}
@media(max-width:560px){
  [data-page=home] .cap-hero{padding-top:23px}
  [data-page=home] .home-moduli-hero .hero-heading{padding-top:0}
  [data-page=home] .home-moduli-hero h1{font-size:40px;line-height:1.12}
  [data-page=home] .home-moduli-hero .cap-lead{font-size:18px;line-height:1.55;margin-top:19px}
  [data-page=home] .home-moduli-hero .cap-hero-actions{gap:24px;margin-top:23px}
  [data-page=home] .home-hero-art{height:280px;margin-block:8px 4px}
  [data-page=home] .home-section-intro{display:flex;flex-direction:column-reverse;align-items:stretch;gap:8px;min-height:0;margin-bottom:22px}
  [data-page=home] .home-operation-art,[data-page=home] .home-register-art{height:150px;width:220px;align-self:flex-start;margin-left:-8px}
  [data-page=home] .home-connect-art{height:190px;width:100%;max-width:350px;margin-bottom:15px}
}
