/* theme.css - 全站美化覆盖样式 */

/* 基础 */
html, body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	color: #222;
	background-color: #fafafa;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: #000000; }

a:hover, a:focus { color: var(--color-primary-strong); text-decoration: none; }

/* 头部与导航 */
.header-tabs {
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	border-radius: 8px;
	padding: 8px 12px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.header-tabs > li > a {
	color: #555;
	padding: 8px 14px;
	border-radius: 6px;
}
.header-tabs > li.active > a,
.header-tabs > li > a:focus,
.header-tabs > li > a:hover {
	background: #e6fffb;
	color: var(--color-primary);
}

.logo img { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08)); }

/* 搜索条 */
.search .form-control {
	border-radius: 6px;
	border-color: #e5e6eb;
	box-shadow: none;
	height: 36px;
}
.search .btn.btn-info {
	background: #FF0000 !important;
	border-color: #FF0000  !important;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(18,179,168,0.25);
}
.search .btn.btn-info:hover { background: var(--color-primary-strong) !important; border-color: var(--color-primary-strong) !important; }

/* 轮播 */
.carousel-inner > .item > img { border-radius: 10px; }
.carousel-control .glyphicon { text-shadow: none; }

/* 分类侧栏 */
#sort_header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
    border: none;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}

#sort_header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 0 L100 0 L100 100 Z" fill="rgba(255,255,255,0.15)"/></svg>');
    background-size: cover;
}

#sort_header span {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#sort_ul {
    background: #fff;
    border: 1px solid #eef4f3;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 6px 16px rgba(17,29,41,0.06);
    overflow: hidden;
    padding: 8px 0;
}

/* 分类项目样式 */
#sort_ul .sort_li {
    border-bottom: none;
    position: relative;
    transition: all 0.3s ease;
}

#sort_ul .sort_li:last-child {
    border-bottom: none;
}

#sort_ul .sort_li a {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

#sort_ul .sort_li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

#sort_ul .sort_li a:hover {
    background: linear-gradient(90deg, rgba(18,179,168,0.05), rgba(18,179,168,0.01));
    color: var(--color-primary);
    padding-left: 20px;
}

#sort_ul .sort_li a:hover::after {
    transform: scaleY(1);
}

/* 分类项右侧箭头 */
#sort_ul .sort_li a::before {
    content: '⟩';
    font-size: 10px;
    color: transparent;
    transition: all 0.3s ease;
}

#sort_ul .sort_li a:hover::before {
    color: var(--color-primary);
    margin-right: 8px;
}

/* 分类项图标 */
#sort_ul .sort_li a {
    counter-increment: category-counter;
}

#sort_ul .sort_li a::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    background: linear-gradient(135deg, #f0f9f7, #e6fffb);
    border-radius: 8px;
    line-height: 24px;
    text-align: center;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 12px;
}

/* 为不同分类项添加不同的背景和图标 */
#sort_ul .sort_li:nth-child(1) a::before { background: linear-gradient(135deg, #fff2e8, #fff7f0); content: '📚'; }
#sort_ul .sort_li:nth-child(2) a::before { background: linear-gradient(135deg, #e6f7ff, #f0f9ff); content: '💻'; }
#sort_ul .sort_li:nth-child(3) a::before { background: linear-gradient(135deg, #fff1f0, #fff5f5); content: '📱'; }
#sort_ul .sort_li:nth-child(4) a::before { background: linear-gradient(135deg, #f6ffed, #f0fff4); content: '🎨'; }
#sort_ul .sort_li:nth-child(5) a::before { background: linear-gradient(135deg, #f9f0ff, #fdf4ff); content: '🔧'; }
#sort_ul .sort_li:nth-child(6) a::before { background: linear-gradient(135deg, #fffbe6, #fffde7); content: '📊'; }
#sort_ul .sort_li:nth-child(7) a::before { background: linear-gradient(135deg, #e6fffb, #f0fffc); content: '🚀'; }
#sort_ul .sort_li:nth-child(8) a::before { background: linear-gradient(135deg, #e8f5ff, #f0f9ff); content: '📱'; }
#sort_ul .sort_li:nth-child(n+9) a::before { background: linear-gradient(135deg, #f5f5f5, #fafafa); content: '✨'; }

