/* Desktop front page: use the desktop. Keep the chronological wire broad without turning it into a wall of text. */
.continuous-home .market-shell,
.continuous-home .site-header,
.continuous-main {
  width: min(92vw, 1960px);
  max-width: none;
  margin-inline: auto;
}

.continuous-home .site-header,
.continuous-main {
  padding-inline: 24px;
}

.continuous-feed {
  padding-top: 13px;
}

.story-stream {
  border-bottom: 1px solid var(--ink);
}

.continuous-story {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, .85fr);
  gap: clamp(28px, 3vw, 56px);
  align-items: start;
  min-width: 0;
  padding: 12px 0 11px;
  border-bottom: 1px solid var(--line);
}

.continuous-story-copy {
  min-width: 0;
}

/* If there is no finished desk note, let the headline use the whole row. A random empty right
   rail was what made the wide layout look broken when only an occasional RSS deck survived. */
.continuous-story:not(:has(.continuous-deck)) .continuous-story-copy {
  grid-column: 1 / -1;
}

.continuous-headline {
  max-width: 100%;
  font-size: 22.5px;
  line-height: 1.17;
  letter-spacing: -.006em;
}

.continuous-deck {
  max-width: 68ch;
  margin: 1px 0 0;
  padding-left: 16px;
  color: #494949;
  border-left: 2px solid #d7d7d7;
  font: 16.875px/1.43 Arial, Helvetica, sans-serif;
}

.continuous-meta {
  margin-top: 5px;
}

.continuous-home .brand {
  font-size: clamp(54px, 4.6vw, 92px);
}

.continuous-home .refresh-button.has-new-headlines {
  color: var(--red);
  font-weight: 900;
}

/* On very wide monitors, preserve useful line lengths while still filling the page. */
@media (min-width: 1800px) {
  .continuous-story {
    grid-template-columns: minmax(0, 2.15fr) minmax(380px, .9fr);
  }

  .continuous-deck {
    max-width: 72ch;
  }
}

@media (max-width: 1100px) {
  .continuous-home .market-shell,
  .continuous-home .site-header,
  .continuous-main {
    width: min(94vw, 1040px);
  }

  .continuous-story {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
  }
}

@media (max-width: 980px) {
  .continuous-home .market-shell,
  .continuous-home .site-header,
  .continuous-main {
    width: 100%;
    max-width: 940px;
  }

  .continuous-story {
    display: block;
  }

  .continuous-deck {
    max-width: 70ch;
    margin-top: 7px;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .continuous-home .site-header,
  .continuous-main {
    padding-inline: 16px;
  }

  .continuous-headline {
    font-size: 18px;
  }

  .continuous-deck {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
  }
}
