/* Сервисы для путешественников: app/themes/proxymo/views/page/tez/widgets/_traveler_services.html.erb */

.traveler_services_section {
    width: 100%;
    margin: 0;
    padding: 55px 0;
    background: #f8f8f8;
    box-sizing: border-box;
}

.traveler_services_limit {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.traveler_services_title {
    margin: 0;
    padding: 0;
    color: #1e1e1e;
    font-family: var(--site-font-family);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.traveler_services_delimiter {
    width: 45px;
    height: 3px;
    margin: 25px 0;
    border-radius: 2px;
    background: var(--quaternary-color);
}

.traveler_services {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0 -7px;
}

.traveler_services_col {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 33.333%;
    max-width: 33.333%;
    min-width: 0;
    padding: 5px 7px 0;
    box-sizing: border-box;
}

.traveler_services_card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    min-height: 380px;
    margin: 0;
    padding: 60px 40px 20px;
    color: #1e1e1e;
    font-family: var(--site-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-decoration: none;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    transition-property: box-shadow, transform;
    transition-duration: 0.2s;
}

a.traveler_services_card:hover {
    color: #1e1e1e;
    text-decoration: none;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.traveler_services_icon {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: flex-end;
    justify-content: flex-start;
    height: 70px;
    margin: 0 0 30px;
}

.traveler_services_icon img {
    display: block;
    width: auto;
    max-width: 70px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.traveler_services_card_title {
    margin: 0 0 30px;
    color: #1e1e1e;
    font-size: 22px;
    font-weight: 900;
    line-height: 24px;
}

.traveler_services_card_text {
    margin: 0;
}

@media (max-width: 991px) {
    .traveler_services_col {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .traveler_services_section {
        padding: 36px 0;
    }

    .traveler_services_title {
        font-size: 24px;
    }

    .traveler_services_col {
        flex-basis: 100%;
        max-width: 100%;
    }

    .traveler_services_card {
        min-height: 0;
        padding: 40px 24px 24px;
    }
}
