/* 718biz.com 纽约生意圈 PC */

body.ep-layout {
    background: #f3f5f8;
    color: #263548;
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.ep-container,
.ep-header-inner,
.ep-footer-inner {
    width: 1280px !important;
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.ep-header {
    background: #fff;
    border-bottom: 2px solid #1768b3;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.biz-home {
    padding: 16px 0 30px;
}

.biz-banner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #174779;
}

.biz-banner img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.biz-category {
    display: grid;
    grid-template-columns: repeat(7,minmax(0,1fr));
    gap: 12px;
    padding: 22px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
}

.biz-category a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 5px;
    color: #263548;
    font-size: 15px;
    text-decoration: none;
    border-radius: 8px;
}

.biz-category a:hover {
    background: #edf5ff;
    color: #1768b3;
}

.biz-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #1768b3;
    font-size: 22px;
    font-weight: bold;
}

.biz-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 16px;
}

.biz-section-title h2 {
    font-size: 22px;
    font-weight: bold;
    color: #203b58;
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid #1768b3;
}

.biz-section-title a {
    color: #1768b3;
    font-size: 14px;
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}

.biz-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.biz-card:hover {
    box-shadow: 0 8px 24px rgba(24,58,94,.10);
    transform: translateY(-2px);
}

.biz-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background: #edf2f7;
    overflow: hidden;
}

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

.biz-top {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: #e44848;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.biz-card-body {
    padding: 16px;
}

.biz-card-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.biz-card-title a {
    color: #24364b;
    text-decoration: none;
}

.biz-card-title a:hover {
    color: #1768b3;
}

.biz-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

.biz-contact {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
    color: #526276;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.biz-contact i {
    color: #1768b3;
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.biz-contact a {
    color: #1768b3;
}

.biz-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf0f4;
    font-size: 13px;
    color: #94a3b8;
}

.biz-card-bottom a {
    color: #1768b3;
}

.biz-loadmore {
    display: block;
    margin: 26px auto;
    width: 220px;
    padding: 12px;
    background: #fff;
    border: 1px solid #d6e1ed;
    color: #1768b3;
    border-radius: 6px;
    cursor: pointer;
}

.biz-loadmore:disabled {
    color: #999;
    cursor: default;
}

/* 首页第二次优化 */

.biz-home {
    padding-top: 0;
}

.biz-home > .biz-section-title:first-child {
    margin-top: 0;
}

.biz-category {
    grid-template-columns: repeat(7,minmax(0,1fr));
    padding: 14px;
    gap: 10px;
}

.biz-category a {
    padding: 10px 5px;
}

.biz-category-icon {
    width: 54px;
    height: 54px;
    font-size: 25px;
}

.biz-section-title {
    margin: 20px 0 14px;
}

.biz-grid {
    align-items: start;
    gap: 18px;
}

.biz-card-title {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.biz-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.8;
}

.biz-card-body {
    padding: 14px 16px;
}

.biz-card-bottom {
    margin-top: 12px;
}


/* 通用栏目及分类筛选 */

.biz-page {
    padding-bottom: 30px;
}

.biz-page-heading {
    margin: 16px 0 20px;
    font-size: 26px;
    font-weight: bold;
    color: #203b58;
}

.biz-filter {
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 10px;
    padding: 8px 22px;
    margin-bottom: 22px;
}

.biz-filter-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f4;
}

.biz-filter-row:last-child {
    border-bottom: 0;
}

.biz-filter-label {
    width: 90px;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: bold;
    color: #34465a;
    line-height: 34px;
}

.biz-filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.biz-filter-options a {
    display: inline-block;
    padding: 7px 15px;
    background: #f4f6f9;
    color: #43536a;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    line-height: 20px;
}

.biz-filter-options a:hover {
    background: #eaf3ff;
    color: #1768b3;
}

.biz-filter-options a.active {
    background: #1768b3;
    color: #fff;
}

.biz-subcategory {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    padding: 18px;
    border: 1px solid #e2e7ed;
    border-radius: 10px;
    margin-bottom: 20px;
}

.biz-subcategory:empty {
    display: none;
}

