@charset "UTF-8";

/* ===================================
   History Section
=================================== */
.history {
    padding: 100px 20px;
    background: #f8f9fa;
}

.history__container {
    max-width: 1200px;
    margin: 0 auto;
}

.history__era {
    margin-bottom: 80px;
}

.history__era:last-child {
    margin-bottom: 0;
}

.history__era-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.history__era-title {
    font-size: 42px;
    font-weight: 800;
    color: #0066cc;
}

.history__era-desc {
    font-size: 16px;
    color: #888;
    font-weight: 500;
}

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

.history-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #0066cc;
}

.history-card__date {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #0066cc;
    background: #f0f7ff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.history-card__text {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

/* ===================================
   Responsive
=================================== */
@media (max-width: 1200px) {
    .history__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .history__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .history {
        padding: 60px 20px;
    }
    
    .history__era {
        margin-bottom: 50px;
    }
    
    .history__era-header {
        flex-direction: column;
        gap: 5px;
    }
    
    .history__era-title {
        font-size: 32px;
    }
    
    .history__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .history-card {
        padding: 20px;
    }
}