/* style.css - 亚洲财经主样式 */
body { min-width: 320px; }

/* Header */
.header { background: #fff; border-bottom: 1px solid #eee; }
.header_logo { padding-bottom: 10px; }
.logo img { display: block; }
.header_search { margin-top: 15px; }
.header_search form { width: 320px; }
.header_search .tip { left: 12px; top: 8px; color: #bbb; font-size: 13px; pointer-events: none; z-index: 1; }
.filter_input { width: 230px; height: 34px; border: 2px solid #c81623; border-right: none; padding: 0 10px; font-size: 13px; }
.filter_btn { width: 70px; height: 34px; background: #c81623; color: #fff; border: none; cursor: pointer; font-size: 14px; }
.filter_btn:hover { background: #a8131e; }

/* Navigation */
.header_nav { position: relative; z-index: 1000; background: #1a1a2e; height: 42px; }
.header_nav_ul > li { float: left; position: relative; }
.header_nav_ul > li > a { display: block; padding: 0 22px; line-height: 42px; color: #fff; font-size: 15px; }
.header_nav_ul > li:hover > a,
.header_nav_ul > li.active > a { background: #c81623; color: #fff; }
.header_nav_ul > li > .sub_menu { display: none; }
.header_nav_ul > li:hover > .sub_menu,
.header_nav_ul > li.submenu-open > .sub_menu { display: block; }
.sub_menu { position: absolute; top: 42px; left: 0; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15); z-index: 1001; min-width: 120px; }
.sub_menu li a { display: block; padding: 10px 20px; color: #333; white-space: nowrap; font-size: 13px; }
.sub_menu li a:hover { background: #f5f5f5; color: #c81623; }
.left_border { border-left: 3px solid #c81623; }
.nav_bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.3); z-index: 998; pointer-events: none; }

/* Banner */
.index_banner { width: 100%; background: #1a1a2e; overflow: hidden; }
.banner-inner { position: relative; display: block; }
.banner_img { position: relative; width: 100%; height: 380px; overflow: hidden; display: block; margin: 0 auto; }
.banner_img li { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; pointer-events: none; }
.banner_img li.active { opacity: 1; z-index: 1; pointer-events: auto; }
.banner_img li a { display: block; height: 100%; line-height: 0; }
.banner_img li img { width: 100%; height: 380px; object-fit: cover; display: block; max-width: 100%; }
.banner_btn { position: relative; z-index: 2; width: 100%; margin: -80px auto 0; display: flex; overflow: hidden; clear: both; }
.banner_btn li { flex: 1 1 0; min-width: 0; float: none; width: auto; background: rgba(0,0,0,.6); border-right: 1px solid rgba(255,255,255,.1); }
.banner_btn li:last-child { border-right: none; }
.banner_btn li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; color: #fff; overflow: hidden; height: 80px; box-sizing: border-box; }
.banner_btn li.active,
.banner_btn li:hover { background: #c81623; }
.banner_btn li a .fl { float: none; flex: 1 1 auto; min-width: 0; margin: 0 !important; overflow: hidden; }
.banner_btn li a .fl.mt20 { margin-top: 0 !important; }
.banner_btn li a .fl p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.banner_btn li a .button_img { float: none; flex: 0 0 60px; width: 60px; height: 45px; overflow: hidden; }
.banner_btn .button_img img { width: 60px; height: 45px; object-fit: cover; border-radius: 3px; display: block; }

/* Notice */
.index_zxqb { background: #fff8f0; border: 1px solid #ffe0c0; padding: 8px 15px; line-height: 32px; overflow: hidden; }
.notice-img { float: left; color: #c81623; font-weight: bold; margin-right: 15px; }
.notice-list { overflow: hidden; height: 32px; }
.notice-list li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-list a { color: #666; }
.notice-list a:hover { color: #c81623; }

/* Floor common */
.content { padding-top: 10px; }
.floor_tit { border-bottom: 2px solid #c81623; padding-bottom: 12px; margin-bottom: 20px; }
.floor_tit .index_ico { width: 30px; height: 30px; background: #c81623; border-radius: 50%; margin-right: 10px; margin-top: 2px; }
.floor_tit h1 { font-size: 14px; font-weight: normal; color: #666; line-height: 30px; overflow: hidden; }
.floor_tit h1 strong a { font-size: 22px; color: #333; margin-right: 10px; }
.floor_sub_tit { border-bottom: 1px solid #eee; padding-bottom: 8px; margin-bottom: 10px; }
.floor_sub_tit h3 { font-size: 16px; color: #333; }
.floor_sub_tit h3 a { color: #333; }
.floor_sub_tit .more { color: #999; font-size: 12px; line-height: 24px; }
.floor_sub_tit .more:hover { color: #c81623; }
.floor_sub_tit .tit_bg { width: 4px; height: 18px; background: #c81623; margin-right: 8px; margin-top: 3px; }
.floor_left { width: 48%; }
.floor_right { width: 48%; }

/* 金融点评 */
.jrdp { border-bottom: 1px solid #eee; }
.rpjg_ul li { padding: 12px 0; border-bottom: 1px dashed #eee; overflow: hidden; }
.rpjg_ul .org-name { font-size: 15px; font-weight: bold; }
.rpjg_ul .org-score { color: #c81623; font-size: 18px; font-weight: bold; }
.rpjg_ul .org-comments { color: #999; font-size: 12px; }
.read-truth ul li { padding: 10px 0; border-bottom: 1px dashed #eee; }
.read-truth ul li a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.read-truth .truth-date { color: #999; font-size: 12px; float: right; }

/* 金融情报 */
.jrqb { border-bottom: 1px solid #eee; }
.qbkd_floor { width: 32%; margin-right: 2%; }
.zjtj_floor { width: 38%; margin-right: 2%; }
.zdm_floor { width: 26%; }
.qbkd_ul li { padding: 6px 0; border-bottom: 1px dotted #eee; }
.qbkd_ul li a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: #555; }
.qbkd_ul li a:hover { color: #c81623; }
.qbkd_ul li::before { content: "•"; color: #c81623; margin-right: 5px; }
.zjtj_ul li { overflow: hidden; padding: 12px 0; border-bottom: 1px dashed #eee; }
.zjtj_img { width: 100px; height: 70px; overflow: hidden; }
.zjtj_img img { width: 100px; height: 70px; object-fit: cover; }
.zjtj_con { width: calc(100% - 115px); }
.zjtj_con h3 { font-size: 14px; margin-bottom: 5px; }
.zjtj_con h3 a { color: #333; }
.zjtj_con p { color: #999; font-size: 12px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.zdm_ul li { padding: 10px; background: #f9f9f9; margin-bottom: 8px; border-radius: 3px; }
.zdm_ul .zdm-name { font-weight: bold; }
.zdm_ul .zdm-rate { color: #c81623; font-size: 16px; font-weight: bold; }
.zdm_ul .zdm-risk { color: #999; font-size: 12px; }

/* 金融市场 */
.jrsc { border-bottom: 1px solid #eee; padding-bottom: 20px; }
.jrsc_table, .yxcp_table { width: 100%; }
.jrsc_table th, .jrsc_table td, .yxcp_table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #eee; font-size: 13px; }
.jrsc_table th { background: #f5f5f5; font-weight: normal; color: #666; }
.jrsc_table .grade-aaa { color: #c81623; font-weight: bold; }
.jrsc_table .grade-aa { color: #e67e22; font-weight: bold; }
.yxcp_table td { text-align: left; }
.yxcp_table .prod-rate { color: #c81623; font-size: 16px; font-weight: bold; }

/* 共建金融 */
.gjjr { border-bottom: 1px solid #eee; }
.gjjr_count { overflow: hidden; background: #f9f9f9; padding: 15px; border-radius: 4px; }
.gjjr_count li { float: left; width: 50%; padding: 5px 0; font-size: 13px; color: #666; }
.gjjr_count li span { color: #c81623; font-weight: bold; font-size: 16px; }
.gjqb_ul li { padding: 6px 0; font-size: 12px; color: #666; border-bottom: 1px dotted #eee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gjxm_ul li { float: left; width: 48%; margin: 1%; padding: 12px; background: #f9f9f9; border-radius: 4px; border: 1px solid #eee; }
.gjxm_ul li .gj-title { font-weight: bold; margin-bottom: 5px; }
.gjxm_ul li .gj-reward { color: #c81623; font-size: 13px; }
.gjxm_ul li .gj-status { color: #27ae60; font-size: 12px; float: right; }

/* Links */
.index_links .tabs-nav li { float: left; padding: 5px 15px; font-size: 16px; font-weight: bold; border-bottom: 2px solid #c81623; color: #333; }
.index_links .tabs-panel ul li { float: left; margin: 8px 15px 8px 0; }
.index_links .tabs-panel ul li img { height: 40px; max-width: 120px; object-fit: contain; filter: grayscale(30%); transition: filter .3s; }
.index_links .tabs-panel ul li img:hover { filter: none; }
.index_links .tabs-panel ul li a { font-size: 13px; color: #666; padding: 5px 10px; display: inline-block; border: 1px solid #eee; border-radius: 3px; }
.index_links .tabs-panel ul li a:hover { border-color: #c81623; color: #c81623; }
.cross-partner-placeholder { display: inline-block; width: 100px; height: 40px; line-height: 40px; text-align: center; background: #f5f5f5; border: 1px solid #eee; font-size: 11px; color: #999; border-radius: 3px; }

/* Slider nav */
.slider-nav { position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 200; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.1); border-radius: 4px; }
.slider-nav ul li { border-bottom: 1px solid #eee; }
.slider-nav ul li a { display: block; padding: 8px 12px; font-size: 12px; color: #666; text-align: center; white-space: nowrap; }
.slider-nav ul li a:hover { color: #c81623; background: #fff5f5; }
.slider-nav .scrollTop { height: 36px; background: #c81623 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 4l-8 8h5v8h6v-8h5z"/></svg>') center/16px no-repeat; cursor: pointer; border-radius: 4px 4px 0 0; }
.slider-nav .slideCode { height: 36px; background: #f5f5f5; }

/* Footer */
.footer { background: #2c2c3a; color: #999; margin-top: 20px; padding-top: 30px; }
.footer-mobile-only { display: none; }
.footer-desktop-only { display: block; }
.footer--mobile {
    padding-top: 0;
    text-align: center;
}
.footer-mobile-min {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px 24px;
    box-sizing: border-box;
}
.footer-mobile-min p {
    width: 100%;
    margin: 0;
    font-size: 11px;
    line-height: 1.9;
    color: #666;
    text-align: center;
}
.footer_about { border-bottom: 1px solid #3a3a4a; }
.footer_links_wrap { overflow: hidden; }
.footer dl { float: left; width: 140px; margin-right: 20px; }
.footer_dl_firstItem { width: 120px; }
.footer dt { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer dt a { color: #fff; }
.footer dd { margin-bottom: 8px; }
.footer dd a { color: #999; font-size: 13px; }
.footer dd a:hover { color: #fff; }
.footer_contact { width: 280px; }
.footer_contact_label { font-size: 13px; color: #999; }
.footer_contact_label span { color: #777; font-size: 12px; }
.footer_contact_phone { font-size: 22px; color: #c81623; font-weight: bold; margin: 8px 0; }
.footer_contact_phone a { color: #c81623; }
.footer_contact_mail a { color: #999; }
.yc_footer_copyright { text-align: center; padding-bottom: 30px; }
.yc_footer_copyright p { font-size: 12px; line-height: 2; color: #777; }
.yc_footer_copyright a { color: #777; }
.yc_footer_verify { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.yc_footer_verify li img { opacity: .7; transition: opacity .3s; }
.yc_footer_verify li img:hover { opacity: 1; }

/* 手机端页脚：隐藏电脑版，显示居中版权 */
@media screen and (max-width: 768px) {
    .slider-nav,
    .footer-desktop-only { display: none !important; }
    .footer-mobile-only {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 22px 0 28px !important;
        margin: 0 auto !important;
    }
    .footer-mobile-only p {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        padding: 0 12px !important;
        font-size: 11px !important;
        line-height: 2 !important;
        color: #888 !important;
    }
    .footer { padding-top: 0 !important; }
}

/* App header (mobile) */
@media screen and (min-width: 601px) {
    .app-header { display: none !important; }
    .header { display: block !important; }
}
.app-header { display: none; background: #fff; border-bottom: 1px solid #eee; padding: 10px 15px; }
.app-header-top { line-height: 40px; }
.app-nav-show, .app-header-search { width: 40px; height: 40px; text-align: center; line-height: 40px; color: #666; cursor: pointer; }
.app-menu-nav li a { display: block; padding: 12px 15px; border-bottom: 1px solid #eee; color: #333; }
.app-search-div { padding: 10px 15px; }
.app-search-div input { width: calc(100% - 70px); height: 36px; border: 1px solid #ddd; padding: 0 10px; }
.app-search-div button { width: 60px; height: 36px; background: #c81623; color: #fff; border: none; }

/* Alert box */
.bg_div { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 1000; }
.alert_box { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 30px; border-radius: 4px; z-index: 1001; min-width: 300px; text-align: center; }

/* Placeholder images */
.img-placeholder { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; padding: 5px; }
.banner-placeholder:not(img) { background: linear-gradient(135deg, #1a1a2e 0%, #c81623 100%); height: 380px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; font-weight: bold; }
.thumb-placeholder:not(img) { width: 60px; height: 45px; background: #444; color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; text-align: center; }
.logo-text { font-size: 32px; font-weight: bold; color: #c81623; letter-spacing: 2px; }
.logo-text span { color: #1a1a2e; }
