/* Blog do SOCEO — portado do soceo.com.br antigo para a linguagem soceo.
   Usa os tokens de landing-sections.css (carregado em todas as rotas). */

/* Sobe por baixo da barra de navegação: sem isso a faixa entre a tarja e o
   header fica com o creme do body em vez do papel da página e vira um
   retângulo visível atrás do header flutuante. O padding devolve o conteúdo
   ao lugar de antes. Mesma manobra da hero da home, no inject.js. */
.mix-blog-page {
  margin-top: calc(-1 * var(--soceo-nav-height, 96px));
  padding-top: var(--soceo-nav-height, 96px);
  color: var(--landing-ink);
  background: var(--landing-paper);
  font-family: Inter, Arial, sans-serif;
}

.mix-blog-inner {
  width: min(var(--landing-width), calc(100% - 96px));
  margin: 0 auto;
}

/* --- Índice: herói --- */

.mix-blog-hero .mix-blog-inner {
  max-width: 860px;
  padding: clamp(160px, 17vw, 230px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
}

.mix-blog-hero h1 {
  margin: 0;
  font: 700 clamp(42px, 5.4vw, 76px)/1 "Bricolage Grotesque", "Polysans Neutral", Inter, sans-serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.mix-blog-lead {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--landing-muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
}

/* --- Índice: destaque --- */

.mix-blog-featured .mix-blog-inner {
  padding: clamp(24px, 3vw, 40px) 0;
}

.mix-blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  overflow: hidden;
  color: var(--landing-ink);
  border: 1px solid rgba(52, 60, 237, .16);
  border-radius: var(--landing-radius);
  background: #fff;
  box-shadow: 0 24px 64px rgba(25, 25, 54, .09);
  text-decoration: none;
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.mix-blog-featured-card:hover {
  border-color: rgba(52, 60, 237, .4);
  box-shadow: 0 30px 80px rgba(25, 25, 54, .14);
}

.mix-blog-featured-card:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 3px;
}

.mix-blog-featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.4vw, 48px);
}

.mix-blog-featured-copy small {
  color: var(--landing-cobalt);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.mix-blog-featured-copy h2 {
  margin: 18px 0 0;
  font: 700 clamp(26px, 2.8vw, 40px)/1.08 "Bricolage Grotesque", "Polysans Neutral", Inter, sans-serif;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.mix-blog-featured-copy p {
  margin: 16px 0 0;
  color: var(--landing-muted);
  font-size: 15px;
  line-height: 1.62;
}

.mix-blog-featured-copy footer,
.mix-blog-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: var(--landing-muted);
  font: 600 10px/1.4 "DM Mono", ui-monospace, monospace;
  /* o bundle legado pinta .lp-franquias-root footer de navy; na home os
     cards do blog vivem dentro do root e precisam neutralizar isso */
  position: static;
  border-top: 0;
  background: transparent;
}

.mix-blog-featured-copy footer i,
.mix-blog-card footer i,
.mix-post-meta i {
  font-style: normal;
  color: rgba(93, 93, 104, .6);
}

.mix-blog-featured-copy > strong {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--landing-cobalt);
  font-size: 13px;
}

.mix-blog-featured-copy > strong span {
  transition: transform 240ms var(--landing-ease-out);
}

.mix-blog-featured-card:hover strong span {
  transform: translateX(5px);
}

.mix-blog-featured-card figure {
  margin: 0;
  min-height: 300px;
}

.mix-blog-featured-card figure img,
.mix-blog-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Autor (aprendizado Soceo): monograma + nome + papel --- */

.mix-blog-author {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.mix-blog-author b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 11px;
  background: var(--landing-cobalt);
  font: 800 14px/1 Inter, sans-serif;
}

.mix-blog-author strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.mix-blog-author small {
  display: block;
  margin-top: 2px;
  color: var(--landing-muted);
  font-size: 11px;
}

.mix-blog-featured-date {
  display: block;
  margin-top: 16px;
  color: var(--landing-muted);
  font: 600 11px/1.4 "DM Mono", ui-monospace, monospace;
}

.mix-blog-featured-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 18px;
}

.mix-blog-byline-read {
  color: var(--landing-muted);
  font: 600 10px/1.4 "DM Mono", ui-monospace, monospace;
}

.mix-post-byline {
  margin-top: 20px;
}

/* --- Índice: lista e filtros --- */

.mix-blog-list .mix-blog-inner {
  padding: clamp(30px, 4vw, 56px) 0 clamp(70px, 8vw, 110px);
}

