/* k12 · 社区生态与入驻服务 */

body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #1f2937;
}

#k12_page_wrapper {
    width: 390px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    padding-bottom: 60px;
}

/* Header */
#k12_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #d8341a 0%, #f06a2c 100%);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(216, 52, 26, 0.3);
}

#k12_header_back {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

#k12_header_back:active {
    background: rgba(255, 255, 255, 0.3);
}

#k12_header_title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    text-align: center;
}

#k12_header_placeholder {
    width: 32px;
    height: 32px;
}

/* Main */
#k12_main {
    padding: 20px 16px 30px;
}

#k12_section_intro,
#k12_section_gap,
#k12_section_eco,
#k12_section_settle,
#k12_section_related {
    margin-bottom: 24px;
}

#k12_intro_p1,
#k12_settle_p1,
#k12_eco_order_p,
#k12_eco_network_p,
#k12_eco_capital_p,
#k12_eco_standard_p {
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
    margin: 0 0 10px 0;
    text-align: justify;
}

#k12_gap_h2,
#k12_eco_h2,
#k12_settle_h2,
#k12_related_h2 {
    font-size: 18px;
    font-weight: 700;
    color: #d8341a;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f06a2c;
}

/* 六缺六补表 */
#k12_gap_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    table-layout: fixed;
}

#k12_gap_table_head_row {
    background: linear-gradient(135deg, #d8341a 0%, #f06a2c 100%);
    color: #ffffff;
}

#k12_gap_th_left,
#k12_gap_th_right {
    padding: 8px 6px;
    text-align: left;
    font-weight: 700;
}

#k12_gap_th_left {
    width: 38%;
}

#k12_gap_row_01_left,
#k12_gap_row_02_left,
#k12_gap_row_03_left,
#k12_gap_row_04_left,
#k12_gap_row_05_left,
#k12_gap_row_06_left {
    padding: 8px 6px;
    color: #b3261e;
    font-weight: 600;
    border-bottom: 1px solid #fed7aa;
    vertical-align: top;
    line-height: 1.6;
}

#k12_gap_row_01_right,
#k12_gap_row_02_right,
#k12_gap_row_03_right,
#k12_gap_row_04_right,
#k12_gap_row_05_right,
#k12_gap_row_06_right {
    padding: 8px 6px;
    color: #374151;
    border-bottom: 1px solid #fed7aa;
    vertical-align: top;
    line-height: 1.6;
}

#k12_gap_row_02,
#k12_gap_row_04,
#k12_gap_row_06 {
    background-color: #fff7ed;
}

/* 四大共生生态 */
#k12_eco_order_title,
#k12_eco_network_title,
#k12_eco_capital_title,
#k12_eco_standard_title {
    font-size: 15px;
    font-weight: 700;
    color: #c2410c;
    margin: 14px 0 6px 0;
}

#k12_eco_order,
#k12_eco_network,
#k12_eco_capital,
#k12_eco_standard {
    background-color: #fff7ed;
    border-left: 4px solid #f06a2c;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* 延伸阅读 */
#k12_related_link_10,
#k12_related_link_11,
#k12_related_link_13,
#k12_related_link_14 {
    display: block;
    padding: 12px 16px;
    background-color: #fff7ed;
    color: #c2410c;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #fed7aa;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

#k12_related_link_10:active,
#k12_related_link_11:active,
#k12_related_link_13:active,
#k12_related_link_14:active {
    background-color: #d8341a;
    color: #ffffff;
    border-color: #d8341a;
}

#k12_back_btn {
    display: block;
    margin-top: 16px;
    padding: 14px;
    background-color: #d8341a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 8px rgba(216, 52, 26, 0.3);
}

#k12_back_btn:active {
    background-color: #b3261e;
    transform: scale(0.98);
}
