/* VISSONIC Ask Center redesign
   New standalone stylesheet for ask/pc templates.
   Runtime Eyou tags, URLs, AJAX and list data are kept in templates. */
:root {
  --ask-primary: #0069b4;
  --ask-primary-dark: #005495;
  --ask-primary-soft: rgba(0, 105, 180, .08);
  --ask-text: #1f2937;
  --ask-muted: #6b7280;
  --ask-border: #e5e7eb;
  --ask-bg: #f5f7fb;
  --ask-card: #ffffff;
  --ask-radius-lg: 18px;
  --ask-radius: 12px;
  --ask-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --ask-shadow-sm: 0 8px 22px rgba(15, 23, 42, .06);
}
* {
  box-sizing: border-box;
}
body.ask-redesign-page {
  margin: 0;
  color: var(--ask-text);
  background: var(--ask-bg);
  font-family: "Gantari", "Geologica", Arial, "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ask-redesign-page a {
  color: inherit;
  text-decoration: none;
}
.ask-redesign-page a:hover {
  color: var(--ask-primary);
  text-decoration: none;
}
.ask-redesign-page ul,
.ask-redesign-page ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ask-redesign-page button,
.ask-redesign-page input {
  font-family: inherit;
}
.ask-redesign-page img {
  max-width: 100%;
  border: 0;
}
.ask-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.ask-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 105, 180, .11), transparent 32%),
    linear-gradient(180deg, #f9fbff 0%, #f5f7fb 360px, #f5f7fb 100%);
}
.ask-hero {
  padding: 42px 0 26px;
}
.ask-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  border: 1px solid rgba(0, 105, 180, .12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,251,255,.9)),
    radial-gradient(circle at right top, rgba(0,105,180,.16), transparent 34%);
  box-shadow: var(--ask-shadow-sm);
}
.ask-eyebrow,
.ask-card-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--ask-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ask-hero h1 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 750;
}
.ask-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--ask-muted);
  font-size: 16px;
  line-height: 1.7;
}
.ask-hero-action button,
.people-btn button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--ask-primary);
  box-shadow: 0 12px 24px rgba(0, 105, 180, .24);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.ask-hero-action button:hover,
.people-btn button:hover {
  background: var(--ask-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 105, 180, .3);
}
.ask-content {
  padding: 0 0 64px;
}
.ask-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}
.ask-primary,
.ask-sidebar {
  min-width: 0;
}
.ask-search-card,
.ask-tabs,
.ask-list-card,
.ask-side-card {
  background: var(--ask-card);
  border: 1px solid var(--ask-border);
  border-radius: var(--ask-radius-lg);
  box-shadow: var(--ask-shadow-sm);
}
.ask-search-card {
  padding: 22px;
  margin-bottom: 18px;
}
.ask-search-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.ask-search-head h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 750;
}
.ask-search-box form {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid #dbe3ed;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ask-search-box form:focus-within {
  border-color: rgba(0, 105, 180, .45);
  box-shadow: 0 0 0 4px rgba(0, 105, 180, .08);
}
.ask-search-box input.searchinput {
  flex: 1 1 auto;
  width: 100%;
  height: 52px;
  padding: 0 18px;
  color: var(--ask-text);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}
