/* Visa landing page. Builds on tours-landing.css (tl-) and sightseeing-landing.css
   (ssl-types). Prefix: vl- */

/* Destination + nationality + date + button. */
.vl-search-form { grid-template-columns: 1.4fr 1.1fr 1fr auto !important; }
.vl-search-error {
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #b42318;
  font-weight: 600;
}

/* Country filter in the section head. */
.vl-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(320px, 100%);
  margin: 0;
  padding: 0 16px;
  height: 48px;
  border: 1.5px solid var(--tl-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vl-filter:focus-within { border-color: var(--tl-blue); box-shadow: 0 0 0 4px rgba(30, 95, 184, 0.12); }
.vl-filter svg { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: var(--tl-muted); stroke-width: 2; }
.vl-filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--tl-ink); font: inherit; font-size: 15px; }

/* ---------- Country cards ---------- */
.vl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vl-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tl-line);
  border-radius: var(--tl-radius);
  background: #fff;
  box-shadow: var(--tl-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vl-card[hidden] { display: none; }
.vl-card:hover { transform: translateY(-6px); box-shadow: var(--tl-shadow-lg); }
.vl-card-photo { position: relative; display: block; height: 170px; overflow: hidden; background: linear-gradient(135deg, var(--tl-blue-deep), var(--tl-blue)); }
.vl-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.vl-card:hover .vl-card-photo img { transform: scale(1.08); }
.vl-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 30, 66, 0) 35%, rgba(8, 30, 66, 0.82)); }
.vl-card-country {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.vl-card-body { display: flex; flex-direction: column; flex: 1; gap: 16px; padding: 16px 18px 18px; }
.vl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.vl-facts > div:first-child { grid-column: 1 / -1; }
.vl-facts dt { margin: 0 0 2px; color: var(--tl-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.vl-facts dd { margin: 0; color: var(--tl-ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
.vl-facts > div:first-child dd { color: var(--tl-blue); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.vl-card-btn { margin-top: auto; width: 100%; height: 44px; }
.vl-card-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform 0.2s ease; }
.vl-card:hover .vl-card-btn { background: var(--tl-orange); box-shadow: 0 8px 20px rgba(242, 106, 27, 0.3); }
.vl-card:hover .vl-card-btn svg { transform: translateX(3px); }
.vl-more { margin-top: 30px; text-align: center; }
.vl-more[hidden] { display: none; }

/* ---------- Checklist ---------- */
.vl-checklist { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.vl-checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--tl-text); font-size: 15px; font-weight: 500; line-height: 1.5; }
.vl-check {
  display: inline-flex;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e7f6ec;
  color: #15803d;
}
.vl-check svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; }

@media (max-width: 1199.98px) {
  .vl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .vl-search-form { grid-template-columns: 1fr 1fr !important; }
  .vl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .vl-search-form { grid-template-columns: 1fr !important; }
  .vl-grid { grid-template-columns: 1fr; }
}
