/* ═══════════════════════════════════════════
   BLOG POST - SHARED STYLES FOR ALL POSTS
═══════════════════════════════════════════ */

.article-hero {
    background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}

.article-hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.article-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 50px;
    color: #00BFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-hero h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.article-meta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    margin-top: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.meta-item i { color: #00BFFF; }

.meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00BFFF, #00E5FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0A;
    font-weight: 700;
    font-size: 13px;
}

.article-banner {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), rgba(0, 229, 255, 0.05));
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 50px 0;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.article-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 49%, rgba(0, 191, 255, 0.04) 49%, rgba(0, 191, 255, 0.04) 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 191, 255, 0.04) 49%, rgba(0, 191, 255, 0.04) 51%, transparent 51%);
    background-size: 30px 30px;
}

.article-banner i {
    font-size: 100px;
    background: linear-gradient(135deg, #00BFFF, #00E5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.article-layout {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.share-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.share-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.share-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 191, 255, 0.3);
}

.share-btn.linkedin:hover { background: rgba(10, 102, 194, 0.15); color: #0A66C2; border-color: #0A66C2; }
.share-btn.twitter:hover { background: rgba(29, 161, 242, 0.15); color: #1DA1F2; border-color: #1DA1F2; }
.share-btn.whatsapp:hover { background: rgba(37, 211, 102, 0.15); color: #25D366; border-color: #25D366; }
.share-btn.facebook:hover { background: rgba(24, 119, 242, 0.15); color: #1877F2; border-color: #1877F2; }
.share-btn.copy:hover { background: rgba(0, 191, 255, 0.15); color: #00BFFF; border-color: #00BFFF; }

.article-content { min-width: 0; }

.article-content > p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 22px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 50px 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(0, 191, 255, 0.15);
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #00BFFF;
    margin: 35px 0 16px;
}

.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 25px 0 12px;
}

.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 22px;
}

.article-content ul li, .article-content ol li {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 10px;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.article-content a {
    color: #00BFFF;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 191, 255, 0.4);
    transition: all 0.3s ease;
}

.article-content a:hover {
    border-bottom-color: #00BFFF;
    color: #00E5FF;
}

.highlight-box {
    background: rgba(0, 191, 255, 0.06);
    border-left: 4px solid #00BFFF;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 30px 0;
}

.highlight-box.warning {
    background: rgba(255, 71, 87, 0.06);
    border-left-color: #FF4757;
}

.highlight-box.success {
    background: rgba(0, 214, 143, 0.06);
    border-left-color: #00D68F;
}

.highlight-box p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.highlight-box .box-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-box .box-title i { color: #00BFFF; }
.highlight-box.warning .box-title i { color: #FF4757; }
.highlight-box.success .box-title i { color: #00D68F; }

.article-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

.stat-box-number {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #00BFFF, #00E5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 6px;
}

.stat-box-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    font-size: 14px;
}

.article-table th {
    background: rgba(0, 191, 255, 0.1);
    color: #00BFFF;
    padding: 14px 18px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-table td {
    padding: 14px 18px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

.toc-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
}

.toc-card-title {
    font-size: 12px;
    font-weight: 700;
    color: #00BFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.toc-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-card ul li { margin-bottom: 4px; }

.toc-card ul li a {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-left: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.toc-card ul li a:hover,
.toc-card ul li a.active {
    color: #00BFFF;
    background: rgba(0, 191, 255, 0.06);
    border-left-color: #00BFFF;
    padding-left: 16px;
}

.article-cta {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.12), rgba(0, 229, 255, 0.04));
    border: 1px solid rgba(0, 191, 255, 0.25);
    border-radius: 20px;
    padding: 40px 35px;
    margin: 50px 0;
    text-align: center;
}

.article-cta h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.author-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin: 50px 0;
    align-items: center;
}

.author-card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00BFFF, #00E5FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0A;
    font-weight: 800;
    font-size: 24px;
    flex-shrink: 0;
}

.author-card-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-card-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.related-posts {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
}

.related-posts h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card:hover {
    border-color: rgba(0, 191, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 191, 255, 0.08);
}

.related-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00BFFF;
    font-size: 18px;
    margin-bottom: 14px;
}

.related-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-card p {
    font-size: 12px;
    color: var(--text-muted);
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    justify-content: center;
}

.article-breadcrumb a {
    color: #00BFFF;
    text-decoration: none;
}

.article-breadcrumb a:hover { color: #00E5FF; }

@media (max-width: 1100px) {
    .article-layout { grid-template-columns: 1fr; }
    .share-sidebar, .toc-sidebar { position: static; }
    .share-sidebar { order: 3; margin-top: 40px; }
    .toc-sidebar { order: -1; margin-bottom: 30px; }
    .share-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .share-btn { flex: 1; min-width: 100px; }
}

@media (max-width: 768px) {
    .article-hero h1 { font-size: 28px; }
    .article-hero p { font-size: 15px; }
    .article-meta-bar { gap: 16px; }
    .article-content h2 { font-size: 22px; }
    .article-content h3 { font-size: 18px; }
    .article-stats { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .author-card { flex-direction: column; text-align: center; }
    .article-banner { height: 200px; }
    .article-banner i { font-size: 70px; }
}
