

/* Start:/bitrix/templates/.default/components/simai/sf.iblock.list/pkgh-bento-menu/style.css?17878412794118*/
/*.bento-container {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}*/

/* 1. Убираем подчеркивание у ссылок и всего внутри них */
.bento-item, 
.bento-item:hover, 
.bento-item * {
    text-decoration: none !important;
}

/* 2. Общие настройки для тем */
.bento-item.theme-blue { background-color: #296BF4; border-color: #296BF4; }
.bento-item.theme-orange { background-color: #FC781F; border-color: #FC781F; }

/* 3. Цвет текста для цветных плиток */
.bento-item.theme-blue .bento-title,
.bento-item.theme-orange .bento-title,
.bento-item.theme-blue .bento-desc,
.bento-item.theme-orange .bento-desc,
.bento-item.theme-blue .bento-arrow,
.bento-item.theme-orange .bento-arrow {
    color: #ffffff !important;
}

/* 4. Иконки для цветных плиток (всегда белые) */
.bento-item.theme-blue .bento-icon,
.bento-item.theme-orange .bento-icon {
    background: rgba(255, 255, 255, 0.2); /* Полупрозрачный фон под иконкой */
}

.bento-item.theme-blue .bento-icon img,
.bento-item.theme-orange .bento-icon img {
    filter: brightness(0) invert(1) !important; /* Делаем иконку чисто белой */
}

/* Эффект при наведении на цветную плитку */
.bento-item.theme-blue:hover,
.bento-item.theme-orange:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.bento-section { margin-bottom: 80px; }
.bento-section-title { 
    font-size: 28px; 
    font-weight: 800; 
    margin-bottom: 30px; 
    color: #1a1a1a; 
}

/* Сетка */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
}

/* Базовая плитка */
.bento-item {
    text-decoration: none;
    border-radius: 25px;
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    display: block;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--item-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* Размеры */
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; grid-row: span 1; }
.bento-small { grid-column: span 1; grid-row: span 1; }

.bento-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Иконки */
.bento-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8f9fa;
    transition: 0.3s;
}

.bento-icon img {
    width: 28px;
    height: 28px;
    /* Если иконка черная, красим её в цвет плитки */
    filter: invert(34%) sepia(94%) saturate(2250%) hue-rotate(212deg) brightness(97%) contrast(92%);
}

.bento-item:hover .bento-icon {
    background: var(--item-color);
}
.bento-item:hover .bento-icon img {
    filter: brightness(0) invert(1); /* Делаем белой при наведении */
}

/* Тексты */
.bento-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 10px 0 5px;
}

.bento-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Стрелочка */
.bento-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 18px;
    color: #ddd;
    transition: 0.3s;
}
.bento-item:hover .bento-arrow {
    color: var(--item-color);
    transform: translate(3px, -3px);
}

/* Адаптив */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .bento-grid { display: flex; flex-direction: column; }
    .bento-item { min-height: 180px; }
}
/* End */
/* /bitrix/templates/.default/components/simai/sf.iblock.list/pkgh-bento-menu/style.css?17878412794118 */