.ask-search-box .search-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 52px;
  border: 0;
  border-left: 1px solid #edf1f5;
  background: #fff;
  cursor: pointer;
}
.ask-search-box .search-icon:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 17px auto;
  border: 2px solid var(--ask-primary);
  border-radius: 50%;
}
.ask-search-box .search-icon:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 31px;
  width: 8px;
  height: 2px;
  background: var(--ask-primary);
  transform: rotate(45deg);
  border-radius: 2px;
}
.ask-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px !important;
}
.ask-category-list > li {
  position: relative;
}
.ask-category-list .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 9px 15px;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f9fafb;
  font-size: 14px;
  font-weight: 650;
  transition: all .18s ease;
}
.ask-category-list .link:hover,
.ask-category-list .link.active {
  color: var(--ask-primary) !important;
  border-color: rgba(0, 105, 180, .28);
  background: var(--ask-primary-soft);
}
.ask-category-list .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--ask-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--ask-shadow-sm);
}
.ask-category-list li:hover > .dropdown-menu {
  display: block;
}
.ask-category-list .dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 14px;
}
.ask-category-list .dropdown-menu a:hover {
  background: var(--ask-primary-soft);
  color: var(--ask-primary);
}
.ask-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  padding: 0 18px;
  border-radius: var(--ask-radius-lg) var(--ask-radius-lg) 0 0;
  border-bottom: 0;
}
.ask-tabs-list {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  overflow-x: auto;
}
.ask-tabs span {
  position: relative;
  flex: 0 0 auto;
  padding: 23px 0 20px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.ask-tabs span.act {
  color: var(--ask-primary);
}
.ask-tabs span.act:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--ask-primary);
}
.ask-tabs button {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 16px;
  color: var(--ask-primary);
  border: 1px solid rgba(0, 105, 180, .28);
  border-radius: 999px;
  background: var(--ask-primary-soft);
  font-weight: 700;
  cursor: pointer;
}
.ask-tabs button:hover {
  color: #fff;
  background: var(--ask-primary);
}
.ask-list-card {
  border-radius: 0 0 var(--ask-radius-lg) var(--ask-radius-lg);
  overflow: hidden;
}
.article-ul {
  margin: 0;
}
.ask-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid #edf1f5;
  background: #fff;
  transition: background .18s ease;
}
.ask-item:first-child {
  border-top: 0;
}
.ask-item:hover {
  background: #fbfdff;
}
.ask-avatar {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
}
.ask-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #f3f6fa;
}
.ask-avatar .svip {
  position: absolute;
  right: -2px;
  bottom: -2px;
}
.ask-reward-avatar {
  width: 58px;
  height: auto;
  text-align: center;
}
.ask-reward-avatar .p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff2f0;
}
.ask-reward-avatar em {
  color: #ef4444;
  font-size: 18px;
}
.ask-reward-avatar .rmbb {
  margin-top: 5px;
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
}
.ask-item-body {
  min-width: 0;
}
.ask-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  color: #111827;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}
.ask-title:hover {
  color: var(--ask-primary);
}
.ask-title .went-head-text {
  min-width: 0;
}
.ask-title .wt-icon-shenhetongguo {
  color: #16a34a;
  font-size: 18px;
}
.jxuan,
.jinghua {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 22px;
  font-weight: 700;
}
.jxuan {
  color: #b45309;
  background: #fff7ed;
}
.jinghua {
  color: #be123c;
  background: #fff1f2;
}
.ask-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
  color: var(--ask-muted);
  font-size: 13px;
}
.ask-meta img {
  vertical-align: middle;
  box-shadow: 0 0 0 2px #fff;
}
.ask-meta i {
  color: #cbd5e1;
  font-style: normal;
}
.ask-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ask-muted);
}
.ask-stats > div {
  min-width: 58px;
  padding: 9px 10px;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  background: #f9fafb;
  text-align: center;
}
.ask-stats strong {
  display: block;
  color: #111827;
  font-size: 16px;
  line-height: 1.1;
}
.ask-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.ask-empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--ask-muted);
}
.ask-empty p {
  margin: 0;
}
.ask-pagination {
  margin-top: 18px;
}
.ask-sidebar {
  position: sticky;
  top: 20px;
}
.ask-side-card {
  padding: 20px;
  margin-bottom: 18px;
}
.people-info {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
}
.people-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.people-info-a h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 750;
}
.people-info-a div {
  margin-top: 3px;
  color: var(--ask-muted);
  font-size: 13px;
}
.people-btn button {
  width: 100%;
  height: 44px;
  border-radius: 12px;
}
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.ask-side-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ask-side-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--ask-primary);
  border-radius: 9px;
  background: var(--ask-primary-soft);
  font-weight: 800;
}
.block-head h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 750;
}
.hot-sw {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 12px;
}
.hot-sw span {
  color: var(--ask-muted);
  cursor: pointer;
}
.hot-sw span.act {
  color: var(--ask-primary);
  font-weight: 750;
}
.ask-hot-list a {
  display: block;
}
.ask-hot-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #f0f3f7;
}
.ask-hot-list a:first-child li {
  border-top: 0;
}
.hot-user-avter {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f3f6fa;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}
.ask-hot-list a:nth-child(1) .hot-user-avter {
  color: #fff;
  background: #ef4444;
}
.ask-hot-list a:nth-child(2) .hot-user-avter {
  color: #fff;
  background: #f97316;
}
.ask-hot-list a:nth-child(3) .hot-user-avter {
  color: #fff;
  background: #f59e0b;
}
.hot-user-info {
  min-width: 0;
}
.hot-nice {
  display: -webkit-box;
  overflow: hidden;
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ask-hot-list a:hover .hot-nice {
  color: var(--ask-primary);
}
.search-result,
.hot-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--ask-shadow-sm);
}
@media (max-width: 1024px) {
  .ask-layout {
    grid-template-columns: 1fr;
  }
  .ask-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .ask-container {
    width: min(100% - 24px, 1200px);
  }
  .ask-hero {
    padding: 24px 0 18px;
  }
  .ask-hero-inner {
    display: block;
    padding: 26px 22px;
  }
  .ask-hero-action {
    margin-top: 20px;
  }
  .ask-search-card,
  .ask-side-card {
    padding: 16px;
  }
  .ask-tabs {
    align-items: flex-start;
    flex-direction: column;
    padding: 0 16px 16px;
  }
  .ask-tabs-list {
    width: 100%;
    gap: 18px;
  }
  .ask-tabs button {
    margin-top: -6px;
  }
  .ask-item {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px 16px;
  }
  .ask-avatar,
  .ask-avatar img {
    width: 42px;
    height: 42px;
  }
  .ask-stats {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 2px;
  }
  .ask-stats > div {
    min-width: 54px;
    padding: 7px 9px;
  }
}
@media (max-width: 520px) {
  .ask-category-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .ask-category-list .link {
    white-space: nowrap;
  }
  .ask-search-head h2 {
    font-size: 21px;
  }
  .ask-title {
    font-size: 15px;
  }
  .ask-meta {
    font-size: 12px;
  }
}
