.srt-article-main {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

.srt-article-header :is(a, button):focus-visible {
  outline: 2px solid #4154f1;
  outline-offset: 4px;
}

.blog-srt {
  --srt-ink: #172c50;
  --srt-muted: #485a73;
  --srt-border: #d5e0ee;
  --srt-teal: #197868;
  max-width: 55rem;
}

.blog .blog-srt > header,
.blog .blog-srt .entry-content {
  max-width: 45rem;
  margin-inline: auto;
}

.blog .blog-srt .entry-content h3 {
  margin: 1.6rem 0 .5rem;
  color: var(--srt-ink);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  line-height: 1.4;
}

.blog-srt figure {
  margin: 1.6rem 0;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--srt-border);
  border-radius: 1rem;
  background: #f6f9fc;
  color: var(--srt-ink);
}

.blog-srt figcaption {
  margin-bottom: 1.1rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
}

.blog .blog-srt .entry-content figure > p,
.blog .blog-srt .entry-content .srt-source-note {
  margin: .9rem 0 0;
  color: var(--srt-muted);
  font-size: .95rem;
  line-height: 1.6;
}

.blog-srt .srt-timeline {
  background: radial-gradient(ellipse at 100% 0%, #243e70, transparent 64%), #102142;
  border-color: #263e64;
  color: #f4f8ff;
}

.srt-timeline-art { display: block; width: 100%; height: auto; }
.srt-rail { fill: none; stroke: #586d91; }
.srt-tick { fill: none; stroke: #364f75; }
.srt-cue-source { fill: #8ba0f8; }
.srt-cue-target { fill: #65cbb8; }
.srt-timeline-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .75rem; font-size: .85rem; }
.srt-timeline-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.srt-timeline-legend span::before { width: .65rem; height: .65rem; border-radius: .15rem; background: #8ba0f8; content: ""; }
.srt-timeline-legend span:nth-child(2)::before { background: #65cbb8; }

.srt-cue-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.srt-cue-pair > div { min-width: 0; border: 1px solid var(--srt-border); border-radius: .65rem; background: #fff; overflow: hidden; }
.srt-cue-pair strong { display: block; padding: .6rem .7rem; border-bottom: 1px solid var(--srt-border); background: #edf2ff; font-size: .85rem; }
.srt-cue-pair > div:nth-child(2) strong { background: #e7f4ef; }
.srt-cue-pair pre {
  margin: 0;
  padding: .75rem .4rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--srt-ink);
  font-size: clamp(.75rem, 1.7vw, .85rem);
  line-height: 1.65;
}
.srt-cue-pair code { font-family: Consolas, "Liberation Mono", monospace; color: inherit; font-size: inherit; }

.blog .blog-srt .entry-content .srt-reading-example blockquote {
  margin: .8rem 0;
  padding: .85rem 1rem;
  border: 0;
  border-inline-start: 3px solid #8194af;
  border-radius: 0 .5rem .5rem 0;
  background: #fff;
  text-align: start;
}
.blog .blog-srt .entry-content .srt-reading-example blockquote:nth-of-type(2) { border-inline-start-color: var(--srt-teal); background: #ebf6f2; }
.blog .blog-srt .entry-content .srt-reading-example blockquote::after { content: none; }
.srt-reading-example blockquote strong { color: var(--srt-muted); font-size: .85rem; }
.blog .blog-srt .entry-content .srt-reading-example blockquote p { margin: .4rem 0 0; font-size: 1.05rem; font-style: normal; line-height: 1.6; }

.srt-speed { display: grid; gap: .75rem; margin-top: 1.2rem; }
.srt-speed-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 5rem; align-items: center; gap: .6rem; font-size: .88rem; font-variant-numeric: tabular-nums; }
.srt-speed-row svg { display: block; width: 100%; height: .75rem; }
.srt-speed-row strong { text-align: end; }
.srt-speed-track { fill: #dce5ee; }
.srt-speed-bar { fill: #6d83a3; }
.srt-speed-row--edited .srt-speed-bar { fill: var(--srt-teal); }

.srt-handoff ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.srt-handoff li { padding-top: .7rem; border-top: 2px solid #83b9af; }
.srt-handoff strong, .srt-handoff span { display: block; }
.srt-handoff strong { color: var(--srt-ink); font-size: 1rem; }
.srt-handoff span { margin-top: .3rem; color: var(--srt-muted); font-size: .93rem; line-height: 1.55; }
.srt-comparison table { min-width: 40rem; line-height: 1.55; }
.srt-comparison th[scope="row"] { color: var(--srt-ink); }
.srt-comparison .srt-mobile-label { display: none; }

@media (max-width: 700px) {
  .srt-comparison :is(table, caption, tbody, tbody tr) { display: block; min-width: 0; }
  .srt-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .srt-comparison tbody :is(th, td) { display: block; padding: .45rem .9rem; border: 0; }
  .srt-comparison tbody th { padding-block: .8rem; background: #edf2f8; }
  .srt-comparison tbody tr td:last-child { padding-bottom: 1rem; }
  .srt-comparison .srt-mobile-label { display: block; margin-bottom: .1rem; color: var(--srt-teal); font-size: .8rem; font-weight: 700; }
}

@media (max-width: 575px) {
  .srt-cue-pair, .srt-handoff ol { grid-template-columns: minmax(0, 1fr); }
  .srt-speed-row { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .6rem; }
  .srt-speed-row svg { grid-column: 1 / -1; grid-row: 2; }
}
