/* CareerLab: blog layer.
   Loaded after styles.css on /careerlab/ pages only. It reuses the site's tokens
   (colours, fonts, .wrap, .eyebrow, .button, .text-link, header and footer) and adds
   the feed, the article page and the reader's navigation. */

.site-nav a[aria-current] {
  color: #d4ae55;
}

/* ---------- Reading progress (the only script-driven element besides the contents list) ---------- */
.cl-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.cl-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Feed: hero (paper, poster sheet, topics, wordmark) ---------- */
.cl-hero {
  padding: clamp(46px, 5.5vw, 80px) 0 0;
}

.cl-hero--feed {
  padding-top: clamp(30px, 3.4vw, 48px);
}

.cl-situations {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin: 0 0 clamp(22px, 2.8vw, 34px);
  padding-left: 6px;
}

.cl-situations-label {
  margin: 0;
  color: var(--cl-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cl-situations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-situations-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.5em 0.95em 0.55em 0.8em;
  border: 1.5px solid var(--cl-ink);
  color: var(--cl-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.cl-situations-list li::before {
  content: "";
  flex: none;
  width: 0.5em;
  height: 0.5em;
  background: var(--cl-ink);
}

@media (max-width: 620px) {
  .cl-situations {
    gap: 10px;
  }

  .cl-situations-label {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .cl-situations-list {
    gap: 6px;
  }

  .cl-situations-list li {
    gap: 0.5em;
    padding: 0.45em 0.7em 0.5em 0.62em;
    font-size: 0.82rem;
  }
}

.cl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.cl-hero-poster {
  padding: 10px 14px 18px 6px;
}

.cl-topics {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.cl-topics a,
.cl-topics .cl-topic {
  display: inline-block;
  color: var(--cl-ink);
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
}

.cl-topics .cl-ring {
  margin-left: -1.3em;
  padding: 0.34em 1.3em 0.4em;
}

@media (max-width: 620px) {
  .cl-topics .cl-ring {
    margin-left: -1.05em;
    padding: 0.34em 1.05em 0.4em;
  }
}

.cl-topics .cl-ring::before {
  opacity: 0;
  transform: rotate(-1.4deg) scale(0.94);
  transition: opacity 200ms ease, transform 240ms ease;
}

.cl-topics a:hover .cl-ring::before,
.cl-topics a:focus-visible .cl-ring::before,
.cl-topics .is-marked::before {
  opacity: 1;
  transform: rotate(-1.4deg) scale(1);
}

.cl-topics-end {
  width: min(100%, 12em);
  margin-left: -0.3em;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.cl-hero .lead {
  max-width: 31em;
  margin: 0 0 26px;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
}

.cl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cl-wordmark {
  position: relative;
  margin-top: clamp(28px, 4.2vw, 58px);
  line-height: 0;
}

.cl-wordmark .cl-word {
  --cl-bg-size: 140%;
  --cl-bg-pos: 72% 39%;
  position: relative;
  display: inline-block;
  font-size: clamp(4.7rem, 17.4vw, 16.5rem);
  white-space: nowrap;
}

.cl-wordmark .cl-brush-a {
  top: 30%;
  right: 6%;
  left: -3%;
  height: 34%;
}

.cl-wordmark .cl-brush-b {
  top: 66%;
  right: -2%;
  left: 46%;
  height: 7%;
  opacity: 0.8;
}

.surface-dark .button-outline {
  border-color: rgba(244, 239, 231, 0.34);
  color: #f4efe7;
}

.surface-dark .button-outline:hover {
  border-color: var(--gold);
  color: #f4efe7;
}

.cl-author {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.cl-author img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.06);
}

.cl-author figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}

.cl-author strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.cl-author span {
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ---------- Feed: list and sidebar ---------- */
.cl-feed-section {
  padding: clamp(60px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
}

.cl-feed-head {
  max-width: 52em;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.cl-feed-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.cl-feed-head p:not(.eyebrow) {
  max-width: 40em;
  margin: 0;
  color: var(--text-2);
}

.cl-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.cl-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 20px;
  padding: 34px 0 34px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, padding 180ms ease;
}

.cl-list li:last-child .cl-row {
  border-bottom: 1px solid var(--line);
}

.cl-row::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: width 240ms ease;
}

.cl-row:hover::before,
.cl-row:focus-visible::before {
  width: 100%;
}

.cl-row-num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1;
}

.cl-row-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
  color: var(--text-3);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cl-row-kicker .cl-start {
  margin-left: 0.5em;
  color: var(--text);
}

.cl-row h3 {
  max-width: 24em;
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  transition: color 180ms ease;
}

.cl-row:hover h3 {
  color: var(--gold-ink);
}

.cl-row p {
  max-width: 38em;
  margin: 0 0 18px;
  color: var(--text-2);
  font-size: 0.97rem;
}

.cl-row-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  color: var(--text-3);
  font-size: 0.78rem;
}

.cl-row-foot .text-link {
  color: var(--gold-ink);
}

.cl-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.cl-card {
  display: grid;
  gap: 12px;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.cl-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.cl-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.9rem;
}

.cl-card .button {
  justify-self: start;
  margin-top: 6px;
}

.cl-card-dark {
  border-color: transparent;
  border-top: 3px solid var(--gold);
  background: #100d09;
  color: #f4efe7;
}

.cl-card-dark h3 {
  color: #f4efe7;
}

.cl-card-dark p {
  color: #cbbfb0;
}

.cl-card-dark .button {
  background: #f4efe7;
  color: #211d19;
}

.cl-card-dark .button:hover {
  background: #fff;
}

/* ---------- Feed: topic suggestion band ---------- */
.cl-suggest {
  padding: clamp(46px, 6vw, 72px) 0;
}

.cl-suggest-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.cl-suggest h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.cl-suggest p {
  max-width: 40em;
  margin: 0;
  color: var(--text-2);
}

/* ---------- Article: hero ---------- */
.cl-article-hero {
  padding: clamp(40px, 5vw, 72px) 0 clamp(34px, 4.5vw, 56px);
}

.cl-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.cl-article-mark {
  position: relative;
  justify-self: end;
  display: grid;
  justify-items: start;
  gap: 26px;
  padding: 6px 4px 10px;
}

.cl-article-mark .cl-word {
  --cl-bg-size: 200%;
  --cl-bg-pos: 82% 43%;
  position: relative;
  display: inline-block;
  font-size: var(--wfs, 140px);
  letter-spacing: 0.02em;
}

.cl-article-mark .cl-brush-a {
  top: 22%;
  right: -10%;
  left: -12%;
  height: 36%;
}

.cl-article-mark .cl-ring {
  margin: 4px 0 0 0.5em;
  padding: 0.5em 1.35em 0.56em;
  font-size: 1rem;
  font-weight: 500;
}

.cl-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 clamp(22px, 3vw, 34px);
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cl-crumbs li + li::before {
  margin-right: 14px;
  color: var(--gold);
  content: "/";
}

.cl-crumbs .cl-ring {
  margin: 0 0 0 0.5em;
  padding: 0.7em 1.9em 0.76em;
  letter-spacing: 0.14em;
}

.cl-crumbs a {
  color: var(--gold-ink);
  text-decoration: none;
}

.cl-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cl-article-hero h1 {
  max-width: 17em;
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
}

.cl-article-hero h1.is-long {
  max-width: 19em;
  font-size: clamp(2.1rem, 4.1vw, 3.4rem);
}

.cl-dek {
  max-width: 32em;
  margin: 0 0 30px;
  color: var(--text-2);
  font-size: clamp(1.1rem, 1.9vw, 1.38rem);
  line-height: 1.6;
}

.cl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0;
  color: var(--text-3);
  font-size: 0.82rem;
}

.cl-meta img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
}

.cl-meta strong {
  color: var(--text);
  font-weight: 600;
}

.cl-meta-by {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Article: layout ---------- */
.cl-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 740px);
  justify-content: start;
  column-gap: clamp(48px, 7vw, 96px);
  align-items: start;
  padding: clamp(36px, 5vw, 68px) 0 clamp(60px, 8vw, 100px);
}

