/* Shenbao Featured News Component Styles */
.shenbao_featured_news_main {
  width: 100%;
  padding:1rem 0 1.5rem;
  background: #fff;
  overflow: hidden;
}

/* Header */
.shenbao_featured_news_main .shenbao-featured-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: calc(var(--component-gap-sm) + 18px);
}

.shenbao_featured_news_main .shenbao-featured-news-subtitle {
  color: var(--color-primary, #eeaf0c);
  font-family: var(--lato-bold-family);
  font-size: var(--text-size-lg);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.shenbao_featured_news_main .shenbao-featured-news-title {
  margin: 0;
  color: #000;
  font-family: var(--lato-bold-family);
  font-size: var(--title-size-h4);
  font-weight: 900;
  line-height: 1.17;
  text-transform: uppercase;
}

/* Top-right more button */
.shenbao_featured_news_main .shenbao-featured-news-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--text-gap-sm);
  padding: 0.5rem;
  border: 1px solid #dfdfdf;
  background: #fff;
  font-family: var(--font-family);
  font-size: 12px;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.shenbao_featured_news_main .shenbao-featured-news-more-text {
  flex: 1;
}

.shenbao_featured_news_main .shenbao-featured-news-more-icon {
  font-size: 20px;
  line-height: 1;
}

.shenbao_featured_news_main .shenbao-featured-news-more:hover {
  background: var(--color-primary, #eeaf0c);
  border-color: var(--color-primary, #eeaf0c);
  color: #fff;
}

/* Swiper */
.shenbao_featured_news_main .shenbao_featured_news_swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 10px;
}

.shenbao_featured_news_main .shenbao-featured-news-slide {
  height: auto;
  display: flex;
}

/* News item */
.shenbao_featured_news_main .shenbao-featured-news-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* Image with date overlay */
.shenbao_featured_news_main .shenbao-featured-news-image {
  position: relative;
  width: 100%;
  aspect-ratio: 410/229;
  overflow: hidden;
}

.shenbao_featured_news_main .shenbao-featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.shenbao_featured_news_main .shenbao-featured-news-item:hover .shenbao-featured-news-image img {
  transform: scale(1.05);
}

/* Date badge */
.shenbao_featured_news_main .shenbao-featured-news-date {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 158px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-primary, #eeaf0c);
  font-family: var(--lato-bold-family);
  font-size: var(--text-size-sm);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  padding: 0 20px 0 37px;
}

/* Content */
.shenbao_featured_news_main .shenbao-featured-news-content {
  flex: 1;
  padding-top: 23px;
  display: flex;
  flex-direction: column;
}

.shenbao_featured_news_main .shenbao-featured-news-item-title {
  margin: 0 0 14px;
  color: #000;
  font-family: var(--lato-bold-family);
  font-size: var(--text-size-md);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  transition: color 0.3s ease;
}

.shenbao_featured_news_main .shenbao-featured-news-item:hover .shenbao-featured-news-item-title {
  color: var(--color-primary, #eeaf0c);
}

.shenbao_featured_news_main .shenbao-featured-news-item-desc {
  margin: 0;
  color: #626262;
  font-family: var(--font-family);
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* Pagination spacing (styles come from global.css .shenbao-swiper-pagination) */
.shenbao_featured_news_main .shenbao_featured_news_pagination {
  margin-top: calc(var(--component-gap-sm) + 12px);
}


/* Responsive */
@media screen and (min-width: 1600px) {
  .shenbao_featured_news_main .container {
    max-width: 1360px;
  }
}


@media screen and (max-width: 1200px) {
  .shenbao_featured_news_main .shenbao-featured-news-date {
    width: 140px;
    height: 44px;
    padding: 0 18px 0 28px;
  }
}

@media screen and (max-width: 992px) {
  .shenbao_featured_news_main .shenbao-featured-news-header {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .shenbao_featured_news_main .shenbao-featured-news-header {
    margin-bottom: 24px;
  }

  .shenbao_featured_news_main .shenbao-featured-news-title {
    font-size: var(--title-size-h5);
  }


  .shenbao_featured_news_main .shenbao-featured-news-date {
    width: 130px;
    height: 40px;
    font-size: 12px;
    padding: 0 16px 0 22px;
  }

  .shenbao_featured_news_main .shenbao-featured-news-content {
    padding-top: 18px;
  }
}