/*
 * InspectorClub public footer
 * Shared, compact footer styling for every public page.
 * No dependency on the legacy weinspect stylesheets.
 */

#wt-footer.wt-footer {
  width: 100%;
  margin-top: 18px !important;
  color: #ffffff;
  background: #0e77b8;
}

#wt-footer .wt-footerholder {
  width: 100%;
  padding: 7px 20px 6px;
  background: #0e77b8;
}

#wt-footer .wt-footerholder > .container,
#wt-footer .wt-footerbottom > .container {
  width: 100% !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 16px !important;
  padding-left: 16px !important;
}

#wt-footer .wt-footerholder .row {
  display: grid !important;
  grid-template-columns: 145px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 !important;
}

#wt-footer .wt-footerholder .row > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  flex: none !important;
}

#wt-footer .wt-footerlogohold,
#wt-footer .wt-footercol {
  width: 100%;
  padding: 0;
  margin: 0;
}

#wt-footer .wt-logo {
  display: block;
  margin: 0;
}

#wt-footer .wt-logo img {
  display: block;
  width: 128px !important;
  max-width: 100%;
  height: auto;
  border: 0;
}

#wt-footer .wt-description {
  display: none !important;
}

#wt-footer .wt-description p {
  margin: 0;
  color: #ffffff !important;
  font-size: 12px;
  line-height: 1.4;
}

#wt-footer .wt-fwidgettitle {
  display: none !important;
}

#wt-footer .wt-fwidgettitle h3,
#wt-footer .wt-fwidgettitle h3 a {
  margin: 0;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

#wt-footer .wt-fwidgetcontent,
#wt-footer .wt-socialiconssimple {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#wt-footer .wt-fwidgetcontent {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 12px;
}

#wt-footer .wt-fwidgetcontent li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#wt-footer .wt-fwidgetcontent a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 10px;
  line-height: 1.15;
  text-decoration: none;
}

#wt-footer .wt-fwidgetcontent a:hover,
#wt-footer .wt-fwidgetcontent a:focus {
  color: #ffffff !important;
  text-decoration: underline;
}

#wt-footer .wt-socialiconssimple {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

#wt-footer .wt-socialiconssimple li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

#wt-footer .wt-socialiconssimple a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 10px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  text-decoration: none;
}

#wt-footer .wt-socialiconssimple a:hover,
#wt-footer .wt-socialiconssimple a:focus {
  color: #0e77b8 !important;
  background: #ffffff;
}

#wt-footer .wt-footerbottom {
  width: 100%;
  padding: 3px 20px;
  background: #07131f;
}

#wt-footer .wt-footerbottom .row {
  margin: 0 !important;
}

#wt-footer .wt-footerbottom [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

#wt-footer .wt-copyrights {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 9px;
  line-height: 1.15;
  text-align: center;
}

#wt-footer .wt-copyrights span {
  color: #29a9e8;
}

/* Keep the complete desktop footer close to a one-inch visual band. */
#wt-footer .ic-visitor-counter {
  margin-bottom: 2px !important;
  padding: 2px 9px !important;
  gap: 10px !important;
}

#wt-footer .ic-visitor-counter-title {
  padding-right: 8px !important;
  font-size: 7px !important;
}

#wt-footer .ic-visitor-counter-stat strong {
  font-size: 11px !important;
}

#wt-footer .ic-visitor-counter-stat span {
  font-size: 6px !important;
}

@media (max-width: 767px) {
  #wt-footer.wt-footer {
    margin-top: 18px !important;
  }

  #wt-footer .wt-footerholder {
    padding: 8px 14px 7px;
  }

  #wt-footer .wt-footerholder .row {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
  }

  #wt-footer .wt-logo img {
    width: 104px !important;
  }

  #wt-footer .wt-footerholder .row > [class*="col-"]:last-child {
    grid-column: 1 / -1;
  }

  #wt-footer .wt-fwidgetcontent {
    gap: 3px 8px;
  }
}
