/* bing-seo-pro — 工作副本 bseo-updated.css（模板里 link 指向此文件即可；原版保留 bseo.css） */
:root {
  --b-bg: #f4f6f9;
  --b-surface: #ffffff;
  --b-ink: #0f172a;
  --b-muted: #475569;
  --b-line: #e2e8f0;
  --b-accent: #0369a1;
  --b-accent-hover: #075985;
  --b-radius: 12px;
  --b-max: 1180px;
  --b-font: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--b-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--b-ink);
  background: var(--b-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--b-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--b-accent-hover); }

.b-wrap {
  width: min(100% - 32px, var(--b-max));
  margin-inline: auto;
}

/* 包住栅格时建立独立排版上下文，避免外层 clear/float 牵连卡片 */
.b-wrap:has(.b-grid-3),
.b-wrap:has(.b-news-grid) {
  display: flow-root;
}

/* 跳转主内容 — 无障碍 + 搜索引擎理解页面结构 */
.b-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 20px;
  background: var(--b-accent);
  color: #fff;
  z-index: 9999;
}
.b-skip:focus {
  left: 16px;
  top: 16px;
}

/* Header：紫渐变主导航 + 下排搜索（bing-seo-pro） */
.b-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--b-line);
}

.b-header--kaiyun {
  border-bottom: none;
  background: #fff;
}

.b-kaiyun-strip {
  background: linear-gradient(90deg, #7c3aed 0%, #5b21b6 35%, #3730a3 70%, #312e81 100%);
  box-shadow: 0 4px 20px rgba(49, 46, 129, 0.35);
}

.b-kaiyun-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px 18px;
  min-height: 56px;
  padding: 12px 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.b-kaiyun-brand {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: -0.02em;
  max-width: min(10rem, 40vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.b-kaiyun-brand:hover {
  color: #fde68a !important;
  text-decoration: none;
}

.b-btn-kaiyun-app {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.b-btn-kaiyun-app:hover {
  background: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  color: #fff !important;
}

.b-kaiyun-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  flex: 1 1 auto;
  min-width: 0;
}

.b-kaiyun-nav a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.b-kaiyun-nav a:hover,
.b-kaiyun-nav a:focus-visible {
  color: #fff !important;
  border-bottom-color: #fbbf24;
  outline: none;
}

.b-kaiyun-login {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #1e1b4b !important;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.45);
  border: none;
  margin-left: auto;
}

.b-kaiyun-login:hover {
  filter: brightness(1.06);
  text-decoration: none;
  color: #1e1b4b !important;
}

.b-kaiyun-login__icon {
  flex-shrink: 0;
  display: block;
}

/* 窄屏：顶栏一行挤不下品牌 + 手机版 + 主导航 + 登录，nowrap + margin-left:auto 会叠在一起 */
@media (max-width: 719px) {
  .b-kaiyun-bar {
    flex-wrap: wrap;
    overflow-x: visible;
    align-items: center;
    gap: 10px 12px;
    row-gap: 12px;
  }

  .b-kaiyun-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(100%, 12rem);
  }

  .b-btn-kaiyun-app {
    flex: 0 0 auto;
    max-width: calc(100% - 8rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-inline: 12px;
  }

  /* 主导航占满下一行，可横向滑动，避免与右侧按钮抢同一行 */
  .b-kaiyun-nav {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 2px;
    gap: 14px;
  }

  .b-kaiyun-login {
    order: 3;
    margin-left: 0;
    flex: 0 0 auto;
    padding-inline: 16px;
  }
}

.b-header__search-row {
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid var(--b-line);
}

.b-header__search-row .b-search {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

@media (min-width: 720px) {
  .b-header__search-row .b-wrap--header {
    display: flex;
    justify-content: flex-end;
  }
}

.b-wrap--header {
  width: min(100% - 32px, var(--b-max));
  margin-inline: auto;
}

.b-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.b-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.b-logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--b-ink);
  text-decoration: none;
}
.b-logo:hover { color: var(--b-accent); text-decoration: none; }

.b-logo span {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--b-muted);
  letter-spacing: 0;
}

/* 仅紫条顶栏内隐藏重复 .b-catnav，不误伤纯栏目导航页 */
.b-header--kaiyun .b-catnav {
  display: none !important;
}

.b-catnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 12px 16px;
  margin: 0;
  width: 100%;
  list-style: none;
  background: #f0f2f5;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.b-catnav a {
  color: #111827;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 4px;
  white-space: nowrap;
}

