/* News Detail Styles - Pro Modern */

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted, #666);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.news-back-link:hover {
  color: var(--primary, #000);
  transform: translateX(-4px);
}

.news-single-article {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-single-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 16px;
  position: relative;
}

.news-single-header::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--accent, #555);
  margin: 16px auto 0;
  border-radius: 2px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted, #666);
  font-weight: 500;
}

.news-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.05); /* slightly clearer background */
  padding: 6px 14px;
  border-radius: 99px; /* Pill shape */
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.news-source-badge:hover {
    background: rgba(0, 0, 0, 0.08);
}
}

.news-title {
  font-size: 2.5rem;
  line-height: 1.25;
  color: var(--primary, #000);
  margin: 0;
  font-weight: 800;
}

.news-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted, #555);
  max-width: 90%;
  margin: 0 auto;
}

.news-single-media {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  background: #0b0b0f;
}

.news-single-media img,
.news-single-media video {
  width: 100%;
  height: auto;
  display: block;
}

.news-single-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-color, #333);
}

.news-single-content p {
  margin-bottom: 24px;
}

.news-single-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px;
  color: var(--primary);
}

.news-single-content ul, 
.news-single-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.news-single-content blockquote {
  border-left: 4px solid var(--accent);
  margin: 30px 0;
  padding: 10px 20px;
  background: var(--bg-light, #f9f9f9);
  font-style: italic;
  font-size: 1.2rem;
}

.news-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.nav-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-light, #fcfcfc);
}

.nav-link:hover {
  background: #f0f0f0;
}

.nav-link.next {
  text-align: right;
  align-items: flex-end;
}

.nav-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .news-title {
    font-size: 2rem;
  }
  
  .news-navigation {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .nav-link.next {
    align-items: flex-start;
    text-align: left;
  }
  
  .nav-title {
      flex-direction: row-reverse;
      justify-content: flex-end;
  }
  
  .nav-link.next .nav-title {
      flex-direction: row;
      justify-content: flex-start;
  }
}


/* Split Layout */
.news-single-split {
  display: grid;
  grid-template-columns: minmax(300px, 45%) 1fr;
  gap: 40px;
  align-items: center; /* Center Vertically if desired, or start */
  margin-bottom: 40px;
}

.news-single-media {
  margin-bottom: 0;
  height: 100%; /* Match height potentially */
}

.news-single-media img,
.news-single-media video {
  height: 100%;
  object-fit: cover;
}

/* Override center alignment for header */
.news-single-header {
  text-align: left;
  align-items: flex-start;
  padding-bottom: 0;
}

.news-single-header::after {
  margin: 16px 0 0; /* Left align separator */
}

.news-meta {
  justify-content: flex-start;
}

.news-lead {
  margin: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .news-single-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .news-single-media {
    aspect-ratio: 16/9;
  }
}
