/* My Finance Solutions - shared, ACF-managed download CTAs (v6.3) */
.mfs-shared-guides-cta {
  padding: 58px 24px 64px;
  background: #fff;
}
.mfs-shared-guides-cta .mfs-container { max-width: 1100px !important; margin:0 auto; }
.mfs-shared-guides-cta .contentbox {
  position:relative;
  isolation:isolate;
  background: #312f30 !important;
  border-radius:18px !important;
  padding: 37px clamp(23px,5vw,65px) 43px !important;
  text-align:center !important;
  color:#fff !important;
  box-shadow: 12px 12px 0 #df0613 !important;
  margin:0 !important;
  width:100% !important;
  max-width:none !important;
  overflow:visible;
}
.mfs-shared-guides-cta .mfs-cta62-eyebrow {
  display:block; font:700 11px/1.35 'Work Sans',sans-serif; letter-spacing:.18em;
  text-transform:uppercase; color:#ff989f; margin:0 0 9px;
}
.mfs-shared-guides-cta .contentbox h2,
body.mfs-built-page .mfs-shared-guides-cta .contentbox h2 {
  font:800 clamp(24px,2.6vw,33px)/1.24 'Lato',sans-serif !important;
  color:#fff !important; margin:0 0 12px !important;
}
.mfs-shared-guides-cta .contentbox p.mfs-cta62-intro,
body.mfs-built-page .mfs-shared-guides-cta .contentbox p.mfs-cta62-intro {
  color:#e8e6e6 !important; max-width:630px; margin:0 auto 23px !important;
  font:400 clamp(14px,1.25vw,16px)/1.65 'Work Sans',sans-serif !important;
}
.mfs-shared-guides-cta .mfs-cta62-actions { display:flex; justify-content:center; align-items:stretch; flex-wrap:wrap; gap:12px; }
.mfs-shared-guides-cta a.mfs-cta62-button,
body.mfs-built-page .mfs-shared-guides-cta a.mfs-cta62-button {
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  gap:16px; min-height:50px; padding:14px 22px !important; border-radius:9px !important;
  text-decoration:none !important; letter-spacing:.005em;
  background:#df0613 !important; color:#fff !important; border:1px solid #df0613 !important;
  font:700 13px/1.3 'Work Sans',sans-serif !important; text-transform:none !important;
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease;
}
.mfs-shared-guides-cta a.mfs-cta62-button-2,
body.mfs-built-page .mfs-shared-guides-cta a.mfs-cta62-button-2 {
  color:#fff !important; background:transparent !important; border-color:rgba(255,255,255,.46) !important;
}
.mfs-shared-guides-cta a.mfs-cta62-button:hover,
.mfs-shared-guides-cta a.mfs-cta62-button:focus-visible {
  color:#fff !important; background:#bf0713 !important; border-color:#bf0713 !important;
  transform:translateY(-2px); box-shadow:0 8px 21px rgba(0,0,0,.18);
}
.mfs-shared-guides-cta a.mfs-cta62-button-2:hover,
.mfs-shared-guides-cta a.mfs-cta62-button-2:focus-visible { background:rgba(255,255,255,.14) !important; border-color:#fff !important; }
.mfs-shared-guides-cta a.mfs-cta62-button:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.mfs-shared-guides-cta .mfs-cta62-arrow { font-size:16px; font-weight:600; line-height:1; }
/* Remove inherited homepage background/pseudo-elements without affecting the testimonials. */
#navigation-apm.mfs-shared-guides-cta { background:#fff !important; }
#navigation-apm.mfs-shared-guides-cta .contentbox::before,
#navigation-apm.mfs-shared-guides-cta .contentbox::after { display:none !important; }
body.mfs-built-page .mfs-band--downloads { background:#fff !important; padding:20px 0 58px !important; }
body.mfs-built-page .mfs-band--downloads > .mfs-cta62-blog-shell,
body.mfs-built-page .mfs-band--downloads > .mfs-shell.mfs-cta62-blog-shell { width:100%; max-width:100%; padding:0; }
body.mfs-built-page .mfs-band--downloads .mfs-shared-guides-cta { padding:42px 25px 54px !important; }
body.mfs-built-page .mfs-band--downloads .mfs-shared-guides-cta .contentbox { padding:37px clamp(23px,5vw,65px) 43px !important; }

/* Header call button: target the actual WordPress menu item, not the hidden duplicate. */
#my-header .mfs-desktop-nav > ul.menu > li.mfs-phone-menu-item { order:99; margin-left:2px; }
#my-header .mfs-desktop-nav > ul.menu > li.mfs-phone-menu-item > a {
  min-height:44px; padding:11px 17px !important; border-radius:9px !important;
  background:#df0613 !important; border:1px solid #df0613 !important;
  color:#fff !important; font:700 13px/1.25 'Work Sans',sans-serif !important;
  box-shadow:0 5px 14px rgba(223,6,19,.16); white-space:nowrap;
  transition:background .15s ease,box-shadow .15s ease;
}
#my-header .mfs-desktop-nav > ul.menu > li.mfs-phone-menu-item > a:hover,
#my-header .mfs-desktop-nav > ul.menu > li.mfs-phone-menu-item > a:focus-visible { background:#b90713 !important; color:#fff !important; box-shadow:0 7px 17px rgba(223,6,19,.24); }
#my-header .mfs-desktop-nav li.mfs-phone-menu-item i,
#my-header .mfs-mobile-nav li.mfs-phone-menu-item i { color:#fff !important; margin-right:9px; }
#my-header #mobile-main-nav .mfs-mobile-nav li.mfs-phone-menu-item { border-bottom:0; margin-top:14px; }
#my-header #mobile-main-nav .mfs-mobile-nav li.mfs-phone-menu-item > a {
  flex:auto; width:100%; display:block; text-align:center; background:#df0613 !important;
  color:#fff !important; padding:14px 18px !important; border-radius:10px;
  font-weight:800 !important;
}
#my-header #mobile-main-nav .mfs-mobile-nav li.mfs-phone-menu-item > a:hover { background:#b90713 !important; }