.cl-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 34px;
}

.cl-side-title {
  margin: 0 0 12px;
  color: var(--gold-ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cl-toc {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
  list-style: none;
}

.cl-toc a {
  display: block;
  margin-left: -1px;
  padding: 8px 0 8px 16px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.cl-toc a:hover {
  color: var(--text);
}

.cl-toc a.is-active {
  border-left-color: var(--gold);
  color: var(--text);
  font-weight: 600;
}

.cl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-chips a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold-line);
  color: var(--text);
  font-family: var(--serif);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.cl-chips a:hover {
  border-color: var(--gold);
  background: var(--gold-wash);
}

.cl-chips a[aria-current="page"] {
  border-color: var(--gold);
  background: var(--gold);
  color: #211d19;
}

.cl-side-note {
  margin: 10px 0 0;
  color: var(--text-3);
  font-size: 0.78rem;
  line-height: 1.5;
}

.cl-toc-mobile {
  display: none;
  margin: 0 0 30px;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.cl-toc-mobile summary {
  padding: 16px 18px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.cl-toc-mobile .cl-toc {
  margin: 0 18px 14px;
}

/* ---------- Article: body ---------- */
.cl-tldr {
  margin: 0 0 44px;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 32px);
  border-left: 3px solid var(--gold);
  background: var(--gold-wash);
}

.cl-box-label {
  margin: 0 0 14px;
  color: var(--gold-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cl-tldr ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-tldr li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.62;
}

.cl-tldr li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.cl-prose {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.78;
}

.cl-prose p {
  margin: 0 0 1.3em;
}

.cl-prose .cl-lead-p {
  font-size: 1.22rem;
  line-height: 1.7;
}

.cl-prose h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  scroll-margin-top: 92px;
}

.cl-prose a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-decoration-color: rgba(115, 86, 29, 0.42);
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}

.cl-prose a:hover {
  text-decoration-color: var(--gold-ink);
}

.cl-pending {
  margin: 2em 0;
  padding: 20px 24px;
  border: 1px dashed var(--gold);
  background: rgba(196, 155, 60, 0.06);
}

.cl-pending .cl-box-label {
  margin-bottom: 8px;
}

.cl-pending p:last-child {
  margin: 0;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.65;
}

.cl-action {
  margin: 2.6em 0 2.2em;
  padding: clamp(26px, 3.6vw, 42px);
  border-top: 3px solid var(--gold);
  background: var(--surface-2);
}

.cl-action h2 {
  margin-top: 0;
}

.cl-action .cl-note {
  margin: 0 0 1.4em;
  color: var(--text-2);
  font-size: 0.98rem;
}

.cl-action ol {
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.cl-action li {
  position: relative;
  margin: 0 0 1.15em;
  padding-left: 54px;
  counter-increment: step;
  font-size: 1.02rem;
  line-height: 1.7;
}

.cl-action li:last-child {
  margin-bottom: 0;
}

.cl-action li::before {
  position: absolute;
  top: -0.1em;
  left: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-ink);
  content: counter(step);
  font-family: var(--serif);
  font-size: 1rem;
}

.cl-action li strong {
  font-weight: 600;
}

/* Table with eight scales (article 4): stacked on phones. */
.cl-table-wrap {
  margin: 1.8em 0 2.2em;
}

.cl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.5;
}

.cl-table caption {
  padding-bottom: 12px;
  color: var(--gold-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
}

.cl-table th,
.cl-table td {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cl-table thead th {
  border-bottom-color: var(--gold-line);
  color: var(--text-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cl-table tbody th {
  width: 22%;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 400;
}

/* ---------- Article: after the text ---------- */
.cl-sources {
  margin: 2.4em 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cl-sources summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.cl-sources summary::-webkit-details-marker {
  display: none;
}

.cl-sources summary::after {
  color: var(--gold-ink);
  content: "+";
  font-size: 1.2rem;
  letter-spacing: 0;
}

.cl-sources[open] summary::after {
  content: "−";
}

.cl-sources ol {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding-left: 1.3em;
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.6;
}

.cl-sources a {
  color: var(--gold-ink);
  overflow-wrap: anywhere;
}

.cl-sources-note {
  margin: 0 0 20px;
  color: var(--text-3);
  font-size: 0.82rem;
}

.cl-ask {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2.6em 0 0;
  border: 1px solid var(--line);
}

.cl-ask > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 28px 28px;
}

.cl-ask > div + div {
  border-left: 1px solid var(--line);
}

.cl-ask h2 {
  margin: 0;
  font-size: 1.35rem;
}

.cl-ask p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cl-ask .button {
  justify-self: start;
  margin-top: 8px;
}

.cl-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 8px;
}

.cl-share-links a,
.cl-share-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(115, 86, 29, 0.4);
  text-underline-offset: 4px;
  cursor: pointer;
}

.cl-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 2.6em 0 0;
}

.cl-pager a {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 28px 28px;
  border-top: 2px solid transparent;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.cl-pager a:hover {
  border-top-color: var(--gold);
  background: var(--surface-3);
}

.cl-pager-dir {
  color: var(--gold-ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cl-pager-title {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.3;
}

.cl-pager-next {
  text-align: right;
}

.cl-consult {
  margin: 2.6em 0 0;
  padding: clamp(30px, 4vw, 48px);
  border-top: 3px solid var(--gold);
}

.cl-consult h2 {
  max-width: 18em;
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
}

.cl-consult p:not(.eyebrow) {
  max-width: 34em;
  margin: 0 0 24px;
  color: #cbbfb0;
  font-size: 1rem;
  line-height: 1.7;
}

.cl-consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cl-hero-grid,
  .cl-feed {
    grid-template-columns: minmax(0, 1fr);
  }

  .cl-hero-poster {
    max-width: 480px;
  }

  .cl-article-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  }

  .cl-article-mark .cl-word {
    font-size: calc(var(--wfs, 140px) * 0.78);
  }

  .cl-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cl-layout {
    grid-template-columns: minmax(0, 740px);
  }

  .cl-side {
    display: none;
  }

  .cl-toc-mobile {
    display: block;
  }
}

@media (max-width: 860px) {
  .cl-article-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cl-article-mark {
    display: none;
  }
}

@media (max-width: 720px) {
  .cl-hero-poster {
    padding: 4px 8px 12px 2px;
  }

  .cl-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
    padding: 28px 0;
  }

  .cl-row-num {
    font-size: 2.2rem;
  }

  .cl-aside,
  .cl-ask,
  .cl-pager,
  .cl-suggest-inner {
    grid-template-columns: 1fr;
  }

  .cl-ask > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .cl-pager-next {
    text-align: left;
  }

  .cl-prose {
    font-size: 1.05rem;
    line-height: 1.74;
  }

  .cl-prose .cl-lead-p {
    font-size: 1.14rem;
  }

  .cl-action {
    margin-right: -4px;
    margin-left: -4px;
    padding: 24px 18px 26px;
  }

  .cl-action li {
    padding-left: 44px;
  }

  .cl-action li::before {
    width: 32px;
    height: 32px;
  }

  .cl-crumbs li:nth-child(3) {
    display: none;
  }

  .cl-crumbs li:nth-child(3) + li::before {
    margin-right: 14px;
  }

  .cl-table caption {
    display: block;
  }

  .cl-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
  }

  .cl-table thead tr,
  .cl-table thead th {
    padding: 0;
    border: 0;
  }

  .cl-table,
  .cl-table tbody,
  .cl-table tr,
  .cl-table th,
  .cl-table td {
    display: block;
    width: auto;
  }

  .cl-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .cl-table th,
  .cl-table td {
    padding: 0;
    border: 0;
  }

  .cl-table tbody th {
    width: auto;
    margin-bottom: 6px;
  }

  .cl-table td {
    display: grid;
    grid-template-columns: 7.2em minmax(0, 1fr);
    gap: 10px;
    padding: 3px 0;
  }

  .cl-table td::before {
    color: var(--text-3);
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding-top: 0.35em;
    text-transform: uppercase;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-row,
  .cl-row::before,
  .cl-toc a,
  .cl-pager a {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cl-progress,
  .cl-side,
  .cl-toc-mobile,
  .cl-ask,
  .cl-pager,
  .cl-related,
  .cl-consult {
    display: none;
  }

  .cl-layout {
    display: block;
  }

  .cl-sources {
    break-inside: avoid;
  }
}

.cl-meta-by img {
  object-fit: cover;
  object-position: 68% 40%;
}

.cl-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin-top: 6px;
}

.cl-card-actions .button {
  margin-top: 0;
}

/* v7: reader question, "Читайте дальше", crumbs on the feed */
.cl-ask .cl-ask-q {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.45;
}

.cl-hero--feed .cl-crumbs {
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.cl-crumbs [aria-current="page"] {
  color: var(--text);
}

.cl-related {
  margin: 2.6em 0 0;
}

.cl-related h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.cl-related-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-rel-card {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  padding: 24px 26px 22px;
  border-top: 2px solid transparent;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.cl-rel-card:hover {
  border-top-color: var(--gold);
  background: var(--surface-3);
}

.cl-rel-card .cl-pager-title {
  font-size: 1.2rem;
}

.cl-rel-text {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cl-rel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 0.8rem;
}

.cl-related-all {
  margin: 16px 0 0;
}

@media (max-width: 740px) {
  .cl-related-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .cl-ask .cl-share-links a,
  .cl-ask .cl-share-links button {
    padding: 7px 0;
  }
}

/* v8: the hand-drawn ring follows the pointer along the topic list (see blog.js) */
.cl-topics {
  position: relative;
  isolation: isolate;
}

.cl-topics-pen {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--cl-ring) center / 100% 100% no-repeat;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
}

.cl-topics-pen.is-ready {
  opacity: 1;
}

.cl-topics-pen.is-live {
  transition: transform 420ms cubic-bezier(0.3, 0.8, 0.2, 1), width 420ms cubic-bezier(0.3, 0.8, 0.2, 1), height 420ms cubic-bezier(0.3, 0.8, 0.2, 1);
}

.cl-topics.has-pen li .cl-ring::before {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cl-topics-pen.is-live {
    transition: none;
  }
}
