/*
 * polish.css - 前台精致化微调（2026-11-26）
 * 景区官网 UI 细节优化：字体层级 / 柔和边框 / 微动效 / 子页面菜单
 * 纯覆盖式补丁，不动原有样式文件；如需回退，删除本文件及其 <link> 即可。
 * 主题色沿用景区绿 #009944
 */

/* ============ 1. 字体层级：正文更舒展，去掉发虚的小字 ============ */
body {
    color: #333;
}

/* 首页「印象冠豸山」正文 */
.index-about p,
.content-box p {
    font-size: 15px;
    line-height: 1.9;
    color: #4a4a4a;
}

/* 景区卡片简介文字 */
.sim-box .sim-memo,
.text-light {
    font-size: 13px;
    line-height: 1.7;
    color: #888;
}

/*
 * 修复简介被切半行：原样式 line-height:1.2em + height:2.4em 锁死两行高度，
 * 字号/行高调大后高度没跟着变，第二行被拦腰截断。
 * 改用 line-clamp 精确显示两行并自动加省略号，height 交还浏览器计算。
 */
.sim-box .sim-memo {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    height: auto !important;
    min-height: 3.4em;
    line-height: 1.7;
    overflow: hidden;
}

/* 首页新闻列表行：标题与日期分开，日期不再发虚 */
.index-news .row a {
    font-size: 14px;
    color: #3a3a3a;
}

/* ============ 2. 子页面菜单（banner 上的 5 个入口）============ */
/* 胶囊浅绿渐变按钮：水平垂直居中 + 浅绿/透明渐变 + 大圆角，弱化立体感更扁平 */
.page-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 3.2em;
    height: 3.2em;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    border: 1px solid rgba(0, 153, 68, 0.28);
    border-radius: 24px;
    background-color: #ffffff;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(0, 153, 68, 0.14) 100%);
    color: #009944;
    text-shadow: none;
    box-shadow: 0 2px 6px rgba(0, 80, 35, 0.08);
    transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.page-nav a:hover,
.page-nav a.on {
    border-color: rgba(0, 120, 48, 0.45);
    background-color: #009944;
    background-image: linear-gradient(135deg, #2fb563 0%, #009944 100%);
    color: #ffffff;
    text-shadow: none;
    box-shadow: 0 3px 10px rgba(0, 153, 68, 0.24);
}

/* ============ 3. 文章列表：去掉硬编码刺眼蓝，标题回归主题色 ============ */
.article-list .article-title a,
.article-list .article-title a[style] {
    color: #2b2b2b !important;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}

.article-list .article-title a:hover {
    color: #009944 !important;
}

.article-list .article-title a .fa-angle-right {
    color: #009944;
    margin-right: 4px;
}

/* 摘要行高更舒适 */
.article-list .article-intro {
    font-size: 14px;
    line-height: 1.9;
    color: #737373;
}

/* 列表项分隔线更柔和，hover 有轻微底色 */
.article-list .article-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.25s ease;
    padding: 16px 0;
}

.article-list .article-item:hover {
    background: #fafdfb;
}

/* 分类标签：景区绿描边 */
.article-tag .tag-primary {
    background: #eaf7ef;
    color: #009944;
    border: 1px solid #cdebd8;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 12px;
}

/* 面板标题 */
.panel-default > .panel-heading .panel-title {
    font-size: 18px;
    color: #1f1f1f;
}

/* ============ 4. 边框与卡片：柔和层次 ============ */
.sim-box {
    border: 1px solid #ececec;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sim-box:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: #d8ecdf;
}

.sim-box .sim-tit {
    font-size: 16px;
    font-weight: 600;
    color: #2b2b2b;
}

/* 图片统一圆角 + 平滑缩放 */
.sim-box .img-index img,
.content-box img,
.article-list .embed-responsive img,
.dang-info img {
    border-radius: 5px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sim-box .img-index img:hover,
.article-list .embed-responsive img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

/* 正文面板增加细微阴影 */
.panel,
.content-box {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
}

/* ============ 5. 悬浮客服按钮：更精致 ============ */
.floating_ck dl dd {
    background-color: rgba(120, 120, 120, 0.82);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.floating_ck dl dd:hover {
    background-color: #009944;
    transform: translateX(-2px);
}

/* ============ 6. 导航菜单文字：稍微加大更清晰 ============ */
.navbar-default .nav > li > a {
    font-size: 15px;
}

/* ============ 7. 间隙标准化：卡片内外留白统一 ============ */
/* 卡片外层容器：左右留白从 5px 提到 15px，卡片之间呼吸感一致 */
.index-sim-body {
    padding: 15px 20px;
}

.index-sim-body .col-lg-3 {
    padding: 10px;
}

/* 卡片内部：标题/简介左右对齐，底部留白统一 */
.sim-box {
    padding-bottom: 14px;
}

.sim-box .sim-tit {
    /* 原 line-height:3em 留白过大，收紧到 2.2em 并留出与简介的间距 */
    line-height: 2.2em;
    padding: 6px 12px 4px;
    margin-bottom: 4px;
}

.sim-box .sim-memo {
    padding: 0 12px;
}

/* 购票卡片：价格区上间距与卡片内边距协调 */
.sim-box .sim-buy {
    margin: 10px 12px 0;
    padding: 10px 0 0;
}

/* 内容模块垂直间距统一为 30px */
.content-main {
    padding: 30px 0;
}

/* ============ 移动端收敛：避免字号放大导致拥挤 ============ */
@media (max-width: 767px) {
    .index-about p,
    .content-box p {
        font-size: 14px;
        line-height: 1.8;
    }

    .sim-box .sim-memo,
    .text-light {
        font-size: 12px;
    }

    .page-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5em 0.45em;
        height: 2.6em;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0;
        border-radius: 18px;
        box-shadow: 0 1px 4px rgba(0, 80, 35, 0.08);
    }

    .page-nav a:hover,
    .page-nav a.on {
        box-shadow: 0 2px 7px rgba(0, 153, 68, 0.22);
    }

    .article-list .article-title a,
    .article-list .article-title a[style] {
        font-size: 15px;
    }

    .article-list .article-intro {
        font-size: 13px;
        line-height: 1.7;
    }

    .index-sim-body {
        padding: 10px 12px;
    }

    .index-sim-body .col-lg-3 {
        padding: 8px;
    }

    .sim-box .sim-tit {
        line-height: 2em;
        padding: 6px 10px 2px;
    }

    .sim-box .sim-memo {
        padding: 0 10px;
    }

    .sim-box .sim-buy {
        margin: 8px 10px 0;
    }

    .sim-box:hover {
        transform: none;
    }

    .sim-box .img-index img:hover,
    .article-list .embed-responsive img:hover {
        transform: none;
    }
}
