/* Articles & videos — listing cards, embeds, share bar. */

.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.25rem;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.article-card--featured {
  border: 2px solid var(--primary-color, #0d6efd);
}

.article-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1e293b;
}

.article-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.article-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 18, 0.35);
  color: #fff;
  font-size: 1.75rem;
  pointer-events: none;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.article-kind-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #e2e8f0;
  color: #334155;
}

.article-kind-badge--video {
  background: #dbeafe;
  color: #1d4ed8;
}

.article-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.article-category-pill {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.article-category-pill:hover {
  color: var(--primary-color, #2563eb);
  border-color: rgba(37, 99, 235, 0.35);
  background: #eff6ff;
}

.article-category-pill.is-active {
  color: #ffffff;
  background: var(--primary-color, #2563eb);
  border-color: var(--primary-color, #2563eb);
}

.article-category-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-color, #2563eb);
}

.article-category-badge:hover {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-color, #2563eb);
}

.article-category-back-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-color, #2563eb);
}

.article-category-back-link:hover {
  text-decoration: underline;
}

.article-card-title {
  font-size: 1.125rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.article-card-title a {
  color: inherit;
  text-decoration: none;
}

.article-card-title a:hover {
  color: var(--primary-color, #0d6efd);
}

.article-card-summary {
  flex: 1;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

.article-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color, #0d6efd);
  text-decoration: none;
}

.article-card-link:hover {
  text-decoration: underline;
}

/* Video embed (16:9 responsive) */
.article-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 0.25rem;
  overflow: hidden;
}

.article-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

.article-detail-hero img,
.article-detail-sidebar-thumb img {
  object-fit: cover;
  max-height: 420px;
}

/* Share bar */
.article-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-share-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.article-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.article-share-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.article-share-btn--x:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.article-share-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.article-share-btn--linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}

.article-share-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.article-share-btn--email:hover {
  background: #64748b;
  border-color: #64748b;
  color: #fff;
}

.article-share-btn--copy:hover {
  background: var(--primary-color, #0d6efd);
  border-color: var(--primary-color, #0d6efd);
  color: #fff;
}
