/* ==================================================
   SULMONA — STILE UNIFORME AETOS
================================================== */

@import url("../../style.css");


/* ==================================================
   CORREZIONI SPECIFICHE DELLA PAGINA
================================================== */

body.project-detail{
  padding-top:0;
}


/* ==================================================
   COPERTINA
================================================== */

.project-hero{
  background-position:center;
}

.project-hero-content{
  max-width:1050px;
}


/* ==================================================
   PULSANTI COPERTINA
================================================== */

.project-hero-buttons{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;

  gap:18px;

  margin-top:35px;
}

.project-hero-buttons .btn{
  min-width:190px;

  text-align:center;
}


/* ==================================================
   IMMAGINE PRINCIPALE
================================================== */

.featured-image{
  margin-top:45px;
}

.featured-image img{
  display:block;

  width:100%;
  max-height:700px;

  object-fit:contain;

  background:#f7f8fa;

  border-radius:16px;

  box-shadow:0 12px 36px rgba(0,0,0,.12);

  cursor:pointer;
}

.featured-image p{
  margin-top:14px;

  color:#657187;

  font-weight:700;
}


/* ==================================================
   MODELLI
================================================== */

.model-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);

  gap:28px;

  margin-top:42px;
}

.model-grid figure{
  overflow:hidden;

  background:#f4f7fb;

  border-radius:16px;

  box-shadow:0 12px 35px rgba(0,0,0,.09);
}

.model-grid img{
  display:block;

  width:100%;
  height:470px;

  object-fit:contain;

  background:#ffffff;

  cursor:pointer;
}

.model-grid figcaption{
  padding:18px 20px;

  color:#364156;

  font-weight:700;
}


/* ==================================================
   GALLERIA
================================================== */

.gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);

  gap:25px;

  margin-top:35px;
}

.gallery figure{
  margin:0;

  overflow:hidden;

  background:#f4f7fb;

  border-radius:14px;

  box-shadow:0 12px 35px rgba(0,0,0,.09);
}

.gallery figure.large{
  grid-column:span 2;
}

.gallery img{
  display:block;

  width:100%;
  height:390px;

  object-fit:contain;

  background:#ffffff;

  cursor:pointer;

  transition:transform .35s ease;
}

.gallery figure.large img{
  height:520px;
}

.gallery img:hover{
  transform:scale(1.025);
}

.gallery figcaption{
  padding:18px;

  color:#364156;

  font-weight:700;
}


/* ==================================================
   TABLET
================================================== */

@media(max-width:900px){

  .model-grid{
    grid-template-columns:1fr;
  }

  .project-hero-buttons{
    justify-content:flex-start;
  }

}


/* ==================================================
   TELEFONO
================================================== */

@media(max-width:600px){

  .project-hero-buttons{
    flex-direction:column;
    align-items:stretch;

    width:100%;
  }

  .project-hero-buttons .btn{
    width:100%;
    min-width:0;
  }

  .model-grid,
  .gallery{
    grid-template-columns:1fr;
  }

  .gallery figure.large{
    grid-column:auto;
  }

  .model-grid img,
  .gallery img,
  .gallery figure.large img{
    height:auto;
    max-height:480px;
  }

}