/* GlucoJaro / HW / ML02 — CNN Health skin over the H&W VSL kit
   (assets/main/css/vsl-kit.css, loaded first). The kit runs the stage, the
   pinned player, the comments and the CTA; this file is only the look. */

:root {
  /* Inter is the skin's face (Google Fonts, the weights below);
     comments use the Facebook stack. */
  --font-display: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-fb: Helvetica, Arial, sans-serif;

  /* 4:5 video, edge to edge on any phone from the start (the gutter is 0
     and the cap sits above phone widths); at the pitch it gives back
     enough height for button + stock line on a short screen */
  --vsl-player-w: 480px;
  --vsl-pitch-reserve: 230px;
  --vsl-top-h: 46px;
  --vsl-headline: 28px;
  /* phones: sized to the width so the headline holds 4 lines at most,
     from 320px up */
  --vsl-headline-m: clamp(15px, 4.6vw, 20px);
  --vsl-headline-stage-m: clamp(14px, 4.3vw, 19px);
  --vsl-headline-pitch-m: clamp(14px, 4.2vw, 18px);

  --ink: #0f0f0f;
  --red: #cc0000;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #000;
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--vsl-maxw);
  margin: 0 auto;
  padding: 0 12px;
}

/* ---- CNN Health top bar ------------------------------------------------- */

.cnn {
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.cnn__in {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--vsl-maxw);
  height: var(--vsl-top-h);
  margin: 0 auto;
  padding: 0 12px;
  color: var(--ink);
}

.cnn__burger {
  font-size: 22px;
  line-height: 1;
}

.cnn__logo {
  width: 46px;
  height: 22px;
}

.cnn__section {
  font-size: 20px;
  font-weight: 800;
}

.cnn__search {
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
}

.cnn__signin {
  padding: 4px 8px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* ---- Headline ----------------------------------------------------------- */

.headline {
  padding: 12px 0 16px;
  text-align: center;
}

.headline h1 {
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

.headline strong {
  font-weight: 900;
}

.headline em {
  color: var(--red);
  font-style: normal;
}

/* ---- Player ------------------------------------------------------------- */

.vsl-video__gutter {
  padding: 0;
}

.vsl-video__box {
  border-radius: 0;
}

/* ---- Comments (Facebook look) ------------------------------------------- */

/* The metrics here are copied from the real Facebook comment UI on purpose;
   they don't follow this page's spacing rhythm. */
.comments {
  padding: 32px 0 24px;
}

.fb {
  padding: 8px 8px 16px;
  border-radius: 12px;
  font-family: var(--font-fb);
}

.fb__count {
  padding: 8px 8px 20px;
  border-bottom: 1px solid #e9ebee;
  font-size: 14px;
  font-weight: 600;
}

.fb__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 8px 0;
}

.fb__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.fb__col {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f0f2f5;
}

.fb__name {
  color: #385898;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.358;
}

.fb__text {
  margin: 4px 0 6px;
  color: #1c1e21;
  font-size: 14px;
  line-height: 19px;
  overflow-wrap: break-word;
}

.fb__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4267b2;
  font-size: 12px;
  line-height: 16px;
}

.fb__dot {
  color: #90949c;
}

.fb__time {
  color: #90949c;
}

.fb__likes {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px 2px 4px;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  color: #1c1e21;
}

.fb__likes img {
  width: 14px;
  height: 14px;
}

.fb__source {
  margin-top: 16px;
  color: #969696;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