.b-catnav a:hover {
  color: var(--b-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.b-nav-toggle {
  display: none;
  border: 1px solid var(--b-line);
  background: var(--b-surface);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* 兼容旧模板里仍使用 .b-nav 的页面 */
.b-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
}

.b-nav a {
  color: var(--b-ink);
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
}
.b-nav a:hover { color: var(--b-accent); }

/* Hero：体育 / 赛场氛围（本地图 static/picture/hero-sports.jpg，可替换；缺失时仍有渐变） */
.b-hero {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  background-image:
    linear-gradient(145deg, rgba(12, 74, 110, 0.82) 0%, rgba(15, 23, 42, 0.88) 42%, rgba(22, 101, 52, 0.35) 100%),
    url("../picture/hero-sports.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #e2e8f0;
  padding: clamp(48px, 8vw, 96px) 0;
}

.b-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.25;
  font-weight: 800;
  max-width: 20ch;
}

.b-hero__kicker {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #bbf7d0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.b-hero .lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  max-width: 52ch;
  color: #cbd5e1;
}

.b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}
.b-btn--primary {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
}
.b-btn--primary:hover { background: #fbbf24; color: #0f172a; text-decoration: none; }
.b-btn--ghost {
  background: transparent;
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.35);
}
.b-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.b-btn:focus-visible,
.b-search button[type="submit"]:focus-visible,
.b-nav-toggle:focus-visible {
  outline: 2px solid var(--b-accent);
  outline-offset: 2px;
}

.b-btn--primary:focus-visible {
  outline-color: #0c4a6e;
}

/* Sections */
.b-section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.b-section--alt { background: var(--b-surface); }

.b-section__head {
  margin-bottom: 32px;
  max-width: 640px;
}

.b-section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.b-section__head p {
  margin: 0;
  color: var(--b-muted);
}

/*
 * 蜘蛛池 / HTML 混淆：在栅格「直接子级」之间插入 ins/small/sup 等节点会占 flex 位导致错位。
 * 勿列入 span、picture、i/b/em 等：AmazeUI 等常用 span/am-u 或 picture 包一整列，隐藏会直接没内容。
 * 仅作用于直接子级，article 内联标签不受影响。
 */
.b-grid-3 > :where(ins, small, sup, sub, time, tt, var, area, map, bdo, dfn, kbd, samp, wbr, font, center, base, link, meta, script, style, template, noscript, slot),
.b-news-grid > :where(ins, small, sup, sub, time, tt, var, area, map, bdo, dfn, kbd, samp, wbr, font, center, base, link, meta, script, style, template, noscript, slot) {
  display: none !important;
}

.b-grid-3 > div:empty,
.b-news-grid > div:empty {
  display: none !important;
}

/* 三卡横排：对齐 sg2 #section-products — flex+nowrap 宽屏一行三卡，专门对付 CMS 下 grid 变「阶梯」 */
.b-grid-3 {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  min-width: 0;
  column-count: unset !important;
  columns: unset !important;
}

/* 中间层穿透：ul/list 等用 contents；单独子 div 在 Chrome 下 contents+flex 易异常，改为内层 flex 镜像外层 */
.b-grid-3 > .list,
.b-grid-3 > ul,
.b-grid-3 > ol,
.b-grid-3 > .row,
.b-grid-3 > .clearfix,
.b-grid-3 > .am-g,
.b-grid-3 > .news_list {
  display: contents !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.b-grid-3 > div:only-child {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  float: none !important;
}

@media (min-width: 640px) {
  .b-grid-3 > div:only-child {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 1 1 100% !important;
  }

  .b-grid-3 > div:only-child > *,
  .b-grid-3 > div:only-child > article.b-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }
}

.b-grid-3 > ul > li,
.b-grid-3 > ol > li {
  list-style: none !important;
  min-width: 0;
}

.b-grid-3 > *,
.b-grid-3 article.b-card {
  float: none !important;
  clear: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  left: auto !important;
  right: auto !important;
  min-width: 0;
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .b-grid-3 {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    min-width: 0;
  }

  /* Chrome：子项默认 min-width:auto 会按内容最小宽度撑开，导致同行错位；basis 用 0% 更稳 */
  .b-grid-3 > *,
  .b-grid-3 article.b-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    overflow-x: clip;
  }
}

.b-card {
  background: var(--b-surface);
  border: 1px solid var(--b-line);
  border-radius: var(--b-radius);
  padding: 24px;
  height: 100%;
  min-width: 0;
}

.b-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.b-card p {
  margin: 0;
  color: var(--b-muted);
  font-size: 0.95rem;
}

/* 文章列表：仅卡片进网格；勿把 ItemList 的 meta 放在本容器内，否则会占用格子导致错位 */
.b-itemlist {
  display: block;
  width: 100%;
}

/* 资讯卡片：sg2 列表用 grid，你站若被全局样式破坏 grid，改用 flex 换行模拟 2/3 列 */
.b-news-grid {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  min-width: 0;
  column-count: unset !important;
  columns: unset !important;
}