.biz-subcategory a {
    padding: 9px 20px;
    border-radius: 5px;
    background: #edf4fc;
    color: #1768b3;
    text-decoration: none;
}

.biz-subcategory a:hover {
    background: #1768b3;
    color: #fff;
}

.biz-page .xrpagination {
    margin: 30px 0;
    text-align: center;
}



/* ===== 718biz 统一搜索页面 ===== */

.biz-search-box {
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 22px;
}

#biz-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.biz-search-label {
    font-size: 15px;
    font-weight: 600;
    color: #243b53;
    flex-shrink: 0;
    min-width: 80px;
}

#biz-search-keyword {
    width: 420px;
    max-width: 60%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dce3ec;
    border-radius: 6px;
    background: #fff;
    color: #243b53;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

#biz-search-keyword:focus {
    border-color: #1769b3;
}

#biz-search-form button {
    height: 42px;
    padding: 0 24px;
    background: #1769b3;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

#biz-search-form button:hover {
    background: #12578f;
}

.biz-search-clear {
    color: #8493a5;
    font-size: 14px;
}

.biz-search-empty {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    color: #8493a5;
}

.biz-search-empty > i {
    font-size: 32px;
    margin-bottom: 15px;
}

.biz-search-empty a {
    color: #1769b3;
}



/* ===== 718biz 统一详情页面 ===== */

.biz-detail {
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.biz-detail-title {
    font-size: 28px;
    line-height: 1.5;
    font-weight: 700;
    color: #203b52;
    margin: 0 0 16px;
    overflow-wrap: anywhere;
}

.biz-detail-top {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 14px;
    padding: 3px 9px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 8px;
}

.biz-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    color: #8998ab;
    font-size: 14px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf0f4;
}

.biz-detail-meta a {
    color: #1769b3;
}

.biz-detail-gallery {
    width: 100%;
    margin-bottom: 26px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f7fa;
}

.biz-detail-swiper {
    width: 100%;
    height: 520px;
}

.biz-detail-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.biz-detail-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.biz-detail-single {
    display: block;
    max-width: 100%;
    max-height: 520px;
    width: auto;
    height: auto;
    margin: 0 auto;
    cursor: zoom-in;
}

.biz-detail-contact {
    background: #f0f6fd;
    border: 1px solid #dce9f8;
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 28px;
}

.biz-detail-contact h2,
.biz-detail-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #203b52;
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 4px solid #1769b3;
}

.biz-contact-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 17px;
    line-height: 1.8;
    margin: 10px 0;
    color: #42566d;
    overflow-wrap: anywhere;
}

.biz-contact-row > i {
    width: 20px;
    text-align: center;
    color: #1769b3;
}

.biz-contact-row a,
.biz-contact-row strong {
    color: #1769b3;
    font-weight: 600;
}

.biz-detail-content {
    margin: 28px 0;
}

.biz-detail-content .neirong {
    font-size: 17px;
    line-height: 1.9;
    color: #34465a;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

.biz-detail-content .neirong img {
    max-width: 100% !important;
    height: auto !important;
    vertical-align: middle;
}

.biz-detail-content .neirong iframe,
.biz-detail-content .neirong video {
    max-width: 100% !important;
}

.biz-detail-notice {
    padding: 15px 18px;
    margin-top: 30px;
    border-radius: 6px;
    background: #f5f7fa;
    color: #8493a5;
    font-size: 14px;
    line-height: 1.8;
}

.biz-detail-bottom {
    text-align: center;
    padding-top: 26px;
}

.biz-detail-bottom a {
    display: inline-block;
    background: #1769b3;
    color: #fff !important;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 15px;
    text-decoration: none;
}

.biz-detail-bottom a:hover {
    background: #12578f;
}

#biz-preview {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

#biz-preview-image {
    display: block;
    max-width: 94vw;
    max-height: 92vh;
    object-fit: contain;
}

.biz-preview-close {
    position: absolute;
    top: 15px;
    right: 28px;
    font-size: 46px;
    color: #fff;
    cursor: pointer;
}



/* PC栏目卡片瀑布流 */
.biz-masonry.biz-masonry-ready {
    display: block;
    position: relative;
    width: 100%;
}

