/* ============ 门户站专用样式 ============ */

/* Hero */
.p-hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; padding: 130px 0 120px; }
.p-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.02); }
.p-hero__mask { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 20, 22, .86) 8%, rgba(167, 18, 25, .55) 55%, rgba(20, 20, 22, .35)); }
.p-hero__content { position: relative; z-index: 2; }
.kicker--light { color: #ffb3b6; }
.kicker--light::before { background: #ffb3b6; }
.p-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.28; margin: 16px 0; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.p-hero__sub { font-size: 17px; color: rgba(255, 255, 255, .85); margin-bottom: 30px; }
.p-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.p-hero__ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: rgba(20, 20, 22, .72); backdrop-filter: blur(6px); }
.ticker__inner { display: flex; align-items: center; gap: 16px; height: 44px; overflow: hidden; }
.ticker__label { flex: none; background: var(--bjt-red); color: #fff; font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.ticker__scroll { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker__scroll span { display: inline-block; padding-left: 100%; animation: ticker 28s linear infinite; color: rgba(255, 255, 255, .85); font-size: 13.5px; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* 入口卡片 */
.p-entrance { margin-top: -1px; }
.entrance__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; }
.entrance__card {
  position: relative; background: #fff; border: 1px solid var(--bjt-gray-200); border-radius: var(--radius);
  padding: 34px 30px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.entrance__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--bjt-red), #ff7a45); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.entrance__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(215, 25, 32, .35); }
.entrance__card:hover::before { transform: scaleX(1); }
.entrance__icon { font-size: 34px; width: 64px; height: 64px; display: grid; place-items: center; background: var(--bjt-red-light); border-radius: 16px; margin-bottom: 18px; }
.entrance__card h3 { font-size: 20px; margin-bottom: 8px; }
.entrance__card p { color: var(--bjt-gray-500); font-size: 14px; margin-bottom: 18px; }
.entrance__go { color: var(--bjt-red); font-weight: 700; font-size: 14.5px; }
.entrance__demo { text-align: center; margin-top: 26px; color: var(--bjt-gray-500); font-size: 13.5px; }

/* 区块头 */
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.more-link { color: var(--bjt-red); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }

/* 公司动态 */
.news__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.news__feature { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
.news__feature:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news__feature img { height: 300px; width: 100%; object-fit: cover; }
.news__feature-body { padding: 24px 26px 28px; }
.news__feature time, .news__item time { color: var(--bjt-red); font-weight: 700; font-size: 13px; }
.news__feature h3 { font-size: 20px; margin: 8px 0 10px; line-height: 1.45; }
.news__feature p { color: var(--bjt-gray-500); font-size: 14px; }
.news__list { display: flex; flex-direction: column; gap: 14px; }
.news__item {
  display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; align-items: flex-start;
}
.news__item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.news__item time { flex: none; background: var(--bjt-red-light); border-radius: 8px; padding: 6px 10px; font-size: 14px; }
.news__item h4 { font-size: 15.5px; line-height: 1.5; margin-bottom: 4px; }
.news__item p { color: var(--bjt-gray-500); font-size: 13px; }

/* 政策法规 */
.policy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.policy__card { border: 1px solid var(--bjt-gray-200); border-radius: var(--radius); padding: 24px; background: #fff; transition: all .25s; position: relative; }
.policy__card:hover { border-color: var(--bjt-red); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.policy__tag { display: inline-block; background: var(--bjt-red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.policy__card:nth-child(even) .policy__tag { background: var(--bjt-gray-700); }
.policy__card h4 { font-size: 16.5px; line-height: 1.5; margin-bottom: 8px; }
.policy__card p { color: var(--bjt-gray-500); font-size: 13.5px; margin-bottom: 14px; }
.policy__card time { color: var(--bjt-gray-500); font-size: 12.5px; }

/* 招商招租 */
.leasing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leasing__card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.leasing__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leasing__img { position: relative; }
.leasing__img img { height: 210px; width: 100%; object-fit: cover; transition: transform .5s; }
.leasing__card:hover .leasing__img img { transform: scale(1.06); }
.leasing__img { overflow: hidden; }
.leasing__badge { position: absolute; top: 14px; left: 14px; background: var(--bjt-red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; z-index: 2; }
.leasing__body { padding: 22px 24px 26px; }
.leasing__body h4 { font-size: 17px; margin-bottom: 6px; }
.leasing__meta { color: var(--bjt-red); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.leasing__body > p { color: var(--bjt-gray-500); font-size: 13.5px; margin-bottom: 18px; }
.leasing__foot { display: flex; align-items: center; justify-content: space-between; }
.leasing__price { color: var(--bjt-red); font-size: 24px; font-weight: 800; }
.leasing__price small { font-size: 12px; font-weight: 500; color: var(--bjt-gray-500); }
.leasing__foot .btn { padding: 9px 20px; font-size: 13.5px; }

/* 行业动态 tabs */
.tabs { display: flex; background: var(--bjt-gray-100); border-radius: 999px; padding: 5px; gap: 4px; }
.tabs__btn { border: 0; background: transparent; padding: 9px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--bjt-gray-700); cursor: pointer; transition: all .25s; font-family: var(--font); }
.tabs__btn.is-active { background: var(--bjt-red); color: #fff; box-shadow: 0 4px 12px rgba(215, 25, 32, .35); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.industry__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry__card { background: #fff; border: 1px solid var(--bjt-gray-200); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.industry__card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.industry__card img { height: 170px; width: 100%; object-fit: cover; }
.industry__card > div { padding: 18px 20px 22px; }
.industry__card time { color: var(--bjt-red); font-size: 12.5px; font-weight: 700; }
.industry__card h4 { font-size: 15.5px; line-height: 1.55; margin: 6px 0 8px; }
.industry__card p { color: var(--bjt-gray-500); font-size: 13px; }

/* 党建 */
.p-party { position: relative; overflow: hidden; }
.p-party__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.p-party__mask { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(167, 18, 25, .93), rgba(120, 10, 15, .88)); }
.p-party__content { position: relative; z-index: 2; }
.party__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.party__card {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); border-radius: var(--radius); padding: 24px; color: #fff; transition: all .3s;
}
.party__card:hover { background: rgba(255, 255, 255, .16); transform: translateY(-5px); }
.party__card time { color: #ffc9cb; font-size: 12.5px; font-weight: 700; }
.party__card h4 { font-size: 15.5px; line-height: 1.55; margin: 8px 0; }
.party__card p { color: rgba(255, 255, 255, .72); font-size: 13px; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bjt-red); color: #fff; border: 0; font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .3s, background .2s;
}
.back-top:hover { background: var(--bjt-red-dark); }

@media (max-width: 960px) {
  .news__grid, .entrance__grid, .policy__grid, .leasing__grid, .industry__grid { grid-template-columns: 1fr 1fr; }
  .party__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .news__grid, .entrance__grid, .policy__grid, .leasing__grid, .industry__grid, .party__grid { grid-template-columns: 1fr; }
  .p-hero { min-height: 480px; }
}
