/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #fff;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.main-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.main-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #3498db;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid #3498db;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content .date {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3498db;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.timeline-content p {
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #3498db;
    font-weight: 600;
    transition: color 0.2s;
}

.read-more:hover {
    color: #2980b9;
}

/* Article Detail */
.article-header {
    background-color: #2c3e50;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}

.article-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.article-header .container {
    position: relative;
    z-index: 1;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.article-header .date {
    font-size: 1.1rem;
    opacity: 0.9;
}

.image-source {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.back-link:hover {
    color: white;
}

.article-container {
    max-width: 800px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 0;
    background: #2c3e50;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item.right::after {
        left: 21px;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }
}