/* Styles of the design boards "GuideIndex", "Guida-metar", "GuideGrazie". */
body{margin:0;font-family:'Manrope',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#222D59;text-decoration:none}a:hover{color:#0E1430}

@container (max-width: 90px){.cv-t,.cv-e{display:none}}
.gd-mob{display:none}
@media (max-width:860px){.gd-mob{display:flex}}
.gd-in{width:100%;max-width:1160px;margin:0 auto;box-sizing:border-box}
.gd-btn{transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
@media (hover:hover){.gd-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(246,202,33,.35)}}
.gd-card{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
@media (hover:hover){.gd-card:hover{transform:translateY(-4px);box-shadow:0 24px 50px rgba(14,20,48,.16)}}
.gd-f input[type=text],.gd-f input[type=email],.gd-f input[type=tel]{width:100%;box-sizing:border-box;min-height:56px;padding:0 18px;border-radius:14px;border:1px solid #CDD2DE;background:#ffffff;color:#0E1430;font-family:'Manrope',sans-serif;font-size:17px}
/* phone: only with the "ricontattami" box ticked (CSS; .is-on from JS for older browsers) */
.gd-tel{display:none;flex-direction:column;gap:16px}.gd-tel.is-on,.gd-f:has(input[name=ricontatto]:checked) .gd-tel{display:flex}
.gd-f input:focus{outline:none;border-color:#222D59;box-shadow:0 0 0 4px rgba(34,45,89,.15)}
.gd-f input[type=checkbox]{width:22px;height:22px;margin:1px 0 0;flex:0 0 22px;accent-color:#222D59}
.gd-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:start}
@media (max-width:860px){.gd-hero{grid-template-columns:1fr;gap:28px}}
@media (prefers-reduced-motion: no-preference){
 @keyframes gdIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
 .gd-rise{animation:gdIn .7s cubic-bezier(.2,.7,.2,1) both}
 @supports (animation-timeline: view()){
  @keyframes gdRv{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
  .gd-rv{animation:gdRv linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
 }
}
/* Form messages (not on the board: shown after a server check). */
.gd-err{margin-top:-8px;font-size:14px;font-weight:600;color:#B42318}
/* Brochure form in a window on /guide/ (not on the board: same form as the guides). */
.gd-dlg{border:0;padding:0;margin:auto;background:transparent;width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;color:#0E1430;overscroll-behavior:contain}
.gd-dlg::backdrop{background:rgba(5,8,22,.72)}
.gd-dlg[open]:not(:modal){position:relative;margin:24px 0 0}
.gd-dlg .gd-f{box-shadow:none}
.gd-dlg h2{padding-right:48px}
.gd-x{position:absolute;top:12px;right:12px;z-index:1;width:44px;height:44px;border-radius:50%;border:0;background:#F4F5F9;color:#0E1430;font-size:26px;line-height:1;cursor:pointer}
.gd-x:focus-visible{outline:3px solid #222D59;outline-offset:2px}
