/* 创业第一站 - 样式表（cyzone 风格布局，原创实现） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font: 14px/1.7 "PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif; color: #333; background: #fff; }
a { color: #333; text-decoration: none; }
a:hover { color: #e4393c; }
.wrap { width: 1200px; max-width: 96%; margin: 0 auto; }

/* 顶部深色条 */
.topbar { background: #22252b; color: #bbb; font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; height: 34px; align-items: center; }
.top-links a { color: #c8ccd2; margin-right: 22px; }
.top-links a:hover { color: #fff; }
.top-actions a { color: #c8ccd2; }
.divider { margin: 0 8px; color: #555; }

/* Logo + 主导航 */
.masthead { border-bottom: 2px solid #e4393c; background: #fff; }
.masthead-inner { display: flex; align-items: flex-end; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; }
.logo-mark { width: 46px; height: 46px; background: #e4393c; color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.logo-text { font-size: 26px; font-weight: 700; color: #22252b; letter-spacing: 1px; }
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: #999; letter-spacing: 2px; }
.mainnav { display: flex; gap: 34px; padding-bottom: 16px; }
.mainnav a { font-size: 16px; font-weight: 600; color: #333; position: relative; }
.mainnav a:hover, .mainnav a.active { color: #e4393c; }
.mainnav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 3px; background: #e4393c; }

/* 首页三栏 */
.main-area { display: grid; grid-template-columns: 440px 1fr 300px; gap: 26px; padding: 24px 0 40px; }

/* 轮播 */
.hero-slider { position: relative; height: 300px; overflow: hidden; border-radius: 6px; background: #f4f5f7; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.hero-slide.active { opacity: 1; }
.hero-cover { height: 250px; background: linear-gradient(135deg,#e4393c,#8b1f33); color: rgba(255,255,255,.9); font-size: 80px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hero-title { background: rgba(20,22,26,.85); color: #fff; height: 50px; display: flex; align-items: center; padding: 0 14px; font-size: 15px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero-title a { color: #fff; }
.hero-dots { position: absolute; right: 12px; bottom: 60px; display: flex; gap: 6px; }
.hero-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots .dot.on { background: #e4393c; }

/* 资讯流 */
.feed-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.feed-item:first-child { padding-top: 4px; }
.feed-cover { flex: 0 0 140px; height: 94px; background: linear-gradient(135deg,#2b7de9,#1a4f9e); color: rgba(255,255,255,.9); font-size: 36px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.feed-body { flex: 1; min-width: 0; }
.feed-body h2 { font-size: 17px; line-height: 1.45; margin-bottom: 6px; }
.feed-body h2 a:hover { color: #e4393c; }
.feed-summary { font-size: 13px; color: #888; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.feed-meta { font-size: 12px; color: #aaa; display: flex; align-items: center; gap: 12px; }
.cat-tag { color: #e4393c; border: 1px solid #e4393c; border-radius: 3px; padding: 0 6px; font-size: 11px; }

/* 右侧栏 */
.panel { border: 1px solid #eee; border-radius: 6px; padding: 16px; margin-bottom: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #22252b; padding-bottom: 8px; margin-bottom: 12px; }
.panel-head h3 { font-size: 16px; position: relative; }
.panel-head h3::before { content: ""; display: inline-block; width: 4px; height: 14px; background: #e4393c; margin-right: 8px; }
.more { font-size: 12px; color: #999; }
.album-list { list-style: none; }
.album-list li { margin-bottom: 10px; }
.album-list a { display: flex; align-items: center; gap: 10px; }
.album-cover { width: 44px; height: 32px; background: #f0f2f5; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #e4393c; flex: none; }
.album-name { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.album-count { font-size: 11px; color: #aaa; }
.video-list { list-style: none; }
.video-list li { padding: 7px 0; border-bottom: 1px dashed #f0f0f0; font-size: 13px; }
.video-list li:last-child { border-bottom: 0; }
.video-list a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: #f4f5f7; border-radius: 3px; padding: 3px 10px; font-size: 12px; color: #666; }
.tag-cloud a:hover { background: #e4393c; color: #fff; }

/* 栏目页 */
.channel-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 26px; padding: 24px 0 40px; }
.channel-head { display: flex; align-items: baseline; gap: 12px; border-left: 4px solid #e4393c; padding-left: 12px; margin-bottom: 8px; }
.channel-head h1 { font-size: 22px; }
.channel-count { font-size: 12px; color: #aaa; }
.pager { margin-top: 20px; display: flex; gap: 8px; }
.pager a { border: 1px solid #ddd; border-radius: 3px; padding: 3px 10px; font-size: 13px; }
.pager a.on, .pager a:hover { background: #e4393c; border-color: #e4393c; color: #fff; }

/* 文章页 */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 26px; padding: 24px 0 40px; }
.crumb { font-size: 12px; color: #999; margin-bottom: 16px; }
.crumb a { color: #999; } .crumb a:hover { color: #e4393c; }
.article-title { font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
.article-meta { font-size: 12px; color: #aaa; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; display: flex; gap: 16px; }
.article-content { font-size: 16px; line-height: 2; }
.article-content p { margin-bottom: 18px; }

/* 页脚 */
.footer { background: #22252b; color: #8a8f96; font-size: 12px; text-align: center; padding: 26px 0; margin-top: 20px; }
.footer p { margin: 4px 0; }
.footer a { color: #8a8f96; margin: 0 8px; }

@media (max-width: 1024px) {
  .main-area { grid-template-columns: 1fr; }
  .channel-wrap, .article-wrap { grid-template-columns: 1fr; }
  .masthead-inner { height: auto; flex-wrap: wrap; padding: 10px 0; }
}
