/* In-body guide photos and diagrams (Nov 14 images deploy) */
.guide-inline{
  margin:1.5rem 0 1.75rem;
  border:1px solid #2a2a2a;
  background:#0b0b0b;
  border-radius:0;
}
.guide-inline picture,
.guide-inline img{
  display:block;
  width:100%;
  height:auto;
}
.guide-inline figcaption{
  margin:0;
  padding:.65rem .8rem .75rem;
  border-top:1px solid #2a2a2a;
  font-size:.86rem;
  line-height:1.5;
  color:var(--body,#c9c9c9);
}
.guide-inline .ds-hero-cap{display:block;margin:0 0 .35rem}
.guide-inline .ds-credit{
  display:block;
  font-family:var(--ds-mono,ui-monospace,monospace);
  font-size:.7rem;
  letter-spacing:.02em;
  line-height:1.5;
  color:var(--muted,#8a8a8a);
  overflow-wrap:anywhere;
}
.guide-inline .ds-credit a{
  color:inherit;
  text-decoration:underline 1px;
  text-underline-offset:.18em;
}
.guide-diagram{
  background:#0b0b0b;
}
.guide-diagram img{
  background:#0b0b0b;
}


/* First-screen lead on stay-warm and similar how-to guides. */
.guide-first-screen{margin:0 0 1rem;}
.guide-lead-steps{
  margin:0 0 .6rem;
  padding:0 0 0 1.15rem;
  font-size:1.02rem;
  line-height:1.4;
}
.guide-lead-steps li{margin:0 0 .35rem;}
.guide-211{
  margin:0 0 .7rem;
  font-size:1.02rem;
  font-weight:650;
  color:#f3f4f6;
}
.guide-co-warn{
  margin:0 0 .8rem;
  padding:.7rem .8rem;
  border:1px solid #8a3b3b;
  background:color-mix(in srgb,#8a3b3b 14%, transparent);
  font-size:.95rem;
  line-height:1.4;
}
.guide-first-cta{margin:.75rem 0 0;}
.guide-first-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.55rem 1.1rem;
  background:#f3f4f6;
  color:#0b0d10 !important;
  text-decoration:none;
  font-weight:700;
  border-radius:8px;
}
.guide-first-cta-btn:hover,
.guide-first-cta-btn:focus-visible{
  filter:brightness(1.06);
  outline:2px solid #f3f4f6;
  outline-offset:2px;
}
@media (max-width:400px){
  .article-kicker{margin:0 0 .25rem;}
  .guide-first-screen .article-hero{margin:.15rem 0 0;}
  .guide-first-screen .article-hero img,
  .guide-first-screen .article-hero picture,
  .guide-first-screen .guide-first-hero img{
    width:100%;
    height:auto;
    max-height:120px;
    object-fit:cover;
  }
  .guide-first-screen .article-hero figcaption{
    font-size:.72rem;
    line-height:1.3;
    margin:.3rem 0 0;
  }
  .guide-first-cta{margin:.6rem 0 0;}
}


@media (max-width:400px){
  body.ds-prep:has(.guide-first-screen) main > .wrap{
    padding-top:8px;
  }
  .article-page:has(.guide-first-screen) .article-crumbs{
    font-size:.75rem;
    line-height:1.25;
    margin:0 0 .3rem;
    max-height:2.6em;
    overflow:hidden;
  }
  .article-page:has(.guide-first-screen) .article-kicker{
    margin:0 0 .15rem;
    font-size:.72rem;
  }
  .article-page:has(.guide-first-screen) h1{
    font-size:1.4rem;
    line-height:1.15;
    margin:0 0 .4rem;
  }
  .guide-lead-steps{
    margin:0 0 .35rem;
    font-size:.98rem;
    line-height:1.3;
  }
  .guide-lead-steps li{margin:0 0 .2rem;}
  .guide-211{margin:0 0 .4rem;font-size:1rem;}
  .guide-co-warn{
    margin:0 0 .45rem;
    padding:.5rem .65rem;
    font-size:.9rem;
    line-height:1.35;
  }
  .guide-first-screen .article-hero{margin:.1rem 0 0;}
  .guide-first-screen .guide-first-hero img,
  .guide-first-screen .article-hero img{
    width:100%;
    height:120px;
    max-height:120px;
    object-fit:cover;
  }
  .guide-first-screen .article-hero figcaption{
    font-size:.68rem;
    line-height:1.25;
    margin:.2rem 0 0;
  }
  .guide-first-screen .article-hero .ds-credit{display:none;}
  .guide-first-cta{margin:.45rem 0 0;}
}


/* Text this page to family: full-width SMS control, with a compact Copy link fallback. */
.share-to-family{
  margin:.55rem 0 .65rem;
}
.share-to-family-sms{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  padding:.45rem .9rem;
  border:1px solid #d6d6d6;
  background:#161616;
  color:#f3f4f6 !important;
  text-decoration:none;
  font-weight:700;
  font-size:1rem;
  line-height:1.25;
  text-align:center;
  border-radius:8px;
  box-sizing:border-box;
}
.share-to-family-sms:hover,
.share-to-family-sms:focus-visible{
  outline:2px solid #f3f4f6;
  outline-offset:2px;
}
.share-to-family-copy{
  display:inline-flex;
  align-items:center;
  margin:.3rem 0 0;
  padding:0;
  min-height:32px;
  border:0;
  background:none;
  color:inherit;
  font:inherit;
  font-size:.92rem;
  text-decoration:underline;
  text-underline-offset:.16em;
  cursor:pointer;
}
@media (min-width:700px){
  .share-to-family{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.75rem;
  }
  .share-to-family-sms{flex:1 1 auto;width:auto}
  .share-to-family-copy{margin:0}
}
@media (max-width:400px){
  .share-to-family{margin:.4rem 0 .5rem}
  .share-to-family-sms{min-height:44px;font-size:.98rem}
}
@media print{
  .share-to-family{display:none !important}
}

/* Keep Prep/next-step boxes from inheriting article h2 border and size */
.ds-v6 main .article-page .note-prep h2,
.ds-v6 .article-page .note-prep h2{
  margin:0 0 .55rem;
  padding:0;
  border:0;
  font-size:.95rem;
  font-weight:650;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#e8ebee;
  line-height:1.3;
}

/* Nov 27 growth: Copy link matches Text this page to family; beats .ds-v6 main button */
.ds-v6 main button.share-to-family-copy,
.ds-v6 main .share-to-family-copy{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  margin:.3rem 0 0;
  padding:.45rem .9rem;
  border:1px solid #d6d6d6;
  border-radius:8px;
  background:#161616;
  color:#f3f4f6 !important;
  text-decoration:none;
  font-weight:700;
  font-size:1rem;
  letter-spacing:normal;
  text-transform:none;
  line-height:1.25;
  text-align:center;
  box-sizing:border-box;
  cursor:pointer;
}
.ds-v6 main button.share-to-family-copy:hover,
.ds-v6 main button.share-to-family-copy:focus-visible,
.ds-v6 main .share-to-family-copy:hover,
.ds-v6 main .share-to-family-copy:focus-visible{
  outline:2px solid #f3f4f6;
  outline-offset:2px;
}
@media (min-width:700px){
  .ds-v6 main button.share-to-family-copy,
  .ds-v6 main .share-to-family-copy{
    width:auto;
    margin:0;
  }
}
.guide-first-screen .guide-first-cta-btn{
  width:100%;
  box-sizing:border-box;
}
.guide-checked{
  margin:1.4rem 0 0;
  font-size:.88rem;
  line-height:1.4;
  color:var(--mu,#8a8a8a);
  text-transform:none;
  letter-spacing:normal;
  max-width:40rem;
}
.article-page .amazon-disclosure{
  font-size:.8rem;
  line-height:1.4;
  color:var(--mu,#8a8a8a);
  margin:0 0 .8rem;
}


/* Nov 27 fit: keep picture + kit-list CTA on the 375px first screen (kit only) */
@media (max-width:400px){
  .article-page:has(.winter-kit-first) .article-crumbs{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-height:1.4em;
  }
  .winter-kit-first .share-to-family{
    display:flex;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:.45rem;
    margin:.3rem 0 .35rem;
  }
  .winter-kit-first .share-to-family-sms,
  .ds-v6 main .winter-kit-first button.share-to-family-copy,
  .ds-v6 main .winter-kit-first .share-to-family-copy{
    flex:1 1 0;
    width:auto;
    margin:0;
    min-height:44px;
  }
  .winter-kit-first .article-hero figcaption{
    margin:.15rem 0 0;
    font-size:.65rem;
    line-height:1.2;
    max-height:1.2em;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .winter-kit-first .article-hero .ds-hero-cap{display:none;}
  .winter-kit-first .guide-first-cta{margin:0;}
  .winter-kit-first .guide-first-cta-btn{min-height:44px;padding:.4rem 1rem;}
}
