/* Tourmometer site footer modern v1 — stage 16B3. */

.tm-footer {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  color: #aec2d2 !important;
  background: #103a5b !important;
  border: 0 !important;
  box-shadow: none !important;
}

.tm-footer::before {
  display: none !important;
}

.tm-footer > .tm-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tmsf-site {
  --tmsf-navy: #103a5b;
  --tmsf-deep: #0b2f4a;
  --tmsf-white: #ffffff;
  --tmsf-text: #d6e2eb;
  --tmsf-muted: #91aabd;
  --tmsf-blue: #29a8e0;
  --tmsf-green: #24b887;
  --tmsf-orange: #ffad1f;
  --tmsf-red: #ff5d6c;
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--tmsf-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(41,168,224,.10), transparent 30%),
    linear-gradient(180deg, var(--tmsf-navy), var(--tmsf-deep));
}

.tmsf-site.has-color-line::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--tmsf-green) 0 25%,
    var(--tmsf-orange) 25% 50%,
    var(--tmsf-blue) 50% 75%,
    var(--tmsf-red) 75%
  );
  content: "";
}

.tmsf-container {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
}

.tmsf-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(0, 2fr);
  gap: clamp(44px, 6vw, 92px);
  padding: 48px 0 38px;
}

.tmsf-brand {
  min-width: 0;
}

.tmsf-brand__logo {
  display: inline-flex;
  max-width: 240px;
  text-decoration: none;
}

.tmsf-brand__logo img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.12));
}

.tmsf-brand__title {
  margin-top: 17px;
  color: var(--tmsf-white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.tmsf-brand__description {
  max-width: 340px;
  margin: 11px 0 0;
  color: var(--tmsf-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* TMSF_NAV_STYLES */

.tmsf-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  min-width: 0;
}

.tmsf-group {
  min-width: 0;
}

.tmsf-group__title {
  position: relative;
  margin-bottom: 17px;
  padding-bottom: 11px;
  color: var(--tmsf-white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tmsf-group__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--tmsf-blue);
  content: "";
}

.tmsf-group:nth-child(2) .tmsf-group__title::after {
  background: var(--tmsf-green);
}

.tmsf-group:nth-child(3) .tmsf-group__title::after {
  background: var(--tmsf-orange);
}

.tmsf-group__links {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.tmsf-group__links li {
  margin: 0;
  padding: 0;
}

.tmsf-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--tmsf-text) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none !important;
  transition:
    color .18s ease,
    transform .18s ease;
}

.tmsf-link::before {
  width: 0;
  height: 1px;
  margin-right: 0;
  overflow: hidden;
  background: currentColor;
  content: "";
  opacity: 0;
  transition:
    width .18s ease,
    margin-right .18s ease,
    opacity .18s ease;
}

.tmsf-link:hover,
.tmsf-link:focus-visible {
  color: var(--tmsf-white) !important;
  transform: translateX(2px);
}

.tmsf-link:hover::before,
.tmsf-link:focus-visible::before {
  width: 10px;
  margin-right: 7px;
  opacity: .8;
}

.tmsf-link--accent {
  color: #60ccef !important;
}

.tmsf-link--muted {
  color: var(--tmsf-muted) !important;
  font-weight: 500;
}

.tmsf-link:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(96,204,239,.8);
  outline-offset: 4px;
}

/* TMSF_BOTTOM_STYLES */

.tmsf-bottom {
  display: flex;
  min-height: 70px;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tmsf-bottom__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 18px;
}

.tmsf-status {
  display: inline-flex;
  align-items: center;
  color: var(--tmsf-muted);
  font-size: 11px;
  line-height: 1.4;
  cursor: help;
}

.tmsf-status__dot {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #42d7a0;
  box-shadow: 0 0 0 4px rgba(66,215,160,.10);
}

.tmsf-copyright {
  color: var(--tmsf-white);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.tmsf-bottom__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px 0;
}

.tmsf-bottom__link {
  display: inline-flex;
  align-items: center;
  color: var(--tmsf-muted) !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  transition: color .18s ease;
}

.tmsf-bottom__link:hover,
.tmsf-bottom__link:focus-visible {
  color: var(--tmsf-white) !important;
}

.tmsf-bottom__link + .tmsf-bottom__link::before {
  margin: 0 9px;
  color: #58748a;
  content: "·";
  pointer-events: none;
}

.tmsf-bottom__link:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(96,204,239,.8);
  outline-offset: 3px;
}

.tmsf-note {
  margin: -3px 0 16px;
  color: #718da2;
  font-size: 10px;
  line-height: 1.5;
}

/* TMSF_RESPONSIVE */

html[data-tm-ui="v3"] .tm-footer > .tm-container,
html[data-tm-ui="next"] .tm-footer > .tm-container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .tmsf-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tmsf-brand {
    max-width: 520px;
  }

  .tmsf-navigation {
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .tmsf-container {
    width: min(calc(100% - 28px), 1240px);
  }

  .tmsf-main {
    padding: 39px 0 31px;
  }

  .tmsf-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .tmsf-bottom {
    padding: 19px 0 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .tmsf-bottom__links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .tmsf-main {
    gap: 31px;
  }

  .tmsf-brand__logo,
  .tmsf-brand__logo img {
    max-width: 215px;
  }

  .tmsf-navigation {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tmsf-group {
    padding: 19px 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .tmsf-group:first-child {
    border-top: 0;
  }

  .tmsf-group__title {
    margin-bottom: 13px;
  }

  .tmsf-group__links {
    gap: 8px;
  }

  .tmsf-bottom__meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmsf-site *,
  .tmsf-site *::before,
  .tmsf-site *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
