/* ============================================================
   悦享方舟 · 搜索结果页 v4.0
   布局：渐变页头（含再搜索）+ 横条结果卡
   ============================================================ */

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

.yf_rhead_title {
    font-size: clamp(22px, 2.9vw, 30px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: .5px;
}
.yf_rhead_desc { font-size: 14px; color: rgba(226, 238, 252, .78); margin: 0 0 22px; }
.yf_rhead_desc strong { color: #fff; font-size: 17px; font-weight: 800; margin: 0 3px; }

.yf_rsearch {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    padding: 6px 6px 6px 22px;
    background: #fff;
    border-radius: var(--yf-radius-pill);
    box-shadow: 0 12px 28px rgba(5, 32, 84, .22);
}
.yf_rsearch > i { color: var(--yf-text-light); font-size: 15px; flex-shrink: 0; }
.yf_rsearch input {
    flex: 1; min-width: 0; height: 44px;
    border: none; background: transparent; outline: none;
    font-size: 15px; font-family: inherit; color: var(--yf-text);
}
.yf_rsearch input::placeholder { color: var(--yf-text-light); }
.yf_rsearch button {
    flex-shrink: 0; height: 44px; padding: 0 26px;
    border: none; border-radius: var(--yf-radius-pill);
    background: var(--yf-grad-cyan);
    color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: box-shadow .22s ease;
}
.yf_rsearch button:hover { box-shadow: var(--yf-shadow-cyan); }

.yf_rtags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(226, 238, 252, .72);
}
.yf_rtags a {
    padding: 5px 14px;
    border-radius: var(--yf-radius-pill);
    border: 1px solid rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .88);
    transition: all .2s ease;
}
.yf_rtags a:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.yf_rtags a.yf_on { color: var(--yf-primary); background: #fff; border-color: #fff; font-weight: 600; }

/* ---------- 结果列表 ---------- */
.yf_rbody { padding: 34px 0 60px; }
.yf_rlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.yf_ritem {
    display: flex;
    align-items: stretch;
    gap: 22px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
    transition: all .24s ease;
}
.yf_ritem:hover { border-color: transparent; box-shadow: var(--yf-shadow-md); transform: translateY(-3px); }

.yf_ritem_thumb {
    position: relative;
    width: 190px;
    flex-shrink: 0;
    aspect-ratio: 16 / 10;
    border-radius: var(--yf-radius);
    overflow: hidden;
    background: var(--yf-bg-deep);
}
.yf_ritem_thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yf_ritem:hover .yf_ritem_thumb img { transform: scale(1.05); }
.yf_ritem_thumb > i {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--yf-border-strong);
}

.yf_ritem_body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.yf_ritem_body h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.6; }
.yf_ritem_body h2 a {
    color: var(--yf-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_ritem:hover .yf_ritem_body h2 a { color: var(--yf-primary); }
.yf_ritem_body p {
    margin: 0;
    font-size: 13.5px; line-height: 1.85; color: var(--yf-text-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_ritem_body mark {
    background: rgba(240, 163, 42, .26);
    color: var(--yf-primary);
    font-weight: 700;
    padding: 0 2px;
    border-radius: 3px;
}
.yf_ritem_meta {
    margin-top: auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
    font-size: 12.5px; color: var(--yf-text-muted);
}
.yf_ritem_meta > span { display: inline-flex; align-items: center; gap: 5px; }
.yf_ritem_meta i { font-size: 11px; opacity: .8; }
.yf_ritem_cat {
    padding: 3px 11px;
    border-radius: var(--yf-radius-pill);
    background: var(--yf-cyan-soft);
    color: var(--yf-cyan-deep);
    font-size: 12px; font-weight: 600;
}
.yf_ritem_cat:hover { color: #fff; background: var(--yf-cyan); }

.yf_ritem_act {
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
    flex-shrink: 0; width: 178px;
    padding-left: 22px;
    border-left: 1px dashed var(--yf-border);
}
.yf_ritem_tel {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px;
    border-radius: var(--yf-radius-pill);
    background: var(--yf-grad-cyan);
    color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: .3px;
    transition: box-shadow .22s ease;
}
.yf_ritem_tel:hover { color: #fff; box-shadow: var(--yf-shadow-cyan); }
.yf_ritem_tel i { font-size: 12px; }
.yf_ritem_more {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 36px;
    border-radius: var(--yf-radius-pill);
    border: 1px solid var(--yf-border-strong);
    color: var(--yf-primary); font-size: 13.5px; font-weight: 600;
    transition: all .22s ease;
}
.yf_ritem_more i { font-size: 11px; transition: transform .22s ease; }
.yf_ritem_more:hover { color: var(--yf-cyan-deep); border-color: var(--yf-cyan); background: var(--yf-cyan-soft); }
.yf_ritem_more:hover i { transform: translateX(3px); }

/* ---------- 无结果 ---------- */
.yf_rempty {
    text-align: center;
    padding: 56px 24px 48px;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-xl);
}
.yf_rempty_icon {
    width: 88px; height: 88px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: var(--yf-cyan-soft);
    color: var(--yf-cyan-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 34px;
}
.yf_rempty h2 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--yf-text); }
.yf_rempty p { margin: 0 0 24px; font-size: 14px; color: var(--yf-text-muted); }
.yf_rempty_cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.yf_rfall { margin-top: 44px; }
.yf_rfall_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.yf_rfall_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--yf-border);
    border-radius: var(--yf-radius-lg);
    overflow: hidden;
    transition: all .26s ease;
}
.yf_rfall_card:hover { transform: translateY(-4px); box-shadow: var(--yf-shadow-md); border-color: transparent; }
.yf_rfall_thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--yf-bg-deep);
    overflow: hidden;
}
.yf_rfall_thumb img { width: 100%; height: 100%; object-fit: cover; }
.yf_rfall_thumb > i {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--yf-border-strong);
}
.yf_rfall_body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.yf_rfall_body h4 {
    margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.6; color: var(--yf-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yf_rfall_card:hover .yf_rfall_body h4 { color: var(--yf-primary); }
.yf_rfall_body span {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--yf-text-muted);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 992px) {
    .yf_ritem_act { width: 150px; padding-left: 16px; }
    .yf_ritem_thumb { width: 150px; }
    .yf_rfall_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .yf_rhead { padding: 24px 0 26px; }
    .yf_rsearch { padding: 5px 5px 5px 16px; }
    .yf_rsearch button { padding: 0 16px; }
    .yf_rbody { padding: 24px 0 44px; }
    .yf_ritem { flex-wrap: wrap; padding: 15px 16px; gap: 14px; }
    .yf_ritem_thumb { width: 110px; }
    .yf_ritem_body { flex: 1 1 55%; }
    .yf_ritem_act {
        width: 100%; flex-direction: row; padding-left: 0;
        border-left: none; border-top: 1px dashed var(--yf-border); padding-top: 12px;
    }
    .yf_ritem_act > a { flex: 1; }
    .yf_rempty { padding: 40px 18px 36px; }
    .yf_rempty_cats { flex-direction: column; }
    .yf_rfall_grid { grid-template-columns: 1fr; }
}
