/* Topic illustrations are distinct from the real app captures in each guide. */
.topic-cover { background: #f7f5ee; padding: 0; }
.post-cover.topic-cover, .journal-card .topic-cover, .featured-post .topic-cover, .article-related .journal-card .topic-cover { min-height: 0; }
.topic-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
.featured-post .topic-cover { align-self: center; }
.article-cover.topic-cover { max-width: 820px; overflow: hidden; margin: 0 auto 48px; border: 1px solid #e9e2da; border-radius: 16px; }
.article-screenshot { margin: 32px 0 38px; }
.screenshot-open { display: flex; justify-content: center; min-width: 0; }
.screenshot-open img { display: block; width: auto; max-width: 100%; height: auto; }
.screenshot-app .screenshot-open img { width: 330px; }
.screenshot-app.krisp .screenshot-open img { width: 290px; }
.article-screenshot figcaption { max-width: 590px; margin: 17px auto 0; color: #756d78; font-size: 13px; line-height: 1.7; }
.article-screenshot figcaption small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.65; color: #857c88; }
.article-screenshot figcaption small a { color: inherit; text-decoration-color: #c8bec9; }
.screenshot-wide figcaption { margin-inline: 0; }
.screenshot-wide .screenshot-open { justify-content: flex-start; }
.article-body .article-audio-example { margin-block: 34px; }
.article-audio-example .audio-rail { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; margin-top: 20px; padding: 22px; border-radius: 12px; color: #e8e8ed; background: #252627; }
.article-audio-example .audio-rail h3 { grid-column: 1/-1; margin: 0; color: #c7c8cb; font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: .1px; }
.article-audio-example .rail-play { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 50%; color: #18170f; background: #ffbe30; cursor: pointer; }
.article-audio-example .rail-play .icon { width: 22px; height: 22px; }
.article-audio-example .rail-play:disabled { opacity: .6; cursor: wait; }
.article-audio-example .rail-center { min-width: 0; align-self: center; }
.article-audio-example .demo-waveform { display: none; }
.article-audio-example .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.article-audio-example .rail-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 0; color: #b9bcc1; font-size: 11px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.article-audio-example #demo-current { text-align: left; }
.article-audio-example #demo-duration { text-align: right; }
.article-audio-example #demo-seek { --seek-progress: 0%; grid-column: 1/-1; appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; height: 4px; padding: 0; margin: 7px 0; border: 0; border-radius: 8px; background: linear-gradient(to right,#ffc342 var(--seek-progress),#53565c var(--seek-progress)); cursor: pointer; }
.article-audio-example #demo-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 11px; height: 11px; background: #ffc342; border: 0; border-radius: 50%; }
.article-audio-example #demo-seek::-moz-range-thumb { width: 11px; height: 11px; background: #ffc342; border: 0; border-radius: 50%; }
.article-audio-example .rail-mode { grid-column: 1/-1; display: flex; gap: 3px; padding: 3px; border: 1px solid #62666c; border-radius: 8px; }
.article-audio-example .rail-mode button { flex: 1; min-width: 0; min-height: 44px; padding: 9px 7px; border: 0; border-radius: 5px; background: transparent; color: #c8cbd1; font-size: 12px; font-weight: 500; cursor: pointer; }
.article-audio-example .rail-mode button[aria-pressed="true"] { color: #19180e; background: #ffbe30; font-weight: 650; }
.article-audio-example .audio-rail .demo-message { grid-column: 1/-1; margin: 0; color: #ffdc9a; font-size: 12px; }
.article-audio-example .demo-message:empty { display: none; }
.article-body .article-audio-example .audio-method { font-size: 12px; line-height: 1.7; color: #8a7e8e; margin-top: 12px; }
.audio-rail button:focus-visible, .audio-rail input:focus-visible, .screenshot-open:focus-visible { outline: 3px solid #b28b37; outline-offset: 4px; }
.article-body .article-audio-example noscript p { font-size: 13px; }
@media (max-width: 699px) {
  .featured-post .topic-cover { order: -1; }
  .article-cover.topic-cover { margin-bottom: 30px; border-radius: 12px; }
  .article-screenshot { margin-block: 27px 32px; }
  .screenshot-app .screenshot-open img { width: min(310px, 100%); }
  .article-audio-example .audio-rail { padding: 19px; gap: 15px; }
}
