/* Article-only type scale for the Trend & Space post template. */
.single-post .article-title {
  max-width: 28ch;
  font-size: clamp(2.45rem, 4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.single-post .article-subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.5;
}

.single-post .article-content {
  font-size: clamp(1rem, 0.35vw + 0.93rem, 1.08rem);
  line-height: 1.72;
}

@media (max-width: 640px) {
  .single-post .article-title {
    max-width: 18ch;
    font-size: clamp(2.15rem, 10vw, 2.9rem);
    line-height: 1.04;
  }
}

.tas-bedroom {
  --ink: #2e2925;
  --muted: #716861;
  --paper: #fffdf9;
  --canvas: #f5f0e9;
  --line: #e6dbcf;
  --accent: #9b4f2e;
  --accent-dark: #6f351f;
  --soft: #f7eee3;
  --night: #231e1b;
}

.tas-bedroom,
.tas-bedroom * {
  box-sizing: border-box;
}



.tas-bedroom a {
  color: var(--accent-dark);
}


.tas-bedroom {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1rem, 0.35vw + 0.93rem, 1.08rem);
  line-height: 1.72;
}

.tas-bedroom__eyebrow,
.tas-bedroom__product-label {
  margin: 0 0 12px;
  color: var(--accent);
  font: 700 11px/1.4 Arial, sans-serif;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}


.tas-bedroom h2 {
  margin: 58px 0 20px;
  color: #613c29;
  font-size: clamp(1.65rem, 2.6vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  scroll-margin-top: 26px;
}

.tas-bedroom h3 {
  margin: 31px 0 13px;
  color: #3f3028;
  font-size: 1.25rem;
  line-height: 1.3;
}

.tas-bedroom p,
.tas-bedroom li {
  text-wrap: pretty;
}

.tas-bedroom__byline,
.tas-bedroom figcaption,
.tas-bedroom__fine-print {
  color: var(--muted);
  font: 13px/1.55 Arial, sans-serif;
}

.tas-bedroom__lede {
  margin: 29px 0 20px;
  color: #453b34;
  font-size: 1.14rem;
  line-height: 1.7;
}

.tas-bedroom__disclosure,
.tas-bedroom__media-note,
.tas-bedroom__safety,
.tas-bedroom__tip {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 4px solid #bd7a4d;
  background: var(--soft);
  color: #514840;
  font: 14px/1.65 Arial, sans-serif;
}

.tas-bedroom__media-note {
  border-left-color: #8d7c6b;
  background: #f3f0eb;
}

.tas-bedroom__toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 22px;
  margin: 34px 0 46px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf5ee;
  font: 14px/1.55 Arial, sans-serif;
}

.tas-bedroom__toc strong {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
}

.tas-bedroom__toc a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tas-bedroom section {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.tas-bedroom__scene {
  margin: 24px 0 28px;
}

.tas-bedroom__scene img,
.tas-bedroom__product img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.tas-bedroom__scene figcaption,
.tas-bedroom__video figcaption {
  margin-top: 9px;
}

.tas-bedroom ul,
.tas-bedroom ol {
  padding-left: 1.35em;
}

.tas-bedroom li {
  margin: 7px 0;
}

.tas-bedroom__video {
  margin: 31px 0;
  padding: 18px;
  border-radius: 12px;
  background: var(--night);
  color: #f8f2ec;
}

.tas-bedroom__video video {
  display: block;
  width: 100%;
  max-height: 640px;
  border-radius: 8px;
  background: #0f0d0c;
  object-fit: contain;
}

.tas-bedroom__video figcaption {
  color: #d8cec6;
}

.tas-bedroom__product {
  margin: 34px 0 30px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.tas-bedroom__product > a {
  display: block;
}

.tas-bedroom__product img {
  max-height: 600px;
  margin: 0 auto 20px;
  object-fit: contain;
  background: #fbfaf8;
}

.tas-bedroom__product h3 {
  margin-top: 7px;
}

.tas-bedroom__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 29px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font: 700 15px/1.2 Arial, sans-serif;
  text-decoration: none;
}

.tas-bedroom__button:hover {
  background: var(--accent-dark);
}

.tas-bedroom__button:focus-visible {
  outline: 3px solid #d6a06f;
  outline-offset: 4px;
}

.tas-bedroom__comparison {
  width: 100%;
  margin: 25px 0 38px;
  border-collapse: collapse;
  font: 14px/1.5 Arial, sans-serif;
}

.tas-bedroom__comparison th,
.tas-bedroom__comparison td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.tas-bedroom__comparison th {
  background: #f6eee4;
}

.tas-bedroom__faq details {
  margin: 12px 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.tas-bedroom__faq summary {
  cursor: pointer;
  color: #4a3529;
  font-weight: 700;
}

.tas-bedroom__faq details p {
  margin-bottom: 2px;
}

.tas-bedroom__closing {
  margin-top: 42px;
  padding: 26px;
  border-radius: 12px;
  background: #2f2925;
  color: #fbf5ee;
}

.tas-bedroom__closing h2 {
  margin-top: 0;
  color: #fff;
}

@media (max-width: 720px) {

  .tas-bedroom {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .tas-bedroom h2 {
    margin-top: 45px;
  }

  .tas-bedroom__toc {
    grid-template-columns: 1fr;
    padding: 19px;
  }

  .tas-bedroom__product,
  .tas-bedroom__video {
    padding: 13px;
  }

  .tas-bedroom__product img {
    max-height: 420px;
  }

  .tas-bedroom__button {
    width: 100%;
  }

  .tas-bedroom__comparison {
    font-size: 12px;
  }

  .tas-bedroom__comparison th,
  .tas-bedroom__comparison td {
    padding: 8px;
  }
}
