/* ==========================================================
   Kentucky Truck Tuning Footer
========================================================== */

.ktt-site-footer {
  --ktt-footer-red: #d71920;
  --ktt-footer-black: #111;
  --ktt-footer-navy: #111b44;
  --ktt-footer-white: #fff;
  --ktt-footer-muted: #6f7480;
  --ktt-footer-border: rgba(17, 17, 17, 0.1);

  width: 100%;
  background: var(--ktt-footer-white);
  color: var(--ktt-footer-black);
}

.ktt-site-footer,
.ktt-site-footer * {
  box-sizing: border-box;
}

.ktt-footer-inner {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.ktt-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: start;
  padding: 62px 0 52px;
}

.ktt-footer-brand {
  max-width: 410px;
}

.ktt-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  text-decoration: none;
}

.ktt-footer-logo img {
  display: block;
  width: 110px;
  height: auto;
}

.ktt-footer-description {
  max-width: 330px;
  margin: 0;
  color: var(--ktt-footer-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.ktt-footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.ktt-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #8b8b8b;
  border-radius: 50%;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.ktt-footer-social a:hover {
  color: #444;
  transform: translateY(-2px);
}

.ktt-footer-social a:focus-visible {
  color: #444;
  outline: 2px solid var(--ktt-footer-red);
  outline-offset: 3px;
}

.ktt-footer-social svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.ktt-footer-navigation {
  padding-top: 26px;
}

.ktt-footer-navigation h2 {
  margin: 0 0 20px;
  color: #111;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}

.ktt-footer-menu {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ktt-footer-menu li {
  margin: 0;
  padding: 0;
}

.ktt-footer-menu a {
    color: #111;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}

.ktt-footer-menu a:hover,
.ktt-footer-menu a:focus-visible {
    color: #666;
    transform: none;
}

.ktt-footer-bottom {
  padding: 20px 0 24px;
  border-top: 1px solid var(--ktt-footer-border);
  text-align: center;
}

.ktt-footer-bottom p {
  margin: 0;
  color: var(--ktt-footer-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 900px) {
  .ktt-footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.5fr);
    gap: 60px;
  }
}

/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 767px) {
  .ktt-footer-inner {
    width: min(calc(100% - 36px), 1180px);
  }

  .ktt-footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 46px 0 38px;
  }

  .ktt-footer-brand {
    max-width: none;
  }

  .ktt-footer-logo {
    margin-bottom: 18px;
  }

  .ktt-footer-logo img {
    width: 104px;
  }

  .ktt-footer-description {
    max-width: 390px;
    font-size: 15px;
  }

  .ktt-footer-social {
    margin-top: 24px;
  }

  .ktt-footer-navigation {
    padding-top: 0;
  }

  .ktt-footer-navigation h2 {
    margin-bottom: 17px;
    font-size: 21px;
  }

  .ktt-footer-menu {
    gap: 11px;
  }

  .ktt-footer-menu a {
    font-size: 15px;
  }

  .ktt-footer-bottom {
    padding: 18px 0 22px;
    text-align: left;
  }
}

/* ==========================================================
   Reduced Motion
========================================================== */

@media (prefers-reduced-motion: reduce) {
  .ktt-footer-social a,
  .ktt-footer-menu a {
    transition: none;
  }

  .ktt-footer-social a:hover,
  .ktt-footer-menu a:hover {
    transform: none;
  }
}

/* ==========================================================
   Footer color overrides
========================================================== */

.ktt-site-footer .ktt-footer-social a,
.ktt-site-footer .ktt-footer-social a:visited {
  color: #8b8b8b !important;
}

.ktt-site-footer .ktt-footer-social a:hover,
.ktt-site-footer .ktt-footer-social a:focus-visible {
  color: #444 !important;
}

.ktt-site-footer .ktt-footer-navigation h2 {
  color: #111 !important;
}

.ktt-site-footer .ktt-footer-menu a,
.ktt-site-footer .ktt-footer-menu a:visited {
  color: #111 !important;
  font-weight: 500;
  transform: none !important;
}

.ktt-site-footer .ktt-footer-menu a:hover,
.ktt-site-footer .ktt-footer-menu a:focus-visible {
  color: #666 !important;
  transform: none !important;
}

/* ==========================================================
   WordPress footer menu reset
========================================================== */

.ktt-site-footer .ktt-footer-menu {
  display: grid;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ktt-site-footer .ktt-footer-menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ktt-site-footer .ktt-footer-menu li::marker {
  content: "";
}

.ktt-site-footer .ktt-footer-menu a,
.ktt-site-footer .ktt-footer-menu a:visited {
  display: inline-block;
  color: #111 !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  transform: none !important;
}

.ktt-site-footer .ktt-footer-menu a:hover,
.ktt-site-footer .ktt-footer-menu a:focus-visible {
  color: #666 !important;
  text-decoration: none !important;
  transform: none !important;
}