/* ============================================================
 * 关于我们页专属样式 page-about.css
 * 用于 about/channel_intro.html、about/contact.html
 * 通过 $pageCss 注入，依赖 common.css（频道页骨架/变量等）
 * ============================================================ */

/* ========== 频道介绍 ========== */
.wv-about-content {
    padding: 20px 0;
}

.wv-about-content p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 2;
    text-indent: 2em;
    margin-bottom: 15px;
}

.wv-about-content p:last-child {
    margin-bottom: 0;
}

/* ========== 联系我们 ========== */
.wv-contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    gap: 40px;
}

.wv-contact-info {
    flex: 1;
}

.wv-contact-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.wv-contact-fullname {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.wv-contact-detail {
    font-size: 14px;
    color: var(--color-text);
    line-height: 2.2;
}

.wv-contact-detail p {
    margin-bottom: 8px;
}

.wv-contact-detail p:last-child {
    margin-bottom: 0;
}

.wv-contact-qr {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.wv-qr-item {
    text-align: center;
}

.wv-qr-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.wv-qr-placeholder {
    width: 180px;
    height: 180px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.wv-qr-placeholder::before {
    content: '二维码';
    position: absolute;
    font-size: 14px;
    color: var(--color-text-light);
    background: repeating-linear-gradient(
        45deg,
        #f3f4f6,
        #f3f4f6 10px,
        #e5e7eb 10px,
        #e5e7eb 20px
    );
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wv-qr-label {
    margin-top: 12px;
    font-size: 13px;
    color: var(--color-text-light);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    /* ---------- 手机端：左侧菜单改为顶部横向 Tab（频道介绍/联系我们） ---------- */
    /* sidebar 不再是浅灰竖列，改为无背景的横向 tab 容器 */
    .wv-channel-inner .wv-channel-sidebar {
        width: 100%;
        background: transparent;
        margin-bottom: 16px;
    }
    /* 隐藏"关于我们"标题，tab 无需再顶一行标题 */
    .wv-channel-inner .wv-sidebar-title {
        display: none;
    }
    /* 菜单横向并排两个 tab */
    .wv-channel-inner .wv-sidebar-menu {
        display: flex;
        gap: 10px;
    }
    .wv-channel-inner .wv-sidebar-menu li {
        flex: 1;
    }
    /* 每个 tab：灰底圆角、居中 */
    .wv-channel-inner .wv-sidebar-item {
        display: block;
        text-align: center;
        padding: 12px 8px;
        background: #f0f0f0;
        border: none;
        border-radius: 6px;
        font-size: 15px;
        color: var(--color-text);
    }
    .wv-channel-inner .wv-sidebar-item:hover {
        padding: 12px 8px;
        background: #e5e7eb;
        color: var(--color-text);
    }
    /* 选中态：红底白字 */
    .wv-channel-inner .wv-sidebar-active,
    .wv-channel-inner .wv-sidebar-active:hover {
        background: var(--color-primary);
        color: #ffffff !important;
        font-weight: 600;
        border: none;
    }

    /* ---------- 内容区 ---------- */
    .wv-contact-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    .wv-contact-qr {
        gap: 16px;
    }
}
