/* ==========================================
   ARTICLE PAGE STYLES
   ========================================== */

/* Main Layout Padding */
.article-page {
  padding-top: 76px;
  padding-bottom: 90px;
  padding-left: 16px;
  padding-right: 16px;
}

/* Back Navigation */
.article-back-nav {
  margin-bottom: 12px;
}

.article-back-link {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Header & Meta */
.article-header {
  margin-bottom: 16px;
}

.article-tag {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-orange);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-meta-bar {
  font-size: 0.9rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 10px;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-share-trigger {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
}

/* Hero Image & Caption */
.article-hero-figure {
  margin: 0 0 20px 0;
}

.article-hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
}

.article-hero-caption {
  font-size: 1.2rem;
  color: #64748B;
  margin-top: 6px;
  text-align: center;
  font-style: italic;
}

/* Body Content */
.article-body {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.7;
}

.article-body p {
  margin-bottom: 14px;
}

.article-body strong {
  color: var(--primary-orange);
}

.article-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color:var(--primary-green);
  margin: 22px 0 10px;
  line-height: 1.3;
}

.article-body ul {
  margin: 0 0 16px 18px;
  padding: 0;
}

.article-body li {
  margin-bottom: 6px;
}

.article-callout {
  background: #F0F7F1;
  border-left: 4px solid var(--color-primary);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
}

.article-callout-title {
  display: block;
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.article-callout-text {
  font-size: 1.2rem;
  color: #1E293B;
}

/* Product Promo Card */
.article-promo-card {
  margin: 24px 0;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  text-align: center;
}

.article-promo-title {
  display: block;
  font-size: 1.3rem;
  color:var(--primary-green);
  margin-bottom: 4px;
}

.article-promo-desc {
  font-size: 1.1rem;
  color:var(--primary-green);
  margin: 0 0 12px;
}

.article-promo-btn {
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 10px;
}

/* Divider & Author Box */
.article-divider {
  border: none;
  border-top: 1px solid #E2E8F0;
  margin: 24px 0;
}

.article-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  padding: 12px;
  border-radius: 12px;
}

.article-author-avatar {
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.article-author-name {
  display: block;
  font-size: 0.78rem;
  color: #0F172A;
}

.article-author-bio {
  font-size: 0.68rem;
  color: #64748B;
}

/* Pop-up Share Overlay & Modal */
.share-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.share-modal {
  position: fixed;
  bottom: -100%; left: 0; right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 20px 20px 24px;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
}

.share-overlay.active { 
  opacity: 1; 
  visibility: visible; 
}

.share-modal.active { 
  bottom: 80px;
  width: calc(100% - 32px);
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.share-header-title {
  font-size: 0.85rem;
  color: #0F172A;
}

.btn-close-share {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #94A3B8;
  cursor: pointer;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #334155;
  font-size: 0.68rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.share-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.bg-fb { background: #1877F2; }
.bg-wa { background: #25D366; }
.bg-x  { background: #000000; }
.bg-copy { background: #64748B; }
