/**
 * MGN site-wide footer separation, October 2026.
 * Warm, editorial last-section palette vs. the evergreen shared footer.
 * Loaded after page-specific styles on all public routes.
 */

/* The footer must remain distinct even where a page has no final CTA. */
body .mgn-hs-footer{
  background:#073e31!important;
  border-top:6px solid #eeb647!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.06);
  position:relative;
  isolation:isolate;
}

/* Gallery: contrast the feature CTA seen directly above the shared footer. */
body .mgn-studio .mgn-studio-cta{
  background:linear-gradient(115deg,#f8eddc 0%,#f1ead7 72%,#edf4e8 100%)!important;
  color:#183e2d!important;
}
body .mgn-studio .mgn-studio-cta h2{
  color:#183e2d!important;
}
body .mgn-studio .mgn-studio-cta h2 em{
  color:#cd5130!important;
}
body .mgn-studio .mgn-studio-cta p{
  color:#506b59!important;
}
body .mgn-studio .mgn-studio-cta .mgn-studio-kicker{
  color:#ad4c2c!important;
}
body .mgn-studio .mgn-studio-cta .mgn-studio-cta-secondary{
  color:#174f37!important;
  border-bottom-color:#95b397!important;
}
body .mgn-studio .mgn-studio-cta .mgn-studio-cta-secondary span{
  color:#d25730!important;
}

/* Get Involved: a light final section instead of one uninterrupted forest-green band. */
body .mgn-action-page .mgn-action-bottom,
body .mgn-action-bottom{
  background:linear-gradient(115deg,#f7ecdb,#eef4e9)!important;
  color:#174532!important;
}
body .mgn-action-bottom h2{
  color:#174532!important;
}
body .mgn-action-bottom h2 em{
  color:#d8502f!important;
}
body .mgn-action-bottom p{
  color:#58725f!important;
}
body .mgn-action-bottom .mgn-action-overline{
  color:#b5512e!important;
}
body .mgn-action-bottom-actions a:nth-child(2){
  color:#164b33!important;
  border-color:#9db6a0!important;
  background:transparent!important;
}
body .mgn-action-bottom-actions a:nth-child(2):hover{
  color:#fff!important;
  background:#235c41!important;
}

/* Contact: distinguish final cross-link banner from footer. */
body .mgn-contact-page .mgn-contact-final{
  background:linear-gradient(115deg,#f9efd9,#eaf2e4)!important;
}
body .mgn-contact-page .mgn-contact-final h2{
  color:#164330!important;
}
body .mgn-contact-page .mgn-contact-final p{
  color:#56705f!important;
}
body .mgn-contact-page .mgn-contact-final .mgn-contact-kicker{
  color:#ad4d2a!important;
}
body .mgn-contact-page .mgn-contact-final-links a:first-child{
  color:#185239!important;
  background:#fffaf0!important;
  border-color:#acc6aa!important;
}
body .mgn-contact-page .mgn-contact-final-links a:first-child:hover{
  background:#eaf1e5!important;
}

/* Events & community landing pages. */
body .mgnlp-page .mgnlp-next,
body .mgnlp-next{
  background:linear-gradient(115deg,#faeddb,#eaf2e5)!important;
  color:#184632!important;
}
body .mgnlp-next h2{
  color:#184632!important;
}
body .mgnlp-next p{
  color:#577260!important;
}
body .mgnlp-next>span,
body .mgnlp-next .mgnlp-eyebrow,
body .mgnlp-next .mgnlp-kicker{
  color:#b95431!important;
}
body .mgnlp-next a:not([class*="btn"]):not([class*="button"]){
  color:#174e34!important;
}

/* Christmas special event: warm endcap, not the green footer colour. */
body.mgn-xmas-event-page .mgn-xmas-bottom-cta{
  background:linear-gradient(120deg,#f9eddd,#edf4e8)!important;
  color:#174631!important;
}
body.mgn-xmas-event-page .mgn-xmas-bottom-cta h2{
  color:#174631!important;
}
body.mgn-xmas-event-page .mgn-xmas-bottom-cta h2 em,
body.mgn-xmas-event-page .mgn-xmas-bottom-cta>span{
  color:#bd502e!important;
}
body.mgn-xmas-event-page .mgn-xmas-bottom-cta a{
  color:#155039!important;
  border-color:#a2bfa8!important;
}
body.mgn-xmas-event-page .mgn-xmas-bottom-cta a:hover{
  background:#205b40!important;
  color:#fff!important;
}
body.mgn-xmas-event-page .mgn-xmas-bottom-cta a span{
  color:inherit!important;
}

/* Accessible interaction: preserved on all light CTAs. */
body :is(
  .mgn-studio-cta,
  .mgn-contact-final,
  .mgn-action-bottom,
  .mgnlp-next,
  .mgn-xmas-bottom-cta
) :is(a,button):focus-visible{
  outline:3px solid #e66a3b!important;
  outline-offset:4px!important;
}
@media(max-width:767px){
  body .mgn-hs-footer{border-top-width:5px!important}
}
