/* Shared editorial composition for the new service pages. */
.mfc-service-visual.services-page .mfc-filing__hero { background: #f2f9fe; }
.mfc-service-visual .mfc-filing__hero--has-image .mfc-filing__hero-image { left: auto; right: 0; width: 65%; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); mask-image: linear-gradient(90deg, transparent, #000 25%); }
/* Match the established Facility banner gradient and the Services image's pale-blue base. */
.mfc-service-visual .mfc-filing__hero--has-image::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(75.79deg, #f2f9fe 15.86%, rgba(242, 249, 254, 0) 64.81%, rgba(242, 249, 254, 0) 69.76%); content: ""; pointer-events: none; }
body.page-motion-ready .mfc-service-visual .page-reveal {
  transition-property: opacity, translate, scale;
  transition-duration: 650ms, 800ms, 800ms;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--page-reveal-delay, 0ms);
}
.mfc-service-visual .mfc-service-row { display: flex; align-items: center; gap: 72px; }
.mfc-service-visual .mfc-service-text { flex: 1; min-width: 0; }
.mfc-service-visual .mfc-service-media { --mfc-frame-inset: 24px; position: relative; flex: 0 0 43%; min-width: 0; margin: 0; padding: 26px 0 0 var(--mfc-frame-inset); isolation: isolate; }
.mfc-service-visual .mfc-service-media::before { position: absolute; top: 0; left: 0; width: 87.84%; height: 87.32%; z-index: -1; border: 2.811px solid #d0dae0; border-radius: 30px 0 30px 30px; content: ""; pointer-events: none; }
.mfc-service-visual .mfc-service-media::after { position: absolute; right: -28px; bottom: -32px; width: 110px; height: 110px; background: url("../source/icons/services-process-side-pattern-animated.svg") center / contain no-repeat; content: ""; pointer-events: none; }
.mfc-service-visual .mfc-service-media__image { position: relative; display: block; width: 100%; height: 597px; object-fit: cover; object-position: center; border-radius: 30px; }
.mfc-service-visual .mfc-service-text h2 { margin: 0 0 24px; color: var(--color-navy); font-size: 38px; line-height: 1.2; font-weight: 500; }
.mfc-service-visual .mfc-service-text .eyebrow { margin-bottom: 16px; }
.mfc-service-visual .mfc-filing__editorial-heading { flex: auto; }
.mfc-service-visual .mfc-filing__editorial--complex .mfc-service-row { flex-direction: row-reverse; }
.mfc-service-visual .mfc-filing__editorial--complex { background: var(--color-ice); }
.mfc-service-visual .mfc-filing__services { background: var(--color-cream); }
.mfc-service-visual .mfc-filing__checklist { gap: 0 40px; padding: 24px 40px; border: 1px solid #e7ddc9; border-radius: 24px; background: #fff; }
.mfc-service-visual .mfc-filing__checklist li { position: relative; flex-basis: calc(50% - 20px); padding: 24px 0 24px 32px; border: 0; border-bottom: 1px solid #e8edf1; border-radius: 0; background: transparent; }
/* Reuse the established blue check icon for editorial bullet lists. */
.mfc-service-visual .mfc-filing__copy ul { list-style: none; padding-left: 0; }
.mfc-service-visual .mfc-filing__copy ul > li { position: relative; padding-left: 32px; }
.mfc-service-visual .mfc-filing__copy ul > li::before,
.mfc-service-visual .mfc-filing__checklist > li::before { position: absolute; top: calc(.875em - 7.5px); left: 0; width: 15px; height: 15px; background: url("../source/icons/contact-prepare-check.svg") center / contain no-repeat; content: ""; }
.mfc-service-visual .mfc-filing__checklist > li::before { top: calc(24px + .8em - 7.5px); }
.mfc-service-visual .mfc-process__steps { padding: 0; background: #fff; }
.mfc-service-visual .mfc-process__step-list { list-style: none; margin: 0; padding: 0; }
.mfc-service-visual .mfc-process__step { display: block; margin: 0; padding: 88px 0; border: 0; border-radius: 0; background: #fff; }
.mfc-service-visual .mfc-process__step:nth-child(even) { background: var(--color-ice); }
.mfc-service-visual .mfc-process__step:nth-child(even) .mfc-service-row { flex-direction: row-reverse; }
.mfc-service-visual .mfc-process__step-heading { width: 100%; }
.mfc-service-visual .mfc-process__step-heading .mfc-process__subtitle { margin: 0 0 24px; color: var(--color-navy); font-size: 19px; font-weight: 600; line-height: 1.5; }
.mfc-service-visual .mfc-process__bullets { padding-left: 20px; margin-bottom: 24px; }
.mfc-service-visual .mfc-process__bullets li { margin-bottom: 8px; }
.mfc-service-visual .mfc-process__bullets:has(> li:nth-child(6)) { display: flex; flex-wrap: wrap; column-gap: 28px; }
.mfc-service-visual .mfc-process__bullets:has(> li:nth-child(6)) > li { flex: 0 1 calc(50% - 14px); }
.mfc-service-visual .mfc-process__commitments { background: var(--color-cream); }
.mfc-service-visual .mfc-process__commitment-list > li { padding: 36px; border: 1px solid #e8dec9; border-radius: 24px 8px; background: #fff; box-shadow: 0 6px 22px rgba(10, 26, 44, .04); }
.mfc-service-visual .mfc-process__commitment-list h3 { color: var(--color-navy); }
.mfc-service-visual .mfc-financial__step-number { border-radius: 14px 5px; color: var(--color-gold); }
.mfc-service-visual .mfc-financial__caution { background: #fff; }
.mfc-service-visual .mfc-financial__caution .mfc-filing__container { padding: 48px; border-left: 4px solid var(--color-gold); border-radius: 0 24px 24px 0; background: var(--color-ice); }
.mfc-service-visual .mfc-nursing-home__intro { max-width: none; margin-bottom: 80px; }
.mfc-home-protection .mfc-home-protection__overview { padding-block: 88px; background: var(--color-cream); }
.mfc-home-protection__overview-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.mfc-home-protection__overview-heading { flex: 0 1 32%; min-width: 0; }
.mfc-home-protection__overview-heading h2 { margin-bottom: 0; }
.mfc-home-protection__overview-copy { flex: 1; min-width: 0; }
.mfc-home-protection__overview-copy > p:first-child { color: var(--color-navy); font-weight: 600; }
.mfc-home-protection__overview-notice { flex: 0 0 100%; padding: 24px 32px; border-left: 3px solid var(--color-gold); border-radius: 0 18px 18px 0; background: #fff; }
/* Mirror the frame when the image occupies the right-hand column. */
@media (min-width: 769px) {
  .mfc-service-visual :is(.mfc-filing__editorial--complex, .mfc-process__step:nth-child(even)) .mfc-service-media { padding-left: 0; padding-right: var(--mfc-frame-inset); }
  .mfc-service-visual :is(.mfc-filing__editorial--complex, .mfc-process__step:nth-child(even)) .mfc-service-media::before { left: auto; right: 0; border-radius: 0 30px 30px 30px; }
}
@media (max-width: 1440px) {
  .mfc-home-protection .mfc-home-protection__overview { padding-block: 70px; }
  .mfc-service-visual .mfc-service-row { gap: 52px; }
  .mfc-service-visual .mfc-service-text h2 { font-size: 32px; }
  .mfc-service-visual .mfc-service-media { --mfc-frame-inset: 18px; padding-top: 18px; }
  .mfc-service-visual .mfc-service-media__image { height: 460px; }
  .mfc-service-visual .mfc-process__step { padding-block: 70px; }
  .mfc-service-visual .mfc-process__step-heading .mfc-process__subtitle { font-size: 18px; }
}
@media (max-width: 1024px) {
  .mfc-service-visual .mfc-filing__hero--has-image .mfc-filing__hero-image { width: 100%; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .mfc-service-visual .mfc-filing__hero--has-image::before { display: none; }
  .mfc-service-visual .mfc-service-row { gap: 36px; align-items: flex-start; }
  .mfc-service-visual .mfc-service-media { flex-basis: 38%; }
  .mfc-service-visual .mfc-service-media__image { height: 320px; }
  .mfc-service-visual .mfc-service-text h2 { font-size: 28px; }
  .mfc-service-visual .mfc-process__commitment-list > li { padding: 26px; }
}
@media (max-width: 768px) {
  .mfc-home-protection .mfc-home-protection__overview { padding-block: 50px; }
  .mfc-home-protection__overview-inner { flex-direction: column; gap: 28px; }
  .mfc-home-protection__overview-heading,
  .mfc-home-protection__overview-copy,
  .mfc-home-protection__overview-notice { flex-basis: auto; width: 100%; }
  .mfc-home-protection__overview-notice { padding: 22px; }
  .mfc-service-visual .mfc-service-row,
  .mfc-service-visual .mfc-process__step:nth-child(even) .mfc-service-row,
  .mfc-service-visual .mfc-filing__editorial--complex .mfc-service-row { flex-direction: column; gap: 38px; }
  .mfc-service-visual .mfc-service-media { flex-basis: auto; width: 100%; max-width: 540px; margin-inline: auto; padding: 14px 0 0 14px; }
  .mfc-service-visual .mfc-service-media::after { right: -16px; bottom: -20px; width: 75px; height: 75px; }
  .mfc-service-visual .mfc-service-media__image { height: 440px; }
  .mfc-service-visual .mfc-service-text { width: 100%; }
  .mfc-service-visual .mfc-process__bullets:has(> li:nth-child(6)) > li { flex-basis: 100%; }
  .mfc-service-visual .mfc-service-text h2 { font-size: 28px; }
  .mfc-service-visual .mfc-process__step { padding-block: 52px; }
  .mfc-service-visual .mfc-filing__checklist { padding: 8px 24px; }
  .mfc-service-visual .mfc-filing__checklist li { flex-basis: 100%; padding-block: 20px; }
  .mfc-service-visual .mfc-filing__checklist > li::before { top: calc(20px + .8em - 7.5px); }
  .mfc-service-visual .mfc-financial__caution .mfc-filing__container { padding: 28px; }
  .mfc-service-visual .mfc-nursing-home__intro { margin-bottom: 50px; }
}
@media (max-width: 430px) {
  .mfc-service-visual .mfc-service-media::before { border-radius: 18px 0 18px 18px; }
  .mfc-service-visual .mfc-service-media__image { height: 300px; border-radius: 18px; }
  .mfc-service-visual .mfc-service-text h2 { font-size: 26px; }
}
@media (max-width: 360px) {
  .mfc-service-visual .mfc-service-media__image { height: 260px; }
}
