/* Article Specific Styles */

/* Hero & Breadcrumbs */
.article-hero {
    padding: 3rem 0 6rem 0;
    text-align: left;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    list-style: none;
    padding: 0;
}

.breadcrumb-link {
    color: var(--primary);
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--accent);
}

.breadcrumb-current {
    color: white;
}

/* Article Typography */
.article-title {
    max-width: 900px;
    margin: 1rem 0 1.5rem 0;
    line-height: 1.2;
    font-size: 2.5rem;
}

.article-meta-row {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 0;
    align-items: center;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-sm {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: white;
    display: block;
    font-weight: 500;
}

.read-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Article Body Content */
.article-featured-image {
    width: 100%;
    border-radius: 12px;
    margin-top: 0;
    box-shadow: var(--shadow-lg);
}

.article-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-align: center;
}

.article-body {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

.article-lead {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.article-quote {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-style: italic;
    border-left: 2px solid var(--accent);
}

.article-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 3rem 0;
}

/* Author Box (Bottom) */
.author-box {
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar-lg {
    width: 60px;
    height: 60px;
    background: #475569;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.author-bio h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.author-bio p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts-heading {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.related-post-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.related-post-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-post-image-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.related-post-content {
    padding: 1rem;
}

.related-post-category {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.related-post-title {
    font-size: 1rem;
    color: white;
    margin: 0.5rem 0;
    line-height: 1.4;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}