/* 面包屑导航 */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 1rem 5%;
    background: var(--light);
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb li {
    margin: 0 0.5rem;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb li:not(:last-child):after {
    content: '>';
    margin-left: 1rem;
    color: var(--gray);
}

/* 新闻详情主容器 */
.news-detail-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
}

/* 新闻正文 */
.news-article {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    background:#ffffff;
}

.news-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.company-news {
    background: var(--primary);
}

.news-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.news-meta i {
    margin-right: 0.3rem;
    color: var(--accent);
}

.news-image {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-content {
    line-height: 1.8;
}

.news-content h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-quote {
    background: var(--light);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--primary);
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.news-tag {
    display: inline-block;
    background: var(--light);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.news-tag:hover {
    background: var(--accent);
    color: white;
}

/* 新闻底部分享和导航 */
.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    padding-bottom: 33px;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

.share-button:hover {
    color: white;
    transform: translateY(-3px);
}

.share-wechat:hover {
    background: #07C160;
}

.share-weibo:hover {
    background: #E6162D;
}

.share-qq:hover {
    background: #12B7F5;
}

.share-link:hover {
    background: var(--accent);
}

.news-navigation {
    display: flex;
    gap: 1rem;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--light);
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.nav-button:hover {
    background: var(--accent);
    color: white;
}

/* 相关新闻 */
.related-news {
    margin-top: 3rem;
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.related-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-image {
    width: 100px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    transition: var(--transition);
}

.related-item:hover h4 {
    color: var(--accent);
}

.related-date {
    font-size: 0.8rem;
    color: var(--gray);
}

/* 评论区域 */
.comments-section {
    margin-top: 3rem;
}

.comment-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.comment-list {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comment-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.comment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary);
}

.comment-date {
    color: var(--gray);
    font-size: 0.8rem;
}

.comment-text {
    line-height: 1.7;
}

.comment-reply {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.8rem;
    transition: var(--transition);
}

.comment-reply:hover {
    text-decoration: underline;
}

/* 侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light);
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

/* 热门新闻 */
.popular-news {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.popular-item {
    text-decoration: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.popular-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    color: var(--dark);
}

.popular-content h4:hover {
    color: var(--accent);
}

.popular-date {
    font-size: 0.8rem;
    color: var(--gray);
}

/* 新闻分类 */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.category-list a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.category-list a span {
    background: var(--light);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    background: var(--light);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--accent);
    color: white;
}

/* 新闻简报订阅 */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary);
}
