﻿.feature-card {
    /* Обновляем существующие стили */
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* ДОБАВИТЬ эту строку */
    display: flex; /* ДОБАВИТЬ */
    flex-direction: column; /* ДОБАВИТЬ */
}

.feature-content {
    /* Обновляем для равной высоты карточек */
    flex: 1; /* ДОБАВИТЬ - это заставляет контент занимать всю доступную высоту */
    display: flex; /* ДОБАВИТЬ */
    flex-direction: column; /* ДОБАВИТЬ */
}


/* Новые стили для колоночной верстки */
.work-features-section .row {
    align-items: stretch; /* Растягивает колонки на одинаковую высоту */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-header {
    text-align: center;

}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
   
}


.feature-icon {
    font-size: 2.0rem;
    color: white;
    margin-bottom: 0 !important;
}

.feature-name {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

.feature-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Стили для эмоций (если их еще нет) */
.emotions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.emotion-tag {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.feature-conclusion {
    font-style: italic;
    color: #666;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-top: auto; /* Важно! Прижимает к низу карточки */
}


.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center; /* весь текст по центру */
}

.feature-lead,
.feature-text,
.feature-conclusion,
.responsibility-highlight,
.emphasis-block {
    text-align: center; /* центрируем все текстовые блоки */
}

/* Для эмоций тоже центрируем */
.emotions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
    justify-content: center; /* центрируем теги эмоций */
}


