/**
 * 品牌详情页样式
 * Brand Detail Page Styles
 */

/* 主容器 */
.brand-detail-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px 0;
}

/* ========================================
   面包屑导航（与 category-article.css 保持一致）
   ======================================== */
.brand-detail-page .Community-category-article-container {
    max-width: 1400px;
    margin: 0 auto 16px;
    padding: 0 20px;
}

.brand-detail-page .Community-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 0;
    font-size: 14px;
    color: #6b7280;
}

.brand-detail-page .Community-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.brand-detail-page .Community-breadcrumb a:hover {
    color: #FF6A00;
    background: #fff5f0;
}

.brand-detail-page .Community-breadcrumb .separator {
    margin: 0 6px;
    color: #d1d5db;
    font-weight: 300;
    user-select: none;
}

.brand-detail-page .Community-breadcrumb .current {
    color: #1f2937;
    font-weight: 600;
    padding: 4px 12px;
    background: #fff;
    border-radius: 6px;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .brand-detail-page .Community-category-article-container {
        padding: 0 15px;
        margin-bottom: 8px;
    }
    .brand-detail-page .Community-breadcrumb {
        font-size: 13px;
        padding: 8px 0;
    }
    .brand-detail-page .Community-breadcrumb .current {
        max-width: 160px;
    }
}

.brand-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.brand-main-content {
    flex: 1;
    min-width: 0;
}

.brand-sidebar {
    width: 350px;
    flex-shrink: 0;
}

/* 左侧主内容区 - 额外样式 */
.brand-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 品牌头部卡片 */
.brand-header-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.brand-header-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.brand-logo-wrapper {
    flex-shrink: 0;
}

.brand-detail-logo {
    width: 260px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #f0f0f0;
}

.brand-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-title-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* hero 区品牌名下的公司全称 / 生产商 */
.brand-detail-company {
    font-size: 15px;
    color: #9aa0a6;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

.brand-header-badges {
    display: flex;
    gap: 8px;
}

.brand-stats-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.brand-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.brand-stat-item svg {
    color: #FF6A00;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 14px;
    color: #999;
}

.brand-actions-row {
    display: flex;
    gap: 16px;
}

.btn-vote-brand,
.btn-share-brand {
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-vote-brand {
    background: #FF6A00;
    color: white;
}

.btn-vote-brand:hover:not(:disabled) {
    background: #E65F00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.btn-vote-brand:disabled,
.btn-vote-brand.voted {
    background: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

.btn-share-brand {
    background: white;
    color: #FF6A00;
    border: 2px solid #FF6A00;
}

.btn-share-brand:hover {
    background: #FFF5EE;
}

/* 询盘按钮（actions row 内联版） — 沿用 .btn-inquiry 触发逻辑，外观与 vote / share / claim 对齐 */
.brand-actions-row .btn-inquiry,
.brand-actions-row .btn-inquiry-inline {
    width: auto;
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6A00 0%, #FF8C3B 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.25);
}

.brand-actions-row .btn-inquiry:hover,
.brand-actions-row .btn-inquiry-inline:hover {
    background: linear-gradient(135deg, #E65F00 0%, #FF7A22 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.4);
}

.brand-actions-row .btn-inquiry svg,
.brand-actions-row .btn-inquiry-inline svg {
    flex-shrink: 0;
}

/* 品牌扩展信息 —— 嵌入头部卡片内的低调子区 */
.brand-extended-info-card {
    background: #fafbfc;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 16px 22px;
    box-shadow: none;
    margin-top: 24px;
}

/* 当作为 .brand-header-card 内部子区时，使用更隐形的分隔（顶边线代替整块边框） */
.brand-header-card .brand-extended-info-card {
    background: transparent;
    border: none;
    border-top: 1px dashed #ececec;
    border-radius: 0;
    padding: 18px 0 4px;
    margin-top: 24px;
}

/* 卡片内的标题降级处理（覆盖 .section-title 通用大标题样式） */
.brand-extended-info-card .section-title {
    font-size: 13px;
    font-weight: 600;
    color: #9aa0a6;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    border-bottom: 1px dashed #e6e8eb;
}

/* 品牌详细信息 - 横向 label：value 紧凑布局 */
.brand-detail-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 24px;
}

.brand-info-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.6;
    min-width: 0;
}

.brand-info-item .info-label {
    flex: 0 0 auto;
    font-size: 13px;
    color: #9aa0a6;
    font-weight: 400;
}

.brand-info-item .info-label::after {
    content: '：';
    color: #c8ccd1;
}

.brand-info-item .info-value {
    flex: 1 1 auto;
    font-size: 14px;
    color: #4a4a4a;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-info-item .info-value a {
    color: #FF6A00;
    text-decoration: none;
    transition: color 0.2s;
}

.brand-info-item .info-value a:hover {
    color: #E65F00;
    text-decoration: underline;
}

.brand-info-products {
    grid-column: 1 / -1;
    align-items: center;
}

.brand-info-products .info-value {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    white-space: normal;
    overflow: visible;
}

.product-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #fff5ec;
    color: #FF6A00;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #ffe1c9;
    line-height: 1.6;
}

/* 品牌介绍卡片 */
.brand-intro-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 品牌详情页内的评论区 - 与主内容卡片保持一致的白色卡片样式 */
.brand-main-content .comments-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: none; /* 覆盖 single-post.css 里的灰色顶边 */
}

/* 品牌详情页内评论区的字号强化（覆盖 single-post.css 全局偏小的值） */
.brand-main-content .comments-title {
    font-size: 20px;
    font-weight: 700;
}
.brand-main-content .comments-count {
    font-size: 15px;
}
.brand-main-content .comment-textarea {
    font-size: 15px;
    line-height: 1.6;
}
.brand-main-content .btn-submit-comment {
    font-size: 15px;
    font-weight: 600;
    padding: 10px 28px;
}
.brand-main-content .comment-author {
    font-size: 15px;
    font-weight: 600;
}
.brand-main-content .comment-date {
    font-size: 13px;
}
.brand-main-content .comment-content {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}
.brand-main-content .comment-action-btn {
    font-size: 13px;
}
.brand-main-content .reply-author {
    font-size: 14px;
    font-weight: 600;
}
.brand-main-content .reply-content {
    font-size: 14px;
    line-height: 1.65;
}
.brand-main-content .no-comments {
    font-size: 15px;
    color: #9ca3af;
}
.brand-main-content .comment-login-prompt {
    font-size: 15px;
    padding: 24px 0;
    text-align: center;
    color: #6b7280;
}

/* =========================================================
   聚集品牌资讯 / 品牌相关行业资讯 - 左大图右列表布局
   ========================================================= */

/* 板块标题左侧红色竖条样式 */
.brand-news-section .section-title--bar {
    position: relative;
    padding-left: 14px;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 22px;
    line-height: 1.2;
}
.brand-news-section .section-title--bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: #FF6A00;
    border-radius: 2px;
}

