/* 页面整体背景 */
body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* 搜索板块样式 */
.hero-search-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-search-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.hero-search-area {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-search-form {
    width: 100%;
}

.hero-search-input-group {
    display: flex;
    height: 60px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-search-category {
    background: #f8f9fa;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    outline: none;
    width: 120px;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    flex-shrink: 0;
}

.hero-search-category:focus {
    background: #e9ecef;
}

.hero-search-input {
    flex: 1;
    padding: 0 25px;
    font-size: 16px;
    border: none;
    outline: none;
    background: white;
    color: #333;
    min-width: 0;
}

.hero-search-input::placeholder {
    color: #999;
    font-size: 16px;
}

.hero-search-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0 35px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 120px;
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-search-button:hover {
    background: #c0392b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-search-section {
        height: 400px;
    }

    .hero-search-input-group {
        height: 50px;
        flex-direction: column;
        height: auto;
        border-radius: 10px;
    }

    .hero-search-category,
    .hero-search-input,
    .hero-search-button {
        width: 100%;
        height: 50px;
        border-radius: 0;
    }

    .hero-search-category {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
}

/* 导航栏板块样式 */
.nav-section {
    background: white;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: white;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
}

.nav-item {
    padding: 20px 30px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #e74c3c;
}

.nav-item.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        padding: 15px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nav-item {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* 主要内容区域样式 */
.main-content-wrapper {
    background: #f5f5f5;
    padding: 20px 0;
}

.main-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.left-content {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right-content {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 大图新闻区域 */
.hero-news-section {
    display: flex;
    gap: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-news-main {
    flex: 2;
    position: relative;
    height: 300px;
}

.hero-news-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 20px 20px;
}

.hero-news-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.hero-news-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.side-news-item {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.side-news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px 15px 15px;
}

.side-news-title {
    color: white;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

/* 热点头条板块 */
.hot-news-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hot-news-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.hot-news-label {
    background: #d32f2f;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.hot-news-main-title h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.hot-news-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.hot-news-list {
    display: flex;
    gap: 40px;
}

.hot-news-column {
    flex: 1;
}

.hot-news-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-news-column li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
}

.hot-news-column li:before {
    content: '•';
    color: #999;
    position: absolute;
    left: 0;
}

.hot-news-column li:hover {
    color: #e74c3c;
    cursor: pointer;
}

/* 广告位 */
.ad-section {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ad-banner {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.ad-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ad-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-contact {
    background: rgba(255, 165, 0, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* 图文资讯板块 */
.news-articles-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.section-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
    text-align: left;
}

.section-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: #1976d2;
    border-radius: 2px;
}

.article-item {
    display: flex;
    gap: 15px;
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-category {
    position: absolute;
    top: 15px;
    left: 0;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 2;
    font-weight: 600;
}

.article-category.tech {
    background: #1976d2;
}

.article-category.focus {
    background: #333;
}

.article-image {
    width: 150px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    flex: 1;
}

.article-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.4;
}

.article-title:hover {
    color: #1976d2;
    cursor: pointer;
}

.article-summary {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.article-meta span {
    position: relative;
}

.article-meta span:not(:last-child):after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #ddd;
}

/* 右侧板块通用样式 */
.right-content > div {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 广告位例外，不应用通用样式 */
.right-content > .sidebar-ad-section {
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* 热门推荐 */
.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommend-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.recommend-image {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.recommend-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-title {
    font-size: 13px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.recommend-title:hover {
    color: #e74c3c;
    cursor: pointer;
}

/* 分类直达 */
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-row {
    display: flex;
    gap: 10px;
}

.category-item {
    flex: 1;
    padding: 8px 12px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.category-item:hover {
    background: #e74c3c;
    color: white;
}

/* 大家都在"看" */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.popular-number {
    width: 20px;
    height: 20px;
    background: #999;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.popular-item:nth-child(-n+3) .popular-number {
    background: #e74c3c;
}

.popular-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.popular-text:hover {
    color: #e74c3c;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content-container {
        flex-direction: column;
    }

    .left-content,
    .right-content {
        flex: none;
    }

    .hero-news-section {
        flex-direction: column;
    }

    .hero-news-main {
        height: 200px;
    }

    .hot-news-list {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-content-wrapper {
        padding: 15px 0;
    }

    .main-content-container {
        padding: 0 15px;
        gap: 15px;
    }

    .left-content,
    .right-content {
        gap: 15px;
    }

    .hero-news-header {
        flex-direction: column;
        gap: 15px;
    }

    .article-item {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: 150px;
    }
}

/* 大家都在"搜" */
.search-tags-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-tags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.search-tag {
    padding: 8px 12px;
    background: white;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-tag:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #333;
}

/* 侧边栏广告位 */
.sidebar-ad-section {
    margin-bottom: 20px;
    padding: 0;
    border: none;
    background: none;
}

.sidebar-ad-banner {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.sidebar-ad-banner img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

/* 热门图文 */
.hot-image-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-image-news-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.hot-image-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hot-image-news-thumb {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.hot-image-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-image-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hot-image-news-title {
    font-size: 13px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.hot-image-news-title:hover {
    color: #e74c3c;
    cursor: pointer;
}

.hot-image-news-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.3;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content-container {
        flex-direction: column;
    }

    .left-content,
    .right-content {
        flex: none;
    }

    .hero-news-section {
        flex-direction: column;
    }

    .hero-news-main {
        height: 200px;
    }

    .hot-news-list {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-content-wrapper {
        padding: 15px 0;
    }

    .main-content-container {
        padding: 0 15px;
        gap: 15px;
    }

    .left-content,
    .right-content {
        gap: 15px;
    }

    .hero-news-header {
        flex-direction: column;
        gap: 15px;
    }

    .article-item {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: 150px;
    }
}

/* 快速投稿 */
.quick-submit-content {
    text-align: center;
    padding: 10px 0;
}

.quick-submit-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.quick-submit-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.quick-submit-desc .highlight {
    color: #333;
    font-weight: 600;
}

.quick-submit-button {
    margin-bottom: 10px;
}

.submit-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.quick-submit-notice {
    margin-bottom: 20px;
}

.notice-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 13px;
}

.notice-link:hover {
    text-decoration: underline;
}

.quick-submit-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* 分类新闻板块 */
.category-news-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.category-news-block {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.category-news-title {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.category-news-more {
    color: #999;
    text-decoration: none;
    font-size: 13px;
}

.category-news-more:hover {
    color: #666;
}

.category-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-news-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 12px;
}

.category-news-list li:before {
    content: '•';
    color: #e74c3c;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.category-news-list li:last-child {
    margin-bottom: 0;
}

.category-news-list a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

.category-news-list a:hover {
    color: #e74c3c;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .category-news-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 */