/* ==========================================================================
   HotelsForKings.com — Editorial reskin adapter for legacy (slate) markup
   Loaded AFTER /editorial/hfk.css on pages whose body markup still uses the
   slate design-system classes. Re-themes those classes in the Editorial
   design language (paper/ink/gold, Cormorant Garamond + Manrope, hairlines,
   4px radii) WITHOUT any markup changes. Tokens are overridden so that both
   slate classes and inline var(--…) styles resolve to Editorial values.
   ========================================================================== */

/* ---------- Token override: legacy vars → Editorial palette ---------- */
:root {
  --bg: #FBFAF7;
  --bg2: #FFFFFF;
  --bg3: #F5F0E6;
  --card: #FFFFFF;
  --t1: #181512;
  --t2: #5C564D;
  --t3: #8E8779;
  --acc: #9A7434;
  --acc-h: #B9924D;
  --acc-l: #9A7434;
  --acc-s: rgba(154, 116, 52, .07);
  --acc-b: rgba(154, 116, 52, .25);
  --bd: #E7E1D4;
  --bd2: #D9D2C2;
  --r: 4px;
  /* --ink, --serif, --sans, --paper, --gold, --gold-deep, --hairline come from hfk.css */
}

/* ---------- Base ---------- */
body { background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.65; padding-top: 74px; }
body.hfk-hero-page { padding-top: 0; }
.c { max-width: 1180px; padding: 0 40px; }
a { color: var(--gold-deep); }
a:hover { color: var(--gold); }

