#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #181818;
  z-index: 99999;
  transition: width 0.1s linear;
}

.single .site-main {
  max-width: 1200px;
}

.single .entry-header {
  display: flex;
  gap: 0;
  align-items: stretch;
  padding: 0 1rem !important;
  flex-direction: column;
}

.day-nav {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
  width: 100%;
}

.dn-link {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.15s;
}

.dn-link.disible {
  opacity: 0.3;
  pointer-events: none;
}

.dn-center {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  color: var(--ink-light);
}

.edition {
  padding: 36px 0 0;
}

.ed-date-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ed-day-big {
  font-family: "JetBrains Mono", monospace;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.ed-dow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.ed-month-year {
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: var(--ink-muted);
}

.ed-read-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
  color: var(--ink-light);
  margin-top: 2px;
}

.edition h1 {
  font-family: "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 720px;
}

.ed-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap;
}

.ed-byline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ed-av {
  width: 28px;
  height: 28px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.48rem;
  color: var(--cream);
  flex-shrink: 0;
}

.ed-byline-text {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.ed-byline-text strong {
  color: var(--ink);
}

.ed-sep {
  width: 1px;
  height: 16px;
  background: var(--rule);
}

.ed-listen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.65rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: opacity 0.15s;
  background: var(--white);
  padding: 6px 12px;
  box-shadow: var(--card-shadow);
}

.ed-listen-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ed-listen-dot svg {
  width: 6px;
  height: 6px;
}

.ed-share {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.ed-share-btn {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule-light);
  color: var(--ink-light);
  transition: all 0.15s;
  cursor: pointer;
}

.entry-content .main {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 160px 1fr 220px;
  gap: 0;
  align-items: start;
  width: 100%;
}

.toc {
  position: sticky;
  top: 80px;
  padding-right: 28px;
}

.entry-content .main.no-toc {
  grid-template-columns: 1fr 220px;
}

.entry-content .main.no-toc .toc {
  display: none;
}

.toc-label {
  font-size: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 10px;
}

.toc-item {
  display: block;
  padding: 5px 0;
  font-size: 0.62rem;
  color: var(--ink-light);
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.15s;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -10px;
}

.toc-item:hover,
.toc-item.active {
  color: var(--ink);
  border-left-color: var(--ink);
}

.body-col h1[id],
.body-col h2[id],
.body-col h3[id],
.body-col h4[id],
.body-col h5[id],
.body-col h6[id] {
  scroll-margin-top: calc(var(--header-offset, 80px) + 16px);
}

.body-col {
  padding: 0 36px;
  border-left: 1px solid var(--rule-light);
  border-right: 1px solid var(--rule-light);
}

.no-toc .body-col {
  border-left: none;
  padding-left: 0;
}

.body {
  font-family: "EB Garamond", serif;
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.72;
}

.sec-h:first-of-type {
  padding-top: 0;
  margin-top: 0;
}

.sec-h {
  padding: 24px 0 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-h-text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  white-space: nowrap;
}

.sec-h-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.sp {
  background: var(--white);
  box-shadow: var(--card-shadow);
  padding: 14px 18px;
  margin: 18px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.5;
  position: relative;
  border-left: 3px solid var(--rule-light);
}

.sp::before {
  content: "SPONSOR";
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ink-light);
}

.sp strong {
  color: var(--ink);
}

.sp a {
  color: var(--ink);
  font-weight: 600;
}

.pull {
  border-left: 3px solid var(--ink);
  padding: 12px 0 12px 20px;
  margin: 20px 0;
  font-family: "EB Garamond", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.45;
}

.pull-attr {
  font-family: "DM Sans", sans-serif;
  font-size: 0.58rem;
  font-style: normal;
  color: var(--ink-light);
  margin-top: 6px;
}

.closing {
  text-align: center;
  padding: 28px 0 8px;
  border-top: 1px solid var(--rule);
  margin-top: 20px;
}

.closing-quote {
  font-family: "EB Garamond", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.4;
  max-width: 480px;
  margin: 0 auto;
}

.closing-attr {
  font-family: "DM Sans", sans-serif;
  font-size: 0.58rem;
  color: var(--ink-light);
  margin-top: 6px;
}

.rob-sig {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: var(--ink-light);
  margin-top: 16px;
  display: inline-block;
  transform: rotate(180deg);
}

.disclaim {
  font-family: "DM Sans", sans-serif;
  font-size: 0.55rem;
  color: var(--ink-light);
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-light);
  line-height: 1.5;
  text-align: left;
}

