/* Struttura: impaginazione di docs/reference-struttura.png. */
.struttura-page .nav-section-active { color:var(--orange); }
.struttura-page h2 { text-transform:none; }
.struttura-intro { padding:42px 0 0; }
.struttura-intro-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.struttura-photo { margin:0; position:relative; overflow:hidden; border-radius:16px; }
.struttura-photo::after { content:""; position:absolute; right:0; bottom:0; width:54px; height:54px; background:var(--orange); clip-path:polygon(100% 0,100% 100%,0 100%); border-right:3px solid #fff; }
.struttura-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.struttura-intro-grid .struttura-photo { aspect-ratio:1.65; }
.struttura-access { display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; padding-top:26px; }
.struttura-access p+p { margin-top:0; }
.struttura-environments { padding:36px 0 42px; background:linear-gradient(#fff,#f7f9fb); }
.struttura-environments-grid { display:grid; grid-template-columns:1.8fr 1fr; gap:24px; align-items:stretch; }
.struttura-page .liceo-facility-grid { grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:0; gap:14px; }
.struttura-page .liceo-facility { padding:20px 14px; }
.struttura-page .liceo-facility>svg { color:var(--orange); width:45px; height:45px; margin-bottom:12px; }
.struttura-page .liceo-facility h3 { font-size:16px; }
.struttura-environments-grid>.struttura-photo img { min-height:100%; }
.struttura-sport { position:relative; isolation:isolate; overflow:hidden; background:var(--navy); color:#fff; }
.struttura-sport::before { content:""; position:absolute; inset:0 0 0 38%; z-index:-2; background:url('../images/struttura-sport-banner.webp') center 60%/cover no-repeat; }
.struttura-sport::after { content:""; position:absolute; inset:0; z-index:-1; background:var(--navy); clip-path:polygon(0 0,52% 0,41% 100%,0 100%); }
.struttura-sport-copy { width:40%; padding:36px 0; }
.struttura-sport-copy p { font-size:16px; line-height:1.6; max-width:390px; }
.struttura-gallery-link { display:inline-flex; gap:16px; align-items:center; font-size:14px; font-weight:700; margin-top:18px; min-height:44px; color:#fff; }
.struttura-gallery-link:hover { color:#ffab87; }
.struttura-gallery-link svg { width:21px; height:21px; }
.struttura-gallery { padding:38px 0 40px; scroll-margin-top:20px; }
.struttura-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.struttura-gallery-item { display:block; overflow:hidden; border-radius:14px; background:#f3f6f8; box-shadow:0 5px 20px #032b400a; }
.struttura-gallery-item img { width:100%; height:auto; aspect-ratio:1.5; object-fit:cover; display:block; transition:filter .2s; }
.struttura-gallery-item span { display:block; padding:13px 14px; font-size:13px; line-height:1.4; }
.struttura-gallery-item:hover img { filter:brightness(1.1); }
.struttura-services { padding:34px 0 40px; background:#f5f8fa; }
.struttura-service-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.struttura-service-grid article { position:relative; padding-left:46px; }
.struttura-service-grid svg { position:absolute; top:1px; left:0; color:var(--orange); width:28px; height:28px; }
.struttura-service-grid h3 { font-size:19px; margin-bottom:12px; }
.struttura-service-grid p { font-size:15px; line-height:1.6; color:#30495a; }
.struttura-service-grid a { display:inline-block; padding-block:12px; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:1050px) {
  .struttura-intro-grid { gap:30px; align-items:start; }
  .struttura-access { gap:30px; grid-template-columns:1fr 1fr; }
  .struttura-environments-grid { grid-template-columns:1.8fr 1fr; gap:18px; }
  .struttura-page .liceo-facility-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .struttura-gallery-grid { gap:14px; }
}
@media(max-width:760px) {
  .struttura-intro { padding-top:32px; }
  .struttura-intro-grid,.struttura-access,.struttura-environments-grid,.struttura-service-grid { grid-template-columns:1fr; gap:24px; }
  .struttura-access { gap:15px; }
  .struttura-page .liceo-facility-grid { gap:12px; }
  .struttura-environments-grid>.struttura-photo { aspect-ratio:1.8; }
  .struttura-environments { padding:32px 0; }
  .struttura-sport::before { inset:0; }
  .struttura-sport::after { background:#032b40dc; clip-path:none; }
  .struttura-sport-copy { width:100%; padding:34px 0; }
  .struttura-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .struttura-gallery-item span { font-size:12px; padding:10px; }
  .struttura-gallery { padding:32px 0; }
}
@media(prefers-reduced-motion:reduce) {
  .struttura-gallery-item img { transition:none; }
}
