/*
Theme Name: Help Center
Theme URI: http://your-domain.com/help-center
Description: A WordPress theme for Help Center website
Version: 1.0
Author: Your Name
Author URI: http://your-domain.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: help-center
*/

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.help-center-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 文章卡片样式 */
.help-article {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.help-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 头部样式 */
.site-header {
    background: linear-gradient(90deg, #0055ec 0%, #3a89ff 100%);
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.site-header a {
    color: white;
    text-decoration: none;
}

.site-branding h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

/* 导航菜单 */
.main-navigation {
    margin-top: 10px;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    margin-right: 20px;
}

.primary-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.primary-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.primary-menu a:hover:after {
    width: 100%;
}

/* FAQ 样式 */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-answer {
    padding: 0 20px 20px;
}

/* 分类样式 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: block;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid transparent;
}

.category-list a:hover {
    border-left-color: #0055ec;
    background: linear-gradient(90deg, #f0f4ff 0%, #ffffff 100%);
    transform: translateX(5px);
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(90deg, #0055ec 0%, #3a89ff 100%);
    border: none;
    box-shadow: 0 4px 10px rgba(0,85,236,0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0046c3 0%, #2a79ef 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,85,236,0.4);
}

/* 页脚样式 */
.site-footer {
    background: linear-gradient(90deg, #1a1a2e 0%, #2a2a45 100%);
    color: #f0f0f0;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.site-footer a {
    color: #f0f0f0;
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* 搜索结果页面样式 */
.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card mark {
    padding: 0.1em 0.2em;
    border-radius: 2px;
    background-color: #fff3cd;
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

.pagination .page-link {
    padding: 0.5rem 0.75rem;
    color: #0d6efd;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.transition {
    transition: all 0.3s ease;
}

.card-header {
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* 帮助中心首页特殊样式 */
.help-center-hero {
    background: linear-gradient(160deg, #083985 0%, #01bdff 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 10px rgba(0,85,236,0.1);
}

.help-center-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.help-center-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

.search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    border: 1px solid #0055ec;
    font-size: 1.1rem;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: linear-gradient(90deg, #0055ec 0%, #3a89ff 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: linear-gradient(90deg, #0046c3 0%, #2a79ef 100%);
}

/* 分类块样式 */
.category-block {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.category-block h3 {
    color: #0055ec;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #f0f4ff;
    padding-bottom: 10px;
}

.category-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-block li {
    margin-bottom: 10px;
}

.category-block a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.category-block a:hover {
    color: #0055ec;
    border-left-color: #0055ec;
    padding-left: 15px;
    background-color: #f0f4ff;
}

.nav-link {
    color: #141d2299 !important;
}

.container {
    max-width: 1100px !important;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 85, 236, 0.16);
    z-index: 1;
}

.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    color: #000 !important;
}

.position-relative {
    position: relative;
}

img {
    position: relative;
    display: block;
}

.article-ul li a {
    color: #141D22;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    line-height: 22px;
    /* 137.5% */
}

.article-ul li a:hover {
    text-decoration: underline;
}

.article-ul li {
    display: flex;
    /* width: 30%; */
    align-items: flex-start;
    gap: var(--sp-050, 16px);
    margin-bottom: 8px;
}

.section_box:last-of-type {
    border-bottom: none;
}

.card {
    border: 1px solid rgba(20, 29, 34, 0.12);
    border-radius: 8px;
    padding-bottom: 20px;
}

.help-cate {
    margin-bottom: 8px;
}

.help-cate a {
    width: 100%;
    color: #141D2299;
    font-size: 18px;
    font-style: normal;
    font-weight: medium;
    line-height: normal;
    letter-spacing: -0.22px;
    text-decoration: none;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: #e7f1ff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 500;
}

body {
    background:white;
}

.container {
    max-width: 960px;
}

.pricing-header {
    max-width: 700px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

/* Header Search Form Styles */
header .search-form {
    position: relative;
    width: 200px;
}

header .search-form input {
    width: 100%;
    padding: 8px 15px;
    border-radius: 50px;
    border: none;
    font-size: 0.9rem;
    border: 1px solid #0055ec;
}

header .search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #0055ec 0%, #3a89ff 100%);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

header .search-form button:hover {
    background: linear-gradient(90deg, #0046c3 0%, #2a79ef 100%);
}

@media (max-width: 768px) {
    header .search-form {
        width: 150px;
    }
}