/* ==========================================================
   v31 (FINAL_JB_Site8.psb + client screenshots)
   Homepage (html.no-top-nav):
     1. Strapline "WHAT YOU DID NOT SEE IN THE FILM" (smaller, sits on the artwork)
     2. WARNING band replaces the Trump Int'l Golf Club / Lab Stripping band
     3. Four videos in ONE row (replaces the 2-video block + its headline)
   Shared with cancer-study.html:
     4. New Pfizer x Theranos + Avastin artwork, new sales text
   Design canvas: 1366px wide.
   ========================================================== */

/* ---------- 1. Strapline: smaller, overlapping the top of the artwork ---------- */
html.no-top-nav .ryan-cancer .as-seen-on { overflow: hidden; aspect-ratio: 1366 / 230; }
html.no-top-nav .ryan-cancer .as-seen-title {
  position: absolute !important; z-index: 3; left: 50%; top: 1.15vw; transform: translateX(-50%);
  width: min(1063px, calc(100% - 32px)) !important;
}
html.no-top-nav .ryan-cancer .as-seen-title > span {
  font-size: clamp(11px, 1.265vw, 18px) !important; font-weight: 400 !important;
  letter-spacing: .03em !important; line-height: 1.2 !important;
}
html.no-top-nav .ryan-cancer .as-seen-on .ycse-wrap { margin-top: 0 !important; }
html.no-top-nav .ryan-cancer .avastin-intro { padding-top: 1.39vw !important; }
/* PSB: "You Can See / Everything" sit 6px higher than in v29 */
html.no-top-nav .ryan-cancer .ycse-t1 { top: 25.48% !important; }
html.no-top-nav .ryan-cancer .ycse-t2 { top: 51.71% !important; }
html.no-top-nav .ryan-cancer .as-seen-on + .jb-hr { margin-top: 0 !important; }

