/**
 * HotelsBookie 2.1.0 — restructured page templates (.hbp-*)
 * Home · Hotels Near hub · Spike Checker · Become a Bookie · Editorial Policy
 * Uses the brand tokens in style.css. Gold text on light backgrounds uses
 * --hb-gold-text (#816C31, approved 18 Nov 2026); #C9A84C stays for buttons and text on navy.
 */

:root {
  --hb-gold-text: #816C31;
  --hbp-wrap: 1200px;
  --hbp-gutter: 40px;
  --hbp-section-y: 72px;
}

.hbp-page {
  display: block;
  color: var(--hb-text-dark);
}

.hbp-wrap {
  max-width: var(--hbp-wrap);
  margin: 0 auto;
  padding: 0 var(--hbp-gutter);
}
.hbp-wrap--narrow { max-width: 860px; }

/* ── Type ── */
.hbp-eyebrow {
  font-family: var(--hb-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-gold-text);
  margin: 0 0 12px;
}
.hbp-eyebrow--on-dark { color: var(--hb-gold); }

.hbp-h1 {
  font-family: var(--hb-font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}
.hbp-h2 {
  font-family: var(--hb-font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--hb-navy);
  margin: 0 0 32px;
}
.hbp-h3 {
  font-family: var(--hb-font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  color: var(--hb-navy);
  margin: 0 0 8px;
}
.hbp-mono { font-family: var(--hb-font-mono); font-size: 13px; color: var(--hb-text-mid); }

/* ── Buttons ── */
.hbp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--hb-radius-sm);
  font-family: var(--hb-font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.hbp-btn--primary { background: var(--hb-gold); color: var(--hb-navy-dark); }
.hbp-btn--primary:hover,
.hbp-btn--primary:focus-visible { background: var(--hb-gold-light); color: var(--hb-navy-dark); transform: translateY(-1px); }
.hbp-btn--ghost-dark { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.hbp-btn--ghost-dark:hover,
.hbp-btn--ghost-dark:focus-visible { border-color: var(--hb-gold); color: var(--hb-gold-light); }
.hbp-btn:focus-visible,
.hbp-card--link:focus-visible,
.hbp-faq__item summary:focus-visible { outline: 3px solid var(--hb-gold); outline-offset: 3px; }

/* ── Hero ── */
.hbp-hero {
  background: var(--hb-navy);
  background-image: radial-gradient(circle at 85% 10%, rgba(201, 168, 76, 0.14), transparent 45%);
  color: #fff;
  padding: 72px 0 80px;
}
.hbp-hero__inner > * { min-width: 0; }
.hbp-hero--split .hbp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  /* Top-aligned: the Spike Checker grows when it shows a result, and centring
     would push the left-hand copy down and leave a gap above it. */
  align-items: start;
}
.hbp-hero:not(.hbp-hero--split) .hbp-hero__copy { max-width: 780px; }
.hbp-hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 32px;
  max-width: 620px;
}
.hbp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hbp-hero__disclosure {
  margin: 28px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--hb-gold);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}
.hbp-hero__disclosure strong { color: #fff; }
.hbp-hero__disclosure a { color: var(--hb-gold-light); text-decoration: underline; }
.hbp-hero__media { margin: 0; }
.hbp-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--hb-radius);
  border: 1px solid rgba(201, 168, 76, 0.35);
}

/* Spike checker inside the hero (plugin markup) */
.hbp-checker { scroll-margin-top: 96px; }
.hbp-checker .hbx { max-width: none; }
.hbp-checker .hbx-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hbp-checker .hbx-form input,
.hbp-checker .hbx-form select { min-width: 0; }
.hbp-checker .hbx-f-city,
.hbp-checker .hbx-btn { grid-column: 1 / -1; }
.hbp-checker .hbx-card { box-shadow: none; border: 1px solid rgba(201, 168, 76, 0.35); }

