/* 数智餐饮园区 新闻中心 · 新闻列表页
   主题色：#0369a1（蓝绿 · 新闻常用）
   命名：位置+功能（无目录名前缀）
   所有 ID 独立定义，不与其它页/对象复用
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    font-family: 'Manrope', 'Microsoft YaHei', sans-serif;
    color: #1f2937;
}

#news_h_page_wrapper {
    max-width: 420px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    background-color: #fbf9f4;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 24px;
}

/* ---------- Header ---------- */
#news_h_top_header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #ffffff;
    border-bottom: 3px solid #075985;
    position: sticky;
    top: 0;
    z-index: 10;
}

#news_h_top_back {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease;
}

#news_h_top_back:active {
    background-color: rgba(255, 255, 255, 0.28);
}

#news_h_top_back_icon {
    font-size: 22px;
    color: #ffffff;
}

#news_h_top_title_box {
    flex: 1;
    min-width: 0;
}

#news_h_top_title_main {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

#news_h_top_title_sub {
    font-size: 11px;
    font-weight: 500;
    margin: 0;
    color: #bae6fd;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ---------- Main ---------- */
#news_h_main_content {
    padding: 20px 16px;
}

/* ---------- 列表区 ---------- */
#news_h_center1_list_section {
    background-color: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(3, 105, 161, 0.08);
    margin-bottom: 20px;
}

#news_h_center1_list_header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #bae6fd;
}

#news_h_center1_list_icon {
    color: #0369a1;
    font-size: 22px;
}

#news_h_center1_list_title {
    font-family: 'Noto Serif SC', serif;
    font-size: 17px;
    color: #0369a1;
    font-weight: 700;
    margin: 0;
}

#news_h_center1_news_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news_h_center1_news_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    text-decoration: none;
    color: #0369a1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.news_h_center1_news_item:active {
    background-color: #0369a1;
    color: #ffffff;
    border-color: #0369a1;
    transform: scale(0.99);
}

.news_h_center1_news_item_index {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0369a1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.news_h_center1_news_item:active .news_h_center1_news_item_index {
    background-color: #ffffff;
    color: #0369a1;
}

.news_h_center1_news_item_title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    min-width: 0;
}

.news_h_center1_news_item_arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: #0284c7;
}

.news_h_center1_news_item:active .news_h_center1_news_item_arrow {
    color: #ffffff;
}

/* ---------- 空状态 ---------- */
#news_h_center1_empty_tip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 12px;
    color: #94a3b8;
}

#news_h_center1_empty_icon {
    font-size: 40px;
    color: #bae6fd;
}

#news_h_center1_empty_text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* 列表非空时隐藏空状态 */
#news_h_center1_news_list:not(:empty) ~ #news_h_center1_empty_tip {
    display: none;
}

/* ---------- 返回按钮 ---------- */
#news_h_bottom1_back_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background-color: #ffffff;
    color: #0369a1;
    border: 2px solid #0369a1;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
    transition: all 0.2s ease;
}

#news_h_bottom1_back_btn:active {
    background-color: #0369a1;
    color: #ffffff;
    transform: scale(0.99);
}

#news_h_bottom1_back_icon {
    font-size: 20px;
}
