/* news-detail.css - Additional styles for News Detail page */

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

.article-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.article-header h1 {
  color: #2c3e50;
  margin: 0 0 10px;
  font-size: 32px;
}

.article-meta {
  color: #7f8c8d;
  font-size: 14px;
}

.article-meta .date {
  margin-right: 20px;
}

.article-body {
  line-height: 1.8;
  color: #333;
}

.article-body h2 {
  color: #2c3e50;
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 22px;
}

.article-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.article-body blockquote {
  border-left: 4px solid #e74c3c;
  padding-left: 20px;
  margin: 25px 0;
  color: #555;
  font-style: italic;
}

.article-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #7f8c8d;
}

.article-image {
  margin: 30px 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: block;
    margin-left: auto;
    margin-right: auto;
}

.article-image figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #7f8c8d;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
  gap: 15px;
}

.share a {
  margin-left: 12px;
  color: #e74c3c;
  font-weight: 600;
}

.share a:hover {
  text-decoration: underline;
}

.back a {
  color: #2c3e50;
  font-weight: 600;
}

.back a:hover {
  color: #e74c3c;
}

.related-articles {
      margin-top: 60px;
      padding-top: 40px;
      border-top: 2px solid #eaeef2;
    }

    .related-articles h3 {
      color: #2c3e50;
      font-size: 26px;
      font-weight: 600;
      margin-bottom: 30px;
      position: relative;
      padding-bottom: 10px;
    }

    .related-articles h3:after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 60px;
      height: 3px;
      background-color: #e74c3c;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .related-card {
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 3px 12px rgba(0,0,0,0.03);
      transition: all 0.2s ease;
      border: 1px solid #f0f2f4;
    }

    .related-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
      border-color: #e0e7ed;
    }

    .related-card .card-img {
      height: 160px;
      background-color: #f8fafc;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-bottom: 1px solid #e9ecef;
    }

    .related-card .card-content {
      padding: 20px 18px 22px;
    }

    .related-card .card-title {
      font-size: 18px;
      font-weight: 600;
      line-height: 1.5;
      margin: 0 0 8px 0;
      color: #1e2b37;
    }

    .related-card .card-title a {
      color: inherit;
      text-decoration: none;
    }

    .related-card .card-title a:hover {
      color: #e74c3c;
    }

    .related-card .card-meta {
      font-size: 13px;
      color: #7f8c8d;
      margin-bottom: 12px;
    }

    .related-card .card-excerpt {
      font-size: 14px;
      color: #4a5a66;
      line-height: 1.6;
      margin-bottom: 16px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .related-card .read-more {
      font-size: 14px;
      font-weight: 600;
      color: #e74c3c;
      text-decoration: none;
    }

    .related-card .read-more:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .related-articles h3 {
        font-size: 22px;
      }
    }

@media (max-width: 600px) {
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}