/* --------------------
 History
-------------------- */
.history {
    margin: 0 0 100px;
    padding: 60px 0 0;
}

@media (min-width: 768px) {
    .history {
        padding: 70px 0 0;
    }
}

.history-container {
    margin: 0 auto;
    max-width: 1020px;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .history-container {
        padding: 0 30px;
    }
}

.history__item-wrapper {
    margin: 0 0 80px;
    padding: 70px 0 0;
}

@media (min-width: 768px) {
    .history__item-wrapper {
        margin: 0 0 100px;
    }
}

.history__item {
    padding: 0 0 0 80px;
    position: relative;
}

@media (min-width: 768px) {
    .history__item {
        padding: 0 0 0 160px;
    }
}

.history__item:first-child:before {
    background-image: url(../images/pages/history/history-era-circle.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 22px;
    left: 69px;
    position: absolute;
    top: 3px;
    width: 22px;
    z-index: 1;
}

@media (min-width: 768px) {
    .history__item:first-child:before {
        height: 38px;
        left: 141px;
        top: -5px;
        width: 38px;
    }
}

.history__item__era {
    font-size: var(--fs10);
    left: 0;
    line-height: 1;
    position: absolute;
    top: 4px;
    transform: translate(-10px, -100%);
    width: 80px;
}

@media (min-width: 768px) {
    .history__item__era {
        transform: translateY(-100%);
        width: 160px;
    }
}

.history__item__era img {
    height: 20px;
    width: auto;
}

@media (min-width: 768px) {
    .history__item__era img {
        height: 38px;
    }
}

.history__item__list {
    padding: 0 0 58px 0;
    position: relative;
}

@media (min-width: 768px) {
    .history__item__list {
        padding: 0 0 68px 0;
    }
}

.history__item__list:before {
    background-color: #1789b3;
    bottom: -6px;
    content: "";
    display: block;
    left: -2px;
    position: absolute;
    top: 6px;
    width: 2px;
    z-index: 0;
}

@media (min-width: 768px) {
    .history__item__list:before {
        bottom: -4px;
        top: 0;
        width: 4px;
    }
}

.history__item:last-child .history__item__list:before {
    background: none;
    background-image: linear-gradient(to bottom, #1789b3 3px, transparent 3px, transparent 6px);
    background-position: center top;
    background-repeat: repeat-y;
    background-size: 4px 6px;
    top: 6px;
}

.history__item__list__item {
    display: flex;
    flex-flow: column nowrap;
    gap: 6px 26px;
    padding: 0 0 30px 20px;
    position: relative;
}

@media (min-width: 768px) {
    .history__item__list__item {
        padding: 0 0 40px 40px;
    }
}

@media (min-width: 992px) {
    .history__item__list__item {
        align-items: flex-start;
        flex-direction: row;
        justify-content: flex-start;
    }
}

.history__item__list__item:before {
    background-color: #1789b3;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    top: 12px;
    width: 15px;
}

@media (min-width: 768px) {
    .history__item__list__item:before {
        top: 14px;
        width: 30px;
    }
}

.history__item__list__item:after {
    background-color: #1789b3;
    border-radius: 50%;
    content: "";
    display: block;
    height: 10px;
    left: -6px;
    position: absolute;
    top: 8px;
    width: 10px;
}

@media (min-width: 768px) {
    .history__item__list__item:after {
        height: 14px;
        left: -7px;
        top: 8px;
        width: 14px;
    }
}

.history__item__list__item:first-child:before {
    left: -90px;
    width: 105px;
}

@media (min-width: 768px) {
    .history__item__list__item:first-child:before {
        left: -160px;
        width: 190px;
    }
}

.history__item__list__item:first-child:after {
    height: 16px;
    left: -9px;
    top: 5px;
    width: 16px;
}

@media (min-width: 768px) {
    .history__item__list__item:first-child:after {
        height: 20px;
        left: -10px;
        top: 4px;
        width: 20px;
    }
}

.history__item__list__item:last-child {
    padding-bottom: 0;
}

.history__item__list__item__date {
    align-items: center;
    color: var(--color-theme);
    display: flex;
    flex-flow: row nowrap;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: var(--fs16);
    font-weight: 500;
    gap: 12px;
    justify-content: flex-start;
    letter-spacing: 0.15em;
    margin: 0;
}

@media (min-width: 768px) {
    .history__item__list__item__date {
        font-size: var(--fs18);
        gap: 0;
        justify-content: space-between;
        width: 230px;
    }
}

.history__item__list__item__date__year {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.history__item__list__item__date__year img {
    height: 18px;
    margin-right: 5px;
    transform: translateY(-2px);
    width: auto;
}

@media (min-width: 768px) {
    .history__item__list__item__date__year img {
        height: 22px;
    }
}

.history__item__list__item__date__month {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.history__item__list__item__content {
    flex-grow: 1;
    flex-shrink: 1;
    width: auto;
}

.history__item__list__item__content p {
    font-size: var(--fs14);
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .history__item__list__item__content p {
        font-size: var(--fs16);
    }
}

.history__item__list__item__content__fig {
    background-color: #e6ebf1;
    font-size: var(--fs10);
    line-height: 1;
    margin: 20px 0 0;
    text-align: left;
}