/* ═══════════════════════════════════════════════════
   Product Page — IoT 硬件与设备洞察
   精确匹配 verytechnology.com/iot-hardware-devices-insights
   断点: 1199 / 991 / 768 / 575
   ═══════════════════════════════════════════════════ */

/* ── Page-level overflow guard ── */
.fl-page-content,
.fl-content-full,
.fl-builder-content {
    overflow-x: hidden;
}

/* ── Card Image: auto height like reference ── */
.ContentHubFeed-Results__Cards .card-wrapper .card-image {
    height: auto !important;
    aspect-ratio: auto !important;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}
.ContentHubFeed-Results__Cards .card-wrapper .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;
}
.ContentHubFeed-Results__Cards .card-wrapper:hover .card-image::before { opacity: 1; }
.ContentHubFeed-Results__Cards .card-wrapper .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.ContentHubFeed-Results__Cards .card-wrapper:hover .card-image img {
    transform: scale(1.05);
}

/* ── Card time badge ── */
.ContentHubFeed-Results__Cards .card-wrapper .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;
    opacity: 1;
    border-radius: 0;
}
.ContentHubFeed-Results__Cards .card-wrapper:hover .card-time {
    transform: translateY(0);
}

/* ── Card categories / tags ── */
.ContentHubFeed-Results__Cards .card-wrapper .cat_and_tag {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 8px;
    gap: 0;
}
.ContentHubFeed-Results__Cards .card-wrapper .cat_and_tag .category {
    margin-right: 8px;
    display: flex;
    flex-wrap: wrap;
}
.ContentHubFeed-Results__Cards .card-wrapper .cat_and_tag .cat-name,
.ContentHubFeed-Results__Cards .card-wrapper .cat_and_tag .tag-name {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 1.2px;
    color: #272f31;
    margin-right: 8px;
}

/* ── Card title ── */
.ContentHubFeed-Results__Cards .card-wrapper .card-title {
    transition: all .3s;
    margin-top: 10px;
}
.ContentHubFeed-Results__Cards .card-wrapper .card-title span {
    color: #333;
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: .8px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
.ContentHubFeed-Results__Cards .card-wrapper:hover .card-title span { color: #ff6d45; }

/* ── Grid: desktop 3 columns, gap 64px 57px ── */
.ContentHubFeed-Results__Cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-gap: 64px 57px !important;
}

/* ── Results area ── */
.ContentHubFeed-Results {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* ═══ Pagination — 从 blog-page.css 移植 ═══ */
.blog-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25%;
    margin-top: 100px;
}
.blog-pager-arrow {
    position: relative;
    display: block;
    width: 48px; height: 48px;
    background-color: #272f31;
    flex-shrink: 0;
    transition: background-color .3s;
    cursor: pointer;
}
.blog-pager-arrow::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.blog-pager-prev::before {
    transform: translate(-50%, -50%);
    border-right: 12px solid #fff;
}
.blog-pager-next::before {
    transform: translate(-50%, -50%);
    border-left: 12px solid #fff;
}
.blog-pager-arrow:hover { background-color: #ff6d45; }
.blog-pager-disabled {
    opacity: .3;
    pointer-events: none;
}
.blog-pager-nums {
    display: flex;
    align-items: center;
}
.blog-pager-num {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: .72px;
    color: rgba(0,0,0,.5);
    text-decoration: none;
    margin: 0 12px;
    cursor: pointer;
    transition: color .2s;
}
.blog-pager-num:hover { color: #000; }
.blog-pager-num.is-active {
    color: #000;
    pointer-events: none;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   Responsive — 精确匹配对标站断点
   ═══════════════════════════════════════════════════ */

/* ── ≤ 1199px ── */
@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 !important; }
}

/* ── ≤ 991px ── */
@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 { padding: 30px 0 0 30px; }
    .ContentHero-article_square { width: 30px; height: 30px; }
    .ContentHero-article_thumb { height: 340px; }
    .ContentHubFeed-Results__Cards { grid-gap: 40px 20px !important; }
    .blog-pager {
        margin-top: 60px;
        padding: 0 40px;
    }
}

/* ── ≤ 768px (mobile — 核心修复) ── */
@media screen and (max-width: 768px) {
    /* Hero → 纵向堆叠 */
    .ContentHero { margin-bottom: 0; flex-wrap: wrap; }
    .ContentHero:before {
        width: 100vw !important;
        height: 70%;
        animation: unset !important;
    }
    .ContentHero-info {
        padding: 100px 50px 100px 0;
        max-width: 100%;
        width: 100%;
    }
    .ContentHero-info_category { font-size: 12px; line-height: 24px; }
    .ContentHero-info_title { font-size: 32px; line-height: 36px; }
    .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; }

    /* Card Grid → 2 列 */
    .ContentHubFeed-Results__Cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-gap: 20px 10px !important;
    }

    /* Card title 缩小 */
    .ContentHubFeed-Results__Cards .card-wrapper .card-title span {
        font-size: 16px;
        line-height: 22px;
        letter-spacing: .4px;
    }
    .ContentHubFeed-Results__Cards .card-wrapper .cat_and_tag {
        margin-top: 16px;
        margin-bottom: 4px;
    }
    .ContentHubFeed-Results__Cards .card-wrapper .cat_and_tag .cat-name,
    .ContentHubFeed-Results__Cards .card-wrapper .cat_and_tag .tag-name {
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* Results area */
    .ContentHubFeed-Results { padding: 40px 0 50px; }

    /* Pagination */
    .blog-pager {
        margin-top: 40px;
        padding: 0 10px;
        position: relative;
    }
    .blog-pager-arrow {
        width: 28px;
        height: 38px;
    }
    .blog-pager-arrow::before {
        border-top-width: 6px;
        border-bottom-width: 6px;
    }
    .blog-pager-prev::before { border-right-width: 9px; }
    .blog-pager-next::before { border-left-width: 9px; }
    .blog-pager-num { margin: 0 8px; font-size: 15px; }

    /* Row wrap mobile 间距 — 限制在页面内容区 */
    .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;
    }
}

/* ── ≤ 575px (小屏手机 — 单列) ── */
@media screen and (max-width: 575px) {
    /* Card Grid → 单列 */
    .ContentHubFeed-Results__Cards {
        grid-template-columns: 1fr !important;
        grid-gap: 20px 10px !important;
    }

    /* Hero info */
    .ContentHero-info { padding: 60px 0 20px 0; }
    .ContentHero-info_title { font-size: 28px; line-height: 34px; }
    .ContentHero-info .p-regular { font-size: 13px; line-height: 20px; }

    /* Hero featured thumb 更低 */
    .ContentHero-article_thumb { max-height: 240px; }

    /* Card title 进一步缩小 */
    .ContentHubFeed-Results__Cards .card-wrapper .card-title span {
        font-size: 15px;
        line-height: 21px;
    }

    /* Pagination 更紧凑 */
    .blog-pager { padding: 0 5px; }
    .blog-pager-num { margin: 0 5px; font-size: 14px; }
}

/* ── ≤ 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;
    }
}

/* ── ≤ 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; }
    .ContentHubFeed-Results__Cards .card-wrapper .card-title span {
        font-size: 14px;
        line-height: 20px;
    }
    .blog-pager-num { margin: 0 4px; font-size: 13px; }
    .blog-pager-arrow { width: 24px; height: 34px; }
}
