.main-news { background: var(--color-white); } .n-page { padding-top: calc(var(--header-h) + 7.5rem); padding-bottom: 6.25rem; } .n-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; margin-bottom: 3.5rem; } .n-head__title { margin: 0; display: flex; flex-direction: column; color: var(--color-text); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-48); font-weight: 400; line-height: var(--font-64); } .n-tabs { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; flex-shrink: 0; } .n-tabs__item { min-height: 3rem; padding: 0.75rem 2rem; border: 0; border-radius: 6.25rem; background: rgba(175, 181, 185, 0.15); color: rgba(46, 53, 58, 0.6); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-24); cursor: pointer; } .n-tabs__item.is-active { background: var(--color-primary); color: var(--color-white); } .n-link { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--color-text-muted); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-24); text-decoration: none; transition: color var(--duration-fast) var(--easing); } .n-link img { display: block; width: 1rem; height: auto; transition: filter var(--duration-fast) var(--easing); } .n-link:hover { color: var(--color-primary); } .n-link:hover img { filter: brightness(0) saturate(100%) invert(36%) sepia(74%) saturate(2148%) hue-rotate(339deg) brightness(97%) contrast(92%); } .n-link--sm { gap: 0.625rem; font-size: var(--font-16); line-height: var(--font-22); } .n-featured { position: relative; padding: 3rem; margin-bottom: 5rem; border-radius: 2.5rem; background: rgba(175, 181, 185, 0.15); } .n-featured__swiper { overflow: hidden; } .n-featured__slide { display: grid; grid-template-columns: minmax(0, 45rem) minmax(0, 1fr); gap: 3rem; align-items: center; } .n-featured__media { min-width: 0; border-radius: 2rem; overflow: hidden; background: var(--color-white); } .n-featured__media img { display: block; width: 100%; height: auto; aspect-ratio: 720/480; object-fit: cover; transition: transform var(--duration-normal) var(--easing); } .n-featured__body { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; min-width: 0; padding: 2.5rem 0; } .n-featured__content { display: flex; flex-direction: column; gap: 2.5rem; } .n-featured__date { color: var(--color-text-muted); font-family: "D-DIN-PRO", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-18); } .n-featured__title { margin: 0; color: var(--color-text); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-28); font-weight: 500; line-height: var(--font-36); transition: color var(--duration-fast) var(--easing); min-height: 4.5rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .n-featured__desc { margin: 0; color: var(--color-text-muted); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-28); min-height: 5.25rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .n-featured__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: auto; padding-top: 2rem; padding-right: 8rem; border-top: 1px solid rgb(223, 224, 226); transition: border-color var(--duration-fast) var(--easing); } .n-featured__nav { position: absolute; right: 3rem; bottom: 3rem; z-index: 2; } .n-featured:hover { cursor: pointer; } .n-featured:hover .n-featured__title { color: var(--color-primary); } .n-featured:hover .n-featured__media img { transform: scale(1.1); } .n-featured:hover .n-featured__foot { border-top-color: var(--color-primary); } .n-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-bottom: 5rem; } .n-card { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; padding: 2.5rem; border-radius: 1.5rem; background: rgba(175, 181, 185, 0.15); } .n-card__top { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; } .n-card__date { color: rgba(46, 53, 58, 0.6); font-family: "D-DIN-PRO", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-18); } .n-card__title { margin: 0; min-height: 4rem; color: var(--color-text); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-20); font-weight: 500; line-height: var(--font-32); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--duration-fast) var(--easing); } .n-card__media { margin-top: auto; border-radius: 1rem; overflow: hidden; aspect-ratio: 437/260; } .n-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-normal) var(--easing); } .n-card .n-link { padding-top: 1.5rem; border-top: 1px solid rgb(223, 224, 226); transition: border-color var(--duration-fast) var(--easing); } .n-card:hover { cursor: pointer; } .n-card:hover .n-card__title { color: var(--color-primary); } .n-card:hover .n-card__media img { transform: scale(1.1); } .n-card:hover .n-link { border-top-color: var(--color-primary); } /* 全部 Tab 内混排的企业视频:沿用 n-card 大布局,微调播放态 */ .n-card--video .n-card__top::after { content: ""; display: block; padding-top: 1.5rem; border-top: 1px solid rgb(223, 224, 226); transition: border-color var(--duration-fast) var(--easing); } .n-card--video:hover .n-card__top::after { border-top-color: var(--color-primary); } .n-card--video .n-card__media { position: relative; } .n-card__duration { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: 0.375rem 0.5rem; border-radius: 0.5rem; background: rgba(46, 53, 58, 0.45); color: var(--color-white, #fff); font-family: "D-DIN-PRO", "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-14); font-weight: 400; line-height: var(--font-18); backdrop-filter: blur(0.25rem); } .n-card__play { position: absolute; top: 50%; left: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.28); backdrop-filter: blur(0.375rem); transform: translate(-50%, -50%); transition: background 0.25s ease, transform 0.25s ease; pointer-events: none; } .n-card__play img { display: block; width: 1rem; height: auto; margin-left: 0.125rem; } .n-card--video:hover .n-card__play { background: rgba(255, 255, 255, 0.4); transform: translate(-50%, -50%) scale(1.06); } /* 企业视频卡片(设计稿) */ .n-grid--video { gap: 2.5rem; } .n-v-card { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 2rem; border: 1px solid rgba(46, 53, 58, 0.1); border-radius: 1.5rem; background: var(--color-white, #fff); text-align: left; color: inherit; cursor: pointer; font: inherit; transition: border-color var(--duration-fast) var(--easing), box-shadow var(--duration-fast) var(--easing); } .n-v-card__media { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: 1rem; background: rgba(175, 181, 185, 0.15); margin-bottom: 2rem; } .n-v-card__cover { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-normal) var(--easing); } .n-v-card__duration { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: 0.375rem 0.5rem 0.375rem 0.5rem; border-radius: 0.5rem; background: rgba(46, 53, 58, 0.2); color: var(--color-white, #fff); font-family: "D-DIN-PRO", "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-14); font-weight: 400; line-height: var(--font-18); backdrop-filter: blur(0.25rem); } .n-v-card__play { position: absolute; top: 50%; left: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.28); backdrop-filter: blur(0.375rem); opacity: 0; transform: translate(-50%, -50%) scale(0.92); transition: opacity 0.25s ease, transform 0.25s ease; } .n-v-card__play img { display: block; width: 1rem; height: auto; margin-left: 0.125rem; } .n-v-card__title { margin-bottom: 1rem; color: var(--color-text); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-20); font-weight: 400; line-height: var(--font-28); min-height: 3.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--duration-fast) var(--easing); } .n-v-card__date { color: var(--color-text-muted); font-family: "D-DIN-PRO", "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-18); } .n-v-card:hover .n-v-card__cover { transform: scale(1.04); } .n-v-card:hover .n-v-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); } .n-v-card:hover .n-v-card__title { color: var(--color-primary); } .n-v-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; } .n-v-modal[hidden] { display: none; } .n-v-modal__backdrop { position: absolute; inset: 0; background: rgba(46, 53, 58, 0.72); } .n-v-modal__dialog { position: relative; z-index: 1; width: min(60rem, 100%); overflow: hidden; border-radius: 1rem; background: #000; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35); } .n-v-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: rgba(0, 0, 0, 0.88); } .n-v-modal__title { margin: 0; min-width: 0; color: var(--color-white, #fff); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-24); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .n-v-modal__close { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.12); cursor: pointer; transition: background var(--duration-fast) var(--easing); } .n-v-modal__close img { display: block; width: 1rem; height: 1rem; } .n-v-modal__close:hover { background: rgba(255, 255, 255, 0.22); } .n-v-modal__body { aspect-ratio: 16/9; background: #000; } .n-v-modal__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; } @media (max-width: 1439px) { .n-page { padding-top: calc(var(--header-h) + 48Px); padding-bottom: 72Px; } .n-head { flex-direction: column; align-items: flex-start; gap: 32Px; margin-bottom: 40Px; } .n-head__title { font-size: 36Px; line-height: 48Px; } .n-tabs__item { min-height: 44Px; padding: 10Px 24Px; font-size: 16Px; } .n-featured { gap: 32Px; padding: 32Px; margin-bottom: 56Px; border-radius: 24Px; } .n-featured__slide { grid-template-columns: 1fr; gap: 32Px; } .n-featured__media { border-radius: 20Px; } .n-featured__body { padding: 0; } .n-featured__content { gap: 24Px; } .n-featured__title { font-size: 24Px; line-height: 34Px; } .n-featured__desc { font-size: 16Px; line-height: 26Px; } .n-featured__foot { margin-top: 24Px; padding-top: 24Px; padding-right: 112Px; } .n-featured__nav { right: 32Px; bottom: 32Px; } .n-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24Px; margin-bottom: 56Px; } .n-card { gap: 28Px; padding: 28Px; border-radius: 20Px; } .n-card__title { min-height: 56Px; font-size: 18Px; line-height: 28Px; } .n-grid--video { gap: 24Px; } .n-v-card { gap: 12Px; padding: 20Px; border-radius: 20Px; } .n-v-card__title { font-size: 18Px; line-height: 26Px; } .n-v-card__date { font-size: 14Px; } } @media (max-width: 576px) { .n-page { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 48Px; } .n-head { gap: 24Px; margin-bottom: 28Px; } .n-head__title { font-size: 28Px; line-height: 38Px; } .n-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .n-tabs::-webkit-scrollbar { display: none; } .n-tabs__item { flex-shrink: 0; min-height: auto; padding: 8Px 20Px; font-size: 14Px; } .n-featured { gap: 20Px; padding: 20Px; margin-bottom: 40Px; border-radius: 16Px; } .n-featured__slide { gap: 20Px; } .n-featured__media { border-radius: 12Px; } .n-featured__content { gap: 16Px; } .n-featured__date { font-size: 14Px; } .n-featured__title { font-size: 20Px; line-height: 28Px; min-height: 56Px; } .n-featured__desc { font-size: 14Px; line-height: 22Px; min-height: 66Px; } .n-featured__foot { margin-top: 16Px; min-height: 3rem; } .n-featured__nav { right: 20Px; bottom: 10Px; } .n-grid { grid-template-columns: 1fr; gap: 16Px; margin-bottom: 40Px; } .n-card { gap: 20Px; padding: 20Px; border-radius: 16Px; } .n-card__top { gap: 16Px; } .n-card__date { font-size: 14Px; } .n-card__title { min-height: 0; font-size: 16Px; line-height: 24Px; } .n-card .n-link { padding-top: 16Px; } .n-grid--video { gap: 16Px; } .n-v-card { gap: 10Px; padding: 16Px; border-radius: 16Px; } .n-v-card__media { border-radius: 12Px; } .n-v-card__play { width: 2.5rem; height: 2.5rem; } .n-v-card__duration { left: 12Px; bottom: 12Px; font-size: 12Px; } .n-v-card__title { font-size: 16Px; line-height: 24Px; } .n-v-card__date { font-size: 13Px; } }