/* ═══════════════════════════════════════════════════
   Content Hub — Product & Blog List Page
   100% 还原参考站 ContentHero + 卡片列表
   断点: 1200 / 1024 / 576
   ═══════════════════════════════════════════════════ */

/* ── Hero Section ── */
.ContentHero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}
.ContentHero:before {
    content: "";
    position: absolute;
    width: 60vw;
    height: 535px;
    left: calc(-50vw + 50%);
    top: 0;
    background-color: #F4F4F4;
    animation: fromLeft .3s forwards;
    z-index: 0;
}
@keyframes fromLeft {
    0%   { width: 30vw; }
    100% { width: 60vw; }
}

.ContentHero-info {
    flex: 1;
    max-width: 500px;
    padding: 100px 50px 100px 0;
    position: relative;
    z-index: 2;
}

.p--border {
    padding-left: 15px;
    border-left: 1px solid #272f31;
}

.ContentHero-info_category {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 1.2px;
    color: #272f31;
    margin: 25px 0;
    font-weight: 400;
}

.ContentHero-info_title {
    text-transform: capitalize;
    color: #272f31;
    font-size: 44px;
    line-height: 52px;
    font-weight: 700;
    margin: 25px 0 35px;
}

.ContentHero-info .p-regular { color: #272f31; }
.p-regular--md {
    font-size: 16px;
    line-height: 30px;
    letter-spacing: .64px;
}

.ContentHero-featured {
    width: 589px;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    flex-shrink: 0;
}

.ContentHero-article {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 54px 0 0 54px;
    text-decoration: none;
    color: inherit;
}
.ContentHero-article:hover .ContentHero-article_title {
    color: #ff6d45;
}

.ContentHero-article_square {
    position: absolute;
    width: 54px; height: 54px;
    top: 0; left: 0;
    background-color: #272f31;
}

.ContentHero-article_thumb {
    border-bottom-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: hidden;
    height: 535px;
}
.ContentHero-article_thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.ContentHero-article_category {
    text-transform: uppercase;
    margin-top: 24px;
    color: #676d6e;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 1.2px;
    font-weight: 400;
}

.ContentHero-article_title {
    transition: all .4s;
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #272f31;
}

/* ── Card Grid ── */
.ContentHubFeed-Results {
    margin-top: 80px;
}
.ContentHubFeed-Results__Title {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.ContentHubFeed-Results__Title span {
    color: #272f31;
    margin: 0;
    font-family: 'PolySans-Median', sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: .8px;
    font-weight: 400;
}
.ContentHubFeed-Results__Title .results_count {
    margin-left: 16px;
    color: #ff6d45;
    background-color: #ffe5de;
    border-radius: 5px;
    padding: 3px 15px;
}

.ContentHubFeed-Results__Cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 64px 57px;
}

.card-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.card-wrapper a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-image {
    height: auto !important;
    position: relative;
    overflow: hidden;
}
.card-image:before {
    position: absolute;
    content: "";
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,.4);
    transition: all .2s;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}
.card-wrapper:hover .card-image:before { opacity: 1; }
.card-image img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    display: block;
    transition: transform .3s;
}
.card-time {
    position: absolute;
    left: 24px; bottom: 24px;
    font-size: 12px;
    padding: 10px 15px;
    background-color: #fff;
    color: #272f31;
    text-transform: uppercase;
    z-index: 2;
    transform: translateY(80px);
    transition: all .2s;
    font-family: 'PolySans-Median', sans-serif;
    font-weight: 400;
}
.card-wrapper:hover .card-time { transform: translateY(0); }

.cat_and_tag {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 8px;
}
.cat_and_tag .category {
    margin-right: 8px;
    display: flex;
    flex-wrap: wrap;
}
.cat_and_tag .cat-name {
    text-transform: uppercase;
    font-family: 'PolySans-SlimMono', monospace, sans-serif;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 1.2px;
    color: #272f31;
    margin-right: 8px;
}
.cat_and_tag .tag { display: flex; }
.cat_and_tag .tag-name {
    text-transform: uppercase;
    font-family: 'PolySans-SlimMono', monospace, sans-serif;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 1.2px;
    color: #272f31;
    margin-right: 8px;
}
.card-title { transition: all .3s; }
.card-title span {
    color: #333;
    margin: 0;
    font-family: 'PolySans-Median', sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: .8px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
.card-wrapper:hover .card-title span {
    color: #ff6d45;
}

/* ── Pagination ── */
.pagination-nav {
    margin: 50px 0 30px;
    text-align: center;
}
.pagination-nav ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 6px;
    margin: 0;
}
.pagination-nav ul li { display: inline-block; }
.pagination-nav ul li a,
.pagination-nav ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all .2s;
}
.pagination-nav ul li a:hover {
    border-color: #ff6d45;
    color: #ff6d45;
}
.pagination-nav ul li .current {
    background: #272f31;
    color: #fff;
    border-color: #272f31;
}

