.section-history__list {
    margin: 0;
    padding: 0;
    list-style: none
}

.section-history {
    padding: 3.125rem 0;
    background-size: 100% auto;
    background-repeat: repeat-y
}

@media (min-width: 768px) {
    .section-history {
        padding: 6.25rem 0
    }
}

.section-history h2,
.section-history .h2 {
    text-align: center;
    margin-bottom: 2.5rem
}

.section-history__list {
    position: relative
}

.section-history__list:before {
    content: "";
    background-color: #fff;
    border: 1px solid #97999b;
    border-radius: 5px;
    width: .375rem;
    position: absolute;
    top: 2.5rem;
    bottom: 0;
    left: 0
}

@media (min-width: 768px) {
    .section-history__list:before {
        transform: translate(-50%);
        left: 50%
    }
}

.section-history__list li {
    margin-bottom: 2.3125rem
}

@media (min-width: 768px) {
    .section-history__list li {
        display: flex;
        align-items: center;
        justify-content: space-between
    }
}

.section-history__list li:last-child {
    margin-bottom: 0
}

.section-history__list li:first-child .section-history__list-image:before {
    filter: none
}

.section-history__list li:first-child .section-history__list-content {
    color: #040707
}

/*
.section-history__list li:first-child .section-history__list-year {
    color: #862732
}

.section-history__list li:first-child .decor-point {
    border-color: #862732
} */


.section-history__list li:first-child .decor-point:before {
    background-color: #862732
}

@media (min-width: 768px) {
    .section-history__list li:nth-child(odd) {
        flex-direction: row-reverse
    }
}

@media (min-width: 768px) {
    .section-history__list li:nth-child(odd) .section-history__list-image {
        margin-right: auto;
        margin-left: 1.5rem
    }
}

@media (min-width: 768px) {
    .section-history__list li:nth-child(odd) .section-history__list-content {
        align-items: flex-end;
        text-align: right;
        padding-left: 0;
        padding-right: 5.1875rem
    }
}

@media (min-width: 768px) {
    .section-history__list li:nth-child(odd) .decor-point {
        left: auto;
        right: 2.5625rem
    }
}

@media (min-width: 768px) {
    .section-history__list li:nth-child(odd) .decor-point:before {
        left: 100%;
        right: auto
    }
}

.section-history__list .decor-point {
    position: absolute;
    left: 2.875rem;
    top: 2rem;
    transform: translateY(10px);
    z-index: 2;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #fff;
    border-radius: 50rem;
    border: 4px solid #97999b
}

@media (min-width: 768px) {
    .section-history__list .decor-point {
        left: 2.5625rem;
        top: 50%;
        transform: translateY(10px)
    }
}

@media (min-width: 1024px) {
    .section-history__list .decor-point {
        top: 50%;
        transform: translateY(10px)
    }
}

.section-history__list .decor-point:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 1px;
    width: 2.8125rem;
    background-color: #97999b
}

.section-history__list-image {
    width: 70%;
    max-width: 386px;
    position: relative;
    margin-left: 1.875rem;
    margin-bottom: 1.25rem
}

@media (min-width: 768px) {
    .section-history__list-image {
        width: 40%;
        margin-left: auto;
        margin-right: 1.5rem;
        margin-bottom: 0
    }
}

@media (min-width: 1024px) {
    .section-history__list-image {
        width: 50%
    }
}

.section-history__list-image:before {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    content: "";
    background-image: url(/wp-content/uploads/2025/04/decor-frame.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 2;
    filter: grayscale(1)
}

.section-history__list-image:after {
    content: "";
    display: block;
    padding-bottom: 78.3%
}

.section-history__list-image img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover
}

.section-history__list-content {
    position: relative;
    padding-left: 5.375rem;
    font-size: 1rem;
    line-height: 1.66666;
    font-weight: 500;
    color: #6c6c6c;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

@media (min-width: 768px) {
    .section-history__list-content {
        width: calc(50% - 3px)
    }
}

@media (min-width: 1024px) {
    .section-history__list-content {
        font-size: 1.125rem
    }
}

.section-history__list-content p {
    margin: 0
}

@media (min-width: 768px) {
    .section-history__list-content p {
        max-width: 23.125rem
    }
}

.section-history__list-year {
    font-weight: 700;
    display: block;
    color: #040707;
    margin-left: -.1875rem;
    padding-bottom: .75rem
}