/* Blog Carousel */
.blog-carousel-wrapper {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
}

.blog-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.blog-carousel-title {
    font-size: 36px;
    font-weight: 900;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0;
}

.blog-carousel-nav {
    display: flex;
    gap: 12px;
}

.blog-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-nav-btn:hover {
    background: #05307A;
    border-color: #05307A;
}

.blog-nav-btn:hover svg {
    stroke: white;
}

.blog-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: #374151;
    transition: all 0.3s;
}

.blog-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.blog-nav-btn.disabled:hover {
    background: white;
    border-color: #e5e7eb;
}

.blog-nav-btn.disabled:hover svg {
    stroke: #374151;
}

.blog-carousel-container {
    position: relative;
    overflow: hidden;
}

.blog-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card {
    flex: 0 0 calc(33.333% - 16px);
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(5, 48, 122, 0.15);
    border-color: #05307A;
}

.blog-post-image {
    width: 100%;
    height: 240px;
    background: #fafafa;
    overflow: hidden;
    position: relative;
}

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

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #05307A 0%, #042559 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
}

.blog-post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: #9ca3af;
}

.blog-post-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 50px;
    margin: 0;
}

.blog-post-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.blog-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #05307A;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.blog-post-read-more svg {
    width: 16px;
    height: 16px;
    stroke: #05307A;
    transition: transform 0.3s;
}

.blog-post-card:hover .blog-post-read-more svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-post-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .blog-carousel-title {
        font-size: 28px;
    }
    
    .blog-post-card {
        flex: 0 0 100%;
    }
    
    .blog-post-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
