html, body {
    height: 100%;
}

#app {
    margin: 0px;
    padding: 0px;
    border: 0px;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    width: 100%;
    height: 100%;
}

.header {
    color: white;
    background-color: black;
    height: 58px;
    vertical-align: middle;
    line-height: 58px;
}

.content {
    width: 100%;
    min-height: calc(100% - 80px);
    padding-bottom: 20px;
}

.footer {
    height: 340px;
    width: 100%;
    background-color: black;
    bottom: 0px;
    line-height: 40px;
    text-align: center;
    font-size: 12px;
    color: white;
    display: flex;
    justify-content: flex-start;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: black;
    text-decoration: none;
}

p {
    padding: 0px;
    margin: 0px;
}

.zhezhao {
    position: fixed;
    width: 100%;
    height: 100%;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 99990;
    display: none;
}
.searchzhezhaocontent {
    position: absolute;
    top: 200px;
}

.news-item {
    display: flex;
    margin-bottom: 20px;
}

.news-image {
    width: 160px;
    height: 120px;
    margin-right: 20px;
}


.new-head {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    font-size: 22px;
    color: #262626;
}

.news-description {
    display: -webkit-box;
    font-size: 13px;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #A7A7A7;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    text-align: right;
    font-size: 14px;
    color: #A7A7A7;
}

.pagination a {
    color: #A7A7A7;
    text-decoration: none;
    margin: 0 10px;
}

.new-content {
    width: 100%;
    margin-top: 50px;
    white-space: pre-wrap;
    line-height: 26px;
    letter-spacing:0.5px;
    font-size: 16px;
    color: #262626
}

.new-content img {
    max-width: 690px;
}

.hot-search {
    display: inline-block;
    cursor: pointer;
    background-color: hsla(0, 0%, 78.8%, .5);
    color: #787878;
    font-size: 16px;
    padding: 5px 20px 5px 20px;
    margin-right: 10px;
}
.hot-search:hover{
    background-color: #4285F4;
    color:white;
}
.h_tag{
    display: none;
}

/*
 * ===================================================================
 *          首页轮播图样式
 * ===================================================================
 */

