/* Hot gossip section */

.gossip-section {
  align-self: stretch;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  display: flex;
}

.gossip-feature {
  width: 1280px;
  max-width: 100%;
  height: 493px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

a.gossip-feature {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.gossip-feature__img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  object-fit: cover;
  background: var(--color-neutral-50);
}

.gossip-feature__hot {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 90px;
  height: 44px;
  z-index: 2;
  object-fit: contain;
}

.gossip-feature__overlay {
  width: 100%;
  left: 0;
  bottom: 0;
  position: absolute;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.gossip-feature__meta-row {
  align-self: stretch;
  padding-left: 24px;
  padding-right: 24px;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  display: flex;
}

.gossip-feature__meta {
  color: var(--color-neutral-50);
  font-size: 24px;
  font-family: PingFang SC, sans-serif;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.60);
}

.gossip-feature__body {
  align-self: stretch;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(2px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.gossip-feature__title {
  align-self: stretch;
  color: white;
  font-size: 24px;
  font-family: PingFang SC, sans-serif;
  font-weight: 400;
  word-wrap: break-word;
}

.gossip-section__rows {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gossip-section__row {
  align-self: stretch;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  display: flex;
}

/* PC: 一行 2 个；H5: 一行 1 个；首页共 4 个 */
.home-page .gossip-section__rows .gossip-article:nth-child(n + 5) {
  display: none;
}

a.gossip-article {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.gossip-article {
  width: 100%;
  max-width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  display: block;
}

.gossip-article__cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gossip-article__hot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 90px;
  height: 44px;
  z-index: 2;
  object-fit: contain;
}

.gossip-article__img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  object-fit: cover;
  background: #1a1a1a;
}

.gossip-article__overlay {
  width: 100%;
  left: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.gossip-article__title {
  align-self: stretch;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 20px;
  font-family: PingFang SC, sans-serif;
  font-weight: 500;
  line-height: 28px;
  word-wrap: break-word;
}

.gossip-article__meta {
  align-self: stretch;
  padding-left: 24px;
  padding-right: 24px;
  color: #fafafa;
  font-size: 20px;
  font-family: PingFang SC, sans-serif;
  font-weight: 500;
  line-height: 28px;
  word-wrap: break-word;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .home-page .gossip-section {
    gap: 12px;
  }

  .home-page .gossip-section .section-header__marker {
    width: 6px;
    height: 16px;
    border-radius: 3px;
  }

  .home-page .gossip-section .section-title--sm {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--text-primary);
  }

  .home-page .gossip-section .section-header__more-text {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-secondary);
  }

  .home-page .gossip-section .section-header__more-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-page .gossip-section .section-header__more-icon .icon {
    width: 18px;
    height: 18px;
  }

  .home-page .gossip-feature {
    width: 100%;
    height: 132px;
    aspect-ratio: auto;
    border-radius: 12px;
  }

  .home-page .gossip-feature__overlay {
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0 14px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: none;
  }

  .home-page .gossip-feature__hot {
    top: 6px;
    right: 6px;
    width: 50px;
    height: 26px;
  }

  .home-page .gossip-feature__meta-row {
    order: 2;
    padding: 0;
    justify-content: center;
  }

  .home-page .gossip-feature__body {
    order: 1;
    padding: 0;
    background: transparent;
    align-items: center;
    gap: 0;
  }

  .home-page .gossip-feature__title {
    max-width: 315px;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
  }

  .home-page .gossip-feature__meta {
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #eee;
    text-shadow: none;
  }

  .home-page .gossip-section__rows {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  /* H5: 图片打底 + 居中文字浮层卡片 */
  .home-page .gossip-article {
    height: 132px;
    border-radius: 12px;
  }

  .home-page .gossip-article__hot {
    top: 6px;
    right: 6px;
    width: 50px;
    height: 26px;
  }

  .home-page .gossip-article__overlay {
    inset: 0;
    top: 0;
    height: 100%;
    padding: 0 14px;
    box-sizing: border-box;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
  }

  .home-page .gossip-article__title {
    align-self: center;
    max-width: 315px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .home-page .gossip-article__meta {
    align-self: center;
    padding: 0;
    text-align: center;
    color: #eee;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-shadow: none;
  }
}
