/* Only the explicitly replaced image: preserve the full artwork. */
.mhp-v2 .mhp-header-inner .mhp-brand > img.mhp-brand-story-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* The old theme clips images in a fixed-height box. With :has support, let
   this single anchor grow to its artwork's intrinsic height; without it the
   max-height fallback above still fits the full artwork without cropping. */
@supports selector(:has(> img)) {
  .mhp-v2 .mhp-header-inner .mhp-brand:has(> img.mhp-brand-story-logo) {
    width: 190px;
    max-width: 100%;
    height: auto;
    flex: 0 1 190px;
  }
  .mhp-v2 .mhp-header-inner .mhp-brand > img.mhp-brand-story-logo {
    width: 100%;
    max-height: none;
  }
  @media (max-width: 640px) {
    .mhp-v2 .mhp-header-inner .mhp-brand:has(> img.mhp-brand-story-logo) {
      width: 155px;
      flex-basis: 155px;
    }
  }
}
/* The existing i18n/flag CSS retains ownership of wrapping and navigation. */
.mhp-v2 :is(#contact, #faq) .mhp-company-story {
  box-sizing: border-box;
  max-width: 760px;
  margin: 28px 0 0;
  padding: 22px;
  border: 1px solid #cbe5ef;
  border-radius: 12px;
  background: #f5fafc;
  color: #123d58;
  overflow-wrap: anywhere;
}
.mhp-v2 :is(#contact, #faq) .mhp-company-story :is(h1, h2) {
  margin: 0 0 8px;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.25;
}
.mhp-v2 :is(#contact, #faq) .mhp-company-story p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
}
.mhp-v2 :is(#contact, #faq) .mhp-company-story .mhp-company-story__tagline {
  color: #07578c;
  font-weight: 700;
}
.mhp-v2 :is(#contact, #faq) .mhp-company-story .mhp-company-story__closing {
  margin-bottom: 0;
  color: #07578c;
  font-weight: 700;
}
.mhp-v2 #faq .mhp-company-story-wrap { padding-block: 24px; }
.mhp-v2 #faq .mhp-company-story { margin-top: 0; }
/* The FAQ is now a contact module, not a second full-page hero. Keep the
   original questions and answers intact while hiding redundant introductions. */
.mhp-v2 #contact .mhp-contact-faq > .mhp-page-hero,
.mhp-v2 #contact .mhp-contact-faq .mhp-faq-layout > div:first-child { display: none; }
.mhp-v2 #contact .mhp-contact-faq .mhp-contact-faq__heading {
  margin: 0;
  padding-top: 24px;
  color: #123d58;
  font-size: 22px;
  line-height: 1.25;
}
.mhp-v2 #contact .mhp-contact-faq > .mhp-pad { padding: 0 0 28px; }
.mhp-v2 #contact .mhp-contact-faq .mhp-faq-layout { display: block; }
@media (max-width: 640px) {
  .mhp-v2 :is(#contact, #faq) .mhp-company-story { padding: 18px 16px; }
  .mhp-v2 #contact .mhp-company-story { margin-top: 22px; }
  .mhp-v2 #contact .mhp-contact-faq .mhp-contact-faq__heading { padding-top: 16px; }
  .mhp-v2 #contact .mhp-contact-faq > .mhp-pad { padding-bottom: 20px; }
}
