﻿.page-title {
    font-family: Inter;
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color: #000000;
}

.page-content-area {
    display: flex;
    flex-direction: column;
    row-gap: 64px;
}

.history-area {
    display: flex;
    flex-direction: column;
    row-gap: 100px;
    padding-left: 70px;
    position: relative;
}

    .history-area::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: #64748A;
        width: 1px;
    }

.history-text-area {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.history-year {
    font-family: Inter;
    font-weight: 400;
    font-size: 40px;
    line-height: 52.4px;
    color: #000000;
    position: relative;
}

    .history-area .history-item:first-child .history-year::before {
        top: 0;
        transform: translate(0, 0);
    }

.history-year::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -75px;
    width: 12px;
    height: 12px;
    background: #D1000F;
    border-radius: 50px;
    transform: translate(0, -50%);
}

.history-description {
    font-family: Inter;
    font-weight: 400;
    font-size: 15.63px;
    line-height: 20.96px;
    color: #000000;
}

.history-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 13px;
    column-gap: 8px;
    max-width: 400px;
    width: 100%;
}

.history-tag {
    padding: 8px 14px;
    font-family: Inter;
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    color: #000000;
    text-align: center;
    width: max-content;
    max-width: 100%;
    box-shadow: 0px 0px 0px 1.5px #EFE9D8 inset;
    border-radius: 50px;
}

.mobile-history-image
{
    display: none;
}

.history-item-image, .history-item-image img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

@media only screen and (max-width: 991px)
{
    .mobile-history-image
    {
        display: block;
    }

    .desktop-history-image
    {
        display: none;
    }

    .mobile-history-image, .mobile-history-image img {
        aspect-ratio: 2/1.25;
        object-fit: cover;
    }

    .history-area {
        padding-left: 35px;
    }

    .history-year::before {
        left: -40px;
    }

    .page-content-area {
        row-gap: 32px;
    }
}