/*
 * AlexEmme layout refinements — 1.19.16
 * // by Alessandro Monfregola
 *
 * Rifiniture mirate per Contatti, Bellicchio & Leccamuffo e hub C64.
 * Nessuna modifica strutturale ai template: solo ritmo, wrapping e spaziature.
 */

/* =========================================================
   CONTATTI — meno altezza vuota, stesso form e stessa UX.
   ========================================================= */
@media(min-width:1101px){
  .contact-page .contact-hero{
    padding-top:10px!important;
    padding-bottom:10px!important;
  }

  .contact-page .contact-form-shell{
    padding-top:9px!important;
    padding-bottom:10px!important;
  }

  .contact-page .contact-form-intro{
    margin-bottom:7px!important;
  }

  .contact-page .contact-form-content{
    padding:14px 22px 16px!important;
    border-radius:15px!important;
  }

  .contact-page .contact-form-content .wpforms-field{
    padding-bottom:7px!important;
  }

  .contact-page .contact-form-content textarea{
    min-height:62px!important;
    height:62px!important;
  }

  .contact-page .contact-form-content .wpforms-field-checkbox{
    padding-bottom:6px!important;
  }

  .contact-page .contact-form-content .wpforms-turnstile-container,
  .contact-page .contact-form-content .wpforms-recaptcha-container,
  .contact-page .contact-form-content [class*=turnstile]{
    margin-bottom:4px!important;
  }

  .contact-page .contact-form-content .cf-turnstile{
    transform:scale(.84)!important;
    transform-origin:left top!important;
    margin-bottom:-10px!important;
  }

  .contact-page .contact-form-content button[type=submit],
  .contact-page .contact-form-content .wpforms-submit{
    min-height:40px!important;
    padding:9px 20px!important;
  }
}

/* =========================================================
   COMMODORE 64 — meno vuoto e testata del primo piano più pulita.
   ========================================================= */
@media(min-width:981px){
  .c64-featured{
    padding-top:clamp(22px,2.2vw,30px)!important;
    padding-bottom:clamp(22px,2.2vw,30px)!important;
  }

  .c64-featured .c64-section-head{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:28px!important;
    margin-bottom:16px!important;
  }

  .c64-featured .c64-section-head>p{
    justify-self:end!important;
    width:auto!important;
    max-width:none!important;
    white-space:nowrap!important;
  }

  .c64-archive{
    padding-top:clamp(18px,1.8vw,24px)!important;
  }

  .c64-hub .category-tag-dock-section + .c64-archive{
    padding-top:clamp(16px,1.6vw,22px)!important;
  }

  .c64-archive .c64-section-head{
    margin-bottom:16px!important;
  }
}

@media(max-width:980px){
  .c64-featured{
    padding-top:26px!important;
    padding-bottom:26px!important;
  }

  .c64-archive{
    padding-top:22px!important;
  }
}

@media(max-width:700px){
  .c64-featured{
    padding-top:20px!important;
    padding-bottom:22px!important;
  }

  .c64-archive{
    padding-top:18px!important;
  }
}
