/* Leros Capital Content & Reading Editorial Styles */

.content-shell {
  max-width: 820px;
}

.content-article {
  max-width: 72ch;
  margin: 0 auto;
  text-align: left;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.72;
  text-shadow: none;
}

.content-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.content-title {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.content-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.content-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  transition: color 0.15s ease;
}

.content-back-link:hover {
  color: #fff;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
  color: #fff;
  font-weight: 600;
  margin-top: 2.1rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
  scroll-margin-top: 1.5rem;
}

.content-body h2 {
  font-size: 1.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.content-body h3 {
  font-size: 1.2rem;
}

.content-body p {
  margin-bottom: 1.15rem;
}

.content-body a {
  color: #93c5fd;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.4);
  text-underline-offset: 0.2em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.content-body a:hover {
  color: #bfdbfe;
  text-decoration-color: #bfdbfe;
}

.content-body strong {
  color: #fff;
  font-weight: 600;
}

.content-body ul,
.content-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.content-body li {
  margin-bottom: 0.45rem;
}

.content-body blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 0 0.5rem 0.5rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.content-body blockquote p:last-child {
  margin-bottom: 0;
}

.content-body code {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.content-body pre {
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.content-body pre code {
  background: transparent;
  padding: 0;
}

.content-body hr {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 2rem 0;
}

.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Reading Index List */

.reading-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reading-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(22, 27, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.reading-item:hover {
  background: rgba(22, 27, 34, 0.95);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.reading-item-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}

.reading-item:hover .reading-item-title {
  color: #93c5fd;
}

.reading-item-date {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.875rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
