.hero-banner {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: var(--white);
    z-index: 2;
}

.carousel-slide-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-slide-content p {
    font-size: 18px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-dot.active {
    background: var(--white);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.channel-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.channel-card.policy:hover {
    border-color: #3b82f6;
}

.channel-card.library:hover {
    border-color: #8b5cf6;
}

.channel-card.safety:hover {
    border-color: #f59e0b;
}

.channel-card.faq:hover {
    border-color: #10b981;
}

.channel-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.channel-card.policy .channel-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.channel-card.library .channel-icon {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.channel-card.safety .channel-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.channel-card.faq .channel-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.channel-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.channel-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.content-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.content-card-title .icon {
    margin-right: 8px;
}

.content-card-body {
    padding: 16px 24px 20px;
}

.content-card-body .article-item a {
    font-size: 14px;
}

.content-card-body .article-item a.paid-article {
    color: var(--text-color);
}

.content-card-body .article-item a.paid-article:hover {
    color: #d97706;
}

.home-search-bar {
    margin-bottom: 32px;
}

.home-search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.home-search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.home-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 0;
    background: transparent;
    color: var(--text-color);
}

.home-search-input::placeholder {
    color: var(--text-light);
}

.home-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.home-search-btn:hover {
    background: var(--primary-hover);
}

.home-search-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.home-search-tags a {
    color: var(--text-light);
    padding: 4px 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
}

.home-search-tags a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #eff6ff;
}

@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }

    .carousel-slide-content {
        bottom: 40px;
        left: 30px;
        right: 30px;
    }

    .carousel-slide-content h2 {
        font-size: 24px;
    }

    .carousel-slide-content p {
        font-size: 14px;
    }

    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .channel-grid {
        grid-template-columns: 1fr;
    }
}