
.tsb-post {
  --ts-ivory: #F7F3EC;
  --ts-paper: #EFE7DA;
  --ts-ink: #1E2433;
  --ts-plum: #5A365E;
  --ts-wine: #7A3E4D;
  --ts-gold: #C8A96B;
  --ts-slate: #667085;
  width: 100%;
  max-width: 820px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 0 50px;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ts-ink);
  overflow-wrap: break-word;
}

.tsb-post,
.tsb-post *,
.tsb-post *::before,
.tsb-post *::after {
  box-sizing: border-box;
}

.tsb-post :where(h1,h2,h3,p,figure,blockquote) {
  margin-top: 0;
}

.tsb-post a {
  color: var(--ts-wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tsb-post a:hover {
  color: var(--ts-plum);
}

.tsb-post a:focus-visible,
.tsb-post summary:focus-visible,
.tsb-post [tabindex]:focus-visible {
  outline: 2px solid var(--ts-wine);
  outline-offset: 3px;
}

/* ARTICLE INTRODUCTION */

.tsb-post .tsb-intro {
  position: relative;
  margin: 0 0 30px;
  padding: 4px 0 25px;
  border-bottom: 1px solid rgba(200,169,107,.5);
}

.tsb-post .tsb-intro::before {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin: 0 0 23px;
  background: linear-gradient(
    90deg,
    var(--ts-wine),
    var(--ts-gold)
  );
}

.tsb-post h1 {
  margin: 0 0 23px;
  color: var(--ts-ink);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(35px,5.2vw,58px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -.047em;
}

.tsb-post .tsb-lede {
  margin: 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--ts-gold);
  color: #465069;
  font-size: clamp(17px,2vw,19px);
  line-height: 1.82;
}

/* COMPACT CONTENTS MENU */

.tsb-post .tsb-toc {
  margin: 27px 0 39px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #E1D7C7;
  border-radius: 8px;
  background: linear-gradient(
    120deg,
    #FBF9F5,
    #F2ECE4
  );
}

.tsb-post .tsb-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--ts-ink);
  font-family: Manrope,Arial,sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.tsb-post .tsb-toc summary::-webkit-details-marker {
  display: none;
}

.tsb-post .tsb-toc summary::after {
  content: "+";
  color: var(--ts-wine);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.tsb-post .tsb-toc[open] summary::after {
  content: "−";
}

.tsb-post .tsb-toc nav {
  padding: 9px 18px 16px;
  border-top: 1px solid #E1D7C7;
}

.tsb-post .tsb-toc ol {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.tsb-post .tsb-toc li {
  min-width: 0;
  margin: 0;
  counter-increment: toc;
}

.tsb-post .tsb-toc li a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 4px;
  color: #404A60;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.tsb-post .tsb-toc li a::before {
  content: counter(toc,decimal-leading-zero);
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ts-wine);
  font-size: 10px;
  font-weight: 800;
}

.tsb-post .tsb-toc li a:hover {
  color: var(--ts-wine);
}

/* ARTICLE TYPOGRAPHY */

.tsb-post .tsb-body {
  min-width: 0;
}

.tsb-post .tsb-body p {
  margin: 0 0 23px;
  color: #404A5A;
  font-size: 16px;
  line-height: 1.93;
}

.tsb-post .tsb-body strong {
  color: var(--ts-ink);
  font-weight: 750;
}

.tsb-post .tsb-opening {
  padding: 0 0 7px;
}

.tsb-post .tsb-section {
  margin: 0;
  padding: 22px 0 5px;
  border: 0;
}

.tsb-post .tsb-section h2 {
  margin: 23px 0 25px;
  color: var(--ts-ink);
  font-family: Fraunces,Georgia,serif;
  font-size: clamp(29px,4.5vw,39px);
  font-weight: 550;
  line-height: 1.23;
  letter-spacing: -.035em;
  scroll-margin-top: 28px;
}

.tsb-post .tsb-section h2::before {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--ts-gold);
}

