/* ============================================================
   Seethru Research — Ghost Theme
   Article body styles for .gh-content
   ============================================================ */

/* Base article typography */
.gh-content {
  color: rgba(225, 227, 225, 0.9);
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.gh-content > * + * {
  margin-top: 1.75rem;
}

/* Lead paragraph */
.gh-content > p:first-child {
  font-size: 1.125rem;
  font-weight: 500;
  color: #e1e3e1;
}

/* Headings */
.gh-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: #e1e3e1;
  border-left: 4px solid #b0cfa2;
  padding-left: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-top: 3rem;
}

.gh-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #b0cfa2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2.5rem;
}

/* Links */
.gh-content a {
  color: #b0cfa2;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(176, 207, 162, 0.4);
  transition: text-decoration-color 0.2s;
}

.gh-content a:hover {
  text-decoration-color: #b0cfa2;
}

/* Strong / em */
.gh-content strong {
  color: #e1e3e1;
  font-weight: 600;
}

.gh-content em {
  color: #c3c8bd;
}

/* Blockquote */
.gh-content blockquote {
  background: #191c1b;
  border-left: 4px solid #b0cfa2;
  padding: 2rem;
  font-style: italic;
  font-size: 1.125rem;
  color: rgba(225, 227, 225, 0.8);
  margin: 2rem 0;
}

.gh-content blockquote p {
  margin: 0;
}

/* Code inline */
.gh-content code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
  background: #1d201f;
  color: #b0cfa2;
  padding: 0.15em 0.4em;
  border: 1px solid rgba(67, 72, 63, 0.4);
}

/* Code block */
.gh-content pre {
  background: #191c1b;
  border-left: 4px solid #b0cfa2;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.gh-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: #a0bf92;
  line-height: 1.7;
}

/* Unordered list */
.gh-content ul {
  space-y: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.gh-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.gh-content ul li::before {
  content: '//';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: #b0cfa2;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* Ordered list */
.gh-content ol {
  padding-left: 0;
  list-style: none;
  counter-reset: ol-counter;
}

.gh-content ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  counter-increment: ol-counter;
}

.gh-content ol li::before {
  content: '/0' counter(ol-counter);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: #b0cfa2;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* Horizontal rule */
.gh-content hr {
  border: none;
  border-top: 1px solid rgba(67, 72, 63, 0.3);
  margin: 3rem 0;
}

/* Images */
.gh-content img {
  width: 100%;
  height: auto;
  filter: grayscale(30%);
  opacity: 0.85;
  margin: 2rem 0;
  border-left: 2px solid #b0cfa2;
}

.gh-content figure {
  margin: 2rem 0;
}

.gh-content figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: rgba(195, 200, 189, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* Tables */
.gh-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  border-top: 1px solid rgba(67, 72, 63, 0.3);
  margin: 2rem 0;
}

.gh-content table thead tr {
  background: rgba(51, 53, 52, 0.5);
}

.gh-content table th {
  padding: 1rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b0cfa2;
  font-weight: 600;
}

.gh-content table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(67, 72, 63, 0.15);
  color: rgba(225, 227, 225, 0.85);
}

.gh-content table tr:nth-child(even) {
  background: rgba(29, 32, 31, 0.5);
}

.gh-content table td:last-child {
  color: #b0cfa2;
}

/* ============================================================
   Koenig editor — required width classes
   ============================================================ */

.gh-content .kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 2rem calc(50% - 42.5vw);
  max-width: 1200px;
}

.gh-content .kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}

.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
  width: 100%;
}

/* ============================================================
   Ghost card embed (video, bookmark, etc.) */
.gh-content .kg-card {
  margin: 2rem 0;
}

.gh-content .kg-bookmark-card {
  border-left: 2px solid rgba(176, 207, 162, 0.3);
  background: #191c1b;
  padding: 1.25rem;
}

.gh-content .kg-bookmark-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #e1e3e1;
  font-size: 0.9rem;
}

.gh-content .kg-bookmark-description {
  color: #c3c8bd;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

.gh-content .kg-bookmark-url {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: #b0cfa2;
  margin-top: 0.5rem;
}

/* Callout card */
.gh-content .kg-callout-card {
  display: flex;
  gap: 1rem;
  background: #191c1b;
  border-left: 4px solid #b0cfa2;
  padding: 1.25rem;
}

.gh-content .kg-callout-text {
  color: #c3c8bd;
  font-size: 0.9rem;
}
