/* ===== Article Detail — page-article.css ===== */

::selection { background-color: var(--primary-blue); color: #fff; text-shadow: none; }
::-moz-selection { background-color: var(--primary-blue); color: #fff; text-shadow: none; }

.article_hero { position: relative; height: 380px; background: #0a0e17; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.article_hero_bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: blur(4px); transform: scale(1.05); }
.article_hero_content { position: relative; z-index: 10; color: #fff; max-width: 900px; padding: 0 20px; margin-top: 30px; }
.cat_badge { display: inline-block; padding: 6px 16px; background: rgba(2,160,225,0.2); border: 1px solid rgba(2,160,225,0.5); color: #02a0e1; font-weight: 700; border-radius: 30px; font-size: 13px; text-transform: uppercase; margin-bottom: 25px; letter-spacing: 1px; }
.article_hero_content h1 { font-size: 42px; font-weight: 800; line-height: 1.3; margin-bottom: 25px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.article_meta { font-size: 14px; color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; gap: 25px; }
.article_meta i { margin-right: 6px; color: #02a0e1; }

.article_container { max-width: 960px; margin: -60px auto 80px; position: relative; z-index: 20; padding: 0 20px; }
.article_card { background: #fff; padding: 60px; border-radius: 16px; box-shadow: var(--shadow-card); }

.article_breadcrumb_nav { margin-bottom: 30px; font-size: 13px; color: #999; border-bottom: 1px solid #f0f2f5; padding-bottom: 15px; }
.article_breadcrumb_nav a { color: #666; text-decoration: none; transition: 0.3s; }
.article_breadcrumb_nav a:hover { color: var(--primary-blue); }
.article_breadcrumb_nav i { color: var(--primary-blue); margin-right: 5px; }

.article_body { font-size: 16px; line-height: 1.8; color: #333; }
.article_body p { margin-bottom: 25px; }
.article_body h2, .article_body h3 { font-size: 24px; font-weight: 700; margin: 40px 0 20px; padding-bottom: 10px; color: var(--text-dark); position: relative; }
.article_body h2 { border-bottom: 2px solid #f0f2f5; }
.article_body h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: var(--primary-blue); }
.article_body img { max-width: 100% !important; height: auto !important; border-radius: 8px; margin: 20px 0; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: block; }
.article_body ul { padding-left: 20px; margin-bottom: 25px; }
.article_body li { margin-bottom: 10px; }
.article_body a { color: var(--primary-blue); text-decoration: none; border-bottom: 1px dashed rgba(2,160,225,0.5); padding: 0 2px; transition: 0.3s; }
.article_body a:hover { background: rgba(2,160,225,0.1); border-bottom-style: solid; border-radius: 2px; }

.article_nav { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 30px; border-top: 1px solid #f0f2f5; }
.article_nav a { display: flex; flex-direction: column; text-decoration: none; color: #666; max-width: 45%; transition: 0.3s; padding: 15px 20px; background: #f8f9fb; border-radius: 12px; border: 1px solid transparent; }
.article_nav a:hover { background: #fff; border-color: var(--primary-blue); box-shadow: 0 10px 25px rgba(2,160,225,0.1); transform: translateY(-3px); }
.article_nav a span { font-size: 12px; color: #999; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.article_nav a strong { font-size: 15px; font-weight: 700; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article_nav a:hover strong { color: var(--primary-blue); }
.nav_prev { text-align: left; }
.nav_next { text-align: right; }

.related_news_sec { margin-top: 60px; }
.related_header h3 { font-size: 22px; font-weight: 800; color: var(--text-dark); border-left: 4px solid var(--primary-blue); padding-left: 15px; margin-bottom: 25px; }
.related_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related_card { display: flex; gap: 15px; background: #fff; padding: 15px; border-radius: 12px; text-decoration: none; transition: 0.3s; border: 1px solid #eee; }
.related_card:hover { box-shadow: 0 10px 25px rgba(2,160,225,0.1); border-color: var(--primary-blue); transform: translateY(-3px); }
.related_img { width: 120px; height: 80px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #f4f6f9; }
.related_info { display: flex; flex-direction: column; justify-content: center; }
.related_info h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: 0.3s; }
.related_card:hover .related_info h4 { color: var(--primary-blue); }
.related_info span { font-size: 12px; color: #999; }

/* Reading progress bar */
#read_progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--primary-gradient); z-index: 99999; transition: width 0.08s linear; pointer-events: none; }

/* Share bar */
.article_share_bar { display: flex; align-items: center; gap: 10px; margin-top: 45px; padding-top: 25px; border-top: 1px solid #f0f2f5; flex-wrap: wrap; }
.share_label { font-size: 12px; font-weight: 700; color: #ccc; text-transform: uppercase; letter-spacing: 1.5px; }
.share_btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; transition: 0.25s; cursor: pointer; border: none; font-family: inherit; }
.share_linkedin { background: #0077b5; color: #fff !important; }
.share_linkedin:hover { background: #005e94; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,119,181,0.35); }
.share_copy { background: #f1f5f9; color: #555; }
.share_copy:hover { background: #e2e8f0; }

/* End CTA */
.article_end_cta { margin-top: 60px; background: linear-gradient(135deg, #0a1628 0%, #0d2444 100%); border-radius: 20px; padding: 55px 50px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.article_end_cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(2,160,225,0.18) 0%, transparent 65%); pointer-events: none; }
.aec_icon { font-size: 42px; color: #02a0e1; margin-bottom: 18px; }
.article_end_cta h3 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.article_end_cta p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 35px; max-width: 500px; margin-left: auto; margin-right: auto; }
.aec_actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.aec_btn_primary { padding: 15px 36px; background: var(--primary-gradient); color: #fff !important; border-radius: 50px; font-weight: 700; font-size: 15px; text-decoration: none; transition: 0.3s; box-shadow: 0 8px 25px rgba(2,160,225,0.35); }
.aec_btn_primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(2,160,225,0.5); }
.aec_btn_outline { padding: 14px 34px; color: rgba(255,255,255,0.85) !important; border: 1.5px solid rgba(255,255,255,0.28); border-radius: 50px; font-weight: 700; font-size: 15px; text-decoration: none; transition: 0.3s; }
.aec_btn_outline:hover { border-color: rgba(255,255,255,0.75); color: #fff !important; background: rgba(255,255,255,0.08); }

@media (max-width: 768px) {
  .article_hero { height: 300px; }
  .article_hero_content h1 { font-size: 28px; }
  .article_card { padding: 30px 20px; }
  .article_nav { flex-direction: column; gap: 15px; }
  .article_nav a { max-width: 100%; text-align: left !important; }
  .related_grid { grid-template-columns: 1fr; }
  .article_end_cta { padding: 40px 22px; }
  .article_end_cta h3 { font-size: 22px; }
  .aec_actions { flex-direction: column; align-items: stretch; }
  .aec_btn_primary, .aec_btn_outline { text-align: center; }
}
