.fdt-fast-trails {
  margin: 28px 0 64px;
  color: #202735;
  contain: layout style;
}
.fdt-fast-trails__filters {
  position: relative;
  z-index: 5;
  display: grid;
  margin: 0 0 18px;
  padding: 18px;
  grid-template-columns: minmax(230px, 2fr) repeat(4, minmax(90px, 0.7fr)) repeat(2, minmax(130px, 0.9fr));
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(32, 39, 53, 0.09);
  border-top: 5px solid #e50068;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(32, 39, 53, 0.09);
}
.fdt-fast-trails__filter {
  min-width: 0;
}
.fdt-fast-trails__filter label {
  display: block;
  margin: 0 0 5px;
  color: #202735;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.02em;
}
.fdt-fast-trails__filter input,
.fdt-fast-trails__filter select {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(32, 39, 53, 0.16);
  border-radius: 11px;
  color: #202735;
  background: #f5f6f8;
  font-size: 13px;
  box-shadow: none;
}
.fdt-fast-trails__filter input:focus,
.fdt-fast-trails__filter select:focus {
  border-color: #e50068;
  outline: 3px solid rgba(229, 0, 104, 0.14);
  background: #ffffff;
}
.fdt-fast-trails__reset {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(229, 0, 104, 0.22);
  border-radius: 11px;
  color: #e50068;
  background: rgba(229, 0, 104, 0.06);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
.fdt-fast-trails__reset:hover,
.fdt-fast-trails__reset:focus-visible {
  color: #ffffff;
  background: #e50068;
}
.fdt-fast-trails__map-shell {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(32, 39, 53, 0.1);
  border-radius: 24px;
  background: #e7e7e7;
  box-shadow: 0 18px 50px rgba(32, 39, 53, 0.14);
  isolation: isolate;
}
.fdt-fast-trails__map {
  width: 100%;
  min-height: 620px;
  background: #e7e7e7;
}
.fdt-fast-trails__loader {
  position: absolute;
  z-index: 700;
  top: 18px;
  left: 50%;
  display: flex;
  padding: 10px 15px;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  border: 2px solid #ffb629;
  border-radius: 999px;
  color: #ffffff;
  background: #e50068;
  box-shadow: 0 10px 28px rgba(32, 39, 53, 0.25);
  font-size: 11px;
}
.fdt-fast-trails__loader[hidden] {
  display: none;
}
.fdt-fast-trails__loader span {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffb629;
  border-radius: 50%;
  animation: affsync-trail-spin 0.7s linear infinite;
}
.fdt-fast-trails__home {
  position: absolute;
  z-index: 650;
  right: 16px;
  bottom: 24px;
  padding: 9px 13px;
  border: 2px solid #ffb629;
  border-radius: 999px;
  color: #ffffff;
  background: #e50068;
  box-shadow: 0 7px 20px rgba(32, 39, 53, 0.2);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.fdt-fast-trails__summary {
  display: flex;
  margin: 18px 0;
  padding: 15px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 15px;
  color: #202735;
  background: linear-gradient(100deg, rgba(255, 182, 41, 0.2), rgba(229, 0, 104, 0.06));
}
.fdt-fast-trails__summary strong {
  font-size: 18px;
}
.fdt-fast-trails__summary span {
  color: #657083;
  font-size: 12px;
}
.fdt-fast-trails__results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  content-visibility: auto;
}
.fdt-fast-trail-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 39, 53, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(32, 39, 53, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fdt-fast-trail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(32, 39, 53, 0.14);
}
.fdt-fast-trail-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: linear-gradient(145deg, #202735, #a8004c);
}
.fdt-fast-trail-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.fdt-fast-trail-card__visual:hover img {
  transform: scale(1.035);
}
.fdt-fast-trail-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.fdt-fast-trail-card__placeholder::after {
  position: absolute;
  width: 130px;
  height: 85px;
  transform: translate(35px, 8px) rotate(-8deg);
  border-radius: 50% 50% 18% 45%;
  background: #ffb629;
  content: "";
  opacity: 0.88;
  mix-blend-mode: screen;
}
.fdt-fast-trail-card__body {
  padding: 17px;
}
.fdt-fast-trail-card__body h3 {
  margin: 5px 0 7px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.08;
}
.fdt-fast-trail-card__body h3 a {
  color: #202735;
  text-decoration: none;
}
.fdt-fast-trail-card__date {
  color: #e50068;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fdt-fast-trail-card__place {
  margin: 0 0 12px;
  color: #657083;
  font-size: 12px;
}
.fdt-fast-trail-card__formats {
  display: flex;
  min-height: 62px;
  margin: 0 0 14px;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}
.fdt-fast-trail-card__formats span {
  display: inline-flex;
  padding: 5px 8px;
  align-items: center;
  border: 1px solid rgba(229, 0, 104, 0.15);
  border-radius: 999px;
  color: #202735;
  background: rgba(229, 0, 104, 0.05);
  font-size: 10px;
  font-weight: 750;
}
.fdt-fast-trail-card__formats .is-more {
  border-color: rgba(255, 182, 41, 0.45);
  background: rgba(255, 182, 41, 0.18);
}
.fdt-fast-trail-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.fdt-fast-trail-card__actions a,
.fdt-fast-trail-card__actions button {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.fdt-fast-trail-card__detail {
  border: 1px solid #e50068;
  color: #ffffff;
  background: #e50068;
}
.fdt-fast-trail-card__focus {
  border: 1px solid rgba(32, 39, 53, 0.14);
  color: #202735;
  background: #ffffff;
}
.fdt-fast-trails__pagination {
  display: flex;
  margin: 24px 0 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.fdt-fast-trails__pagination[hidden] {
  display: none;
}
.fdt-fast-trails__pagination button {
  padding: 9px 15px;
  border: 1px solid #e50068;
  border-radius: 999px;
  color: #e50068;
  background: #ffffff;
  font-weight: 850;
  cursor: pointer;
}
.fdt-fast-trails__pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.fdt-fast-trails__pagination span {
  font-size: 12px;
  font-weight: 800;
}
.fdt-fast-trails__empty {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px dashed rgba(32, 39, 53, 0.2);
  border-radius: 18px;
  text-align: center;
  background: #f5f6f8;
}
.fdt-fast-trails__empty strong {
  font-size: 21px;
}
.fdt-fast-trails__empty p {
  margin: 7px 0 0;
  color: #657083;
}
.leaflet-marker-icon.fdt-trail-map-pin-wrap,
.leaflet-marker-icon.fdt-trail-cluster-wrap {
  overflow: visible;
  border: 0;
  background: transparent;
}
.fdt-trail-map-pin {
  display: block;
  width: 36px;
  height: 47px;
  filter: drop-shadow(0 8px 7px rgba(32, 39, 53, 0.3));
  transform-origin: 50% 98%;
  animation: affsync-trail-pin-arrive 0.25s ease-out both;
  transition: transform 0.16s ease, filter 0.16s ease;
}
.fdt-trail-map-pin svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.fdt-trail-map-pin path {
  fill: #e50068;
  stroke: #ffb629;
  stroke-width: 3;
  stroke-linejoin: round;
}
.leaflet-marker-icon.fdt-trail-map-pin-wrap:hover,
.leaflet-marker-icon.fdt-trail-map-pin-wrap:focus {
  z-index: 1000 !important;
}
.leaflet-marker-icon.fdt-trail-map-pin-wrap:hover .fdt-trail-map-pin,
.leaflet-marker-icon.fdt-trail-map-pin-wrap:focus .fdt-trail-map-pin {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 11px 9px rgba(32, 39, 53, 0.38));
}
.fdt-trail-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffb629;
  border-radius: 50%;
  color: #ffffff;
  background: #e50068;
  box-shadow: 0 9px 23px rgba(32, 39, 53, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.22);
  font-variant-numeric: tabular-nums;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.fdt-trail-cluster.is-small {
  width: 42px;
  height: 42px;
}
.fdt-trail-cluster.is-medium {
  width: 50px;
  height: 50px;
}
.fdt-trail-cluster.is-large {
  width: 58px;
  height: 58px;
}
.fdt-trail-cluster b {
  font-size: 15px;
  line-height: 1;
}
.leaflet-marker-icon.fdt-trail-cluster-wrap:hover .fdt-trail-cluster,
.leaflet-marker-icon.fdt-trail-cluster-wrap:focus .fdt-trail-cluster {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(32, 39, 53, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.fdt-trail-map-popup {
  display: grid;
  gap: 5px;
  color: #202735;
}
.fdt-trail-map-popup strong {
  font-size: 15px;
  line-height: 1.15;
}
.fdt-trail-map-popup span,
.fdt-trail-map-popup time {
  color: #657083;
  font-size: 11px;
}
.fdt-trail-map-popup a {
  display: inline-flex;
  width: max-content;
  margin-top: 4px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #ffffff;
  background: #e50068;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}
@keyframes affsync-trail-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes affsync-trail-pin-arrive {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 1180px) {
  .fdt-fast-trails__filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fdt-fast-trails__search {
    grid-column: span 2;
  }
}
@media (max-width: 760px) {
  .fdt-fast-trails {
    margin-top: 16px;
  }
  .fdt-fast-trails__filters {
    padding: 13px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    border-radius: 16px;
  }
  .fdt-fast-trails__search {
    grid-column: 1 / -1;
  }
  .fdt-fast-trails__map-shell,
  .fdt-fast-trails__map {
    min-height: 68vh;
  }
  .fdt-fast-trails__map-shell {
    border-radius: 16px;
  }
  .fdt-fast-trails__summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .fdt-fast-trails__results {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fdt-trail-map-pin,
  .fdt-fast-trail-card,
  .fdt-fast-trail-card__visual img {
    animation: none;
    transition: none;
  }
}
