/* ---------------------首页导航栏------------------------- */
.min-nav {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 16px;
}

.min-nav .nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 70px;
  padding: 5px 10px;
  gap: 16px;
  background-color: var(--bg-primary);
}

.min-nav .nav-item:hover img {
  opacity: 1;
}

.nav-item img {
  width: 40px;
  height: 40px;
  /* 透明度 */
  opacity: 0.7;
}

.nav-ul {
  height: 45px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  font-size: var(--font-size-base);
}

.nav-ul li a {
  color: var(--text-tertiary);
}

/* 第二个li 下的a标签 */
.nav-ul li:nth-child(1) a {
  color: var(--danger-color);
}

/* ---------------------第一屏 本地资讯------------------------- */
.first-screen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

/* 第一屏 左侧 */
.first-screen .left {
  width: 300px;
  height: 790px;
}

/* 第一屏 左侧 顶部 */
.first-screen .left-top {
  background-color: #ffff;
  width: 100%;
  height: 500px;
  padding: 20px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-light);
}

/* 通用 板块 标题 */
.nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 27px;
}

.nav-title .title-text {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-title);
}

.nav-title .title-more {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 信息列表 */
.left-top-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.content-item .content-img {
  position: relative;
  width: 260px;
  height: 146px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.content-item .content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.content-item:hover img {
  transform: scale(1.15);
}

.content-img::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

.content-item .content-title {
  font-weight: 400;
  font-size: 15px;
  color: var(--text-title);
  margin-top: 5px;
}

.content-item:hover .content-title {
  color: var(--danger-color);
}

.content-item .content-description {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
  margin-bottom: 5px;
}

/* 第一屏 左侧 底部 便民导航 */
.first-screen .left-bottom {
  width: 100%;
  height: 290px;
}

.left-bottom {
  box-sizing: border-box;
}

.left-bottom .bottom-title {
  width: 100%;
  height: 40px;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-title);
  text-align: center;
  line-height: 40px;
  background: linear-gradient(to top, #f5f6f7 0%, #e0e3e6 100%);
  border-bottom: 1px solid var(--border-light);
}

.left-bottom .bottom-ul {
  width: 100%;
  height: 250px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  border: 2px solid #f5f6f7;
  gap: 1px;
  font-size: var(--font-size-base);
}

.left-bottom .bottom-ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #f5f6f7;
}

/* 第一屏 右侧 */
.first-screen .right {
  width: 890px;
}

.first-screen .right-top {
  background-color: #ffffff;
  width: 100%;
  height: 410px;
  padding: 0 0 20px 20px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

/* 头条推荐区域 */
.right-top-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70px;
}

.right-top-title .title-left {
  display: flex;
  align-items: center;
}

.title-left .notice {
  display: flex;
  align-items: center;
}

.right-top-title .notice-icon i {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-light);
  margin: 0 10px;
}

/* 我要投稿 */
.right-top-title .title-right {
  display: flex;
  align-items: center;
  margin-right: 20px;
  color: var(--text-tertiary);
  font-size: var(--font-size-base);
}

.title-right i {
  margin-right: 5px;
}

.right-top-title .title-right:hover {
  color: var(--text-muted);
}

/* 第一屏 右侧 底部 */
.first-screen .right-bottom {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  width: 100%;
  height: 370px;
  box-sizing: border-box;
}

/*   左侧 */
.right-bottom .new-left {
  padding: 20px 25px;
  width: 560px;
  height: 370px;
  box-sizing: border-box;
  border-right: 1px solid var(--border-light);
}

/* 左侧 大标题 */
.left-top-list a {
  display: block;
  margin-bottom: 26px;
}

.left-top-list p {
  font-weight: bold;
  font-size: 18px;
  color: var(--text-title);
  margin-bottom: 10px;
}

.left-top-list a span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 左侧 小列表 */
.left-bottom-list div {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.left-bottom-list i {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-light);
  margin-right: 8px;
}

