/* ==========================================================
   易步国学网 - 全局样式表
   版本：3.0（精简优化版）
   说明：包含全局重置、导航栏、页面组件、响应式适配
   ========================================================== */

/* ===== 1. 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

body {
    background: #F6F0E6;
    color: #2E2B28;
    line-height: 1.8;
    padding-top: 64px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #555;
    transition: 0.3s;
}
a:hover,
a:focus {
    color: #ccc;
    text-decoration: none;
}


/* ===== 2. 导航栏 ===== */
.navbar {
    background: #1F3A3D;
    box-shadow: 0 2px 12px rgba(31, 58, 61, 0.08);
    border: none;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    margin-bottom: 0;
    min-height: 64px;
}

.navbar-header {
    float: left;
}

.navbar-brand {
    color: #D8B16A !important;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    height: 64px;
    line-height: 64px;
    padding: 0 60px;
    float: left;
}

.navbar-toggle {
    border-color: rgba(216, 177, 106, 0.3);
    background: transparent;
    margin-top: 14px;
    margin-right: 0;
    margin-bottom: 14px;
}
.navbar-toggle .icon-bar {
    background: #D8B16A;
}
.navbar-toggle:hover,
.navbar-toggle:focus {
    background: rgba(216, 177, 106, 0.1);
}

.navbar-collapse {
    border-top: 1px solid rgba(216, 177, 106, 0.15);
    background: #1F3A3D;
}
.navbar-fixed-top .navbar-collapse {
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto;
}

.navbar-nav > li > a {
    color: #F6F0E6 !important;
    font-size: 15px;
    height: 64px;
    line-height: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    transition: 0.3s;
    position: relative;
}
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    background: transparent !important;
    color: #D8B16A !important;
}
.navbar-nav > li.active > a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #C8693A;
}

.navbar-nav .dropdown-menu {
    background: #1F3A3D;
    border: 1px solid rgba(216, 177, 106, 0.15);
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.navbar-nav .dropdown-menu > li > a {
    color: #F6F0E6;
    padding: 10px 20px;
}
.navbar-nav .dropdown-menu > li > a:hover {
    background: rgba(216, 177, 106, 0.15);
    color: #D8B16A;
}

/* 会员下拉菜单 */
.navbar-userinfo.dropdown {
    position: relative !important;
}
.navbar-userinfo .dropdown-toggle {
    height: 64px;
    line-height: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex !important;
    align-items: center !important;
}
.navbar-userinfo .dropdown-menu {
    margin-top: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 12px !important;
    position: absolute !important;
    z-index: 9999 !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    right: 0 !important;
    left: auto !important;
    background: #1F3A3D;
    border: 1px solid rgba(216, 177, 106, 0.15);
    border-radius: 0 0 6px 6px;
}
.navbar-userinfo.open .dropdown-menu {
    display: block !important;
}
.navbar-userinfo .dropdown-menu li a {
    white-space: normal !important;
    line-height: 1.7;
    color: #F6F0E6;
}
.navbar-userinfo .dropdown-menu li a:hover {
    background: rgba(216, 177, 106, 0.15);
    color: #D8B16A;
}
.navbar-userinfo .avatar-img img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50%;
    object-fit: cover;
}


/* ===== 3. 通用组件 ===== */
.module {
    padding: 0 0 60px;
}

.title {
    text-align: center;
    margin-bottom: 48px;
}
.title h2 {
    font-size: 30px;
    color: #1F3A3D;
    margin-bottom: 12px;
    font-weight: 600;
}
.title p {
    color: #6E675F;
    font-size: 16px;
}

/* 卡片 */
.card {
    background: #fffdf9de;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(31, 58, 61, 0.06);
    transition: 0.3s;
    border: 1px solid rgba(216, 177, 106, 0.12);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(31, 58, 61, 0.12);
}
.card h3 {
    color: #1F3A3D;
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 600;
}
.card p {
    color: #5E574F;
    font-size: 15px;
}
.card a {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s;
}
.card a:hover {
    color: #D8B16A;
}
.grid .card {
    margin-bottom: 32px;
}

/* 面包屑 & 侧边栏 */
.breadcrumb {
    background: #fff8ec;
    padding: 16px 0;
    font-size: 14px;
    margin-bottom: 40px;
}
.breadcrumb a {
    color: #C8693A;
    text-decoration: none;
}

.sidebar {
    background: #FAF6EF;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(31, 58, 61, 0.06);
    height: fit-content;
}
.sidebar h3 {
    font-size: 18px;
    color: #1F3A3D;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2d9cb;
}
.sidebar li {
    list-style: none;
    margin: 14px 0;
}
.sidebar a {
    text-decoration: none;
    color: #5E574F;
    transition: 0.3s;
}
.sidebar a.active,
.sidebar a:hover {
    color: #C8693A;
    font-weight: bold;
}

/* 文章列表（统一样式） */
.channel-articles {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-bottom: 20px;
}

.article-item,
.article-item-index {
    background: #FAF6EF;
    border-radius: 12px;
    padding: 12px;
    transition: 0.3s;
    border: 1px solid rgba(216, 177, 106, 0.23);
    border-bottom: 2px solid #a89f9440;
}
.article-item-index{
    min-height: 186px;
}
    
.article-item {
    display: flex;
    gap: 20px;
    padding: 18px;
}
.article-item-index {
    padding: 12px;
}
.article-item:hover,
.article-item-index:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(31, 58, 61, 0.08);
}
.article-item.article-text-only {
    padding: 19px;
}

.item_index_flex {
    display: flex;
    gap: 20px;
}

