/**
 * ======= sanxio store-advanced · 频道列表（新闻等）start ===========
 * 复用 mall-catalog 组头蓝条；本文件负责资讯列表行 / 详情 / 空态
 */

body.sx-store-advanced--channel-list .sca-channel-top--catalog {
  margin: 0;
  padding: 0 0 var(--sanxio-gap-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-channel-top--catalog .sca-crumb {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--md3-color-on-surface-variant);
  gap: 4px;
}

body.sx-store-advanced--channel-list .sca-channel-top--catalog .sca-crumb a:link,
body.sx-store-advanced--channel-list .sca-channel-top--catalog .sca-crumb a:visited {
  font-weight: 500;
  color: var(--md3-color-primary);
  text-decoration: none;
}

body.sx-store-advanced--channel-list .sca-catalog.sanxio-home-section-card--unified-list {
  position: relative;
  margin: 0 0 var(--sanxio-content-gap, 12px);
  padding: 0;
  width: auto;
  max-width: 100%;
  background: var(--md3-color-surface-container-low, #f3f5f9);
  border: none;
  border-radius: var(--md3-shape-md, 12px) !important;
  overflow: hidden;
  box-sizing: border-box;
  --sx-home-head-rail-width: 4px;
  --sx-home-rail-inset: var(--sanxio-gap-sm, 8px);
  --sca-cat-pad-start: var(--sanxio-gap-md, 12px);
  --sca-cat-pad-end: var(--sx-home-rail-inset);
  --sca-cat-ctrl-h: 32px;
}

body.sx-store-advanced--channel-list.sanxio-home-premium-page .sca-catalog .sanxio-home-section__head.sca-catalog-head,
body.sx-store-advanced--channel-list .sca-catalog .sanxio-home-section__head.sca-catalog-head {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: flex-start;
  column-gap: 8px;
  row-gap: 8px;
  min-height: 0 !important;
  margin: 0 0 var(--sanxio-gap-sm, 8px) !important;
  padding: 10px var(--sca-cat-pad-end) 10px var(--sca-cat-pad-start) !important;
  border-radius: var(--md3-shape-md, 12px) var(--md3-shape-md, 12px) 0 0 !important;
  border-style: solid !important;
  border-color: var(--md3-color-primary, #005fb8) !important;
  border-width: 1px var(--sx-home-head-rail-width, 4px) 0 !important;
  background-color: var(--md3-color-surface, #fff) !important;
  background-image: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-catalog-head__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--md3-color-on-surface);
}

body.sx-store-advanced--channel-list .sca-chips--head {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

body.sx-store-advanced--channel-list .sca-chips--head::-webkit-scrollbar {
  display: none;
}

body.sx-store-advanced--channel-list .sca-chips--head a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: var(--sca-cat-ctrl-h, 32px);
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--md3-color-outline-variant);
  background: var(--md3-color-surface);
  color: var(--md3-color-on-surface);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-chips--head a.is-active {
  border-color: var(--md3-color-primary);
  color: var(--md3-color-primary);
  background: color-mix(in srgb, var(--md3-color-primary) 10%, var(--md3-color-surface));
}

body.sx-store-advanced--channel-list .sca-catalog__body {
  padding: 0 0 var(--sanxio-gap-sm, 8px);
  box-sizing: border-box;
}

/* ---------- 新闻列表 ---------- */
body.sx-store-advanced--channel-list .sca-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  overflow: hidden;
}

body.sx-store-advanced--channel-list .sca-news-list__item {
  margin: 0;
  border-bottom: 1px solid var(--md3-color-outline-variant);
}

body.sx-store-advanced--channel-list .sca-news-list__item:last-child {
  border-bottom: none;
}

body.sx-store-advanced--channel-list .sca-news-list__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sanxio-gap-md, 12px);
  padding: 12px var(--sanxio-card-px, 12px);
  text-decoration: none;
  color: var(--md3-color-on-surface);
  box-sizing: border-box;
  transition: background 0.15s ease;
}

body.sx-store-advanced--channel-list .sca-news-list__link:hover {
  background: color-mix(in srgb, var(--md3-color-primary) 6%, var(--md3-color-surface));
}

body.sx-store-advanced--channel-list .sca-news-list__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.sx-store-advanced--channel-list .sca-news-list__date {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.45;
  color: var(--md3-color-on-surface-variant);
  white-space: nowrap;
}

/* ---------- 空态 ---------- */
body.sx-store-advanced--channel-list .sca-empty--catalog {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sanxio-gap-sm, 8px);
  margin: 0;
  padding: 36px var(--sanxio-card-px, 12px);
  text-align: center;
  color: var(--md3-color-on-surface-variant);
  background: var(--md3-color-surface);
  border: 1px dashed var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-empty--catalog .material-symbols-outlined {
  font-size: 40px;
  opacity: 0.5;
}