/* Finance Guides: premium newsletter, currently awaiting external agency integration. */
body.mfs-built-page .mfs-band--newsletter {
  position:relative; overflow:hidden; background:#242224 !important;
  background-image:radial-gradient(ellipse at 96% 5%, rgba(224,8,21,.17), transparent 42%), linear-gradient(130deg,#272426,#171617) !important;
  padding:78px 26px 86px !important;
}
body.mfs-built-page .mfs-band--newsletter::before {
  content:''; position:absolute; top:0; left:0; width:100%; height:5px;
  background:linear-gradient(90deg,#df0613 0%,#df0613 26%,transparent 65%);
}
body.mfs-built-page .mfs-band--newsletter > .mfs-shell { max-width:1080px !important; position:relative; z-index:1; }
body.mfs-built-page .mfs-band--newsletter .mfs-shell > .elementor-widget-heading::before {
  content:'THE MFS INSIDER  •  FINANCE & PROPERTY'; display:block; color:#ff808c;
  font:700 11px/1.4 'Work Sans',sans-serif; letter-spacing:.15em;
  text-transform:uppercase; margin-bottom:16px;
}
body.mfs-built-page .mfs-band--newsletter .elementor-heading-title {
  color:#fff !important; font:800 clamp(28px,3.15vw,42px)/1.18 'Lato',sans-serif !important;
  margin-bottom:13px !important; max-width:850px;
}
body.mfs-built-page .mfs-band--newsletter .mfs-shell > .elementor-widget-text-editor p { color:#e0dfe0 !important; font-size:17px; margin:0 0 24px !important; }
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder {
  max-width:950px !important; border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.055); border-radius:16px;
  padding:25px 27px 21px; box-shadow:0 18px 45px rgba(0,0,0,.10);
}
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder form { gap:13px; align-items:center; grid-template-columns:1fr 1.2fr auto; }
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder label { display:block; margin:0; }
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder input {
  width:100%; min-height:52px; border:1px solid rgba(255,255,255,.16) !important;
  border-radius:9px; background:rgba(255,255,255,.92) !important;
  color:#2d292b !important; font:500 15px/1.4 'Work Sans',sans-serif;
}
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder input:disabled { opacity:.79; }
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder button {
  min-height:52px; padding:14px 25px; background:#df0613 !important; border:0;
  border-radius:9px; color:#fff !important; font:800 13px/1.2 'Work Sans',sans-serif;
  text-transform:uppercase; white-space:nowrap;
}
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder button:disabled { opacity:.75; cursor:not-allowed; }
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder .mfs-integration-note {
  font:400 13px/1.6 'Work Sans',sans-serif; color:#cac6c8 !important;
  margin:14px 0 0 !important;
}
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-connected,
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-connected form {
  max-width:950px; color:#fff;
}
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-connected input {
  background:#fff; border-radius:8px; min-height:51px;
}
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-connected input[type=submit],
body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-connected button { background:#df0613; color:#fff; border-radius:9px; }
@media (max-width:767px) {
  .mfs-shared-guides-cta { padding:39px 18px 45px; }
  .mfs-shared-guides-cta .contentbox { padding:30px 20px 33px !important; box-shadow:7px 7px 0 #df0613 !important; border-radius:14px !important; }
  .mfs-shared-guides-cta .mfs-cta62-actions { flex-direction:column; gap:11px; }
  .mfs-shared-guides-cta a.mfs-cta62-button { width:100%; min-height:50px; }
  body.mfs-built-page .mfs-band--newsletter { padding:62px 18px !important; }
  body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder { padding:19px 16px 17px; }
  body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder form { grid-template-columns:1fr; }
  body.mfs-built-page .mfs-band--newsletter .mfs-newsletter-placeholder button { width:100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mfs-shared-guides-cta a.mfs-cta62-button, #my-header .mfs-desktop-nav > ul.menu > li.mfs-phone-menu-item > a { transition:none; }
}

/* v6.3: uniform breathing room around the global footer contact section. */
body footer#contact.site-footer > .mfs-footer-contact {
  box-sizing:border-box;
  padding-block:68px 76px !important;
}
body footer#contact.site-footer > .mfs-footer-contact .form-contact-box { margin-block:0; }
@media (max-width:767px) {
  body footer#contact.site-footer > .mfs-footer-contact { padding-block:50px 58px !important; }
}
