/* ======================================================================
 * LANDLORDS HUB — floating section pill + beige top band (20 Aug 2026).
 *
 * Aarav's brief: kill the left rail drawer, use THE SAME floating
 * section pill as the homepage, and make the top banner beige like the
 * rest of the site. The pill CSS below is the homepage block verbatim
 * (home-hero-2026.css .hxnav, final state: gold cursor, ink on-state);
 * the JS is the homepage's own /assets/js/home-section-nav.mjs, reused.
 * Page-owned file, single writer — loaded only by /landlords/ after
 * landlords-2026.css so it wins the cascade without touching that file.
 * ==================================================================== */

/* The old rail owned a 12.5rem lane at >=78em; give it back to content. */
body.page--landlords { --llx-rail-lane: 0rem; }

/* The header banner: the site-standard beige (homepage, guaranteed-rent,
   EPC all measure #e8decc), not this page's lighter drift. */
body.page--landlords .site-head { background: #e8decc; }

/* The top banner: warm paper like the other pages, not the ink field. */
body.page--landlords .llx-hero {
  background: var(--llx-paper);
  color: var(--llx-text);
  padding-block: clamp(14px, 1.8vw, 26px) clamp(18px, 2.4vw, 34px);
}

/* ---- the hero: ONE joined island, the homepage grammar ---------------
   Copy sits directly on the forest ground, the photo fills the other
   half to the island's edge — not two boxes floating apart. */
body.page--landlords .llx-hero__grid {
  max-width: min(94vw, 100rem);
  padding-inline: 0;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--llx-ink); /* guide night navy — the premium blue */
  color: var(--llx-on-dark);
  box-shadow: 0 30px 70px -50px rgba(13, 29, 49, 0.5);
}
body.page--landlords .llx-hero__copy {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-content: center;
  gap: 1.1rem;
  padding: clamp(2.25rem, 4.5vw, 5rem);
}
/* Gold kicker on the navy — the house standard for ink bands. */
body.page--landlords .llx-hero__copy .llx-kicker { color: #e3c98f; }
body.page--landlords .llx-hero__copy .llx-display { color: var(--llx-white); }
body.page--landlords .llx-hero__copy .llx-lede { color: var(--llx-on-dark-soft); }
body.page--landlords .llx-hero__media,
body.page--landlords .llx-hero__media .llx-media {
  min-height: clamp(28rem, 38vw, 42rem);
  border-radius: 0;
}
@media (max-width: 61.99em) {
  body.page--landlords .llx-hero__media,
  body.page--landlords .llx-hero__media .llx-media { min-height: 18rem; }
}

/* ---- the homepage floating section pill, verbatim -------------------- */

.page--landlords .hxnav {
  position: fixed;
  top: calc(var(--hxnav-seam, 65px) + 10px);
  left: 50%;
  z-index: 900;
  transform: translate(-50%, -14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), top 240ms ease;
}
.page--landlords .hxnav.is-in { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.page--landlords .hxnav.is-docked { top: 10px; }

.page--landlords .hxnav__list {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 999px;
  background: rgba(14, 26, 21, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 18px 44px -20px rgba(8, 16, 12, 0.7);
}
.page--landlords .hxnav__curli { display: contents; }
.page--landlords .hxnav [data-hxnav-link] {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  color: rgba(244, 238, 227, 0.88);
  font-size: 0.875rem;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
  transition: color 200ms ease;
}
.page--landlords .hxnav [data-hxnav-link] i {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 800;
  color: rgba(227, 201, 143, 0.85);
  transition: color 200ms ease;
}
.page--landlords .hxnav [data-hxnav-link].is-on,
.page--landlords .hxnav [data-hxnav-link].is-on i { color: #171a20; }
.page--landlords .hxnav [data-hxnav-link]:focus-visible { outline: 3px solid #f0bd77; outline-offset: 2px; }

.page--landlords .hxnav__cursor {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: 0;
  border-radius: 999px;
  background: #c5a66a;
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), width 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
  pointer-events: none;
}

/* the pill's anchor targets land clear of header + pill */
#llx-top, #ll-calculator, #ll-services, #ll-guaranteed,
#ll-stays-with-you, #ll-local, #ll-money-protected, #ll-next-step {
  scroll-margin-top: calc(var(--head-h, 65px) + 74px);
}

/* This pill carries 8 sections to the homepage's 6, so the labels give
   way to numbers earlier — one line at every width, never two. */
@media (max-width: 63.99em) {
  .page--landlords .hxnav [data-hxnav-link] { padding: 0.5rem 0.7rem; min-height: 40px; }
  .page--landlords .hxnav [data-hxnav-link] span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page--landlords .hxnav,
  .page--landlords .hxnav__cursor,
  .page--landlords .hxnav [data-hxnav-link] { transition: none !important; }
}

@media print {
  .page--landlords .hxnav { display: none !important; }
}
