

/* Start:/local/components/sputnik/services.sections.list/templates/services-cards/style.css?17595826147343*/
/* Обёртка с очень высокой специфичностью */
#bootstrap-isolated-component {
    all: initial;
    display: block;
    width: 100%;
}

#bootstrap-isolated-component * {
    all: unset;
    box-sizing: border-box;
}

/* Bootstrap стили с адаптивностью */
#bootstrap-isolated-component .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Адаптивные breakpoints */
@media (min-width: 576px) {
    #bootstrap-isolated-component .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    #bootstrap-isolated-component .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    #bootstrap-isolated-component .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    #bootstrap-isolated-component .container {
        max-width: 1140px;
    }
}

#bootstrap-isolated-component .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Адаптивные колонки */
#bootstrap-isolated-component .col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
}

/* Мобильные устройства (до 768px) - 1 колонка */
@media (max-width: 767px) {
    #bootstrap-isolated-component .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #bootstrap-isolated-component .container {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    #bootstrap-isolated-component .row {
        margin-right: -10px;
        margin-left: -10px;
    }
}

/* Планшеты (768px и выше) - 2 колонки */
@media (min-width: 768px) and (max-width: 991px) {
    #bootstrap-isolated-component .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Десктоп (992px и выше) - 3 колонки */
@media (min-width: 992px) {
    #bootstrap-isolated-component .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Отступы */
#bootstrap-isolated-component .mb-4 {
    margin-bottom: 1.5rem !important;
}

#bootstrap-isolated-component .mt-5 {
    margin-top: 3rem !important;
}

/* Адаптивные отступы */
@media (max-width: 767px) {
    #bootstrap-isolated-component .mt-5 {
        margin-top: 2rem !important;
    }
    
    #bootstrap-isolated-component .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* Карточка */
#bootstrap-isolated-component .card {
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,.125);
    background: white;
}

#bootstrap-isolated-component .card img {
    transition: transform 0.3s ease;
    max-height: 200px;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Адаптивная высота изображения */
@media (max-width: 767px) {
    #bootstrap-isolated-component .card img {
        max-height: 160px;
    }
}

#bootstrap-isolated-component .card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

#bootstrap-isolated-component .card:hover img {
    transform: scale(1.1);
}

#bootstrap-isolated-component a.col-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
	cursor: pointer;
}

/* Убираем трансформацию на мобильных при hover */
@media (max-width: 767px) {
    #bootstrap-isolated-component a.col-link:hover .card,
    #bootstrap-isolated-component a.col-link:focus .card {
        transform: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    
    #bootstrap-isolated-component a.col-link:hover img,
    #bootstrap-isolated-component a.col-link:focus img {
        transform: none;
    }
}

#bootstrap-isolated-component .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* На мобильных показываем overlay по тапу */
@media (max-width: 767px) {
    #bootstrap-isolated-component .overlay {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 15px;
    }
    
    #bootstrap-isolated-component .overlay-text {
        font-size: 1.1rem !important;
    }
    
    #bootstrap-isolated-component .overlay-duration {
        font-size: 0.9rem !important;
    }
}

#bootstrap-isolated-component a.col-link:hover .overlay,
#bootstrap-isolated-component a.col-link:focus .overlay {
    opacity: 1;
}

#bootstrap-isolated-component .overlay-text {
    color: var(--color-2);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 30px;
    /* margin-bottom: 10px; */
}

#bootstrap-isolated-component .overlay-duration {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}

#bootstrap-isolated-component .card-body {
    /* padding: 1.25rem; */
    flex: 1 1 auto;
}

/* Адаптивные отступы для карточки */
@media (max-width: 767px) {
    #bootstrap-isolated-component .card-body {
        padding: 1rem;
    }
}

#bootstrap-isolated-component .card-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    color:  var(--color-7);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Адаптивный размер заголовка */
@media (max-width: 767px) {
    #bootstrap-isolated-component .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
}

/* Улучшаем доступность для тач-устройств */
@media (hover: none) {
    #bootstrap-isolated-component a.col-link:hover .card {
        transform: none;
    }
    
    #bootstrap-isolated-component a.col-link:hover .overlay {
        opacity: 0;
    }
}

/* Портретная ориентация на мобильных */
@media (max-width: 767px) and (orientation: portrait) {
    #bootstrap-isolated-component .card img {
        max-height: 180px;
    }
}

/* Ландшафтная ориентация на мобильных */
@media (max-width: 767px) and (orientation: landscape) {
    #bootstrap-isolated-component .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    #bootstrap-isolated-component .card img {
        max-height: 150px;
    }
}

/* Большие экраны */
@media (min-width: 1400px) {
    #bootstrap-isolated-component .container {
        max-width: 1320px;
    }
}
/* End */
/* /local/components/sputnik/services.sections.list/templates/services-cards/style.css?17595826147343 */