body.sx-store-advanced--channel-list .sca-empty--catalog p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- 荣誉资质网格 ---------- */
body.sx-store-advanced--channel-list .sca-honor-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sanxio-gap-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-honor-card {
  margin: 0;
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  overflow: hidden;
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-honor-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: var(--md3-color-on-surface);
  box-sizing: border-box;
  transition: background 0.15s ease;
}

body.sx-store-advanced--channel-list .sca-honor-card__link:hover {
  background: color-mix(in srgb, var(--md3-color-primary) 6%, var(--md3-color-surface));
}

body.sx-store-advanced--channel-list .sca-honor-card__media {
  display: block;
  aspect-ratio: 1;
  background: var(--md3-color-surface-container-low, #f3f5f9);
  overflow: hidden;
}

body.sx-store-advanced--channel-list .sca-honor-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.sx-store-advanced--channel-list .sca-honor-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sanxio-gap-sm, 8px) var(--sanxio-card-px, 12px) var(--sanxio-card-py, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-honor-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.sx-store-advanced--channel-list .sca-honor-card__authority {
  font-size: 12px;
  line-height: 1.4;
  color: var(--md3-color-on-surface-variant);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.sx-store-advanced--channel-list .sca-honor-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--md3-color-on-surface-variant);
}

body.sx-store-advanced--channel-list .sca-honor-detail {
  margin: 0;
  padding: var(--sanxio-card-py, 12px) var(--sanxio-card-px, 12px);
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-honor-detail__meta,
body.sx-store-advanced--channel-list .sca-job-detail__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 var(--sanxio-gap-md, 12px);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-sm, 8px);
  overflow: hidden;
}

body.sx-store-advanced--channel-list .sca-honor-detail__meta-row,
body.sx-store-advanced--channel-list .sca-job-detail__meta-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-width: 0;
  border-bottom: 1px solid var(--md3-color-outline-variant);
}

body.sx-store-advanced--channel-list .sca-honor-detail__meta-row:nth-last-child(-n+2),
body.sx-store-advanced--channel-list .sca-job-detail__meta-row:nth-last-child(-n+2) {
  border-bottom: none;
}

body.sx-store-advanced--channel-list .sca-honor-detail__meta-label,
body.sx-store-advanced--channel-list .sca-job-detail__meta-label {
  padding: 10px 12px;
  background: var(--md3-color-surface-container-low, #f3f5f9);
  font-size: 12px;
  font-weight: 600;
  color: var(--md3-color-on-surface-variant);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-honor-detail__meta-value,
body.sx-store-advanced--channel-list .sca-job-detail__meta-value {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--md3-color-on-surface);
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-honor-detail__intro {
  margin: 0 0 var(--sanxio-gap-md, 12px);
  font-size: 14px;
  line-height: 1.7;
  color: var(--md3-color-on-surface);
  overflow-wrap: anywhere;
}

body.sx-store-advanced--channel-list .sca-honor-detail__intro img {
  max-width: 100%;
  height: auto;
  border-radius: var(--md3-shape-sm, 8px);
}

/* ---------- 招聘列表 / 详情 ---------- */
body.sx-store-advanced--channel-list .sca-job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  overflow: hidden;
}

body.sx-store-advanced--channel-list .sca-job-list__item {
  margin: 0;
  border-bottom: 1px solid var(--md3-color-outline-variant);
}

body.sx-store-advanced--channel-list .sca-job-list__item:last-child {
  border-bottom: none;
}

body.sx-store-advanced--channel-list .sca-job-list__link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sanxio-gap-md, 12px);
  padding: 12px var(--sanxio-card-px, 12px);
  text-decoration: none;
  color: var(--md3-color-on-surface);
  box-sizing: border-box;
  transition: background 0.15s ease;
}

body.sx-store-advanced--channel-list .sca-job-list__link:hover {
  background: color-mix(in srgb, var(--md3-color-primary) 6%, var(--md3-color-surface));
}

body.sx-store-advanced--channel-list .sca-job-list__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.sx-store-advanced--channel-list .sca-job-list__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body.sx-store-advanced--channel-list .sca-job-list__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--md3-color-on-surface-variant);
}

body.sx-store-advanced--channel-list .sca-job-list__date {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.45;
  color: var(--md3-color-on-surface-variant);
  white-space: nowrap;
}

body.sx-store-advanced--channel-list .sca-job-detail {
  margin: 0;
  padding: var(--sanxio-card-py, 12px) var(--sanxio-card-px, 12px);
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-job-detail__intro {
  margin: 0 0 var(--sanxio-gap-md, 12px);
  font-size: 14px;
  line-height: 1.7;
  color: var(--md3-color-on-surface);
  overflow-wrap: anywhere;
}

body.sx-store-advanced--channel-list .sca-job-detail__intro img {
  max-width: 100%;
  height: auto;
  border-radius: var(--md3-shape-sm, 8px);
}

body.sx-store-advanced--channel-list .sca-job-detail__contact-title {
  margin: 0 0 var(--sanxio-gap-sm, 8px);
  font-size: 14px;
  font-weight: 700;
  color: var(--md3-color-on-surface);
}

body.sx-store-advanced--channel-list .sca-job-detail__meta--contact {
  margin-bottom: 0;
}

body.sx-store-advanced--channel-list .sca-job-detail__expired {
  color: var(--md3-color-error, #ba1a1a);
  font-weight: 600;
}

body.sx-store-advanced--channel-list .sca-honor-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--sanxio-gap-md, 12px);
  align-items: center;
}