/* Signup card (Become a Bookie hero) */
.hbp-signup-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--hb-radius);
  padding: 32px;
}
.hbp-signup-card__title {
  font-family: var(--hb-font-display);
  font-size: 24px;
  color: #fff;
  margin: 0 0 8px;
}
.hbp-signup-card__small { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.hbp-signup-card__small a { color: var(--hb-gold-light); text-decoration: underline; }

.hbp-signup { max-width: 480px; }
.hbp-signup input[type="email"] { min-height: 48px; font-size: 15px; min-width: 0; }
.hbp-signup button { min-height: 48px; font-size: 13px; }
.hbp-final .hbp-signup { margin: 0 auto; }

/* ── Trust strip ── */
.hbp-proof { background: #fff; border-bottom: 1px solid var(--hb-border); }
.hbp-proof__list {
  list-style: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.hbp-proof__list li {
  padding: 22px 20px 22px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hb-text-mid);
}
.hbp-proof__list strong {
  display: block;
  font-family: var(--hb-font-display);
  font-size: 20px;
  color: var(--hb-navy);
  margin-bottom: 2px;
}

/* ── Sections ── */
.hbp-section { padding: var(--hbp-section-y) 0; }
.hbp-section--muted { background: var(--hb-offwhite); }
.hbp-section--ink { background: var(--hb-ink); color: #fff; }
.hbp-section--ink .hbp-h2 { color: #fff; }
.hbp-subhead { margin: 8px 0 16px; font-family: var(--hb-font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hb-gold-text); }
.hbp-subhead + .hbp-grid { margin-bottom: 40px; }

.hbp-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.hbp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hbp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hbp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Cards ── */
.hbp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  padding: 26px;
  color: var(--hb-text-mid);
  text-decoration: none;
  box-shadow: var(--hb-shadow-sm);
}
.hbp-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--hb-text-mid); }
.hbp-card--link { transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s; }
.hbp-card--link:hover { transform: translateY(-2px); box-shadow: var(--hb-shadow-md); border-color: var(--hb-gold); }
.hbp-card__more {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--hb-gold-text);
}
.hbp-card__n {
  font-family: var(--hb-font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--hb-gold-text);
  margin-bottom: 14px;
}
.hbp-card--problem { border-top: 3px solid var(--hb-signal-red); }

.hbp-signal-card .hb-signal { margin-bottom: 14px; }
.hbp-signal-card__line { color: var(--hb-navy) !important; font-weight: 600; }
.hbp-signal-card__meta { font-family: var(--hb-font-mono); font-size: 13px !important; }

.hbp-pill {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hbp-pill--live { background: rgba(23, 201, 100, 0.12); color: #0B7A3E; }

.hbp-chips { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hbp-chip {
  padding: 8px 16px;
  border: 1px dashed var(--hb-border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--hb-text-mid);
}

.hbp-includes {
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  padding: 28px;
}
.hbp-checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.hbp-checklist li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--hb-text-mid); }
.hbp-checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--hb-gold-text); font-weight: 700; }

/* ── Steps ── */
.hbp-steps { counter-reset: none; }
.hbp-step { border-top: 1px solid rgba(201, 168, 76, 0.4); padding-top: 18px; }
.hbp-step__n { display: block; font-family: var(--hb-font-mono); font-size: 28px; font-weight: 600; color: var(--hb-gold); margin-bottom: 10px; }
.hbp-step p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.hbp-step strong { color: #fff; }

/* ── FAQ ── */
.hbp-faq { border-top: 1px solid var(--hb-border); }
.hbp-faq__item { border-bottom: 1px solid var(--hb-border); }
.hbp-faq__item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--hb-navy);
}
.hbp-faq__item summary::-webkit-details-marker { display: none; }
.hbp-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--hb-gold-text);
}
.hbp-faq__item[open] summary::after { content: '−'; }
.hbp-faq__item p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--hb-text-mid); }
.hbp-faq__item a { color: var(--hb-gold-text); font-weight: 700; text-decoration: underline; }

