/* Seven Sky site, the samples page: two data stories in the offers page's frame. Uses site.css, offers.css and plain.css;
   only what is new is here. No rounded corners, gold kept to labels and rules, as on the other pages. */
.sample .offer-head { gap: 18px; }
.sample .offer-line { color: var(--cream); font-size: 20px; line-height: 1.45; }
.sample .offer-head .note { max-width: 44ch; }
.sample .offer-body { gap: 52px; }
.part { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.part > .note { margin-top: -6px; }

/* The picture and the film. Side by side on a wide screen: a square beside a 9 by 16 film has the same height
   when the columns are 16 to 9. Stacked below that, with the film held to a phone's width. */
.media { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.media figure { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.media img, .media video { display: block; width: 100%; height: auto; background: #f6f3ec; }
.media .film { max-width: 340px; }
.media figcaption { font-size: 14px; line-height: 1.5; color: var(--mist); }
.media figcaption a { color: var(--mist); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1280px) {
  .media { grid-template-columns: minmax(0, 16fr) minmax(0, 9fr); gap: 24px; }
  .media .film { max-width: none; }
  /* The question and its answer stay in view while the kit scrolls past. */
  .sample .offer-head { position: sticky; top: 32px; }
}

/* Tablet: the question column of the plain frame is too narrow for a long question, so the sample runs in one column. */
@media (max-width: 1129px) {
  .sample { grid-template-columns: minmax(0, 1fr); }
  .sample .offer-head, .sample .offer-body { max-width: 720px; }
  .sample .offer-head .note { max-width: none; }
}

/* The captions: one block per network, closed until asked for. A click on a caption selects all of it. */
.caps { border-top: 1px solid var(--band-3); }
.caps details { border-bottom: 1px solid var(--band-3); }
.caps summary { min-height: 56px; padding: 16px 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--cream); }
.caps summary:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.caps summary span { margin-left: 10px; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--mist); white-space: nowrap; }
.cap { margin: 2px 0 24px; padding: 22px 24px; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.cap::selection { background: var(--band-6); color: var(--ink); }

.sample .offer-body li { overflow-wrap: anywhere; }
.sample .offer-body li a { text-decoration: underline; text-underline-offset: 4px; }

@media screen and (max-width: 700px) {
  .sample .offer-line { font-size: 18px; }
  .sample .offer-body { gap: 44px; }
  .media .film { max-width: 300px; }
  .caps summary { font-size: 18px; }
  .cap { padding: 18px 16px; }
}
@media (forced-colors: active) { .cap { border: 1px solid CanvasText; } }
@media print {
  .sample .offer-line { color: var(--ink); }
  .sample .offer-head { position: static; }
  .media video { display: none; }
  .media figcaption, .caps summary span { color: var(--espresso); }
  .media figcaption a { color: var(--navy); }
  .caps, .caps details { border-color: var(--gold-deep); }
  .caps summary { color: var(--navy); }
  .cap { background: none; padding: 0; }
}
