/* สไตล์สำหรับเนื้อหาบทความ */
.article-content {
  line-height: 1.8;
  color: #fff;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #fff;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem auto;
  display: block;
}

.article-content a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.2s;
}

.article-content a span {
  color: #ff0000;
  text-decoration: none !important;
}

.article-content a:hover span {
  color: #ffed4e;
  text-decoration: none !important;
}

.article-content span a {
  color: #ff0000;
  text-decoration: none !important;
}

.article-content span a:hover {
  color: #ffed4e;
  text-decoration: none !important;
}

.article-content a:hover {
  color: #ffed4e;
  text-decoration: none !important;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.article-content table th,
.article-content table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content table th {
  background: rgba(255, 255, 255, 0.15);
  font-weight: bold;
  color: #ffd700;
}

.article-content table tr:last-child td {
  border-bottom: none;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content strong,
.article-content b {
  color: #ffd700;
  font-weight: 600;
}

.article-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
  margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .article-content {
    font-size: 0.95rem;
  }

  .article-content table {
    font-size: 0.85rem;
  }

  .article-content table th,
  .article-content table td {
    padding: 8px 10px;
  }
}