.historia-section {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.historia-timeline {
    position: relative;
    padding: 2rem 0;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.historia-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
    padding: 0 2rem;
}

.historia-item:nth-child(odd) {
    margin-left: auto;
}

.historia-item:nth-child(even) {
    margin-right: auto;
}

.historia-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.historia-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.historia-item:nth-child(odd) .historia-content::before {
    left: -40px;
}

.historia-item:nth-child(even) .historia-content::before {
    right: -40px;
}

.historia-date {
    font-family: var(--font-title);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.historia-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.historia-text {
    line-height: 1.6;
    color: var(--text-color);
}

.historia-image {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.historia-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .historia-timeline::before {
        left: 31px;
    }

    .historia-item {
        width: 100%;
        padding-left: 70px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .historia-content::before {
        left: -40px !important;
        right: auto !important;
    }
} 