/* ============================================================
   悦享方舟 · 信息列表页 v4.0
   布局：渐变通栏页头 + 栏目胶囊 + 工具条 + 三列网格（无侧栏）
   ============================================================ */

/* ---------- 页头 ---------- */
.yf_lhead {
    position: relative;
    background: var(--yf-grad-cta);
    padding: 34px 0 30px;
    overflow: hidden;
}
.yf_lhead::before {
    content: "";
    position: absolute;
    top: -170px; right: -60px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(70, 188, 240, .26) 0%, transparent 68%);
    pointer-events: none;
}
.yf_lhead > .zh_container { position: relative; z-index: 2; }
.yf_lhead .zh_breadcrumb { color: rgba(226, 238, 252, .66); margin-bottom: 12px; }
.yf_lhead .zh_breadcrumb a { color: rgba(226, 238, 252, .82); }
.yf_lhead .zh_breadcrumb a:hover { color: #fff; }
.yf_lhead .zh_breadcrumb i { color: rgba(226, 238, 252, .45); }
.yf_lhead .zh_crumb_current { color: #fff; }

.yf_lhead_title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: .5px;
}
.yf_lhead_desc {
    font-size: 14px;
    color: rgba(226, 238, 252, .78);
    margin: 0 0 22px;
    max-width: 780px;
}

.yf_lhead_cats { display: flex; flex-wrap: wrap; gap: 10px; }
.yf_lhead_cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    border-radius: var(--yf-radius-pill);
    border: 1px solid rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    font-weight: 500;
    transition: all .22s ease;
}
.yf_lhead_cat em {
    font-style: normal;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: var(--yf-radius-pill);
    background: rgba(255, 255, 255, .18);
}
.yf_lhead_cat:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.yf_lhead_cat.yf_on {
    color: var(--yf-primary);
    background: #fff;
    border-color: #fff;
    font-weight: 700;
}
.yf_lhead_cat.yf_on em { background: var(--yf-cyan-soft); color: var(--yf-cyan-deep); }

/* ---------- 工具条 ---------- */
.yf_ltool {
    position: sticky;
    top: var(--yf-header-h);
    z-index: 700;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--yf-border);
}
.yf_ltool_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 62px;
}
.yf_ltool_count { font-size: 13.5px; color: var(--yf-text-muted); white-space: nowrap; }
.yf_ltool_count strong { color: var(--yf-primary); font-size: 16px; font-weight: 800; margin: 0 2px; }

.yf_ltool_right { display: flex; align-items: center; gap: 14px; }
.yf_ltool_sort {
    display: inline-flex;
    padding: 3px;
    background: var(--yf-bg);
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-pill);
}
.yf_ltool_sort a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 16px;
    border-radius: var(--yf-radius-pill);
    font-size: 13.5px;
    color: var(--yf-text-body);
    white-space: nowrap;
    transition: all .2s ease;
}
.yf_ltool_sort a i { font-size: 11px; }
.yf_ltool_sort a:hover { color: var(--yf-primary); }
.yf_ltool_sort a.yf_on { color: #fff; background: var(--yf-grad-cyan); font-weight: 600; }

.yf_ltool_search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 250px;
    padding: 4px 4px 4px 15px;
    background: var(--yf-bg);
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-pill);
    transition: all .22s ease;
}
.yf_ltool_search:focus-within { background: #fff; border-color: var(--yf-cyan); box-shadow: 0 0 0 3px rgba(22, 162, 224, .12); }
.yf_ltool_search > i { color: var(--yf-text-light); font-size: 12.5px; flex-shrink: 0; }
.yf_ltool_search input {
    flex: 1; min-width: 0; height: 30px;
    border: none; background: transparent; outline: none;
    font-size: 13.5px; font-family: inherit; color: var(--yf-text);
}
.yf_ltool_search button {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border: none; border-radius: 50%;
    background: var(--yf-primary);
    color: #fff; font-size: 11px; cursor: pointer;
    transition: background .2s ease;
}
.yf_ltool_search button:hover { background: var(--yf-cyan); }

/* ---------- 三列网格 ---------- */
.yf_lbody { padding: 36px 0 20px; }
.yf_lgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.yf_lcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    overflow: hidden;
    transition: all .26s ease;
}
.yf_lcard:hover { transform: translateY(-5px); box-shadow: var(--yf-shadow-md); border-color: transparent; }

.yf_lcard_thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--yf-bg-deep);
    overflow: hidden;
}
.yf_lcard_thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yf_lcard:hover .yf_lcard_thumb img { transform: scale(1.05); }
.yf_lcard_thumb > i {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--yf-border-strong);
}
.yf_lcard_cat {
    position: absolute;
    left: 14px; top: 14px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--yf-primary);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    border-radius: var(--yf-radius-pill);
}
.yf_lcard_hot {
    position: absolute;
    right: 14px; top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #F0A32A 0%, #F5761A 100%);
    border-radius: var(--yf-radius-pill);
}

