/* 卡片玻璃态效果 */
.news-itemmm,
.news-item {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
}

/* 卡片光晕效果 */
.news-itemmm::before,
.news-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(173, 38, 38, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.8s ease, height 0.8s ease;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.news-itemmm:hover::before,
.news-item:hover::before {
  width: 200%;
  height: 200%;
}

/* 卡片内容层级 */
.news-itemmm>*,
.news-item>* {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

/* 卡片边框光效 */
.news-itemmm,
.news-item {
  position: relative;
}

.news-itemmm::after,
.news-item::after {
  content: '';
  position: absolute;
  inset: -2px;

  background-size: 400% 400%;
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: gradientBorder 3s ease infinite;
}

.news-itemmm:hover::after,
.news-item:hover::after {
  opacity: 1;
}

@keyframes gradientBorder {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* 卡片内容悬浮效果 */
.news-content,
.news-content-wrapper {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-itemmm:hover .news-content,
.news-item:hover .news-content-wrapper {
  transform: translateY(-2px);
}

/* 图片容器光效 */
.news-image,
.news-imageee {
  position: relative;
}

.news-image::after,
.news-imageee::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(173, 38, 38, 0) 0%,
      rgba(173, 38, 38, 0.1) 50%,
      rgba(173, 38, 38, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.news-itemmm:hover .news-image::after,
.news-item:hover .news-imageee::after {
  opacity: 1;
}

/* 卡片加载骨架屏效果 */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg,
      #f0f0f0 25%,
      #e0e0e0 50%,
      #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* 卡片悬停时文字发光效果 */
.news-itemmm:hover .news-title,
.news-item:hover .news-titleee {
  text-shadow: 0 0 20px rgba(173, 38, 38, 0.3);
}

/* 卡片悬停时标签发光效果 */
.news-itemmm:hover .news-category,
.news-item:hover .news-category {
  text-shadow: 0 0 10px rgba(173, 38, 38, 0.2);
}

/* 卡片悬停时图片光晕效果 */
.news-itemmm:hover .news-image img,
.news-item:hover .news-imageee img {
  box-shadow: 0 0 30px rgba(173, 38, 38, 0.2);
}

/* 卡片进入动画增强 */
@keyframes cardEnter {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9) rotateX(10deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
  }
}

.news-itemmm,
.news-item {
  animation: cardEnter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 卡片悬停时3D翻转效果 */
.news-itemmm,
.news-item {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.news-itemmm:hover,
.news-item:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(2deg);
}

/* 卡片内容3D效果 */
.news-content,
.news-content-wrapper {
  transform: translateZ(20px);
}

.news-image,
.news-imageee {
  transform: translateZ(10px);
}

/* 卡片悬停时背景渐变动画 */
.news-itemmm,
.news-item {
  background-size: 200% 200%;
  transition: all 0.4s ease;
}

.news-itemmm:hover,
.news-item:hover {
  background-position: 100% 100%;
}

/* 卡片边框动画 */
.news-itemmm,
.news-item {
  position: relative;
  overflow: hidden;
}

.news-itemmm::before,
.news-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;

  background-size: 400% 400%;
  z-index: -1;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: borderGradient 3s ease infinite;
}

.news-itemmm:hover::before,
.news-item:hover::before {
  opacity: 1;
}

@keyframes borderGradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* 卡片悬停时内容淡入效果 */
.news-content,
.news-content-wrapper {
  transition: opacity 0.3s ease;
}

.news-itemmm:hover .news-content,
.news-item:hover .news-content-wrapper {
  opacity: 1;
}

/* 卡片悬停时图片淡入效果 */
.news-image,
.news-imageee {
  transition: opacity 0.3s ease;
}

.news-itemmm:hover .news-image,
.news-item:hover .news-imageee {
  opacity: 1;
}

/* 卡片悬停时阴影动画 */
.news-itemmm,
.news-item {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-itemmm:hover,
.news-item:hover {
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 25px 70px rgba(173, 38, 38, 0.15);
}

/* 卡片悬停时边框发光效果 */
.news-itemmm,
.news-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-itemmm:hover,
.news-item:hover {
  box-shadow:
    0 0 30px rgba(173, 38, 38, 0.25),
    0 15px 40px rgba(0, 0, 0, 0.12);
}

/* 卡片悬停时内容放大效果 */
.news-content,
.news-content-wrapper {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-itemmm:hover .news-content,
.news-item:hover .news-content-wrapper {
  transform: scale(1.03) translateY(-2px);
}

@media (max-width: 760px) {

  .news-itemmm>*,
  .news-item>* {
    margin-top: 8px;
  }

  .news-itemmm {
    padding: 12px;
  }

  .news-itemmm {
    margin-top: 12px;
  }

  .news-image {
    margin-bottom: 0px;
  }






}