.left-bottom-list .category {
  font-size: 14px;
  color: var(--text-title);
  margin-right: 10px;
}

.left-bottom-list .title {
  font-size: 14px;
  color: var(--text-tertiary);
}

/*  右侧 */
.right-bottom .new-right {
  padding: 20px;
  width: 330px;
  height: 370px;
  box-sizing: border-box;
}

.new-right .list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.new-right a {
  display: flex;
  align-items: baseline;
}

.new-right a .level {
  font-size: 16px;
  font-weight: 600;
  color: #b3b3b3;
  flex-shrink: 0;
  margin-right: 10px;
}

/* 第1个数字是红色 */
.new-right a:nth-child(1) .level {
  color: #ff4d4f;
}

/* 第2个数字是红色 */
.new-right a:nth-child(2) .level {
  color: #ff7a45;
}

/* 第3个数字是红色 */
.new-right a:nth-child(3) .level {
  color: #ffc107;
}

.new-right a .text {
  font-size: 14px;
  margin-right: 60px;
  color: var(--text-title);
}

.new-right a .read {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: auto;
  font-size: var(--font-size-xs);
}

/* 288*105 */
.ad288_105 {
  width: 100%;
  height: 100%;
  margin-top: 10px;
}

.ad288_105 img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

/* ----------------------第二屏  生活信息--------------------- */
.second-life {
  display: flex;
  box-sizing: border-box;
  gap: 10px;
  margin-top: 20px;
}

.second-life .left {
  width: 890px;
  height: 470px;
  background-color: #fff;
}

.second-life .right {
  width: 300px;
  height: 470px;
  background-color: #fff;
}

/* 第二屏  标题 */
.life-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-light);
}

.life-name .name-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-title);
}

.life-name .publish {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--secondary-color);
}

.life-name span {
  padding: 0 12px;
  color: var(--text-secondary);
}

.life-name .more {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--text-secondary);
}

/* 第二屏  左侧 信息列表 */
.life-list {
  display: flex;
  gap: 14px 50px;
  flex-wrap: wrap;
  padding: 25px 20px;
  font-size: var(--font-size-base);
  line-height: 1.5;
}

.life-list .item {
  display: flex;
  align-items: baseline;
  width: calc(50% - 25px);
}

.life-list .item .category {
  color: #5b71ab;
  margin-right: 12px;
  flex-shrink: 0;
}

.life-list .item .detail {
  display: flex;
  flex-grow: 1;
  min-width: 0;
}

.life-list .item .content {
  display: flex;
  align-items: center;
  margin-right: 60px;
  flex-grow: 1;
  min-width: 0;
}

.life-list .item .content .icon {
  font-size: var(--font-size-base);
  color: var(--primary-color);
  flex-shrink: 0;
}

.life-list .item .time {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* 第二屏 右侧 商家列表 */
.second-life .life-shop {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 12px;
}

.shop-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.shop-carousel-track {
  display: flex;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.shop-page {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backface-visibility: hidden;
}

.shop-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
}

.shop-link {
  display: flex;
  align-items: center;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.shop-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.shop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-info {
  flex: 1;
  margin-left: 16px;
  overflow: hidden;
}

.shop-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-name:hover {
  color: var(--primary-light);
}

.shop-area {
  font-size: 12px;
  color: #999;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-btn {
  flex-shrink: 0;
  padding: 8px 15px;
  background: var(--primary-light);
  color: #fff;
  border-radius: 15px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.3s;
}

.shop-btn:hover {
  background: var(--primary-color);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicator.active {
  background: var(--primary-color);
}

/* ----------------------第三屏  房源信息--------------------- */
.three-house {
  display: flex;
  box-sizing: border-box;
  gap: 10px;
  margin-top: 20px;
}

.house-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-light);
}

.house-tab .name {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-title);
}

