/* ==========================================================================
   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 img { border-radius: var(--r); }

/* ---------- 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); }
}