/* ── Final CTA ── */
.hbp-final { background: var(--hb-navy); padding: 72px 0; text-align: center; }
.hbp-final .hbp-h2 { color: #fff; margin-bottom: 28px; }
.hbp-final__inner { display: flex; flex-direction: column; align-items: center; }
.hbp-verdict {
  text-align: left;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: var(--hb-radius);
  padding: 26px 28px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.05);
}
.hbp-verdict__label { font-family: var(--hb-font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hb-gold); margin: 0 0 8px; }
.hbp-verdict__text { margin: 0; font-size: 18px; line-height: 1.6; color: #fff; }
.hbp-final .hb-affiliate-link { padding: 14px 28px; font-size: 15px; }

/* ── Spike Checker: calls table → cards on mobile ── */
.hbp-calls { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--hb-radius); overflow: hidden; box-shadow: var(--hb-shadow-sm); }
.hbp-calls th,
.hbp-calls td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hb-border); font-size: 15px; line-height: 1.55; }
.hbp-calls thead th { background: var(--hb-navy); color: #fff; font-family: var(--hb-font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.hbp-calls tbody th { color: var(--hb-navy); font-weight: 700; width: 36%; }
.hbp-calls td { color: var(--hb-text-mid); }
.hbp-calls tbody tr:last-child > * { border-bottom: 0; }
.hb-signal--book-smart { background: rgba(11, 31, 58, 0.08); color: var(--hb-navy); }

/* ── Editorial Policy ── */
.hbp-prose p { font-size: 17px; line-height: 1.75; color: var(--hb-text-mid); margin: 0 0 20px; }
.hbp-prose .hbp-h2 { margin: 48px 0 16px; }
.hbp-disclosure { scroll-margin-top: 96px; border: 1px solid var(--hb-border); border-left: 4px solid var(--hb-gold); border-radius: var(--hb-radius); padding: 28px 30px 8px; background: #fff; }
.hbp-disclosure .hbp-h2 { margin-top: 0; }
.hbp-rule { margin: 40px 0; padding: 0 0 0 24px; border-left: 3px solid var(--hb-gold); }
.hbp-rule p { font-family: var(--hb-font-display); font-style: italic; font-size: 22px !important; line-height: 1.5 !important; color: var(--hb-navy) !important; margin: 0 !important; }
.hbp-table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.hbp-table th,
.hbp-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--hb-border); font-size: 15px; }
.hbp-table thead th { font-family: var(--hb-font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hb-gold-text); }
.hbp-table tbody th { color: var(--hb-navy); }
.hbp-table td { color: var(--hb-text-mid); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hbp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hbp-hero--split .hbp-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 760px) {
  :root { --hbp-gutter: 16px; --hbp-section-y: 52px; }
  .hbp-hero { padding: 48px 0 56px; }
  .hbp-hero__sub { font-size: 16px; }
  .hbp-hero__actions .hbp-btn { flex: 1 1 100%; }
  .hbp-grid--2,
  .hbp-grid--3,
  .hbp-grid--4,
  .hbp-checklist { grid-template-columns: minmax(0, 1fr); }
  .hbp-proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hbp-proof__list li { padding: 16px 12px 16px 0; }
  .hbp-proof__list strong { font-size: 17px; }
  .hbp-signup-card { padding: 22px; }
  .hbp-checker .hbx-form { grid-template-columns: minmax(0, 1fr); }
  .hbp-disclosure { padding: 22px 20px 4px; }

  /* Calls table becomes stacked cards */
  .hbp-calls,
  .hbp-calls tbody,
  .hbp-calls tr,
  .hbp-calls th,
  .hbp-calls td { display: block; width: auto; }
  .hbp-calls { background: transparent; box-shadow: none; }
  .hbp-calls thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
  .hbp-calls tr { background: #fff; border: 1px solid var(--hb-border); border-radius: var(--hb-radius); margin-bottom: 14px; padding: 6px 0; }
  .hbp-calls th,
  .hbp-calls td { border: 0; padding: 10px 18px; }
  .hbp-calls tbody th { width: auto; }
}

/* Honeypot field for bots: hidden from people and screen readers */
.hb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ── "Your next move" panel after a Spike Checker result (2.2.0) ── */
.hbp-next { margin-top: 32px; padding: 24px 26px; border: 1px solid rgba(201, 168, 76, 0.4); border-radius: var(--hb-radius); background: rgba(255, 255, 255, 0.05); }
.hbp-next--below { margin-top: 20px; }
.hbp-next__eyebrow { font-family: var(--hb-font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hb-gold); margin: 0 0 8px; }
.hbp-next__title { font-family: var(--hb-font-display); font-size: 24px; line-height: 1.25; color: #fff; margin: 0 0 8px; }
.hbp-next__lead { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); margin: 0 0 18px; }
.hbp-next__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hbp-next__link { display: block; padding: 14px 16px; border-radius: var(--hb-radius-sm); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.hbp-next__link:hover, .hbp-next__link:focus-visible { border-color: var(--hb-gold); background: rgba(255, 255, 255, 0.1); }
.hbp-next__link:focus-visible { outline: 3px solid var(--hb-gold); outline-offset: 2px; }
.hbp-next__tag { display: block; font-family: var(--hb-font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hb-gold-light); margin-bottom: 4px; }
.hbp-next__link strong { display: block; font-size: 16px; color: #fff; margin-bottom: 2px; }
.hbp-next__link span:last-child { display: block; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
/* Wide screens: panel sits under the copy. Narrow (stacked) screens: under the result. */
@media (min-width: 1025px) { .hbp-next--below { display: none !important; } }
@media (max-width: 1024px) { .hbp-next--side { display: none !important; } }