.biz-masonry-ready > .biz-card {
    position: absolute;
    box-sizing: border-box;
    margin: 0;
}

/* PC筛选分类隐藏左侧标题 */
.biz-filter-label {
    display: none !important;
}

.biz-filter-row {
    gap: 0 !important;
}

.biz-filter-row > :not(.biz-filter-label) {
    flex: 1;
    min-width: 0;
}


/* 卡片底部类别、地区、日期 */
.biz-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.biz-card-meta .biz-meta-category,
.biz-card-meta .biz-meta-area {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.biz-card-meta .biz-meta-category {
    background: #eaf2fc;
    color: #1769b3;
}

.biz-card-meta .biz-meta-area {
    background: #eaf5ed;
    color: #32834c;
}

.biz-card-meta .biz-meta-date {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

.biz-card-bottom,
.biz-m-card-bottom {
    gap: 8px;
}

.biz-card-bottom > a,
.biz-m-card-bottom > a {
    flex-shrink: 0;
    white-space: nowrap;
}

/* 首页信息分类彩色图标 */
.biz-category a:nth-child(1) .biz-category-icon {
    background: #e8f0ff;
    color: #2563eb;
}

.biz-category a:nth-child(2) .biz-category-icon {
    background: #e7f7ed;
    color: #16a34a;
}

.biz-category a:nth-child(3) .biz-category-icon {
    background: #fff0e2;
    color: #ea580c;
}

.biz-category a:nth-child(4) .biz-category-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.biz-category a:nth-child(5) .biz-category-icon {
    background: #e0f7fa;
    color: #0891b2;
}

.biz-category a:nth-child(6) .biz-category-icon {
    background: #fee9e9;
    color: #dc2626;
}

.biz-category a:nth-child(7) .biz-category-icon {
    background: #fff5d6;
    color: #ca8a04;
}

.biz-category-icon {
    transition: transform .2s ease;
}

.biz-category a:hover .biz-category-icon {
    transform: translateY(-3px);
}


/* 卡片分类和地区链接 */
.biz-card-meta a.biz-meta-category {
    background: #eaf2fc;
    color: #1769b3 !important;
    text-decoration: none !important;
}

.biz-card-meta a.biz-meta-area {
    background: #eaf5ed;
    color: #32834c !important;
    text-decoration: none !important;
}

.biz-card-meta a:hover {
    opacity: .8;
}


/* 卡片浏览次数样式 */
.biz-card-meta .biz-meta-hits {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    white-space: nowrap;
    flex-shrink: 0;
}

.biz-meta-hits i {
    font-size: 12px;
    color: #999;
}

.biz-card-meta {
    flex-wrap: wrap;
}


/* 房屋售价标签 */
.biz-cover {
    position: relative;
}

.biz-price {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: #e53935;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.biz-cover .biz-top {
    left: auto !important;
    right: 12px !important;
}

.biz-price-text {
    color: #e53935;
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0;
}

/* 纽约生活网首页适配 */

.ep-header-inner,
.ep-container,
.ep-footer-inner {
    width: 1280px;
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
}

.ep-nav-item > a {
    font-size: 14px;
    padding-left: 9px;
    padding-right: 9px;
    white-space: nowrap;
}

.ep-logo img {
    max-width: 160px;
    height: auto;
}

.biz-category {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
}

.biz-category a {
    min-width: 0;
}

.biz-category a:nth-child(8) .biz-category-icon {
    color: #db2777;
    background: #fce7f3;
}

.biz-category a:nth-child(9) .biz-category-icon {
    color: #4f46e5;
    background: #e0e7ff;
}

.biz-category a:nth-child(10) .biz-category-icon {
    color: #475569;
    background: #e2e8f0;
}

.biz-banner {
    height: auto !important;
    aspect-ratio: 4 / 1;
}

.biz-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.biz-price {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(220, 38, 38, .94);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
}

.biz-cover {
    position: relative;
}


/* 修复图片价格标签高度 */
.biz-cover .biz-price,
.biz-price {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    bottom: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: inline-block !important;
    padding: 6px 12px;
    line-height: 1.4;
    background: #e53935;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 5;
}


/* 纽约地区标签 */
.biz-meta-area {
    display: inline-block;
    padding: 3px 7px;
    background: #e8f5e9;
    color: #16803d !important;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.biz-meta-area:hover {
    background: #d5efdc;
}

.biz-card-meta {
    flex-wrap: wrap;
    gap: 5px;
}


/* NY-PC-NAV-START */

.ep-header-inner {
    width: 1280px !important;
    max-width: calc(100% - 32px) !important;
    padding: 0 !important;
    gap: 14px !important;
    align-items: center;
}

.ep-logo {
    flex-shrink: 0;
}

.ep-logo img {
    max-width: 160px;
    height: auto;
}

.ep-nav {
    flex: 1;
    min-width: 0;
}

.ep-nav > ul {
    flex-wrap: nowrap !important;
    gap: 0 !important;
    align-items: center;
}

.ep-nav-item {
    flex-shrink: 0;
}

.ep-nav-item > a {
    font-size: 14px !important;
    padding: 0 7px !important;
    white-space: nowrap;
}

.ep-nav-item > a .ep-nav-arrow {
    margin-left: 3px;
    font-size: 9px;
}

.ep-header-actions {
    flex-shrink: 0;
    gap: 8px !important;
}

@media (max-width: 1200px) {
    .ep-header-inner {
        gap: 8px !important;
    }

    .ep-logo img {
        max-width: 130px;
    }

    .ep-nav-item > a {
        font-size: 13px !important;
        padding: 0 4px !important;
    }
}

/* NY-PC-NAV-END */

/* NY-PC-WIDTH-START */

.ep-header-inner,
.ep-container,
.ep-footer-inner {
    width: 1280px !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* NY-PC-WIDTH-END */

/* PC底部宽度对齐 */
.ep-footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* NY-PC-NAV-12-START */

.biz-home .biz-category {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 14px 10px !important;
}

.biz-home .biz-category a {
    min-width: 0;
    padding: 10px 2px !important;
    font-size: 15px !important;
    white-space: nowrap;
    text-align: center;
    gap: 10px;
}

.biz-home .biz-category-icon {
    width: 54px !important;
    height: 54px !important;
    border-radius: 12px !important;
    font-size: 25px !important;
}

@media (max-width: 1000px) {
    .biz-home .biz-category {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

.biz-home .biz-category a:nth-child(1) .biz-category-icon {
    background: #e8f0ff !important;
    color: #2563eb !important;
}

.biz-home .biz-category a:nth-child(2) .biz-category-icon {
    background: #e7f7ed !important;
    color: #16a34a !important;
}

.biz-home .biz-category a:nth-child(3) .biz-category-icon {
    background: #fff0e2 !important;
    color: #ea580c !important;
}

.biz-home .biz-category a:nth-child(4) .biz-category-icon {
    background: #f3e8ff !important;
    color: #9333ea !important;
}

.biz-home .biz-category a:nth-child(5) .biz-category-icon {
    background: #e0f7fa !important;
    color: #0891b2 !important;
}

.biz-home .biz-category a:nth-child(6) .biz-category-icon {
    background: #fee9e9 !important;
    color: #dc2626 !important;
}

.biz-home .biz-category a:nth-child(7) .biz-category-icon {
    background: #e7f7ed !important;
    color: #16a34a !important;
}

.biz-home .biz-category a:nth-child(8) .biz-category-icon {
    background: #fef3c7 !important;
    color: #ca8a04 !important;
}

.biz-home .biz-category a:nth-child(9) .biz-category-icon {
    background: #e8f0ff !important;
    color: #1769b3 !important;
}

.biz-home .biz-category a:nth-child(10) .biz-category-icon {
    background: #fce7f3 !important;
    color: #db2777 !important;
}

.biz-home .biz-category a:nth-child(11) .biz-category-icon {
    background: #e0f5f1 !important;
    color: #0d9488 !important;
}

.biz-home .biz-category a:nth-child(12) .biz-category-icon {
    background: #ffe4e6 !important;
    color: #e11d48 !important;
}

/* NY-PC-NAV-12-END */
