@charset "UTF-8";
/* ============================================================
 * huilongshan 主题：栏目页 / 列表页 / 文章页 公共样式
 * ============================================================ */

/* ---------- 内页 Banner + 栏目条 ---------- */
.hls-page-header { position: relative; }

.hls-page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background: #2b3a2e center/cover no-repeat;
    overflow: hidden;
}
.hls-page-banner-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .50) 100%);
    z-index: 2;
}

/* 多图幻灯片层（叠加在底部） */
.hls-page-banner-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hls-page-banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    transform: scale(1.02);
}
.hls-page-banner-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* 幻灯片指示器（圆点条，底部居中） */
.hls-page-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hls-page-banner-dots span {
    display: block;
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .25s, transform .25s;
}
.hls-page-banner-dots span:hover { background: rgba(255, 255, 255, .7); }
.hls-page-banner-dots span.is-active { background: #14cc76; transform: scaleY(1.6); }

/* 幻灯片计数（右下，1/3） */
.hls-page-banner-counter {
    position: absolute;
    right: 48px;
    bottom: 20px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 5;
    font-family: Arial, sans-serif;
}
.hls-page-banner-counter .cur {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    padding-right: 2px;
}
.hls-page-banner-counter .sep { padding: 0 2px; opacity: .6; }
.hls-page-banner-counter .total { opacity: .7; }
.hls-page-banner-inner {
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.hls-page-banner-title-ch {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
.hls-page-banner-title-en {
    margin-top: 12px;
    font-size: 16px;
    letter-spacing: 6px;
    opacity: .85;
    text-transform: uppercase;
}

/* ---------- 栏目 Tab 条 ---------- */
.hls-page-sub {
    position: relative;
    background: #f6f7f9;
    border-bottom: 1px solid #ececec;
}
.hls-page-sub-inner {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 54px;
}
.hls-page-sub-title {
    position: absolute;
    left: 20px;
    top: -60px;
    width: 220px;
    height: 110px;
    background: #14cc76;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.hls-page-sub-title-ch {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
}

.hls-page-sub-nav {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 0 0 240px;
}
.hls-page-sub-nav > li {
    margin: 0 2px;
}
.hls-page-sub-nav > li > a {
    display: inline-block;
    padding: 0 24px;
    line-height: 54px;
    font-size: 15px;
    color: #333;
    transition: color .2s;
    position: relative;
}
.hls-page-sub-nav > li > a:hover { color: #14cc76; }
.hls-page-sub-nav > li.active > a { color: #14cc76; }
.hls-page-sub-nav > li.active > a::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 12px;
    height: 3px;
    background: #14cc76;
    border-radius: 2px;
}

.hls-page-bread {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}
.hls-page-bread a { color: #666; }
.hls-page-bread a:hover { color: #14cc76; }
.hls-page-bread-sep { color: #bbb; font-family: "微软雅黑"; }

/* ---------- 页面主体 ---------- */
.hls-page-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 20px 80px;
    min-height: 460px;
}

/* 单页/文章：标题区 */
.hls-page-article {
    background: #fff;
}
.hls-page-article-title {
    text-align: center;
    padding-bottom: 40px;
}
.hls-page-article-title h1 {
    font-size: 30px;
    color: #222;
    font-weight: 700;
    line-height: 1.3;
}
.hls-page-article-subtitle {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
}
.hls-page-article-meta {
    margin-top: 14px;
    font-size: 13px;
    color: #999;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hls-page-article-divider {
    width: 40px;
    height: 3px;
    background: #14cc76;
    margin: 24px auto 0;
    border-radius: 2px;
}

/* 富文本 */
.hls-page-article-content {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    word-wrap: break-word;
}
.hls-page-article-content h2,
.hls-page-article-content h3 {
    color: #222;
    margin: 28px 0 14px;
    font-weight: 700;
}
.hls-page-article-content h2 { font-size: 22px; }
.hls-page-article-content h3 { font-size: 18px; }
.hls-page-article-content p { margin: 14px 0; text-align: justify; text-indent: 2em; }
.hls-page-article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}
.hls-page-article-content ul,
.hls-page-article-content ol { margin: 14px 0 14px 28px; }
.hls-page-article-content ul li { list-style: disc; margin: 6px 0; }
.hls-page-article-content ol li { list-style: decimal; margin: 6px 0; }
.hls-page-article-content a { color: #14cc76; text-decoration: underline; }
.hls-page-article-content blockquote {
    border-left: 4px solid #14cc76;
    background: #f6f7f9;
    padding: 12px 18px;
    margin: 16px 0;
    color: #555;
}

.hls-page-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}
.hls-page-article-nav a { color: #333; }
.hls-page-article-nav a:hover { color: #14cc76; }
.hls-page-article-nav-item.right { text-align: right; }
.hls-page-article-nav-item .muted { color: #bbb; }

/* ---------- 列表栅格 ---------- */
.hls-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.hls-list-item { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); transition: transform .3s, box-shadow .3s; }
.hls-list-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, .12); }
.hls-list-link { display: block; color: #333; }
.hls-list-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #14cc76 center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hls-list-thumb-empty {
    color: rgba(255,255,255,.7);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
}
.hls-list-info { padding: 18px 20px 20px; }
.hls-list-title { font-size: 16px; font-weight: 700; line-height: 1.5; color: #222; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.hls-list-stitle { margin-top: 8px; font-size: 13px; color: #777; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hls-list-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: #999; }
.hls-list-more { color: #14cc76; }
.hls-list-item:hover .hls-list-title { color: #14cc76; }

/* 分页（样式对齐 jujiang/css/page.css 下的 .cy-pagination；品牌色改为 #14cc76） */
.hls-page-pagination { margin-top: 40px; text-align: center; }
.hls-page-pagination a,
.hls-page-pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    border-radius: 2px;
    line-height: 1.5;
}
.hls-page-pagination a:hover,
.hls-page-pagination .active {
    background: #14cc76;
    color: #fff;
    border-color: #14cc76;
}
.hls-page-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.hls-page-pagination ul li { display: inline-block; }
.hls-page-pagination ul li a,
.hls-page-pagination ul li span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    border-radius: 2px;
    line-height: 1.5;
}
.hls-page-pagination ul li a:hover {
    color: #14cc76;
    border-color: #14cc76;
}
.hls-page-pagination ul li.active span,
.hls-page-pagination ul li.active a {
    background: #14cc76;
    border-color: #14cc76;
    color: #fff;
}
.hls-page-pagination ul li.disabled span,
.hls-page-pagination ul li.disabled a {
    color: #ccc;
    cursor: not-allowed;
    background: #fff;
    border-color: #eee;
}

/* 空状态 */
.hls-page-empty {
    background: #fff;
    border: 1px dashed #e3e3e3;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #999;
    font-size: 15px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .hls-page-banner { height: 240px; }
    .hls-page-banner-title-ch { font-size: 28px; letter-spacing: 4px; }
    .hls-page-banner-title-en { font-size: 12px; letter-spacing: 3px; }
    .hls-page-banner-dots { bottom: 12px; gap: 6px; }
    .hls-page-banner-dots span { width: 18px; height: 2px; }
    .hls-page-banner-counter { right: 16px; bottom: 8px; font-size: 12px; letter-spacing: 1px; }
    .hls-page-banner-counter .cur { font-size: 16px; }

    .hls-page-sub-inner { flex-direction: column; align-items: stretch; height: auto; padding: 0 10px; }
    .hls-page-sub-title { position: static; width: 100%; height: 56px; clip-path: none; top: 0; margin: -24px 0 6px; }
    .hls-page-sub-title-ch { font-size: 18px; letter-spacing: 2px; }
    .hls-page-sub-nav { margin: 0; flex-wrap: wrap; }
    .hls-page-sub-nav > li > a { padding: 0 14px; line-height: 42px; font-size: 14px; }
    .hls-page-sub-nav > li.active > a::after { bottom: 6px; }
    .hls-page-bread { padding: 10px 4px; font-size: 12px; flex-wrap: wrap; }

    .hls-page-body { padding: 28px 14px 48px; }
    .hls-page-article-title h1 { font-size: 24px; }
    .hls-list-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
    .hls-list-grid { grid-template-columns: 1fr; }
}
