/* 企业动态 / 视频中心 v4 — 与首页同色同字号基准 */

.mediaV4 {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
}

.mediaV4 *,
.mediaV4 *::before,
.mediaV4 *::after {
  line-height: 1.65;
}

.mediaV4 a {
  color: inherit;
  text-decoration: none;
}

.solV4__hero .mediaV4__back {
  display: inline-flex;
  margin: 0 0 1em;
  color: #99f6e4;
  font-size: 0.9em;
  font-weight: 650;
}

.solV4__hero .mediaV4__time {
  margin: 0.85em 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875em;
}

.mediaV4__grid {
  display: grid;
  gap: 1em;
}

@media (min-width: 768px) {
  .mediaV4__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15em;
  }
}

.mediaV4 a.mediaV4__card,
.mediaV4 button.mediaV4__card,
.mediaV4__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e2df;
  border-radius: 1em;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  color: #475569;
}

.mediaV4__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e7eeec;
}

.mediaV4__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mediaV4__fallback {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1em 1.2em 1em;
  background: #0f172a;
  color: #fff;
}

.mediaV4__fallbackDate {
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

.mediaV4 .mediaV4__fallbackTitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.55em 0 auto;
  max-width: 14em;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.35;
}

.mediaV4__fallbackMark {
  align-self: flex-end;
  padding-top: 0.4em;
  border-top: 2px solid #0f766e;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #99f6e4;
}

.mediaV4__fallback .mediaV4__play {
  pointer-events: none;
}

.mediaV4__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mediaV4__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25em;
  height: 3.25em;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.92);
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
}

.mediaV4__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1em 1.2em 1.15em;
}

.mediaV4__time {
  margin: 0 0 0.4em;
  font-size: 0.75em;
  color: #64748b;
}

.mediaV4__cardTitle {
  margin: 0 0 0.4em;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}

.mediaV4__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 0.85em;
  font-size: 0.9em;
  color: #64748b;
}

.mediaV4__more {
  margin-top: auto;
  font-size: 0.875em;
  font-weight: 650;
  color: #0f766e;
}

@media (hover: hover) and (pointer: fine) {
  .mediaV4__card {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .mediaV4__card:hover {
    transform: translateY(-3px);
    border-color: #0f766e;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }
}

.mediaV4__empty {
  margin: 0;
  padding: 2em 1em;
  text-align: center;
  color: #64748b;
}

.mediaV4__pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45em;
  margin: 1.75em 0 0;
}

.mediaV4__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.7em;
  border-radius: 999px;
  border: 1px solid #d9e2df;
  background: #fff;
  font-size: 0.875em;
  font-weight: 650;
  color: #0f172a;
}

.mediaV4__page.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.mediaV4__paper {
  max-width: 48em;
  margin: 0 auto;
  padding: 1.5em 1.25em 1.75em;
  background: #fff;
  border: 1px solid #d9e2df;
  border-radius: 1em;
}

@media (min-width: 768px) {
  .mediaV4__paper {
    padding: 2.25em 2.5em 2.5em;
  }
}

.mediaV4__html {
  font-size: 0.975em;
  color: #475569;
}

.mediaV4__html p,
.mediaV4__html div {
  margin: 0 0 0.9em;
}

.mediaV4__html h2,
.mediaV4__html h3 {
  margin: 1.35em 0 0.55em;
  color: #0f172a;
  font-weight: 700;
}

.mediaV4__html img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.75em 0;
  border-radius: 0.6em;
}

.mediaV4__gallery {
  margin: 0 0 1.5em;
}

.mediaV4__gallery .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28em;
  object-fit: contain;
  background: #f1f5f4;
  border-radius: 0.7em;
}

.mediaV4__gallery .bot {
  position: relative;
  margin-top: 0.75em;
}

.mediaV4__gallery .gallery-thumbs .swiper-slide {
  width: 5.5em;
  margin-right: 0.5em;
}

.mediaV4__gallery .gallery-thumbs img {
  height: 3.5em;
  object-fit: cover;
}

.mediaV4__gallery .next,
.mediaV4__gallery .prev {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9e2df;
  transform: translateY(-50%);
  cursor: pointer;
}

.mediaV4__gallery .prev {
  left: 0;
}

.mediaV4__gallery .next {
  right: 0;
}

.mediaV4__gallery .start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mediaV4__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75em;
  margin: 1.5em 0 0;
}

.mediaV4__nav a {
  color: #0f766e;
  font-size: 0.9em;
  font-weight: 650;
}

.mediaV4__video {
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.mediaV4__overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.62);
}

.mediaV4__dialog {
  position: fixed;
  z-index: 81;
  top: 50%;
  left: 50%;
  width: min(56em, calc(100vw - 2em));
  transform: translate(-50%, -50%);
  background: #0f172a;
  border-radius: 0.85em;
  overflow: hidden;
}

.mediaV4__dialog video {
  display: block;
  width: 100%;
  max-height: 80vh;
}

.mediaV4__close {
  position: absolute;
  top: 0.6em;
  right: 0.6em;
  z-index: 2;
  min-width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 1.1em;
  cursor: pointer;
}
