/* ============================================================
   BLOG P8 — Artigo (Forbes-like)
   ============================================================ */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--blog-red); width: 0%; z-index: 200;
  transition: width .1s linear;
}
.article { max-width: 1280px; margin: 0 auto; padding: 40px 24px; }
.article__head { max-width: 820px; margin: 0 auto 32px; text-align: left; }
.article__head h1 {
  font-family: var(--blog-serif); font-weight: 800;
  font-size: clamp(30px, 5vw, 54px); line-height: 1.1;
  margin-bottom: 16px;
}
.article__sub { font-size: 20px; color: var(--blog-gray-4); margin-bottom: 20px; }
.article__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--blog-gray-3); }
.article__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.article__cover { max-width: 1080px; margin: 0 auto 40px; }
.article__cover img { width: 100%; }
.article__cover figcaption { font-size: 12px; color: var(--blog-gray-3); margin-top: 8px; }

.article__layout {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr 200px;
  gap: 40px;
}
.article__toc { position: sticky; top: 100px; align-self: start; font-size: 13px; }
.article__toc h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blog-red); margin-bottom: 12px; }
.article__toc ul { list-style: none; }
.article__toc a { display: block; padding: 5px 0; color: var(--blog-gray-4); border-left: 2px solid transparent; padding-left: 10px; }
.article__toc a:hover, .article__toc a.is-active { color: var(--blog-black); border-color: var(--blog-red); }

.article__body { font-size: 18px; line-height: 1.75; }
.article__body h2 { font-family: var(--blog-serif); font-size: 30px; font-weight: 700; margin: 40px 0 16px; }
.article__body h3 { font-family: var(--blog-serif); font-size: 22px; font-weight: 700; margin: 30px 0 12px; }
.article__body p { margin-bottom: 20px; }
.article__body blockquote {
  border-left: 4px solid var(--blog-red);
  padding: 10px 0 10px 24px; margin: 30px 0;
  font-family: var(--blog-serif); font-size: 24px; font-style: italic;
}
.article__body img { margin: 30px 0; }

.article__side { position: sticky; top: 100px; align-self: start; }
.share h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blog-red); margin-bottom: 12px; }
.share a, .share button {
  display: block; width: 100%; text-align: left;
  padding: 8px 0; font-size: 13px; font-weight: 600;
  border: none; background: none; cursor: pointer;
  border-bottom: 1px solid var(--blog-gray-2);
}
.share a:hover, .share button:hover { color: var(--blog-red); }

.article__author {
  max-width: 820px; margin: 50px auto; padding: 24px;
  background: var(--blog-gray-1); display: flex; gap: 20px; align-items: flex-start;
}
.article__author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

.related { max-width: 1280px; margin: 0 auto; padding: 40px 24px; border-top: 1px solid var(--blog-gray-2); }
.related h2 { font-family: var(--blog-serif); font-size: 24px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related__card img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 12px; }
.related__card h3 { font-family: var(--blog-serif); font-size: 18px; font-weight: 700; line-height: 1.3; }

@media (max-width: 1024px) {
  .article__layout { grid-template-columns: 1fr; }
  .article__toc, .article__side { position: static; }
  .related__grid { grid-template-columns: 1fr; }
}