/* House Staples — warm neutral palette on Edyt guide shell */
:root {
  --lacquer: #8b5a3c;
  --lacquer-deep: #6b4228;
  --blush: #f5ebe3;
  --paper: #faf7f4;
  --ink: #2a211c;
  --ink-soft: #4a4038;
  --muted: #7a6f66;
  --line: #e8ddd4;
  /* Keep Amazon CTA orange (marketplace recognition), not brand lacquer */
  --amazon: #ff9900;
  --amazon-ink: #131921;
}

body {
  background: var(--paper);
}

.topbar.is-solid {
  background: rgba(250, 247, 244, 0.92);
  border-bottom-color: var(--line);
}

.logo,
.footer-brand .wordmark {
  letter-spacing: 0.02em;
}

.logo {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .logo {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
  }
}

.brand-case::after {
  content: none;
}

.ts-compare__cell--score .ts-compare__val {
  color: var(--lacquer-deep);
}

.btn-amazon,
.top-pick-buy {
  background: var(--amazon);
  border-color: var(--amazon);
  color: var(--amazon-ink);
}

.btn-amazon:hover,
.top-pick-buy:hover {
  background: #e88b00;
  border-color: #e88b00;
  color: var(--amazon-ink);
}

/* Home-specific: room setup block */
.fit-block--home h4 {
  margin-bottom: 0.65rem;
}

.size-guide {
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin: 1.5rem 0 0;
}

.size-guide h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.size-guide ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.size-guide li {
  margin: 0.35rem 0;
}

.pros-cons li {
  line-height: 1.45;
}

/* Slightly more air above Buy on Amazon in pick writeups */
.pick-detail-body > .cta-row {
  margin-top: 1.15rem;
}

.listing-source {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.checklist li {
  margin: 0.65rem 0;
}

/* Prefer site-rail TOC. Never dump an in-main "On this page" list (esp. on mobile). */
.toc-block {
  display: none !important;
}

/* Category hubs use the same readable title as /guides/ cards */
.cat-section .guide-card .guide-card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.cat-section .guide-card p:not(.guide-card-title) {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* Related guides block on guide pages (reuse hub card look) */
.related-guides .guide-cards {
  margin-top: 0.25rem;
}
.related-guides .guide-card {
  min-height: 0;
  justify-content: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.related-guides .guide-card:hover {
  border-color: var(--ink);
  background: var(--porcelain);
}
.related-guides .guide-card .meta {
  color: var(--muted);
}
.related-guides .guide-card .guide-card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.related-guides .guide-card p:not(.guide-card-title) {
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.related-more {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}
.related-more a {
  color: var(--lacquer-deep);
  font-weight: 600;
}

.home-hubs {
  margin-top: 0;
}

.home-all-guides {
  margin: 1.35rem 0 0;
  font-size: 1rem;
}

.home-all-guides a {
  color: var(--lacquer-deep);
  font-weight: 600;
}

/* Home hero: warm House gradient only (no Edyt bullet oval) */
.home-hero {
  z-index: 4;
  overflow: hidden;
  min-height: 0;
  align-items: end;
  background: linear-gradient(155deg, #2a211c 0%, #5c4030 48%, #3a2a22 100%);
}
.home-hero .hero-inner {
  padding-top: 8.5rem;
  padding-bottom: 3.25rem;
}
.home-hero::after {
  content: none;
  display: none;
  animation: none;
}
.home-hero h1 {
  max-width: 12ch;
}
.topbar.on-dark .nav-left a:hover,
.topbar.on-dark .nav-right a:hover,
.topbar.on-dark .logo:hover {
  color: #f5ebe3;
}

.home-hero .hero-search {
  position: relative;
  z-index: 3;
  max-width: 32rem;
  width: 100%;
  margin: 0;
  justify-content: flex-start;
}
.home-hero .site-search-panel {
  width: 100%;
}
.home-hero .site-search-input {
  min-height: 3.15rem;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 252, 252, 0.97);
  color: var(--ink);
}
.home-hero .site-search-input:focus {
  outline-color: #f5ebe3;
}
.home-hero .site-search-results {
  left: 0;
  right: auto;
  width: 100%;
}

@media (max-width: 820px) {
  .home-hero .site-search {
    max-width: none;
    width: 100%;
  }
  .home-hero .site-search-panel {
    display: block;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    z-index: 2;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .home-hero .site-search-results {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    width: auto;
    max-height: min(60vh, 22rem);
  }
}

/* housestaples deploy 20260912220011 */