h1 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; line-height: 1.04; }
h1 em { font-style: italic; color: #EBD9B4; }
h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { border-radius: 100px; font-weight: 700; letter-spacing: .14em; padding: 14px 32px; }
.btn-a { background: var(--ink); color: #fff; }
.btn-a:hover { background: var(--gold-deep); }
.btn-g { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-g:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: var(--gold-deep); }

/* ---------- Sections / headers ---------- */
.sec { padding: 92px 0; }
.sec-tinted { background: #fff; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.sec-dark { background: var(--ink); }
.ey { font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--gold-deep); }
.st { font-size: clamp(32px, 3.6vw, 48px); font-weight: 300; letter-spacing: -0.01em; }
.st em { font-style: italic; color: var(--gold-deep); }
.ss { color: var(--ink-soft); font-size: 16px; }
.divider { background: var(--gold); }

/* ---------- Occasion tags ---------- */
.occ-tag { border: 1px solid var(--hairline); background: #fff; color: var(--ink); border-radius: 100px; font-family: var(--serif); font-size: 17px; padding: 11px 26px; }
.occ-tag:hover { border-color: var(--gold); color: var(--gold-deep); font-style: italic; }
.occ-tag.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Hotel cards ---------- */
.hotel { border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; background: #fff; color: var(--ink); }
.hotel:hover { transform: none; box-shadow: 0 22px 48px -20px rgba(24, 21, 18, .22); border-color: var(--hairline); }
.hotel-img img { filter: none; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.hotel:hover .hotel-img img { transform: scale(1.06); }
.hotel-rank { background: rgba(251, 250, 247, .94); border: none; color: var(--gold-deep); border-radius: 50%; font-style: italic; font-size: 16px; width: 36px; height: 36px; }
.hotel-occ { background: rgba(24, 21, 18, .78); color: #fff; border-radius: 100px; letter-spacing: .16em; padding: 5px 13px; }
.hotel-city { color: var(--ink-faint); letter-spacing: .16em; }
.hotel-name { font-size: 24px; }
.hotel-verdict { font-family: var(--serif); font-size: 17px; color: var(--ink-soft); border-left: 2px solid var(--gold); }
.score-v { color: var(--ink); }
.score-l { color: var(--ink-faint); }
.hotel-book { background: transparent; color: var(--gold-deep); font-weight: 700; letter-spacing: .14em; padding: 8px 0; }
.rank-pill { background: var(--gold-deep); border-radius: 100px; }
.rank-tile { background: var(--ink); font-style: italic; border-radius: var(--r); }

/* ---------- City cards ---------- */
.city { border-radius: var(--r); overflow: hidden; }
.city img { filter: brightness(.8); transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), filter .4s; }
.city-ov { background: linear-gradient(180deg, transparent 50%, rgba(12, 10, 8, .58) 100%); }
.city-n { font-style: italic; font-size: 24px; font-weight: 400; }
.city-c { color: rgba(255, 255, 255, .78); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Steps / testimonials / blog cards ---------- */
.step-n { font-style: italic; color: var(--gold); font-size: 52px; }
.step-t { font-size: 24px; }
.test { border: 1px solid var(--hairline); border-radius: var(--r); background: #fff; }
.test:hover { transform: none; }
.test-text { font-size: 19px; color: var(--ink); }
.test-info { color: var(--gold-deep); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.test-info span { color: var(--ink-faint); text-transform: none; letter-spacing: .02em; }
.blog { border: 1px solid var(--hairline); border-radius: var(--r); background: #fff; color: var(--ink); }
.blog:hover { transform: none; box-shadow: 0 18px 44px -18px rgba(24, 21, 18, .18); }
.blog-cat { color: var(--gold-deep); letter-spacing: .2em; }
.blog-t { font-size: 22px; line-height: 1.2; }
.blog:hover .blog-t { color: var(--gold-deep); }
.blog-d { color: var(--ink-soft); }
.blog-meta { color: var(--ink-faint); font-size: 11px; }

/* ---------- Hero (legacy full-bleed) ---------- */
.hero-ey { color: rgba(255, 255, 255, .85); letter-spacing: .3em; font-weight: 600; }
.hero h1 em, .hotel-hero-content h1 em, .art-hero-content h1 em { color: #EBD9B4; }
.hero-sub { color: rgba(255, 255, 255, .86); font-size: 16.5px; font-weight: 500; }
.hero-search { border-radius: 100px; background: rgba(251, 250, 247, .96); border: none; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .45); padding: 6px; gap: 6px; }
.hero-search select, .hero-search input { color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 17px; border: none; }
.hero-search select { color: var(--gold-deep); border-right: 1px solid var(--hairline); }
.hero-search select option { background: #fff; color: var(--ink); }
.hero-search input::placeholder { color: var(--ink-faint); }
.hero-search button { background: var(--ink); border-radius: 100px; font-weight: 700; letter-spacing: .14em; }
.hero-search button:hover { background: var(--gold-deep); }
.hero-pill { border-radius: 100px; border: 1px solid rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .92); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.hero-pill:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-nl { border-radius: 100px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(24, 21, 18, .35); padding: 5px; overflow: hidden; }
.hero-nl button { background: #fff; color: var(--ink); border-radius: 100px; font-weight: 700; }
.hero-nl button:hover { background: var(--gold); color: #1a1408; }
@media (max-width: 900px) { .hero-search { border-radius: 24px; } .hero-search select { border-right: none; } }

/* If a legacy page keeps a full-bleed hero at top, let it sit flush under the fixed nav */
.hero, .hotel-hero, .art-hero, .hero-detail { margin-top: -74px; padding-top: 74px; }

/* ---------- CTA band / newsletter ---------- */
.cta-band { background: var(--ink); }
.cta-band .ey { color: var(--gold); }
.cta-band .st em { color: #EBD9B4; }
.cta-band p { color: #9A9384; }
.nl-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 72px 0; }
.nl-strip h3 { font-size: 32px; }
.nl-f { border: 1px solid var(--hairline); border-radius: 100px; background: #fff; padding: 5px; overflow: hidden; }
.nl-btn { background: var(--ink); border-radius: 100px; font-weight: 700; }
.nl-btn:hover { background: var(--gold-deep); }

/* ---------- Legacy footers (markup kept verbatim, dark Editorial dress) ---------- */
.ft, footer.footer, footer.site-footer { background: var(--ink); color: #CFC8BB; padding: 80px 0 36px; }
.ft a, footer.footer a, footer.site-footer a { color: #CFC8BB; }
.ft a:hover, footer.footer a:hover, footer.site-footer a:hover { color: #fff; }
.ft-brand { color: #fff; font-size: 26px; }
.ft-brand em { color: var(--gold); }
.ft-d { color: #9A9384; }
.ft-h { color: #8E8779; letter-spacing: .22em; font-size: 11px; font-weight: 600; }
.ft-col a { color: #CFC8BB; font-size: 13.5px; }
.ft-bot { border-top: 1px solid rgba(255, 255, 255, .12); color: #7B7466; font-size: 11.5px; }
.ft h2, .ft h3, .ft h4, footer.footer h2, footer.footer h3, footer.site-footer h3 { color: #fff; }

/* ---------- Forms ---------- */
.form-field input, .form-field select, .form-field textarea { border: 1px solid var(--bd2); border-radius: var(--r); background: #fff; color: var(--ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field label { color: var(--ink-soft); }

/* ---------- Hotel detail extras ---------- */
.score-board { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r); }
.score-board .score-v { font-family: var(--serif); color: var(--ink); }
.breadcrumbs { color: var(--ink-faint); }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--gold-deep); }
.sp-gallery { background: transparent; }
.sp-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sp-gallery-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); display: block; }
@media (max-width: 600px) { .sp-gallery-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Reveal-on-scroll: gate behind reduced-motion, accept legacy .on and hfk .in ---------- */
.rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .rv:not(.on):not(.in) { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); }
  .rv.on, .rv.in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); }
}

/* ===== LAYOUT RESTORE 2026-07-12 — hub hero + city/type tile grid =====
   The layout halves of these rules were missing from the deployed CSS, so
   every hub hero (.hero > .hero-bg) rendered at full natural image height
   (many viewports tall) and the .city-g tile grids stacked single-column
   with the caption overlay falling through below the image.

   Hero model: a height-bounded image banner followed by the title block on a
   dark band. This is robust to pages where an extra content block was injected
   inside .hero-content (e.g. the "Top 20" picks on /type/ and /occasion/, or a
   related-line aside on some city pages) — nothing is clipped and all text
   stays readable. Scoped with :has(> .hero-bg) so the homepage hero
   (.hero-media, self-styled inline) is never affected. */

.hero:has(> .hero-bg){ position: relative; background: #181512; color: #fff; }
.hero-bg{ position: relative; height: 56vh; max-height: 600px; overflow: hidden; }
.hero-bg img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,8,.18), rgba(12,10,8,.48)); }
.hero:has(> .hero-bg) .hero-content{ position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; padding: 40px 48px 54px; }
.hero:has(> .hero-bg) .hero-content h1{ margin: .12em 0 0; color: #fff; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 84px); line-height: 1.03; letter-spacing: -0.01em; text-wrap: balance; }
.hero:has(> .hero-bg) .hero-content .hero-sub{ max-width: 640px; }

.city-g{ display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.city{ position: relative; display: block; aspect-ratio: 3 / 2; }
.city img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city:hover img{ transform: scale(1.05); }
.city-ov{ position: absolute; inset: 0; z-index: 1; }
.city-info{ position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 22px; }
.city-n{ color: #fff; }
.city-c{ margin-top: 6px; font-size: 11px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 760px){
  .hero-bg{ height: 42vh; }
  .hero:has(> .hero-bg) .hero-content{ padding: 28px 20px 40px; }
  .city-g{ grid-template-columns: 1fr; }
}

/* ===== COMPACT TYPE SCALE 2026-07-12 — smaller headings & leads site-wide =====
   Headings across the site read oversized; these cap the main heading selectors
   ~25-30% smaller. !important lets them win over page-level inline font-size
   attributes on shared heading classes. Homepage hero h1 is reduced in its own
   inline style (different selector). */
.st{ font-size: clamp(24px, 2.6vw, 34px) !important; }
.section-head h2{ font-size: clamp(26px, 2.8vw, 38px) !important; }
.page-hero h1{ font-size: clamp(34px, 4.4vw, 58px) !important; }
.page-head h1{ font-size: clamp(32px, 4vw, 54px) !important; }
.hero:has(> .hero-bg) .hero-content h1{ font-size: clamp(30px, 4vw, 52px); }
.art-hero h1, h1.art-h1{ font-size: clamp(30px, 3.8vw, 50px) !important; }
.hero-sub, .page-hero .sub, .page-head .sub{ font-size: 15px !important; }

/* ===== Filter pills (city occasion filter) — consistent height, clean wrap ===== */
.filter-pill, .toc-link{ display: inline-flex; align-items: center; white-space: nowrap; padding: 7px 15px; border-radius: 100px; font-size: 12.5px; line-height: 1; text-decoration: none; border: 1px solid var(--bd, #E7E1D4); }
.toc-link{ background: var(--ink, #181512); color: #fff; }
.filter-pill{ background: #fff; color: var(--t1, #181512); }
.filter-pill:hover{ border-color: var(--gold-deep, #9A7434); color: var(--gold-deep, #9A7434); }

/* Newsletter form: keep input + button on one row, no overlap */
.nl-f{ display: flex; align-items: center; gap: 6px; }
.nl-f .nl-i, .nl-f input[type=email]{ flex: 1 1 auto; min-width: 0; }
.nl-f .nl-btn, .nl-f button{ flex: 0 0 auto; white-space: nowrap; }
/* Keep tile grids centred */
.city-g{ justify-content: center; }

/* ===== DESIGN POLISH 2026-07-12 (world-class pass) ===== */
/* Hero: richer gradient, tighter caption rhythm, refined eyebrow/byline */
.hero:has(> .hero-bg){ background:#141210; }
.hero-bg{ height:52vh; max-height:560px; }
.hero-bg::after{ background:linear-gradient(180deg, rgba(15,12,10,.30) 0%, rgba(15,12,10,.04) 40%, rgba(15,12,10,.74) 100%); }
.hero:has(> .hero-bg) .hero-content{ padding:34px 48px 46px; }
.hero-ey{ font-size:11px; letter-spacing:.28em; color:rgba(255,255,255,.72); margin-bottom:14px; }
.hero:has(> .hero-bg) .hero-content h1{ line-height:1.05; margin:0 0 12px; }
.hero:has(> .hero-bg) .hero-content .hero-sub{ color:rgba(255,255,255,.82); line-height:1.6; margin-top:10px; }
.hero .hfk-byline{ color:rgba(255,255,255,.55) !important; }

/* Tiles: elegant cards, hover lift, readable sentence captions */
.city-g{ gap:20px; }
.city{ border-radius:8px; box-shadow:0 1px 2px rgba(20,18,15,.06); transition:transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.city:hover{ transform:translateY(-4px); box-shadow:0 22px 44px -20px rgba(20,18,15,.34); }
.city img{ filter:brightness(.82); }
.city-ov{ background:linear-gradient(180deg, transparent 40%, rgba(10,8,6,.74) 100%); }
.city-info{ padding:18px 20px; }
.city-n{ font-size:21px; line-height:1.15; }
.city-c{ margin-top:7px; font-size:12px; letter-spacing:.01em; text-transform:none; color:rgba(255,255,255,.85); line-height:1.5; }

/* Section rhythm + headings */
.sec{ padding:60px 0; }
.ey{ letter-spacing:.24em; }
.st{ line-height:1.12; }

/* Capsule / answer boxes */
.capsule{ background:#fff; border:1px solid var(--hairline,#E7E1D4); border-left:3px solid var(--gold,#B9924D); border-radius:4px; padding:22px 26px; }
.capsule p{ line-height:1.72; color:var(--ink-soft,#5C564D); margin:0; }

/* Pills / newsletter refinement */
.filter-pill{ transition:border-color .2s, color .2s, background .2s; }
.filter-pill:hover{ background:var(--gold-deep,#9A7434); color:#fff; border-color:var(--gold-deep,#9A7434); }
.nl-f{ box-shadow:0 1px 2px rgba(20,18,15,.05); }

/* ===== FOUNDATION FIXES 2026-07-12 (footer, newsletter, buttons, grids, spacing) ===== */
/* Footer: proper column grid + stacked links (was running together) */
.ft-g{ display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr 1fr; gap:44px; align-items:start; }
.ft-col{ display:flex; flex-direction:column; }
.ft-col a{ display:block; margin-bottom:9px; text-decoration:none; }
.ft-col a:hover{ color:#fff; }
.ft-h{ margin-bottom:16px; }
.ft-brand{ margin-bottom:12px; }
.ft-d{ line-height:1.6; max-width:300px; }
.ft-bot{ display:flex; gap:24px; flex-wrap:wrap; justify-content:space-between; align-items:center; margin-top:44px; padding-top:22px; }
@media(max-width:860px){ .ft-g{ grid-template-columns:1fr 1fr; gap:30px 24px; } }

/* Newsletter: styled input on one row, centered */
.nl-f{ display:flex; align-items:center; gap:6px; max-width:520px; margin:24px auto 0; }
.nl-i{ flex:1 1 auto; min-width:0; padding:13px 20px; border:none; background:transparent; font-family:var(--sans); font-size:14.5px; color:var(--ink); outline:none; }
.nl-i::placeholder{ color:var(--ink-faint,#8E8779); font-style:italic; }
.nl-btn{ padding:12px 24px; color:var(--paper,#FBFAF7); border:none; cursor:pointer; white-space:nowrap; letter-spacing:.12em; text-transform:uppercase; font-size:12px; }
.nl-strip{ text-align:center; }

/* Small card-CTA buttons (were rendering full-size) */
.btn-sm{ padding:9px 18px !important; font-size:11px !important; letter-spacing:.12em; }

/* Category / occasion tile grid: clean, filled, centered 3-up */
.city-g{ grid-template-columns:repeat(3,1fr) !important; justify-content:stretch !important; gap:22px; }
@media(max-width:1000px){ .city-g{ grid-template-columns:repeat(2,1fr) !important; } }
@media(max-width:640px){ .city-g{ grid-template-columns:1fr !important; } }

/* Tighter, regular section rhythm (was airy/weird) */
.sec{ padding:56px 0; }

/* ===== CENTERING FIX 2026-07-12 — .c container had max-width but no auto margins ===== */
.c{ margin-left:auto !important; margin-right:auto !important; }
.city-g{ width:100%; max-width:none; }

/* ===== VISUAL QA PASS 2026-07-12 — fixes verified against real browser renders =====
   Found by screenshotting every template at 1440px and 390px. Four families of
   defects: (1) gradient heroes (best hubs) rendered text at x=0 clipped under
   the fixed nav; (2) the rebuilt hotel-profile template (detail-grid, bookcard,
   gallery, hsub — 216 pages) shipped with NO stylesheet, rendering as bare
   stacked text and 800px images that blew out mobile; (3) city-hub .card /
   badge classes were unstyled; (4) newsletter forms + inline repeat(4,1fr)
   grids forced horizontal scroll on phones. */

/* --- A. Gradient hero (no .hero-bg child): best hubs & similar --- */
.hero:not(:has(> .hero-bg)){ position:relative; color:#fff; background:#181512; }
.hero:not(:has(> .hero-bg))::before{ content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,10,8,.42), rgba(12,10,8,.14) 45%, rgba(12,10,8,.5)); pointer-events:none; }
.hero:not(:has(> .hero-bg)) > *{ position:relative; z-index:1; }
.hero:not(:has(> .hero-bg)) > .hero-content{ max-width:1280px; margin:0 auto; padding:150px 48px 56px; }
.hero:not(:has(> .hero-bg)) > .hero-content h1{ color:#fff; font-family:var(--serif); font-weight:300;
  font-size:clamp(30px,4vw,52px); line-height:1.05; letter-spacing:-0.01em; text-wrap:balance; margin:0 0 12px; }
@media (max-width:760px){ .hero:not(:has(> .hero-bg)) > .hero-content{ padding:120px 20px 40px; } }

/* --- B. Hotel-profile detail template (was completely unstyled) --- */
.hero.hero-detail{ background-size:cover; background-position:center; }
.hero.hero-detail > .c{ padding-top:150px; padding-bottom:52px; }
.hero.hero-detail .crumbs, .hero.hero-detail .crumbs a{ color:rgba(255,255,255,.78); }
.hero.hero-detail h1{ color:#fff; font-size:clamp(30px,4vw,52px) !important; margin:14px 0 0; }
.hsub{ margin-top:12px; font-size:15.5px; font-weight:500; color:rgba(255,255,255,.85); max-width:640px; text-wrap:pretty; }
@media (max-width:760px){ .hero.hero-detail > .c{ padding-top:118px; padding-bottom:38px; } }

.detail-grid{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:56px; align-items:start; padding-top:48px; padding-bottom:24px; }
.detail-main{ min-width:0; }
.detail-main > p{ line-height:1.75; margin-bottom:20px; }
.detail-main h2{ font-size:clamp(24px,2.6vw,32px); font-weight:400; margin:44px 0 14px; line-height:1.15; }
.detail-side{ position:sticky; top:96px; }
@media (max-width:1000px){
  .detail-grid{ grid-template-columns:1fr; gap:36px; }
  .detail-side{ position:static; }
}

.detail-main .gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:28px 0; }
.detail-main .gallery img{ width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:6px; display:block; background:#EFEAE0; }
@media (max-width:760px){ .detail-main .gallery{ grid-template-columns:1fr; gap:12px; } }

.bookcard{ background:#fff; border:1px solid var(--hairline); border-radius:10px; padding:26px 26px 24px;
  box-shadow:0 14px 34px -22px rgba(24,21,18,.25); }
.bcrank{ display:inline-block; background:var(--ink); color:var(--paper); font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; padding:6px 14px; border-radius:100px; margin-bottom:18px; }
.scoregrid{ display:flex; gap:18px; flex-wrap:wrap; margin-bottom:14px; }
.sc{ display:flex; flex-direction:column; }
.scn{ font-family:var(--serif); font-size:44px; font-weight:300; line-height:1; color:var(--ink); }
.scl{ margin-top:6px; font-size:10.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-faint); }
.bcrating{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; padding-top:12px; border-top:1px solid var(--hairline); }
.bcprice{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; margin-top:8px; }
.bcbtn{ display:block; text-align:center; background:var(--ink); color:var(--paper) !important; border-radius:100px;
  padding:14px 24px; margin-top:18px; font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  transition:background .3s; }
.bcbtn:hover{ background:var(--gold-deep); color:#fff !important; }
.bcnote{ margin-top:12px; font-size:11.5px; color:var(--ink-faint); line-height:1.5; }
.bcnote .chip, .bookcard .chip{ display:inline-block; font-size:10.5px; font-weight:600; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-soft); background:var(--paper); border:1px solid var(--hairline);
  border-radius:100px; padding:4px 11px; margin:0 6px 6px 0; }

/* --- C. City-hub hotel cards + badges (were borderless floating text) --- */
.card{ background:#fff; border:1px solid var(--hairline); border-radius:10px; overflow:hidden;
  display:flex; flex-direction:column; transition:box-shadow .35s, transform .35s; }
.card:hover{ box-shadow:0 22px 44px -20px rgba(24,21,18,.24); transform:translateY(-3px); }
.card > a{ display:block; }
.card-body{ padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.badge-occ, .badge-type{ display:inline-block; font-size:11px; letter-spacing:.05em; padding:5px 12px;
  border-radius:100px; border:1px solid var(--hairline); color:var(--ink-soft); background:var(--paper); }
.badge-type{ background:#F5F0E6; color:var(--gold-deep); border-color:#EADFC8; }

/* --- D. Phone-width overflow guards (newsletter forms, inline multi-col grids) --- */
.nl-f .nl-i, .nl-f input[type=email]{ width:0; } /* flex-grow re-expands; kills intrinsic min-width blowout */
.art-grid > *, .art-body, .art-body .nl-strip .c{ min-width:0; }
.art-body .nl-strip{ padding:40px 0; }
.art-body .nl-strip .c{ padding:0 16px; }
@media (max-width:900px){
  [style*="grid-template-columns:repeat(4,1fr)"], [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"]{ grid-template-columns:repeat(2,1fr) !important; }
}
@media (max-width:560px){
  [style*="grid-template-columns:repeat(4"], [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(3"], [style*="grid-template-columns: repeat(3"]{ grid-template-columns:1fr !important; }
}
/* inline flex subscribe forms: email input must not enforce intrinsic width on phones */
form[style*="display:flex"] input[type=email]{ min-width:0; width:0; flex:1 1 auto; }
@media (max-width:560px){ .btn{ padding:12px 20px; } }
/* inline footer/aside grids written as explicit fr lists (e.g. 2fr 1fr 1fr 1fr) */
@media (max-width:900px){
  [style*="grid-template-columns:2fr 1fr 1fr 1fr"], [style*="grid-template-columns: 2fr 1fr 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr 1fr"], [style*="grid-template-columns: 1fr 1fr 1fr 1fr"]{ grid-template-columns:1fr 1fr !important; }
  [style*="grid-template-columns:2fr 1fr 1fr"], [style*="grid-template-columns: 2fr 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"], [style*="grid-template-columns: 1fr 1fr 1fr"]{ grid-template-columns:1fr 1fr !important; }
}

/* ===== COMPONENT LAYOUT RESTORE 2026-07-14 — legacy hotel-card system + friends =====
   legacy.css is a reskin ADAPTER (colors/fonts only); the slate base stylesheet it
   assumed never shipped. The 2026-07-12 LAYOUT RESTORE rebuilt heroes, .city-g tiles
   and the hotel-profile detail template, but the hotel-card family (.hotel-g grid on
   every /city/ hub, /occasion/ hub and profile "also great" strip), .occ-g filter
   rows, .steps-g, .score-board, breadcrumbs and blog related-card grids were still
   layout-less and rendered as bare stacked text with full-width images (verified on
   /city/boston/). These are the missing layout halves; cosmetic halves above stay. */

/* --- Hotel card grid (city hubs, occasion hubs, "also great" strips) --- */
.hotel-g{ display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:24px; }
.hotel{ display:flex; flex-direction:column; min-width:0;
  transition:box-shadow .35s, transform .35s; }
.hotel:hover{ transform:translateY(-3px); }
.hotel-img{ position:relative; aspect-ratio:3/2; overflow:hidden; background:#EFEAE0; }
.hotel-img img{ width:100%; height:100%; object-fit:cover; }
.hotel-rank{ position:absolute; top:12px; left:12px; z-index:2; display:flex; align-items:center;
  justify-content:center; font-family:var(--serif); }
.hotel-occ{ position:absolute; top:14px; right:12px; z-index:2; font-size:10px; font-weight:600;
  text-transform:uppercase; }
.hotel-body{ display:flex; flex-direction:column; flex:1; padding:20px 22px 22px; }
.hotel-city{ font-size:11px; font-weight:600; text-transform:uppercase; margin-bottom:8px; }
.hotel-name{ font-family:var(--serif); font-weight:400; line-height:1.15; margin-bottom:8px; }
.hotel-meta{ display:flex; flex-wrap:wrap; gap:4px 18px; font-size:12.5px; color:var(--ink-faint);
  margin-bottom:14px; }
.hotel-verdict{ padding-left:14px; margin-bottom:18px; line-height:1.55; }
.hotel-footer{ margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; padding-top:16px; border-top:1px solid var(--hairline); }
.hotel-scores{ display:flex; gap:20px; }
.score{ display:flex; flex-direction:column; min-width:0; }
.score-v{ font-family:var(--serif); font-size:24px; font-weight:400; line-height:1; }
.score-l{ margin-top:4px; font-size:10px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }
.hotel-book{ border:none; cursor:pointer; font-size:12px; text-transform:uppercase; white-space:nowrap; }
.hotel:hover .hotel-book{ color:var(--gold); }
@media (max-width:700px){ .hotel-g{ grid-template-columns:1fr; } }

/* --- Profile score board (three big scores under the hero) --- */
.score-board{ display:flex; flex-wrap:wrap; gap:20px 44px; padding:24px 28px; margin:28px 0 40px; }
.score-board .score-v{ font-size:40px; font-weight:300; }
.score-board .score-l{ margin-top:8px; }

/* --- Occasion filter row (city hubs; inline styles on some pages add centring) --- */
.occ-g{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; max-width:960px; margin:0 auto; }

/* --- Criteria steps (occasion hubs: the four-point test) --- */
.steps-g{ display:grid; grid-template-columns:repeat(4, 1fr); gap:28px; }
.step{ min-width:0; }
.step-n{ line-height:1; margin-bottom:12px; }
.step-t{ margin-bottom:8px; line-height:1.2; }
.step-d{ font-size:14px; color:var(--ink-soft); line-height:1.65; }
@media (max-width:1000px){ .steps-g{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:560px){ .steps-g{ grid-template-columns:1fr; } }

/* --- Breadcrumbs (colors above; layout was missing) --- */
.breadcrumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:20px 0 4px;
  font-size:11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.breadcrumbs span{ opacity:.5; }

/* --- FAQ accordion (matches the per-page <style> shipped on type/ and occasion/ indexes,
       so pages carrying their own copy render identically) --- */
.faq-section{ max-width:920px; margin:48px auto; padding:0 24px; }
.faq-item{ border:1px solid var(--hairline); margin-bottom:8px; border-radius:4px; background:#fff; }
.faq-q{ padding:18px 24px; cursor:pointer; font-family:var(--sans); font-weight:500; font-size:15px;
  color:var(--ink); list-style:none; }
.faq-q::-webkit-details-marker{ display:none; }
.faq-q::after{ content:"+"; float:right; color:var(--ink); font-weight:300; }
.faq-item[open] .faq-q::after{ content:"\2212"; }
.faq-a{ padding:0 24px 18px; color:var(--ink-soft); line-height:1.7; font-size:14px; }

/* --- Blog related-card grid (blog articles' "Related guides" strip) --- */
.blog-g{ display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:24px; }
.blog{ display:flex; flex-direction:column; min-width:0; }
.blog-img{ aspect-ratio:3/2; overflow:hidden; background:#EFEAE0; }
.blog-img img{ width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(.22,1,.36,1); }
.blog:hover .blog-img img{ transform:scale(1.05); }
.blog-body{ display:flex; flex-direction:column; flex:1; padding:20px 22px 22px; }
.blog-cat{ display:block; margin-bottom:8px; font-size:11px; font-weight:600; }
.blog-t{ margin-bottom:8px; }
.blog-meta{ margin-top:auto; padding-top:12px; }
