/* Article Page Specific Styles */

.article-container {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
}

.full-article {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
}

.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.article-header .source-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
}

.article-header .timestamp {
  font-size: 0.85rem;
}

.full-article h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-black);
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #555;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.intro-paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.read-more-btn {
  background: linear-gradient(to right, var(--deep-orange), var(--bright-orange));
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.expanded-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.expanded-content.show {
  display: block;
  opacity: 1;
}

.expanded-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--text-black);
}

.expanded-content h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
  color: var(--text-black);
}

.expanded-content p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.expanded-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.expanded-content li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sources {
  font-size: 0.85rem;
  color: #777;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Sidebar Styles */
.article-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.related-articles {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
}

.related-articles h3 {
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: var(--text-black);
}

.related-article {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #eee;
}

.related-article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .article-container {
    flex-direction: column;
    padding: 0 1rem;
  }
  
  .article-sidebar {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .full-article {
    padding: 1.5rem;
  }
  
  .full-article h1 {
    font-size: 1.6rem;
  }
}