.house-tab .more {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--text-secondary);
}

/* 第三屏 左侧 */
.three-house .left {
  width: 890px;
  height: 500px;
  background-color: var(--bg-primary);
  overflow: hidden;
}

/* 列表顶部 tab 效果 */
.house-tab .content {
  display: flex;
  align-items: baseline;
  gap: 30px;
}

.house-tab .tab-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

.house-tab .tab-item .item {
  font-size: 15px;
  transition:
    background-color 0.3s ease,
    color 0.5s ease;
  cursor: pointer;
}

.house-tab .tab-item .item.active {
  width: 50px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  color: #ffff;
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
}

.house-tab .publish {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--secondary-color);
}

.house-tab span {
  padding: 0 12px;
  color: var(--text-secondary);
}

/* 列表效果 */
.house-sell,
.house-rent {
  width: 100%;
  padding: 24px 20px 28px;
  display: flex;
  gap: 28px 30px;
  flex-wrap: wrap;
  overflow: auto;

  /* 定义动画的初始和结束状态 */
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.three-house .hidden {
  opacity: 0;
  transform: translateX(-20px);
}

.three-house .hide-display {
  display: none;
}

.house-item {
  display: flex;
  gap: 14px;
  width: calc(50% - 15px);
  cursor: pointer;
}

.house-item .picture {
  position: relative;
  width: 140px;
  height: 105px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.house-item .picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.2s;
}

.house-item:hover img {
  transform: scale(1.15);
}

.house-item .info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding-bottom: 3px;
  flex: 1;
  min-width: 0;
}

.house-item .info .title {
  font-weight: bold;
  font-size: 15px;
  color: #292a33;
  margin-right: 10px;
}

.house-item .info .address {
  display: flex;
  align-items: center;
}

.house-item .info .address .span {
  display: flex;
  font-size: 12px;
  color: var(--text-secondary);
  align-items: center;
  word-break: break-all;
}

.house-item .info .address .add-name {
  margin-right: 8px;
}

.house-item .info .address .text {
  content: "";
  padding: 0px 8px;
  border-left: 1px solid #e6e6e6;
}

.house-item .info .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: Arial;
}

.house-item .info .price div {
  font-weight: bold;
  font-size: 15px;
  color: #fa613e;
}

.house-item .info .price span {
  font-size: 12px;
  color: #999999;
}

.house-item .info .label {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  height: 22px;
  overflow: hidden;
  width: 85%;
}

.house-item .info .label div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  background: #f2f3f7;
  border-radius: 3px;
  padding: 0px 10px;
  font-weight: 400;
  font-size: 12px;
  color: #87a3c4;
}

.house-item .info .label .classify {
  color: #4696f1;
}

/* 第三屏 右侧 */
.three-house .right {
  width: 300px;
  height: 500px;
  background-color: var(--bg-primary);
  box-sizing: border-box;
}

.vill-list {
  margin-top: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vill-list a {
  display: flex;
  align-items: baseline;
}

.vill-list a .level {
  font-size: 16px;
  font-weight: 600;
  color: #b3b3b3;
  flex-shrink: 0;
  margin-right: 10px;
}

/* 第1个数字是红色 */
.vill-list a:nth-child(1) .level {
  color: #ff4d4f;
}

/* 第2个数字是红色 */
.vill-list a:nth-child(2) .level {
  color: #ff7a45;
}

/* 第3个数字是红色 */
.vill-list a:nth-child(3) .level {
  color: #ffc107;
}

.vill-list a .name {
  font-size: 15px;
  margin-right: 60px;
  color: var(--text-title);
}

.vill-list a .price {
  font-size: 15px;
  color: var(--text-secondary);
  margin-left: auto;
  font-size: var(--font-size-xs);
}

/* ----------------------第四屏  求职招聘--------------------- */
.four-job {
  width: 1200px;
  min-height: 580px;
  margin-top: 20px;
  background-color: var(--bg-primary);
  box-sizing: border-box;
}

/* 头部信息 */
.job-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-light);
}

