/* The blog's layout and parts, the same on every site that runs the blog: the feed as one
   mosaic of tiles under its tabs, short videos and heading, topics and search, a skill as
   one card and in its layer, the video window and the pages of a skill, an ability and a
   video. A site gives its look through the --blog-* values below (axvii: blog.css). */

:root {
    --blog-font: inherit;
    --blog-text: #f6f4ef;
    --blog-text-soft: #cfd5de;
    --blog-text-muted: rgba(232, 229, 222, 0.68);
    --blog-text-faint: rgba(243, 239, 231, 0.44);
    --blog-panel: rgba(16, 21, 30, 0.88);
    --blog-surface: #0f141c;
    --blog-raised: #1c2531;
    --blog-raised-hover: #243042;
    --blog-hover: rgba(255, 255, 255, 0.045);
    --blog-accent: #c5cfdb;
    --blog-accent-strong: #e0e6ee;
    --blog-on-accent: #0b0d14;
    --blog-warm: #f1b96d;
    --blog-warm-line: rgba(241, 185, 109, 0.72);
    --blog-warm-soft: rgba(241, 185, 109, 0.45);
    --blog-warm-tint: rgba(241, 185, 109, 0.12);
    --blog-warm-glow: rgba(241, 185, 109, 0.24);
    --blog-shade: 5, 6, 10;
    --blog-radius: 1.125rem;
    --blog-radius-tile: 0.875rem;
    --blog-radius-small: 0.625rem;
    --blog-width: 81.5rem;
    /* The side columns are as wide as the usual banners of their places, 240 and 300 pixels,
       so a 240×400 and a 300×600 banner fill their advertising places whole. */
    --blog-start: 15rem;
    --blog-end: 18.75rem;
    --blog-sticky: 6.75rem;
    --blog-gutter: 1rem;
    --blog-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* The layout. The middle column's parts stand in the layout's own rows, so on a narrow
   screen the topics and search come between the feed's heading and its mosaic. */
.blog-hub { position: relative; z-index: 1; width: min(100%, var(--blog-width)); margin-inline: auto; padding-block-end: 6rem; color: var(--blog-text); }
.blog-hub__layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "shorts" "head" "start" "feed" "end"; align-items: start; }
.blog-hub__main { display: contents; }
.blog-hub__main > * { grid-area: feed; min-width: 0; }
.blog-hub__main > .blog-tabs { grid-area: tabs; }
.blog-hub__main > .blog-shorts { grid-area: shorts; }
.blog-hub__main > .blog-head { grid-area: head; }
.blog-hub__start { grid-area: start; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.blog-hub__end { grid-area: end; display: none; align-content: start; gap: 1rem; min-width: 0; }
.blog-hub__sticky { position: sticky; top: var(--blog-sticky); }
/* A page of a skill, an ability or a video opens on its content; topics stay with the feed.
   A course shows its advertising first on a narrow screen and its lessons after its content. */
.blog-hub--page .blog-hub__start { display: none; }
.blog-hub--course .blog-hub__start { display: grid; margin-block-end: 1.25rem; }
.blog-hub--course .blog-hub__nav { display: none; }
.blog-hub--course .blog-hub__end { display: grid; margin-block-start: 2.5rem; }

@media (min-width: 62rem) {
    .blog-hub__layout { grid-template-columns: minmax(0, 1fr) var(--blog-end); grid-template-areas: "tabs end" "shorts end" "head end" "start end" "feed end"; grid-template-rows: auto auto auto auto 1fr; column-gap: 2rem; }
    .blog-hub__end { display: grid; align-self: stretch; }
}

@media (min-width: 75rem) {
    .blog-hub__layout { grid-template-columns: var(--blog-start) minmax(0, 1fr) var(--blog-end); grid-template-areas: "start tabs end" "start shorts end" "start head end" "start feed end"; grid-template-rows: auto auto auto 1fr; }
    .blog-hub--page .blog-hub__start, .blog-hub--course .blog-hub__start { display: grid; align-self: stretch; margin: 0; }
    .blog-hub--course .blog-hub__nav { display: grid; }
    .blog-hub--course .blog-hub__end { margin: 0; }
}

.blog-icon { display: inline-block; flex: none; width: 1.125rem; height: 1.125rem; }

/* The tabs of the blog: one bar centred over the middle column. On a phone a tab not open
   shows its icon only. */
.blog-tabs { justify-self: center; max-width: 100%; margin-block-end: 1.75rem; }
.blog-tabs ul { display: flex; gap: 0.25rem; margin: 0; padding: 0.3125rem; overflow-x: auto; border-radius: 1rem; background: var(--blog-panel); list-style: none; scrollbar-width: none; }
.blog-tabs ul::-webkit-scrollbar { display: none; }
.blog-tab { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 2.75rem; height: 2.5rem; padding: 0 1rem; border-radius: 0.75rem; color: var(--blog-text-muted); font-size: 0.8125rem; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; transition: background-color 200ms ease, color 200ms ease, box-shadow 240ms ease; }
.blog-tab .blog-icon { width: 1.0625rem; height: 1.0625rem; transition: color 200ms ease; }
.blog-tab:is(:hover, :focus-visible) { color: var(--blog-text); }
.blog-tab:is(:hover, :focus-visible) .blog-icon { color: var(--blog-warm); }
.blog-tab[aria-current] { background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line), 0 0 18px var(--blog-warm-glow); color: var(--blog-warm); }
@media (max-width: 35.99rem) {
    .blog-tab { padding: 0 0.8125rem; }
    .blog-tab:not([aria-current]) .blog-tab__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* The heading of a feed with its order: Новые · Популярные. */
.blog-head { display: grid; gap: 0.375rem; margin-block-end: 1.25rem; }
.blog-head__bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.25rem; }
.blog-head__title { margin: 0; color: var(--blog-text); font: 400 clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem)/1.2 var(--blog-font); letter-spacing: -0.01em; }
.blog-head__title em { font-style: normal; color: var(--blog-text-soft); }
.blog-head__lead { max-width: 64ch; margin: 0; color: var(--blog-text-muted); font-size: 0.875rem; line-height: 1.5; }
.blog-head__lead a { color: var(--blog-text); }
.blog-sort { display: inline-flex; gap: 1.125rem; margin-inline-start: auto; }
.blog-sort__option { position: relative; padding-block: 0.25rem; color: var(--blog-text-muted); font-size: 0.8125rem; text-decoration: none; transition: color 180ms ease; }
.blog-sort__option:is(:hover, :focus-visible) { color: var(--blog-text); }
.blog-sort__option[aria-current] { color: var(--blog-warm); }
.blog-sort__option[aria-current]::after { position: absolute; bottom: -0.125rem; left: 50%; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--blog-warm); content: ""; translate: -50% 0; }

