/* Site footer (ElementsKit template "Main Footer") — measurements from the modeiptv.ca footer. */
.mf, .mf-copy { font-family: "League Spartan", "League Spartan Fallback", sans-serif; font-size: 18px; line-height: 27px; -webkit-font-smoothing: antialiased; }
.mf.e-con, .mf .e-con, .mf-copy.e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px; min-width: 0;
}
.mf .elementor-widget, .mf-copy .elementor-widget { margin: 0 !important; }
.mf .elementor-widget-text-editor, .mf-copy .elementor-widget-text-editor, .mf .elementor-icon-list-text { font-family: inherit; }

/* Top area: dark background with a faint line grid that fades out at the edges */
.mf.e-con { position: relative; isolation: isolate; padding: 100px 0 75px; background: #0a0102; }
.mf.e-con::before {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: 1; border-radius: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 108px 108px; background-position: -80px 40px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 75% at 50% 50%, #000 40%, transparent 100%);
}
.mf .mf-wrap { width: 100%; max-width: 1356px !important; margin: 0 auto; padding: 0 30px; }
.mf .mf-grid { display: grid !important; grid-template-columns: repeat(6, minmax(0, max-content)); justify-content: space-between; gap: 0 24px; }
.mf .mf-col { width: auto !important; margin-bottom: 30px; }
.mf .mf-col.mf-brand { max-width: 200px; }
.mf .mf-col:last-child { max-width: 250px; }

/* Brand column */
.mf .mf-logo { width: 250px !important; margin-bottom: 40px !important; text-align: left; }
.mf .mf-logo a { display: block; }
.mf .mf-logo img { display: block; width: 226px; height: auto; margin-left: 24px; }
.mf .mf-brand__text { margin: -5px 0 30px !important; color: #b9c3dc; font-size: 18px; line-height: 1.8; }
.mf .mf-brand__find .elementor-heading-title { margin: 0 0 15px; font-family: inherit; font-size: 20px; font-weight: 600; line-height: 24px; color: #fff; }
.mf .mf-social { width: auto !important; padding-top: 5px; }
.mf .mf-social .elementor-icon-wrapper { display: flex; line-height: 0; }
.mf .mf-social .elementor-icon { font-size: 18px; color: #d9252f; background: none; padding: 0; transition: color .3s; }
.mf .mf-social .elementor-icon svg { width: 18px; height: 18px; }
.mf .mf-social .elementor-icon:hover { color: #8fb2f2; }

/* Link columns */
.mf .mf-col__title { margin-bottom: 25px !important; }
.mf .mf-col__title .elementor-heading-title { font-family: inherit; font-size: 20px; font-weight: 600; line-height: 24px; color: #fff; }
.mf .mf-links .elementor-icon-list-items { display: block; margin: 0; padding: 0; }
.mf .mf-links .elementor-icon-list-item { display: block; margin: 0 0 15px !important; padding: 0 !important; }
.mf .mf-links .elementor-icon-list-item:last-child { margin-bottom: 0 !important; }
.mf .mf-links .elementor-icon-list-item::after, .mf .mf-links .elementor-icon-list-icon { display: none; }
.mf .mf-links .elementor-icon-list-item > a { display: inline; color: #b9c3dc; text-decoration: none; }
.mf .mf-links .elementor-icon-list-text { padding: 0; font-size: 18px; line-height: 27px; color: inherit; transition: color .2s; }
.mf .mf-links .elementor-icon-list-item > a:hover .elementor-icon-list-text { color: #8fb2f2; }
.mf .mf-col:nth-child(3) .mf-links .elementor-icon-list-item { margin-bottom: 9px !important; }
.mf .mf-col:nth-child(3) .mf-links .elementor-icon-list-item:last-child { margin-bottom: 0 !important; }

/* Copyright band */
.mf-copy.e-con { background: #000; padding: 53px 0 38px; }
.mf-copy .mf-disclaimer {
  max-width: 820px !important; margin: 0 auto !important; padding: 26px 20px 0; text-align: center;
  font-size: 14px; font-weight: 300; line-height: 21px; color: #fff;
}
.mf-copy .mf-disclaimer a { color: #7cc0ff; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(143, 178, 242, .35); padding-bottom: 1px; transition: color .15s, border-color .15s; }
.mf-copy .mf-disclaimer a:hover { color: #fff; border-color: #fff; }
.mf-copy .mf-copyright { width: 780px; max-width: 100% !important; margin: 0 auto !important; padding: 19px 0 45px; text-align: center; font-size: 12px; line-height: 22.2px; letter-spacing: .3px; color: #8a8183; } /* 5.1:1 on the navy footer (WCAG AA) */

@media (max-width: 991px) {
  .mf .mf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .mf .mf-col.mf-brand { grid-column: 1 / -1; max-width: 250px; }
  .mf .mf-col:last-child { max-width: none; }
  .mf .mf-col__title { margin-bottom: 15px !important; }
}
@media (max-width: 767px) {
  .mf.e-con { padding: 70px 0 45px; }
  .mf .mf-wrap { padding: 0 16px; }
}

/* Liseré tricolore en haut du pied de page (::after, le ::before porte la grille) + fonds marine assortis à l’en-tête */
.mf.e-con { background: #071230; }
.mf-copy.e-con { background: #050d24; }
.mf.e-con::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, #0055a4 0 33.34%, #ffffff 33.34% 66.67%, #d9252f 66.67% 100%); }

/* Touch: footer links get a ≥32px tap area on phones/tablets without changing the visual rhythm. */
@media (max-width: 1024px) {
  .mf .mf-links .elementor-icon-list-item > a { display: inline-block; padding: 7px 0; }
  .mf .mf-links .elementor-icon-list-item { margin-bottom: 1px !important; }
  .mf .mf-col:nth-child(3) .mf-links .elementor-icon-list-item { margin-bottom: 0 !important; }
}
