/* Studiobot — articles, plain pages, archives and 404 (WordPress).
   Editor content (.entry-content) follows the same type scale as the legal pages. */

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(7, 7, 10, 0.5);
  transition: color 0.3s;
}
.article-back:hover { color: #07070a; }
.article-back span { color: #f17f2f; }
.article-lead { margin-top: 1.5rem; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; color: rgba(7, 7, 10, 0.65); }
.article-media { overflow: hidden; border-radius: 2rem; aspect-ratio: 16 / 9; background: #ebebee; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.article-tags li { padding: 0.35rem 0.8rem; border-radius: 9999px; border: 1px solid rgba(7, 7, 10, 0.12); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(7, 7, 10, 0.6); }

.text-link { display: inline-flex; align-items: center; gap: 0.45rem; padding-bottom: 2px; border-bottom: 1.5px solid #f17f2f; font-weight: 600; }
.text-link span { color: #f17f2f; transition: transform 0.3s; }
.text-link:hover span { transform: translate(2px, -2px); }

/* ---------- Editor content ---------- */
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content p, .entry-content li { font-size: 17px; line-height: 1.8; color: rgba(7, 7, 10, 0.75); }
.entry-content h2 { margin-top: 3rem; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: #07070a; }
.entry-content h3 { margin-top: 2.25rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; color: #07070a; }
.entry-content h4 { margin-top: 2rem; font-size: 1.1rem; font-weight: 700; color: #07070a; }
.entry-content strong { font-weight: 600; color: #07070a; }
.entry-content a { color: #07070a; text-decoration: underline; text-decoration-color: #f17f2f; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { display: grid; gap: 0.5rem; }
.entry-content ul li { position: relative; padding-left: 1.4rem; }
.entry-content ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.8em; width: 6px; height: 6px; border-radius: 9999px; background: #f17f2f; }
.entry-content ol { list-style: decimal; padding-left: 1.4rem; }
.entry-content ol li::marker { color: #f17f2f; font-weight: 600; }
.entry-content blockquote { margin-top: 2.5rem; margin-bottom: 2.5rem; padding-left: 1.5rem; border-left: 3px solid #f17f2f; }
.entry-content blockquote p { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; color: #07070a; }
.entry-content blockquote cite { display: block; margin-top: 0.75rem; font-size: 14px; font-style: normal; color: rgba(7, 7, 10, 0.5); }
.entry-content figure, .entry-content img { border-radius: 1.25rem; }
.entry-content figure { margin-top: 2.5rem; margin-bottom: 2.5rem; overflow: hidden; }
.entry-content figcaption { margin-top: 0.75rem; font-size: 13px; color: rgba(7, 7, 10, 0.5); text-align: center; }
.entry-content hr { margin: 3rem 0; border: 0; border-top: 1px solid rgba(7, 7, 10, 0.1); }
.entry-content code { padding: 0.15rem 0.4rem; border-radius: 0.4rem; background: rgba(7, 7, 10, 0.06); font-family: "JetBrains Mono", monospace; font-size: 0.9em; }
.entry-content pre { overflow-x: auto; padding: 1.25rem 1.5rem; border-radius: 1rem; background: #07070a; color: #f2efe9; font-size: 14px; }
.entry-content pre code { padding: 0; background: none; }
.entry-content .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 1.25rem; }

/* archive pagination */
.nav-links { display: flex; gap: 0.5rem; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.9rem; border-radius: 9999px; border: 1px solid rgba(7, 7, 10, 0.12); font-size: 14px; font-weight: 600; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: #07070a; border-color: #07070a; color: #f2efe9; }
