/* Wide homepage enquiry form, earlier contact form, and flowing Insights content. */
.home-with-contact .home-lawyers-section { padding-bottom: 48px; }
.home-lawyer-contact {
  background: #f7f5f0;
  padding: 0 0 84px;
  scroll-margin-top: 110px;
}
.home-lawyer-contact .home-contact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 30px 64px;
  margin-bottom: 28px;
}
.home-contact-heading h2 {
  color: #000e24;
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.12;
}
.home-contact-heading p { color: #53627a; margin: 0; font-size: .9rem; line-height: 1.7; }
.home-lawyer-contact .home-contact-form {
  width: 100%;
  border-top: 4px solid #c7a765;
  padding: 36px;
  box-shadow: 0 12px 32px rgba(0,14,36,.07);
}
.home-contact-form .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-contact-form input,
.home-contact-form select,
.home-contact-form textarea { min-width: 0; font: inherit; font-size: .86rem; }
.home-contact-form .form-wide { grid-column: 1 / -1; }
.home-contact-form .consent input { min-height: 0; width: 18px; height: 18px; }
.home-contact-form .form-status { margin-bottom: 0; font-size: .74rem; }
.home-contact-form .button { min-height: 48px; }
.contact-form-first .contact-hero {
  min-height: 390px;
  padding: 164px 0 40px;
}
.contact-form-first .contact-hero .breadcrumbs { margin-bottom: 24px; }
.contact-form-first .contact-hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  max-width: 1050px;
  margin-bottom: 18px;
}
.contact-form-first .contact-hero > .shell > p { margin-bottom: 0; max-width: 920px; font-size: .98rem; }
.contact-form-first .contact-form-section {
  padding: 48px 0 64px;
  scroll-margin-top: 110px;
}
.contact-form-first .contact-layout { gap: 42px; }
.contact-form-first .contact-form { padding: 32px; border-top-color: #c7a765; }
.contact-form-first .consent input { min-height: 0; width: 18px; height: 18px; }
.contact-form-first .contact-form-copy h2 { margin-top: 12px; font-size: clamp(2rem, 3vw, 3rem); }
.contact-form-first .contact-routes { padding-top: 70px; }
.insights-hub .topic-layout { gap: clamp(32px, 4vw, 64px); }
.insights-hub .hub-intro { padding-top: 72px; padding-bottom: 76px; }
.insights-hub .topic-article .hub-legal-map,
.insights-hub .topic-article .hub-directory {
  padding: 28px;
  margin: 40px 0 0;
  border: 1px solid #dce0e6;
}
.insights-hub .topic-article .hub-directory { background: #f7f5f0; }
.insights-hub .topic-article .hub-legal-map > .shell,
.insights-hub .topic-article .hub-directory > .shell { width: 100%; margin: 0; }
.insights-hub .topic-article .section-heading { margin-bottom: 24px; }
.insights-hub .topic-article .section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.15;
}
.insights-hub .topic-article .hub-code-grid,
.insights-hub .topic-article .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.insights-hub .topic-article .hub-code-grid a,
.insights-hub .topic-article .directory-grid a { min-height: 0; padding: 22px; }
.insights-hub .topic-article .hub-code-grid h3,
.insights-hub .topic-article .directory-grid h3 { margin: 12px 0; font-size: 1.2rem; line-height: 1.25; }
.insights-hub .topic-article .hub-code-grid p,
.insights-hub .topic-article .directory-grid p { margin: 0 0 18px; font-size: .78rem; line-height: 1.65; }
@media (max-width: 1024px) {
  .insights-hub .topic-layout { grid-template-columns: minmax(0, 1fr); }
  .insights-hub .topic-sidebar { position: static; }
}
@media (max-width: 820px) {
  .home-lawyer-contact { padding-bottom: 56px; }
  .home-lawyer-contact .home-contact-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-contact-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form-first .contact-hero { min-height: 320px; padding: 120px 0 34px; }
  .contact-form-first .contact-hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
  .contact-form-first .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-form-first .contact-form-copy { order: 2; }
  .contact-form-first .contact-form { order: 1; }
  .contact-form-first .contact-form-section { padding-top: 32px; }
  .insights-hub .hub-intro { padding: 48px 0; }
}
@media (max-width: 560px) {
  .home-with-contact .home-lawyers-section { padding-bottom: 32px; }
  .home-lawyer-contact .home-contact-form,
  .contact-form-first .contact-form { padding: 22px 18px; }
  .home-contact-form .form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-contact-form .button { width: 100%; }
  .contact-form-first .contact-hero > .shell > p { font-size: .86rem; }
  .insights-hub .topic-article .hub-legal-map,
  .insights-hub .topic-article .hub-directory { padding: 20px 16px; margin-top: 28px; }
  .insights-hub .topic-article .hub-code-grid,
  .insights-hub .topic-article .directory-grid { grid-template-columns: minmax(0, 1fr); }
}
