@font-face {
  font-family: Poppins;
  src: url("fonts/Poppins-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("fonts/Poppins-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --stream-paper: #f5f4f2;
  --stream-tint: #efeae3;
  --stream-text: #24221f;
  --stream-red: #e5291e;
  --stream-link: #285a95;
  --stream-rule: #c9c4bb;
  --stream-width: 1152px;
}

* { box-sizing: border-box; }
html { background: var(--stream-paper); }
body { margin: 0; color: var(--stream-text); font: 16px/1.6 Poppins, Helvetica, Arial, sans-serif; }
a { color: var(--stream-link); text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid var(--stream-link); outline-offset: 3px; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 4; left: 12px; top: 8px; padding: 8px 12px; background: var(--stream-paper); }

.stream-header, .stream-main { width: min(var(--stream-width), calc(100% - 64px)); margin-inline: auto; }
.stream-header {
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--stream-rule);
}
.stream-header h1 { margin: 0; color: var(--stream-red); font-size: clamp(36px, 5vw, 66px); font-weight: 500; line-height: 1; }
.stream-brand { display: grid; place-items: center; min-height: 44px; }
.stream-brand img { display: block; width: clamp(125px, 17vw, 200px); height: auto; }

.stream-post {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr);
  column-gap: clamp(24px, 4vw, 56px);
  align-items: start;
  border-bottom: 1px solid var(--stream-rule);
  padding-block: 36px;
  scroll-margin-top: 20px;
}
.stream-media { background: var(--stream-tint); }
.stream-figure { margin: 0; position: relative; }
.stream-figure :is(img, video) { display: block; width: 100%; height: auto; max-height: 78svh; object-fit: contain; }
.stream-video-link {
  position: absolute;
  bottom: 14px;
  left: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 7px 12px;
  color: #fff;
  background: #254876;
  font-size: 13px;
}
.stream-video-link:focus-visible { outline-color: #fff; outline-offset: -4px; }

.stream-info { min-width: 0; overflow-wrap: anywhere; }
.stream-info time { display: block; font-size: 13px; color: var(--stream-link); }
.stream-draft { display: inline-block; margin: 4px 0; background: #ffeeb8; color: #24221f; padding: 2px 6px; font-size: 12px; }
.stream-info h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.22;
}
.stream-caption { margin: 12px 0 0; max-width: 47ch; }
.stream-caption p { margin: 0 0 12px; white-space: pre-line; }
.stream-source { display: inline-flex; align-items: center; min-height: 44px; margin-top: 5px; font-size: 13px; }
.stream-album { grid-column: 1 / -1; margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stream-main summary { width: fit-content; min-height: 44px; padding-block: 11px; color: var(--stream-link); cursor: pointer; font-size: 14px; }
.stream-album .stream-figure { background: var(--stream-tint); }
.stream-more { padding-block: 16px; overflow-anchor: none; }
.stream-more:empty { padding: 0; }

@media (max-width: 740px) {
  .stream-header, .stream-main { width: calc(100% - 32px); }
  .stream-header { min-height: 76px; }
  .stream-header h1 { font-size: clamp(27px, 8vw, 36px); }
  .stream-post { display: block; padding-block: 18px 24px; }
  .stream-info { padding-top: 14px; }
  .stream-album { grid-template-columns: minmax(0, 1fr); }
}
