/* ── Opinion base styles ── */
.post.is-opinion .post__title {
  display: none;
}

/* Author's own text: full length, no line limit */
.post.is-opinion .post__excerpt,
.post.is-opinion .tl-op-text {
  font-family: var(--serif) !important;
  font-size: 21px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

/* Hashtags */
.p-hashtag {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.9em;
  font-weight: 500;
}

.p-hashtag:hover {
  text-decoration: underline;
}

/* Opinion image */
.post.is-opinion .post__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 0;
}

/* ── Quote block (only quoted opinions) ── */
.post.is-opinion .tl-quote {
  display: block;
  margin: 12px 0 4px;
  padding: 12px 16px;
  border-left: 3px solid #f59e0b;
  border-radius: 3px 12px 12px 3px;
  background: rgba(245, 158, 11, 0.07);
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text2);
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Highlighted quoted text, same look as the highlight inside the article */
.tl-mark {
  background: rgba(255, 213, 79, 0.42);
  border-bottom: 2px solid rgba(245, 158, 11, 0.7);
  border-radius: 3px;
  padding: 0 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  overflow-wrap: anywhere;
}

/* Article preview card under the quote */
.tl-quote .meta-card {
  margin: 12px 0 0;
  background: var(--white);
  font-style: normal;
}

/* Not used by the new script; safe to keep or delete */
.tl-quote-src {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.3;
  font-style: normal;
  color: #b45309;
  text-decoration: none;
}
.tl-quote-src:hover {
  text-decoration: underline;
}

/* Dark mode */
html[data-op-theme="dark"] .tl-quote {
  background: rgba(255, 200, 60, 0.07);
}
html[data-op-theme="dark"] .tl-mark {
  background: rgba(255, 200, 60, 0.22);
  border-bottom-color: rgba(255, 200, 60, 0.65);
}
html[data-op-theme="dark"] .tl-quote-src {
  color: #fbbf24;
}