* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #d60000;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* 顶部 */
.header {
    background: #1f1f1f;
    color: #fff;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo a {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}

.nav a {
    color: #fff;
    margin-left: 24px;
    font-size: 15px;
}

.nav a:hover {
    color: #ffd200;
}

/* banner */
.banner {
    background: linear-gradient(135deg, #212121, #7b0000);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.banner h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.banner p {
    font-size: 16px;
}

/* 主体 */
.main {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.left {
    width: 820px;
}

.right {
    width: 360px;
}

.box {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 4px;
}

.box-title {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.box-title h1,
.box-title h2 {
    font-size: 20px;
    color: #222;
}

/* 文章卡片 */
.article-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item .pic {
    display: block;
    width: 180px;
    height: 110px;
    margin-right: 15px;
    overflow: hidden;
    background: #eee;
}

.article-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-item .info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-item .info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.article-item .info span {
    color: #999;
    font-size: 13px;
}

/* 新闻列表 */
.news-list li,
.hot-list li,
.cat-list li {
    list-style: none;
    line-height: 38px;
    border-bottom: 1px dashed #eee;
}

.news-list li {
    display: flex;
    justify-content: space-between;
}

.news-list li span {
    color: #999;
    font-size: 13px;
}

/* 面包屑 */
.breadcrumb {
    background: #fff;
    margin-top: 20px;
    padding: 12px 20px;
    color: #666;
}

/* 文章详情 */
.article-detail h1 {
    font-size: 28px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 15px;
}

.article-meta {
    text-align: center;
    color: #999;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.article-meta span {
    margin: 0 10px;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.prev-next {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.prev-next p {
    line-height: 32px;
}

/* 分页 */
.page {
    text-align: center;
    margin-top: 20px;
}

.page a,
.page span {
    display: inline-block;
    padding: 6px 12px;
    background: #eee;
    margin: 0 3px;
    border-radius: 3px;
}

.page a:hover {
    background: #d60000;
    color: #fff;
}

/* 友情链接 */
.friend {
    margin-top: 20px;
}

.friend-links a {
    display: inline-block;
    margin: 0 15px 10px 0;
    color: #555;
}

.friend-links a:hover {
    color: #d60000;
}

.link-page a {
    padding: 8px 14px;
    background: #f3f3f3;
    border-radius: 3px;
}

.link-desc {
    margin-top: 25px;
    line-height: 2;
    color: #666;
}

/* 底部 */
.footer {
    background: #1f1f1f;
    color: #aaa;
    text-align: center;
    padding: 25px 0;
    margin-top: 30px;
}

.footer a {
    color: #aaa;
}
/* 发布网类型板块 */
.type-section {
    padding: 35px 0 25px;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
}

.section-title h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 8px;
}

.section-title p {
    color: #777;
    font-size: 14px;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.type-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #d60000;
}

.type-icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 14px;
}

.type-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.type-card h3 a {
    color: #222;
}

.type-card h3 a:hover {
    color: #d60000;
}

.type-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    height: 50px;
    overflow: hidden;
    margin-bottom: 16px;
}

.type-btn {
    display: inline-block;
    padding: 7px 20px;
    background: #d60000;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

.type-btn:hover {
    background: #a80000;
    color: #fff;
}