body.sx-store-advanced--channel-list .sca-honor-detail__shot {
  display: block;
  max-width: 100%;
}

body.sx-store-advanced--channel-list .sca-honor-detail__shot img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--md3-shape-sm, 8px);
  border: 1px solid var(--md3-color-outline-variant);
}

body.sx-store-advanced--channel-list .sca-catalog-pages {
  margin-top: var(--sanxio-gap-md, 12px);
  text-align: center;
}

/* ---------- 详情 ---------- */
body.sx-store-advanced--channel-list .sca-news-article {
  margin: 0;
  padding: var(--sanxio-card-py, 12px) var(--sanxio-card-px, 12px);
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-news-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 var(--sanxio-gap-md, 12px);
  padding-bottom: var(--sanxio-gap-sm, 8px);
  border-bottom: 1px solid var(--md3-color-outline-variant);
  font-size: 12px;
  color: var(--md3-color-on-surface-variant);
}

body.sx-store-advanced--channel-list .sca-news-article__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.sx-store-advanced--channel-list .sca-news-article__meta .material-symbols-outlined {
  font-size: 16px;
}

body.sx-store-advanced--channel-list .sca-news-article__content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--md3-color-on-surface);
  overflow-wrap: anywhere;
  word-break: normal;
}

body.sx-store-advanced--channel-list .sca-news-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--md3-shape-sm, 8px);
}

body.sx-store-advanced--channel-list .sca-pages {
  margin-top: var(--sanxio-gap-md, 12px);
  text-align: center;
}

/* ---------- 友情链接 ---------- */
body.sx-store-advanced--channel-list .sca-link-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sanxio-gap-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-link-card {
  margin: 0;
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-md, 12px);
  overflow: hidden;
  box-sizing: border-box;
}

body.sx-store-advanced--channel-list .sca-link-card__link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px var(--sanxio-card-px, 12px);
  text-decoration: none;
  color: var(--md3-color-on-surface);
  box-sizing: border-box;
  transition: background 0.15s ease;
}

body.sx-store-advanced--channel-list .sca-link-card__link:hover {
  background: color-mix(in srgb, var(--md3-color-primary) 6%, var(--md3-color-surface));
}

body.sx-store-advanced--channel-list .sca-link-card__icon {
  flex: 0 0 auto;
  font-size: 20px;
  color: var(--md3-color-primary);
}

body.sx-store-advanced--channel-list .sca-link-card__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.sx-store-advanced--channel-list .sca-link-card__open {
  flex: 0 0 auto;
  font-size: 16px;
  color: var(--md3-color-on-surface-variant);
  opacity: 0.7;
}

@media (max-width: 767px) {
  body.sx-store-advanced--channel-list .sca-channel-top--catalog {
    margin: 0;
    padding: 0 0 6px;
  }

  body.sx-store-advanced--channel-list .sca-catalog.sanxio-home-section-card--unified-list {
    --sca-cat-pad-start: 12px;
    --sca-cat-pad-end: 12px;
  }

  body.sx-store-advanced--channel-list .sca-catalog-head__title {
    font-size: 14px;
  }

  body.sx-store-advanced--channel-list .sca-news-list__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px;
  }

  body.sx-store-advanced--channel-list .sca-news-list__title {
    font-size: 13px;
  }

  body.sx-store-advanced--channel-list .sca-honor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sanxio-gap-sm, 8px);
  }

  body.sx-store-advanced--channel-list .sca-honor-detail__meta,
  body.sx-store-advanced--channel-list .sca-job-detail__meta {
    grid-template-columns: 1fr;
  }

  body.sx-store-advanced--channel-list .sca-honor-detail__meta-row,
  body.sx-store-advanced--channel-list .sca-job-detail__meta-row {
    border-bottom: 1px solid var(--md3-color-outline-variant);
  }

  body.sx-store-advanced--channel-list .sca-honor-detail__meta-row:last-child,
  body.sx-store-advanced--channel-list .sca-job-detail__meta-row:last-child {
    border-bottom: none;
  }

  body.sx-store-advanced--channel-list .sca-job-list__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  body.sx-store-advanced--channel-list .sca-link-grid {
    grid-template-columns: 1fr;
    gap: var(--sanxio-gap-sm, 8px);
  }
}
/**
 * ======= sanxio store-advanced · 频道列表 end ===========
 */
