/* News list/browse page styles */

/* ============================================
   NEWS LIST PAGE - RICH CARDS WITH IMAGES
   ============================================ */

.news-page {
  padding-bottom: 4rem;
}

.news-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(28, 44, 91, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(108, 171, 221, 0.15);
}

.news-count {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.news-showing {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.news-rich-list {
  display: grid;
  gap: 2rem;
}

.news-rich-card {
  background: linear-gradient(145deg, rgba(28, 44, 91, 0.35) 0%, rgba(10, 10, 15, 0.9) 100%);
  border-radius: 20px;
  border: 1px solid rgba(108, 171, 221, 0.12);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-rich-card:hover {
  border-color: rgba(108, 171, 221, 0.35);
  transform: translateY(-6px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(108, 171, 221, 0.08);
}

.news-rich-card.featured {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1) 0%, rgba(28, 44, 91, 0.4) 50%, rgba(10, 10, 15, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.25);
}

.news-rich-card.featured:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(212, 175, 55, 0.1);
}

.news-rich-link {
  display: grid;
  grid-template-columns: 300px 1fr;
  text-decoration: none;
  color: inherit;
  min-height: 200px;
}

.news-rich-card.featured .news-rich-link {
  grid-template-columns: 380px 1fr;
  min-height: 240px;
}

/* News Image */
.news-rich-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(28, 44, 91, 0.6) 0%, rgba(10, 10, 15, 0.8) 100%);
  border-radius: 20px 0 0 20px;
}

.news-rich-card.featured .news-rich-image {
  border-radius: 20px 0 0 20px;
}

/* Subtle overlay for better text readability and premium look */
.news-rich-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(10, 10, 15, 0.3) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.news-rich-card:hover .news-rich-image::after {
  opacity: 1;
}

.news-rich-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.news-rich-card:hover .news-rich-image img {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.1);
}

.news-rich-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.news-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(108, 171, 221, 0.35);
  transition: color 0.3s ease;
}

.news-rich-card:hover .news-image-placeholder {
  color: rgba(108, 171, 221, 0.5);
}

.news-image-placeholder svg {
  width: 56px;
  height: 56px;
  stroke-width: 1;
  opacity: 0.6;
}

.news-image-placeholder span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 4px;
  background: linear-gradient(135deg, rgba(108, 171, 221, 0.4), rgba(212, 175, 55, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-rich-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--gold), #f4d03f);
  color: var(--navy);
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* News Content */
.news-rich-content {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2rem;
}

.news-rich-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.news-rich-date,
.news-rich-source,
.news-rich-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.news-rich-date {
  color: var(--gold);
}

.news-rich-date svg,
.news-rich-read-time svg {
  width: 14px;
  height: 14px;
}

.news-rich-source {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(108, 171, 221, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  font-weight: 500;
}

.news-rich-read-time {
  color: rgba(255, 255, 255, 0.5);
}

.news-rich-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.news-rich-card.featured .news-rich-title {
  font-size: 2rem;
}

.news-rich-card:hover .news-rich-title {
  color: var(--gold);
}

.news-rich-excerpt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-rich-card.featured .news-rich-excerpt {
  -webkit-line-clamp: 4;
}

.news-rich-footer {
  margin-top: auto;
  padding-top: 1.25rem;
}

.news-rich-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sky-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.news-rich-cta .arrow {
  transition: transform 0.3s ease;
}

.news-rich-card:hover .news-rich-cta {
  color: var(--gold);
}

.news-rich-card:hover .news-rich-cta .arrow {
  transform: translateX(5px);
}

/* Empty State (news list specific) */
.news-list-empty {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(28, 44, 91, 0.2);
  border-radius: 20px;
  border: 1px dashed rgba(108, 171, 221, 0.2);
}

.news-list-empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.news-list-empty p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin: 0;
}

.news-list-empty-sub {
  margin-top: 0.5rem !important;
  font-size: 1rem !important;
  opacity: 0.7;
}

/* ============================================
   NEWS LIST RESPONSIVE STYLES
   ============================================ */

@media (max-width: 900px) {
  .news-rich-link {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .news-rich-card.featured .news-rich-link {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .news-rich-image {
    aspect-ratio: 16 / 9;
    border-radius: 20px 20px 0 0;
  }
  
  .news-rich-card.featured .news-rich-image {
    aspect-ratio: 2 / 1;
    border-radius: 20px 20px 0 0;
  }
  
  .news-rich-image.no-image {
    min-height: 180px;
  }
  
  .news-rich-image::after {
    background: linear-gradient(
      to bottom,
      transparent 50%,
      rgba(10, 10, 15, 0.4) 100%
    );
  }
}

@media (max-width: 600px) {
  .news-stats {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .news-rich-image {
    aspect-ratio: 16 / 10;
  }
  
  .news-rich-card.featured .news-rich-image {
    aspect-ratio: 16 / 9;
  }
  
  .news-rich-image.no-image {
    min-height: 160px;
  }
  
  .news-rich-content {
    padding: 1.25rem 1.5rem;
  }
  
  .news-rich-title {
    font-size: 1.35rem;
  }
  
  .news-rich-card.featured .news-rich-title {
    font-size: 1.5rem;
  }
  
  .news-rich-meta {
    gap: 0.75rem;
  }
}