/* 分屏容器：左图右列表 */
.brand-news-split {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* 左侧大图卡 */
.news-hero-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 16 / 10;
    background: #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.news-hero-media {
    position: absolute;
    inset: 0;
}
.news-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.news-hero-card:hover .news-hero-media img {
    transform: scale(1.04);
}
.news-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
}
.news-hero-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    /* 最多两行 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 右侧：featured 标题 + 列表 */
.news-list-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.news-featured-title {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.45;
    text-decoration: none;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5e7eb;
    transition: color 0.2s ease;
    /* 最多两行 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-featured-title:hover {
    color: #FF6A00;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-list-item {
    position: relative;
    padding-left: 14px;
    line-height: 1.6;
}
.news-list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
}
.news-list-link {
    display: block;
    font-size: 15px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-list-link:hover {
    color: #FF6A00;
}

/* 响应式：窄屏改为纵向堆叠 */
@media (max-width: 768px) {
    .brand-news-split {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .news-hero-card {
        aspect-ratio: 16 / 9;
    }
    .news-hero-title {
        font-size: 15px;
    }
    .news-featured-title {
        font-size: 16px;
    }
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.brand-content {
    font-size: 17px;
    line-height: 1.9;
    color: #4b5563;
}

.brand-content p {
    margin: 0 0 16px;
}

.brand-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* WordPress 图片对齐类 */
.brand-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.brand-content p .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.brand-content img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 右侧边栏 - 额外样式 */
.brand-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

/* 投票卡片 */
.vote-card {
    /* 移除单独的sticky定位，使用父容器的sticky */
}

.vote-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.vote-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.vote-count-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: #FFF5EE;
    border-radius: 12px;
    width: 100%;
}

.vote-count-display svg {
    color: #FF6A00;
}

.vote-number {
    font-size: 32px;
    font-weight: 700;
    color: #FF6A00;
}

.btn-vote-sidebar {
    width: 100%;
    padding: 14px 24px;
    background: #FF6A00;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-vote-sidebar:hover:not(:disabled) {
    background: #E65F00;
    transform: translateY(-2px);
}

.btn-vote-sidebar:disabled,
.btn-vote-sidebar.voted {
    background: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

.vote-tip {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 0;
}

/* 品牌信息列表 */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-icon {
    font-size: 20px;
}

.info-text {
    font-size: 14px;
    color: #666;
}

/* 相关品牌列表 */
.related-brands-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.related-brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s;
}

.related-brand-item:last-child {
    border-bottom: none;
}

.related-brand-item:hover {
    background: #f8f9fa;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 8px;
}

.related-brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-brand-info {
    flex: 1;
    min-width: 0;
}

.related-brand-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-brand-votes {
    font-size: 12px;
    color: #999;
}

.no-related {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 20px 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .brand-detail-container {
        flex-direction: column;
        padding: 0 16px;
    }
    
    .brand-sidebar {
        width: 100%;
        order: 2;
        position: static; /* 在平板和手机上取消固定定位 */
    }
}

@media (max-width: 768px) {
    .brand-detail-page {
        padding: 20px 0;
    }
    
    .brand-detail-container {
        padding: 0 12px;
    }
    
    .brand-header-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .brand-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .brand-detail-logo {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 16/10;
    }
    
    .brand-detail-title {
        font-size: 24px;
    }
    
    .brand-title-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .brand-stats-row {
        justify-content: center;
        gap: 20px;
    }
    
    .brand-stat-item {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .brand-actions-row {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn-vote-brand,
    .btn-share-brand,
    .btn-claim-brand,
    .brand-actions-row .btn-inquiry,
    .brand-actions-row .btn-inquiry-inline {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .brand-extended-info-card,
    .brand-intro-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .brand-detail-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .brand-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .sidebar-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .sidebar-card-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .brand-detail-page {
        padding: 16px 0;
    }
    
    .brand-detail-container {
        padding: 0 8px;
    }
    
    .brand-header-card {
        padding: 16px;
    }
    
    .brand-detail-logo {
        max-width: 240px;
    }
    
    .brand-detail-title {
        font-size: 20px;
    }
    
    .brand-header-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .brand-stat-item svg {
        width: 16px;
        height: 16px;
    }
    
    .btn-vote-brand,
    .btn-share-brand,
    .btn-claim-brand,
    .brand-actions-row .btn-inquiry,
    .brand-actions-row .btn-inquiry-inline {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .brand-extended-info-card,
    .brand-intro-card,
    .sidebar-card {
        padding: 16px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .brand-content {
        font-size: 14px;
    }
    
    .vote-count-display {
        padding: 16px;
    }
    
    .vote-number {
        font-size: 28px;
    }
    
    .btn-vote-sidebar {
        padding: 12px 20px;
        font-size: 15px;
    }
}


/* 品牌认领按钮样式 */
.btn-claim-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    background: white;
    color: #FF6A00;
    border: 2px solid #FF6A00;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-claim-brand:hover {
    background: #FF6A00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

/* 认领审核中状态 */
.btn-claim-brand.btn-claim-pending {
    background: #FFF7E6;
    color: #FA8C16;
    border-color: #FA8C16;
    cursor: not-allowed;
}

.btn-claim-brand.btn-claim-pending:hover {
    transform: none;
    box-shadow: none;
}

/* 已认领状态 */
.btn-claim-brand.btn-claimed {
    background: #f5f5f5;
    color: #999;
    border-color: #d9d9d9;
    cursor: not-allowed;
}

.btn-claim-brand.btn-claimed:hover {
    background: #f5f5f5;
    color: #999;
    transform: none;
    box-shadow: none;
}

/* 管理品牌按钮 */
.btn-claim-brand.btn-manage-brand {
    background: #52c41a;
    color: white;
    border: none;
    text-decoration: none;
}

.btn-claim-brand.btn-manage-brand:hover {
    background: #389e0d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}


/* 品牌徽章样式 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.badge-verified {
    background: #E6F7FF;
    color: #1890FF;
}

.badge-claimed {
    background: #F0FDF4;
    color: #10B981;
}

.badge-level {
    background: #FFF7E6;
    color: #FA8C16;
}

/* 付费订阅徽章（Pro / Premium） */
.badge-plan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(255, 106, 0, 0.25);
}

.badge-plan svg {
    flex-shrink: 0;
}

.badge-plan-pro {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8C3B 100%);
}

.badge-plan-premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #FF6A00 100%);
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

/* ==========================================================================
   品牌正文富文本美化 — Rich-text typography in .brand-content
   适用于用户从编辑器发布的 H2 / H3 / UL / OL / TABLE / BLOCKQUOTE / 链接 等
   ========================================================================== */

/* —— H2 主标题：左侧渐变色条 + 段落上方加间距 —— */
.brand-content h2 {
    position: relative;
    margin: 36px 0 16px;
    padding-left: 14px;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.brand-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FF6A00 0%, #FF8C3B 100%);
}

.brand-content h2:first-child {
    margin-top: 0;
}

/* —— H3 子标题：橙色文字 + 虚线分隔 —— */
.brand-content h3 {
    margin: 28px 0 12px;
    padding-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #FF6A00;
    border-bottom: 1px dashed #f5d6bb;
    line-height: 1.4;
}

.brand-content h4 {
    margin: 20px 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

/* —— 段落与强调 —— */
.brand-content p {
    margin: 0 0 16px;
}

.brand-content strong,
.brand-content b {
    color: #1f2937;
    font-weight: 700;
}

/* —— 无序列表：橙色圆点 bullet —— */
.brand-content ul {
    margin: 12px 0 24px;
    padding-left: 0;
    list-style: none;
}

.brand-content ul li {
    position: relative;
    padding: 6px 0 6px 22px;
    line-height: 1.7;
}

.brand-content ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 17px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF6A00;
}

/* 嵌套列表 */
.brand-content ul ul {
    margin: 6px 0 6px;
}

.brand-content ul ul li::before {
    background: #FFB070;
}

/* —— 有序列表：橙色数字 —— */
.brand-content ol {
    margin: 12px 0 24px;
    padding-left: 0;
    list-style: none;
    counter-reset: brand-list;
}

.brand-content ol li {
    position: relative;
    padding: 6px 0 6px 28px;
    line-height: 1.7;
    counter-increment: brand-list;
}

.brand-content ol li::before {
    content: counter(brand-list) ".";
    position: absolute;
    left: 0;
    top: 6px;
    color: #FF6A00;
    font-weight: 700;
    min-width: 22px;
}

/* —— 表格：圆角卡片 + 行表头浅橙背景 —— */
.brand-content table {
    width: 100%;
    margin: 20px 0 28px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 15px;
}

.brand-content table th,
.brand-content table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
    line-height: 1.6;
}

.brand-content table tr:last-child th,
.brand-content table tr:last-child td {
    border-bottom: none;
}

/* 行表头（左列字段名）：浅橙背景 + 橙色字 */
.brand-content table th[scope="row"] {
    width: 200px;
    background: #FFF5EE;
    color: #FF6A00;
    font-weight: 600;
    border-right: 1px solid #f3f4f6;
    white-space: nowrap;
}

/* 顶部表头：渐变橙底白字 */
.brand-content table thead th {
    background: linear-gradient(135deg, #FF6A00 0%, #FF8C3B 100%);
    color: #fff;
    font-weight: 600;
    border-bottom: none;
    border-right-color: rgba(255, 255, 255, 0.2);
}

/* 行 hover 高亮 */
.brand-content table tbody tr:hover {
    background: #FFFBF7;
}

.brand-content table tbody tr:hover th[scope="row"] {
    background: #FFEAD9;
}

/* —— 引用块：左色条 + 浅橙底 —— */
.brand-content blockquote {
    position: relative;
    margin: 24px 0;
    padding: 20px 24px 20px 28px;
    background: #FFF5EE;
    border-left: 4px solid #FF6A00;
    border-radius: 0 12px 12px 0;
    color: #1f2937;
    font-style: normal;
}

.brand-content blockquote p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.brand-content blockquote p:not(:last-child) {
    margin-bottom: 12px;
}

/* —— 链接 —— */
.brand-content a {
    color: #FF6A00;
    text-decoration: underline;
    text-decoration-color: rgba(255, 106, 0, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.brand-content a:hover {
    color: #FF8C3B;
    text-decoration-color: #FF8C3B;
}

/* —— 内联代码 —— */
.brand-content code {
    padding: 2px 6px;
    background: #f3f4f6;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    color: #d97706;
}

/* —— HR 分隔线 —— */
.brand-content hr {
    margin: 32px 0;
    border: none;
    border-top: 1px solid #f0f0f0;
}

/* —— CTA 按钮（含古腾堡内联样式按钮 / .btn-inquiry） —— */
.brand-content a.button,
.brand-content a.btn-inquiry {
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-content a.button:hover,
.brand-content a.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.35);
}

/* —— 高亮 Quick Facts 卡片（HTML 内联 grid 样式触发） —— */
.brand-content > div[style*="grid-template-columns"] {
    transition: box-shadow 0.3s;
}

.brand-content > div[style*="grid-template-columns"]:hover {
    box-shadow: 0 6px 18px rgba(255, 106, 0, 0.12);
}

/* —— 定义列表 dl/dt/dd（公司事实清单） —— */
.brand-content dl {
    margin: 18px 0 28px;
    padding: 22px 26px;
    background: linear-gradient(180deg, #fff7f1 0%, #ffffff 100%);
    border: 1px solid #ffe1cc;
    border-radius: 12px;
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    column-gap: 20px;
    row-gap: 14px;
    align-items: start;
}

.brand-content dl dt {
    margin: 0;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 700;
    color: #FF6A00;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-right: 1px dashed #ffd1ae;
    padding-right: 16px;
}

.brand-content dl dd {
    margin: 0;
    padding: 6px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.brand-content dl dd a {
    color: #FF6A00;
    text-decoration: none;
    border-bottom: 1px dashed #FF6A00;
}

.brand-content dl dd a:hover {
    border-bottom-style: solid;
}

/* —— 折叠面板 details/summary —— */
.brand-content details {
    margin: 12px 0;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #eee;
    border-left: 3px solid #FF6A00;
    border-radius: 8px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.brand-content details[open] {
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.08);
    border-color: #ffd1ae;
    border-left-color: #FF6A00;
}

.brand-content details summary {
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    padding: 4px 0 4px 26px;
    position: relative;
    user-select: none;
}

.brand-content details summary::-webkit-details-marker {
    display: none;
}

.brand-content details summary::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    background: #FF6A00;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s;
}

.brand-content details[open] summary::before {
    content: "−";
}

.brand-content details summary:hover {
    color: #FF6A00;
}

.brand-content details > p,
.brand-content details > ul,
.brand-content details > ol {
    margin-top: 12px;
    padding-left: 26px;
    color: #555;
    font-size: 15px;
    line-height: 1.75;
}

/* —— 侧栏式信息块 aside —— */
.brand-content aside {
    margin: 22px 0 28px;
    padding: 20px 24px;
    background: #fafbfc;
    border-left: 4px solid #FF6A00;
    border-radius: 0 10px 10px 0;
}

.brand-content aside ul,
.brand-content aside ol {
    margin: 0;
    padding-left: 22px;
}

.brand-content aside ul li,
.brand-content aside ol li {
    margin: 6px 0;
    color: #444;
    font-size: 15px;
}

.brand-content aside ul li::marker {
    color: #FF6A00;
}

/* —— figure / figcaption（带说明的引文/图片） —— */
.brand-content figure {
    margin: 26px 0;
    padding: 0;
}

.brand-content figure blockquote {
    margin: 0 0 8px;
}

.brand-content figure figcaption {
    margin-top: 6px;
    padding-left: 22px;
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.brand-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* ===== 移动端 ===== */
@media (max-width: 768px) {
    .brand-content h2 {
        font-size: 20px;
        margin: 28px 0 12px;
    }

    .brand-content h3 {
        font-size: 16px;
        margin: 20px 0 10px;
    }

    .brand-content table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .brand-content table th[scope="row"] {
        width: auto;
        min-width: 110px;
        white-space: normal;
    }

    .brand-content table th,
    .brand-content table td {
        padding: 10px 12px;
    }

    .brand-content blockquote {
        padding: 16px 18px 16px 20px;
        margin: 18px 0;
    }

    .brand-content blockquote p {
        font-size: 15px;
    }

    .brand-content ul li,
    .brand-content ol li {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .brand-content dl {
        grid-template-columns: 1fr;
        padding: 16px 18px;
        row-gap: 4px;
    }

    .brand-content dl dt {
        padding: 8px 0 2px;
        border-right: none;
        border-bottom: 1px dashed #ffd1ae;
    }

    .brand-content dl dd {
        padding: 0 0 10px;
    }

    .brand-content details {
        padding: 12px 14px;
    }

    .brand-content details summary {
        font-size: 15px;
    }

    .brand-content aside {
        padding: 16px 18px;
    }
}
