/* Most Popular Routes — full container width, no Bootstrap column float */

.footer .widgets .ytt-popular-routes {
  display: block;
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 0 0 2rem;
  padding: 0;
  box-sizing: border-box;
}

.footer .ytt-popular-routes__card {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  box-sizing: border-box;
}

.footer .ytt-popular-routes__banner {
  display: block;
  width: 100%;
  margin: 0;
  padding: 1rem 1.35rem;
  background: linear-gradient(135deg, #0085ec 0%, #006bb8 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  box-sizing: border-box;
}

.footer .ytt-popular-routes__body {
  padding: 1.15rem 1.35rem 1.35rem;
  box-sizing: border-box;
}

.footer .ytt-popular-routes__grid,
.footer .ytt-footer-routes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .footer .ytt-popular-routes__grid,
  .footer .ytt-footer-routes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .footer .ytt-popular-routes__grid,
  .footer .ytt-footer-routes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .footer .ytt-popular-routes__grid,
  .footer .ytt-footer-routes__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer .ytt-popular-routes__grid li,
.footer .ytt-footer-routes__grid li {
  margin: 0;
  min-width: 0;
}

.footer .ytt-popular-routes__grid a,
.footer .ytt-footer-routes__grid a {
  display: block;
  padding: 0.45rem 0;
  color: #334155 !important;
  font-size: 0.92rem !important;
  line-height: 1.4 !important;
  text-decoration: none;
  word-break: break-word;
}

.footer .ytt-popular-routes__grid a:hover,
.footer .ytt-footer-routes__grid a:hover {
  color: #0085ec !important;
}

.footer .ytt-footer-routes {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}

.footer .ytt-footer-routes__heading {
  display: block;
  margin: 0 0 0.85rem;
  padding: 0;
  color: #0f172a !important;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.footer .ytt-footer-routes__heading a {
  color: #0f172a !important;
  text-decoration: none;
}

.footer .ytt-footer-routes__heading a:hover {
  color: #0085ec !important;
}

@media (max-width: 599.98px) {
  .footer .ytt-popular-routes__body {
    padding: 0.95rem 1rem 1.1rem;
  }

  .footer .ytt-popular-routes__banner {
    font-size: 1rem;
    padding: 0.85rem 1rem;
  }

  .footer .ytt-popular-routes__grid,
  .footer .ytt-footer-routes__grid {
    grid-template-columns: 1fr;
  }
}