.article-thumb {
    flex-shrink: 0;
    width: 168px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.article-thumb a {
    display: block;
    width: 100%;
    padding-bottom: 66.67%;
    background: #e8dfd0;
    position: relative;
}
.article-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.article-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.article-body h3 a {
    color: #1F3A3D;
    text-decoration: none;
    transition: 0.3s;
}
.article-body h3 a:hover {
    color: #C8693A;
}

.article-excerpt {
    color: #5E574F;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #A89F94;
    padding-top: 8px;
    border-top: 1px solid #e2d9cb;
    margin-top: 10px;
}

.article-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.article-meta .meta-item i {
    font-size: 12px;
}

/* 标签徽标（统一） */
.article-tag-label,
.article-body .article-tag-label {
    display: inline-block;
    background: #d8b16a70;
    color: #1F3A3D;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 12px;
    margin-bottom: 0px;
    align-self: flex-start;
}
.article-tag-label a {
    font-size: 11px;
    font-weight: 400;
}

/* 文章详情卡片 */
.article-detail-card {
    background: #FAF6EF;
    border-radius: 12px;
    padding: 28px 30px;
    margin-bottom: 24px;
    border: 1px solid rgba(216, 177, 106, 0.08);
    box-shadow: 0 4px 18px rgba(31, 58, 61, 0.06);
}
.detail-header {
    border-bottom: 1px solid rgba(216, 177, 106, 0.12);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.detail-title {
    font-size: 26px;
    color: #1F3A3D;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-weight: 700;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 14px;
    color: #A89F94;
}
.detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.detail-meta .meta-item i {
    font-size: 13px;
    color: #C8693A;
}
.detail-meta .detail-tags a {
    color: #A89F94;
    text-decoration: none;
    transition: 0.3s;
}
.detail-meta .detail-tags a:hover {
    color: #C8693A;
}

.detail-body {
    font-size: 16px;
    line-height: 2;
    color: #2E2B28;
}
.detail-body p {
    margin-bottom: 16px;
}
.detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}
blockquote {
    border-left: 3px solid #C8693A;
    padding: 12px 20px;
    background: #e8dfd0;
    border-radius: 12px;
    margin: 16px 0;
    color: #5E574F;
    font-size: 14px;
}
.detail-body h1,
.detail-body h2,
.detail-body h3,
.detail-body h4 {
    color: #1F3A3D;
    margin-top: 24px;
    margin-bottom: 12px;
}

/* 文章详情导航 */
.detail-pager {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(216, 177, 106, 0.08);
    margin-top: 20px;
    flex-wrap: wrap;
}
.detail-pager .pager-prev,
.detail-pager .pager-next {
    flex: 1;
    min-width: 120px;
}
.detail-pager a {
    color: #5E574F;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
}
.detail-pager a:hover {
    color: #C8693A;
}
.detail-pager .pager-next {
    text-align: right;
}

/* 分页 */
.page-info {
    font-size: 13px;
    color: #888;
}
.page-nav a {
    padding: 8px 14px;
    background: #FAF6EF;
    text-decoration: none;
    color: #2E2B28;
    border-radius: 6px;
    margin-right: 8px;
}
.page-nav a.active {
    background: #1F3A3D;
    color: #fff;
}

.channel-pager {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0 30px 0;
    flex-wrap: wrap;
}
.pager-btn {
    padding: 8px 18px;
    background: #FAF6EF;
    color: #5E574F;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid rgba(216, 177, 106, 0.1);
}
.pager-btn:hover {
    background: #e8dfd0;
    color: #2E2B28;
}
.pager-num {
    padding: 8px 14px;
    background: transparent;
    color: #5E574F;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}
.pager-num:hover {
    background: #FAF6EF;
}
.pager-num.active {
    background: #C8693A;
    color: #fff;
    border-color: #C8693A;
}
.pager-dots {
    color: #A89F94;
    padding: 0 4px;
}

/* 评论 */
.comment-wrap {
    margin-top: 40px;
}
.comment-wrap h3 {
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2d9cb;
    margin-bottom: 20px;
}
.comment-input {
    width: 100%;
    min-height: 100px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    resize: vertical;
    background: #fff;
}
.submit-btn {
    margin-top: 12px;
    padding: 9px 28px;
    border: none;
    background: #1F3A3D;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
.submit-btn:hover {
    background: #2c5256;
}
.comment-item {
    margin-top: 22px;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
}
.comment-name {
    font-weight: bold;
    margin-bottom: 6px;
    color: #C8693A;
}
.comment-time {
    font-size: 12px;
    color: #999;
    margin: 8px 0;
}

/* 底部 */
footer {
    background: #1F3A3D;
    color: #F6F0E6;
    padding: 48px 0;
    text-align: center;
    margin-top: 30px;
}
footer p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.85;
}


/* ===== 4. 首页组件 ===== */
/* 搜索框 */
.search-box {
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
}
.search-wrap {
    display: flex;
    background: #FAF6EF;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(31, 58, 61, 0.08);
    border: 2px solid rgba(216, 177, 106, 0.25);
    transition: 0.3s;
}
.search-wrap:focus-within {
    border-color: #C8693A;
    box-shadow: 0 4px 20px rgba(200, 105, 58, 0.15);
}
.search-input {
    flex: 1;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    background: transparent;
    color: #2E2B28;
    outline: none;
    min-width: 0;
}
.search-input::placeholder {
    color: #A89F94;
}
.search-btn {
    padding: 14px 28px;
    background: #1F3A3D;
    color: #D8B16A;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-btn:hover {
    background: #2c5256;
    color: #f0d48a;
}
.search-btn i {
    font-size: 16px;
}
.search-hot {
    margin-top: 12px;
    font-size: 13px;
    color: #6E675F;
}
.search-hot span {
    color: #A89F94;
}
.search-hot a {
    color: #6E675F;
    text-decoration: none;
    margin: 0 6px;
    transition: 0.3s;
    display: inline-block;
}
.search-hot a:hover {
    color: #C8693A;
}

/* Banner 轮播图 */
.banner-slider {
    margin-bottom: 40px;
}
.banner-slide {
    min-height: 310px;
    display: flex;
    align-items: center;
    padding: 40px 0;
}
.banner-content {
    max-width: 600px;
    color: #F6F0E6;
}
.banner-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.banner-content p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.8;
}
.banner-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.banner-btns .btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: #C8693A;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: 2px solid #C8693A;
}
.banner-btns .btn-primary:hover {
    background: #b05a30;
    border-color: #b05a30;
    transform: translateY(-2px);
    color: #fff;
}
.banner-btns .btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: #F6F0E6;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: 2px solid rgba(216, 177, 106, 0.5);
}
.banner-btns .btn-outline:hover {
    background: rgba(216, 177, 106, 0.15);
    border-color: #D8B16A;
    transform: translateY(-2px);
    color: #fff;
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
    color: #D8B16A;
    font-size: 30px;
    top: 50%;
    margin-top: -15px;
}
.carousel-indicators li {
    border-color: #D8B16A;
}
.carousel-indicators .active {
    background: #D8B16A;
}

