* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f8f9fa; color: #333; line-height: 1.5; }
a { text-decoration: none; color: #333; }
a:hover { color: #007bff; }
ul { list-style: none; }

/* 统一内容最大宽度并居中 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 10px; }

/* 顶部导航栏（应用统一宽度） */
#header-wrap { background: #fff; border-bottom: 1px solid #eee; }
#header { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.logo a { font-size: 20px; font-weight: bold; color: #e91e63; }
.contact-wx { font-size: 14px; color: #00b0ff; font-weight: 500; }

/* 移动端图片广告位（仅在移动端展示） */
.mobile-ad { display: block; margin: 10px 0; text-align: center; }
.mobile-ad img { width: 100%; height: auto; border-radius: 4px; }
@media (min-width: 768px) {
    .mobile-ad { display: none; }
}

/* 热门城市板块 */
.hotcity-box { background: #fff; padding: 15px; margin: 10px 0; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.hotcity-box h3 { font-size: 16px; margin-bottom: 10px; color: #444; border-left: 3px solid #e91e63; padding-left: 8px; }
.hotcity { display: flex; flex-wrap: wrap; gap: 8px; }
.hotcity .item a { display: block; padding: 6px 12px; background: #f1f1f1; border-radius: 3px; font-size: 13px; color: #555; }
.hotcity .item a:hover { background: #e91e63; color: #fff; }

/* 招聘列表板块 - 一行2个 */
.mainblock { background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 10px; }
.mainblock h2 { font-size: 18px; margin-bottom: 15px; border-bottom: 2px solid #e91e63; padding-bottom: 8px; color: #222; }

/* 使用 Grid 布局实现一行2个 */
.list { display: grid; grid-template-columns: repeat(1, 1fr); gap: 10px; }
@media (min-width: 768px) {
    .list { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

.list .item-card { padding: 12px; border: 1px solid #f1f1f1; border-radius: 4px; background: #fafafa; display: flex; flex-direction: column; justify-content: space-between; }
.list .item-card:hover { border-color: #e91e63; background: #fff; }

/* 置顶卡片特殊样式 */
.list .item-card.top-item { border-color: #ff9800; background: #fffdf5; }
.top-tag { background: #ff9800; color: #fff; font-size: 11px; padding: 1px 4px; border-radius: 2px; margin-right: 5px; display: inline-block; }

.list h3 { font-size: 14px; font-weight: normal; margin-bottom: 8px; }
.list h3 a { color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list h3 a:hover { color: #e91e63; }
.list .meta { font-size: 12px; color: #999; display: flex; justify-content: space-between; align-items: center; }
.list .meta .views { color: #888; }

/* 友情链接板块 */
.links-box { background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 10px; }
.links-box h3 { font-size: 16px; margin-bottom: 10px; color: #444; border-left: 3px solid #333; padding-left: 8px; }
.links-list { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; }
.links-list a { color: #666; }

/* 底部版权 */
#footer { text-align: center; padding: 20px 10px; font-size: 12px; color: #777; background: #eaeaea; margin-top: 20px; }
#footer a { color: #555; }