/* =====================================================================
   纬盛资本 Weisheng Capital —— 站点自定义样式
   在主题 theme.css 之后加载，用于补充/覆盖主题
   ===================================================================== */

/* ------------------------------------------------------- 页脚营业网点 */
.footer-branches { padding: 15px 0 10px; background: #f8f9fa; }
.footer-branches h3 { color: #333; font-size: 18px; margin-bottom: 12px; text-align: center; font-weight: 600; }
.footer-logo-section { text-align: center; margin-bottom: 10px; }
.footer-logo-section img { max-width: 140px; }

.branch-card { background: #fff; border-radius: 6px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.branch-card h4 { color: #0079c3; font-size: 15px; margin-bottom: 6px; font-weight: 600; border-bottom: 1px solid #0079c3; padding-bottom: 4px; }
.branch-card h5 { color: #333; font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.branch-info { display: flex; align-items: flex-start; gap: 10px; }
.branch-details { flex: 1; font-size: 13px; line-height: 1.5; }
.branch-details p { margin: 0 0 2px; color: #555; }
.branch-details .label { color: #0079c3; font-weight: 600; display: inline; padding: 0; font-size: 100%; background: none; }
.branch-qr { width: 70px; flex-shrink: 0; }
.branch-qr img { width: 100%; border: 1px solid #eee; border-radius: 3px; }
.trading-hours { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #ddd; }
.trading-hours strong { color: #333; font-size: 12px; }
.trading-hours p { font-size: 12px; margin: 1px 0; }

@media (max-width: 767px) {
    .branch-info { flex-direction: column; align-items: center; text-align: center; }
    .branch-qr { margin-top: 10px; }
}

/* --------------------------------------------------------- 页脚版权条 */
.footer-copyright { background: #333; padding: 15px 0 55px; text-align: center; }
.footer-copyright p { color: #888; font-size: 14px; margin: 0; display: inline; }
.footer-copyright a { color: #aaa; text-decoration: none; font-size: 14px; }
.footer-copyright a:hover { color: #fff; }
.footer-copyright .sep { color: #666; margin: 0 8px; }

/* ------------------------------------------------------------ 汇率表 */
.deposite-table table { width: 100%; }
.deposite-table th { background: #0079c3; color: #fff; padding: 8px 10px; font-weight: 600; font-size: 14px; }
.deposite-table td { padding: 7px 10px; font-size: 14px; border-bottom: 1px solid #eee; }
.deposite-table .ra { text-align: right; }
.deposite-table tr:hover td { background: #f5faff; }
.diposite-box { background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); margin-bottom: 25px; }
.payment-history-area h4 { font-size: 18px; margin-bottom: 12px; color: #151b2c; font-weight: 600; }
.read-more-line { margin: 8px 0 0; }
.read-more-line a { color: #0079c3; font-size: 13px; }

/* 计算器结果 */
.display-data h3 { font-size: 20px; text-align: center; margin: 15px 0 5px; color: #0079c3; }
#exchangeRate p { text-align: center; color: #5d6471; }

/* ------------------------------------------------------- 新闻列表分页 */
.news-pager { width: 100%; margin-top: 15px; border-top: 1px solid #eee; padding-top: 12px; font-size: 13px; color: #5d6471; }
.news-pager select { padding: 3px 6px; border: 1px solid #ccc; border-radius: 3px; }
.news-pager a { color: #0079c3; }
.news-pager .disabled { color: #bbb; }
.deposite-table small a { color: #3d5368; }
.deposite-table small a:hover { color: #0079c3; }

/* --------------------------------------------------------- 新闻弹窗 */
.news-modal .modal-header { border-bottom: 1px solid #dee2e6; padding: 1rem; }
.news-modal .modal-title { text-align: center; width: 100%; font-size: 1.4rem; font-weight: bold; color: #000; }
.news-modal .modal-body { max-height: 65vh; overflow-y: auto; line-height: 1.9; color: #444; }
.news-modal .modal-footer { text-align: center; }

/* ----------------------------------------------------- 服务页富文本 */
.service-rich { max-width: 900px; margin: 0 auto; line-height: 1.9; color: #3d5368; font-size: 15px; }
.service-rich .service-heading { text-align: center; color: #151b2c; font-size: 28px; margin-bottom: 28px; font-weight: 600; }
.service-rich p { margin-bottom: 10px; }
.service-rich u strong, .service-rich strong u { color: #0079c3; }
.service-note { margin-top: 30px; color: #151b2c; font-size: 16px; }

.padding-all { padding: 50px 0; }
.page-padding { padding: 60px 0 40px; }
.about-content h3 { color: #151b2c; margin-bottom: 18px; }
.about-content p { line-height: 1.9; color: #3d5368; }
.about-image img { width: 100%; border-radius: 4px; }

/* ------------------------------------------------------------ 二维码 */
.qr-block { padding: 20px 0 60px; background: #fff; }
.qr-card { display: inline-block; margin-bottom: 15px; }
.qr-card img { width: 100%; max-width: 180px; border: 1px solid #eee; border-radius: 4px; }
.qr-card p { margin-top: 8px; font-size: 13px; color: #5d6471; }

/* ------------------------------------------------------------ 联系页 */
.contact-branches { margin-bottom: 30px; }
.contact-branch-card { background: #fff; border-radius: 6px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 6px rgba(0, 0, 0, .07); min-height: 210px; }
.contact-branch-card h4 { color: #0079c3; font-size: 17px; margin-bottom: 12px; font-weight: 600; }
.contact-branch-card p { margin: 0 0 6px; color: #555; font-size: 14px; }
.contact-branch-card .label-key { color: #151b2c; font-weight: 600; }
.contact-form-box { background: #fff; border-radius: 6px; padding: 25px; box-shadow: 0 1px 6px rgba(0, 0, 0, .07); }
.contact-form-box h4 { color: #151b2c; margin-bottom: 20px; font-weight: 600; }
.contact-form-box .form-control { margin-bottom: 15px; height: 42px; }
.contact-form-box textarea.form-control { height: auto; }
.contact-form-box .btn-primary { background: #0079c3; border-color: #0079c3; padding: 10px 30px; }

/* ------------------------------------------------------- 语言切换器 */
.header-right-link { float: right; margin-left: 15px; }
.header-right-link .lan { background: #0079c3; border-color: #0079c3; padding: 6px 14px; margin-top: 26px; }
.view-lan { position: absolute; right: 15px; top: 70px; z-index: 999; background: #fff; padding: 8px 10px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.view-lan a { display: inline-block; margin: 0 4px; }
.view-lan img { border: 1px solid #ddd; }

/* --------------------------------------------------------- 滚动公告 */
.news { background: #f4f8fb; padding: 8px 0; border-bottom: 1px solid #e3ecf3; }
.news h4 { margin: 0; font-size: 15px; }
.news h4 a { color: #0079c3; }

/* ------------------------------------------------------------- 其它 */
.alert { margin-bottom: 20px; }
.sub-menu { list-style: none; }

/* ------------------------------------------------------- Logo 固定尺寸 */
/* 固定显示高度、宽度按原比例自适应，避免上传大图把头部/页脚布局撑乱 */
.logo img {
    height: 46px !important;
    width: auto !important;
    max-width: 100%;
    display: block;
}
.footer-logo-section img {
    height: 54px;
    width: auto;
    max-width: 100%;
    display: block;
}