/* 旧版Banner（兼容） */
.banner {
    background: linear-gradient(rgba(31, 58, 61, 0.85), rgba(31, 58, 61, 0.85)), url('') center/cover;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6F0E6;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}
.banner::before,
.banner::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(216, 177, 106, 0.35);
    border-radius: 50%;
    opacity: 0.6;
}
.banner::before {
    width: 180px;
    height: 180px;
    top: 10%;
    left: 8%;
}
.banner::after {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 10%;
    border-color: rgba(216, 177, 106, 0.25);
    opacity: 0.5;
}
.banner h1 {
    font-size: 36px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.banner p {
    font-size: 17px;
    opacity: 0.9;
}

/* 服务引导区 */
.service-guide {
    background: #FAF6EF;
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(216, 177, 106, 0.15);
    box-shadow: 0 4px 20px rgba(31, 58, 61, 0.06);
}
.service-title {
    text-align: center;
    margin-bottom: 36px;
}
.service-title h2 {
    font-size: 28px;
    color: #1F3A3D;
    margin-bottom: 8px;
}
.service-title p {
    color: #6E675F;
    font-size: 16px;
}

.service-grid.five-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.service-item {
    background: #fff;
    padding: 24px 18px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(216, 177, 106, 0.08);
}
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(31, 58, 61, 0.08);
}
.service-icon {
    font-size: 32px;
    margin-bottom: 10px;
}
.service-item h3 {
    color: #1F3A3D;
    font-size: 17px;
    margin-bottom: 10px;
}
.service-item p {
    color: #5E574F;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.service-link {
    color: #C8693A;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
}
.service-link:hover {
    color: #D8B16A;
}

.service-note {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid rgb(125 98 49 / 17%);
    border-bottom: 1px solid rgba(216, 177, 106, 0.1);
    margin-bottom: 24px;
}
.note-item {
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5E574F;
}
.note-icon {
    font-size: 16px;
}
.note-text {
    font-size: 14px;
}

.service-cta {
    text-align: center;
}
.service-cta p {
    color: #6E675F;
    font-size: 14px;
    margin-bottom: 16px;
}
.btn-consult {
    display: inline-block;
    padding: 14px 48px;
    background: linear-gradient(135deg, #C8693A, #D8B16A);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 16px rgba(200, 105, 58, 0.3);
    border: none;
    cursor: pointer;
}
.btn-consult:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(200, 105, 58, 0.4);
    color: #fff;
    text-decoration: none;
}
.consult-tip {
    display: block;
    margin-top: 10px;
    color: #A89F94;
    font-size: 13px;
}

/* 内容科普区 */
.content-section {
    padding-top: 10px;
}
.content-header {
    text-align: center;
    margin-bottom: 40px;
}
.content-header h2 {
    font-size: 26px;
    color: #1F3A3D;
    margin-bottom: 6px;
}
.content-header p {
    color: #6E675F;
    font-size: 15px;
}


/* ===== 5. 咨询弹窗 ===== */
.consult-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
.consult-modal-content {
    background: #FAF6EF;
    border-radius: 16px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.consult-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    color: #A89F94;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}
.consult-modal-close:hover {
    color: #C8693A;
}
.consult-modal-body h3 {
    color: #1F3A3D;
    font-size: 22px;
    margin-bottom: 8px;
    text-align: center;
}
.consult-modal-body > p {
    color: #6E675F;
    text-align: center;
    margin-bottom: 20px;
}
.consult-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    gap: 14px;
    background: #fff;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid rgba(216, 177, 106, 0.1);
}
.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.contact-item strong {
    color: #1F3A3D;
    font-size: 15px;
}
.contact-item p {
    color: #5E574F;
    font-size: 14px;
    margin: 2px 0;
}
.contact-item .small {
    font-size: 12px;
    color: #A89F94;
}
.contact-item .highlight {
    color: #C8693A;
    font-weight: 600;
}
.qr-placeholder {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.qr-placeholder img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 1px solid #e2d9cb;
}
.qr-fallback {
    color: #6E675F;
    font-size: 13px;
}
.contact-btn {
    display: inline-block;
    padding: 6px 18px;
    background: #1F3A3D;
    color: #D8B16A;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
    margin-top: 4px;
}
.contact-btn:hover {
    background: #2c5256;
    color: #f0d48a;
}
.consult-modal-body .consult-tip {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: #A89F94;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ===== 6. 浮动按钮 ===== */
#floatbtn {
    position: fixed;
    right: 20px !important;
    bottom: 30px !important;
    z-index: 999;
    margin-right: 0 !important;
    width: 50px;
    height: auto;
}
#floatbtn.fixed {
    right: 20px !important;
    margin-right: 0 !important;
}

#floatbtn > a,
#floatbtn .floatbtn-item,
#floatbtn .floatbtn-item.floatbtn-share {
    display: block;
    width: 44px;
    height: 44px;
    background: #1F3A3D;
    color: #D8B16A;
    text-align: center;
    line-height: 44px;
    margin-bottom: 8px;
    border-radius: 50% !important;
    font-size: 20px;
    transition: 0.3s;
    position: relative;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
#floatbtn > a:hover,
#floatbtn .floatbtn-item:hover {
    background: #2c5256;
    color: #f0d48a;
    text-decoration: none;
    transform: scale(1.05);
}
#floatbtn > a i,
#floatbtn .floatbtn-item i {
    display: inline-block;
    font-size: 20px;
    line-height: 44px;
}