/* Search and topics: one block on the left of a wide screen, one row between the heading
   and the mosaic on a narrow one; the search widens while it is used. */
.blog-hub__nav { display: flex; align-items: center; gap: 0.5rem; margin-block-end: 1.25rem; }
.blog-search { position: relative; flex: 0 0 9.5rem; min-width: 0; margin: 0; transition: flex-basis 220ms var(--blog-ease); }
.blog-search:focus-within { flex-basis: 100%; }
.blog-search input { width: 100%; height: 2.25rem; padding: 0 0.75rem 0 2.125rem; border: 0; border-radius: 0.75rem; background: var(--blog-panel); color: var(--blog-text); font: 400 0.8125rem/1 var(--blog-font); transition: box-shadow 220ms ease; }
.blog-search input::placeholder { color: var(--blog-text-faint); }
.blog-search input:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--blog-warm-line), 0 0 18px var(--blog-warm-glow); }
.blog-search__icon { position: absolute; top: 50%; left: 0.75rem; display: grid; color: var(--blog-text-muted); pointer-events: none; translate: 0 -50%; transition: color 200ms ease; }
.blog-search:focus-within .blog-search__icon { color: var(--blog-warm); }
.blog-search__icon .blog-icon { width: 0.9375rem; height: 0.9375rem; }
.blog-topics { flex: 1 1 auto; min-width: 0; }
.blog-topics__title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-topics ul { display: flex; gap: 0.375rem; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.blog-topics ul::-webkit-scrollbar { display: none; }
.blog-topic { display: inline-flex; align-items: center; gap: 0.4375rem; height: 2.25rem; padding: 0 0.75rem 0 0.375rem; border-radius: 0.75rem; box-shadow: inset 0 0 0 1px rgba(224, 230, 238, 0.16); color: var(--blog-text-soft); font-size: 0.8125rem; text-decoration: none; white-space: nowrap; transition: background-color 200ms ease, color 200ms ease, box-shadow 240ms ease; }
.blog-topic__icon { display: grid; flex: none; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 0.5rem; background: var(--blog-raised); color: var(--blog-text-soft); transition: color 200ms ease, background-color 200ms ease; }
.blog-topic__icon .blog-icon { width: 0.875rem; height: 0.875rem; }
.blog-topic__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.blog-topic__count { display: none; }
.blog-topic:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px var(--blog-warm-soft); color: var(--blog-text); }
.blog-topic:is(:hover, :focus-visible) .blog-topic__icon { color: var(--blog-warm); }
.blog-topic[aria-current] { background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line), 0 0 18px var(--blog-warm-glow); color: var(--blog-warm); }
.blog-topic[aria-current] .blog-topic__icon { background: var(--blog-warm-tint); color: var(--blog-warm); }

/* On a narrow screen the topics run on to the screen's edge. */
@media (max-width: 74.99rem) {
    /* Above an article or a course the advertising is a band that scrolls away with the page:
       held at the top it would slide over the contents under it. */
    .blog-hub__start .blog-hub__sticky { position: static; }
    .blog-hub__nav { margin-inline-end: calc(var(--blog-gutter) * -1); }
    .blog-search:focus-within { flex-basis: calc(100% - var(--blog-gutter)); }
    .blog-topics ul { padding-inline-end: var(--blog-gutter); }
}

@media (min-width: 75rem) {
    .blog-hub__start { align-self: stretch; }
    .blog-hub__nav { position: sticky; top: var(--blog-sticky); display: grid; align-items: start; gap: 1.25rem; margin: 0; padding: 0.75rem; border-radius: var(--blog-radius); background: var(--blog-panel); }
    /* On a course the advertising under the topics is what stays in view. */
    .blog-hub--course .blog-hub__nav { position: static; }
    .blog-search, .blog-search:focus-within { flex: none; }
    .blog-search input { background: var(--blog-raised); }
    .blog-topics__title { position: static; width: auto; height: auto; margin: 0 0.5rem 0.5rem; overflow: visible; clip: auto; color: var(--blog-text-faint); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; }
    .blog-topics ul { display: grid; gap: 0.125rem; overflow: visible; }
    .blog-topic { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: 0.625rem; height: auto; padding: 0.3125rem 0.625rem 0.3125rem 0.3125rem; border-radius: var(--blog-radius-small); box-shadow: none; font-size: 0.875rem; white-space: normal; }
    .blog-topic__icon { width: 1.75rem; height: 1.75rem; }
    .blog-topic__count { display: block; color: var(--blog-text-faint); font-size: 0.75rem; font-variant-numeric: lining-nums tabular-nums; }
    .blog-topic:is(:hover, :focus-visible) { background: var(--blog-hover); box-shadow: none; }
    .blog-topic[aria-current] { background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line), 0 0 18px var(--blog-warm-glow); }
}

