/* default tipovy-rishennya page */

.cities-links {
    .section-title,
    .section-text {
        text-align: left;
    }

    .section-text {
        max-width: 749px;
    }

    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 60px;
    }

    a {
        font-weight: 700;
        color: var(--brand-text-color);
        padding-bottom: 2px;
        padding-right: 24px;

        background-image: url('../images/arrow-right.svg');
        background-position: right center;
        background-repeat: no-repeat;
    }

    a:hover {
        color: var(--brand-color--accent);
        background-image: url('../images/arrow-right-HOVER.svg');
    }
}

/* tipovy-rishennya cities */

#programs-configurations h3 {
    font-size: inherit;
}

/* --- FOR WHOM --- */
.for-whom h2 {
    line-height: 1.52;
    margin-bottom: 16px;
}

.for-whom .about__text-block {
    line-height: 1.67;
}

.for-whom.odesa .about__text-content {
    max-width: 576px;
}

.for-whom.odesa .about__image-thumb {
    aspect-ratio: 544 / 642;
    max-height: 642px;
    align-self: end;
}

.for-whom.odesa .about__image-thumb img {
    height: 100%;
    object-fit: cover;
    object-position: 70% bottom;
}


/* --- SERVICES --- */
.services .section-title {
    margin-bottom: 55px;
}

.services__sub-section:not(.card-featured) {
    margin-bottom: 55px;

    h3 {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.64;
        margin-bottom: 32px;
    }

    & > p{
        margin-bottom: 32px;
    }
}

.services .badged-list {
    gap: 20px;

    li {
        padding: 20px 16px;
    }
}

.services .split-section {
    display: flex;
    gap: 20px 12px;

    p {
        line-height: 1.67;
        margin-bottom: 24px;
    }

    p:last-of-type {
        margin-bottom: 48px;
    }
}

div.card--featured::before {
    background-image: image-set(
        url('../images/client-bank-boy.png') 1x,
        url('../images/client-bank-boy@2x.png') 2x
    );
    background-repeat: no-repeat;
    background-size: 251px 356px;
    background-position: right 80px bottom -14px;
}

/* --- SPLIT SECTION --- */
.split-section a.page-button__contained {
    justify-self: start;
}

.split-section:not(.services) .section-title {
    margin-bottom: 30px;
    text-align: left;
}

.split-section:not(.services) ul,
.split-section:not(.services) p {
    margin-bottom: 30px;
}

.split-section.odesa {
    background-image: image-set(
        url('../images/uprav-torgov-laptop.png') 1x,
        url('../images/uprav-torgov-laptop@2x.png') 2x
    );

    background-repeat: no-repeat;
    background-position: calc(50% + 620px) center;
    background-size: auto calc(100% - 148px);
}

/* --- ABOUT US --- */

.about-us.odesa .section-title {
    text-align: left;
    margin-bottom: 36px;
}

.about-us.odesa .about__text-content {
    h3 {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    p:not(:last-child) {
        margin-bottom: 24px;
    }
}

.about-us .about__image-thumb {
    border-radius: 12px 0 0 12px;
}

.about-us.odesa .about__image-thumb {
    max-height: 586px;
}

.about-us.odesa .about__image-thumb img {
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.about-us.kyiv .about__image-thumb {
    min-width: 0;

    img {
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
    }
}

/* --- MEDIA 1200px --- */

@media screen and (min-width: 1200px) {
    .split-section:not(.services) .split-section__content {
        max-width: 610px;
    }

    .split-section.odesa {
        background-position: calc(50% + 540px) center;
        background-size: auto calc(100% - 160px);
    }
}

/* --- MEDIA 1024px --- */

@media screen and (min-width: 1024px) {
    .cities-links {
        padding-bottom: 220px;
    }

    .split-section__content {
        max-width: 480px;
    }

    .about-us .about__text-content {
        max-width: 486px;
    }
}

@media screen and (max-width: 1023px) {
    .for-whom.agro-buh .about__container {
        flex-direction: column;
        align-items: center;
    }

    .services .split-section {
        flex-direction: column;

        .split-section__image-thumb {
            align-self: center;
        }

        a.page-button__contained {
            justify-self: center;
        }
    }

    .split-section.odesa {
        padding-bottom: 474px;
        background-size: 630px 365px;
        background-position: center bottom 40px;
    }

    .split-section.odesa a.page-button__contained {
        justify-self: center;
    }

    .about-us.odesa .about__container {
        flex-direction: column;
    }

    .about-us.odesa .about__image-thumb {
        border-radius: 12px;
        max-width: 550px;
        align-self: center;
    }

    @media screen and (min-width: 768px) {
        .services .split-section img {
            width: auto;
        }

        .about-us.odesa .about__container {
            flex-direction: column;
        }
    }
}

/* --- MEDIA 768px --- */

@media screen and (max-width: 767px) {
    .for-whom .about__text-content {
        align-self: stretch;
        max-width: none;
    }

    .for-whom .about__image-thumb {
        border-radius: 12px;
    }

    .for-whom.odesa .about__image-thumb {
        align-self: center;
    }

    .services .split-section {
        padding-bottom: 0;
    }

    .split-section.odesa {
        padding-bottom: 290px;
        background-size: 382px 222px;
        background-position: center bottom 32px;

    }

    .about-us.odesa .about__container {
        text-align: left;
    }

    .about-us ul {
        text-align: left;
    }
}



