/**
 * LANTES Japan - 新闻页面样式（优化配色方案）
 * 采用和纸主题配色，提升视觉一致性和可读性
 */

/* Hero Section - 优化蓝色渐变，增强文字可读性 */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a6d 50%, #0f2a44 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 30, 50, 0.7);
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: grain 20s linear infinite;
    pointer-events: none;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(-15%, 10%); }
    90% { transform: translate(10%, 5%); }
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.98);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* News Navigation Pills - 改善视觉层次 */
.news-nav-section {
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-section);
}

.news-nav-pills {
    background: var(--bg-paper);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.news-nav-pills .nav-link {
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 1rem 1.5rem;
    margin: 0 0.25rem;
    border: none;
    background: transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.news-nav-pills .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 111, 165, 0.08), transparent);
    transition: left 0.5s ease;
}

.news-nav-pills .nav-link:hover::before {
    left: 100%;
}

.news-nav-pills .nav-link:hover {
    color: var(--primary-color);
    background: rgba(74, 111, 165, 0.05);
    transform: translateY(-2px);
}

.news-nav-pills .nav-link.active {
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.news-nav-pills .nav-link.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 111, 165, 0.4);
}

/* Section Title - 使用主题配色 */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* News Items - 优化卡片样式 */
.news-item {
    background: var(--bg-paper);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
    box-shadow: var(--shadow-light);
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.news-title {
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.read-more-btn:hover {
    color: var(--primary-dark);
    text-decoration: none;
    transform: translateX(5px);
}

/* Sidebar - 优化侧边栏配色 */
.sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: var(--bg-paper);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.widget-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 111, 165, 0.25);
}

.recent-news-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.recent-news-item:last-child {
    border-bottom: none;
}

.recent-news-date {
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    min-width: 45px;
    text-align: center;
}

.recent-news-item h6 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.recent-news-item h6 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.recent-news-item h6 a:hover {
    color: var(--primary-color);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-section);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.category-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
    text-decoration: none;
}

/* Press Releases - 新闻发布样式优化 */
.press-releases-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.press-item {
    background: var(--bg-paper);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.press-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.press-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.press-date {
    color: var(--text-muted);
    font-weight: 500;
}

.press-category {
    background: var(--accent-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.press-title {
    margin-bottom: 1rem;
}

.press-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.press-title a:hover {
    color: var(--primary-color);
}

.press-summary {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.press-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Company Updates - 公司更新样式 */
.company-updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.update-card {
    background: var(--bg-paper);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.update-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.update-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.update-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.update-content p:last-child {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Events Timeline - 事件时间线优化 */
.events-timeline {
    position: relative;
    padding-left: 2rem;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    border-radius: 1px;
}

.event-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.event-item::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid var(--bg-paper);
    border-radius: 50%;
    z-index: 2;
    box-shadow: var(--shadow-light);
}

.event-date {
    background: var(--gradient-primary);
    color: #fff;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    min-width: 100px;
    box-shadow: var(--shadow-light);
}

.date-month {
    font-size: 0.875rem;
    opacity: 0.9;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
}

.date-year {
    font-size: 0.875rem;
    opacity: 0.9;
}

.event-content {
    background: var(--bg-paper);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    flex: 1;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.event-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.event-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.event-location {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Contact CTA Section - 联系CTA优化，增强文字可读性 */
.contact-cta-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a6d 50%, #0f2a44 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(15, 30, 50, 0.8) 0%, rgba(26, 54, 93, 0.6) 100%);
    z-index: 1;
}

.contact-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    z-index: 2;
}

.contact-cta-section .container {
    position: relative;
    z-index: 3;
}

.contact-cta-section h3 {
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .news-nav-pills {
        padding: 0.25rem;
    }
    
    .news-nav-pills .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .press-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .update-card {
        flex-direction: column;
        text-align: center;
    }
    
    .events-timeline {
        padding-left: 1rem;
    }
    
    .event-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .event-date {
        align-self: center;
        min-width: 80px;
    }
    
    .press-actions,
    .event-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
    
    .press-item {
        padding: 1.5rem;
    }
    
    .update-card {
        padding: 1.5rem;
    }
    
    .event-content {
        padding: 1rem;
    }
}

/* 打印样式 */
@media print {
    .hero-section,
    .news-nav-section,
    .sidebar,
    .contact-cta-section {
        display: none;
    }
    
    .news-item,
    .press-item,
    .update-card,
    .event-content {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 