/**
 * 城市内容动态加载样式
 */

/* ===== 加载状态 ===== */
.content-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.content-loading::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4a9b4a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== 空内容 ===== */
.content-empty,
.content-error {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.content-error {
    color: #ff4d4f;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 4px;
    margin: 20px;
}

/* ===== 新闻列表 ===== */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 15px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-desc {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.6;
    height: 41px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* ===== 服务列表 ===== */
.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.service-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    border: 2px solid #4a9b4a;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 0;
}

.service-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.service-desc {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.5;
    height: 39px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== 轮播图 ===== */
.banner-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.banner-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* ===== 动态创建的分组卡片 ===== */
.city-dynamic-section {
    margin-top: 8px;
}

/* ===== 首页通用栏目卡片 ===== */
.city-section {
    width: 100%;
    margin-bottom: 8px;
    overflow: hidden;
}
.city-section .tbox {
    margin-bottom: 0;
}

/* 子栏目块 */
.city-sub-section {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e5e5;
}
.city-sub-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 子栏目标题 */
.city-sub-title {
    font-size: 13px;
    font-weight: bold;
    color: #3a7d3a;
    margin: 0 0 6px 0;
    padding: 4px 0 4px 8px;
    border-left: 3px solid #3a7d3a;
    background: #f5faf5;
}

/* 列表项内链接 */
.city-content-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.city-content-item {
    display: flex;
    align-items: flex-start;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
}
.city-content-item:last-child {
    border-bottom: none;
}
.city-content-item .item-image img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.city-content-item .item-info {
    flex: 1;
    overflow: hidden;
}
.city-content-item .item-title {
    display: block;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.city-content-item .item-title:hover {
    color: #3a7d3a;
    text-decoration: underline;
}
.city-content-item .item-date {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* 暂无内容 */
.no-data {
    color: #999;
    font-size: 12px;
    padding: 6px 0;
    margin: 0;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 60px 30px 30px;
}

.banner-caption h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.banner-caption p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.banner-control:hover {
    background: rgba(0,0,0,0.8);
}

.banner-control.prev {
    left: 20px;
}

.banner-control.next {
    right: 20px;
}

/* ===== 城市统计 ===== */
.city-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 20px 0;
}

.city-stats span {
    font-size: 14px;
    color: #666;
}

.city-stats span b {
    color: #4a9b4a;
    font-weight: 600;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    /* 平板：分类网格单列，精品推荐适应 */
    .index-category-grid {
        grid-template-columns: 1fr !important;
    }

    .index-slide-wrap {
        flex-direction: column;
    }

    .index-slide-main {
        flex: none;
        width: 100% !important;
        height: 220px;
    }

    .index-article-wrap {
        flex-direction: column;
    }

    .index-article-right {
        flex: none;
        width: 100% !important;
    }

    ul.pic-news-grid {
        gap: 6px;
    }

    li.pic-news-item {
        flex: 1 1 calc(50% - 4px);
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    /* 手机端核心适配 */
    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .news-item {
        border-radius: 6px;
    }

    .news-image {
        height: 160px;
    }

    .news-info {
        padding: 10px;
    }

    .news-title {
        font-size: 15px;
        height: auto;
        -webkit-line-clamp: 2;
    }

    .service-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-item {
        border-radius: 6px;
    }

    .service-link {
        padding: 12px 8px;
    }

    .service-image {
        width: 50px;
        height: 50px;
    }

    .service-title {
        font-size: 13px;
    }

    .banner-wrapper {
        height: 200px;
        border-radius: 6px;
    }

    .banner-caption {
        padding: 30px 12px 12px;
    }

    .banner-caption h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .banner-caption p {
        display: none;
    }

    .banner-control {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .banner-control.prev { left: 8px; }
    .banner-control.next { right: 8px; }

    /* 城市统计 */
    .city-stats {
        flex-wrap: wrap;
        gap: 8px 15px;
        padding: 10px;
        margin: 10px 0;
    }

    .city-stats span {
        font-size: 13px;
    }

    /* 内容列表 */
    .city-content-item {
        padding: 6px 0;
        gap: 8px;
    }

    .city-content-item .item-image img {
        width: 50px;
        height: 38px;
    }

    .city-content-item .item-title {
        font-size: 13px;
    }

    .city-sub-title {
        font-size: 12px;
    }

    /* 精品推荐组合 */
    .index-slide-wrap {
        gap: 6px;
    }

    .index-slide-main {
        height: 180px;
        border-radius: 4px;
    }

    .index-slide-sidebar .tbox {
        height: auto;
        max-height: 200px;
        overflow-y: auto;
    }

    /* 缩略图横排 */
    .index-thumb-item img {
        height: 60px;
    }

    .index-thumb-title {
        font-size: 11px;
    }

    /* 图文网格 */
    ul.pic-news-grid {
        gap: 4px;
    }

    li.pic-news-item {
        flex: 1 1 calc(50% - 3px);
        min-width: 120px;
    }

    li.pic-news-item img {
        height: 80px;
    }

    li.pic-news-item .pic-news-title {
        font-size: 11px;
        height: 32px;
        padding: 3px 4px;
    }

    /* 双列文章 */
    .index-article-left ul.d5 li a.title {
        font-size: 13px;
    }

    /* 横条Banner */
    .index-banner-strip-inner {
        padding: 6px;
        gap: 4px;
    }

    .index-banner-item {
        width: 80px;
    }

    .index-banner-item img {
        width: 80px;
        height: 60px;
    }

    .index-banner-item .banner-title {
        font-size: 10px;
    }

    /* 横条精品推荐 */
    .index-recommend-strip-inner {
        padding: 6px;
        gap: 6px;
    }

    .index-recommend-item {
        width: 100px;
    }

    .index-recommend-item img {
        width: 100px;
        height: 68px;
    }

    .index-recommend-item .rec-title {
        font-size: 11px;
        height: 32px;
        padding: 3px 4px;
    }

    /* 分类卡片列表 */
    ul.cat-card-list li a.cat-card-title {
        font-size: 13px;
    }

    ul.cat-card-list li span.cat-card-date {
        font-size: 10px;
    }

    /* 右侧栏 */
    .pright ul.d4 li a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .service-list-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-image {
        width: 50px;
        height: 50px;
    }

    .service-desc {
        display: none;
    }

    .banner-wrapper {
        height: 160px;
    }

    .index-slide-main {
        height: 150px;
    }

    .index-banner-item {
        width: 70px;
    }

    .index-banner-item img {
        width: 70px;
        height: 52px;
    }

    .index-recommend-item {
        width: 90px;
    }

    .index-recommend-item img {
        width: 90px;
        height: 60px;
    }

    ul.pic-news-grid {
        gap: 3px;
    }

    li.pic-news-item {
        min-width: 100px;
    }

    li.pic-news-item img {
        height: 65px;
    }
}

/* ============================================================
   首页布局（与招聘求职页风格一致）
   ============================================================ */

/* --- 精品推荐：轮播图 + 右侧列表 组合框 --- */
.index-slide-wrap {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-bottom: 6px;
}

/* 左侧轮播主体 */
.index-slide-main {
    position: relative;
    flex: 0 0 460px;
    width: 460px;
    height: 200px;
    overflow: hidden;
    background: #222;
    border-radius: 3px;
}
.index-slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.index-slide-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.index-slide-item.active {
    opacity: 1;
    pointer-events: auto;
}
.index-slide-item a {
    display: block;
    width: 100%; height: 100%;
}
.index-slide-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.index-slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.55);
    padding: 5px 8px;
}
.index-slide-caption a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
    height: auto;
}
/* 圆点导航 */
.index-slider-dots {
    position: absolute;
    bottom: 28px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}
.index-slide-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.index-slide-dot.active {
    background: #fff;
}
/* 前后按钮 */
.index-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: background 0.2s;
}
.index-slide-btn:hover { background: rgba(0,0,0,0.75); }
.index-slide-prev { left: 6px; }
.index-slide-next { right: 6px; }
.index-slide-loading,
.index-slide-empty {
    color: #aaa;
    font-size: 13px;
    text-align: center;
    padding-top: 80px;
}

/* 右侧精品推荐列表 */
.index-slide-sidebar {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.index-slide-sidebar .tbox {
    height: 200px;
    overflow: hidden;
    box-sizing: border-box;
}
/* 精品推荐列表样式（d4） */
.index-slide-sidebar ul.d4 {
    list-style: none;
    margin: 0;
    padding: 0;
}
.index-slide-sidebar ul.d4 li {
    padding: 4px 0;
    border-bottom: 1px dotted #e5e5e5;
    overflow: hidden;
}
.index-slide-sidebar ul.d4 li:last-child {
    border-bottom: none;
}
.index-slide-sidebar ul.d4 li a {
    display: block;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.index-slide-sidebar ul.d4 li a:hover { color: #3a7d3a; }
.index-slide-sidebar ul.d4 li p {
    font-size: 12px;
    color: #888;
    margin: 1px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 缩略图横排列表 --- */
.index-thumb-row {
    width: 100%;
    margin-bottom: 6px;
    overflow: hidden;
}
.index-thumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}
.index-thumb-item {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.index-thumb-item a {
    display: block;
    text-decoration: none;
    color: #333;
}
.index-thumb-item img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
}
.index-thumb-title {
    display: block;
    font-size: 12px;
    color: #333;
    padding: 3px 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    background: #f9f9f9;
    border-top: 1px solid #e8e8e8;
}
.index-thumb-item a:hover .index-thumb-title {
    color: #3a7d3a;
}

/* --- 双列文章区 --- */

/* --- 图文资讯（中间区域，带缩略图网格） --- */
ul.pic-news-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
li.pic-news-item {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 180px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    background: #fff;
    transition: box-shadow 0.2s;
}
li.pic-news-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
li.pic-news-item a {
    display: block;
    text-decoration: none;
    color: #333;
}
li.pic-news-item img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: cover;
}
li.pic-news-item .pic-news-title {
    display: block;
    font-size: 12px;
    color: #333;
    padding: 5px 6px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}
li.pic-news-item a:hover .pic-news-title {
    color: #3a7d3a;
}

/* --- 十大分类精选卡片网格 --- */
.index-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 8px;
    width: 100%;
}
.index-cat-card {
    margin-bottom: 0 !important;
}
.index-cat-card dt strong {
    font-size: 14px;
    color: #333;
}

/* 分类卡片内列表 */
ul.cat-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.cat-card-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px dotted #eee;
    overflow: hidden;
}
ul.cat-card-list li:last-child {
    border-bottom: none;
}
ul.cat-card-list li a.cat-card-title {
    flex: 1;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 8px;
}
ul.cat-card-list li a.cat-card-title:hover {
    color: #3a7d3a;
    text-decoration: underline;
}
ul.cat-card-list li span.cat-card-date {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- 双列文章区（续） --- */
.index-article-wrap {
    display: flex;
    gap: 8px;
    width: 100%;
}
.index-article-left {
    flex: 1 1 420px;
    min-width: 0;
}
.index-article-right {
    flex: 0 0 200px;
    width: 200px;
}

/* --- 左列：d5 列表（日期+标题）与招聘页完全一致 --- */
.index-article-left ul.d5 {
    list-style: none;
    margin: 0;
    padding: 0;
}
.index-article-left ul.d5 li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px dotted #ddd;
    overflow: hidden;
}
.index-article-left ul.d5 li:last-child {
    border-bottom: none;
}
.index-article-left ul.d5 li a.title {
    flex: 1;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 6px;
}
.index-article-left ul.d5 li a.title:hover {
    color: #3a7d3a;
    text-decoration: underline;
}
.index-article-left ul.d5 li span.date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- 右列：热点/推荐 --- */
.index-article-right .tbox dt {
    padding: 4px 6px;
    font-size: 13px;
}
.index-article-right ul.c1 {
    list-style: none;
    margin: 0;
    padding: 0;
}
.index-article-right ul.c1.ico2 li {
    padding: 3px 4px;
    border-bottom: 1px dotted #eee;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.index-article-right ul.c1.ico2 li:last-child {
    border-bottom: none;
}
.index-article-right ul.c1.ico2 li a {
    color: #333;
    text-decoration: none;
    font-size: 12px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.index-article-right ul.c1.ico2 li a:hover {
    color: #3a7d3a;
}

/* --- 右侧侧边栏 d4 推荐列表 --- */
.pright ul.d4 {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pright ul.d4 li {
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
    font-size: 13px;
}
.pright ul.d4 li:last-child {
    border-bottom: none;
}
.pright ul.d4 li a {
    color: #333;
    text-decoration: none;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pright ul.d4 li a:hover {
    color: #3a7d3a;
    text-decoration: underline;
}
.pright ul.d4 li p {
    font-size: 12px;
    color: #888;
    margin: 2px 0 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ============================================================
   首页横条Banner + 横条精品推荐
   ============================================================ */

/* --- 横条Banner：横向排列10张图片 --- */
.index-banner-strip {
    width: 100%;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}
.index-banner-strip-inner {
    display: flex;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.index-banner-strip-inner::-webkit-scrollbar {
    height: 4px;
}
.index-banner-strip-inner::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}
.index-banner-item {
    flex: 0 0 auto;
    width: 95px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}
.index-banner-item:hover {
    transform: translateY(-2px);
}
.index-banner-item img {
    display: block;
    width: 95px;
    height: 70px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #eee;
}
.index-banner-item .banner-title {
    display: block;
    font-size: 11px;
    color: #555;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.index-banner-item:hover .banner-title {
    color: #3a7d3a;
}

/* --- 横条精品推荐：横向排列文章卡片 --- */
.index-recommend-strip {
    width: 100%;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}
.index-recommend-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
}
.index-recommend-strip-header strong {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}
.index-recommend-strip-header .more a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}
.index-recommend-strip-header .more a:hover {
    color: #3a7d3a;
    text-decoration: underline;
}
.index-recommend-strip-inner {
    display: flex;
    gap: 8px;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.index-recommend-strip-inner::-webkit-scrollbar {
    height: 4px;
}
.index-recommend-strip-inner::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}
.index-recommend-item {
    flex: 0 0 auto;
    width: 120px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 3px;
    overflow: hidden;
}
.index-recommend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.index-recommend-item img {
    display: block;
    width: 120px;
    height: 80px;
    object-fit: cover;
    background: #f0f0f0;
}
.index-recommend-item .rec-title {
    display: block;
    font-size: 12px;
    color: #333;
    padding: 5px 6px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.index-recommend-item:hover .rec-title {
    color: #3a7d3a;
}