/* ── Empty State ── */
.ContentHubFeed-empty {
    text-align: center;
    padding: 60px 20px;
    color: #676d6e;
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════
   Responsive — 精确匹配对标站断点
   1199 / 991 / 768 / 550 / 430 / 375
   ═══════════════════════════════════════════════════ */

/* ── ≤ 1199px (tablet landscape) ── */
@media screen and (max-width: 1199px) {
    .ContentHero:before { height: 420px; }
    .ContentHero-info { padding: 30px 0 30px 0; }
    .ContentHero-info_category { margin-top: 0; margin-bottom: 20px; }
    .ContentHero-info_title { font-size: 34px; line-height: 42px; margin: 0 0 15px; }
    .ContentHero-featured { width: 470px; }
    .ContentHero-article { padding: 30px 0 0 30px; }
    .ContentHero-article_square { width: 30px; height: 30px; }
    .ContentHero-article_thumb { height: 440px; }
    .ContentHubFeed-Results__Cards { grid-gap: 40px; }
}

/* ── ≤ 991px (tablet portrait → 2 columns) ── */
@media screen and (max-width: 991px) {
    .ContentHero:before { height: 320px; }
    .ContentHero-info .p-regular { font-size: 14px; line-height: 22px; }
    .ContentHero-info_category { margin-top: 0; }
    .ContentHero-featured { width: 370px; }
    .ContentHero-article_thumb { height: 340px; }
    .ContentHubFeed-Results__Cards {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 40px 20px;
    }
}

/* ── ≤ 768px (mobile — 核心修复，对标站 ≤767.98px) ── */
@media screen and (max-width: 768px) {
    .fl-page-content .fl-row-content-wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .fl-page-content .fl-row-content.fl-row-fixed-width {
        max-width: 100%;
        padding: 0;
    }

    .ContentHero { margin-bottom: 0; flex-wrap: wrap; }
    .ContentHero:before {
        width: 100vw !important;
        height: 70%;
        animation: unset !important;
    }
    .ContentHero-info {
        padding: 60px 0 30px 0;
        max-width: 100%;
        width: 100%;
    }
    .ContentHero-info_category {
        font-size: 12px;
        line-height: 24px;
        margin: 15px 0;
    }
    .ContentHero-info_title {
        font-size: 32px;
        line-height: 36px;
        margin: 0 0 15px;
    }
    .ContentHero-info .p-regular {
        font-size: 14px;
        line-height: 22px;
        letter-spacing: .56px;
    }
    .ContentHero-featured {
        width: 100%;
        overflow: visible;
        animation: unset;
    }
    .ContentHero-article { padding: 0; }
    .ContentHero-article_square { display: none; }
    .ContentHero-article_thumb {
        border-bottom-left-radius: 0;
        border-top-right-radius: 0;
        margin-left: -20px;
        margin-right: -20px;
        max-height: 320px;
        height: auto;
    }
    .ContentHero-article_category { margin-top: 20px; }
    .ContentHero-article_title { font-size: 18px; line-height: 1.4; }

    .ContentHubFeed-Results { margin-top: 40px; }
    .ContentHubFeed-Results__Cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 30px 15px;
    }
    .card-title span {
        font-size: 16px !important;
        line-height: 22px !important;
        letter-spacing: .4px !important;
    }
    .cat_and_tag {
        margin-top: 16px;
        margin-bottom: 4px;
    }
    .cat_and_tag .cat-name,
    .cat_and_tag .tag-name {
        font-size: 11px;
        letter-spacing: 1px;
    }
    .card-time {
        left: 16px !important;
        bottom: 16px !important;
        padding: 8px 12px !important;
        font-size: 11px !important;
    }
}

/* ── ≤ 550px (小屏手机 → 单列，对标站 ≤550px) ── */
@media screen and (max-width: 550px) {
    .ContentHero-info { padding: 50px 0 20px 0; }
    .ContentHero-info_title { font-size: 28px; line-height: 34px; }
    .ContentHero-info .p-regular { font-size: 13px; line-height: 20px; }
    .ContentHero-article_thumb { max-height: 240px; }
    .ContentHubFeed-Results__Cards {
        grid-template-columns: 1fr !important;
        grid-gap: 30px !important;
    }
    .card-title span {
        font-size: 18px !important;
        line-height: 26px !important;
    }
}

/* ── ≤ 430px ── */
@media screen and (max-width: 430px) {
    .ContentHero-info_title { font-size: 26px; line-height: 32px; }
    .fl-page-content .fl-row-content-wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .ContentHero-article_thumb {
        margin-left: -16px;
        margin-right: -16px;
    }
}

/* ── ≤ 375px ── */
@media screen and (max-width: 375px) {
    .ContentHero-info_title { font-size: 24px; line-height: 30px; }
    .ContentHero-info .p-regular { font-size: 12px; line-height: 19px; }
    .card-title span {
        font-size: 16px !important;
        line-height: 22px !important;
    }
}
