/* erotontrans.com 手机站(/m/)自定义样式，覆盖在 amazeui.min.css 之后 */

/* 隐藏没有文章的新闻区块（区块内没有 <li> 即整块不显示），兼容空白文本节点 */
.am-list-news:not(:has(li)) {
  display: none;
}

/* 顶部标题栏 */
.am-header.am-header-default {
  background: #2fa686;
  height: 48px;
}
.am-header-default .am-header-title {
  text-align: center;
  margin: 0 44px;
}
.am-header-default .am-header-title a {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

/* 左上角菜单按钮 */
.am-menu-toggle {
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #fff;
}
.am-menu-toggle .am-icon-bars { font-size: 22px; }

/* 侧边菜单 */
.am-offcanvas-bar { background: #fff; }
.am-menu-nav a {
  padding: 13px 18px;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

/* 新闻区块标题 */
.am-list-news-hd h2 {
  font-size: 17px;
  color: #2fa686;
  font-weight: 600;
  padding: 4px 0;
}

/* 列表缩略图统一尺寸、圆角、不变形 */
.am-list-thumb img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}
.am-list-item { padding: 12px 10px; }
.am-list-item-hd a { color: #222; font-size: 15px; }
.am-list-item-text {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 4px;
}

/* “查看更多”按钮 */
.am-list-news-ft { padding: 8px 10px 16px; text-align: center; }
.am-list-news-more.am-btn {
  border-radius: 20px;
  font-size: 13px;
  color: #2fa686;
  border-color: #2fa686;
  background: #fff;
}

/* 底部版权 */
.blog-footer {
  font-size: 12px;
  color: #999;
  line-height: 1.8;
  padding: 16px 12px;
}
.blog-footer a { color: #999; }

/* ===== 内页（列表/详情 am-topbar）统一品牌样式 ===== */
.am-topbar {
  background: #2fa686;
  border: none;
  min-height: 44px;
}
.am-topbar-brand a { color: #fff !important; font-size: 16px; }
.am-topbar .am-btn-success { background: #279277; border-color: #279277; }
/* 列表缩略图统一圆角、不变形 */
.am-list-thumb img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}
.am-list-item { padding: 12px 10px; }
.am-list-item-hd a { color: #222; font-size: 15px; }
/* 详情页正文间距 */
.blog-main { padding: 16px 12px; }
.blog-title { font-size: 19px; }
.blog-meta { font-size: 13px; color: #888; }
