/* Article detail page – aligned with 2026 prototype */
@font-face {
	font-family: 'CustomArticleFont';
	src: url('./font/PlusJakartaSans-Regular.ttf');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'CustomArticleFontBold';
	src: url('./font/PlusJakartaSans-Bold.ttf');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.article-box{
	font-family: 'CustomArticleFont', Sans-serif;
}

.article-detail-page .article-info { padding: 1rem 0 0; border: 0; }
.article-detail-page .article-info .date { display: none; }
.article-detail-page .article-content {
    padding: 0;
    font-size: 18px;
    line-height: 34px;
    border-top: 0;
    color: #333;
}
.article-content h2,.article-content h3,.article-content h4,.article-content h5{color: #333;line-height: 1.35;font-family: 'CustomArticleFontBold';}
.article-content * { max-width:100% }
.article-content h2 {
        font-size: 30px;
        margin: 48px 0 16px;
        display: flex;
        align-items: center;
        gap: 12px;
}
.article-content h2::before{
	content: "";
	display: inline-block;
	width: 5px;
	height: 28px;
	background:var(--Bcolor) ;
}
.article-content h3{
	font-size: 22px;
	    margin: 40px 0 14px;
}
.article-content p { margin-bottom: 26px; }
.article-content iframe {
    width: 100%;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    margin: 24px 0;
}
.article-content .audioPlayer { width: 100%; }
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px auto;
    font-size: 16px;
    line-height: 1.8;
    border-radius: 10px;
    overflow: hidden;
}
.article-content table th,
.article-content table td {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    text-align: center;
    vertical-align: middle;
}
.article-content thead tr { background: rgba(0, 0, 0, 0.06); }
.article-content tbody tr:nth-child(even) { background: rgba(0, 0, 0, 0.03); }
.article-content img {
    display: block;
    height: auto;
    max-width: 100%;
    margin-left: auto; /* 新增 */
    margin-right: auto; /* 新增 */
}

.article-faq {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 20px;
}
.titleh3-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    color: #222;
    line-height: 24px;
    font-weight: bold;
}
.titleh3-icon .icon-faq {
    color: var(--Bcolor, #ff821d);
    flex-shrink: 0;
}
.article-meta-comment-link {
    cursor: pointer;
    user-select: none;
}
.article-meta-comment-link:hover .meta-comment-label {
    color: var(--Bcolor, #ff821d);
}
.article-faq .faqbox { margin: 20px 0 0; }
.article-faq .faqlist { border: 0; margin-bottom: 0.65rem; }
.article-faq .faqlist .toggle-container {
    background: #f8f9fa;
    padding: 13px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    cursor: pointer;
}
.article-faq .faqlist.active .toggle-title { color: #111; }
.article-faq .faqlist .toggle-content { color: #333; }

.morearticle {
    position: relative;
    margin: 28px 0;
    padding: 4px 18px;
    background: linear-gradient(135deg, #ffffff 0%, #FBF8F6 100%);
    border: 1px solid #ffebdb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgb(197 138 40 / 6%);
    clear: both;
    overflow: hidden;
}
.morearticle::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(255, 102, 0), rgb(255, 170, 51));
}
.morearticle .titleh3 { font-size: 22px; margin: 24px 0 14px; }
.morearticle ol {
    margin: 24px 0 28px !important;
    padding-left: 30px !important;
}
.morearticle li { margin: 0 0 12px !important; list-style: none; }
.morearticle li a {
    display: block;
    position: relative;
    padding: 12px 14px 12px 46px;
    background: #fff;
    border: 1px solid #ffe7e7;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    line-height: 1.7;
}
.morearticle li a::before {
    counter-increment: related-counter;
    content: counter(related-counter);
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgb(255, 102, 0), rgb(255, 170, 51));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}
.morearticle ol { counter-reset: related-counter; }
.morearticle li a::after {
    content: "↗";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 13px;
    color: #d5b180;
}
.morearticle li a:hover {
    color: var(--Bcolor) !important;
    text-decoration: underline !important;
}

.article-Searches {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 20px;
}
.author_div {
    margin-top: 24px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}
.author_div span {
    height: 20px;
    font-size: 14px;
    color: #8c8c8c;
    line-height: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.author_div span i { display: flex; align-items: center; }
.author_div svg { fill: #A6A6A6; width: 14px; }

.article-detail-page .menulist-container { width: 100%; max-height: none; }
.article-detail-page .menulist .item a {
    display: block;
    color: #424b5b;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 12px;
    text-decoration: none;
}
.article-detail-page .menulist .item a:hover { background: #f7f7f7; text-decoration: none; }
.article-detail-page .menulist .item a.active { font-weight: bold; background: #f7f7f7; }
.article-detail-page .menulist .item .toc-number {
    display: inline-block;
    color: #5f7096;
    margin-right: 7px;
    font-size: 14px;
}
.article-detail-page .menulist .item.level-h3 { padding-left: 16px; }
.article-detail-page .menulist-title.toc-collapsible {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    font-size: 18px;
}
.article-detail-page .menulist-title.toc-collapsible:hover { color: #ff6600; }
.article-detail-page .toc-arrow { width: 20px; height: 20px; transition: transform 0.3s ease; }
.article-detail-page .toc-arrow.collapsed { transform: rotate(-90deg); }
.article-detail-page .menulist {
    transition: max-height 0.3s ease, opacity 0.2s ease;
    overflow: hidden;
    max-height: 2000px;
    opacity: 1;
}
.article-detail-page .menulist.collapsed {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
}

.article-detail-page .article-Author {
    padding: 40px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddd;
    background: #fff;
}
.article-detail-page .author-img {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 200px;
    flex-shrink: 0;
}
.article-detail-page .author-info {
    width: calc(100% - 130px);
    font-size: 15px;
    line-height: 1.9;
    color: #404d5a;
}
.article-detail-page .author-info h2 {
    margin-bottom: 10px;
    color: #162136;
    font-size: 22px;
}

.rating-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    color: #383838;
    font-weight: bold;
    margin-bottom: 10px;
}
.rating-title svg { width: 20px; }
.rating-title svg path { fill: #E50808; }
.rating-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 20px;
    border: 0;
    box-shadow: none;
}
.rating-card {
    background: rgb(248 248 248 / 92%);
    border-radius: 8px;
    padding: 4px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.stars-wrapper { display: flex; justify-content: center; gap: 2px; cursor: pointer; }
.star-item { display: inline-flex; align-items: center; justify-content: center; }
.star { font-size: 26px; transition: all 0.2s ease; }
.star.filled { color: #FFB43B; font-weight: 600; }
.star.empty { color: #cddfed; opacity: 0.85; }
.rating-stats { display: flex; align-items: center; margin-left: 10px; }
.score-number {
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(145deg, #dd9530, #f5b042);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.votes-text { font-size: 15px; margin-left: 6px; color: #333; }

.share-buttons {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}
.share-btn-group {
    display: flex;
    width: 100%;
    gap: 12px;
    justify-content: stretch;
    align-items: stretch;
    flex-wrap: nowrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: white;
    transition: transform 0.2s, opacity 0.2s;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; color: white; }
.share-facebook { background-color: #1877f2; }
.share-twitter { background-color: #000000; }
.share-linkedin { background-color: #0a66c2; }

.comment-section {
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    padding: 2rem 1.5rem;
    border: 1px solid #ddd;
}
.comments-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0.75rem;
}
.comment-count {
    font-size: 13px;
    background: #f8f9fa;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    color: #333;
}
.comment-list { margin-bottom: 2.2rem; max-height: 520px; overflow-y: auto; }
.comment-card {
    margin-bottom: 1rem;
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 0;
}
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.9rem; margin-bottom: 0.6rem; }
.comment-name { font-weight: 650; font-size: 15px; }
.comment-email {
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 0.2rem 0.65rem;
    border-radius: 30px;
    color: #3b5c7e;
}
.comment-date { font-size: 0.7rem; color: #94a3b8; margin-left: auto; }
.comment-content { font-size: 0.94rem; }
.comment-content p { margin: 0; }
.empty-comments { color: #888; font-size: 14px; padding: 8px 0; }

.reply-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}
.reply-box form { width: 100%; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; max-width: 100%;    justify-content: space-between;}
.reply-box form p label { margin-bottom: 6px; display: block; }
.reply-box form .comment { width: 31%; margin: 0; }
.reply-box form .comment-form-comment { width: 100%; }

.support-card {
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid #dddddd;
    margin-bottom: 20px;
    background: #fff;
}
.agent-avatar { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.avatar-wrapper { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #2ba150;
    border-radius: 50%;
    border: 2px solid white;
}
.agent-name { font-weight: 700; font-size: 1rem; color: #1f3a4b; }
.online-status {
    font-size: 0.7rem;
    background: #e9f6ef;
    color: #1f7840;
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
    font-weight: 500;
}
.agent-title { font-size: 0.72rem; color: #8c8c8c; display: block; margin-top: 4px; }
.card-headline { font-size: 1.4rem; font-weight: 700; margin: 1rem 0 0.5rem; color: #0e2a3b; }
.card-subheadline { font-size: 0.85rem; color: #424b5b; line-height: 1.45; margin-bottom: 16px; }
.card-wplink{
			    color: #424b5b;
			    margin-bottom: 24px;
				    font-size: 0.85rem;
		}
		.card-wplink a{
			font-weight: bold;
			    color: #0e2a3b;
			    margin-left: 8px;
			    letter-spacing: 0.5px;
				    font-size: 1.1rem;
		}
		.card-wplink a:hover{
			    text-shadow: 0px 0px 15px #00000033;
		}
@media (max-width: 1024px) {
    .article-detail-page .inner-aside { width: 100%; margin: 0; max-width: none; }
}
@media (max-width: 640px) {
    .share-btn-group { flex-wrap: wrap; }
    .share-btn { flex: 1 1 calc(33.333% - 8px); min-width: 48px; }
    .share-btn span { display: none; }
    .share-buttons { padding: 10px; }
    .reply-box { padding: 20px; }
    .reply-box form .comment { width: 100%; }
    .article-detail-page .article-Author { flex-wrap: wrap; padding: 20px; }
    .article-detail-page .author-info { width: 100%; }
    .article-detail-page .author-info h2 { font-size: 18px; }
    .morearticle ol { padding-left: 0 !important; }
}