.mix-blog-list-head {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.mix-blog-list-head h2 {
  margin: 0;
  font: 700 clamp(24px, 2.6vw, 34px)/1.1 "Bricolage Grotesque", "Polysans Neutral", Inter, sans-serif;
  letter-spacing: -.025em;
}

.mix-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mix-blog-search,
.mix-blog-topic {
  min-height: 44px;
  padding: 0 16px;
  color: var(--landing-ink);
  border: 1px solid var(--landing-border);
  border-radius: 999px;
  background: #fff;
  font: 500 13px/1.2 Inter, sans-serif;
}

.mix-blog-search {
  width: 210px;
}

.mix-blog-search::placeholder {
  color: #83838d;
}

.mix-blog-search:focus-visible,
.mix-blog-topic:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 2px;
}

.mix-blog-topic {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23343ced' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.mix-blog-reset {
  min-height: 44px;
  padding: 0 16px;
  color: var(--landing-cobalt);
  border: 1px solid rgba(52, 60, 237, .32);
  border-radius: 999px;
  background: transparent;
  font: 650 12px/1 Inter, sans-serif;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.mix-blog-reset:hover {
  border-color: var(--landing-cobalt);
  background: rgba(52, 60, 237, .06);
}

.mix-blog-reset:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 2px;
}

.mix-blog-filters {
  display: flex;
  gap: 8px;
}

.mix-blog-filters button {
  min-height: 44px;
  padding: 0 18px;
  color: #55555f;
  border: 1px solid var(--landing-border);
  border-radius: 999px;
  background: #fff;
  font: 650 12px/1 Inter, sans-serif;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mix-blog-filters button:hover {
  color: var(--landing-ink);
  border-color: rgba(21, 21, 23, .3);
}

.mix-blog-filters button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--landing-cobalt);
  background: var(--landing-cobalt);
}

.mix-blog-filters button:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 2px;
}

.mix-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.mix-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--landing-ink);
  border: 1px solid var(--landing-border);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  transition: transform 240ms var(--landing-ease-out), border-color 220ms ease, box-shadow 220ms ease;
}

.mix-blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 60, 237, .38);
  box-shadow: 0 20px 48px rgba(25, 25, 54, .1);
}

.mix-blog-card:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 3px;
}

.mix-blog-card[hidden],
.mix-blog-featured[hidden] {
  display: none;
}

.mix-blog-card figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mix-blog-tag {
  margin: 18px 22px 0;
  color: var(--landing-cobalt);
  font: 700 10px/1.3 "DM Mono", ui-monospace, monospace;
  letter-spacing: .1em;
}

.mix-blog-card h3 {
  margin: 10px 22px 0;
  font: 700 clamp(19px, 1.7vw, 22px)/1.22 "Bricolage Grotesque", "Polysans Neutral", Inter, sans-serif;
  letter-spacing: -.02em;
}

.mix-blog-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 10px 22px 0;
  color: var(--landing-muted);
  font-size: 13.5px;
  line-height: 1.58;
}

.mix-blog-card-byline {
  margin: auto 22px 0;
  padding-top: 18px;
}

.mix-blog-card-byline + footer {
  margin-top: 12px;
}

.mix-blog-card footer {
  padding: 0 22px 20px;
}

.mix-blog-empty {
  margin: 26px 0 0;
  padding: 22px;
  color: var(--landing-muted);
  border: 1px dashed var(--landing-border);
  border-radius: 14px;
  text-align: center;
  font-size: 14px;
}

/* --- Post --- */

.mix-post-inner {
  max-width: 1344px;
  padding: clamp(56px, 6vw, 84px) 0 clamp(60px, 7vw, 90px);
}

.mix-post-breadcrumb {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.mix-post-head {
  width: min(980px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.mix-post-cover,
.mix-post-author-strip {
  width: min(980px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.mix-post-related {
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.mix-post-breadcrumb a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--landing-muted);
  text-decoration: none;
  font: 600 12px/1 "DM Mono", ui-monospace, monospace;
  transition: color 160ms ease;
}

.mix-post-breadcrumb a:hover {
  color: var(--landing-cobalt);
}

.mix-post-head {
  margin-top: clamp(42px, 4.5vw, 64px);
  text-align: center;
}

.mix-post-head .mix-section-eyebrow {
  margin-bottom: 22px;
}

.mix-post-head h1 {
  margin: 0;
  font: 500 clamp(42px, 5.25vw, 74px)/1.02 Copernicus, Georgia, "Times New Roman", serif;
  letter-spacing: -.028em;
  text-align: center;
  text-wrap: balance;
}

.mix-post-head-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(34px, 4vw, 48px);
  text-align: left;
}

.mix-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--landing-muted);
  font: 600 11px/1.4 "DM Mono", ui-monospace, monospace;
}

.mix-post-share {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--landing-ink);
  font-size: 13px;
  font-weight: 600;
}

.mix-post-share button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--landing-ink);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.mix-post-share button:hover {
  transform: translateY(-2px);
  background: var(--landing-cobalt);
}

