
/* =============================================================
   AMSYNK V13.1 — SOURCE-CODE AUDIT FIXES
   This layer targets concrete large-gap declarations found in
   the existing CSS. No web inspection required.
   ============================================================= */

/* Contact page had a legacy 90px top margin on enquiry section. */
body.page-contact .enquiry-section{
  margin-top:0!important;
}

/* Resource pages used a hard 100px jump between content sections. */
.enterprise-page .resource-content > section{
  margin-top:52px!important;
}
.enterprise-page .resource-content > section:first-child{
  margin-top:0!important;
}

/* Product dossier stylesheet had margin-top:140px on every section.
   That is a direct cause of disconnected detail pages. */
.premium-dossier-page .dossier-section{
  margin-top:0!important;
  margin-bottom:28px!important;
  padding-bottom:28px!important;
}

/* Related product blocks: smaller, denser procurement navigation. */
.premium-dossier-page .dossier-related{
  gap:12px!important;
}
.premium-dossier-page .dossier-related a{
  min-height:128px!important;
  padding:18px!important;
}

/* Generic enterprise hero media: stop oversized media panels on inner pages. */
.enterprise-page .enterprise-media-frame{
  min-height:clamp(310px,34vw,390px)!important;
}
.enterprise-page .enterprise-media-frame > img{
  min-height:0!important;
  height:100%!important;
  object-fit:cover!important;
}

/* Company visual band was hard-coded to a very tall 720px image. */
body.page-company .company-visual-band img{
  height:clamp(380px,38vw,560px)!important;
  object-fit:cover!important;
}

/* SEO/service hero imagery stays visually substantial without creating
   a second-screen-sized header. */
body.seo-service-page .seo-service-hero-media img{
  height:clamp(300px,34vw,400px)!important;
  object-fit:cover!important;
}

/* Company/services hero media should not exceed the copy block dramatically. */
body.page-company .company-hero-media-frame img,
body.page-services .service-hero-media img{
  min-height:0!important;
  max-height:460px!important;
  object-fit:cover!important;
}

/* Tighten card families that previously used full-height/stretch behavior. */
.enterprise-page .seo-service-cards .enterprise-info-card{
  min-height:0!important;
  height:auto!important;
}
.enterprise-page .enterprise-grid .card{
  min-height:0!important;
}

/* Homepage: remove residual blank bands around late-page sections. */
body.homepage-spacing-v1215 .engagement-path-section{
  padding-bottom:0!important;
}
body.homepage-spacing-v1215 .process-section{
  padding-top:0!important;
}
body.homepage-spacing-v1215 .faq-section{
  padding-bottom:14px!important;
}
body.homepage-spacing-v1215 .seo-capability-links{
  padding-top:18px!important;
  padding-bottom:22px!important;
}
body.homepage-spacing-v1215 .final-cta-section{
  padding-top:8px!important;
}

/* Specialist cards should form a denser enterprise directory. */
body.homepage-spacing-v1215 .seo-capability-links .seo-link-grid,
body.homepage-spacing-v1215 .seo-capability-links .service-link-grid{
  gap:10px!important;
}
body.homepage-spacing-v1215 .seo-capability-links a{
  min-height:0!important;
  padding:20px 22px!important;
}

/* Common CTA bands should attach to previous sections, not float below them. */
.enterprise-page .enterprise-cta-band,
.enterprise-page .final-cta-section{
  margin-top:0!important;
}

/* Remove inherited giant top gaps from generic content wrappers. */
.enterprise-page main > section{
  scroll-margin-top:90px;
}

/* Mobile refinement */
@media(max-width:700px){
  .enterprise-page .resource-content > section{
    margin-top:38px!important;
  }

  .premium-dossier-page .dossier-section{
    margin-bottom:24px!important;
    padding-bottom:24px!important;
  }

  body.page-company .company-visual-band img{
    height:320px!important;
  }

  body.homepage-spacing-v1215 .faq-section{
    padding-bottom:10px!important;
  }

  body.homepage-spacing-v1215 .seo-capability-links{
    padding-top:14px!important;
    padding-bottom:18px!important;
  }

  body.homepage-spacing-v1215 .final-cta-section{
    padding-top:6px!important;
  }
}
