/* Стили для бенто-грида постов */
.aetherion-pro .elementor-section.elementor-aetherion-bento-section {
    background: transparent;
    padding: clamp(40px, 5vw, 60px) 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
}

.aetherion-pro .elementor-section.elementor-aetherion-bento-section .aetherion-pro-bento-posts-container.elementor-aetherion-bento {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    background: #0A0A0F;
    box-sizing: border-box;
    width: 100%;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    padding: 20px 0;
    align-items: stretch;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-card {
    background: #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    height: 100%;
    box-sizing: border-box;
    animation: fadeIn 0.6s ease-out forwards;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: #202020;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    box-sizing: border-box;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-thumbnail-link {
    display: block;
    width: 100%;
    height: 100%;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-card:hover .aetherion-pro-bento-thumbnail {
    transform: scale(1.05);
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 50px;
    width: 50px;
    font-size: 25px;
    background: linear-gradient(135deg, #D1FE6A 0%, #F6EB61 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 12px 14px 6px 16px;
    z-index: 3;
    transition: transform 0.3s ease, background 0.3s ease;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-card:hover .aetherion-pro-bento-icon {
    transform: scale(1.2);
    background: linear-gradient(135deg, #F6EB61 0%, #D1FE6A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-author {
    position: relative;
    margin-top: -20px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    box-sizing: border-box;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-author-avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid #0A0A0F;
    background: #0A0A0F;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-author-name {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 14px;
    color: #B3B3B3;
    background: rgba(10, 10, 15, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-inner {
    padding: 15px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    box-sizing: border-box;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-title {
    margin: 0;
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-title a:hover {
    color: #D1FE6A;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-excerpt {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 14px;
    color: #E6E6E6;
    line-height: 1.5;
    flex-grow: 1;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'Roboto Flex', sans-serif;
    font-size: 12px;
    color: #B3B3B3;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-date i {
    margin-right: 4px;
    background: linear-gradient(135deg, #D1FE6A 0%, #F6EB61 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background 0.3s ease;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-likes {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-likes .wp-ulike-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #B3B3B3;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-likes .wp-ulike-btn i {
    font-size: 14px;
    background: linear-gradient(135deg, #D1FE6A 0%, #F6EB61 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background 0.3s ease;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-likes .wp-ulike-btn.wp-ulike-is-liked i {
    background: linear-gradient(135deg, #F6EB61 0%, #D1FE6A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 1.5s infinite ease-in-out;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-likes .wp-ulike-likes-count {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 12px;
    color: #B3B3B3;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-readmore {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 100;
    background: linear-gradient(135deg, #D1FE6A 0%, #F6EB61 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: background 0.3s ease;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-readmore:hover {
    background: linear-gradient(135deg, #F6EB61 0%, #D1FE6A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-readmore-underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #D1FE6A, #F6EB61);
    transition: width 0.3s ease;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-readmore:hover .aetherion-pro-readmore-underline {
    width: 100%;
}

/* Слайдер для мобильных */
.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider {
    display: none;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 15px;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-wrapper {
    padding: 10px 0 30px;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-slide {
    width: 85%;
    display: flex;
    justify-content: center;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .aetherion-pro-bento-card {
    width: 100%;
    margin: 0;
    min-height: 350px;
    box-sizing: border-box;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-button-prev,
.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-button-next {
    display: none;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 15px;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-pagination-bullet {
    background-color: rgba(209, 254, 106, 0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-pagination-bullet-active {
    background-color: #D1FE6A;
}

/* Адаптивные стили */
@media (max-width: 1024px) {
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-card {
        min-height: 330px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-image {
        height: 240px;
    }
}

@media (max-width: 767px) {
    .aetherion-pro .elementor-section.elementor-aetherion-bento-section .aetherion-pro-bento-posts-container.elementor-aetherion-bento {
        padding: 0;
    }
    
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-grid {
        display: none;
		        padding: 15px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider {
        display: block;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-slider .swiper-slide {
        width: 80%;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-card {
        min-height: 300px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-inner {
        padding: 10px 15px 15px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-title {
        font-size: 16px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-excerpt {
        font-size: 12px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-meta {
        font-size: 10px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-readmore {
        font-size: 12px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-image {
        height: 120px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-bento-author {
        margin-top: -18px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-author-avatar {
        width: 36px;
        height: 36px;
    }
    .aetherion-pro .elementor-aetherion-bento .aetherion-pro-author-name {
        font-size: 12px;
    }
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}