.job-tab .content {
  display: flex;
  align-items: baseline;
  gap: 30px;
}

.job-tab .name {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-title);
}

.job-tab .tab-item {
  display: flex;
  align-items: baseline;
  gap: 30px;
}

.job-tab .tab-item a {
  font-size: 15px;
  transition:
    background-color 0.3s ease,
    color 0.5s ease;
  cursor: pointer;
}

.job-tab .tab-item a:hover {
  color: var(--primary-light);
}

.job-tab .publish {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--secondary-color);
}

.job-tab span {
  padding: 0 12px;
  color: var(--text-secondary);
}

.job-tab .more {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--text-secondary);
}

/* 列表信息 */
.job-list {
  padding: 5px;
  padding-top: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f9fa;
}

.job-list .job-item {
  overflow: hidden;
  width: calc(33.33% - 14px);
  background: #ffffff;
  padding: 16px 14px;
  border-radius: 8px;
  margin-top: 16px;
  min-height: 120px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.job-list .job-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.job-item .item-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.job-item .item-info .title {
  display: flex;
  align-items: center;
}

.job-item .item-info .title img {
  width: 16px;
  height: 16px;
  margin: 0 8px;
}

.job-item .item-info .title span {
  font-size: 16px;
  color: var(--text-title);
  width: 175px;
}

.job-item .item-info .price {
  font-size: 16px;
  color: var(--primary-color);
}

.job-item .item-tab {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.job-item .item-tab span {
  height: 26px;
  text-align: center;
  line-height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  background: #f5f7fa;
  margin: 4px 8px 4px 0;
  font-size: 12px;
  color: #666;
}

.job-item .item-company {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-item .item-company .name {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-primary);
}

.job-item .item-company .name img {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}

.job-item .item-company .area {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ----------------------第五屏  企业商机--------------------- */
.five-enter {
  display: flex;
  gap: 10px;
  width: 1200px;
  min-height: 590px;
  margin-top: 20px;
  box-sizing: border-box;
}

.enter-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 20px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-light);
}
.enter-tab span {
  padding: 0 12px;
  color: var(--text-secondary);
}

.enter-tab .name {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-title);
}
.enter-tab .text {
  font-size: var(--font-size-base);
  color: var(--text-title);
}

.enter-tab .more {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}

/* 左侧 */
.five-enter .left {
  width: 890px;
  height: 590px;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.five-enter .goods-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 0px;
  padding: 20px;
}

.goods-list .goods-item {
  flex: 1;
  padding: 5px;
  min-height: 230px;

  transition: all 0.3s ease;
  cursor: pointer;
}

.goods-list .goods-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.goods-item .image {
  width: 160px;
  height: 160px;
  object-fit: cover;
}

.goods-item .image img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.goods-item .info .title {
  font-size: 14px;
  color: var(--text-primary);
  margin-top: 5px;
}

.goods-item .info .price {
  font-size: 14px;
  color: var(--primary-light);
}

.goods-item .info .company {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 右侧 */
.five-enter .right {
  width: 300px;
  height: 590px;
  background-color: var(--bg-primary);
  box-sizing: border-box;
}

.enter-list {
  padding: 20px;
}

.enter-list .enter-item {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.enter-list .enter-item:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
}

.enter-list .enter-item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 5px;
}

.enter-list .enter-item .content {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
}

.enter-list .enter-item .content .title {
  font-size: 14px;
  color: var(--secondary-dark);
}

.enter-list .enter-item .title {
  max-width: 200px;
  font-size: 15px;
  color: var(--secondary-dark);
}

.enter-list .enter-item .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.enter-list .enter-item .info .area {
  font-size: 12px;
  color: var(--text-secondary);
}

.enter-list .enter-item .info span {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-light);
}
