/* Four-column footer (shared by every page).
   Loaded after mtc-home.css, which still carries the old footer rules for the
   home page; the selectors below are scoped to .mtc-f4 so they cannot leak,
   and the home-page variants are repeated with the body id so they win. */

.mtc-f4{background:#0054a5;color:var(--on-dark);padding:88px 0 88px}
.mtc-f4-grid{display:grid;
  grid-template-columns:minmax(340px,1.22fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1.38fr);
  align-items:stretch}
.mtc-f4-col{padding:0 26px;min-width:0}
.mtc-f4-col:first-child{padding-left:0;display:flex;flex-direction:column}
.mtc-f4-col:last-child{padding-right:0}
.mtc-f4-col + .mtc-f4-col{border-left:1px solid rgba(255,255,255,.20)}

.mtc-f4-logo{display:inline-block;line-height:0}
.mtc-f4-logo img{display:block;width:155px;max-width:100%;height:auto}
.mtc-f4-copy{margin:14px 0 0;font-size:.64rem;line-height:1.65;color:var(--on-dark-muted)}

.mtc-f4-h{margin:0 0 15px;font-size:.95rem;font-weight:700;line-height:1.3;
  color:var(--on-dark-muted);letter-spacing:.06em;text-transform:uppercase}
.mtc-f4-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 11px}
.mtc-f4-row i{flex:0 0 auto;margin-top:4px;font-size:.82rem;opacity:.85}
.mtc-f4-row p{margin:0;font-size:.8rem;line-height:1.62;color:var(--on-dark)}
.mtc-f4-row a{color:var(--on-dark);text-decoration:none;transition:color .16s ease}
.mtc-f4-row a:hover{color:var(--accent);text-decoration:none}
.mtc-f4-soc{display:flex;gap:15px;margin-top:18px}

.mtc-f4-links{list-style:none;margin:0;padding:0}
.mtc-f4-links li{margin:0 0 12px}
.mtc-f4-links li:last-child{margin-bottom:0}
.mtc-f4-links a{color:var(--on-dark);font-size:.8rem;line-height:1.4;text-decoration:none;
  transition:color .16s ease}
.mtc-f4-links a:hover{color:var(--accent);text-decoration:none}

.mtc-f4-tag{margin:0 0 22px;font-size:.8rem;line-height:1.7;color:var(--on-dark)}

/* the brand lockup: SYGELIN matches the column headings */
.mtc-f4 .mtc-bm-name{margin:0;font-size:.95rem;font-weight:800;line-height:1.15;
  letter-spacing:.01em;color:var(--on-dark)}
.mtc-f4 .mtc-bm-name sup{position:relative;top:-.62em;font-size:.52em}
.mtc-f4 .mtc-bm-line{margin:4px 0 0;font-size:.8rem;font-weight:700;line-height:1.35;color:var(--on-dark)}
.mtc-f4 .mtc-bm-sub{margin:3px 0 0;font-size:.68rem;font-weight:400;line-height:1.35;
  color:var(--on-dark-muted)}

/* the marks are the brand glyphs themselves - no tile, no frame */
.mtc-f4 .mtc-soc{width:auto;height:auto;padding:0;border:0;border-radius:0;background:none;
  color:var(--on-dark);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;
  transition:color .16s ease,transform .16s ease}
.mtc-f4 .mtc-soc svg{width:25px;height:25px;display:block}
.mtc-f4 .mtc-soc:hover,.mtc-f4 .mtc-soc:focus-visible{background:none;border:0;color:var(--accent);
  transform:translateY(-2px)}

/* home page: mtc-home.css still targets body#Multicares footer, so repeat the
   three overrides with the id to keep this scale on the front page too */
body#Multicares footer.mtc-f4 .mtc-bm-name{font-size:.95rem}
body#Multicares footer.mtc-f4 .mtc-bm-sub{font-size:.68rem}
body#Multicares footer.mtc-f4 .mtc-soc{width:auto;height:auto;padding:0;border:0;border-radius:0;
  background:none;color:var(--on-dark)}
body#Multicares footer.mtc-f4 .mtc-soc:hover,
body#Multicares footer.mtc-f4 .mtc-soc:focus-visible{background:none;border:0;color:var(--accent);
  transform:translateY(-2px)}

/* S464: legal links sit inside the first column. margin-top:auto pins
   them to the column bottom - the same baseline as the contact column's
   social icons, since all four columns stretch to one grid row height. */
.mtc-f4-legal{margin-top:auto;padding-top:14px;display:flex;align-items:baseline;flex-wrap:wrap}
.mtc-f4-pp{color:var(--on-dark-muted);font-size:.72rem;font-style:italic;text-decoration:none;
  transition:color .16s ease}
.mtc-f4-pp:hover{color:var(--accent);text-decoration:none}

/* "Cookie settings" reopens the consent notice. It is a button, so it needs
   the type treatment of the privacy link it sits beside. */
.mtc-f4-cs{background:none;border:0;padding:0;margin:0 18px 0 0;cursor:pointer;
  font-family:inherit;font-size:.72rem;font-style:italic;line-height:inherit;
  color:var(--on-dark-muted);text-decoration:none;vertical-align:baseline;
  transition:color .16s ease}
.mtc-f4-cs:hover{color:var(--accent)}

@media (max-width:1199.98px){
  .mtc-f4-col{padding:0 18px}
}
/* four columns squeeze the links column to 150px at tablet widths, so the
   band folds to two columns from 1099 down */
@media (max-width:1099.98px){
  .mtc-f4-grid{grid-template-columns:1fr 1fr;row-gap:34px}
  .mtc-f4-col{padding:0}
  .mtc-f4-col + .mtc-f4-col{border-left:0}
  .mtc-f4-col:nth-child(even){padding-left:22px}
  .mtc-f4-col:nth-child(odd){padding-right:22px}
  .mtc-f4-tag{max-width:none}
}
@media (max-width:575.98px){
  .mtc-f4{padding:68px 0 68px}
  .mtc-f4-grid{grid-template-columns:1fr;row-gap:28px}
  .mtc-f4-col:nth-child(even),
  .mtc-f4-col:nth-child(odd){padding:0}
  .mtc-f4-legal{margin-top:0}
}
