#main {
    overflow: hidden;
    background-color: #F9F9F9;
}
.qa-list, .qa-pagination{
    background-color: #ffffff;
}
.qa-header{
    margin-top: 34px;
}
/* 法律问答多选标签样式 */
.qa-tab-panel {
    background: #0f2a59;
    padding: 20px 32px;
    color: #ffffff;
}

.qa-filter-group {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.qa-filter-group:last-of-type {
    margin-bottom: 0;
}

.qa-filter-title {
    min-width: 88px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.qa-filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.qa-filter-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.qa-filter-option[type="button"] {
    background: rgba(255, 255, 255, 0.08);
}

.qa-filter-option:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
}

.qa-filter-option.active {
    background: #ffffff;
    color: #0f2a59;
    border-color: #ffffff;
}

.qa-selected-panel {
    margin-top: 54px;
    background: #c8965f;
    padding: 10px 20px;
    display: flex;
    gap: 22px;
    color: #fff;
}

.qa-selected-panel.is-empty {
    display: none;
}

.qa-selected-header {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 90px;
}

.qa-selected-label {
    font-size: 15px;
    font-weight: 600;
}

.qa-selected-clear {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.qa-selected-clear:hover {
    text-decoration: underline;
}

.qa-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.qa-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 13px;
}

.qa-selected-tag .remove {
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.qa-selected-tag .remove:hover {
    text-decoration: underline;
}

.qa-loading {
    margin-top: 32px;
    padding: 46px 0;
    text-align: center;
    font-size: 16px;
    color: #0f2a59;
    background: #ffffff;
    border-radius: 16px;
    letter-spacing: 0.4px;
}

.qa-list {
    padding: 28px 36px;
    box-shadow: 0 18px 40px rgba(15, 42, 89, 0.08);
}

.qa-item {
    margin-top: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e8f0;
}

.qa-title {
    margin: 0 0 26px;
}

.qa-title a {
    display: inline-block;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.qa-title a:hover {
    color: #0f2a59;
}

.qa-info {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    list-style: none;
    flex-direction: row;
}

.qa-info-item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 22px;
    color: #4a5261;
    letter-spacing: 0.2px;
    position: relative;
}

.qa-info-item::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    opacity: 0.85;
}

.qa-info-item[data-icon="time"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='7.25' stroke='%230F2A59' stroke-width='1.5'/%3E%3Cpath d='M9 5.25v3.75l2.5 1.5' stroke='%230F2A59' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.qa-info-item[data-icon="view"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14' fill='none'%3E%3Cpath d='M1 7c2.2-3.7 5.4-5.5 9-5.5s6.8 1.8 9 5.5c-2.2 3.7-5.4 5.5-9 5.5S3.2 10.7 1 7z' stroke='%230F2A59' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='7' r='2.3' stroke='%230F2A59' stroke-width='1.4'/%3E%3C/svg%3E");
}

.qa-info-item[data-icon="category"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3.25 3.5c0-.69.56-1.25 1.25-1.25h5.36c.33 0 .65.13.88.37l5.15 5.15c.48.48.48 1.26 0 1.74l-3.95 3.95a1.25 1.25 0 01-1.77 0l-6.92-6.92V3.5z' stroke='%230F2A59' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='6.3' cy='5.7' r='0.9' fill='%230F2A59'/%3E%3C/svg%3E");
}

.qa-info-item[data-icon="region"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M9 1.75a5.25 5.25 0 015.25 5.25c0 3.92-5.25 8.75-5.25 8.75S3.75 10.92 3.75 7a5.25 5.25 0 015.25-5.25z' stroke='%230F2A59' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='7' r='1.8' stroke='%230F2A59' stroke-width='1.4'/%3E%3C/svg%3E");
}

.category-img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
    opacity: 0.85;
}

.qa-info-item:has(.category-img)::before {
    display: none;
}

.qa-empty {
    margin-top: 32px;
    padding: 46px 0;
    text-align: center;
    font-size: 15px;
    color: #7a8599;
    background: #ffffff;
    border-radius: 16px;
}

.qa-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 30px 32px;
}

.qa-pagination button {
    font-family: inherit;
}

.page-link {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d5dae5;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-link:hover {
    border-color: #0f2a59;
    color: #0f2a59;
}

.page-link.active {
    background: #0f2a59;
    border-color: #0f2a59;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 42, 89, 0.2);
}

.page-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #d5dae5;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.page-circle::before {
    content: "";
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

.page-circle.prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M7.5 3l-3 3 3 3' stroke='%230F2A59' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-circle.next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4.5 3l3 3-3 3' stroke='%230F2A59' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-circle:hover {
    border-color: #0f2a59;
    box-shadow: 0 8px 20px rgba(15, 42, 89, 0.2);
}

.page-circle.disabled,
.page-circle:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.page-ellipsis {
    color: #9aa2b3;
    font-size: 16px;
    letter-spacing: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 文章详情页 */
.article-detail-page {
    padding: 24px;
    background: #f9f9f9;
}

.article-detail-page .wrap {
    display: flex;
    flex-direction: column;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ffffff;
    height: 40px;
    background-color: #0f2a59;
    padding: 0 24px;
}

.breadcrumb-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #c8965f;
}

.breadcrumb-current {
    /* color: #c8965f; */
    font-weight: 600;
}

.article-detail {
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 42, 89, 0.08);
}

.article-title {
    margin: 0 0 24px;
    font-size: 32px;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: 600;
}

.article-meta {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    color: #4a5261;
    font-size: 14px;
}

.article-body p {
    /* margin: 0 0 18px;
    font-size: 16px;
    color: #333c4e; */
}

.article-body p:last-of-type {
    margin-bottom: 0;
}

.article-footer {
    margin-top: 36px;
    border-top: 1px solid #e5e8f0;
    padding-top: 24px;
}

.article-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pager-link {
    color: #0f2a59;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pager-link:hover {
    color: #c8965f;
}

.article-recommend {
    margin-top: 32px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 42, 89, 0.08);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    margin: 0;
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.section-title::after {
    display: none;
}

.title-bar {
    display: inline-block;
    width: 4px;
    height: 22px;
    background-color: #c8965f;
    border-radius: 2px;
    transform: translateX(-24px);
}

.section-subtitle {
    font-size: 13px;
    color: #c8965f;
    letter-spacing: 1px;
}

.section-more {
    font-size: 14px;
    color: #4a5261;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-more:hover {
    color: #0f2a59;
}

.section-tip {
    margin-left: auto;
    font-size: 14px;
    color: #4a5261;
}

.recommend-list {
    display: flex;
    flex-direction: column;
}

.recommend-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e8f0;
}

.recommend-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recommend-item:not(:first-child) {
    padding-top: 16px;
}

.recommend-content {
    margin: 0;
}

.recommend-text {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recommend-text:hover {
    color: #0f2a59;
}

.recommend-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.recommend-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recommend-title a:hover {
    color: #0f2a59;
}

.recommend-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    font-size: 14px;
    color: #4a5261;
}

