/*!
Theme Name: constantfinance
Theme URI: https://t.me/alizhumagaliev
Author: Ali Zhumagaliev
Author URI: https://t.me/alizhumagaliev
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: constantfinance
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.header__menu {
    list-style: none;
    margin: 0;
}

span.wpcf7-not-valid-tip {
    display: none;
}

span.wpcf7-spinner {
    position: absolute;
    margin: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wpcf7 form .wpcf7-response-output {
    font-size: 15px;
}

.news__item-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-fields {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.form__inner {
    flex-direction: column;
}

/*   Team  */

.team__item {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    height: 100%;
}

.team-section .team__item .subtitle {
    height: auto;
    margin: 0;
}

.team__item .instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.team__item .name.small {
    font-size: 3.2rem;
    margin: 0 -3rem;
    padding: 0;
}

.team__item .name.small {
    font-size: 3.2rem;
    margin: 0 -3rem;
    padding: 0;
}

@media screen and (max-width: 575px) {
    .team__item .name.small {
        font-size: 1.4rem;
        margin: 0 -1rem;
    }
}

.header__callback, .header__phone {
    display: none !important;
}


@media screen and (max-width: 575px) {
    .form-fields {
        display: block;
    }
    .news__box .space {
        width: 100%;
    }
    .news__box .space .news__item-title {
        min-height: 6.4rem;
    }
    .uslugi__slider .uslugi__item {
        width: 100%;
    }
    .uslugi__slider .uslugi__slider .space:nth-child(2n) {
        margin-top: 0;
    }
    .uslugi-section .uslugi__slider .space:nth-child(2n) .uslugi__item:nth-child(1) {
        margin-left: 0;
    }
    .uslugi-section .uslugi__slider .space:nth-child(2n) {
        margin-top: 0;
    }
    .uslugi__slider .space:nth-child(1) .uslugi__item:nth-child(3) {
        height: auto !important;
    }
    body .footer .header__menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 2.5rem;
        gap: 15px;
    }
    body .recommendations-section .t-navigation {
        width: 100%;
    }
    body .navigation-section .space {
        width: 100%;
    }
    .team__item .name.small {
        font-size: 1.4rem;
        margin: 0 -1rem;
    }

}


