@charset "gb2312";
/* 传统命理色调体系 */
:root {
    --primary-brown: #8B4513; /* 主粽色 */
    --secondary-red: #E91E63; /* 玫红色 */
    --accent-gold: #D4AF37; /* 金色点缀 */
    --light-bg: #F9F5F1; /* 浅棕背景 */
    --card-bg: #ffffff; /* 卡片背景 */
    --text-dark: #3E2723; /* 深棕文字 */
    --text-light: #795548; /* 浅棕文字 */
    --border-color: #E0D6CE; /* 边框色 */
    --shadow: 0 3px 10px rgba(139, 69, 19, 0.12); /* 阴影效果 */
}
body {
	font-size: 14px;
	background-color: var(--light-bg);
    color: var(--dark-text);
	margin: 0;
	background-repeat: no-repeat;
	background-position: right top;
}


@charset "gb2312";
/* ==============================================
   移动端专属样式 —— 独立文件 不冲突PC
   功能：彻底删除侧边栏、全屏内容、适配手机、导航按钮靠右、横排菜单
   适配你当前整套 top.asp + 主css 源码
============================================== */

/* 全局移动端重置 */
@media (max-width: 768px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    html,
    body {
        width: 100%;
        overflow-x: hidden !important;
        background-color: #fff !important;
        font-size: 14px !important;
    }

    /* ==============================================
       1、彻底隐藏 PC 端头部导航 & 侧边栏
    ============================================== */
    .top_00,
    .header_top,
    .nav_top,
    .nav_top ul {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
    }

    /* 彻底删除侧边栏所有模块（永久移除） */
    .MB-sidebar_index,
    .MB-sidebar_module_index,
    .MB-sidebar_title_index,
    .MB-sidebar_content_index,
    .rightcss_top,
    .rightcss_ {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ==============================================
       2、主体布局改为 100% 全屏（无侧边栏）
    ============================================== */
    .MB-container_index {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px !important;
    }

    .MB-layout_index {
        display: block !important;
        flex-wrap: none !important;
        gap: 0 !important;
    }

    .MB-content_main_index {
        width: 100% !important;
        min-width: 100% !important;
    }

    /* 文章卡片适配手机、无边距挤压 */
    .MB-content_index {
        width: 100% !important;
        padding: 12px !important;
        margin-bottom: 15px !important;
        border-radius: 4px !important;
    }

    /* 文章标题自适应 */
    .MB-content_index-title {
        font-size: 1.6em !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }

    /* 正文行高、字体适配 */
    .MB-content_index-body {
        font-size: 15px !important;
        line-height: 1.9 !important;
    }

    .MB-content_index-body p {
        margin-bottom: 16px !important;
    }

    /* 图片手机自适应 */
    .MB-content_index-body img {
        max-width: 100% !important;
        height: auto !important;
        margin: 15px auto !important;
        border-radius: 4px !important;
    }

    /* ==============================================
       3、移动端菜单按钮【完全独立、靠右、不继承头部】
    ============================================== */
    .mobile-menu-btn,
    .mobile-nav-box {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
        all: unset !important;
        width: auto !important;
        float: right !important;
        margin: 8px 10px !important;
        padding: 6px 14px !important;
        background-color: #8b5a2b !important;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        text-align: center !important;
        border: none !important;
        outline: none !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 99999 !important;
        height: 36px !important;
        line-height: 24px !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    }

    .mobile-menu-btn:active {
        background-color: #7a4e25 !important;
    }

    /* ==============================================
       4、展开导航【全屏横向排列】
    ============================================== */
    .mobile-nav-box {
        display: none !important;
        width: 100% !important;
        clear: both !important;
        background-color: #8b5a2b !important;
        padding: 10px 0 !important;
        border-top: 1px solid rgba(255,255,255,0.15);
        z-index: 99998;
    }

    .mobile-nav-box ul {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-nav-box ul li {
        width: auto !important;
        border: none !important;
        margin: 2px !important;
    }

    .mobile-nav-box ul li a {
        display: block !important;
        color: #fff !important;
        font-size: 15px !important;
        padding: 8px 12px !important;
        text-decoration: none !important;
        border-radius: 3px !important;
        white-space: nowrap !important;
    }

    .mobile-nav-box ul li a:hover {
        background-color: #7a4e25 !important;
    }

    /* ==============================================
       5、手机头部 wap 栏适配
    ============================================== */
    .header-top_wap {
        width: 100% !important;
        height: 42px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 9999 !important;
    }

    .img_top_wap {
        width: 100% !important;
        margin-top: 42px !important;
        position: relative !important;
    }

    /* ==============================================
       6、底部、悬浮导航适配
    ============================================== */
    .foot {
        display: none !important;
    }

    .footer_ {
        opacity: 0.98 !important;
    }
}

/* 超小屏 480px 极致适配 */
@media (max-width: 480px) {
    .mobile-menu-btn {
        height: 33px !important;
        padding: 5px 10px !important;
        font-size: 14px !important;
    }

    .mobile-nav-box ul li a {
        font-size: 14px !important;
        padding: 7px 10px !important;
    }

    .MB-content_index-title {
        font-size: 1.4em !important;
    }
}





/* 顶部导航栏开始 --------------------*/
.top_00 {
	font-size: 14px;
	background-color: #733702;
	padding: 8px 5px 3px 5px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #000000;
}
.top_00 a{	
	color: #EEEEEE;
}
.top_00 input{
	color: #ffffff;
	background-color: #F8B503;
	padding: 2px 10px;
	border: 0;
}
/* 顶部导航栏结束 --------------------*/



/* 头部菜单栏开始 ++++++++++++++++++++*/
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}
/* 头部导航 */
.header_top {
	background-color: var(--primary-brown);
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #733702;
}

.header-content_top {

display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background-color: var(--accent-gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--text-dark);
    font-size: 22px;
    font-weight: bold;
}
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.logo-text span {
    color: var(--accent-gold);
}
.nav_top {
    display: flex;
    list-style: none;
}
.nav_top li {
    margin-left: 30px;
}
.nav_top a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}
.nav_top a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s;
}
.nav_top a:hover:after, .nav_top a.active:after {
    width: 100%;
}
.nav_top a:hover, .nav_top a.active {
    color: var(--accent-gold);
}
/* 搜索框 */
.search-box {
    display: flex;
    margin-left: 20px;
}
.search-input {
    padding: 6px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 180px;
}
.search-btn {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    padding: 0 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
	height: 29px;
}
.search-btn:hover {
    background-color: #c9a52a;
}
/* 响应式适配 */
@media (max-width: 768px) {
    .header-content_top {
        padding: 10px 0;
        gap: 8px;
    }
    .logo {
        margin-bottom: 15px;
    }
    .nav_top li {
        margin: 0 10px;
    }
	.search-box {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }    
    .search-input {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .nav_top {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav_top li {
        margin: 5px 8px;
    }
}
.header-top_wap{
	/*手机头部*/
	font-size: 24px;
	background-color: #BF794F;
	border-bottom: 1px solid #000000;
	height: 40px;
	padding: 5px;
	position: sticky;
	top: 0;
	z-index: 100;
}
.img_top_wap{
	/*手机头部*/
	width: 100%;
	position: sticky;
	top: 1px;
	z-index: 100;
}
/* 头部菜单栏结束 ++++++++++++++++++++*/



/* 中部内容栏开始 --------------------*/
.MB-container_index {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}
/* 核心布局容器 */
.MB-layout_index {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap; /* 电脑端强制并排 */
}
/* 主内容区（左侧） */
.MB-content_main_index {
    flex: 1;
    min-width: calc(100% - 330px); /* 预留侧边栏空间 */
}
/* 侧边栏（右侧） */
.MB-sidebar_index {
    width: 320px;
    flex-shrink: 0; /* 禁止压缩 */
}
/* 侧边栏模块样式 */
.MB-sidebar_module_index {
    /*background: #fff;*/
	/*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    border-radius: 6px;
    margin-bottom: 25px;
    overflow: hidden;
}
.MB-sidebar_title_index {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1em;
    color: #2d3748;
    margin: 0;
}
.MB-sidebar_content_index {
    padding: 15px 20px;
}
/* 文章类目样式 */
.MB-categories_index {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* 文章内容页样式 */
.MB-content_index {
    padding: 15px;
    margin-bottom: 20px;
    background: #FFFFFF;
    border-radius: 5px;
	/*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    /*transition: all 0.3s ease;*/
	word-break: break-all;/*自动换行*/
}
.MB-content_index-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.MB-content_index-title {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 2em;
    text-align: center;
    line-height: 1.3;
}
.MB-content_index-meta {
    text-align: center;
    color: #718096;
    margin-bottom: 20px;
}
.MB-content_index-body {
    font-size: 1.05em;
    color: #2d3748;
    line-height: 1.8;
}
.MB-content_index-body p {
    margin-bottom: 20px;
}
.MB-content_index-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 6px;
}
.MB-content_index-body h2, .MB-content_index-body h3 {
    margin: 30px 0 15px 0;
    color: #2d3748;
}
/* 响应式设计（手机端） */
@media (max-width: 768px) {
    body {
		background-color: #FFFFFF;
	}
	.MB-container_index {
        padding: 5px;
    }
	.MB-content_index {
    	padding: 5px;;
	}     
    .MB-layout_index {
        flex-wrap: wrap; /* 手机端换行 */
    } 
    .MB-content_main_index {
        order: 1; /* 主内容在前 */
        min-width: 100%;
    }   
    .MB-sidebar_index {
        order: 2; /* 侧边栏在后 */
        width: 100%;
    }   
    .MB-content_index-title {
        font-size: 1.6em;
    }
}
/* 中部内容栏结束 --------------------*/



/* ringht.asp文件独立CSS开始 --------*/
.rightcss_top{
	line-height: 20px;
	padding: 10px;
	word-break: break-all;
	background-color: #8B4513;
	font-size: 16px;
	border-radius: 5px;
	color: #FFFFFF;
}
.rightcss_{
	line-height: 20px;
	padding: 10px;
	margin-bottom: 20px;
	word-break: break-all;
	background-color: #FFFFFF;
	border-radius: 5px;
}
.rightcss_ img{
	height: 60px;
	width: 60px;
}
.rightcss_ a{
	color: #666666;
	font-size: 16px;
}
/* ringht.asp文件独立CSS结束 --------*/



/* 底部开始 +++++++++++++++++++++++++*/
.foot {
	padding: 10px;
	border-top: 4px solid #000000;
	background-color: var(--text-dark);
    color: rgba(255,255,255,0.8);
}
.foot dt{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.foot a{
	color: rgba(255,255,255,0.8);
}
.footer_{
	/*底部浮动*/
	line-height: 12px;
	bottom: 0px;
	background-color: #F36400;
	width: 100%;
	height: auto;
	text-align: center;
	position: fixed;
	filter: alpha(opacity=50);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 0.98;
}
.footer_ a{
	/*底部浮动*/
	color: #FFFFFF;
}

/* 底部结束 +++++++++++++++++++++++++*/