.side {
  position: sticky;
  top: 80px;
  padding-left: 24px;
}

.sc {
  margin-bottom: 14px;
}

.sc-label {
  font-size: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
}

.show-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  transition: opacity 0.12s;
}

.show-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.show-play svg {
  width: 6px;
  height: 6px;
}

.show-info {
  font-size: 0.62rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.show-info strong {
  color: var(--ink);
  display: block;
}

.rc-item {
  padding: 5px 0;
  border-bottom: 1px solid var(--rule-light);
}

.rc-item a {
  font-family: "EB Garamond", serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  transition: opacity 0.15s;
  display: flex;
}

.rc-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.42rem;
  color: var(--ink-light);
  margin-top: 1px;
}

.rc-item:last-child {
  border-bottom: none;
}

.sc-sub {
  background: var(--ink);
  padding: 16px;
}

.sc-sub .sc-label {
  color: rgba(246, 245, 243, 0.3);
  border-color: rgba(246, 245, 243, 0.1);
}

.sc-sub p {
  font-size: 0.68rem;
  color: rgba(246, 245, 243, 0.4);
  line-height: 1.4;
  margin-bottom: 8px;
}

.sc-sub-row {
  display: flex;
  gap: 4px;
}

.sc-sub-row input {
  flex: 1;
  padding: 7px 9px;
  border: 1px solid rgba(246, 245, 243, 0.08);
  background: rgba(246, 245, 243, 0.03);
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  color: var(--cream);
  outline: none;
}

.sc-sub-row button {
  background: var(--cream);
  color: var(--ink);
  padding: 7px 11px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.bottom-nav {
  padding: 24px 0;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}

.bn-card {
  padding: 12px 0;
}

.bn-dir {
  font-size: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 4px;
}

.bn-hl {
  font-family: "EB Garamond", serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.bn-hl a {
  color: var(--ink);
  transition: opacity 0.15s;
}

.bn-card:last-child {
  text-align: right;
}

@media (max-width: 1000px) {
  .edition h1 {
    font-size: 1.35rem;
  }
  .wrap,
  .wrap-narrow,
  .day-nav,
  .bottom-nav {
    padding-left: 24px;
    padding-right: 24px;
  }

  .entry-content .main {
    display: block;
  }

  .bottom-nav {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    padding: 0;
    margin-bottom: 24px;
    border-right: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .toc-label {
    display: none;
  }

  .toc-item {
    border-left: none;
    margin-left: 0;
    background: var(--white);
    padding: 4px 10px;
    font-size: 0.58rem;
  }

  .body-col {
    border: none;
    padding: 0;
  }

  .bn-card:last-child {
    text-align: left;
  }
}

.single .post-thumbnail {
  flex: 0 0 400px;
  max-width: 400px;
  margin-bottom: 0;
}

.single .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.single .entry-header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0;
}

.single .post-categories {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.single .category-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background-color: var(--ink);
  color: var(--color-white, #ffffff);
  font-size: 20px;
  font-weight: var(--font-weight-bold, 700);
  letter-spacing: 0.05em;
  border-radius: 9px;
  line-height: 20px;
  font-family: var(--font-editorial);
}

.single .entry-title {
  font-family: var(--font-editorial);
  color: var(--color-primary, var(--ink));
  font-weight: var(--font-weight-black, 900);
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.single .entry-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-gray-dark, #666);
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-weight: var(--font-weight-bold);
}

.single .entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto 0 0;
  border-top: none;
}

.single .post-author {
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium, 450);
  color: var(--ink);
}

.single .post-date {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

.single .entry-content {
  padding: 0 20px;
}

.single .entry-content .body-col p {
  font-family: "EB Garamond", serif;
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.72;
  margin-top: 0;
}

.single .entry-content h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-black);
  color: var(--ink);
  margin: 2.5rem 0 1.5rem;
  letter-spacing: -0.02em;
}

.single .entry-content h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--ink);
  margin: 2rem 0 1rem;
}

.single .entry-content ul,
.single .entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.single .entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
  list-style: none;
}

.single .entry-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--rule);
  background-color: var(--color-gray-light, #f8f8f8);
  font-style: italic;
  font-size: 1.25rem;
}

.single .entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
}

.single .page-links {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
  font-weight: var(--font-weight-bold, 700);
}