/* ---------- 2. Warning band + lab background shared with the videos ---------- */
html.no-top-nav .ryan-cancer .lab-stage {
  box-sizing: border-box; position: relative; left: 50%; transform: translateX(-50%); width: 100vw;
  /* PSB: lab image starts 54px above the warning band; it fades out behind the video row */
  background: #000 url("../images/cancer-study/warning-lab-bg.jpg") center -3.95vw / 100% auto no-repeat;
  font-family: "Inter", Arial, Helvetica, sans-serif; text-align: center;
}
html.no-top-nav .ryan-cancer .warning-band {
  box-sizing: border-box; padding: 2.2vw 16px 2.05vw; color: #fff;
}
html.no-top-nav .ryan-cancer .warn-title {
  display: flex; align-items: center; justify-content: center; gap: 1.2vw;
  margin: 0 0 1.65vw; color: #fff; font-weight: 900; font-size: clamp(20px, 2.34vw, 34px); line-height: 1; letter-spacing: .01em;
}
html.no-top-nav .ryan-cancer .warn-ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; filter: drop-shadow(0 0 .35em rgba(246,166,9,.35)); }
html.no-top-nav .ryan-cancer .warn-text {
  margin: 0 auto; max-width: 1100px; color: #fff; font-weight: 300;
  font-size: clamp(15px, 1.86vw, 26px); line-height: 1.5; letter-spacing: .005em;
}
html.no-top-nav .ryan-cancer .warn-text .pk { color: #f81e87; font-weight: 700; }
html.no-top-nav .ryan-cancer .warn-ab { display: inline-block; height: 1.55em; width: auto; vertical-align: -.42em; margin: 0 .12em; }
html.no-top-nav .ryan-cancer .lab-stage > .jb-hr { margin-top: 0; }

/* ---------- 3. Four videos, one row ---------- */
html.no-top-nav .ryan-cancer .lab-stage .watch-trial { width: min(1318px, calc(100vw - 20px)); margin: 2.3vw 0 0; padding-bottom: 1.15vw; left: 50%; }
html.no-top-nav .ryan-cancer .lab-stage .videos { grid-template-columns: repeat(4, 1fr); gap: .88vw; align-items: start; }
html.no-top-nav .ryan-cancer .lab-stage .v-meta { padding-top: .75vw !important; }
html.no-top-nav .ryan-cancer .lab-stage .v-title { font-size: clamp(14px, 1.32vw, 19px); line-height: 1.08; letter-spacing: 0; }
html.no-top-nav .ryan-cancer .lab-stage .v-dur { margin-top: .2vw; font-size: clamp(12px, .93vw, 14px); line-height: 1.1; letter-spacing: 0; }
html.no-top-nav .ryan-cancer .lab-stage .v-plat { width: 5.7vw; min-width: 66px; max-width: none; margin-top: .45vw; }
html.no-top-nav .ryan-cancer .lab-stage + .jb-hr { margin-top: 0; }
html.no-top-nav .ryan-cancer .lab-stage + .jb-hr + .avastin-cover { margin-top: 2.27vw; }

/* ---------- 4. Avastin artwork + sales (homepage AND cancer-study.html) ---------- */
.ryan-cancer .avastin-cover { width: min(1070px, calc(100vw - 24px)); }
.ryan-cancer .avastin-cover + .avastin-sales { margin-top: -0.6vw; padding-bottom: clamp(24px, 2.5vw, 34px); }
.ryan-cancer .avastin-sales .s-small { font-size: clamp(18px, 3.11vw, 42.5px); line-height: 1; word-spacing: .12em; }
.ryan-cancer .avastin-sales .s-small:first-child { word-spacing: .45em; }
.ryan-cancer .avastin-sales .s-big { font-size: clamp(28px, 7.2vw, 98px); margin: .3vw 0 .35vw; }

/* ---------- Tablets: 2 x 2 videos ---------- */
@media (max-width: 900px) {
  html.no-top-nav .ryan-cancer .lab-stage .watch-trial { width: calc(100vw - 32px); margin-top: 22px; padding-bottom: 22px; }
  html.no-top-nav .ryan-cancer .lab-stage .videos { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  html.no-top-nav .ryan-cancer .lab-stage .v-meta { padding-top: 12px !important; }
  html.no-top-nav .ryan-cancer .lab-stage .v-title { font-size: clamp(16px, 2.6vw, 21px); }
  html.no-top-nav .ryan-cancer .lab-stage .v-dur { font-size: clamp(13px, 1.9vw, 16px); margin-top: 3px; }
  html.no-top-nav .ryan-cancer .lab-stage .v-plat { width: 78px; margin-top: 10px; }
  html.no-top-nav .ryan-cancer .lab-stage { background: #000 linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 230px, #000 330px) no-repeat; background-image: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 230px, #000 330px), url("../images/cancer-study/warning-lab-bg.jpg"); background-size: 100% 100%, auto 520px; background-position: 0 0, center top; background-repeat: no-repeat; }
  html.no-top-nav .ryan-cancer .warning-band { padding: 26px 18px 22px; }
  html.no-top-nav .ryan-cancer .warn-title { margin-bottom: 18px; gap: 14px; }
  html.no-top-nav .ryan-cancer .warn-text { max-width: 640px; }
  .ryan-cancer .avastin-cover + .avastin-sales { margin-top: -6px; }
}

/* ---------- Phones: videos stacked in the new order ---------- */
@media (max-width: 700px) {
  /* undo the v30 phone re-ordering of the old band/videos */
  html.no-top-nav .ryan-cancer header.avastin-intro { display: block !important; }
  html.no-top-nav .ryan-cancer header.avastin-intro .watch-trial { display: block !important; }
  html.no-top-nav .ryan-cancer header.avastin-intro .watch-trial .videos { display: grid !important; }
  html.no-top-nav .ryan-cancer header.avastin-intro .video-card { margin: 0 !important; order: 0 !important; }

  html.no-top-nav .ryan-cancer .as-seen-on { aspect-ratio: auto; }
  /* strapline back in the normal flow above the artwork */
  html.no-top-nav .ryan-cancer .as-seen-title {
    position: relative !important; left: auto; top: auto; transform: none; margin: 0 auto !important; padding-top: 4px;
  }
  html.no-top-nav .ryan-cancer .as-seen-title > span { font-size: clamp(10px, 3vw, 13px) !important; letter-spacing: .02em !important; }
  html.no-top-nav .ryan-cancer .as-seen-on .ycse-wrap { margin-top: 8px !important; }

  html.no-top-nav .ryan-cancer .lab-stage { background-image: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 300px, #000 400px), url("../images/cancer-study/warning-lab-bg.jpg"); background-size: 100% 100%, auto 440px; background-position: 0 0, 60% top; }
  html.no-top-nav .ryan-cancer .warning-band { padding: 22px 16px 20px; }
  html.no-top-nav .ryan-cancer .warn-title { font-size: 22px; gap: 10px; margin-bottom: 14px; }
  html.no-top-nav .ryan-cancer .warn-text { font-size: 16px; line-height: 1.5; max-width: 520px; }
  html.no-top-nav .ryan-cancer .warn-text .br-d { display: none; }
  html.no-top-nav .ryan-cancer .lab-stage .videos { grid-template-columns: 1fr; gap: 30px; }
  html.no-top-nav .ryan-cancer .lab-stage .watch-trial { margin-top: 20px; padding-bottom: 26px; }
  html.no-top-nav .ryan-cancer .lab-stage .v-title { font-size: 20px; }
  html.no-top-nav .ryan-cancer .lab-stage .v-dur { font-size: 15px; }
  html.no-top-nav .ryan-cancer .lab-stage + .jb-hr + .avastin-cover { margin-top: 14px; }
  .ryan-cancer .avastin-sales .s-small { font-size: clamp(17px, 5.4vw, 28px); line-height: 1.1; }
  .ryan-cancer .avastin-sales .s-big { font-size: clamp(28px, 9.1vw, 60px); margin: 6px 0 8px; }
  .ryan-cancer .avastin-sales .s-last { text-wrap: balance; }
}