:is(.blog-tab, .blog-sort__option, .blog-topic, .blog-tile__link, .blog-row__link, .blog-short, .blog-round, .blog-skill__cover, .blog-skill__all, .blog-skill__start, .blog-action, .blog-more__link, .blog-shorts__all):focus-visible { outline: 2px solid var(--blog-warm); outline-offset: 2px; }

/* The row of short videos at the top of the feed: tall covers dragged by a finger or the
   mouse, the title over the lower part of each. */
.blog-shorts { min-width: 0; margin-block-end: 2.25rem; }
.blog-shorts__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-block-end: 0.875rem; }
.blog-shorts__title { margin: 0; color: var(--blog-text); font: 400 1.0625rem/1.3 var(--blog-font); }
.blog-shorts__all { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--blog-text-muted); font-size: 0.8125rem; text-decoration: none; transition: color 180ms ease; }
.blog-shorts__all .blog-icon { width: 0.875rem; height: 0.875rem; color: var(--blog-warm); fill: currentColor; }
.blog-shorts__all:is(:hover, :focus-visible) { color: var(--blog-warm); }
.blog-shorts__track { display: grid; grid-auto-columns: clamp(6.5rem, 17.5%, 8.5rem); grid-auto-flow: column; gap: 0.625rem; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; list-style: none; scroll-snap-type: x proximity; scrollbar-width: none; }
.blog-shorts__track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .blog-shorts__track { cursor: grab; } }
.blog-shorts__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.blog-shorts__track.is-dragging .blog-short { pointer-events: none; }
.blog-shorts__item { min-width: 0; scroll-snap-align: start; }
.blog-short { position: relative; isolation: isolate; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--blog-radius-tile); background: var(--blog-raised); color: inherit; text-decoration: none; transition: box-shadow 240ms ease; }
.blog-short::after { position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(var(--blog-shade), 0.82), rgba(var(--blog-shade), 0)); content: ""; }
.blog-short__media { position: absolute; inset: 0; }
.blog-short__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--blog-ease); -webkit-user-drag: none; }
.blog-short__time { position: absolute; z-index: 1; top: 0.4375rem; left: 0.4375rem; padding: 0.125rem 0.375rem; border-radius: 0.375rem; background: rgba(var(--blog-shade), 0.6); color: var(--blog-text); font-size: 0.6875rem; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.blog-short__title { position: absolute; z-index: 1; inset: auto 0.5625rem 0.5625rem; display: -webkit-box; overflow: hidden; color: var(--blog-text); font-size: 0.75rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; transition: color 200ms ease; }
@media (hover: hover) {
    .blog-short:hover { box-shadow: 0 0 0 1px var(--blog-warm-line), 0 0 22px var(--blog-warm-glow); }
    .blog-short:hover .blog-short__media img { transform: scale(1.04); }
    .blog-short:hover .blog-short__title { color: var(--blog-warm); }
}

/* The feed: one mosaic of tiles of three heights, three columns (two on a phone), each
   tile taking the first free place, as on Pinterest. Its rows and gaps are a share of a
   column (a column is sixteen gaps), so a tile keeps its proportions at any width and
   the page never moves when its pictures arrive. */
.blog-feed { container: blog-feed / inline-size; min-width: 0; }
.blog-grid { margin: 0; padding: 0; list-style: none; }
.blog-grid > li { min-width: 0; }
.blog-grid--mosaic { --columns: 2; --gap: 0.625rem; overflow-anchor: none; display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); grid-auto-flow: row dense; grid-auto-rows: var(--gap); column-gap: var(--gap); }
@container blog-feed (min-width: 34rem) { .blog-grid--mosaic { --columns: 3; } }
@supports (width: 1cqi) {
    .blog-grid--mosaic { --gap: calc(100cqi / (var(--columns) * 17 - 1)); }
}
.blog-grid--mosaic > li { grid-row-end: span var(--rows, 23); padding-block-end: var(--gap); }
.blog-grid__item--tall { --rows: 27; }
.blog-grid__item--medium { --rows: 23; }
.blog-grid__item--short { --rows: 19; }
.blog-grid__skill, .blog-grid__skill--3 { --rows: 35; }
.blog-grid__skill--2 { --rows: 31; }
.blog-grid__skill--more { --rows: 38; }
.blog-grid__ad { --rows: 27; }
.blog-grid__promo { --rows: 36; }
.blog-grid__promo > * { height: auto; }
@media (min-width: 62rem) { .blog-grid__promo { display: none; } }
.blog-grid--compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 1.25rem 1rem; }
.blog-feed__previous { margin: 0 0 1rem; text-align: center; }
.blog-more { display: flex; justify-content: center; margin-block-start: 1.25rem; }
.blog-more__link { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; color: var(--blog-text-muted); font-size: 0.875rem; text-decoration: underline; text-decoration-color: rgba(224, 230, 238, 0.3); text-underline-offset: 0.3em; transition: color 180ms ease; }
.blog-more__link:is(:hover, :focus-visible) { color: var(--blog-warm); text-decoration-color: var(--blog-warm-soft); }
.blog-more[data-loading] a { opacity: 0.6; pointer-events: none; }
.blog-empty { max-width: 48ch; margin: 1rem 0; color: var(--blog-text-soft); font-size: 0.9375rem; line-height: 1.6; }
/* What the feed is about, quietly at its very end. */
.blog-feed__about { max-width: 64ch; margin: 3rem 0 0; color: var(--blog-text-faint); font-size: 0.8125rem; line-height: 1.6; }
.blog-empty a { color: var(--blog-text); }

/* A tile: the cover, with the title and one quiet line over its lower part. Outside the
   mosaic (an article's "read also", a skill's video) a tile is 4:3. */
