﻿/* 体育直播入口卡片（替换原世界杯入口） */
.sports-live-entry-container {
  position: relative;
  display: block;
  width: 100%;
  margin-left: 0;
  transform: none;
  aspect-ratio: 1072 / 316;
  overflow: hidden;
  border-radius: 0.3rem;
  background: #111 url("../image/sports-live-entry-pc.png") center / cover no-repeat;
  text-decoration: none;
  color: inherit;
}

.sports-live-entry-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
}

.sports-live-entry-label img {
  display: block;
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.sports-live-entry-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 42%;
  min-height: 3.6rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ff9d00;
  border-radius: 999px;
  background: rgba(3, 8, 7, 0.9);
  color: #fff;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.sports-live-entry-container:hover .sports-live-entry-cta {
  background: rgba(3, 8, 7, 0.98);
}

.sports-live-entry-cta__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.sports-live-entry-cta strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.sports-live-entry-cta__arrow {
  display: block;
  width: 11px;
  height: 21px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .sports-live-entry-container {
    aspect-ratio: 686 / 350;
    background-image: url("../image/sports-live-entry-h5.png");
    background-position: center;
  }

  .sports-live-entry-label {
    top: 16px;
    left: 14px;
    gap: 4px;
  }

  .sports-live-entry-label img {
    width: 12px;
    height: 12px;
  }

  .sports-live-entry-cta {
    width: 68%;
    min-height: 3rem;
    gap: 0.55rem;
    padding: 0.4rem 0.75rem;
  }

  .sports-live-entry-cta__icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .sports-live-entry-cta strong {
    font-size: 0.9rem;
  }
}

body.background.theme-dark.sports-live-category-page #masthead,
body.background.theme-dark.sports-live-category-page #masthead.no-banner-image {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
}

body.background.theme-dark.sports-live-category-page #masthead .blog-background,
body.background.theme-dark.sports-live-category-page #masthead .lazyload-container {
  display: none !important;
}

body.background.theme-dark.sports-live-category-page #masthead .inner,
body.background.theme-dark.sports-live-category-page #masthead .inner .container {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: none !important;
  text-align: center !important;
  vertical-align: top !important;
}

body.background.theme-dark.sports-live-category-page #masthead .inner {
  padding: 0.5rem 1rem 0.35rem !important;
}

body.background.theme-dark.sports-live-category-page #masthead .inner .container {
  padding: 0 !important;
}

body.background.theme-dark.sports-live-category-page #masthead .blog-title {
  display: block !important;
  margin: 0 0 0.25rem !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 2.25rem !important;
  font-weight: 300 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

body.background.theme-dark.sports-live-category-page #masthead .blog-description {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

body.sports-live-category-page #archive > .xqbj-breadcrumb-container.case-1 {
  margin-top: 0.35rem !important;
  margin-bottom: 0.75rem !important;
  border-bottom: none !important;
}

.sports-live-entry-article {
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
}

@media (max-width: 759px) {
  body.background.theme-dark.sports-live-category-page #masthead .inner {
    padding: 0.75rem 0.75rem 0.2rem !important;
    min-height: 0 !important;
  }

  body.background.theme-dark.sports-live-category-page #masthead .blog-title {
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.15rem !important;
  }

  body.background.theme-dark.sports-live-category-page #masthead .blog-description {
    font-size: 0.8125rem !important;
  }

  body.sports-live-category-page #archive > .xqbj-breadcrumb-container.case-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: none !important;
  }
}