/* 分享按钮 */
#floatbtn .floatbtn-item.floatbtn-share {
    border-radius: 50% !important;
    background: #1F3A3D;
}
#floatbtn .floatbtn-item.floatbtn-share:hover {
    background: #2c5256;
}
#floatbtn .floatbtn-share .social-share {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 4px 0;
}
#floatbtn .floatbtn-share .social-share a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #D8B16A !important;
    font-size: 16px;
    transition: 0.3s;
    margin: 0;
}
#floatbtn .floatbtn-share .social-share a:hover {
    background: rgba(216, 177, 106, 0.2);
    color: #f0d48a !important;
    transform: scale(1.1);
}
#floatbtn .floatbtn-share .social-share a:before {
    font-family: "FontAwesome" !important;
}
#floatbtn .floatbtn-share .social-share .icon-weibo:before {
    content: "\f18a";
}
#floatbtn .floatbtn-share .social-share .icon-qq:before {
    content: "\f1d6";
}
#floatbtn .floatbtn-share .social-share .icon-qzone:before {
    content: "\f1d6";
}
#floatbtn .floatbtn-share .social-share .icon-wechat:before {
    content: "\f1d7";
}

/* 弹出层 */
#floatbtn .floatbtn-wrapper {
    display: none;
    position: absolute;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    background: #1F3A3D;
    padding: 12px 16px;
    border-radius: 8px;
    min-width: 160px;
    color: #F6F0E6;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
#floatbtn .floatbtn-wrapper::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #1F3A3D;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
#floatbtn a:hover .floatbtn-wrapper,
#floatbtn .floatbtn-item:hover .floatbtn-wrapper {
    display: block;
}
#floatbtn .qrcode img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 6px;
}
#floatbtn .floatbtn-wrapper p {
    font-size: 12px;
    color: #F6F0E6;
    text-align: center;
    margin: 4px 0;
}

/* 投稿按钮 */
#floatbtn a.hover {
    line-height: 1.2;
    padding-top: 8px;
    font-size: 14px;
}
#floatbtn a.hover i {
    font-size: 18px;
    line-height: 1;
}
#floatbtn a.hover em {
    display: none;
    font-style: normal;
    font-size: 12px;
    color: #F6F0E6;
    line-height: 1.2;
}
#floatbtn a.hover:hover i {
    display: none;
}
#floatbtn a.hover:hover em {
    display: block;
}


/* ===== 7. 社交分享图标（通用） ===== */
.social-share .social-share-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ede1cd;
    color: #5E574F;
    font-size: 20px;
    transition: 0.3s;
    border: 1px solid rgba(216, 177, 106, 0.1);
    text-decoration: none;
    font-family: "FontAwesome" !important;
}
.social-share .social-share-icon:hover {
    transform: translateY(-3px);
    text-decoration: none;
}
.social-share .icon-weibo:before {
    content: "\f18a" !important;
    font-family: "FontAwesome" !important;
}
.social-share .icon-qq:before {
    content: "\f1d6" !important;
    font-family: "FontAwesome" !important;
}
.social-share .icon-qzone:before {
    content: "\f1d6" !important;
    font-family: "FontAwesome" !important;
}
.social-share .icon-wechat:before {
    content: "\f1d7" !important;
    font-family: "FontAwesome" !important;
}
.social-share .icon-heart:before {
    content: "\f08a" !important;
    font-family: "FontAwesome" !important;
}
.social-share .icon-heart.active:before {
    content: "\f004" !important;
}

.social-share .icon-weibo:hover {
    background: #ff8200;
    color: #fff !important;
    border-color: #ff8200;
}
.social-share .icon-qq:hover {
    background: #12b7f5;
    color: #fff !important;
    border-color: #12b7f5;
}
.social-share .icon-qzone:hover {
    background: #fdb934;
    color: #fff !important;
    border-color: #fdb934;
}
.social-share .icon-wechat:hover {
    background: #07c160;
    color: #fff !important;
    border-color: #07c160;
}
.social-share .icon-heart:hover {
    background: #fce4ec;
    color: #e91e63 !important;
    border-color: #e91e63;
}


/* ===== 8. 服务卡片轮播图 ===== */
.service-slider-card {
    background: linear-gradient(332deg, #1f3a3d, #2a858e);
    border: none;
    padding: 20px 16px 24px;
    overflow: hidden;
    position: relative;
}

.service-slider-container {
    position: relative;
    overflow: hidden;
}
.service-slider-wrapper {
    overflow: hidden;
    border-radius: 10px;
}
.service-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.service-slide-item {
    flex: 0 0 100%;
    min-height: 280px;
    padding: 6px 4px 10px;
    text-align: center;
    color: #F6F0E6;
    display: none;
}
.service-slide-item.active {
    display: block;
    animation: slideFadeIn 0.5s ease;
}

@keyframes slideFadeIn {
    from {
        opacity: 0.6;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-slide-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 6px;
}
.service-slide-item h3 {
    color: #D8B16A;
    font-size: 19px;
    margin-bottom: 6px;
    font-weight: 600;
}
.service-slide-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}
.service-slide-item .service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    text-align: left;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}
.service-slide-item .service-features li {
    font-size: 13px;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.service-slide-item .service-card-btn {
    display: inline-block;
    padding: 9px 26px;
    background: #C8693A;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}
.service-slide-item .service-card-btn:hover {
    background: #b05a30;
    transform: translateY(-2px);
    color: #fff;
}

/* 圆点指示器 */
.service-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 4px 0;
}
.service-slider-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.service-slider-dots .dot.active {
    background: #D8B16A;
    transform: scale(1.2);
}
.service-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* 左右箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #D8B16A;
    border: 1px solid rgba(216, 177, 106, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    backdrop-filter: blur(4px);
}
.slider-arrow:hover {
    background: rgba(216, 177, 106, 0.25);
    color: #f0d48a;
    border-color: #D8B16A;
}
.slider-arrow-prev {
    left: 2px;
}
.slider-arrow-next {
    right: 2px;
}


/* ===== 9. 栏目页专用样式 ===== */
/* 栏目头部（含五色Banner） */
.channel-header {
    background-size: cover !important;
    /*min-height: 220px;*/
    display: flex;
    align-items: center;
    padding: 40px 0;
    margin-bottom: 30px;
}
.channel-header.jishi {
    background: linear-gradient(135deg, rgba(31, 58, 61, 0.88), rgba(31, 58, 61, 0.39)), url('/assets/addons/cms/img/channel-jishi.webp') center/cover;
}
.channel-header.qiming {
    background: linear-gradient(135deg, rgba(31, 58, 61, 0.88), rgba(31, 58, 61, 0.39)), url('/assets/addons/cms/img/channel-qiming.webp') center/cover;
}
.channel-header.huangjing {
    background: linear-gradient(135deg, rgba(31, 58, 61, 0.88), rgba(31, 58, 61, 0.39)), url('/assets/addons/cms/img/channel-huanjing.webp') center/cover;
}
.channel-header.touxiang {
    background: linear-gradient(135deg, rgba(31, 58, 61, 0.88), rgba(31, 58, 61, 0.39)), url('/assets/addons/cms/img/channel-touxiang.webp') center/cover;
}
.channel-header.shuzi {
    background: linear-gradient(135deg, rgba(31, 58, 61, 0.88), rgba(31, 58, 61, 0.39)), url('/assets/addons/cms/img/channel-shuzi.webp') center/cover;
}
.channel-header.shenghuo {
    background: linear-gradient(135deg, rgba(31, 58, 61, 0.88), rgba(31, 58, 61, 0.39)), url('/assets/addons/cms/img/channel-shenghuo.webp') center/cover;
}

.channel-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0px;
}
.channel-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}
.channel-breadcrumb a:hover {
    color: #D8B16A;
}
.channel-breadcrumb .sep {
    margin: 0 8px;
}
.channel-breadcrumb .current {
    color: #D8B16A;
}

