/* استایل برای محتوای HTML در پست‌ها */
.content {
  font-family: IRANSans, sans-serif;
  font-size: 1.1rem;
  line-height: 2.2;
  color: #333;
}

.content h1,
.content h2,
.content h3 {
  color: #111;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.6;
}

.content h1 {
  font-size: 2rem;
}

.content h2 {
  font-size: 1.75rem;
}

.content h3 {
  font-size: 1.5rem;
}

.content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.content ul,
.content ol {
  padding-right: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-position: inside;
}

.content ul li::before {
  content: \"▪ \";
  color: #28a745;
  font-weight: bold;
}

.content li {
  margin-bottom: 0.75rem;
}

.content blockquote {
  border-right: 4px solid #ccc;
  padding: 0.5rem 1rem;
  background: #f9f9f9;
  font-style: italic;
  margin: 1.5rem 0;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.content table,
.content th,
.content td {
  border: 1px solid #ccc;
}

.content th,
.content td {
  padding: 0.75rem;
  text-align: center;
}

/* جداول */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: IRANSans, sans-serif;
  direction: rtl;
  text-align: center;
  background-color: #fdfdfd;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.custom-table th,
.custom-table td {
  border: 1px solid #ccc;
  padding: 1rem;
  font-size: 1rem;
}

.custom-table thead {
  background-color: #f2f2f2;
  font-weight: bold;
}

.custom-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}