.yf_lcard_body { padding: 18px 20px 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.yf_lcard_title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.yf_lcard_title a {
    color: var(--yf-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_lcard:hover .yf_lcard_title a { color: var(--yf-primary); }
.yf_lcard_desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--yf-text-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_lcard_meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: var(--yf-text-muted);
}
.yf_lcard_meta span { display: inline-flex; align-items: center; gap: 5px; }
.yf_lcard_meta i { font-size: 11px; opacity: .8; }

.yf_lcard_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px dashed var(--yf-border);
    background: var(--yf-bg);
}
.yf_lcard_shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--yf-text-body);
    min-width: 0;
}
.yf_lcard_shop:hover { color: var(--yf-primary); }
.yf_lcard_ava {
    width: 24px; height: 24px;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--yf-grad-brand);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.yf_lcard_tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--yf-cyan-deep);
    white-space: nowrap;
}
.yf_lcard_tel i { font-size: 11px; }
.yf_lcard_tel:hover { color: var(--yf-primary); }

/* ---------- 浏览较多（三列榜单） ---------- */
.yf_lmore { padding: 34px 0 10px; }
.yf_lhot {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 28px;
}
.yf_lhot li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--yf-border);
}
.yf_lhot li > a { min-width: 0; flex: 1; }
.yf_lhot h4 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--yf-text);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_lhot li > a:hover h4 { color: var(--yf-primary); }
.yf_lhot li > a > span {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--yf-text-muted);
}
.yf_lhot_no {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 24px; height: 24px;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 12.5px; font-weight: 800;
    color: #fff;
    background: var(--yf-text-light);
}
.yf_lhot_no_1 { background: linear-gradient(135deg, #F5C24A 0%, #E09314 100%); }
.yf_lhot_no_2 { background: linear-gradient(135deg, #B9C6D8 0%, #8FA0B6 100%); }
.yf_lhot_no_3 { background: linear-gradient(135deg, #E0A578 0%, #C07E45 100%); }

/* ---------- 底部：服务商 + 平台机制 ---------- */
.yf_lfoot { padding: 30px 0 60px; }
.yf_lshops {
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    padding: 22px 26px 24px;
    margin-bottom: 22px;
}
.yf_lshops_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--yf-border);
}
.yf_lshops_head h3 {
    margin: 0;
    display: flex; align-items: center; gap: 9px;
    font-size: 16px; font-weight: 700; color: var(--yf-text);
}
.yf_lshops_head h3 i { color: var(--yf-cyan); font-size: 14px; }
.yf_lshops_head a { font-size: 13px; color: var(--yf-text-muted); }
.yf_lshops_head a:hover { color: var(--yf-cyan-deep); }

.yf_lshops_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.yf_lshop {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    background: var(--yf-bg);
    border-radius: var(--yf-radius);
    transition: all .22s ease;
}
.yf_lshop:hover { background: var(--yf-cyan-soft); transform: translateY(-2px); }
.yf_lshop_ava {
    width: 34px; height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--yf-grad-brand);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800;
}
.yf_lshop_text { min-width: 0; }
.yf_lshop_text strong {
    display: block;
    font-size: 13.5px; font-weight: 600; color: var(--yf-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yf_lshop_text span { font-size: 11.5px; color: var(--yf-text-muted); }

.yf_lrules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.yf_lrule {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-lg);
}
.yf_lrule_icon {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--yf-cyan-soft);
    color: var(--yf-cyan-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px;
    margin-bottom: 4px;
}
.yf_lrule strong { font-size: 14.5px; font-weight: 700; color: var(--yf-text); }
.yf_lrule > span:last-child { font-size: 12.5px; line-height: 1.75; color: var(--yf-text-muted); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1150px) {
    .yf_lgrid { grid-template-columns: repeat(2, 1fr); }
    .yf_lhot { grid-template-columns: repeat(2, 1fr); gap: 6px 24px; }
    .yf_lshops_grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .yf_ltool { position: static; }
    .yf_lrules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .yf_lhead { padding: 26px 0 24px; }
    .yf_lhead_cat { height: 34px; padding: 0 15px; font-size: 13px; }
    .yf_ltool_inner { flex-direction: column; align-items: stretch; gap: 12px; height: auto; padding-top: 14px; padding-bottom: 14px; }
    .yf_ltool_right { flex-direction: column; align-items: stretch; gap: 10px; }
    .yf_ltool_sort { justify-content: center; }
    .yf_ltool_sort a { flex: 1; justify-content: center; }
    .yf_ltool_search { width: 100%; }
    .yf_lbody { padding: 24px 0 10px; }
    .yf_lgrid { grid-template-columns: 1fr; gap: 16px; }
    .yf_lhot { grid-template-columns: 1fr; }
    .yf_lshops { padding: 18px 18px 20px; }
    .yf_lshops_grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .yf_lrules { grid-template-columns: 1fr; gap: 12px; }
    .yf_lrule { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 16px 18px; }
    .yf_lrule_icon { margin: 0; }
    .yf_lrule strong { width: calc(100% - 50px); }
    .yf_lrule > span:last-child { width: 100%; }
    .yf_lfoot { padding: 24px 0 44px; }
}