.mix-post-share button:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 3px;
}

.mix-post-share svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mix-post-share small {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  color: var(--landing-cobalt);
  font: 700 10px/1.3 "DM Mono", ui-monospace, monospace;
}

.mix-post-cover {
  margin-top: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  background: var(--landing-lavender);
}

.mix-post-cover img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.mix-post-author-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 0 2px;
}

.mix-post-author-strip > span:first-child {
  color: var(--landing-muted);
  font: 600 11px/1.4 "DM Mono", ui-monospace, monospace;
}

.mix-post-author-strip .mix-blog-author {
  gap: 12px;
}

.mix-post-author-strip .mix-blog-author b {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.mix-post-author-strip .mix-blog-author strong {
  font-size: 13px;
}

.mix-post-body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.mix-post-body p {
  margin: 0 0 20px;
  color: #3c3c46;
  font-size: 17px;
  line-height: 1.75;
}

.mix-post-body h2,
.mix-post-body h3 {
  margin: 34px 0 14px;
  font: 700 clamp(22px, 2.2vw, 27px)/1.2 "Bricolage Grotesque", "Polysans Neutral", Inter, sans-serif;
  letter-spacing: -.02em;
}

.mix-post-body ul,
.mix-post-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.mix-post-body li {
  margin-bottom: 10px;
  color: #3c3c46;
  font-size: 16px;
  line-height: 1.7;
}

.mix-post-body li::marker {
  color: var(--landing-cobalt);
  font-weight: 700;
}

.mix-post-body strong {
  color: var(--landing-ink);
}

.mix-post-body em {
  color: #50505a;
}

/* --- Leitura com sumário lateral --- */

.mix-post-reading {
  display: grid;
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  margin-top: clamp(30px, 3.6vw, 48px);
}

.mix-post-toc {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: fixed;
  top: 50%;
  left: clamp(24px, 3.333vw, 48px);
  z-index: 30;
  width: 52px;
  height: 140px;
  overflow: visible;
  transform: translateY(-50%);
}

.mix-post-toc-rail {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 140px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--landing-muted);
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(25, 25, 54, .08);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.mix-post-toc-rail > span {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.mix-post-toc-rail i {
  display: block;
  width: 24px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.mix-post-toc-rail i:nth-child(2),
.mix-post-toc-rail i:nth-child(5) {
  width: 18px;
}

.mix-post-toc-rail i:nth-child(4),
.mix-post-toc-rail i:nth-child(7) {
  width: 21px;
}

.mix-post-toc[data-open="true"] .mix-post-toc-rail {
  color: var(--landing-cobalt);
  border-color: color-mix(in srgb, var(--landing-cobalt) 42%, transparent);
  box-shadow: 0 16px 40px rgba(25, 25, 54, .12);
}

.mix-post-toc-rail:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 3px;
}

.mix-post-toc-panel {
  position: absolute;
  top: 50%;
  left: 64px;
  width: min(292px, calc(100vw - 150px));
  max-height: calc(100dvh - 40px);
  padding: 24px;
  overflow-y: auto;
  color: var(--landing-ink);
  border: 1px solid rgba(21, 21, 23, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 24px 60px rgba(25, 25, 54, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-8px, -50%);
  transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
  scrollbar-width: thin;
}

.mix-post-toc[data-open="true"] .mix-post-toc-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
  transition-delay: 0s;
}

.mix-post-toc-panel > p {
  margin: 0 0 18px;
  color: var(--landing-muted);
  font: 700 10px/1.3 "DM Mono", ui-monospace, monospace;
  letter-spacing: .12em;
}

.mix-post-toc-toggle {
  display: none;
}

.mix-post-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mix-post-toc li {
  min-width: 0;
}

.mix-post-toc li[data-level="3"] {
  padding-left: 12px;
}

.mix-post-toc a {
  display: block;
  padding: 10px 12px;
  color: #3c3c46;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.45;
  transition: color 160ms ease, background-color 160ms ease, font-weight 160ms ease;
}

.mix-post-toc a:hover {
  color: var(--landing-cobalt);
  background: rgba(236, 235, 255, .55);
}

.mix-post-toc a[aria-current="location"] {
  color: var(--landing-ink);
  background: var(--landing-lavender);
  font-weight: 750;
}

.mix-post-toc a:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 2px;
}

.mix-post-body h2,
.mix-post-body h3 {
  scroll-margin-top: 110px;
}

/* --- Barra de progresso de leitura (aprendizado Soceo) --- */

.mix-post-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483000;
  width: 0;
  height: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--landing-cobalt);
  pointer-events: none;
}

/* --- Leia também --- */

.mix-post-related {
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--landing-border);
}

