:root {
  --ts-accent: #e31c23;
  --ts-ink: #1c1c1c;
  --ts-muted: #6b6b6b;
  --ts-line: #e6e6e6;
  --ts-link: #1a5f9e;
  --ts-hero: #141414;
}
.ts-directory { font-family: "Segoe UI", Helvetica, Arial, sans-serif; color: var(--ts-ink); line-height: 1.45; }
.ts-hero {
  background:
    linear-gradient(180deg, rgba(10,10,10,.62), rgba(10,10,10,.78)),
    radial-gradient(1200px 420px at 50% 20%, #3a3a3a 0%, #111 70%);
  color: #fff;
  padding: 72px 20px 56px;
  text-align: center;
}
.ts-hero--compact { padding: 28px 20px; }
.ts-hero__inner { max-width: 980px; margin: 0 auto; }
.ts-hero__title { font-size: clamp(28px, 5vw, 48px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.03em; }
.ts-hero__sub { margin: 0 auto 28px; max-width: 640px; opacity: .92; font-size: 16px; }
.ts-searchbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  text-align: left;
}
.ts-searchbar input {
  width: 100%;
  border: 0;
  padding: 16px 18px;
  font-size: 16px;
  outline: none;
}
.ts-searchbar__field { position: relative; border-right: 1px solid var(--ts-line); display: block; }
.ts-searchbar__submit {
  background: var(--ts-accent);
  color: #fff;
  border: 0;
  padding: 0 28px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .02em;
}
.ts-geo {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: var(--ts-accent); color: #fff; cursor: pointer; font-weight: 700;
}
.ts-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 28px; }
.ts-cats__item { color: #fff; text-decoration: none; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .95; }
.ts-cats__icon, .ts-card__pin, .ts-icon-fork:before, .ts-icon-bed:before, .ts-icon-bag:before, .ts-icon-plus:before, .ts-icon-car:before {
  display: inline-block;
}
.ts-cats__icon {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
}
.ts-icon-fork:before { content: "🍽"; }
.ts-icon-bed:before { content: "🛏"; }
.ts-icon-bag:before { content: "🛍"; }
.ts-icon-plus:before { content: "+"; font-weight: 700; }
.ts-icon-car:before { content: "🚗"; }
.ts-featured { max-width: 1100px; margin: 48px auto; padding: 0 20px 64px; }
.ts-featured h2 { text-align: center; font-size: 28px; margin: 0; }
.ts-featured__rule { width: 88px; border-bottom: 1px dotted #bbb; margin: 10px auto 28px; }
.ts-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ts-cards--list { grid-template-columns: 1fr; }
.ts-card {
  border: 1px solid var(--ts-line); background: #fff; position: relative;
  display: flex; flex-direction: column; min-height: 100%;
}
.ts-cards--list .ts-card { flex-direction: row; }
.ts-card__media { display: block; background: #eee; min-height: 160px; position: relative; overflow: hidden; }
.ts-card__media img { width: 100%; height: 180px; object-fit: cover; display: block; }
.ts-card__placeholder { height: 180px; background: linear-gradient(135deg, #d9d9d9, #f4f4f4); }
.ts-card__body { padding: 14px 16px 44px; position: relative; flex: 1; }
.ts-card__title { margin: 0 0 6px; font-size: 18px; }
.ts-card__title a { color: var(--ts-link); text-decoration: none; }
.ts-card__cat, .ts-card__addr, .ts-card__meta { margin: 0 0 4px; color: var(--ts-muted); font-size: 13px; }
.ts-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 6px; }
.ts-stars { width: 70px; height: 12px; background: linear-gradient(90deg, var(--ts-accent) var(--p, 0%), #ddd var(--p, 0%)); clip-path: polygon(0 50%, 10% 0, 20% 50%, 30% 0, 40% 50%, 50% 0, 60% 50%, 70% 0, 80% 50%, 90% 0, 100% 50%, 90% 100%, 80% 50%, 70% 100%, 60% 50%, 50% 100%, 40% 50%, 30% 100%, 20% 50%, 10% 100%); }
.ts-badge { position: absolute; top: 10px; left: 10px; background: var(--ts-accent); color: #fff; font-size: 11px; padding: 3px 8px; font-weight: 700; }
.ts-card__pin {
  position: absolute; right: 12px; bottom: 12px; width: 54px; height: 54px;
  border: 1px solid var(--ts-line); display: flex; align-items: flex-end; justify-content: center;
  font-size: 10px; color: var(--ts-ink); text-decoration: none; background: #fff;
}
.ts-card__pin:before { content: ""; position: absolute; top: 8px; width: 14px; height: 18px; background: var(--ts-accent); clip-path: polygon(50% 100%, 0 0, 100% 0); }
.ts-empty { text-align: center; color: var(--ts-muted); }
.ts-results__layout { max-width: 1100px; margin: 24px auto 64px; padding: 0 20px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.ts-filters select, .ts-filters input { width: 100%; padding: 8px; margin-top: 4px; }
.ts-btn, .ts-searchbar__submit { min-height: 48px; }
.ts-btn { background: var(--ts-accent); color: #fff; border: 0; padding: 10px 16px; cursor: pointer; width: 100%; font-weight: 700; }
.ts-results__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ts-viewtoggle a { margin-left: 8px; text-decoration: none; color: var(--ts-muted); }
.ts-viewtoggle .is-active { color: var(--ts-accent); font-weight: 700; }
.ts-map { background: #ddd; border: 1px solid var(--ts-line); }
.ts-detail, .ts-archive { max-width: 1100px; margin: 24px auto 64px; padding: 0 20px; }
.ts-detail__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; }
.ts-detail__image { width: 100%; max-height: 360px; object-fit: cover; }
.ts-dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; }
.ts-crumbs { font-size: 13px; color: var(--ts-muted); margin-bottom: 16px; }
.ts-crumbs a { color: var(--ts-link); }
.ts-pagination { margin-top: 24px; }
@media (max-width: 860px) {
  .ts-searchbar { grid-template-columns: 1fr; }
  .ts-searchbar__field { border-right: 0; border-bottom: 1px solid var(--ts-line); }
  .ts-cards, .ts-cards--list .ts-card, .ts-results__layout, .ts-detail__grid { grid-template-columns: 1fr; }
  .ts-cards--list .ts-card { flex-direction: column; }
}
