/**
 * /last-minute-deals — route cards + layout
 */

.fm-last-minute-page .fm-seo-body {
  padding-top: 1.75rem;
}

.fm-lmd-deals {
  margin: 0 0 2.5rem;
}

.fm-lmd-deals__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #0f172a;
}

.fm-lmd-deals__sub {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 40rem;
}

.fm-lmd-deals__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .fm-lmd-deals__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .fm-lmd-deals__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fm-lmd-deals__card {
  margin: 0;
  padding: 0;
}

.fm-lmd-deals__btn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.fm-lmd-deals__btn:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.fm-lmd-deals__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.fm-lmd-deals__route {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.fm-lmd-deals__route:last-child {
  text-align: right;
  align-items: flex-end;
}

.fm-lmd-deals__city {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.fm-lmd-deals__codes,
.fm-lmd-deals__meta {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}

.fm-lmd-deals__meta strong {
  color: #2563eb;
  font-weight: 800;
}

.fm-lmd-deals__arrow {
  color: #2563eb;
  font-size: 1.25rem !important;
}

.fm-last-minute-page .grid1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.fm-last-minute-page .grid1 img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1023px) {
  .fm-last-minute-page .grid1 {
    grid-template-columns: 1fr;
  }

  .fm-lmd-deals__btn {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .fm-lmd-deals__arrow {
    display: none;
  }

  .fm-lmd-deals__route:last-child {
    text-align: left;
    align-items: flex-start;
  }
}
