/* Juventas */

.juventas {
    padding-bottom: 80px;
}

.juventas img {
    max-width: 100%;
    height: auto;
}

.juventas-subtitle {
    display: flex;
    gap: 30px;
    text-align: center;
}

.juventas-subtitle strong {
    color: #ff6600;
    display: block;
}

.juventas-image {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .juventas {
        padding-bottom: 40px;
    }

    .juventas-image {
        padding: 40px 0;
    }

    .juventas-subtitle {
        flex-direction: column;
        text-align: left;
    }

    .juventas-subtitle h2 {
        font-size: 18px;
    }
}

/* Juventas body — DB content classes */

.juventas-content {
    max-width: 960px;
    margin: 0 auto;
}

.juventas-text {
    font-size: 16px;
    margin-bottom: 80px;
}

.juventas-text p {
    margin-bottom: 15px;
}

.juventas-text p:last-of-type {
    margin-bottom: 0;
}

.juventas-image-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.juventas-title {
    max-width: 780px;
    margin-bottom: 40px;
}

.juventas-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.juventas-column {
    width: calc(50% - 25px);
}

.juventas-section {
    padding-bottom: 40px;
    margin-bottom: 80px;
    border-bottom: 1px solid var(--border);
}

.project-design__text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    font-size: 16px;
}

.project-design__text p {
    width: calc(50% - 25px);
}

@media (max-width: 768px) {
    .juventas-text {
        margin-bottom: 30px;
    }

    .juventas-image-group {
        display: block;
        margin-bottom: 30px;
    }

    .juventas-image-group-item_one {
        margin: 0 0 15px;
    }

    .juventas-title {
        margin-bottom: 25px;
    }

    .juventas-columns {
        display: block;
    }

    .juventas-column {
        width: 100%;
    }

    .juventas-section {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .project-design__text {
        display: block;
        margin-bottom: 30px;
    }

    .project-design__text p {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Content blocks — DB content classes */

.info-block {
    font-size: 16px;
}

.info-block__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: -40px;
}

.info-block__block {
    width: calc(50% - 25px);
    margin-bottom: 40px;
}

.info-block__title {
    margin-bottom: 10px;
}

.info-block__item {
    margin-bottom: 5px;
    max-width: 350px;
}

.terms {
    margin-bottom: 80px;
}

.generation-title {
    padding: 0 40px 40px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.generation-heading {
    max-width: 260px;
}

.generation-text p {
    margin-bottom: 25px;
    font-size: 25px;
}

.generation-text p:last-of-type {
    margin-bottom: 0;
}

.facts-title {
    margin-bottom: 5px;
}

.mindsets {
    display: none;
}

.mindsets-header {
    margin-bottom: 60px;
}

.mindsets-heading {
    margin-bottom: 20px;
}

.mindsets-column {
    display: flex;
}

.mindsets-title {
    align-self: flex-end;
}

.units-group {
    display: flex;
    justify-content: space-between;
}

.units-block {
    width: calc(50% - 40px);
    font-size: 16px;
    padding-right: 20px;
}

.units-block p {
    margin-bottom: 15px;
}

.units-block p:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 1250px) {
    .mindsets-header {
        margin-bottom: 40px;
    }

    .units-block {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .info-block__wrapper {
        margin: 0;
    }

    .info-block__wrapper .info-block__block:last-of-type {
        margin-bottom: 0;
    }

    .info-block__block {
        width: 100%;
        margin-bottom: 25px;
    }

    .generation-title {
        padding: 0 0 20px 0;
        margin-bottom: 30px;
    }

    .generation-text p {
        font-size: 18px;
    }

    .units-group {
        display: block;
    }

    .units-block {
        width: 100%;
        margin-bottom: 15px;
    }

    .units-block_last {
        margin-bottom: 0;
    }
}