.b-news-grid > .list,
.b-news-grid > ul,
.b-news-grid > ol,
.b-news-grid > .row,
.b-news-grid > .clearfix,
.b-news-grid > .am-g,
.b-news-grid > .news_list {
  display: contents !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.b-news-grid > div:only-child {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  float: none !important;
}

@media (min-width: 640px) {
  .b-news-grid > div:only-child {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    flex: 1 1 100% !important;
  }

  .b-news-grid > div:only-child > *,
  .b-news-grid > div:only-child > article {
    flex: 1 1 calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    min-width: 0 !important;
    width: auto !important;
    overflow-x: clip;
  }
}

@media (min-width: 900px) {
  .b-news-grid > div:only-child > *,
  .b-news-grid > div:only-child > article {
    flex: 1 1 calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
  }
}

.b-news-grid > ul > li,
.b-news-grid > ol > li {
  list-style: none !important;
  min-width: 0;
}

.b-news-grid > *,
.b-news-grid article.b-news-card,
.b-news-grid article {
  float: none !important;
  clear: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  left: auto !important;
  right: auto !important;
  box-sizing: border-box;
  min-width: 0;
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .b-news-grid {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    min-width: 0;
  }

  .b-news-grid > *,
  .b-news-grid article.b-news-card,
  .b-news-grid article {
    flex: 1 1 calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    min-width: 0 !important;
    width: auto !important;
    overflow-x: clip;
  }
}

@media (min-width: 900px) {
  .b-news-grid > *,
  .b-news-grid article.b-news-card,
  .b-news-grid article {
    flex: 1 1 calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
  }
}

.b-news-card {
  background: var(--b-surface);
  border-radius: var(--b-radius);
  overflow: hidden;
  border: 1px solid var(--b-line);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.b-news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1e293b;
  overflow: hidden;
}

.b-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b-news-card__domain {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  transform: none;
  max-width: calc(100% - 20px);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b-news-card__overlay-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92), transparent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.b-news-card__overlay-title span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.b-news-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.b-news-card__body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.b-news-card__body :is(h2, h3) a {
  color: var(--b-ink);
  text-decoration: none;
}
.b-news-card__body :is(h2, h3) a:hover {
  color: var(--b-accent);
}

.b-news-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--b-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.b-news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.b-news-card__more {
  color: var(--b-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.b-news-card__more:hover { text-decoration: underline; }

.b-news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.b-news-card__link:hover { text-decoration: none; }

/* FAQ */
.b-faq {
  max-width: 720px;
}

.b-faq details {
  border: 1px solid var(--b-line);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: var(--b-surface);
}

.b-faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.b-faq summary::-webkit-details-marker { display: none; }

.b-faq details p {
  margin: 12px 0 0;
  color: var(--b-muted);
  font-size: 0.95rem;
}

/* Breadcrumb */
.b-bread {
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--b-muted);
}

.b-bread a { color: var(--b-muted); }
.b-bread a:hover { color: var(--b-accent); }

/* List page title */
.b-page-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Pagination */
.b-pagebar {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.b-pagebar a,
.b-pagebar span {
  display: inline-flex;
  min-width: 40px;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--b-line);
  background: var(--b-surface);
  color: var(--b-ink);
  text-decoration: none;
  font-size: 0.875rem;
}

.b-pagebar a:hover {
  border-color: var(--b-accent);
  color: var(--b-accent);
}

/* Article */
.b-article {
  background: var(--b-surface);
  border: 1px solid var(--b-line);
  border-radius: var(--b-radius);
  padding: clamp(24px, 4vw, 40px);
  max-width: 820px;
  margin: 0 auto;
}

.b-article__meta {
  font-size: 0.875rem;
  color: var(--b-muted);
  margin-bottom: 20px;
}

.b-article h1 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
}

.b-article .text-box {
  font-size: 1.05rem;
  color: #334155;
}

.b-article .text-box p { margin: 0 0 1em; }
.b-article .text-box img { border-radius: 8px; }

/* Footer */
.b-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 28px;
  margin-top: 48px;
}

