/* News Page Specific Styles */

/* Ensure the banner aligns properly with the navigation */
.news-page .inner-banner-section {
    margin-top: 0; /* Remove any default margin */
    position: relative;
    height: 400px; /* Reset to default height to override contact page styles */
}

/* Make sure the banner starts right after the fixed header */
.news-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Add padding to the body to prevent content from being hidden under fixed header */
.news-page {
    padding-top: 56px; /* Adjusted to match header height (padding: 20px + nav link padding: 8px = 56px) */
}

/* Ensure modern carousel has proper height */
.news-page .modern-carousel {
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .news-page .inner-banner-section {
        height: 400px; /* Override responsive styles */
    }
}

@media (max-width: 768px) {
    .news-page .inner-banner-section {
        margin-top: 0;
        height: 300px; /* Default mobile height */
    }
    
    .news-page {
        padding-top: 56px; /* Keep same padding for tablet */
    }
    
    .news-page .modern-carousel {
        height: 100%;
    }
}

@media (max-width: 576px) {
    .news-page .inner-banner-section {
        height: 250px; /* Default small mobile height */
    }
    
    .news-page {
        padding-top: 56px; /* Keep same padding for mobile */
    }
    
    .news-page .modern-carousel {
        height: 100%;
    }
}

/* 面包屑导航增强 - 与联系页面样式一致 */
.breadcrumb-section {
    background: linear-gradient(-45deg, #5cdbd3, #ffadd2, #ffd666, #5cdbd3);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 60px;
    display: flex;
    align-items: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.custom-breadcrumb {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 0 25px;
    height: 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.custom-breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
    color: #1890ff;
}

.custom-breadcrumb span {
    color: #666;
}
