/* News Detail Page Styles */

.news-detail {
  padding: 60px 0;
  background: #f8f9fa;
}

/* Article Styles */
.news-article {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.article-header {
  padding: 40px 40px 0;
}

.article-category {
  margin-bottom: 15px;
}

.category-tag {
  display: inline-block;
  background: linear-gradient(45deg, #007cba, #0056b3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.category-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
  color: #fff;
  text-decoration: none;
}

.article-title {
  color: #2c3e50;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px;
}

.article-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  color: #6c757d;
  font-size: 14px;
}

.meta-item i {
  margin-right: 8px;
  color: #007cba;
}

.article-body {
  padding: 0 40px 40px;
}

.content-with-image {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.text-content {
  flex: 2;
  color: #495057;
  font-size: 16px;
  line-height: 1.8;
}

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

.text-content h2, 
.text-content h3, 
.text-content h4 {
  color: #2c3e50;
  margin: 30px 0 15px;
}

.text-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.image-sidebar {
  flex: 1;
  position: sticky;
  top: 20px;
}

.featured-image {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.featured-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.featured-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.image-caption {
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.image-caption p {
  margin: 0;
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
  line-height: 1.4;
}

.article-info-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.article-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.article-info-card h4 {
  color: #2c3e50;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 0;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: #2c3e50;
  font-weight: 600;
}

.social-share {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.social-share h5 {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.share-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.tiktok { background: #000000; }
.share-btn.whatsapp { background: #25d366; }

/* Responsive Design */
@media (max-width: 992px) {
  .content-with-image {
    flex-direction: column;
    gap: 20px;
  }
  
  .image-sidebar {
    position: static;
    order: -1;
  }
  
  .featured-image img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .news-detail {
    padding: 40px 0;
  }
  
  .article-header {
    padding: 30px 20px 0;
  }
  
  .article-body {
    padding: 0 20px 30px;
  }
  
  .article-title {
    font-size: 24px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .content-with-image {
    gap: 15px;
  }
  
  .article-info-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .featured-image img {
    height: 200px;
  }
  
  .share-buttons {
    flex-wrap: wrap;
  }
  
  .article-meta {
    gap: 8px;
  }
  
  .meta-item {
    font-size: 13px;
  }
}