.ft-homepage {
    --ft-bg: #fff1e5;
    --ft-border: #cec1b2;
    --ft-text: #121212;
    --ft-muted: #666;
    --ft-primary: #0a2463;

    background: var(--ft-bg);
    color: var(--ft-text);
    padding: 16px 0 30px;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ft-homepage h1,
.ft-homepage h2,
.ft-homepage h3,
.ft-homepage h4,
.ft-homepage h5,
.ft-homepage h6 {
    line-height: 1.25 !important;
}

.ft-homepage .hover-image-opacity img[loading="lazy"],
.ft-homepage .hover-image-opacity img {
    opacity: 1 !important;
}

.ft-homepage .hover-image-opacity figure::before {
    display: none;
}

.ft-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(340px, 0.95fr);
    gap: 22px;
    align-items: start;
}

.ft-main {
    min-width: 0;
}

.ft-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    border-bottom: 1px solid var(--ft-border);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.ft-lead-story,
.ft-mid-story,
.ft-trio-card,
.ft-stream-item,
.ft-rail-item,
.ft-rail-module {
    min-width: 0;
}

.ft-lead-image-wrapper,
.ft-mid-image-wrapper,
.ft-trio-image-wrapper,
.ft-stream-image-wrapper,
.ft-promo-image-wrapper {
    margin: 0;
    overflow: hidden;
    border: 1px solid #d2c6b7;
    background: #ddd;
}

.ft-lead-image {
    width: 100%;
    height: 410px;
    object-fit: cover;
    display: block;
}

.ft-lead-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 8px;
    color: #8a7f73;
    font-size: 12px;
}

.ft-topic {
    color: #b51f4a;
    font-weight: 700;
}