.channel-info h1 {
    color: #F6F0E6;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}
.channel-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.channel-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.channel-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #C8693A;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}
.channel-service-btn:hover {
    background: #b05a30;
    transform: translateY(-2px);
    color: #fff;
}
.channel-article-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
.channel-article-count strong {
    color: #D8B16A;
}

/* 分类标签 */
.channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(216, 177, 106, 0.15);
}
.tag-item {
    padding: 6px 18px;
    background: #FAF6EF;
    color: #5E574F;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid transparent;
}
.tag-item:hover {
    background: #e8dfd0;
    color: #2E2B28;
}
.tag-item.active {
    background: #1F3A3D;
    color: #D8B16A;
    border-color: rgba(216, 177, 106, 0.2);
    font-weight: 600;
}

/* 工具栏 */
.channel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6E675F;
}
.toolbar-result strong {
    color: #C8693A;
}
.toolbar-sort {
    display: flex;
    gap: 4px;
}
.toolbar-sort a {
    padding: 4px 14px;
    color: #A89F94;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 13px;
}
.toolbar-sort a:hover {
    color: #2E2B28;
    background: #f0ebe2;
}
.toolbar-sort a.active {
    color: #C8693A;
    background: #faf6ef;
    font-weight: 600;
}

/* 侧边栏卡片 */
.sidebar-card {
    background: #fffdf9de;
    border-radius: 12px;
    padding: 24px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(216, 177, 106, 0.08);
}
.sidebar-card h4 {
    font-size: 16px;
    color: #1F3A3D;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(216, 177, 106, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card h4 i {
    color: #C8693A;
}

