/* Hotels for Kings — Hub pages design layer (cities / best / deals)
   Loads AFTER /editorial/hfk.css. Shared tokens live there. */

/* ---------- Hero stat strip ---------- */
.hero-stats {
  display: flex; flex-wrap: wrap; margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,0.28);
}
.hero-stat { padding: 20px 44px 0 0; margin-right: 44px; }
.hero-stat:last-child { margin-right: 0; }
.hero-stat .n { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stat .n em { font-style: italic; color: #EBD9B4; }
.hero-stat .l { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.66); }

/* ---------- Sticky hub toolbar (search + jump pills + count) ---------- */
.hub-bar {
  position: sticky; top: 58px; z-index: 90;
  background: rgba(251,250,247,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 48px;
}
.hub-bar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.hub-search { position: relative; flex: 0 1 340px; min-width: 200px; }
.hub-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-faint); pointer-events: none; }
.hub-search input {
  width: 100%; border: 1px solid var(--hairline); background: #fff; border-radius: 100px;
  padding: 11px 18px 11px 42px; font-family: var(--sans); font-size: 14px; color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hub-search input::placeholder { color: var(--ink-faint); }
.hub-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,146,77,0.14); }
.hub-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; flex: 1; }
.hub-pills::-webkit-scrollbar { display: none; }
.hub-pills a, .hub-pills button {
  flex: 0 0 auto; padding: 9px 18px; background: transparent; border: 1px solid var(--hairline); border-radius: 100px;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.hub-pills a:hover, .hub-pills button:hover { border-color: var(--gold); color: var(--ink); }
.hub-pills a.active, .hub-pills button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hub-count { flex: 0 0 auto; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

/* Hidden-by-filter helpers */
.hub-hide { display: none !important; }
.hub-noresults {
  max-width: 1280px; margin: 0 auto; padding: 72px 48px; text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 24px; color: var(--ink-faint);
}

/* ---------- Card polish (shared) ---------- */
.t20-card, .bi-card .bi-card-img, .city-card {
  box-shadow: 0 1px 2px rgba(24,21,18,0.04);
}
.t20-card { position: relative; overflow: hidden; border-radius: 6px; }
.t20-card::before {
  content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent); opacity: 0; transition: opacity 0.35s;
}
.t20-card:hover { box-shadow: 0 16px 40px rgba(24,21,18,0.1); }
.t20-card:hover::before { opacity: 1; }
.t20-card .t20-desc::after { content: ' →'; color: var(--gold-deep); opacity: 0; transition: opacity 0.3s; }
.t20-card:hover .t20-desc::after { opacity: 1; }
.bi-card .bi-card-img { border-radius: 6px; }
.bi-card:hover .bi-card-img { box-shadow: 0 18px 44px rgba(24,21,18,0.16); }
.city-card { border-radius: 6px; }
.city-card:hover { box-shadow: 0 16px 38px rgba(24,21,18,0.12); transform: translateY(-3px); }

/* ---------- Section rhythm ---------- */
.sec-tint { background: #F4F1E9; }
.sec-rule { max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--hairline); }

/* ---------- Deals: vetting criteria ---------- */
.vet-grid { max-width: 1280px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vet-card { background: #fff; border: 1px solid var(--hairline); border-radius: 6px; padding: 36px 32px; position: relative; }
.vet-card .vn { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 52px; line-height: 1; color: var(--gold); }
.vet-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 18px 0 10px; }
.vet-card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Deals: deal-type cards ---------- */
.dtype-grid { max-width: 1280px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dtype-card {
  display: block; background: #fff; border: 1px solid var(--hairline); border-radius: 6px; padding: 30px 26px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.dtype-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(24,21,18,0.09); }
.dtype-card .glyph { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 34px; line-height: 1; color: var(--gold-deep); }
.dtype-card h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; margin: 16px 0 8px; }
.dtype-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.dtype-card .go { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Deals: honest empty state ---------- */
.deal-empty {
  max-width: 720px; margin: 48px auto 0; text-align: center;
  border: 1px dashed var(--hairline); border-radius: 6px; padding: 56px 40px; background: #FDFCF9;
}
.deal-empty .glyph { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--gold); line-height: 1; }
.deal-empty h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 18px 0 10px; }
.deal-empty p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); max-width: 480px; margin: 0 auto; }
.deal-empty .btn-outline { margin-top: 26px; padding: 13px 34px; }

/* ---------- Deals: browse-instead band ---------- */
.browse-grid { max-width: 1280px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.browse-card { position: relative; display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16/10; color: #fff; }
.browse-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.browse-card:hover img { transform: scale(1.06); }
.browse-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,10,8,0.72)); }
.browse-card .cap { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 2; }
.browse-card .cap .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #EBD9B4; margin-bottom: 6px; }
.browse-card .cap .t { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.1; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .vet-grid { grid-template-columns: 1fr; }
  .dtype-grid { grid-template-columns: 1fr 1fr; }
  .browse-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hub-bar { padding: 10px 14px; top: 52px; }
  .hub-bar-inner { gap: 10px; }
  .hub-search { flex: 1 1 auto; }
  .hub-count { display: none; }
  .hero-stat { padding-right: 0; margin-right: 28px; }
  .dtype-grid { grid-template-columns: 1fr; }
  .vet-grid, .dtype-grid, .browse-grid { padding: 0; }
}