.ft-lead-title {
    margin: 0 0 8px;
    font-family: "Noto Serif SC", "Times New Roman", serif;
    font-size: clamp(28px, 2.35vw, 40px);
    line-height: 1.18;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ft-lead-title a,
.ft-mid-title a,
.ft-trio-title a,
.ft-stream-title a,
.ft-promo-title a {
    color: var(--ft-text);
    text-decoration: none;
}

.ft-lead-title a:hover,
.ft-mid-title a:hover,
.ft-trio-title a:hover,
.ft-stream-title a:hover,
.ft-promo-title a:hover,
.ft-rail-link:hover {
    color: var(--ft-primary);
}

.ft-lead-excerpt {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.ft-follow-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #b51f4a;
    color: #b51f4a;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.ft-mid-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-mid-story {
    border-bottom: 1px solid var(--ft-border);
    padding-bottom: 12px;
}

.ft-mid-story:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ft-mid-image {
    width: 100%;
    height: 188px;
    object-fit: cover;
    display: block;
}

.ft-mid-title {
    margin: 8px 0 6px;
    font-family: "Noto Serif SC", "Times New Roman", serif;
    font-size: clamp(20px, 1.55vw, 28px);
    line-height: 1.24;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ft-mid-excerpt {
    margin: 0 0 6px;
    color: var(--ft-muted);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.ft-mid-time {
    color: #8a7f73;
    font-size: 12px;
}

.ft-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
    border-bottom: 1px solid var(--ft-border);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.ft-trio-card {
    display: flex;
    flex-direction: column;
}

.ft-trio-image {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
}

.ft-trio-topic-row {
    margin: 8px 0 6px;
    min-height: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ft-trio-time {
    margin-left: auto;
    color: #8a7f73;
    font-size: 12px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.ft-trio-title {
    margin: 0;
    font-family: "Noto Serif SC", "Times New Roman", serif;
    font-size: clamp(17px, 1.2vw, 23px) !important;
    line-height: 1.3;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.ft-trio-short-note {
    margin: 4px 0 0;
    color: #8a7f73;
    font-size: 12px;
    line-height: 1.3;
}

.ft-block-title {
    margin: 0;
    padding: 8px 0;
    border-top: 3px solid #111;
    border-bottom: 1px solid var(--ft-border);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ft-stream-list {
    display: flex;
    flex-direction: column;
}

.ft-stream-section {
    margin-top: 8px;
    clear: both;
}

.ft-stream-item {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ft-border);
}

.ft-stream-image {
    width: 100%;
    height: 144px;
    object-fit: cover;
    display: block;
}

.ft-stream-title {
    margin: 0 0 6px;
    font-family: "Noto Serif SC", "Times New Roman", serif;
    font-size: clamp(17px, 1.2vw, 22px) !important;
    line-height: 1.34;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ft-stream-excerpt {
    margin: 0 0 6px;
    color: var(--ft-muted);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.ft-stream-body {
    min-width: 0;
}

.ft-stream-meta {
    display: flex;
    gap: 10px;
    color: #8a7f73;
    font-size: 12px;
}

.ft-rail {
    border-left: 1px solid #d7cabc;
    padding-left: 16px;
}

.ft-rail-module {
    border-top: 2px solid #111;
    margin-bottom: 14px;
}

.ft-rail-title {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px dotted var(--ft-border);
    font-size: clamp(24px, 2vw, 38px);
    font-weight: 700;
    font-family: "Noto Serif SC", "Times New Roman", serif;
}

.ft-rail-list {
    display: flex;
    flex-direction: column;
}

.ft-rail-item {
    border-bottom: 1px solid var(--ft-border);
}

.ft-rail-link {
    display: block;
    padding: 9px 0 2px;
    color: #111;
    text-decoration: none;
    font-size: clamp(16px, 1.1vw, 21px);
    line-height: 1.4;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ft-rail-time {
    display: block;
    padding: 0 0 9px;
    color: #8a7f73;
    font-size: 12px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.ft-promo-card {
    padding-top: 10px;
}

.ft-promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ft-promo-title {
    margin: 8px 0 0;
    font-family: "Noto Serif SC", "Times New Roman", serif;
    font-size: clamp(18px, 1.35vw, 28px);
    line-height: 1.26;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ft-promo-time {
    display: block;
    margin: 6px 0 0;
    color: #8a7f73;
    font-size: 12px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.ft-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.ft-tag {
    border: 1px solid #b51f4a;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1;
    color: #b51f4a;
    text-decoration: none;
}

.ft-tag:hover {
    background: #b51f4a;
    color: #fff;
}

.ft-empty-card {
    padding: 10px 0;
}

.ft-homepage .pagination {
    margin-top: 18px;
}

.ft-mobile-market-module {
    display: none;
}

@media (max-width: 1200px) {
    .ft-layout {
        grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
    }

    .ft-stream-item {
        grid-template-columns: 210px minmax(0, 1fr);
    }
}

@media (max-width: 991px) {
    .ft-homepage {
        padding: 10px 0 18px;
    }

    .ft-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ft-rail {
        border-left: 0;
        padding-left: 0;
    }

    .ft-top-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .ft-lead-image {
        height: 56vw;
        min-height: 190px;
        max-height: 250px;
    }

    .ft-lead-title {
        font-size: 24px;
        line-height: 1.22;
        -webkit-line-clamp: 2;
    }

    .ft-lead-excerpt {
        font-size: 14px;
        line-height: 1.5;
        -webkit-line-clamp: 2;
    }

    .ft-follow-pill {
        padding: 1px 7px;
        font-size: 11px;
    }

    .ft-mid-column {
        gap: 10px;
    }

    .ft-mid-story {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 10px;
        padding-bottom: 10px;
    }

    .ft-mid-image {
        height: 86px;
    }

    .ft-mid-title {
        margin: 0 0 4px;
        font-size: 18px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .ft-mid-excerpt {
        margin: 0 0 4px;
        font-size: 13px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .ft-mid-time {
        display: block;
    }

    .ft-trio-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .ft-trio-card {
        display: grid;
        grid-template-columns: 128px minmax(0, 1fr);
        column-gap: 10px;
        align-items: start;
    }

    .ft-trio-image-link {
        grid-column: 1;
        grid-row: 1 / span 3;
    }

    .ft-trio-image {
        height: 90px;
    }

    .ft-trio-topic-row {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 4px;
        min-height: unset;
    }

    .ft-trio-time {
        margin-left: 0;
    }

    .ft-trio-title {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        min-height: unset;
        font-size: 17px !important;
        line-height: 1.34;
        -webkit-line-clamp: 2;
    }

    .ft-trio-short-note {
        grid-column: 2;
        grid-row: 3;
        margin-top: 2px;
        line-height: 1.25;
    }

    .ft-stream-item {
        grid-template-columns: 128px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 0;
    }

    .ft-mobile-market-module {
        display: block;
        margin-bottom: 10px;
    }

    .ft-mobile-market-module .ft-rail-link {
        font-size: 16px;
        line-height: 1.45;
        font-weight: 700;
    }

    .ft-mobile-market-module .ft-rail-time {
        font-size: 12px;
        font-weight: 700;
    }

    .ft-mobile-market-module .ft-rail-title {
        font-size: 24px;
        font-weight: 800;
    }

    .ft-rail .ft-rail-module--market {
        display: none;
    }

    .ft-stream-image {
        height: 90px;
    }

    .ft-stream-title {
        margin: 0 0 4px;
        font-size: 16px !important;
        font-weight: 700;
        line-height: 1.35;
    }

    .ft-stream-excerpt {
        margin: 0 0 4px;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .ft-stream-meta {
        font-size: 11px;
        font-weight: 400;
        gap: 8px;
    }

    .ft-rail-title {
        font-size: 24px;
    }

    .ft-rail-link {
        font-size: 15px;
        line-height: 1.45;
    }
}

@media (max-width: 479px) {
    .ft-lead-image {
        height: 52vw;
        min-height: 170px;
        max-height: 220px;
    }

    .ft-lead-title {
        font-size: 22px;
    }

    .ft-mid-story,
    .ft-trio-card,
    .ft-stream-item {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .ft-mid-image,
    .ft-trio-image,
    .ft-stream-image {
        height: 82px;
    }

    .ft-topic,
    .ft-follow-pill,
    .ft-stream-meta,
    .ft-rail-time {
        font-size: 11px;
    }

    .ft-mobile-market-module .ft-rail-link {
        font-size: 16px;
        font-weight: 700;
    }

    .ft-mobile-market-module .ft-rail-time {
        font-size: 13px;
        font-weight: 700;
    }

    .ft-mobile-market-module .ft-rail-title {
        font-size: 24px;
    }

    .ft-stream-title {
        font-size: 17px !important;
        font-weight: 900 !important;
    }

    .ft-stream-title a {
        font-weight: 900 !important;
    }

    .ft-stream-excerpt {
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .ft-stream-meta {
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .ft-stream-meta span,
    .ft-stream-meta time {
        font-weight: 700 !important;
    }

    .ft-stream-section .ft-block-title {
        font-size: 28px !important;
        font-weight: 900 !important;
    }
}