/* 服务卡片（侧边栏） */
.service-card {
    background: linear-gradient(359deg, #f0cf9a, #f5efe6);
    border: 1px solid #ddd;
    /*box-shadow: 0 3px 10px #ccc9c9;*/
    text-align: center;
}
.service-card .service-card-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}
.service-card h3 {
    color: #c8693a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}
.service-card p {
    color: #c8693a;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.6;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    text-align: left;
}
.service-features li {
    color: #2c3e50;
    font-size: 13px;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.service-features li::before {
    content: "✓ ";
    color: #D8B16A;
    font-weight: bold;
}
.service-card-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #C8693A;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}
.service-card-btn:hover {
    background: #b05a30;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 105, 58, 0.3);
    color: #fff;
}

/* 热门文章 */
.hot-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hot-articles ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(216, 177, 106, 0.06);
}
.hot-articles ul li:last-child {
    border-bottom: none;
}
.hot-articles ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #5E574F;
    transition: 0.3s;
}
.hot-articles ul li a:hover {
    color: #C8693A;
}
.hot-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #e8dfd0;
    color: #5E574F;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.hot-rank.hot-1 {
    background: #C8693A;
    color: #fff;
}
.hot-rank.hot-2 {
    background: #D8B16A;
    color: #fff;
}
.hot-rank.hot-3 {
    background: #A89F94;
    color: #fff;
}
.hot-title {
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分类侧边栏 */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cat-tag {
    padding: 4px 14px;
    background: #fff;
    color: #5E574F;
    border-radius: 16px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
    border: 1px solid rgba(216, 177, 106, 0.1);
}
.cat-tag:hover {
    background: #e8dfd0;
}
.cat-tag.active {
    background: #1F3A3D;
    color: #D8B16A;
    border-color: transparent;
}

/* 关于栏目 */
.about-channel p {
    color: #5E574F;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}
.about-channel .about-note {
    font-size: 13px;
    color: #A89F94;
    background: #f0ebe2;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

/* 底部CTA */
.channel-bottom-cta {
    background: #1F3A3D;
    padding: 40px 0;
    margin-top: 40px;
}
.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-text h3 {
    color: #D8B16A;
    font-size: 22px;
    margin-bottom: 4px;
}
.cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin: 0;
}
.cta-btn {
    display: inline-block;
    padding: 12px 36px;
    background: #C8693A;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: 0.3s;
    flex-shrink: 0;
}
.cta-btn:hover {
    background: #b05a30;
    transform: translateY(-2px);
    color: #fff;
}


/* ===== 10. 首页栏目卡片列表（col-md-5布局） ===== */
.channel-card {
    padding: 24px 28px;
    margin-bottom: 28px;
}
.channel-card-header h2 {
    margin-top: 0;
    font-size: 24px;
    color: #1F3A3D;
    font-weight: 600;
}
.channel-card-header p {
    color: #6E675F;
    font-size: 15px;
    margin-bottom: 16px;
}

.article-item-line {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #af977c;
}
.article-item-line:last-child {
    border-bottom: none;
}

.article-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #F0EBE2;
    color: #6E675F;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}
.article-num.article-hot {
    background: #C8693A;
    color: #ffffff;
}

.article-title {
    flex: 1;
    color: #2E2B28;
    font-size: 15px;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.article-title:hover {
    color: #C8693A;
}

.article-meta-info {
    color: #A89F94;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 12px;
}
.article-meta-info i {
    margin-right: 4px;
}

.channel-more-btn {
    display: flex;
    gap: 10px;
    justify-content: center; /* 水平居中 */
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(216, 177, 106, 0.1);
    
}
.channel-more-btn a {
    align-items: center;
    padding: 10px 25px;
    border-radius: 30px;
    background: #ede9e3;
    font-size: 14px;
    transition: 0.3s;
    margin: 10px;
    text-decoration: none;
    height: 45px;
    min-width: 100px;
    max-width: 190px;
}
.channel-more-btn a:hover {
    color: #b05a30;
    text-decoration: none;
}

.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    margin-left: -86px;   
}


/* 页脚 */
    .footer {
    background-color: #1F3A3D;
    color: #ecf0f1;
    padding-top: 40px;
    padding-bottom: 20px;
    margin-top: 40px;
    }
    .footer h5 {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
    }
    .footer a {
    color: #bdc3c7;
    text-decoration: none;
    }
    .footer a:hover {
    color: #f39c12;
    }
    .footer .text-secondary {
    color: #bdc3c7;
    }
    .footer .list-unstyled {
    padding-left: 0;
    list-style: none;
    }
    .footer .list-unstyled li {
    margin-bottom: 8px;
    }
    /* 版权区域分割线 */
    .footer .copyright {
        border-top: 1px solid #34495e;
        padding-top: 20px;
        margin-top: 30px;
        text-align: center;
        color: #7f8c8d;
        font-size: 14px;
    }
    /* 社交图标间距 */
    .footer .social-icons a {
        display: inline-block;
        margin-right: 12px;
        font-size: 20px;
        color: #bdc3c7;
        transition: color 0.3s;
    }
    .footer .social-icons a:hover {
        color: #ffffff;
    }


/* ===== 收费标准专用样式 ===== */

/* 1. 定价卡片 - 继承全局 .card，覆盖顶部边框颜色 */
.pricing-card {
    border-top: 4px solid #c9a96e;
    text-align: center;
    padding: 30px 25px 35px;
    margin-bottom: 35px;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

/* 2. 价格标签 - 新增 */
.price-tag {
    font-size: 28px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 4px;
}
.price-tag small {
    font-size: 16px;
    font-weight: 400;
    color: #888;
}
.price-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 18px;
}

/* 3. 服务列表 - 复用 .service-features 风格，微调 */
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}
.pricing-card ul li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}
.pricing-card ul li .fa {
    color: #c9a96e;
    width: 18px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 4. 热门/推荐标签 - 新增 */
.hot-badge,
.recommended-badge {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.hot-badge {
    background: #e67e22;
}
.recommended-badge {
    background: #c9a96e;
}

/* 5. 按钮 - 复用 .btn-consult 风格，改为边框版 */
.btn-outline-gold {
    border: 2px solid #c9a96e;
    color: #c9a96e;
    background: transparent;
    border-radius: 30px;
    padding: 8px 30px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
.btn-outline-gold:hover {
    background: #c9a96e;
    color: #fff !important;
    text-decoration: none;
}

/* 6. 页面头部 - 复用 .banner 风格微调 */
.page-header-custom {
    background: linear-gradient(135deg, #0e525a 0%, #1a2a3a 100%);
    padding: 60px 0 40px;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    border-bottom: 4px solid #c9a96e;
}
.page-header-custom h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 0 0 10px;
}
.page-header-custom p {
    font-size: 16px;
    color: #bdc3c7;
    margin: 0;
    letter-spacing: 1px;
}
.page-header-custom .breadcrumb {
    background: transparent;
    padding: 0;
    margin-top: 15px;
}
.page-header-custom .breadcrumb a {
    color: #c9a96e;
}
.page-header-custom .breadcrumb a:hover {
    color: #fff;
    text-decoration: none;
}
.page-header-custom .breadcrumb > .active {
    color: #bdc3c7;
}


/* ==========================================================
   11. 响应式适配
   ========================================================== */

/* ---- 平板及以下 ---- */
@media (max-width: 991px) {
    .service-grid.five-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- 手机端 ---- */
@media (max-width: 767px) {
    /* 导航栏 */
    .navbar-header {
        width: 100%;
        float: left;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding-right: 0;
    }
    .navbar-brand {
        height: 64px;
        line-height: 64px;
        font-size: 20px;
        flex-shrink: 0;
        float: none;
    }
    .navbar-toggle {
        display: block !important;
        float: none !important;
        margin: 12px 0 !important;
        padding: 9px 10px !important;
        flex-shrink: 0;
        border: 1px solid rgba(216, 177, 106, 0.4);
        border-radius: 4px;
        background: transparent;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .navbar-toggle:active {
        background: rgba(216, 177, 106, 0.15);
    }

    .navbar .navbar-collapse {
        position: static !important;
        background: #1F3A3D !important;
        display: none !important;
        max-height: calc(100vh - 64px) !important;
        overflow-y: auto !important;
        width: 100% !important;
        margin-left: 0 !important;
        border-top: 1px solid rgba(216, 177, 106, 0.15);
        box-shadow: none !important;
    }
    .navbar .navbar-collapse.in,
    .navbar .navbar-collapse.active {
        display: block !important;
    }

    .navbar-nav > li {
        float: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .navbar-nav > li:last-child {
        border-bottom: none;
    }
    .navbar-nav > li > a {
        color: #F6F0E6 !important;
        height: auto;
        line-height: 24px;
        padding: 12px 16px;
        display: block;
    }
    .navbar-nav > li > a:hover {
        background: rgba(216, 177, 106, 0.12) !important;
        color: #D8B16A !important;
    }
    .navbar-nav > li.active > a::after {
        bottom: 4px;
    }

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }
    .navbar-nav .open .dropdown-menu > li > a {
        color: #F6F0E6 !important;
        padding: 8px 16px;
    }
    .navbar-nav .open .dropdown-menu > li > a:hover {
        background: rgba(216, 177, 106, 0.1);
        color: #D8B16A !important;
    }

    .navbar-userinfo .dropdown-menu {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        right: auto !important;
        left: auto !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        border-radius: 0 !important;
    }
    .navbar-userinfo .dropdown-menu > li > a {
        color: #F6F0E6 !important;
        padding: 8px 16px;
    }
    .navbar-userinfo .dropdown-menu > li > a:hover {
        background: rgba(216, 177, 106, 0.1);
        color: #D8B16A !important;
    }

    /* 页面布局 */
    body {
        padding-top: 64px;
        overflow-x: hidden;
        padding-bottom: 20px !important;
    }
    .main-content > .container,
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden;
    }
    .module {
        padding: 0 0 36px;
    }
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .col-xs-12,
    .col-sm-6,
    .col-md-4 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* 卡片 */
    .grid {
        padding: 0 0 !important;
    }
    .grid .card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }

    /* 搜索框 */
    .search-box {
        margin: 0 0 30px 0 !important;
    }
    .search-wrap {
        border-radius: 30px;
    }
    .search-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    .search-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    .search-btn span {
        display: none;
    }
    .search-hot a {
        margin: 0 4px;
        font-size: 12px;
    }

    /* Banner 轮播图 */
    .banner-slider {
        margin-bottom: 24px;
    }
    .banner-slide {
        min-height: 260px;
        padding: 30px 20px;
        text-align: center;
    }
    .banner-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .banner-content h1 {
        font-size: 22px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }
    .banner-content p {
        font-size: 14px;
        margin-bottom: 18px;
        padding: 0 10px;
    }
    .banner-btns {
        justify-content: center;
    }
    .banner-btns .btn-primary,
    .banner-btns .btn-outline {
        padding: 8px 20px;
        font-size: 13px;
    }
    .carousel-control {
        width: 30px;
        opacity: 0.6;
    }
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right {
        font-size: 20px;
        margin-top: -10px;
    }
    .carousel-indicators {
        bottom: 6px;
    }
    .carousel-indicators li {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    /* 服务卡片 - 2+1+2 布局 */
    .service-guide {
        padding: 24px 14px;
        border-radius: 10px;
    }
    .service-grid.five-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    .service-grid.five-grid .service-item:nth-child(3) {
        grid-column: 1 / -1;
        align-items: center;
        padding: 16px 20px;
        text-align: center;
    }
    .service-grid.five-grid .third {
        display: flex;
        gap: 16px;
        justify-content: space-evenly;
    }
    .service-grid.five-grid .service-item:nth-child(3) .service-icon {
        font-size: 20px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .service-grid.five-grid .service-item:nth-child(3) h3 {
        margin-bottom: 2px;
        font-size: 16px;
    }
    .service-grid.five-grid .service-item:nth-child(3) p {
        margin-bottom: 4px;
        font-size: 13px;
    }
    .service-grid.five-grid .service-item:nth-child(3) .service-link {
        font-size: 13px;
    }

    .service-item {
        padding: 16px 12px;
        text-align: center;
    }
    .service-item .service-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }
    .service-item h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    .service-item p {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.5;
    }
    .service-link {
        font-size: 12px;
    }
    .service-title h2 {
        font-size: 20px;
    }
    .service-note {
        flex-direction: column;
        align-items: left;
        gap: 4px;
        padding: 12px 0;
    }
    .note-item,
    .note-text {
        font-size: 12px;
    }
    .service-cta p {
        font-size: 13px;
    }
    .btn-consult {
        padding: 12px 28px;
        font-size: 16px;
        width: 100%;
        max-width: 320px;
    }

    /* 内容科普区 */
    .content-header h2 {
        font-size: 20px;
    }
    .content-header p {
        font-size: 14px;
    }

    /* 浮动按钮 - 移动端精简 */
    #floatbtn {
        position: fixed !important;
        right: 14px !important;
        left: auto !important;
        bottom: 80px !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 999;
    }
    #floatbtn .floatbtn-item.floatbtn-share,
    #floatbtn a.hover,
    #floatbtn a[href="#comments"] {
        display: none !important;
    }
    #floatbtn > a,
    #floatbtn #back-to-top {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px !important;
        background: #1F3A3D !important;
        color: #D8B16A !important;
        border-radius: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 40px !important;
        font-size: 18px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
        border: 1px solid rgba(216, 177, 106, 0.15) !important;
        transition: 0.3s !important;
        text-decoration: none !important;
        position: relative;
    }
    #floatbtn > a:hover,
    #floatbtn #back-to-top:hover {
        background: #2c5256 !important;
        color: #f0d48a !important;
        transform: scale(1.05);
    }
    #floatbtn > a[href="javascript:;"] {
        display: flex !important;
    }
    #floatbtn #back-to-top {
        display: flex !important;
    }
    #floatbtn .floatbtn-wrapper {
        display: none;
    }

    /* 咨询弹窗 */
    .consult-modal-content {
        padding: 24px 16px;
        width: 86%;
        max-width: 420px;
    }
    .consult-modal-body h3 {
        font-size: 20px;
    }
    .contact-item {
        /*flex-direction: column;*/
        align-items: flex-start;
        gap: 4px;
        padding: 14px 16px;
    }
    .contact-item .contact-icon {
        font-size: 20px;
    }
    .qr-placeholder img {
        width: 60px;
        height: 60px;
    }

    /* 旧版Banner */
    .banner {
        min-height: 200px;
        margin-bottom: 30px;
    }
    .banner h1 {
        font-size: 26px;
    }

    /* 栏目页 */
    .channel-info h1 {
        font-size: 24px;
    }
    .channel-info p {
        font-size: 14px;
    }
    .channel-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .channel-service-btn {
        font-size: 14px;
        padding: 8px 18px;
    }

    .article-item {
        flex-direction: column;
        padding: 14px;
    }
    .article-thumb {
        width: 100%;
        max-height: 180px;
    }
    .article-thumb a {
        padding-bottom: 50%;
    }
    .article-body h3 {
        font-size: 16px;
    }
    .article-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    .article-meta {
        font-size: 12px;
        gap: 10px;
    }

    .channel-tags {
        gap: 6px;
    }
    .tag-item {
        font-size: 12px;
        padding: 4px 14px;
    }

    .channel-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sidebar-card {
        padding: 18px 14px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-text h3 {
        font-size: 18px;
    }
    .cta-text p {
        font-size: 14px;
    }
    .cta-btn {
        padding: 10px 28px;
        font-size: 15px;
    }

    .channel-pager {
        justify-content: center;
    }

    /* 文章详情 */
    .article-detail-card {
        padding: 18px 16px;
    }
    .detail-title {
        font-size: 20px;
    }
    .detail-meta {
        font-size: 12px;
        gap: 8px;
    }
    .detail-body {
        font-size: 15px;
        line-height: 1.8;
    }
    .detail-pager {
        flex-direction: column;
        gap: 8px;
    }
    .detail-pager .pager-next {
        text-align: left;
    }

    /* 栏目卡片列表 */
    .channel-card {
        padding: 16px 12px;
    }
    .channel-card-header h2 {
        font-size: 20px;
    }
    .channel-card-header p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .article-item-line {
        padding: 10px 0;
    }
    .article-item-line:last-child {
        border-bottom: 1px dashed #af977c;
    }
    .article-num {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 11px;
        margin-right: 10px;
    }
    .article-title {
        font-size: 14px;
    }
    .article-meta-info {
        font-size: 12px;
    }
    .channel-more-btn a {
        font-size: 13px;
    }
    .meta-row .date-item {
        display: none !important;
    }

    /* 服务卡片轮播 */
    .service-slider-card {
        padding: 16px 12px 20px;
    }
    .service-slide-item {
        min-height: 240px;
        padding: 4px 0 8px;
    }
    .service-slide-icon {
        font-size: 36px;
    }
    .service-slide-item h3 {
        font-size: 17px;
    }
    .service-slide-item p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .service-slide-item .service-features li {
        font-size: 12px;
        padding: 2px 0;
    }
    .service-slide-item .service-card-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    .slider-arrow {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .service-slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .footer .text-center-xs {
        text-align: center;
    }
    .footer .list-unstyled {
        text-align: center;
    }
}

/* ---- 超小屏 ---- */
@media (max-width: 480px) {
    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    margin-left: 0;   
}
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .container .channel-info {
        max-width: 350px;
    }

    .item_index_flex {
        display: block;
    }
    .item_index_flex .article-body {
        margin-top: 10px;
    }
    .item_index_flex .article-body h3 a {
        font-size: 16px;
    }

    .col-xs-12,
    .col-sm-6,
    .col-md-4 {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .grid .card {
        padding: 16px 12px;
    }

    .banner-slide {
        min-height: 220px;
        padding: 20px 12px;
    }
    .banner-content h1 {
        font-size: 19px;
    }
    .banner-content p {
        font-size: 13px;
        padding: 0 6px;
    }
    .banner-btns .btn-primary,
    .banner-btns .btn-outline {
        padding: 6px 14px;
        font-size: 12px;
    }

    .service-grid.five-grid {
        gap: 8px;
    }
    .service-item {
        padding: 12px 8px;
    }
    .service-item .service-icon {
        font-size: 24px;
    }
    .service-item h3 {
        font-size: 16px;
        font-weight: 600;
    }
    .service-item p {
        font-size: 14px;
    }
    .service-grid.five-grid .service-item:nth-child(3) {
        padding: 10px 16px;
        gap: 12px;
    }
    .service-grid.five-grid .service-item:nth-child(3) .service-icon {
        font-size: 26px;
    }
    .service-grid.five-grid .service-item:nth-child(3) h3 {
        font-size: 16px;
    }
    .service-grid.five-grid .service-item:nth-child(3) p {
        font-size: 14px;
    }

    .btn-consult {
        padding: 10px 20px;
        font-size: 15px;
    }

    #floatbtn {
        right: 10px !important;
        bottom: 30px !important;
        gap: 6px;
    }
    #floatbtn > a,
    #floatbtn #back-to-top {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 16px !important;
    }

    .navbar-brand {
        font-size: 17px;
        padding: 0 10px;
    }
    .navbar-toggle {
        padding: 6px 8px !important;
        margin: 16px 0 !important;
    }
    .navbar-toggle .icon-bar {
        width: 20px;
        height: 2px;
    }

    .banner h1 {
        font-size: 22px;
    }
    .banner {
        min-height: 160px;
    }

    .channel-info h1 {
        font-size: 20px;
    }
    .channel-header {
        padding: 20px 0;
    }
    .article-item {
        padding: 13px;
        gap: 0px;
    }
    .article-body h3 {
        font-size: 16px;
        font-weight: 600;
    }
    .channel-pager .pager-btn,
    .channel-pager .pager-num {
        padding: 5px 10px;
        font-size: 12px;
    }
    .channel-tags .tag-item {
        font-size: 12px;
        padding: 4px 12px;
    }
    .article-item .article-thumb {
        max-height: 140px;
        overflow: hidden;
        margin-bottom: 10px;
    }
    .article-thumb img {
        width: 100%;
    }

    .service-slide-item {
        min-height: 220px;
    }
    .service-slide-icon {
        font-size: 30px;
    }
    .service-slide-item h3 {
        font-size: 15px;
    }
    .col-md-8 ,.col-sm-12 {
        padding: 0 5px;
    }
}