/* The site footer on every page: the TruNORTH mark with contact details,
   the menu's links and socials, the newsletter sign-up, and a legal bar,
   laid out compactly in one row on desktop and stacked on phones. */
.tn-footer {
  --cream: #FAFFEE;
  --muted: rgba(250, 255, 238, .68);
  --line: rgba(250, 255, 238, .16);
  position: relative; z-index: 1; clear: both;
  background: #000; color: var(--cream);
  font-family: wix-madefor-text-v2, "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.tn-footer *, .tn-footer *::before, .tn-footer *::after { box-sizing: border-box; }
.tn-footer p, .tn-footer ul { margin: 0; padding: 0; }
.tn-footer ul { list-style: none; }
.tn-footer a { color: #fff; text-decoration: none; }
.tn-footer .tn-footer__mark { color: inherit; }
.tn-footer a:hover { color: #FDD414; }

.tn-footer__inner { max-width: 1600px; margin: 0 auto; padding: 44px clamp(20px, 4.4vw, 72px) 20px; }
.tn-footer__grid {
  display: grid; align-items: start; gap: 32px clamp(28px, 3.4vw, 56px);
  grid-template-columns: minmax(200px, 1.2fr) minmax(130px, .7fr) minmax(170px, .9fr) minmax(300px, 1.6fr);
}

.tn-footer__mark { display: inline-block; }
.tn-footer__mark img { display: block; width: 180px; height: auto; }
.tn-footer__contact { display: flex; flex-direction: column; gap: 4px; margin-top: 18px !important; font-size: 14px; line-height: 1.5; color: var(--muted); }

.tn-footer__head { margin-bottom: 14px !important; font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FDD414; }
.tn-footer__links li a { display: inline-block; padding: 3px 0; font-size: 14px; line-height: 1.5; }
.tn-footer__links--social ul { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 28px; }

.tn-news__label { display: block; margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tn-news__row { display: flex; max-width: 460px; }
.tn-news input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px;
  border: 1px solid rgba(250, 255, 238, .45); border-right: 0; border-radius: 0;
  background: transparent; color: var(--cream); font: inherit; font-size: 15px; outline: none;
}
.tn-news input[type="email"]::placeholder { color: rgba(250, 255, 238, .5); }
.tn-news input[type="email"]:focus { border-color: #FDD414; }
.tn-news__submit {
  flex: 0 0 auto; height: 44px; padding: 0 22px; border: 1px solid var(--cream);
  background: var(--cream); color: #3D2C00; font: inherit; font-size: 15px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.tn-news__submit:hover { background: transparent; color: var(--cream); }
.tn-news__submit:disabled { opacity: .7; cursor: default; }
.tn-news__check { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.tn-news__check input { position: absolute; opacity: 0; width: 0; height: 0; }
.tn-news__box { position: relative; flex: 0 0 14px; width: 14px; height: 14px; border: 1px solid var(--cream); }
.tn-news__check input:checked + .tn-news__box::after { content: ""; position: absolute; inset: 2px; background: var(--cream); }
.tn-news__check input:focus-visible + .tn-news__box { outline: 2px solid #FDD414; outline-offset: 2px; }
.tn-news__status { font-size: 13px; line-height: 1.4; }
.tn-news__status:not(:empty) { margin-top: 8px !important; }

.tn-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.tn-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Tablets and small laptops: two rows of two. */
@media (max-width: 1100px) {
  .tn-footer__grid { grid-template-columns: 1fr 1fr 1.4fr; }
  .tn-footer__brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
  .tn-footer__contact { flex-direction: row; gap: 24px; margin-top: 0 !important; }
}

/* Phones: the mark, links and socials side by side, then the sign-up. */
@media (max-width: 750px) {
  .tn-footer__inner { padding: 32px 20px 18px; }
  .tn-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .tn-footer__brand { display: block; }
  .tn-footer__mark img { width: 150px; }
  .tn-footer__contact { flex-direction: column; gap: 2px; margin-top: 14px !important; }
  .tn-footer__links--social ul { grid-template-columns: repeat(2, max-content); column-gap: 20px; }
  .tn-footer__news { grid-column: 1 / -1; }
  .tn-news__row { max-width: none; }
  .tn-footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 28px; }
  .tn-footer__legal { gap: 4px 18px; }
}
