/*
 Theme Name:   WP Transpress Child
 Theme URI:    http://transpress.zooka.io/
 Description:  In 2016, Creating a magazine website with WordPress has never been easier.
 Author:       Knight
 Author URI:   http://themeforest.net/user/zookastudio
 Template:     wp-transpress
 Version:      1.0
 Tags:         black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
 Text Domain:  wp-transpress-child
*/

/* Reposition login/register and language switcher to top right */
.header-style-1 #cshero-header {
    position: relative;
}

/* Create a top bar area */
.header-style-1 #cshero-header::before {
    content: '';
    display: none;
}

@media screen and (min-width: 992px) {
    li#menu-item-1970,#menu-item-1971,.menu-item-gtranslate {     position: absolute !important; }
    li#menu-item-1970{
        right: 130px;
    }
    #menu-item-1971{
        right: 65px;
    }
    .menu-item-gtranslate{
        right: 0px;
    }
}



/* === 跨境电商合规问答系统 - 样式 === */

.cb-qa-section {
  background: #f3f4f6;
  padding: 40px 0;
}

.cb-qa-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background: #f3f4f6;
}

/* 侧边栏 */
.cb-qa-sidebar {
  width: 240px;
  background: #111827;
  padding: 22px 18px;
  color: #e5e7eb;
  border-radius: 24px 0 0 24px;
}

.cb-sidebar-logo {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.cb-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg,#a855f7,#6366f1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.cb-logo-title {
  font-size: 16px;
  font-weight: 600;
}

.cb-logo-subtitle {
  font-size: 11px;
  color: #9ca3af;
}

.cb-nav-section-title {
  font-size: 11px;
  color: #6b7280;
  margin-top: 16px;
  text-transform: uppercase;
}

.cb-nav-divider {
  height: 1px;
  background: rgba(55,65,81,.7);
  margin: 12px 0;
}

.cb-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-left: 0;
}

.cb-nav-item {
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.cb-nav-item:hover {
  background: rgba(55,65,81,.7);
}

.cb-nav-item.cb-active {
  background: linear-gradient(135deg,#4f46e5,#7c3aed);
  color: white;
}

.cb-nav-item-badge {
  background: rgba(0,0,0,.4);
  padding: 2px 6px;
  border-radius: 50px;
  font-size: 11px;
}

/* 工作区 */
.cb-qa-workspace {
  flex: 1;
  padding: 40px 40px 40px 32px;
  display: flex;
  justify-content: flex-start;
}

.cb-content-wrapper {
  width: 100%;
  max-width: 900px;
}

.cb-page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111827;
}

/* 卡片 */
.cb-content-card {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(0,0,0,.08);
  width: 100%;
  margin-bottom: 24px;
}

.cb-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-card-title-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cb-assistant-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg,#6366f1,#ec4899);
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.cb-assistant-name {
  font-weight: 600;
  color: #111827;
}

.cb-card-close {
  color: #9ca3af;
  cursor: default;
}

.cb-card-body {
  margin: 16px 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.cb-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cb-pill {
  background: #eef2ff;
  color: #4338ca;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
}

/* 输入区域 */
.cb-input-row {
  background: #f3f4f6;
  border-radius: 30px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.cb-input-row input.cb-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.cb-input-row input.cb-input::placeholder {
  color: #9ca3af;
}

.cb-input-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg,#4f46e5,#7c3aed);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* QA 内容 */
.cb-qa-title {
  font-size: 18px;
  font-weight: 600;
}

.cb-qa-meta {
  font-size: 12px;
  margin: 4px 0 12px;
  color: #6b7280;
}

.cb-qa-list {
  font-size: 14px;
  padding-left: 20px;
  line-height: 1.6;
}

/* 响应式简单适配 */
@media (max-width: 992px) {
  .cb-qa-layout {
    flex-direction: column;
  }

  .cb-qa-sidebar {
    border-radius: 24px 24px 0 0;
  }

  .cb-qa-workspace {
    padding: 24px 16px 16px;
  }

  .cb-content-card {
    padding: 24px;
  }
}
