.trajectories {
    flex-direction: column;
    justify-content: center;
    text-align: center;
        border-top:1px solid rgb(169, 169, 169);
    border-bottom:1px solid rgb(169, 169, 169);
}

.trajectories-content-wrapper {
    flex-direction: column;
    justify-content: center;
}

.trajectories-number {
    display: inline-flex;
    min-width: 58px;
    height: 38px;
    margin-bottom: 20px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: #c8102e;
    color: #ffffff;
    font-weight: 900;
}

.trajectories-title {
    max-width: 750px;
    margin: 8px auto 28px;
    color: #c8102e;
    font-family: "PT Serif", Georgia, serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 58px;
}

.trajectories-tiles {
    display: flex;
    width: 100%;
    max-width: 980px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 34px auto 28px;
}

.trajectories-tiles div {
    flex: 1 1 300px;
    max-width: 318px;
    min-height: 76px;
    padding: 18px 20px;
    border-radius: 0;
    border: 1px solid rgba(13, 46, 79, 0.12);
    background: #eef7fd;
    color: #0d2e4f;
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trajectories-text {
    max-width: 500px;
    margin: 0 auto;
    color: #4d5b6d;
    font-size: 18px;
    line-height: 24px;
    padding: 30px 0;
}

.trajectories-photo {
    width: 100%;
    max-width: 980px;
    min-height: 320px;
    margin: 34px auto 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 24px 70px rgba(8, 30, 55, 0.14);
}

.trajectories-photo img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 620px;
    object-fit: cover;
}

@media (max-width: 860px) {
    .trajectories-title {
        font-size: 34px;
        line-height: 38px;
    }

    .trajectories-photo img {
        min-height: 260px;
    }

    .trajectories-tiles div {
        flex-basis: 100%;
        max-width: 100%;
        min-height: 64px;
    }

    .trajectories-text {
        padding: 18px 0;
    }
}