/* 响应式设计 */
@media (max-width: 768px) {
    #sort_header {
        border-radius: 8px 8px 0 0;
    }
    
    #sort_ul {
        border-radius: 0 0 8px 8px;
    }
    
    #sort_ul .sort_li a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    #sort_ul .sort_li a::before {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        font-size: 10px;
    }
}

/* 商品列表卡片 */
/*.product_div { margin-top: 10px; }*/
.product_ul { list-style: none; padding: 0; margin: 0 -8px; }
.product_ul .product_li {
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	margin: 8px;
	padding: 10px;
	transition: transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.product_ul .product_li:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.product_ul .product_li .img img { width: 100%; border-radius: 8px; }
.product_ul .product_li .name a { color: #222; font-weight: 600; }
.product_ul .product_li .name a:hover { color: #1677ff; }
.product_ul .product_li .price { margin-top: 6px; }
.product_ul .product_li .price .rob { color: #ff4d4f; font-weight: 700; }
.product_ul .product_li .price .oprice { color: #999; text-decoration: line-through; margin-left: 6px; }

/* 列表页 */
.search_result .shoplist_ul > li { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 12px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.search_tab ul li { background: #fff; border: 1px solid #f0f0f0; border-radius: 20px; padding: 6px 14px; display: inline-block; }
.search_now_price { color: #ff4d4f; font-weight: 700; }
.shop_button .search_btn_cart { background: #1677ff; color: #fff !important; border-radius: 6px;  display: inline-block; }
.shop_button .search_btn_cart:hover { background: #0958d9; }

/* 分页 */
.pagination > li > a, .pagination > li > span { color: #555; border-color: #e5e6eb; }
.pagination > .active > a, .pagination > .active > span { background: #1677ff; border-color: #1677ff; }

/* 登录页 */
#loginForm #username, #loginForm #password { border-radius: 8px; border-color: #e5e6eb; height: 38px; }
#loginButton { background: #1677ff; border: none; border-radius: 8px; height: 40px; box-shadow: 0 4px 14px rgba(22,119,255,0.25); }
#loginButton:hover { background: #0958d9; }

/* 右侧信息卡片 */
.news, .hot_book { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.news .title, .hot_book .title, .index_product_top .title { font-weight: 700; color: #222; }
.div_hr { height: 2px; background: linear-gradient(90deg, var(--color-primary), rgba(18,179,168,0)); border-radius: 2px; }

/* 页脚 - 强制覆盖bs.css中的固定高度，使用黑色背景 */
#footer {
    width: 100% !important;
    height: auto !important;
    background: #000000 !important;
    border-top: 1px solid #333333 !important;
    color: #ffffff !important;
    padding: 30px 0 !important;
    margin-top: 40px !important;
    border: none !important;
    box-shadow: none !important;
}

/* 页脚内容区域 */
.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

/* 页脚列 */
.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-column a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

/* 二维码容器 */
.qrcode-container {
    display: flex;
    margin-top: 15px;
}

.qrcode-item {
    margin-right: 20px;
    text-align: center;
}

/* 二维码图片样式 - 固定大小 */
.qrcode-image {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
    border: 2px solid #333333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qrcode-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* QQ二维码边框样式 */
.qrcode-image.qq {
    border-color: #12b3a8;
}

/* 微信二维码边框样式 */
.qrcode-image.wechat {
    border-color: #34d399;
}

/* 页脚底部区域 */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #333333;
    font-size: 12px;
    color: #cccccc;
}

.footer-bottom a {
    color: #cccccc;
    margin: 0 8px;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.gongan-logo {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .footer-column {
        min-width: 100%;
        margin-bottom: 30px;
    }
    
    .qrcode-container {
        justify-content: center;
    }
}

/* 小屏优化 */
@media (max-width: 768px) {
	.header-tabs { padding: 6px 8px; }
	.search .form-control { height: 34px; }
	.product_ul .product_li { margin: 6px; padding: 8px; }
}

/* ==================== 增强：更丰富色彩与布局 ==================== */
:root {
	--color-primary: #12b3a8; /* 薄荷青主色 */
	--color-primary-strong: #0e9a91;
	--color-accent-pink: #ff7aa2;
	--color-accent-green: #34d399; /* 绿色点缀 */
	--color-accent-orange: #f59e0b; /* 温和橙 */
	--color-accent-purple: #7c3aed; /* 清新紫 */
	--color-danger: #ef4444;
	--color-warning: #fbbf24;
	--color-success: #10b981;
	--shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
	--shadow-md: 0 6px 18px rgba(0,0,0,0.08);
	--radius: 12px;
}

/* 顶条与提示条更具层次 */
#header, .tip_div {
	background: linear-gradient(90deg, #e6fffb, #ffffff);
	color: #0a2a29;
	border: 1px solid #e5f5f3;
	/* 增加高度以容纳欢迎横幅 */
	height: auto !important;
	padding-bottom: 10px;
}

/* 确保header_inner有足够空间并居中 */
#header_inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: auto !important; /* 强制覆盖bs.css中的固定高度 */
	min-height: 34px;
}

/* 调整导航菜单位置 */
#header_ul {
	margin-right: 0 !important;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

/* 确保欢迎横幅在header_inner中完全居中 */
.welcome-banner {
	width: 100%;	/* 确保宽度充满 */
	max-width: 1200px;	/* 限制最大宽度 */
	margin: 10px auto 0;	/* 设置顶部边距并水平居中 */
}

/* 欢迎横幅样式 */
.welcome-banner {
    text-align: center;
    padding: 6px 0;
    margin-top: 5px;
    background: linear-gradient(90deg, rgba(18,179,168,0.1), rgba(18,179,168,0.05) 50%, rgba(18,179,168,0.1));
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

.welcome-banner p {
    margin: 0;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-strong);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-banner {
        padding: 8px 0;
        margin-top: 8px;
    }
    
    .welcome-banner p {
        font-size: 12px;
        padding: 0 8px;
        line-height: 1.5;
    }
}

#header a, .tip_div a { color: #000000; }
#header_ul .header_li a:hover { opacity: .9; }

/* 标题强化 */
.index_product_top .title, .order_title, .news .title, .hot_book .title {
	position: relative;
	padding-left: 10px;
}
.index_product_top .title:before, .order_title:before, .news .title:before, .hot_book .title:before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 16px;
	background: linear-gradient(180deg, var(--color-primary), var(--color-accent-green));
	border-radius: 4px;
	margin-right: 6px;
	vertical-align: middle;
}

/* 卡片更细致的内边距与网格间距 */
.container .row > [class*="col-"] { margin-bottom: 12px; }
.product_ul { display: flex; flex-wrap: wrap; }
.product_ul .product_li { width: calc(25% - 16px); }
@media (max-width: 1200px) {
	.product_ul .product_li { width: calc(33.333% - 16px); }
}
@media (max-width: 992px) {
	.product_ul .product_li { width: calc(50% - 16px); }
}
@media (max-width: 576px) {
	.product_ul .product_li { width: 100%; }
}

/* 价格高亮更具吸引力 */
.product_ul .product_li .price .rob {
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent-green));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* 首页商品卡价格改为红色，仅作用于首页的商品列表区域 */
.product_div .product_ul .product_li .price .rob {
	color: #ff2832;
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
	-webkit-text-fill-color: initial;
}

/* 徽标/标签风格 */
.badge, .label, .search_tab ul li {
	background: linear-gradient(135deg, #fff, #f7f9fc);
	border: 1px solid #e5e6eb;
	color: #444;
}

/* 表格（订单/购物车）更易读 */
#order_table, .order_table, table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
#order_table thead tr, .order_table thead tr {
	background: linear-gradient(90deg, #f7faff, #fff);
}
#order_table th, #order_table td, .order_table th, .order_table td {
	padding: 12px 14px;
	border-bottom: 1px solid #f2f3f5;
	vertical-align: middle;
}
.order_item:hover { background: #fafbff; }

/* 购物车合计与按钮 */
.shop_total { color: var(--color-danger); font-weight: 800; }
.toCart, .toShopping, .search_btn_cart, .btn {
	border-radius: 8px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.toCart:hover, .toShopping:hover, .search_btn_cart:hover, .btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

/* 按钮色彩变体（覆盖Bootstrap部分） */
.btn-info { background-color: var(--color-primary); border-color: var(--color-primary); }
.btn-success { background-color: var(--color-success); border-color: var(--color-success); }
.btn-warning { background-color: var(--color-warning); border-color: var(--color-warning); color: #2b2b2b; }
.btn-danger { background-color: var(--color-danger); border-color: var(--color-danger); }
.btn-info:hover { background-color: var(--color-primary-strong); border-color: var(--color-primary-strong); }
.btn-default, .btn-outline, .btn-link { color: var(--color-primary); }

/* 支付页与提示块 */
.tip_div { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.next_div .toCart, .next_div .toShopping { padding: 8px 18px; }

/* 页脚相关元素样式重置，确保在黑色背景下正常显示 */
#f, #f_r, .f_l, .f_t, .f_d {
    background: transparent !important;
    border: none !important;
    color: #cccccc !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}

.f_t a {
    color: #cccccc !important;
    display: inline !important;
    font-weight: normal !important;
    margin: 0 8px !important;
}

.f_t a:hover {
    color: #ffffff !important;
}

/* 排版与层次 */
.h1, h1, .title { letter-spacing: .2px; }
.small, small { color: #8a8f96; } 

/* ============ 清新风格增强（贴近示例风格） ============ */
/* 页面背景更柔和的清新渐变与细微图案感 */
body {
	background-image:
		radial-gradient(1200px 600px at -10% -10%, rgba(18,179,168,0.12), rgba(255,255,255,0) 60%),
		radial-gradient(1000px 500px at 110% -20%, rgba(124,58,237,0.10), rgba(255,255,255,0) 55%),
		linear-gradient(180deg, #f6fffd 0%, #ffffff 40%);
}

/* 顶部内容区域增加“波浪分隔”视觉（不改动JSP结构，利用第一个容器伪元素） */
.container:first-of-type::before {
	content: "";
	display: block;
	position: relative;
	top: -10px;
	height: 26px;
	background: radial-gradient(120% 80% at 50% -70%, rgba(255,255,255,0) 60%, #ffffff 61%);
	border-bottom-left-radius: 160px 40px;
	border-bottom-right-radius: 160px 40px;
}

/* 统一卡片风格：更大圆角、柔和渐变、玻璃拟态、阴影 */
.card-like, .product_ul .product_li, .news, .hot_book, .search_result .shoplist_ul > li, #footer, .tip_div {
	background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.98));
	border: 1px solid #eef4f3;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(17, 29, 41, 0.06);
	backdrop-filter: saturate(120%) blur(6px);
}

/* 商品卡片更贴近卡片流布局 */
.product_ul .product_li { padding: 14px; border-radius: 16px; }
.product_ul .product_li .img img { border-radius: 12px; }
.product_ul .product_li:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(17,29,41,0.10); }

/* 信息条/按钮更圆润 */
.header-tabs { border-radius: 16px; padding: 10px 14px; }
.header-tabs > li > a { border-radius: 20px; }
.search .btn.btn-info, .btn { border-radius: 12px; }

/* 徽标/小模块标题左侧彩条更清新 */
.index_product_top .title:before, .order_title:before, .news .title:before, .hot_book .title:before {
	background: linear-gradient(180deg, var(--color-primary), #8be0d9);
}

/* 价格标记渐变更明显但不刺眼 */
.product_ul .product_li .price .rob {
	color: var(--color-primary);
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
	-webkit-text-fill-color: initial;
}

/* 订单/购物车表格头部更“卡片化” */
#order_table thead tr, .order_table thead tr {
	background: linear-gradient(90deg, #f0fffb, #ffffff);
}

/* 页脚样式已在顶部定义 */

/* 修复价格显示层级，避免被覆盖 */
.product_ul .product_li .price { position: relative; z-index: 2; background: transparent; }
.product_ul .product_li { position: relative; }
.product_ul .product_li .img { position: relative; z-index: 1; } 

/* 侧栏信息区（网站说明、适用人群）优雅化 */
/* 回退到上一个版本：删除增强规则，保留基础卡片风格于前文（.news, .hot_book 定义在“右侧信息卡片”中） */ 

/* 段落与行距 */
.news ul p, .hot_book ul p { 
	margin: 6px 0; 
	line-height: 1.7; 
	color: #475569; 
}
.news ul p::before, .hot_book ul p::before {
	content: "";
	display: inline-block;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, var(--color-primary) 0%, #8be0d9 100%);
	margin-right: 8px;
	transform: translateY(-1px);
}

/* 侧栏链接：做胶囊按钮样式 */
.news a, .hot_book a {
	display: inline-block;
	margin: 4px 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e6fffb;
	color: var(--color-primary);
	border: 1px solid #c7f2ed;
	transition: all .15s ease;
}
.news a:hover, .hot_book a:hover {
	background: #d1faf3;
	box-shadow: 0 6px 16px rgba(18,179,168,0.18);
	text-decoration: none;
}

/* 调整“畅销热榜”等列表项的间距与可读性 */
.hot_book ul li { 
	margin: 6px 0; 
	color: #334155; 
} 

/* 侧栏信息区：移动端可读性与按钮对齐增强 */
.news, .hot_book { font-size: 14px; line-height: 1.8; }
.news ul, .hot_book ul { list-style: none; padding-left: 0; margin: 0; }
.news ul p, .hot_book ul p { margin: 8px 0; padding-left: 14px; color: #374151; word-break: break-word; }
.news ul p::before, .hot_book ul p::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; margin-right: 8px; transform: translateY(-2px); }

/* 链接按钮做成等宽胶囊，利于点击 */
.news a, .hot_book a { display: inline-block; padding: 8px 14px; margin: 6px 6px 0 0; border-radius: 999px; background: #e6fffb; color: var(--color-primary); border: 1px solid #c7f2ed; text-align: center; min-width: 44%; }
.news a:hover, .hot_book a:hover { background: #d1faf3; text-decoration: none; }

/* 小屏下按钮100%宽，避免拥挤；块间距更大 */
@media (max-width: 576px) {
	.news, .hot_book { padding: 12px; }
	.news a, .hot_book a { display: block; width: 100%; min-width: 100%; margin: 8px 0 0 0; padding: 10px 14px; border-radius: 12px; }
	.news ul p, .hot_book ul p { margin: 10px 0; padding-left: 10px; }
} 

/* 取消侧栏固定高度，避免内容被裁剪 */
.news, .hot_book { height: auto !important; min-height: 0; overflow: visible; } 

/* 等高工具：使一行内列自适应等高 */
.row-eq { display: flex; flex-wrap: nowrap; align-items: stretch; }
.row-eq > [class*="col-"] { display: flex; flex-direction: column; }
.row-eq > [class*="col-"] > * { flex: 0 0 auto; }