.tsb-post .tsb-section h3 {
  margin: 32px 0 16px;
  color: var(--ts-wine);
  font-family: Fraunces,Georgia,serif;
  font-size: clamp(21px,3vw,26px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -.02em;
  scroll-margin-top: 25px;
}

.tsb-post .tsb-body ul,
.tsb-post .tsb-body ol {
  margin: 10px 0 25px;
  padding-left: 1.35em;
}

.tsb-post .tsb-body li {
  margin-bottom: 8px;
  color: #404A5A;
  font-size: 16px;
  line-height: 1.85;
}

/* LITERARY QUOTATIONS */

.tsb-post .tsb-quote {
  margin: 32px 0 33px;
  padding: 29px clamp(22px,4vw,37px);
  border: 0;
  border-left: 3px solid var(--ts-wine);
  border-radius: 0 6px 6px 0;
  background: #F0E8DC;
}

.tsb-post .tsb-quote p {
  margin: 0 !important;
  color: var(--ts-plum) !important;
  font-family: Fraunces,Georgia,serif !important;
  font-size: clamp(22px,3.3vw,28px) !important;
  font-weight: 400;
  line-height: 1.58 !important;
  letter-spacing: -.017em;
}

/* RESPONSIVE TABLES */

.tsb-post .tsb-table-scroll {
  max-width: 100%;
  margin: 28px 0 30px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid #E0D5C6;
  border-radius: 7px;
  background: #FFFDF9;
}

.tsb-post .tsb-table-scroll table {
  width: 100%;
  min-width: 585px;
  margin: 0;
  border-collapse: collapse;
  font-family: Manrope,Arial,sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.tsb-post table th,
.tsb-post table td {
  padding: 15px 17px;
  color: var(--ts-ink);
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #E7DED2;
}

.tsb-post table thead th {
  background: #EEE5D9;
  font-size: 12px;
  font-weight: 800;
}

.tsb-post table tbody tr:nth-child(even) {
  background: #FAF7F1;
}

.tsb-post table tbody tr:last-child td {
  border-bottom: 0;
}

/* EDUCATIONAL INFOGRAPHIC */

.tsb-post .tsb-infographic {
  margin: 30px 0 31px;
  padding: 7px;
  border: 1px solid #DCCBAC;
  border-radius: 5px;
  background: #FFFDF9;
}

.tsb-post .tsb-infographic a,
.tsb-post .tsb-infographic img {
  display: block;
  width: 100%;
}

.tsb-post .tsb-infographic img {
  height: auto;
  object-fit: contain;
}

/* AUTHOR CARD */

.tsb-post .tsb-attribution {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 42px 0 0;
  padding: 22px;
  border: 1px solid #E0D3C1;
  border-radius: 7px;
  background: #F0E8DC;
}

.tsb-post .tsb-attribution img {
  display: block;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
}

.tsb-post .tsb-attribution p {
  margin: 0 !important;
  color: var(--ts-ink);
  font-size: 14px;
  line-height: 1.6;
}

/* MOBILE */

@media (max-width:620px) {
  .tsb-post {
    padding-bottom: 30px;
  }

  .tsb-post h1 {
    font-size: clamp(33px,8.4vw,43px);
  }

  .tsb-post .tsb-lede {
    padding-left: 15px;
    font-size: 16px;
  }

  .tsb-post .tsb-toc ol {
    grid-template-columns: 1fr;
  }

  .tsb-post .tsb-toc summary {
    padding: 15px 17px;
  }

  .tsb-post .tsb-toc nav {
    padding: 7px 16px 13px;
  }

  .tsb-post .tsb-body p {
    font-size: 15.5px;
    line-height: 1.88;
  }

  .tsb-post .tsb-section {
    padding-top: 16px;
  }

  .tsb-post .tsb-section h2 {
    font-size: clamp(27px,7.5vw,33px);
  }

  .tsb-post .tsb-quote {
    margin: 25px 0;
    padding: 23px 20px;
  }

  .tsb-post .tsb-quote p {
    font-size: 22px !important;
  }

  .tsb-post .tsb-attribution {
    gap: 13px;
    padding: 16px;
  }

  .tsb-post .tsb-attribution img {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .tsb-post * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Sprint repair: preserve source typography and protect wide data elements. */
.tsb-post pre{max-width:100%;overflow-x:auto}

