/* 首页博客轮播样式 */
.home-blog-section {
    padding: 80px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.home-blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 0, 89, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.home-blog-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.home-blog-title .bg_tit {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 0;
}

.home-blog-title .poa_tit {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.home-blog-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
}

.home-blog-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.home-blog-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-blog-slide {
    flex: 0 0 100%;
    display: flex;
}

.home-blog-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: rgba(5, 5, 5, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.home-blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 0, 89, 0.5);
    box-shadow: 0 30px 80px rgba(201, 0, 89, 0.2);
}

.home-blog-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.home-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-blog-card:hover .home-blog-card-image img {
    transform: scale(1.05);
}

.home-blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

.home-blog-card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.home-blog-card:hover .home-blog-card-title {
    color: #C90059;
}


/* 导航按钮 */
.home-blog-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(201, 0, 89, 0.15);
    border: 2px solid rgba(201, 0, 89, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(12px);
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.home-blog-nav:hover:not(.disabled) {
    background: rgba(201, 0, 89, 0.3);
    border-color: rgba(201, 0, 89, 0.6);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(201, 0, 89, 0.3);
}

.home-blog-nav:active:not(.disabled) {
    transform: translateY(-50%) scale(0.95);
}

.home-blog-nav.prev {
    left: 10px;
}

.home-blog-nav.next {
    right: 10px;
}

.home-blog-nav i {
    display: none;
}

/* 使用CSS绘制箭头 */
.home-blog-nav.prev::before {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2.5px solid #ffffff;
    border-bottom: 2.5px solid #ffffff;
    transform: rotate(45deg);
    display: block;
    transition: all 0.3s ease;
}

.home-blog-nav.next::before {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2.5px solid #ffffff;
    border-top: 2.5px solid #ffffff;
    transform: rotate(45deg);
    display: block;
    transition: all 0.3s ease;
}

.home-blog-nav:hover:not(.disabled)::before {
    border-color: #ffffff;
    transform: rotate(45deg) scale(1.2);
}

.home-blog-nav.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.home-blog-nav.disabled::before {
    opacity: 0.5;
}

/* 指示器 */
.home-blog-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.home-blog-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.home-blog-indicator.active {
    background: #C90059;
    width: 32px;
    border-radius: 6px;
    border-color: rgba(201, 0, 89, 0.5);
}

.home-blog-indicator:hover {
    background: rgba(201, 0, 89, 0.6);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .home-blog-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .home-blog-carousel-container {
        padding: 0 70px;
    }
    
    .home-blog-nav {
        width: 40px;
        height: 40px;
    }
    
    .home-blog-nav.prev {
        left: 10px;
    }
    
    .home-blog-nav.next {
        right: 10px;
    }
    
    .home-blog-nav.prev::before,
    .home-blog-nav.next::before {
        width: 9px;
        height: 9px;
        border-width: 2px;
    }
}

@media (max-width: 768px) {
    .home-blog-section {
        padding: 60px 0;
    }
    
    .home-blog-title .bg_tit {
        font-size: 2.5rem;
    }
    
    .home-blog-title .poa_tit {
        font-size: 1.8rem;
    }
    
    .home-blog-carousel-container {
        padding: 0 60px;
    }
    
    .home-blog-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .home-blog-card-image {
        height: 240px;
    }
    
    .home-blog-nav {
        width: 38px;
        height: 38px;
    }
    
    .home-blog-nav.prev {
        left: 10px;
    }
    
    .home-blog-nav.next {
        right: 10px;
    }
    
    .home-blog-nav.prev::before,
    .home-blog-nav.next::before {
        width: 8px;
        height: 8px;
        border-width: 2px;
    }
    
    .home-blog-card-content {
        padding: 20px;
    }
    
    .home-blog-card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .home-blog-section {
        padding: 40px 0;
    }
    
    .home-blog-title {
        margin-bottom: 40px;
    }
    
    .home-blog-title .bg_tit {
        font-size: 2rem;
    }
    
    .home-blog-title .poa_tit {
        font-size: 1.5rem;
    }
    
    .home-blog-card-image {
        height: 200px;
    }
}

