/* 首页 V1 — 对齐 homepage-0909 内容区 */

.home {
    --home-line: var(--color-border, #e5e7eb);
    --home-muted: var(--color-muted-foreground, #6b7280);
    --home-ink: var(--color-foreground, #111214);
    --home-ink-2: var(--color-ink-2, #3c4043);
    --home-bg: var(--color-muted, #f5f6f8);
    --home-radius: 0.75rem;
    --home-radius-lg: 1rem;
    --home-gap-sm: 0.75rem;
    --home-gap-md: 1rem;
    --home-gap-lg: 1.5rem;
}

.home-wrap {
    width: 100%;
    max-width: var(--max-width-mall, 1440px);
    margin-inline: auto;
    padding-inline: var(--spacing-gutter, 1.25rem);
}

.home-main {
    padding-bottom: 0.5rem;
}

.home-section {
    padding-block: clamp(1.75rem, 4.5vw, 3rem);
}

.home-sec-title {
    margin: 0 0 clamp(1rem, 2.4vw, 1.5rem);
    text-align: center;
    font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--home-ink);
}

.home-sec-title small {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--home-muted);
}

[x-cloak] {
    display: none !important;
}

/* —— banner：文案/主图/背景色均来自 cms/ads；无 background 时用中性底 —— */
.home-banner {
    position: relative;
    background: var(--color-header, #1a1c1f);
    color: var(--color-brand-foreground, #fff);
    overflow: hidden;
}

.home-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--color-header, #0b0b0c) 28%, transparent) 100%);
    pointer-events: none;
    z-index: 2;
}

.home-banner-viewport {
    position: relative;
    z-index: 1;
    min-height: clamp(16rem, 42vw, 26rem);
}

.home-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    pointer-events: none;
}

.home-banner-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.home-banner-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: var(--home-gap-lg);
    width: 100%;
    max-width: var(--max-width-mall, 1440px);
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 3.75rem) var(--spacing-gutter, 1.25rem) clamp(4.25rem, 8.5vw, 6rem);
}

.home-banner-txt {
    min-width: 0;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.home-banner-heading {
    margin: 0 0 clamp(0.875rem, 2vw, 1.25rem);
    max-width: 100%;
    font-size: clamp(2.15rem, 1.2rem + 3.6vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.home-banner-heading em {
    font-style: normal;
    color: var(--color-brand-soft, #ffd9d4);
}

/* 旧 content 翻译 HTML（home-ad-big + d-flex 概要行） */
.home-banner-copy {
    margin: 0 0 clamp(1.125rem, 2.6vw, 1.625rem);
}

.home-banner-copy > p {
    margin: 0;
}

.home-banner-copy > p.fw-bold {
    line-height: 1.1;
}

.home-banner-copy .home-ad-big {
    display: inline-block;
    font-size: clamp(2.4rem, 1.4rem + 4.8vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.home-banner-copy > p.d-flex {
    display: flex;
    align-items: center;
    gap: 0.5625rem;
    margin-top: 0.625rem;
    font-size: 1.07rem;
    font-weight: 400;
    line-height: 1.5;
    color: color-mix(in srgb, var(--color-card, #fff) 90%, transparent);
}

.home-banner-copy > p.fw-bold + p.d-flex {
    margin-top: clamp(0.875rem, 2vw, 1.25rem);
}

.home-banner-copy > p.d-flex svg {
    flex: 0 0 auto;
    width: 1.0625rem;
    height: 1.0625rem;
    opacity: 0.9;
}

.home-banner-pts {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin: 0 0 clamp(1.125rem, 2.6vw, 1.625rem);
    padding: 0;
    list-style: none;
}

.home-banner-pts li {
    display: flex;
    align-items: center;
    gap: 0.5625rem;
    font-size: 1.07rem;
    font-weight: 400;
    line-height: 1.5;
    color: color-mix(in srgb, var(--color-card, #fff) 90%, transparent);
}

.home-banner-pts svg {
    flex: 0 0 auto;
    width: 1.0625rem;
    height: 1.0625rem;
    opacity: 0.9;
}

.home-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    height: clamp(2.625rem, 5.5vw, 3rem);
    padding-inline: clamp(1.25rem, 3.5vw, 1.875rem);
    border: 0;
    border-radius: 999px;
    background: var(--color-card, #fff);
    color: var(--color-brand-dark, #b02318);
    font-size: 1.07rem;
    font-weight: 700;
    text-decoration: none;
}

.home-banner-cta:hover {
    background: var(--color-brand-soft, #ffe9e6);
    color: var(--color-brand-dark, #b02318);
}

.home-banner-cta svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.15s ease;
}

.home-banner-cta:hover svg {
    transform: translateX(3px);
}

.home-banner-art {
    display: none;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.home-banner-art img {
    display: block;
    width: 100%;
    max-width: min(100%, 32rem);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--color-header, #0b0b0c) 35%, transparent));
}

.home-banner-nav {
    position: absolute;
    top: calc(50% - 1.5rem);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.25rem;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-header, #0b0b0c) 18%, transparent);
    color: var(--color-brand-foreground, #fff);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.15s ease;
}

.home-banner-nav:hover,
.home-banner-nav:focus-visible {
    background: color-mix(in srgb, var(--color-header, #0b0b0c) 36%, transparent);
}

.home-banner-nav.is-prev {
    left: clamp(0.5rem, 2vw, 1.5rem);
}

.home-banner-nav.is-next {
    right: clamp(0.5rem, 2vw, 1.5rem);
}

.home-banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(3.75rem, 7vw, 5rem);
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.home-banner-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-card, #fff) 42%, transparent);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.home-banner-dot.is-active {
    width: 1.5rem;
    background: var(--color-card, #fff);
}

/* —— categories：叠在 hero 下沿 —— */
.home-quick-wrap {
    position: relative;
    z-index: 4;
    margin-top: clamp(-3.5rem, -5vw, -2.5rem);
    margin-bottom: 0.5rem;
}

.home-cates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(50%, 7rem), 1fr));
    gap: var(--home-gap-sm);
    padding: clamp(1rem, 2.4vw, 1rem) clamp(0.75rem, 2vw, 1rem);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-lg);
    background: var(--color-card, #fff);
    box-shadow: 0 14px 40px color-mix(in srgb, var(--color-foreground, #111214) 12%, transparent);
}

.home-cate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 0.5rem;
    border-radius: var(--home-radius);
    color: var(--home-ink);
    text-align: center;
    text-decoration: none;
}

.home-cate:hover {
    background: var(--color-brand-soft, #fff4f2);
    color: var(--home-ink);
}

.home-cate-icon {
    display: grid;
    place-items: center;
    width: clamp(2.75rem, 7vw, 3.375rem);
    height: clamp(2.75rem, 7vw, 3.375rem);
    border-radius: 999px;
    background: var(--color-brand-soft, #fff4f2);
}

.home-cate-icon img {
    width: 1.875rem;
    height: 1.875rem;
    object-fit: contain;
}

.home-cate-label {
    font-size: 1.07rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--home-ink);
}

/* —— browse history chips —— */
.home-history-row {
    display: flex;
    gap: var(--home-gap-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.375rem;
    scrollbar-width: thin;
}

.home-history-row::-webkit-scrollbar {
    height: 6px;
}

.home-history-row::-webkit-scrollbar-thumb {
    background: var(--color-border, #d6d9de);
    border-radius: 3px;
}

.home-history-item {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0.5rem 2.25rem 0.5rem 1rem;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: var(--color-card, #fff);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-history-item:hover {
    border-color: var(--color-border, #c9cdd4);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--color-foreground, #111214) 7%, transparent);
}

.home-history-link {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.home-history-link:hover {
    color: var(--color-brand, #e23a2e);
}

.home-history-name {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-history-remove {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--color-muted, #f0f1f4);
    color: var(--home-muted);
    cursor: pointer;
}

.home-history-remove:hover {
    background: var(--color-brand-soft, #fdecea);
    color: var(--color-brand, #e23a2e);
}

.home-history-remove svg {
    width: 0.5625rem;
    height: 0.5625rem;
}

/* —— trending —— */
.home-trending-desktop {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--home-gap-md);
}

.home-trending-col {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-lg);
    background: var(--color-card, #fff);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.home-trending-col:hover {
    box-shadow: 0 12px 30px color-mix(in srgb, var(--color-foreground, #111214) 9%, transparent);
    transform: translateY(-2px);
}

.home-trending-head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: clamp(0.875rem, 2vw, 1.0625rem) clamp(0.875rem, 2.2vw, 1.125rem);
    border-bottom: 1px solid var(--home-line);
}

.home-trending-head h3 {
    margin: 0;
    min-width: 0;
    font-size: 1.14rem;
    font-weight: 700;
}

.home-trending-ico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    background: var(--color-muted, #f2f3f5);
}

.home-trending-ico img {
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
}

.home-trending-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0;
    padding: 0.375rem;
    list-style: none;
}

.home-trending-list a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5625rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--home-ink);
    font-size: 0.93rem;
    font-weight: 500;
    text-decoration: none;
}

.home-trending-list a:hover {
    background: var(--color-muted, #f5f6f8);
    color: var(--color-brand, #e23a2e);
}

.home-trending-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-trending-offers {
    flex: 0 0 auto;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    background: var(--color-muted, #f2f3f5);
    color: var(--home-ink-2);
    font-size: 0.79rem;
    font-weight: 600;
    white-space: nowrap;
}

.home-trending-list a:hover .home-trending-offers {
    background: var(--color-brand-soft, #fdecea);
    color: var(--color-brand, #e23a2e);
}

.home-trending-all {
    display: block;
    padding: 0.75rem;
    border-top: 1px solid var(--home-line);
    color: var(--home-ink-2);
    font-size: 0.93rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.home-trending-all:hover {
    background: var(--color-muted, #fafbfc);
    color: var(--color-brand, #e23a2e);
}

.home-trending-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    border-bottom: 1px solid var(--home-line);
}

.home-trending-tab {
    flex: 0 0 auto;
    padding: 0.65rem 0.85rem;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--home-ink-2);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.home-trending-tab.is-active {
    border-bottom-color: var(--color-brand, #e23a2e);
    color: var(--color-brand, #e23a2e);
}

.home-trending-list.is-mobile a {
    border-radius: 0;
    border-bottom: 1px solid var(--home-line);
}

.home-trending-all.is-mobile {
    border-top: 0;
}

/* —— why us —— */
.home-why {
    border-block: 1px solid var(--home-line);
    background: var(--color-card, #fff);
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
    gap: var(--home-gap-md);
}

.home-why-card {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-lg);
    background: var(--home-bg);
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-why-card:hover {
    border-color: var(--color-border, #d7dae0);
    box-shadow: 0 10px 26px color-mix(in srgb, var(--color-foreground, #111214) 7%, transparent);
}

.home-why-icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 0.875rem;
    border-radius: 999px;
    background: var(--color-brand-soft, #fff4f2);
}

.home-why-icon img {
    width: 1.875rem;
    height: 1.875rem;
    object-fit: contain;
}

.home-why-title {
    display: block;
    margin: 0 0 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--home-ink);
}

.home-why-desc {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--home-muted);
}

/* —— affiliate —— */
.home-affiliate {
    background: linear-gradient(
        135deg,
        var(--color-header, #0b0b0c) 0%,
        color-mix(in srgb, var(--color-header, #0b0b0c) 82%, var(--color-info, #3b82f6)) 55%,
        var(--color-header, #0b0b0c) 100%
    );
    color: var(--color-brand-foreground, #fff);
}

.home-affiliate .home-sec-title {
    color: var(--color-brand-foreground, #fff);
}

.home-affiliate .home-sec-title small {
    color: color-mix(in srgb, var(--color-card, #fff) 62%, transparent);
}

.home-affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: var(--home-gap-lg);
    align-items: stretch;
}

.home-affiliate-art {
    display: grid;
    place-items: center;
    min-height: 13rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid color-mix(in srgb, var(--color-card, #fff) 10%, transparent);
    border-radius: var(--home-radius-lg);
    background: radial-gradient(
        90% 120% at 20% 10%,
        color-mix(in srgb, var(--color-header, #0b0b0c) 55%, var(--color-info, #3b82f6)) 0%,
        var(--color-header, #0b0b0c) 70%
    );
    overflow: hidden;
}

.home-affiliate-art img {
    width: 100%;
    max-width: 22rem;
    height: auto;
}

.home-affiliate-side {
    display: flex;
    flex-direction: column;
    gap: var(--home-gap-md);
}

.home-affiliate-card {
    flex: 1 1 auto;
    padding: clamp(1.125rem, 2.8vw, 1.75rem);
    border: 1px solid color-mix(in srgb, var(--color-card, #fff) 12%, transparent);
    border-radius: var(--home-radius-lg);
    background: color-mix(in srgb, var(--color-card, #fff) 5.5%, transparent);
}

.home-affiliate-rot {
    display: grid;
}

.home-affiliate-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s;
    pointer-events: none;
}

.home-affiliate-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-affiliate-slide-title,
.home-affiliate-cta-title {
    margin: 0 0 0.625rem;
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    font-weight: 700;
}

.home-affiliate-slide-desc {
    margin: 0;
    color: color-mix(in srgb, var(--color-card, #fff) 72%, transparent);
    font-size: 0.875rem;
    line-height: 1.75;
}

.home-affiliate-dots {
    display: flex;
    gap: 0.4375rem;
    margin-top: clamp(1rem, 2.4vw, 1.25rem);
}

.home-affiliate-dot {
    width: 0.4375rem;
    height: 0.4375rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-card, #fff) 28%, transparent);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.home-affiliate-dot:hover {
    background: color-mix(in srgb, var(--color-card, #fff) 50%, transparent);
}

.home-affiliate-dot.is-active {
    width: 1.25rem;
    background: var(--color-brand, #e23a2e);
}

.home-affiliate-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: clamp(1rem, 2.4vw, 1.25rem);
    height: 2.75rem;
    padding-inline: 1.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-brand, #e23a2e);
    color: var(--color-brand-foreground, #fff);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.home-affiliate-cta:hover {
    background: var(--color-brand-dark, #c22f24);
    color: var(--color-brand-foreground, #fff);
}

.home-affiliate-note {
    margin: 1rem 0 0;
    text-align: center;
    color: color-mix(in srgb, var(--color-card, #fff) 50%, transparent);
    font-size: 0.75rem;
}

/* —— reviews —— */
.home-reviews-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--home-gap-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-lg);
    background: var(--color-card, #fff);
}

.home-reviews-intro {
    flex: 1 1 min(100%, 20rem);
    min-width: 0;
}

.home-reviews-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
    background: var(--color-brand-soft, #fff4f2);
    color: var(--color-brand, #e23a2e);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-reviews-heading {
    margin: 0 0 0.625rem;
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--home-ink);
}

.home-reviews-desc {
    margin: 0;
    color: var(--home-ink-2);
    font-size: 0.875rem;
    line-height: 1.75;
}

.home-reviews-widget {
    flex: 1 1 min(100%, 17rem);
    padding: clamp(1.125rem, 2.8vw, 1.5rem);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-bg);
    text-align: center;
}

.home-reviews-widget-label {
    margin: 0 0 0.875rem;
    color: var(--home-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-reviews-stars {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.home-reviews-stars img {
    width: min(100%, 12.5rem);
    height: auto;
}

.home-reviews-widget-box {
    max-width: 26rem;
    margin-inline: auto;
}

.home-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: var(--color-card, #fff);
    color: var(--home-ink);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.home-reviews-btn:hover {
    border-color: var(--color-positive, #00b67a);
    color: var(--home-ink);
}

.home-reviews-btn svg {
    color: var(--color-positive, #00b67a);
}

.home-reviews-widget-note {
    margin: 0.875rem 0 0;
    color: var(--home-muted);
    font-size: 0.6875rem;
}

/* —— latest posts —— */
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
    gap: var(--home-gap-lg);
    align-items: stretch;
}

.home-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-lg);
    background: var(--color-card, #fff);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.home-news-card:hover {
    box-shadow: 0 12px 30px color-mix(in srgb, var(--color-foreground, #111214) 9%, transparent);
    transform: translateY(-2px);
}

.home-news-art {
    position: relative;
    aspect-ratio: 1200 / 630;
    overflow: hidden;
    background: var(--home-bg);
}

.home-news-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-tag {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-header, #0b0b0c) 74%, transparent);
    color: var(--color-brand-foreground, #fff);
    font-size: 0.6875rem;
    font-weight: 600;
}

.home-news-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: clamp(0.875rem, 2.2vw, 1.125rem);
}

.home-news-heading {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.home-news-heading a {
    color: var(--home-ink);
    text-decoration: none;
}

.home-news-card:hover .home-news-heading a {
    color: var(--color-brand, #e23a2e);
}

.home-news-abstract {
    margin: 0 0 0.75rem;
    display: -webkit-box;
    overflow: hidden;
    color: var(--home-ink-2);
    font-size: 0.8125rem;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-news-date {
    margin-top: auto;
    color: var(--home-muted);
    font-size: 0.75rem;
}

/* —— breakpoints（集中放末尾，避免被后写基样式盖掉） —— */

/* ≥720：文案 / 插画各约一半 */
@media (min-width: 720px) {
    .home-banner-in {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(1rem, 3vw, 2.5rem);
    }

    .home-banner-art {
        display: flex;
    }
}

@media (max-width: 719px) {
    .home-banner-art {
        display: none;
    }
}

@media (min-width: 1024px) {
    .home-trending-desktop {
        display: grid;
    }

    .home-trending-mobile {
        display: none;
    }
}

/* ≤1000px：首页关键文案略缩小 */
@media (max-width: 1000px) {
    .home-cate-label {
        font-size: 0.8rem;
    }

    .home-cate {
        padding: 0.2rem 0.5rem;
    }

    .home-banner-pts li {
        font-size: 0.8rem;
    }

    .home-banner-cta {
        font-size: 1rem;
    }

    .home-trending-offers {
        font-weight: 400;
    }

    .home-sec-title small {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-banner-slide,
    .home-affiliate-slide,
    .home-banner-dot,
    .home-affiliate-dot,
    .home-trending-col,
    .home-news-card {
        transition: none;
    }
}