.mix-post-related > p {
  margin: 0 0 16px;
  color: var(--landing-cobalt);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mix-post-related > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mix-post-related a {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: var(--landing-ink);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.mix-post-related a:hover {
  border-color: rgba(52, 60, 237, .38);
  box-shadow: 0 14px 34px rgba(25, 25, 54, .09);
}

.mix-post-related a:focus-visible {
  outline: 3px solid var(--soceo-focus-ring, #875bf7);
  outline-offset: 2px;
}

.mix-post-related span {
  color: var(--landing-cobalt);
  font: 700 9px/1.3 "DM Mono", ui-monospace, monospace;
  letter-spacing: .1em;
}

.mix-post-related strong {
  margin-top: 9px;
  font: 700 16px/1.3 "Bricolage Grotesque", "Polysans Neutral", Inter, sans-serif;
  letter-spacing: -.015em;
}

.mix-post-related b {
  margin-top: 14px;
  color: var(--landing-cobalt);
  font-size: 11px;
}

/* --- CTA final do blog --- */

.mix-blog-cta {
  color: #fff;
  background: radial-gradient(circle at 72% 20%, var(--soceo-violet-400, #9c6bff) 0, var(--landing-cobalt) 44%, #35106f 100%);
}

.mix-blog-cta .mix-blog-inner {
  max-width: 760px;
  padding: clamp(64px, 8vw, 104px) 0;
  text-align: center;
}

.mix-blog-cta .mix-section-eyebrow {
  color: #d5d7ff;
}

.mix-blog-cta h2 {
  margin: 0;
  font: 700 clamp(30px, 3.8vw, 50px)/1.04 "Bricolage Grotesque", "Polysans Neutral", Inter, sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.mix-blog-cta button {
  min-height: 50px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
  padding: 0 24px;
  color: var(--landing-ink);
  border: 0;
  border-radius: 999px;
  background: #fff;
  font: 750 14px/1 Inter, sans-serif;
  cursor: pointer;
  transition: transform 200ms var(--landing-ease-out), box-shadow 200ms ease;
}

.mix-blog-cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(10, 12, 64, .32);
}

.mix-blog-cta button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .58);
  outline-offset: 4px;
}

/* --- Responsivo --- */

@media (max-width: 980px) {
  .mix-blog-inner {
    width: calc(100% - 48px);
  }

  .mix-blog-featured-card {
    grid-template-columns: 1fr;
  }

  .mix-blog-featured-card figure {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .mix-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .mix-post-inner {
    max-width: 980px;
  }

  .mix-post-reading {
    display: block;
  }

  .mix-post-body {
    margin-top: 28px;
  }

  .mix-post-toc {
    position: sticky;
    top: calc(var(--soceo-header-height, 70px) + 8px);
    left: auto;
    z-index: 20;
    width: auto;
    height: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 1px solid var(--landing-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 10px 30px rgba(25, 25, 54, .08);
    transform: none;
  }

  .mix-post-toc-rail {
    display: none;
  }

  .mix-post-toc-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    color: var(--landing-ink);
    border: 0;
    border-radius: 14px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mix-post-toc-toggle:focus-visible {
    outline: 3px solid var(--soceo-focus-ring, #875bf7);
    outline-offset: 3px;
  }

  .mix-post-toc-toggle span,
  .mix-post-toc-toggle strong {
    grid-column: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mix-post-toc-toggle span {
    color: var(--landing-cobalt);
    font: 700 9px/1.3 "DM Mono", ui-monospace, monospace;
    letter-spacing: .1em;
  }

  .mix-post-toc-toggle strong {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.3;
  }

  .mix-post-toc-toggle i {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 180ms ease;
  }

  .mix-post-toc[data-open="true"] .mix-post-toc-toggle i {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .mix-post-toc-panel {
    position: static;
    width: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .mix-post-toc-panel > p {
    display: none;
  }

  .mix-post-toc ol {
    display: none;
    max-height: min(52dvh, 420px);
    padding: 4px 14px 14px;
    overflow-y: auto;
  }

  .mix-post-toc[data-open="true"] ol {
    display: grid;
  }

  .mix-post-toc a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 620px) {
  .mix-blog-inner {
    width: calc(100% - 34px);
  }

  .mix-blog-grid {
    grid-template-columns: 1fr;
  }

  .mix-blog-hero h1,
  .mix-post-head h1 {
    overflow-wrap: anywhere;
  }

  .mix-post-head {
    margin-top: 36px;
  }

  .mix-post-head h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .mix-post-head-tools {
    align-items: flex-start;
    margin-top: 30px;
  }

  .mix-post-share {
    width: 100%;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--landing-border);
  }

  .mix-post-cover {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mix-post-share button {
    transition: none;
  }

  .mix-post-share button:hover {
    transform: none;
  }

  .mix-post-toc-rail,
  .mix-post-toc-panel,
  .mix-post-toc a {
    transition: none;
  }
}
