

/* ========================================
   News List Page Styles
   ======================================== */
.news-list-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.news-list-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.news-list-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  min-width: 100px;
}

.news-list-day {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.news-list-month {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  margin-top: 4px;
}

.news-list-year {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.news-list-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.news-list-source,
.news-list-views {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.news-list-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.news-list-card:hover h3 {
  color: var(--primary);
}

.news-list-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.news-list-card:hover .news-list-readmore {
  gap: 10px;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}

/* ========================================
   News Article Page Styles
   ======================================== */
.article-meta-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.article-meta-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.meta-item svg {
  opacity: 0.6;
}

.meta-divider {
  color: var(--border);
}

.meta-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.article-section {
  padding: 48px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 48px;
}

.article-content-wrapper {
  min-width: 0;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 20px;
}

.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 16px;
}

.article-content p {
  margin-bottom: 20px;
}

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

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  font-weight: 600;
  color: var(--text);
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.tags-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 40px;
  height: 40px;
  background: var(--background);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--primary);
  color: white;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-article-item {
  display: block;
  padding: 12px;
  background: var(--background);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.related-article-item:hover {
  background: var(--primary);
  color: white;
}

.related-article-item:hover .related-date,
.related-article-item:hover .related-title {
  color: white;
}

.related-date {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.related-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.cta-widget {
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%);
  color: white;
  text-align: center;
}

.cta-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cta-icon svg {
  color: white;
}

.cta-widget h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-widget p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-widget .btn {
  background: white;
  color: var(--primary);
}

.cta-widget .btn:hover {
  background: var(--accent);
  color: white;
}

.back-to-news {
  display: flex;
  justify-content: center;
}

/* ========================================
   Responsive News Styles
   ======================================== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .news-list-card {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 20px;
  }

  .news-list-date {
    min-width: 70px;
    padding: 12px 8px;
  }

  .news-list-day {
    font-size: 24px;
  }

  .news-list-month {
    font-size: 12px;
  }

  .news-list-year {
    display: none;
  }

  .news-list-meta {
    flex-direction: column;
    gap: 8px;
  }

  .news-list-content h3 {
    font-size: 17px;
  }

  .news-list-content p {
    font-size: 14px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-meta-left {
    width: 100%;
  }

  .article-content {
    font-size: 16px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .article-content h3 {
    font-size: 20px;
  }

  .newsletter-content h2 {
    font-size: 26px;
  }

  .newsletter-content p {
    font-size: 16px;
  }
}
