﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f8f8f8;
    color: #333;
}

/* Breadcrumb */
.breadcrumb-section {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #333;
}

/* Main Section */
.main-section {
    padding: 60px 0;
}

.page-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

/* Category Slider */
.category-slider-wrapper {
    position: relative;
    margin-bottom: 60px;
}

.category-slider {
    display: flex;
    gap: 15px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 5px 0;
}

.category-card {
    flex: 0 0 220px;
    height: 120px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .category-card:hover {
        transform: translateY(-5px);
    }

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

    .slider-control:hover {
        background: #f0f0f0;
    }

    .slider-control.prev {
        left: -20px;
    }

    .slider-control.next {
        right: -20px;
    }

/* Article Grid */
.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

    .article-card:hover {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
        transform: translateY(-3px);
    }

.article-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-tags {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.tag {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.article-content {
    padding: 25px;
}

.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #333;
}

.article-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .category-card {
        flex: 0 0 180px;
        height: 100px;
    }

    .category-name {
        font-size: 14px;
    }

    .article-image {
        height: 220px;
    }

    .article-title {
        font-size: 18px;
    }
}