.carousel-control-text {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.carousel-control-prev:hover .carousel-control-text,
.carousel-control-next:hover .carousel-control-text {
    opacity: 1;
}
.carousel-control-prev,
.carousel-control-next {
    background-image: none;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease-in-out;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
.home-carousel-custom {
}


/*
 * ===================================================================
 *          左侧导航栏样式 (PC端)
 * ===================================================================
 */

nav > div {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

.nav-link {
    font-weight: 500;
    border-radius: 0;
    display: inline-block;
    font-size: 18px;
    color: #262626;
    padding: 1px 7px;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover {
    color: #4285F4;
}

.nav-link.active {
    background-color: rgb(66, 133, 244);
    color: white !important;
}

.nav-link.active:hover {
    color: white !important;
}


/*
 * ===================================================================
 *          AITNT 项目定制化样式 (PC端杂项)
 * ===================================================================
 */

.header .nav-link-top,
.header .searchButton span {
    font-size: 14px;
}
.header-translate-container {
    display: flex; align-items: center; margin-right: 24px;
    cursor: pointer; position: relative;
}
.header-translate-icon {
    width: 20px; height: 20px; fill: #ffffff;
}
.custom-translate-trigger {
    margin-left: 8px; color: #ffffff; font-size: 14px;
    font-weight: 400; white-space: nowrap; line-height: 1;
}
.custom-translate-dropdown {
    position: absolute; top: 100%; left: 0; margin-top: 10px;
    background-color: #2c2c2c; border: 1px solid #555;
    border-radius: 4px; z-index: 1000; min-width: 160px;
    padding: 4px 0; box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.custom-translate-item {
    display: flex !important; align-items: center; padding: 2px 12px !important;
    line-height: 22px !important; color: #f0f0f0 !important; text-decoration: none !important;
    font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.custom-translate-item:hover {
    background-color: #4a4a4a !important;
}
.custom-translate-item .checkmark {
    width: 20px; display: inline-block; text-align: left; margin-right: 5px;
}


/*
 * ===================================================================
 *          文章详情页 - 内容样式 (PC端)
 * ===================================================================
 */
.new-content h4 {
    font-size: 18px;
}
.new-content pre {
    background-color: #1e1e1e; color: #d4d4d4; font-size: 14px;
    line-height: 1.6; padding: 1.2em; border-radius: 6px;
    overflow-x: auto; white-space: pre; 
}
.new-content pre code {
    color: inherit; font-size: inherit; background-color: transparent;
}


/*
 * ===================================================================
 *          寻求报道按钮样式 (PC端)
 * ===================================================================
 */
.nav-button-report {
    display: inline-flex;
    box-sizing: border-box;
    padding: 0 10px;
    height: 27px;
    background-color: #4285F4;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    align-items: center;
    transition: all 0.2s ease-in-out;
}
.nav-button-report:hover {
    background-color: #3367D6;
    color: white;
}
.nav-button-report span {
    line-height: 1;
}


/*
 * ===================================================================
 *          PC 端用户下拉菜单（头像+手机号 hover 显示退出）
 * ===================================================================
 */
.pc-user-logo-wrap {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.pc-user-logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pc-user-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.pc-user-hover-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    width: max-content;
}
.pc-user-hover-wrap .pc-user-phone {
    white-space: nowrap;
}
.pc-user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 100%;
    min-width: 0;
    margin-top: 2px;
    box-sizing: border-box;
    background-color: #2c2c2c;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
}
.pc-user-hover-wrap:hover .pc-user-dropdown {
    display: block;
}
.pc-user-dropdown a {
    display: block;
    padding: 11px 6px;
    color: #f0f0f0;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
}
.pc-user-dropdown a:hover {
    background-color: #4a4a4a;
    color: white;
}


/*
 * ===================================================================
 *          PC 端导航栏对齐修正
 * ===================================================================
 */
div[style*="position: fixed"] .nav-link.active,
div[style*="position: fixed"] .nav-button-report {
    position: relative;
    right: 7px;
}

/*
* =================================================================================
*          H5 移动端响应式样式 (@media screen and (max-width: 768px))
* =================================================================================
*/

/*
* =========================================================================
*   [最终版 V2] H5 全宽下拉菜单 (新图标 & 宽松布局)
* =========================================================================
*/

/* --- 1. 下拉面板本身 (增加内边距，更宽松) --- */
#h5-menu-panel {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 999;
    
    background-color: #ffffff;
    padding: 25px; /* 增加了内边距 */
    box-sizing: border-box;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transform: translateY(-100%);
    transition: transform 0.3s ease-out, visibility 0.3s;
    visibility: hidden;
}

#h5-menu-panel.is-visible {
    transform: translateY(0);
    visibility: visible;
}

/* --- 2. 内容分组 (增加下方间距) --- */
.menu-section {
    margin-bottom: 30px; /* 增加了分组间距 */
}
.menu-section:last-child {
    margin-bottom: 0;
}
.menu-section-title {
    font-size: 14px;
    color: #8e8e93;
    margin: 0 0 18px 0; /* 增加了标题与按钮的间距 */
    text-align: left;
    font-weight: 400;
}

/* --- 3. 核心：“芯片”按钮 (增加间距) --- */
.menu-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px; /* 增加了按钮间距 */
}

.menu-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px; /* 增加了按钮内边距 */
    background-color: #f2f2f7;
    border-radius: 12px; /* 增加了圆角 */
    font-size: 15px;
    font-weight: 500;
    color: #1c1c1e;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.2;
}
.menu-chip svg {
    margin-right: 8px;
}

/* 激活/高亮状态 */
.menu-chip.active,
.menu-chip:active {
    background-color: #007aff;
    color: #ffffff;
}

/* 针对安卓图标的特殊颜色处理 */
.menu-chip a[href*=".apk"] svg path[fill="#1FDB00"] {
    fill: currentColor; /* 让它继承父级 a 标签的颜色 */
}

/*
* =========================================================================
*   [保留] H5 页面专属样式
* =========================================================================
*/

/* --- 修正 H5 首页因内联样式导致的顶部巨大间距 --- */
#app > div[style*="padding:70px"] {
    padding-top: 20px !important;
}

/* --- 修改 H5 详情页文章正文样式 --- */
.newContent,
.new-content {
    font-size: 18px !important;
    color: rgb(17, 17, 17) !important;
    font-weight: 400 !important;
}

/* --- 修改 H5 详情页 h4 小标题样式 --- */
.newContent h4,
.new-content h4 {
    font-size: 22px !important;
    font-weight: 400 !important;
}

/*
* =========================================================================
*   H5 登录弹窗 & 用户下拉
* =========================================================================
*/
.mobile-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99991;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.mobile-login-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}
.mobile-login-box {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.mobile-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.mobile-login-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.mobile-login-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.mobile-login-input {
    margin-bottom: 12px !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
}
.mobile-login-code-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: stretch;
}
.mobile-login-code-row .mobile-login-input {
    flex: 1;
    margin-bottom: 0 !important;
    height: 44px;
    box-sizing: border-box;
}
.mobile-send-code-btn {
    white-space: nowrap;
    padding: 0 14px !important;
    height: 44px;
    line-height: 1;
    box-sizing: border-box;
}
.mobile-login-xieyi {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
}
.mobile-login-xieyi input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
}
.mobile-login-xieyi label {
    flex: 1;
    margin: 0;
    line-height: 1.4;
}
.mobile-login-xieyi a {
    color: #007aff;
}
.mobile-login-submit {
    width: 100%;
    padding: 12px !important;
    font-size: 16px !important;
}
.mobile-user-logo-wrap {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-user-logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mobile-user-divider {
    width: 1px;
    height: 14px;
    background: rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.mobile-user-tap-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 0;
}
.mobile-user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    min-width: 80px;
    padding: 4px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1002;
}
.mobile-user-dropdown a {
    display: block;
    padding: 8px 14px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
}
.mobile-user-dropdown a:hover,
.mobile-user-dropdown a:active {
    background: #f5f5f5;
}

