/* =====================================================
   咖啡百科 - wikiHow 风格改版
   主色: #93C54B (wikiHow 品牌绿)
   风格: 白色卡片 / 圆角 / 扁平化 / 无衬线字体
   ===================================================== */

/* ---------- 全局 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { border: 0; max-width: 100%; vertical-align: middle; }
a { color: #333; text-decoration: none; transition: color .2s ease; }
a:hover { color: #7AA93C; }

ul, ol, li { list-style: none; }

.clear { clear: both; }
.blank { height: 14px; }
.text-center { text-align: center; }

.kfb-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---------- 顶部 Header（wikiHow 风格） ---------- */
.kfb-header {
    background: #fff;
    border-bottom: 1px solid #eef1f5;
    position: relative;
    z-index: 99;
}

/* 第一行：logo + 搜索 */
.kfb-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 20px;
}

.kfb-logo a {
    display: inline-flex;
    align-items: center;
    font-size: 34px;
    font-weight: 800;
    color: #93C54B;
    letter-spacing: -1px;
    line-height: 1;
}
.kfb-logo a:hover { color: #7AA93C; }
.kfb-logo .kfb-logo-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* 搜索框 */
.kfb-search { display: flex; width: 420px; max-width: 45%; }
.kfb-search input[type="text"] {
    flex: 1;
    height: 40px;
    padding: 0 16px;
    border: 2px solid #93C54B;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    outline: none;
    font-size: 14px;
    color: #333;
    background: #fff;
}
.kfb-search input[type="button"] {
    width: 84px;
    height: 40px;
    border: 0;
    background: #93C54B;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: background .2s ease;
}
.kfb-search input[type="button"]:hover { background: #7AA93C; }

/* 第二行：绿色导航 */
.kfb-nav {
    background: #93C54B;
}
.kfb-nav-inner {
    display: flex;
    align-items: center;
}
.kfb-nav ul { display: flex; flex-wrap: nowrap; }
.kfb-nav li { position: relative; }
.kfb-nav li > a {
    display: block;
    padding: 12px 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}
.kfb-nav li > a:hover,
.kfb-nav li.current > a {
    background: #7AA93C;
    color: #fff;
}
/* 二级下拉 */
.kfb-nav li ul.sub {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #eef1f5;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    border-radius: 0 0 6px 6px;
    min-width: 150px;
    z-index: 999;
}
.kfb-nav li:hover ul.sub { display: block; }
.kfb-nav li ul.sub li { display: block; }
.kfb-nav li ul.sub li a {
    display: block;
    padding: 9px 18px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}
.kfb-nav li ul.sub li a:hover { background: #F1F8E9; color: #7AA93C; }

/* ---------- 通用板块 ---------- */
.kfb-section {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 20px;
}

.kfb-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F1F8E9;
}
.kfb-section-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    padding-left: 12px;
    position: relative;
}
.kfb-section-title h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: #93C54B;
}
.kfb-section-title .kfb-more {
    font-size: 13px;
    color: #999;
}
.kfb-section-title .kfb-more:hover { color: #93C54B; }

/* ---------- 首页 Hero ---------- */
.kfb-hero {
    background: linear-gradient(135deg, #A8D56A 0%, #93C54B 60%, #7AA93C 100%);
    border-radius: 10px;
    padding: 34px 34px;
    margin: 20px 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.kfb-hero h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}
.kfb-hero p { font-size: 14px; opacity: .92; }
.kfb-hero .kfb-hero-btn {
    display: inline-block;
    background: #fff;
    color: #7AA93C;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.kfb-hero .kfb-hero-btn:hover { background: #F1F8E9; }

/* Hero 搜索框（wikiHow 风格） */
.kfb-hero-main { flex: 1; min-width: 0; }
.kfb-hero-search {
    display: flex;
    max-width: 520px;
    margin-top: 18px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.kfb-hero-search input[type="text"] {
    flex: 1;
    height: 48px;
    padding: 0 22px;
    border: 0;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    min-width: 0;
}
.kfb-hero-search input[type="text"]::placeholder { color: #aaa; }
.kfb-hero-search button {
    height: 48px;
    padding: 0 30px;
    border: 0;
    background: #fff;
    color: #7AA93C;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
.kfb-hero-search button:hover { background: #F1F8E9; }

/* ---------- 首页 3:2 卡片网格 ---------- */
.kfb-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.kfb-card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kfb-card-grid > * { min-width: 0; }

.kfb-card {
    border: 1px solid #eef1f5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}
.kfb-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }

.kfb-card .kfb-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;          /* 3:2 缩略图 */
    background: #f4f6f8;
}
.kfb-card .kfb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kfb-card .kfb-card-img .kfb-card-tag {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #93C54B;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}
.kfb-card-body { padding: 14px 16px 16px; }
.kfb-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kfb-card-body h3 a { color: #222; }
.kfb-card-body h3 a:hover { color: #7AA93C; }
.kfb-card-body p {
    font-size: 13px;
    color: #888;
    line-height: 1.55;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kfb-card-meta {
    font-size: 12px;
    color: #b0b6bf;
    display: flex;
    align-items: center;
    gap: 14px;
}
.kfb-card-meta .kfb-views { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 横向小卡片列表（栏目区块内） ---------- */
.kfb-list-row { display: flex; flex-direction: column; gap: 14px; }
.kfb-list-row-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eef1f5;
}
.kfb-list-row-item:last-child { border-bottom: 0; padding-bottom: 0; }
.kfb-list-row-item .kfb-list-thumb {
    flex: 0 0 120px;
    width: 120px;
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f6f8;
}
.kfb-list-row-item .kfb-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kfb-list-row-item .kfb-list-info { flex: 1; min-width: 0; }
.kfb-list-row-item .kfb-list-info h3 {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.kfb-list-row-item .kfb-list-info h3 a { color: #222; }
.kfb-list-row-item .kfb-list-info h3 a:hover { color: #7AA93C; }
.kfb-list-row-item .kfb-list-info p {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 首页左右布局 ---------- */
.kfb-main { display: flex; gap: 20px; align-items: flex-start; }
.kfb-main .left-box { flex: 1; min-width: 0; }
.kfb-main .right-box { flex: 0 0 320px; width: 320px; }

/* ---------- 侧边栏 ---------- */
.kfb-side .kfb-section { padding: 18px; }
.kfb-side .kfb-side-title {
    font-size: 17px;
    font-weight: 700;
    padding-left: 12px;
    position: relative;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F1F8E9;
}
.kfb-side .kfb-side-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: #93C54B;
}

/* 站长推荐：顶部大图 3:2 */
.kfb-side-topimg { display: block; border-radius: 8px; overflow: hidden; margin-bottom: 12px; position: relative; }
.kfb-side-topimg img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.kfb-side-topimg span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    color: #fff;
    font-size: 13px;
    padding: 26px 10px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 侧栏图文列表 */
.kfb-side-imglist { display: flex; flex-direction: column; gap: 12px; }
.kfb-side-imglist li a { display: flex; align-items: center; gap: 10px; }
.kfb-side-imglist li a img {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 6px;
    object-fit: cover;
}
.kfb-side-imglist li a p {
    font-size: 13px;
    line-height: 1.45;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kfb-side-imglist li a:hover p { color: #7AA93C; }

/* 侧栏纯文字排行 */
.kfb-side-textlist { display: flex; flex-direction: column; }
.kfb-side-textlist li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #f0f2f5; }
.kfb-side-textlist li:last-child { border-bottom: 0; }
.kfb-side-textlist li i {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #eef1f5;
    color: #888;
    font-style: normal;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
}
.kfb-side-textlist li:nth-child(1) i,
.kfb-side-textlist li:nth-child(2) i,
.kfb-side-textlist li:nth-child(3) i { background: #93C54B; color: #fff; }
.kfb-side-textlist li a {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kfb-side-textlist li a:hover { color: #7AA93C; }

/* 标签云 */
.kfb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.kfb-tags a {
    font-size: 12px;
    color: #555;
    background: #f5f7f9;
    border: 1px solid #eef1f5;
    padding: 4px 12px;
    border-radius: 20px;
}
.kfb-tags a:hover { background: #F1F8E9; border-color: #93C54B; color: #7AA93C; }

/* ---------- 面包屑 ---------- */
.kfb-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #999;
}
.kfb-crumbs a { color: #666; }
.kfb-crumbs a:hover { color: #93C54B; }
.kfb-crumbs .kfb-crumb-sep { margin: 0 8px; color: #ccc; }

/* ---------- 列表页文章条目 ---------- */
.kfb-article-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #eef1f5;
}
.kfb-article-item:last-child { border-bottom: 0; }
.kfb-article-item .kfb-article-thumb {
    flex: 0 0 240px;
    width: 240px;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f6f8;
}
.kfb-article-item .kfb-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kfb-article-item .kfb-article-info { flex: 1; min-width: 0; }
.kfb-article-item .kfb-article-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.kfb-article-item .kfb-article-info h3 a { color: #222; }
.kfb-article-item .kfb-article-info h3 a:hover { color: #7AA93C; }
.kfb-article-item .kfb-article-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kfb-article-item .kfb-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #b0b6bf;
}
.kfb-article-item .kfb-article-meta a.kfb-article-tag {
    color: #7AA93C;
    background: #F1F8E9;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
}
.kfb-article-item .kfb-article-meta a.kfb-article-tag:hover { background: #e2f0cc; }

/* 分页 */
.kfb-pagination { display: flex; justify-content: center; padding: 24px 0 6px; }
.kfb-pagination a,
.kfb-pagination span,
.kfb-pagination .pages a,
.kfb-pagination .pages span {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 32px;
    text-align: center;
    padding: 0 10px;
    margin: 0 4px;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    background: #fff;
}
.kfb-pagination a:hover,
.kfb-pagination .pages a:hover { border-color: #93C54B; color: #7AA93C; }
.kfb-pagination .current,
.kfb-pagination .pages .current { background: #93C54B; border-color: #93C54B; color: #fff; }

/* ---------- 内容页 ---------- */
.kfb-show-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #222;
}
.kfb-show-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #999;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef1f5;
    margin-bottom: 18px;
}
.kfb-show-desc {
    background: #F1F8E9;
    border-left: 4px solid #93C54B;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 14px;
    color: #556;
    line-height: 1.7;
    margin-bottom: 20px;
}
.kfb-show-content { font-size: 15px; line-height: 1.9; color: #333; word-break: break-word; }
.kfb-show-content p { margin: 0 0 16px; }
.kfb-show-content img { border-radius: 8px; height: auto; }
.kfb-show-content h2, .kfb-show-content h3, .kfb-show-content h4 { margin: 22px 0 10px; font-weight: 700; color: #222; }
.kfb-show-content h2 { font-size: 20px; padding-left: 10px; border-left: 4px solid #93C54B; }
.kfb-show-content h3 { font-size: 17px; }
.kfb-show-content a { color: #5a8a1f; text-decoration: underline; }
.kfb-show-content blockquote {
    background: #fafbfc;
    border-left: 4px solid #d9e6c6;
    padding: 12px 16px;
    margin: 0 0 16px;
    color: #666;
    border-radius: 0 8px 8px 0;
}
.kfb-show-content ul, .kfb-show-content ol { margin: 0 0 16px 22px; }
.kfb-show-content ul li { list-style: disc; margin-bottom: 6px; }
.kfb-show-content ol li { list-style: decimal; margin-bottom: 6px; }
.kfb-show-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.kfb-show-content table td, .kfb-show-content table th { border: 1px solid #e2e6ea; padding: 8px 12px; }

/* 内容页标签 */
.kfb-show-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.kfb-show-tags a {
    font-size: 12px;
    color: #7AA93C;
    background: #F1F8E9;
    padding: 4px 12px;
    border-radius: 20px;
}
.kfb-show-tags a:hover { background: #e2f0cc; }

/* 上一篇 / 下一篇 */
.kfb-prev-next {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eef1f5;
}
.kfb-prev-next a {
    flex: 1;
    border: 1px solid #eef1f5;
    border-radius: 8px;
    padding: 12px 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.kfb-prev-next a:hover { border-color: #93C54B; box-shadow: 0 4px 14px rgba(147,197,75,.18); }
.kfb-prev-next a em { display: block; font-style: normal; font-size: 12px; color: #999; margin-bottom: 4px; }
.kfb-prev-next a h4 { font-size: 14px; font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kfb-prev-next a:hover h4 { color: #7AA93C; }

/* 相关文章 */
.kfb-rel-list { display: flex; flex-direction: column; }
.kfb-rel-list li { padding: 9px 0; border-bottom: 1px dashed #eef1f5; }
.kfb-rel-list li:last-child { border-bottom: 0; }
.kfb-rel-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}
.kfb-rel-list li a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #93C54B;
    flex: 0 0 6px;
}
.kfb-rel-list li a:hover { color: #7AA93C; }

/* ---------- 搜索结果条目 ---------- */
.kfb-search-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eef1f5;
}
.kfb-search-item:last-child { border-bottom: 0; }
.kfb-search-item .kfb-search-thumb {
    flex: 0 0 130px;
    width: 130px;
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f6f8;
}
.kfb-search-item .kfb-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kfb-search-item .kfb-search-info { flex: 1; min-width: 0; }
.kfb-search-item .kfb-search-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.kfb-search-item .kfb-search-info h3 a { color: #222; }
.kfb-search-item .kfb-search-info h3 a:hover { color: #7AA93C; }
.kfb-search-item .kfb-search-info p { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 6px; }
.kfb-search-item .kfb-search-info span { font-size: 12px; color: #b0b6bf; }

/* 搜索筛选标签 */
.kfb-search-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.kfb-search-filters a {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e6ea;
    color: #666;
}
.kfb-search-filters a.active,
.kfb-search-filters a:hover { background: #93C54B; border-color: #93C54B; color: #fff; }

/* ---------- 底部 Footer（深绿，保留版权与友情链接） ---------- */
.kfb-footer {
    background: #2c3e50;
    margin-top: 30px;
    padding: 34px 0 26px;
    color: #aeb9c5;
    font-size: 13px;
}
.kfb-footer .kfb-footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.kfb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin-bottom: 22px;
}
.kfb-footer-links a {
    color: #aeb9c5;
    padding: 2px 14px;
    border-right: 1px solid #46586a;
}
.kfb-footer-links a:first-child { padding-left: 0; }
.kfb-footer-links a:hover { color: #93C54B; }
.kfb-footer .kfb-copyright { line-height: 2; color: #8b97a5; }
.kfb-footer .kfb-copyright a { color: #aeb9c5; }
.kfb-footer .kfb-copyright a:hover { color: #93C54B; }

/* 回到顶部 */
.kfb-gotop {
    position: fixed;
    right: 24px;
    bottom: 40px;
    width: 44px;
    height: 44px;
    background: #93C54B;
    color: #fff;
    font-size: 20px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(147,197,75,.4);
    z-index: 999;
}
.kfb-gotop:hover { background: #7AA93C; color: #fff; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 1200px) {
    .kfb-container { width: 100%; }
    .kfb-main .right-box { flex-basis: 280px; width: 280px; }
    .kfb-card-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 992px) {
    .kfb-main { flex-direction: column; }
    .kfb-main .right-box { flex: 1; width: 100%; }
    .kfb-card-grid { grid-template-columns: repeat(2, 1fr); }
    .kfb-header-top { flex-direction: column; gap: 14px; }
    .kfb-search { width: 100%; max-width: 100%; }
    .kfb-nav-inner { overflow-x: auto; }
    .kfb-nav ul { flex-wrap: nowrap; }
    .kfb-nav li > a { white-space: nowrap; padding: 12px 16px; }
    .kfb-nav li ul.sub { display: none !important; }
    .kfb-hero { padding: 24px; }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .kfb-card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .kfb-card-body { padding: 10px 12px 12px; }
    .kfb-card-body h3 { font-size: 14px; }
    .kfb-section { padding: 16px; }
    .kfb-article-item { flex-direction: column; gap: 10px; }
    .kfb-article-item .kfb-article-thumb { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; }
    .kfb-article-item .kfb-article-info h3 { font-size: 16px; }
    .kfb-search-item { flex-direction: column; gap: 10px; }
    .kfb-search-item .kfb-search-thumb { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; }
    .kfb-show-title { font-size: 20px; }
    .kfb-hero h1 { font-size: 20px; }
    .kfb-prev-next { flex-direction: column; }
    .kfb-footer { padding: 26px 0 20px; }

    /* 修复：手机端 hero 搜索框与按钮视觉区分 + 增大输入区域防误触 */
    .kfb-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .kfb-hero .kfb-hero-btn {
        align-self: flex-start;
    }
    .kfb-hero-search {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        margin-top: 16px;
    }
    .kfb-hero-search input[type="text"] {
        flex: none;
        height: 56px;
        min-height: 56px;
        padding: 0 18px;
        border: 0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(0,0,0,.12);
        font-size: 16px;
        color: #333;
    }
    .kfb-hero-search input[type="text"]:focus {
        box-shadow: 0 4px 14px rgba(0,0,0,.16);
        outline: none;
    }
    .kfb-hero-search button {
        flex: none;
        width: 100%;
        height: 52px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: #7AA93C;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 4px 14px rgba(0,0,0,.12);
    }
    .kfb-hero-search button:hover {
        background: #6a9632;
    }
}

/* ---------- 分页修正（20260830）---------- */
.kfb-pagination ul.pagination { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; }
.kfb-pagination ul.pagination li { display: inline-block; margin: 3px 2px; }
.kfb-pagination ul.pagination li.active > a,
.kfb-pagination ul.pagination li.active > span { background: #93C54B; border-color: #93C54B; color: #fff; }

/* ---------- 旅游景点：概况/交通/门票/特产 Tab（2026-09-04 新增） ---------- */
.kfb-jd-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 20px;
}
.kfb-jd-nav a {
    display: inline-block;
    padding: 7px 20px;
    font-size: 14px;
    border-radius: 20px;
    background: #F4F8EE;
    border: 1px solid #E4EDD8;
    color: #555;
    text-decoration: none;
}
.kfb-jd-nav a:hover { color: #7AA93C; border-color: #93C54B; text-decoration: none; }
.kfb-jd-nav a.kfb-cur {
    background: #93C54B;
    border-color: #93C54B;
    color: #fff;
    font-weight: 600;
}

/* 地区景点列表（zgpca 输出的旧标记内容，套一层基础排版） */
.kfb-jd-region { line-height: 1.7; font-size: 14px; color: #444; }
.kfb-jd-region a { color: #7AA93C; }
.kfb-jd-region ul { padding-left: 18px; margin: 6px 0; }
