.elementor-kit-31{--e-global-color-primary:#000102;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-0f8f6a6:#FDFAFA;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-size:19px;--e-global-typography-primary-font-weight:600;--e-global-typography-primary-line-height:1px;--e-global-typography-primary-letter-spacing:-0.7px;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;color:#FBF7F7;line-height:25px;}.elementor-kit-31 e-page-transition{background-color:#FFBC7D;}.elementor-kit-31 h1{color:#232D3F;font-family:"Montserrat", Sans-serif;font-size:22px;font-weight:700;text-decoration:none;}.elementor-kit-31 h2{color:#278272;font-family:"Montserrat", Sans-serif;font-size:19px;font-weight:600;line-height:25px;}.elementor-kit-31 h3{color:#0D0000;font-family:"Montserrat", Sans-serif;font-size:18px;font-weight:700;text-decoration:none;line-height:25px;}.elementor-kit-31 h4{text-decoration:none;}.elementor-kit-31 h5{text-decoration:none;}.elementor-kit-31 h6{text-decoration:none;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ===== КАРТОЧКИ В КОНФУЦИАНСКОМ СТИЛЕ ===== */

/* Базовые стили для всех карточек */
.card {
    /* Фон, имитирующий рисовую бумагу */
    background-color: #fcf9f2; /* Очень светлый кремовый */
    background-image: 
        linear-gradient(rgba(200, 180, 150, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 180, 150, 0.1) 1px, transparent 1px);
    background-size: 20px 20px; /* Легкая сетка, как у старой бумаги */
    
    /* Тени вместо рамок */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
    /* Делаем все карточки одной высоты */
    min-height: 280px; /* Подберите нужное значение */
    display: flex;
    flex-direction: column;
    padding: 25px 20px 20px; /* Немного увеличим отступы */
    
    /* Добавляем "край свитка" сверху */
    border-top: 2px solid rgba(139, 0, 0, 0.15);
    border-radius: 0 0 4px 4px; /* Чуть скругляем низ, верх оставляем прямым */
}

/* Эффект при наведении */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top-color: rgba(139, 0, 0, 0.4); /* Край становится более выраженным */
}

/* Оформление иероглифов как красных печатей */
.card-icon {
    font-size: 2.8rem; /* Оставляем размер, но меняем стиль */
    color: #8b0000; /* Глубокий красный */
    
    /* Добавляем рамку, как у печати */
    border: 2px solid #8b0000;
    border-radius: 50%; /* Круглая печать (можно сделать квадрат 0%) */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px; /* Центрируем и добавляем отступ */
    padding: 5px;
    
    /* Легкая тень и фон, имитирующие оттиск */
    background-color: rgba(139, 0, 0, 0.03);
    box-shadow: inset 0 0 0 1px rgba(139, 0, 0, 0.1);
    
    /* Плавный переход для анимации */
    transition: all 0.3s ease;
}

/* Анимация печати при наведении на карточку */
.card:hover .card-icon {
    transform: scale(1.05) rotate(-2deg); /* Слегка увеличивается и поворачивается */
    background-color: rgba(139, 0, 0, 0.08);
    border-color: #8b0000;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.2);
}

/* Заголовки внутри карточек */
.card h3 {
    font-family: 'Yuji Mai', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #2c1810;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Текст внутри карточек */
.card p {
    color: #5c4033;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    flex-grow: 1; /* Занимает всё доступное пространство, выравнивая карточки */
    margin-bottom: 0;
}

/* Декоративный элемент внизу карточки (необязательно) */
.card::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(139, 0, 0, 0.2);
    margin: 15px auto 0;
    transition: width 0.3s ease;
}

.card:hover::after {
    width: 60px;
    background: rgba(139, 0, 0, 0.4);
}

/* ===== ВЫРАВНИВАНИЕ ВЕРХНИХ 4 КАРТОЧЕК ===== */
/* Сетка для 4 карточек (как на вашем сайте) */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch; /* Растягивает карточки по высоте */
}

/* Если нужен другой выравнивающий класс, используйте его */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
} body {
    /* Основной фон — второй паттерн (oboi-ma.ru) */
    background-image: url('https://oboi-ma.ru/f/product/100396237.jpg');
    background-repeat: repeat;
    background-size: 250px auto; /* Подберите размер на свой вкус */
    background-attachment: fixed;
    /* Первый паттерн убран, но если хотите добавить его как легкую текстуру,
       используйте псевдоэлемент, как показано ниже */
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.pinimg.com/originals/82/7b/fd/827bfd223c48fd7e459acd325e0f6c97.png?nii=t');
    background-repeat: repeat;
    background-size: 200px auto;
    opacity: 0.02; /* Едва заметный слой для глубины */
    pointer-events: none;
    z-index: -1;
}/* End custom CSS */