/* ═══════════════════════════════════════════════
   FIREZZ — Premium Editorial Article Styles
   ═══════════════════════════════════════════════ */

/* ═══ ARTICLE HERO ═══ */
.article-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  max-height: 800px;
  overflow: hidden;
  margin-bottom: 0;
  background: var(--gray-900);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  display: block;
}

/* ═══ ARTICLE CONTAINER ═══ */
.article-container {
  max-width: 740px;
  margin: -4rem auto 0;
  padding: 3.5rem 48px 3rem;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.article-category {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  display: inline-block;
  border-bottom: 1px solid var(--black);
  padding-bottom: 0.35rem;
}
.article-category a { color: inherit; text-decoration: none; }
.article-category a:hover { color: var(--black); }

.article-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.article-summary {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 0;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 300;
}

.article-meta {
  display: flex;
  gap: 2.5rem;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.article-meta-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}
.article-meta span i { margin-right: 0.3rem; color: var(--gray-300); }

.article-body {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray-800);
  overflow-wrap: break-word;
}

.article-body p { margin-bottom: 1.65rem; }

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 3rem 0 1rem;
  letter-spacing: -0.02em;
  color: var(--black);
}
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--black);
}

.article-body blockquote {
  border-left: 3px solid var(--black);
  padding-left: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gray-600);
  margin: 2.5rem 0;
  font-size: 1.15rem;
  line-height: 1.65;
}

.article-body img {
  width: 100%;
  height: auto;
  margin: 2.5rem 0;
}

.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
}
.article-body table td,
.article-body table th {
  white-space: nowrap;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--gray-200);
}
.article-body pre,
.article-body code {
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 100%;
  font-size: 0.9rem;
}
.article-body iframe { max-width: 100%; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin: 0.4rem 0; }

.author-bio-card {
  background: var(--gray-50);
  padding: 2.5rem;
  text-align: center;
  margin: 3.5rem 0;
  border-top: 2px solid var(--black);
}
.author-bio-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.author-bio-card h5 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.author-bio-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.share-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-right: 0.35rem;
}
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-100);
  color: var(--gray-500);
  transition: all 0.2s;
  text-decoration: none;
  font-size: 0.85rem;
  background: none;
  cursor: pointer;
}
.share-btn:hover { border-color: var(--black); color: var(--black); }
.share-facebook:hover { border-color: #1877f2; color: #1877f2; }
.share-twitter:hover { border-color: var(--black); color: var(--black); }
.share-whatsapp:hover { border-color: #25d366; color: #25d366; }
.share-linkedin:hover { border-color: #0a66c2; color: #0a66c2; }
.share-copy:hover { border-color: var(--black); color: var(--black); }

.tag {
  background: var(--gray-50);
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--gray-600);
}
.tag:hover { background: var(--black); color: var(--white); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .article-hero { height: 45vh; min-height: 300px; }
  .article-container {
    margin-top: -2rem;
    padding: 2rem 24px 2rem;
  }
  .article-title { font-size: 2rem; }
  .article-summary { font-size: 0.95rem; }
  .article-body { font-size: 1rem; }
  .article-meta { gap: 1.5rem; flex-wrap: wrap; }
  .share-buttons { gap: 0.5rem; }
  .share-label { display: none; }
  .author-bio-card { padding: 1.5rem; margin: 2rem 0; }
}

@media (max-width: 576px) {
  .article-hero { height: 35vh; min-height: 220px; }
  .article-container {
    margin-top: -1.5rem;
    padding: 1.5rem 16px 1.5rem;
  }
  .article-title { font-size: 1.5rem; }
  .article-summary { font-size: 0.88rem; }
  .article-body { font-size: 0.95rem; line-height: 1.8; }
  .article-meta { gap: 1rem; flex-direction: column; }
  .article-meta div { display: flex; align-items: center; gap: 0.5rem; }
  .article-meta-label { display: none; }
  .share-buttons { margin: 1.5rem 0; padding: 1rem 0; flex-wrap: wrap; }
  .share-btn { width: 44px; height: 44px; }
  .author-bio-card img { width: 60px; height: 60px; }
}
