/* ===== LAYOUT DO ARTIGO ===== */
.article-main { background: var(--gray-bg); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px;
}

/* ===== BREADCRUMB ===== */
.article-breadcrumb { margin-bottom: 16px; }
.article-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.article-breadcrumb li { font-size: 13px; color: var(--gray-light); }
.article-breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 6px; }
.article-breadcrumb a { color: var(--gray); }
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb [aria-current="page"] { color: var(--gray-dark); font-weight: 600; }

/* ===== CONTEÚDO ===== */
.article-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.article-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  font-family: var(--font-serif);
  margin: 12px 0 20px;
}

/* ===== META (autor + data) ===== */
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.article-author { display: flex; align-items: center; gap: 12px; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: 14px; color: var(--gray-dark); }
.author-name a { font-weight: 700; color: var(--dark); }
.author-name a:hover { color: var(--accent); }
.author-title { font-size: 12px; color: var(--gray-light); }
.article-date { font-size: 13px; color: var(--gray-light); text-align: right; }
.reading-time { font-size: 12px; }

/* ===== SHARE BAR ===== */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.share-label { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; }
.share-btn {
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-wpp     { background: #25D366; color: #fff; }
.share-linkedin { background: #0A66C2; color: #fff; }
.share-twitter  { background: #000; color: #fff; }
.share-copy     { background: var(--gray-bg); color: var(--gray-dark); border: 1px solid var(--border); }
.share-bar-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ===== IMAGEM HERO ===== */
.article-hero-img {
  margin: 0 -40px 28px;
  position: relative;
}
.article-hero-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.article-hero-img figcaption {
  font-size: 12px;
  color: var(--gray-light);
  padding: 8px 40px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--border);
  font-style: italic;
}

/* ===== CORPO DO ARTIGO ===== */
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: #2d2d2d;
  font-family: var(--font-serif);
}
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 14px;
  font-family: var(--font-main);
  line-height: 1.3;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
  font-family: var(--font-main);
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--dark); }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body a:hover { color: var(--accent-dark); }

/* Citação */
.article-quote {
  border-left: 4px solid var(--accent);
  background: var(--gray-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-quote p {
  font-size: 18px;
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 8px;
}
.article-quote cite {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  font-style: normal;
}

/* Tags */
.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray-light);
}
.tag-link {
  background: var(--gray-bg);
  color: var(--gray-dark);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background .2s, color .2s;
}
.tag-link:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ===== RESPONSIVO ===== */
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
}
@media (max-width: 700px) {
  .article-content { padding: 24px 20px; }
  .article-hero-img { margin: 0 -20px 24px; }
  .article-hero-img figcaption { padding: 8px 20px; }
  .article-title { font-size: 22px; }
  .article-body { font-size: 16px; }
}