.b-footer a { color: #cbd5e1; }
.b-footer a:hover { color: #fff; }

.b-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.b-footer h3 {
  margin: 0 0 14px;
  color: #f1f5f9;
  font-size: 1rem;
}

.b-footer p,
.b-footer li { font-size: 0.9rem; line-height: 1.7; }

.b-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.b-footer__bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  font-size: 0.8rem;
  text-align: center;
}

/* Search */
.b-search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.b-search input[type="text"] {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border: 1px solid var(--b-line);
  border-radius: 8px;
  font: inherit;
}

/* ========== 固钉布局（防 CMS 全局 CSS 把 grid/float 冲乱；全页请加 body.bing-seo-pro） ========== */
body.bing-seo-pro {
  margin: 0;
}

body.bing-seo-pro .b-wrap,
body.bing-seo-pro .b-wrap--header {
  width: min(100% - 32px, 1180px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.bing-seo-pro .b-nav-toggle {
  display: none !important;
}

body.bing-seo-pro .b-kaiyun-bar {
  display: flex !important;
}

body.bing-seo-pro .b-kaiyun-nav {
  display: flex !important;
}

body.bing-seo-pro .b-kaiyun-nav a {
  flex: 0 0 auto;
}

body.bing-seo-pro .b-kaiyun-login {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 719px) {
  body.bing-seo-pro .b-kaiyun-bar {
    flex-wrap: wrap !important;
    overflow-x: visible;
  }

  body.bing-seo-pro .b-kaiyun-login {
    margin-left: 0 !important;
  }
}

body.bing-seo-pro .b-grid-3 {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 20px;
  width: 100%;
  min-width: 0;
  column-count: unset !important;
  columns: unset !important;
}

body.bing-seo-pro .b-grid-3 > .list,
body.bing-seo-pro .b-grid-3 > ul,
body.bing-seo-pro .b-grid-3 > ol,
body.bing-seo-pro .b-grid-3 > .row,
body.bing-seo-pro .b-grid-3 > .clearfix,
body.bing-seo-pro .b-grid-3 > .am-g,
body.bing-seo-pro .b-grid-3 > .news_list {
  display: contents !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.bing-seo-pro .b-grid-3 > div:only-child {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 20px;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
}

body.bing-seo-pro .b-grid-3 > ul > li,
body.bing-seo-pro .b-grid-3 > ol > li {
  list-style: none !important;
  min-width: 0;
}

@media (min-width: 640px) {
  body.bing-seo-pro .b-grid-3 {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    min-width: 0;
  }

  body.bing-seo-pro .b-grid-3 > div:only-child {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 1 1 100% !important;
  }

  body.bing-seo-pro .b-grid-3 > div:only-child > *,
  body.bing-seo-pro .b-grid-3 > div:only-child > article.b-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    overflow-x: clip;
  }
}

body.bing-seo-pro .b-grid-3 > *,
body.bing-seo-pro .b-grid-3 article.b-card {
  float: none !important;
  clear: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-width: 0;
  box-sizing: border-box;
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 640px) {
  body.bing-seo-pro .b-grid-3 > *,
  body.bing-seo-pro .b-grid-3 article.b-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    overflow-x: clip;
  }
}

body.bing-seo-pro .b-news-grid {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 24px;
  width: 100%;
  min-width: 0;
  column-count: unset !important;
  columns: unset !important;
}

body.bing-seo-pro .b-news-grid > .list,
body.bing-seo-pro .b-news-grid > ul,
body.bing-seo-pro .b-news-grid > ol,
body.bing-seo-pro .b-news-grid > .row,
body.bing-seo-pro .b-news-grid > .clearfix,
body.bing-seo-pro .b-news-grid > .am-g,
body.bing-seo-pro .b-news-grid > .news_list {
  display: contents !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.bing-seo-pro .b-news-grid > div:only-child {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 24px;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
}

body.bing-seo-pro .b-news-grid > ul > li,
body.bing-seo-pro .b-news-grid > ol > li {
  list-style: none !important;
  min-width: 0;
}

@media (min-width: 640px) {
  body.bing-seo-pro .b-news-grid {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    min-width: 0;
  }

  body.bing-seo-pro .b-news-grid > div:only-child {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    flex: 1 1 100% !important;
  }

  body.bing-seo-pro .b-news-grid > div:only-child > *,
  body.bing-seo-pro .b-news-grid > div:only-child > article {
    flex: 1 1 calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    min-width: 0 !important;
    width: auto !important;
    overflow-x: clip;
  }
}

@media (min-width: 900px) {
  body.bing-seo-pro .b-news-grid > div:only-child > *,
  body.bing-seo-pro .b-news-grid > div:only-child > article {
    flex: 1 1 calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
  }
}

body.bing-seo-pro .b-news-grid > *,
body.bing-seo-pro .b-news-grid article.b-news-card,
body.bing-seo-pro .b-news-grid article {
  float: none !important;
  clear: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
  min-width: 0;
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 640px) {
  body.bing-seo-pro .b-news-grid > *,
  body.bing-seo-pro .b-news-grid article.b-news-card,
  body.bing-seo-pro .b-news-grid article {
    flex: 1 1 calc(50% - 12px) !important;
    max-width: calc(50% - 12px) !important;
    min-width: 0 !important;
    width: auto !important;
    overflow-x: clip;
  }
}

@media (min-width: 900px) {
  body.bing-seo-pro .b-news-grid > *,
  body.bing-seo-pro .b-news-grid article.b-news-card,
  body.bing-seo-pro .b-news-grid article {
    flex: 1 1 calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
  }
}

body.bing-seo-pro .b-news-card,
body.bing-seo-pro .b-news-card article {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
}

body.bing-seo-pro .b-news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
