.article-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 60px 0 48px;
}
.container-custom { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.9rem; }
.breadcrumb-nav a { color: #d0d0e0; text-decoration: none; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav .sep { color: #888; }
.breadcrumb-nav .current { color: #fff; font-weight: 500; }
.cat-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; text-decoration: none; color: #fff; }
.article-hero h1 { font-size: 2.2rem; font-weight: 700; margin: 0 0 18px; line-height: 1.3; }
.article-meta { display: flex; gap: 24px; color: #c8c8d8; font-size: 0.95rem; }

.article-section { padding: 56px 0; background: #f7f9fc; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.article-main { background: #fff; border-radius: 18px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.article-layout-full { display: block; }
.article-main-full { background: #fff; border-radius: 18px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); max-width: 900px; margin: 0 auto; }
.featured-image { margin: -40px -40px 36px; border-radius: 18px 18px 0 0; overflow: hidden; background: #eef1f5; }
.featured-image img { width: 100%; height: auto; display: block; }
.article-body { font-size: 1.05rem; line-height: 1.8; color: #2a2a3a; }
.article-body p { margin: 0 0 18px; }
.article-body h2, .article-body h3, .article-body h4 { margin: 28px 0 14px; font-weight: 700; color: #1a1a2e; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; padding: 0; }
.article-body li { margin: 8px 0; }
.article-body blockquote { border-left: 4px solid #6366f1; padding: 14px 20px; margin: 20px 0; background: #f5f7fb; border-radius: 0 10px 10px 0; color: #444; }
.article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags a { padding: 6px 14px; background: #eef1f5; color: #505060; border-radius: 50px; text-decoration: none; font-size: 0.9rem; }
.tags a:hover { background: #6366f1; color: #fff; }
.back-link { color: #505060; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.back-link:hover { color: #6366f1; }

.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: #fff; border-radius: 16px; padding: 22px 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.widget-title { font-size: 1rem; font-weight: 700; margin: 0 0 16px; color: #1a1a2e; }
.widget-categories { list-style: none; margin: 0; padding: 0; }
.widget-categories li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.widget-categories li:last-child { border-bottom: none; }
.widget-categories a { color: #303040; text-decoration: none; font-weight: 500; }
.widget-categories a:hover { color: #6366f1; }
.widget-categories .count { background: #eef1f5; color: #606070; padding: 3px 10px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }

.widget-posts { list-style: none; margin: 0; padding: 0; }
.widget-posts li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.widget-posts li:last-child { border-bottom: none; }
.wp-thumb { width: 44px; height: 44px; background: #eef1f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.wp-info { flex: 1; min-width: 0; }
.wp-info a { display: block; color: #303040; text-decoration: none; font-weight: 500; font-size: 0.92rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-info a:hover { color: #6366f1; }
.wp-info .wp-date { display: block; color: #9090a0; font-size: 0.82rem; margin-top: 4px; }

.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags a { display: inline-block; padding: 6px 14px; background: #eef1f5; color: #505060; border-radius: 50px; text-decoration: none; font-size: 0.88rem; transition: all 0.2s ease; }
.widget-tags a:hover { background: #6366f1; color: #fff; }

.rec-section { padding: 56px 0; background: #fff; }
.rec-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.rec-header h2 { font-size: 1.5rem; font-weight: 700; margin: 0; color: #1a1a2e; }
.rec-link { color: #6366f1; text-decoration: none; font-weight: 600; }
.rec-link:hover { text-decoration: underline; }
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rec-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #f7f9fc; border-radius: 14px; text-decoration: none; transition: all 0.25s ease; }
.rec-card:hover { background: #eef3ff; transform: translateY(-3px); }
.rec-num { width: 44px; height: 44px; background: #6366f1; color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.rec-info { flex: 1; min-width: 0; }
.rec-title { font-size: 1rem; font-weight: 600; color: #2a2a3a; line-height: 1.4; margin-bottom: 6px; }
.rec-excerpt { font-size: 0.9rem; color: #707080; line-height: 1.5; margin-bottom: 6px; }
.rec-date { font-size: 0.85rem; color: #9090a0; }

.error-section { padding: 120px 0; text-align: center; background: #f7f9fc; min-height: 60vh; }
.err-icon { font-size: 5rem; margin-bottom: 20px; }
.error-section h1 { font-size: 2rem; margin: 0 0 12px; color: #1a1a2e; }
.error-section p { font-size: 1.05rem; color: #606070; margin: 0 0 28px; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; background: #1a1a2e; color: #fff; text-decoration: none; border-radius: 50px; font-weight: 600; }
.btn-back:hover { background: #0FAC75; }

@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { order: -1; }
    .article-main-full { padding: 30px; }
    .rec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .article-hero { padding: 48px 0 36px; }
    .article-hero h1 { font-size: 1.6rem; }
    .article-main { padding: 24px; }
    .article-main-full { padding: 24px; }
    .featured-image { margin: -24px -24px 24px; }
    .rec-grid { grid-template-columns: 1fr; }
    .rec-card { flex-direction: column; text-align: center; }
}
