/* Article Page Specific Styles */

.article-content {
    padding: 3rem 0;
    background: white;
    min-height: calc(100vh - 200px);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.article-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.article-section h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 0.75rem 0;
}

.article-section p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.article-section ul,
.article-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-section li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Info Cards */
.info-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
}

.info-card h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

/* Timeline Grid */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.timeline-item {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.timeline-item h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

/* Future Grid */
.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.future-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border-top: 3px solid var(--secondary-color);
}

.future-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

/* Highlight Box */
.highlight-box {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.highlight-box h4 {
    margin-top: 0;
    color: var(--text-dark);
}

/* World Stats */
.world-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.world-stats h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.share-section {
    text-align: center;
    margin-bottom: 3rem;
}

.share-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Related Articles */
.related-articles h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    display: block;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.related-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.related-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.related-card p {
    color: var(--text-dark);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Moment Card Styles */
.moment-card {
    background: white;
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.moment-card:hover {
    transform: translateX(5px);
}

.moment-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.moment-details {
    color: var(--text-dark);
}

.moment-details p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.moment-details strong {
    color: var(--primary-color);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    box-shadow: 0 2px 10px var(--shadow);
}

table th {
    background: var(--secondary-color);
    color: white;
    padding: 1rem;
    text-align: left;
}

table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

table tr:hover {
    background: var(--light-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.2rem;
    }
    
    .timeline-grid,
    .stats-grid,
    .tech-grid,
    .future-grid,
    .world-stats,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .article-intro {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .moment-card {
        padding: 1rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 0.5rem;
    }
}