/* ============================================================
   ARTOMETRICS — Newspaper Theme Extension
   Loaded last so it wins all specificity battles without !important
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Mono&display=swap');

/* ── Color Variables ──────────────────────────────────────── */
:root {
  --art-red:    #C0392B;
  --art-dark:   #1C1C1E;
  --art-mid:    #6B6B6B;
  --art-cream:  #F2F0EB;
  --art-muted:  #D5D5D5;
  --art-navy:   #2C3E6B;
}

/* ── Post content H2: big Playfair with red top border ───── */
.post-content h2,
.gh-content h2,
article .post-content h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-color);
  border-top: 4px solid var(--art-red);
  padding-top: 1rem;
  margin-top: 3rem;
  margin-bottom: 0.3rem;
  text-align: center;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

/* ── Post content H3: small uppercase gray label ─────────── */
.post-content h3,
.gh-content h3,
article .post-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--art-mid);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  text-align: center;
  margin-top: 0.4rem;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

/* ── Body text in posts ───────────────────────────────────── */
.post-content p,
article p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-color);
}

/* ── Blockquote: Artometrics pull-quote style ─────────────── */
.post-content blockquote,
article blockquote {
  border-left: 5px solid var(--art-red);
  background: var(--art-cream);
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-style: italic;
  border-radius: 0 4px 4px 0;
  margin: 2rem 0;
}

/* ── Links in posts ───────────────────────────────────────── */
.post-content a {
  color: var(--art-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content a:hover {
  color: var(--art-navy);
}

/* ── Horizontal rules ─────────────────────────────────────── */
.post-content hr {
  border: none;
  border-top: 1px solid var(--art-muted);
  margin: 3rem 0;
}

/* ── Image captions ───────────────────────────────────────── */
.post-content figcaption,
.kg-image-card figcaption {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--art-mid);
  font-style: italic;
  text-align: left;
  margin-top: 0.5rem;
}

/* ── Inline code ──────────────────────────────────────────── */
.post-content code {
  font-family: 'DM Mono', monospace;
  background: var(--art-cream);
  color: var(--art-red);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.88em;
}

/* ── Post tag pills ───────────────────────────────────────── */
.post-tag {
  color: var(--art-red);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Footer Artometrics strip ─────────────────────────────── */
footer {
  border-top: 3px solid var(--art-red);
}

/* ── Subscribe / accent buttons ───────────────────────────── */
.gh-btn-primary,
.subscribe-btn,
button[type="submit"] {
  background-color: var(--art-red);
  border-color: var(--art-red);
}