.blog-tile { height: 100%; }
.blog-tile__link { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--blog-radius-tile); background: var(--blog-raised); color: inherit; text-decoration: none; transition: box-shadow 240ms ease; }
.blog-grid--mosaic .blog-tile__link { height: 100%; aspect-ratio: auto; }
.blog-tile__media { position: absolute; z-index: 0; inset: 0; }
.blog-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--blog-ease); }
.blog-tile__link::after { position: absolute; z-index: 1; inset: 38% 0 0; background: linear-gradient(to top, rgba(var(--blog-shade), 0.88), rgba(var(--blog-shade), 0.45) 55%, rgba(var(--blog-shade), 0)); content: ""; pointer-events: none; }
.blog-tile__caption { position: absolute; z-index: 2; inset: auto 0 0; display: grid; gap: 0.25rem; padding: 0.75rem 0.8125rem; }
.blog-tile__title { display: -webkit-box; margin: 0; overflow: hidden; color: var(--blog-text); font: 400 0.875rem/1.32 var(--blog-font); -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; text-wrap: pretty; transition: color 200ms ease; }
.blog-tile__meta { display: flex; align-items: center; gap: 0.625rem; margin: 0; color: var(--blog-text-soft); font-size: 0.75rem; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.blog-tile__views { display: inline-flex; align-items: center; gap: 0.25rem; }
.blog-tile__views .blog-icon { width: 0.8125rem; height: 0.8125rem; }
.blog-tile__progress { display: block; height: 3px; margin-block-start: 0.25rem; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.blog-tile__progress[hidden] { display: none; }
.blog-tile__progress > span { display: block; width: calc(var(--progress, 0) * 100%); height: 100%; background: var(--blog-warm); }
@media (hover: hover) {
    .blog-tile__link:hover { box-shadow: 0 0 0 1px var(--blog-warm-line), 0 0 22px var(--blog-warm-glow); }
    .blog-tile__link:hover .blog-tile__media img { transform: scale(1.04); }
    .blog-tile__link:hover .blog-tile__title { color: var(--blog-warm); }
}
/* What a material is, in a corner of its cover: a video's length, an ability's skills. */
.blog-badge { position: absolute; z-index: 2; top: 0.5rem; left: 0.5rem; display: inline-flex; align-items: center; gap: 0.3125rem; max-width: calc(100% - 1rem); padding: 0.25rem 0.5rem 0.25rem 0.375rem; border-radius: 0.5rem; background: rgba(var(--blog-shade), 0.6); color: var(--blog-text); font-size: 0.6875rem; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.blog-badge > span { overflow: hidden; text-overflow: ellipsis; }
.blog-badge .blog-icon { width: 0.8125rem; height: 0.8125rem; color: var(--blog-warm); }
.blog-tile--video .blog-badge .blog-icon { fill: currentColor; }

/* While something loads on a slow connection, its place shimmers, as on large video
   sites: a tile of the next page, the tiles of another tab, a picture, a player. The
   shimmer moves on the graphics card only; with "reduce motion" the place stays still. */
.blog-skeleton { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--blog-radius-tile); background: var(--blog-raised); }
.blog-loading { background-color: var(--blog-raised); }
:is(.blog-skeleton, .blog-loading)::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0) 80%); content: ""; pointer-events: none; transform: translateX(-100%); animation: blog-shimmer 1.4s ease-in-out infinite; }
@keyframes blog-shimmer { to { transform: translateX(100%); } }
/* A player is laid over its place while it loads: the shimmer stays above it, letting the pointer through. */
:is(.blog-slide__frame, .blog-stage__screen).blog-loading { background-color: var(--blog-raised); }
:is(.blog-slide__frame, .blog-stage__screen).blog-loading::before { z-index: 2; }
/* What has come fades in where the waiting tiles stood. */
.blog-grid--mosaic[data-arrived], .blog-grid--mosaic > li[data-arrived] { animation: blog-arrive 360ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes blog-arrive { from { opacity: 0; transform: translateY(0.5rem); } }
/* What another tab or topic replaces steps back while it comes. */
.blog-hub[data-loading] :is(.blog-head, .blog-shorts, .blog-hub__main > :not(.blog-tabs, .blog-feed)) { opacity: 0.45; transition: opacity 200ms ease; }
/* A round button over a picture or a window: close, previous, next. */
.blog-round { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 999px; background: rgba(var(--blog-shade), 0.6); color: var(--blog-text); cursor: pointer; transition: background-color 180ms ease; }
.blog-round .blog-icon { width: 1.125rem; height: 1.125rem; }
.blog-round:is(:hover, :focus-visible) { background: var(--blog-raised-hover); color: var(--blog-warm); }
.blog-round:disabled { opacity: 0.35; cursor: default; }

/* A small action of a page: the practice of a skill, the article of a video. */
.blog-action { display: inline-flex; align-items: center; justify-self: start; gap: 0.5rem; min-height: 2.5rem; padding: 0 0.75rem 0 1rem; border-radius: 0.75rem; background: var(--blog-accent); color: var(--blog-on-accent); font-size: 0.875rem; text-decoration: none; transition: background-color 180ms ease; }
.blog-action .blog-icon { width: 1rem; height: 1rem; }
.blog-action:is(:hover, :focus-visible) { background: var(--blog-accent-strong); }
.blog-action--quiet { padding-inline-end: 1rem; background: var(--blog-raised); color: var(--blog-text); }
.blog-action--quiet:is(:hover, :focus-visible) { background: var(--blog-raised-hover); }

/* A skill as one card: the cover with its name, its lessons as plain rows and the way in
   along the bottom. In the mosaic the cover takes what the rows leave of the tile. */
.blog-skill { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--blog-radius); background: var(--blog-panel); color: var(--blog-text); }
.blog-skill--card { container: blog-card / inline-size; transition: box-shadow 240ms ease; }
.blog-grid__skill .blog-skill { height: 100%; }
.blog-skill__cover { position: relative; display: block; flex: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blog-raised); color: inherit; text-decoration: none; }
.blog-grid__skill .blog-skill__cover { flex: 1 1 auto; min-height: 6rem; aspect-ratio: auto; }
.blog-skill__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--blog-ease); }
.blog-skill__cover::after { position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(var(--blog-shade), 0.88), rgba(var(--blog-shade), 0)); content: ""; }
.blog-skill__cover:focus-visible { outline-offset: -2px; }
@media (hover: hover) {
    a.blog-skill__cover:hover img { transform: scale(1.04); }
    a.blog-skill__cover:hover .blog-skill__title { color: var(--blog-warm); }
    .blog-skill--card:has(> a.blog-skill__cover:hover) { box-shadow: 0 0 0 1px var(--blog-warm-line), 0 0 22px var(--blog-warm-glow); }
}
.blog-skill__over { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: 0.25rem; padding: 0.875rem 0.875rem 0.75rem; }
.blog-skill__title { display: block; margin: 0; color: var(--blog-text); font: 400 1rem/1.25 var(--blog-font); text-wrap: balance; transition: color 200ms ease; }
.blog-skill__title:focus { outline: none; }
.blog-skill__stats { display: block; margin: 0; color: var(--blog-text-soft); font-size: 0.75rem; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.blog-skill__text { margin: 0; padding: 0.875rem 1rem 0.25rem; color: var(--blog-text-soft); font-size: 0.875rem; line-height: 1.55; }
.blog-skill__all { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0 0.375rem; padding: 0.5rem 0.4375rem; border-radius: var(--blog-radius-small); color: var(--blog-text-muted); font-size: 0.75rem; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.blog-skill__all .blog-icon { width: 0.875rem; height: 0.875rem; }
.blog-skill__all:is(:hover, :focus-visible) { background: var(--blog-hover); color: var(--blog-warm); }
.blog-skill__progress { display: flex; align-items: center; gap: 0.625rem; padding: 0.25rem 0.8125rem 0.375rem; color: var(--blog-text-muted); font-size: 0.75rem; font-variant-numeric: lining-nums tabular-nums; }
.blog-skill__progress[hidden], .blog-skill__guest[hidden] { display: none; }
.blog-skill__meter { flex: 1 1 auto; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.blog-skill__meter > span { display: block; width: calc(var(--progress, 0) * 100%); height: 100%; background: var(--blog-warm); }
.blog-skill__way { display: flex; align-items: center; gap: 0.25rem 0.75rem; margin-block-start: auto; padding: 0.375rem; }
.blog-skill__start { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 0.5rem; min-width: 0; min-height: 2.5rem; padding: 0 0.625rem 0 0.875rem; border-radius: 0.75rem; background: var(--blog-accent); color: var(--blog-on-accent); font-size: 0.8125rem; line-height: 1.2; text-decoration: none; transition: background-color 180ms ease; }
.blog-skill__start .blog-icon { width: 1rem; height: 1rem; }
.blog-skill__start:is(:hover, :focus-visible) { background: var(--blog-accent-strong); }
.blog-skill__page { flex: none; padding: 0 0.5rem; color: var(--blog-text-muted); font-size: 0.8125rem; }
.blog-skill__page:is(:hover, :focus-visible) { color: var(--blog-warm); }
.blog-skill__guest { margin: 0; padding: 0 1rem 0.875rem; color: var(--blog-text-muted); font-size: 0.75rem; line-height: 1.5; }
.blog-skill__guest a { color: var(--blog-text); }
@container blog-card (max-width: 13rem) {
    .blog-skill__over { padding: 0.625rem; }
    .blog-skill__title { font-size: 0.875rem; }
    .blog-skill .blog-row__link { grid-template-columns: minmax(0, 1fr); padding: 0.375rem 0.4375rem; }
    .blog-skill .blog-row__media, .blog-skill .blog-row__size { display: none; }
    .blog-skill__start { justify-content: center; padding-inline: 0.5rem; font-size: 0.75rem; text-align: center; }
    .blog-skill__start .blog-icon { display: none; }
}

/* Lessons, reference pages, skills and abilities as rows: no frames, a small cover. */
.blog-rows { display: grid; margin: 0; padding: 0.375rem; list-style: none; }
.blog-row { position: relative; min-width: 0; }
.blog-row__link { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 0.625rem; padding: 0.4375rem; border-radius: var(--blog-radius-small); color: inherit; text-decoration: none; transition: background-color 160ms ease; }
.blog-row__link:is(:hover, :focus-visible) { background: var(--blog-hover); }
.blog-row__link:is(:hover, :focus-visible) .blog-row__title { color: var(--blog-warm); }
.blog-row__media { position: relative; width: 2.5rem; aspect-ratio: 1; overflow: hidden; border-radius: 0.5rem; background: var(--blog-raised); }
.blog-row__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-row__copy { display: grid; gap: 0.125rem; min-width: 0; }
.blog-row__title { display: -webkit-box; overflow: hidden; color: var(--blog-text); font-size: 0.8125rem; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; transition: color 200ms ease; }
.blog-row__text { display: -webkit-box; overflow: hidden; color: var(--blog-text-muted); font-size: 0.75rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; }
.blog-row__size { color: var(--blog-text-faint); font-size: 0.6875rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.blog-row__check { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(var(--blog-shade), 0.6); color: var(--blog-warm); }
.blog-row__check[hidden] { display: none; }
.blog-row__check .blog-icon { width: 1.125rem; height: 1.125rem; }
.blog-row.is-read .blog-row__title { color: var(--blog-text-muted); }
.blog-row__progress { display: block; height: 2px; margin: 0 0.4375rem 0.25rem 3.5rem; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.blog-row__progress[hidden] { display: none; }
.blog-row__progress > span { display: block; width: calc(var(--progress, 0) * 100%); height: 100%; background: var(--blog-warm); }

/* The layer a skill of the feed opens in: the skill whole, its way in kept at the bottom.
   On a phone it takes the screen. */
.blog-layer { width: min(calc(100vw - 2rem), 34rem); max-width: none; max-height: min(calc(100dvh - 3rem), 48rem); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: var(--blog-radius); background: var(--blog-surface); color: var(--blog-text); }
/* Written out: a backdrop does not see the page's custom properties in every browser. */
.blog-layer::backdrop { background: rgba(5, 6, 10, 0.8); }
.blog-layer__surface { position: relative; display: flex; flex-direction: column; max-height: inherit; }
.blog-layer__body { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.blog-layer__close { position: absolute; z-index: 2; top: 0.625rem; right: 0.625rem; }
.blog-layer .blog-skill { flex: 1 0 auto; overflow: visible; border-radius: 0; background: none; }
.blog-layer .blog-skill__cover { aspect-ratio: 16 / 9; }
.blog-layer .blog-skill__over { padding: 1rem 1.125rem 0.875rem; }
.blog-layer .blog-skill__title { font-size: 1.25rem; }
.blog-layer .blog-rows { padding-inline: 0.5rem; }
.blog-layer .blog-skill__way { position: sticky; bottom: 0; z-index: 1; padding: 0.625rem 0.625rem 0.75rem; background: var(--blog-surface); }
@media (max-width: 47.99rem) {
    .blog-layer { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
    .blog-layer__surface { height: 100%; }
}

/* The video window: one video at a time, the next one below; nothing of the page lies
   over a platform's player. */
.blog-player { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--blog-text); }
/* Written out: a backdrop does not see the page's custom properties in every browser. */
.blog-player::backdrop { background: rgb(5, 6, 10); }
.blog-player__surface { position: relative; width: 100%; height: 100%; }
.blog-player__track { height: 100%; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; }
.blog-player__track::-webkit-scrollbar { display: none; }
.blog-player__controls { position: absolute; inset: 0; pointer-events: none; }
.blog-player__controls > * { pointer-events: auto; }
.blog-player__close { position: absolute; top: max(0.75rem, env(safe-area-inset-top)); right: 0.75rem; }
.blog-player__steps { position: absolute; top: 50%; right: 1.25rem; display: none; gap: 0.625rem; translate: 0 -50%; }
@media (hover: hover) and (pointer: fine) and (min-width: 48rem) { .blog-player__steps { display: grid; } }
/* A slide as in Reels and Shorts: the video in the middle; under it the site as the
   author, the length and what the video is about; beside it round buttons to the
   article and to the platform. On a phone the buttons stand beside the caption. */
.blog-slide { height: 100%; padding: 3.5rem 1rem 1rem; scroll-snap-align: start; scroll-snap-stop: always; }
.blog-slide__body { display: grid; grid-template-columns: auto auto; grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "frame rail" "caption ."; justify-content: center; align-items: end; gap: 0.75rem 0.875rem; height: 100%; }
.blog-slide__frame { grid-area: frame; position: relative; justify-self: end; height: 100%; max-width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 1rem; background: #000; }
.blog-slide--long .blog-slide__frame { align-self: center; width: min(calc(100vw - 13rem), 60rem); height: auto; max-height: 100%; aspect-ratio: 16 / 9; }
.blog-slide__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blog-slide__poster { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: #000; color: var(--blog-text); cursor: pointer; }
.blog-slide__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.blog-slide__poster span { position: relative; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: rgba(var(--blog-shade), 0.6); }
.blog-slide__poster .blog-icon { width: 1.375rem; height: 1.375rem; margin-left: 0.2rem; fill: currentColor; }
/* The caption keeps to the video's width: it takes none of its own. */
.blog-slide__caption { grid-area: caption; display: grid; gap: 0.375rem; width: 0; min-width: 100%; }
.blog-slide__author { display: flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--blog-text); font-size: 0.8125rem; }
.blog-slide__avatar { display: grid; flex: none; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line); color: var(--blog-warm); font-size: 0.8125rem; }
.blog-slide__length { color: var(--blog-text-faint); font-size: 0.75rem; font-variant-numeric: lining-nums tabular-nums; }
.blog-slide__text { display: -webkit-box; margin: 0; overflow: hidden; color: var(--blog-text-soft); font-size: 0.8125rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.blog-slide__rail { grid-area: rail; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-block-end: 0.25rem; }
.blog-slide__action { display: grid; justify-items: center; gap: 0.3125rem; padding: 0; border: 0; background: none; color: var(--blog-text-soft); font: 400 0.6875rem/1.2 var(--blog-font); text-decoration: none; cursor: pointer; transition: color 200ms ease; }
.blog-slide__action .blog-icon { box-sizing: content-box; width: 1.25rem; height: 1.25rem; padding: 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.09); color: var(--blog-text); transition: background-color 200ms ease, color 200ms ease, box-shadow 240ms ease; }
.blog-slide__action:is(:hover, :focus-visible), .blog-slide__action[aria-expanded="true"] { color: var(--blog-warm); }
.blog-slide__action:is(:hover, :focus-visible) .blog-icon, .blog-slide__action[aria-expanded="true"] .blog-icon { background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line), 0 0 18px var(--blog-warm-glow); color: var(--blog-warm); }
.blog-slide__action:focus-visible { outline: none; }
.blog-slide__choice { position: relative; }
.blog-slide__menu.blog-platforms { position: absolute; z-index: 3; right: 0; bottom: calc(100% + 0.5rem); display: grid; justify-content: stretch; gap: 0.25rem; min-width: 10rem; padding: 0.5rem; border-radius: var(--blog-radius-small); background: var(--blog-surface); box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(224, 230, 238, 0.12); }
.blog-slide__menu[hidden] { display: none; }
.blog-slide__menu-title { margin: 0 0.25rem 0.25rem; color: var(--blog-text-faint); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.blog-slide__menu button { text-align: start; }
@media (max-width: 47.99rem) {
    .blog-slide { padding: 3.25rem 0.75rem 0.75rem; }
    .blog-slide__body { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "frame frame" "caption rail"; align-items: start; }
    .blog-slide__frame { justify-self: center; }
    .blog-slide--long .blog-slide__frame { width: 100%; }
    .blog-slide__caption { width: auto; min-width: 0; }
    .blog-slide__rail { flex-direction: row; gap: 0.75rem; padding: 0; }
}
.blog-platforms { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.375rem; color: var(--blog-text-muted); font-size: 0.75rem; }
.blog-platforms button { min-height: 1.875rem; padding: 0 0.625rem; border: 0; border-radius: 0.5rem; background: transparent; box-shadow: inset 0 0 0 1px rgba(224, 230, 238, 0.2); color: var(--blog-text-soft); font: inherit; cursor: pointer; transition: box-shadow 220ms ease, color 200ms ease, background-color 200ms ease; }
.blog-platforms button:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px var(--blog-warm-soft); color: var(--blog-text); }
.blog-platforms button:focus-visible { outline: 2px solid var(--blog-warm); outline-offset: 2px; }
.blog-platforms button[aria-pressed="true"] { background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line), 0 0 16px var(--blog-warm-glow); color: var(--blog-warm); }
.blog-notice { margin: 0; padding: 0.5rem 0.75rem; border-radius: var(--blog-radius-small); background: rgba(241, 185, 109, 0.14); color: var(--blog-text); font-size: 0.8125rem; line-height: 1.45; }
.blog-notice[hidden] { display: none; }
.blog-notice__switch { padding: 0; border: 0; background: none; color: var(--blog-text); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.blog-notice__switch:is(:hover, :focus-visible) { color: var(--blog-accent-strong); }

/* A video's own page: the stage where it plays, and the platforms under it. */
.blog-video-page { display: grid; gap: 1.25rem; min-width: 0; }
.blog-stage { display: grid; gap: 0.75rem; }
.blog-stage__screen { position: relative; overflow: hidden; border-radius: var(--blog-radius); background: #000; }
.blog-stage--short .blog-stage__screen { width: min(100%, calc(min(78vh, 46rem) * 9 / 16)); margin-inline: auto; aspect-ratio: 9 / 16; }
.blog-stage--long .blog-stage__screen { aspect-ratio: 16 / 9; }
.blog-stage__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-stage__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blog-stage__play { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1.125rem; border: 0; border-radius: 999px; background: var(--blog-accent); color: var(--blog-on-accent); font: 400 0.9375rem/1 var(--blog-font); cursor: pointer; translate: -50% -50%; font-variant-numeric: lining-nums tabular-nums; }
.blog-stage__play .blog-icon { width: 1rem; height: 1rem; fill: currentColor; }
.blog-stage__bar:empty { display: none; }
.blog-stage__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1rem; margin: 0; padding: 0; list-style: none; font-size: 0.8125rem; }
.blog-stage__links a { color: var(--blog-text-soft); }
.blog-stage[data-ready] .blog-stage__links { display: none; }
.blog-video-page__head { display: grid; gap: 0.5rem; }
.blog-video-page__head h1 { margin: 0; font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--blog-font); letter-spacing: -0.02em; text-wrap: balance; }
.blog-video-page__head > * { margin: 0; }
.blog-video-page__meta { color: var(--blog-text-muted); font-size: 0.8125rem; }
.blog-video-page__lead { margin: 0; color: var(--blog-text-soft); font-size: 0.9375rem; line-height: 1.6; }
.blog-video-page__text { padding: 1.25rem; border-radius: var(--blog-radius); background: var(--blog-panel); }
.blog-video-page__article { margin: 0; }
.blog-video-page__more h2 { margin: 0 0 0.875rem; font: 400 1.125rem/1.25 var(--blog-font); }

/* A skill's or an ability's page as a course: the big picture, the name with the way in
   and what the course gives in the middle; the reader's progress and the lessons in order
   beside it, the read ones crossed out and the next one lit warm. */
.blog-course { display: grid; gap: 1.5rem; min-width: 0; }
.blog-media { position: relative; display: block; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--blog-radius); background: var(--blog-raised); color: inherit; text-decoration: none; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--blog-ease); }
.blog-media__play { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1.125rem 0 0.875rem; border-radius: 999px; background: rgba(var(--blog-shade), 0.62); color: var(--blog-text); font-size: 0.875rem; font-variant-numeric: lining-nums tabular-nums; translate: -50% -50%; transition: background-color 200ms ease, color 200ms ease, box-shadow 240ms ease; }
.blog-media__play .blog-icon { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.blog-media--video:focus-visible { outline: 2px solid var(--blog-warm); outline-offset: 2px; }
@media (hover: hover) {
    .blog-media--video:hover img { transform: scale(1.02); }
    .blog-media--video:hover .blog-media__play { background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line), 0 0 22px var(--blog-warm-glow); color: var(--blog-warm); }
}
.blog-course__head { display: grid; gap: 0.625rem; }
.blog-course__head > * { margin: 0; }
.blog-course__kicker { display: inline-flex; align-items: center; gap: 0.375rem; }
.blog-course__kicker .blog-icon { width: 0.9375rem; height: 0.9375rem; color: var(--blog-warm); }
.blog-course__title { max-width: 34ch; color: var(--blog-text); font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--blog-font); letter-spacing: -0.02em; text-wrap: balance; }
.blog-course__stats { color: var(--blog-text-muted); font-size: 0.8125rem; font-variant-numeric: lining-nums tabular-nums; }
.blog-course__lead { max-width: 64ch; color: var(--blog-text-soft); font-size: 0.9375rem; line-height: 1.6; }
.blog-course__head .blog-skill__way { margin-block-start: 0.25rem; padding: 0; }
.blog-course__head .blog-skill__start { flex: none; gap: 0.75rem; padding-inline: 1rem 0.75rem; }
.blog-course__about { max-width: 68ch; }
.blog-course__part { display: grid; gap: 0.625rem; padding-block-start: 1.25rem; border-top: 1px solid rgba(224, 230, 238, 0.08); }
.blog-course__part > h2 { margin: 0; color: var(--blog-text); font: 400 1.125rem/1.25 var(--blog-font); }
.blog-course__part > .blog-rows { margin-inline: -0.4375rem; padding: 0; }
.blog-course__note { margin: 0; color: var(--blog-text-muted); font-size: 0.8125rem; line-height: 1.5; }

.blog-course-side { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.blog-course-side__save { display: grid; gap: 0.625rem; padding: 1.125rem; border-radius: var(--blog-radius); background: var(--blog-panel); }
.blog-course-side__title { margin: 0; color: var(--blog-text); font: 400 1.0625rem/1.3 var(--blog-font); }
.blog-course-side__text { margin: 0; color: var(--blog-text-muted); font-size: 0.8125rem; line-height: 1.5; }
.blog-course-side__save .blog-action { justify-self: stretch; justify-content: space-between; }
.blog-course-side__save .blog-skill__progress { padding: 0; }
.blog-course-side__list { padding: 0.875rem 0.375rem 0.375rem; border-radius: var(--blog-radius); background: var(--blog-panel); }
.blog-course-side__heading { margin: 0 0.5rem 0.625rem; color: var(--blog-text-faint); font: 400 0.6875rem/1.3 var(--blog-font); letter-spacing: 0.14em; text-transform: uppercase; }
.blog-course-side__note { margin: -0.25rem 0.5rem 0.5rem; color: var(--blog-text-muted); font-size: 0.75rem; line-height: 1.45; }
.blog-course-side__list > .blog-rows { padding: 0; }
.blog-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.blog-step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.625rem; padding: 0.625rem 0.5rem; border-radius: var(--blog-radius-small); color: inherit; text-decoration: none; transition: background-color 160ms ease, box-shadow 220ms ease; }
ul.blog-steps .blog-step { grid-template-columns: minmax(0, 1fr) auto; }
.blog-step__number { color: var(--blog-text-faint); font-size: 0.75rem; font-variant-numeric: lining-nums tabular-nums; }
.blog-step__title { display: -webkit-box; overflow: hidden; color: var(--blog-text); font-size: 0.8125rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; transition: color 200ms ease; }
.blog-step__size { color: var(--blog-text-faint); font-size: 0.6875rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.blog-step__check { display: grid; color: var(--blog-warm); }
.blog-step__check[hidden] { display: none; }
.blog-step__check .blog-icon { width: 1rem; height: 1rem; }
.blog-row--step.is-read .blog-step__size { display: none; }
.blog-row--step.is-read .blog-step__title { color: var(--blog-text-muted); text-decoration: line-through; text-decoration-color: rgba(224, 230, 238, 0.35); }
.blog-row--step.is-next .blog-step { background: var(--blog-warm-tint); box-shadow: inset 0 0 0 1px var(--blog-warm-line); }
.blog-row--step.is-next .blog-step__number { color: var(--blog-warm); }
.blog-step:is(:hover, :focus-visible) { background: var(--blog-hover); }
.blog-step:is(:hover, :focus-visible) .blog-step__title { color: var(--blog-warm); }
.blog-step:focus-visible { outline: 2px solid var(--blog-warm); outline-offset: 2px; }

/* After a lesson: the next one and how much of the skill is read. */
.blog-onward { display: grid; gap: 0.875rem; padding: clamp(1.25rem, 3vw, 2rem); }
.blog-onward > .home-overline { margin: 0; }
.blog-onward__next { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 0.625rem; border-radius: var(--blog-radius-small); background: var(--blog-raised); color: inherit; text-decoration: none; transition: background-color 180ms ease; }
.blog-onward__next:is(:hover, :focus-visible) { background: var(--blog-raised-hover); }
.blog-onward__media { width: 5.5rem; aspect-ratio: 1; overflow: hidden; border-radius: 0.625rem; }
.blog-onward__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-onward__copy { display: grid; gap: 0.25rem; min-width: 0; }
.blog-onward__title { margin: 0; color: var(--blog-text); font: 400 1.25rem/1.25 var(--blog-font); }
.blog-onward__text { display: -webkit-box; overflow: hidden; color: var(--blog-text-muted); font-size: 0.9375rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.blog-onward__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.blog-onward__foot:empty { display: none; }
.blog-onward__previous { color: var(--blog-text-soft); font-size: 0.9375rem; }
.blog-onward .button { justify-self: start; gap: 0.625rem; }
.blog-onward .blog-skill__progress, .blog-onward .blog-skill__guest { padding: 0; }
.blog-onward .blog-skill__progress { max-width: 20rem; font-size: 0.8125rem; }

@media (prefers-reduced-motion: reduce) {
    .blog-tile__media img, .blog-short__media img, .blog-skill__cover img, .blog-tab, .blog-topic, .blog-row__link, .blog-onward__next, .blog-round, .blog-search, .blog-tile__link, .blog-short, .blog-skill--card { transition: none; }
    :is(.blog-skeleton, .blog-loading)::before { animation: none; transform: none; }
    .blog-grid--mosaic[data-arrived], .blog-grid--mosaic > li[data-arrived] { animation: none; }
    .blog-player__track { scroll-behavior: auto; }
}