@media (max-width: 768px) {
  .single .entry-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .single .post-thumbnail {
    flex: none;
    max-width: 100%;
  }

  .single .entry-title {
    font-size: 2rem;
  }

  .single .entry-content p {
    font-size: 1rem;
  }

  .single .entry-content h2 {
    font-size: 1.5rem;
  }

  .single .entry-content h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .single .entry-title {
    font-size: 1.5rem;
  }

  .single .entry-meta {
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.more-posts-section h2 {
  margin-top: 0;
}

/* More Posts Section */
.more-posts-section {
  margin: 72px auto 0;
  padding: 72px 48px 72px;
  border-top: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .more-posts-section {
    margin-top: 48px;
    padding: 48px 20px 48px;
  }
}

.more-posts-title {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  font-family: var(--font-editorial);
  text-transform: uppercase;
}

/* More Posts List - Layout like Post Header */
.more-posts-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 2rem;
}

.more-post-item {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-gray-medium, #e1e1e1);
  transition: all 0.3s ease;
}

.more-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Image on left - same as post header */
.more-post-thumbnail {
  flex: 0 0 400px;
  max-width: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.more-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.more-post-item:hover .more-post-thumbnail img {
  transform: scale(1.02);
}

/* Content on right - same as post header */
.more-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.more-post-title {
  font-size: 2.4rem;
  font-weight: var(--font-weight-black, 900);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.more-post-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.more-post-title a:hover {
  opacity: 0.7;
}

/* More Post Excerpt */
.more-post-excerpt {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-gray-dark, #666);
  margin-top: 0.5rem;

  /* Limit to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.64rem;
  color: var(--ink-light, #666);
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-ui);
}

.more-post-author {
  font-weight: var(--font-weight-medium, 450);
  color: var(--ink-light);
}

.more-post-date {
  color: var(--ink-light, #666);
}

/* Load More Button */
.more-posts-footer {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background-color: var(--ink, var(--ink));
  color: var(--cream, #ffffff);
  border: none;
  font-size: 1rem;
  font-weight: var(--font-weight-bold, 700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-family: var(--font-editorial);
}

.load-more-btn:hover {
  background-color: var(--ink-soft);
  transform: translateY(-2px);
}

.load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.load-more-btn.loading {
  opacity: 0.7;
}

.no-more-posts {
  font-size: 1rem;
  color: var(--color-gray-dark, #666);
  margin: 0;
}

.meta-share {
  display: flex;
  gap: 7px 16px;
  align-items: center;
}

.meta-share a {
  padding: 8px;
  display: flex;
}

.meta-share a svg,
button.copy-link-btn svg {
  width: 16px;
  height: auto;
}

button.copy-link-btn {
  padding: 8px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.meta-block {
  margin-top: 80px;
}

.vGXSsh:after {
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #000;
  content: "";
  left: -8.6px;
  top: -10px;
}

span.vGXSsh {
  position: absolute;
  display: flex;
  top: 30px;
  transform: translateX(-50%);
  left: 50%;
}

.meta-block a {
  font-size: 16px;
  text-decoration: none !important;
}

.category,
.tags {
  margin-bottom: 24px;
}

.meta-block .tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-block .tags a {
  -st-extends: StylableButton;
  transition:
    all 0.2s ease,
    visibility 0s;
  border: 0px solid #ffffff;
  border-radius: 100px;
  padding-left: 16px;
  padding-right: 16px;
  background: rgba(24, 24, 24, 0.06);
  padding-top: 6px;
  padding-bottom: 6px;
}

.meta-block a:hover {
  background-color: transparent !important;
  color: var(--ink) !important;
}

.meta-block .tags a:hover {
  background: rgba(24, 24, 24, 0.2) !important;
}

.my-author a {
  text-transform: capitalize;
}

.meta-time {
  font-size: 14px;
  color: #000;
}

hr {
  margin: 24px 0;
}

.copy-tooltip {
  position: absolute;
  background: #000;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  top: -40px;
  left: 0;
  transform: translateX(-30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  min-width: 85px;
}

.copy-tooltip.show {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .more-posts-grid {
    gap: 2rem;
  }

  .more-post-item {
    flex-direction: column;
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  .more-post-thumbnail {
    flex: none;
    max-width: 100%;
  }

  .more-post-thumbnail img {
    height: auto;
    max-height: 300px;
  }

  .more-posts-title {
    font-size: 1.75rem;
  }

  .more-post-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .more-posts-title {
    font-size: 1.5rem;
  }

  .more-post-title {
    font-size: 1.5rem;
  }

  .more-post-thumbnail img {
    max-height: 200px;
  }
}
