* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  padding-top: 60px;
  background: #f7f7f7;
  color: #333;
  line-height: 1.9;
  font-family: "Vazirmatn", sans-serif;
}

.container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

/* header */
.article-header {
  margin-bottom: 30px;
}

.badge {
  background: #7a1f2b;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.article-header h1 {
  margin: 15px 0;
  font-size: 28px;
}

.meta {
  font-size: 14px;
  color: #777;
  display: flex;
  gap: 20px;
}

/* image */
.cover img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 25px;
}

/* content */
.content h2 {
  margin-top: 25px;
  color: #7a1f2b;
}


.content p {
  margin: 10px 20px;
  font-size: 17px;
  padding-bottom: 30px;
}

.content h2{
    padding-bottom: 15px;
}

.content h4{
    font-weight: 800;
}

.article-section {
  display: grid;
  
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

/* متن */
.article-section .text {
  /* flex: 1; */
  font-size: 16px;
  line-height: 2;
  text-align: justify;
}

/* عکس */
.article-section .image {
  /* flex: 1; */
}

.article-section .image img {
  width: 100%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .article-section {
    flex-direction: column;
  }
}
/* share */
.share {
  margin-top: 40px;
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.share button {
  border: none;
  background: #eee;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* comments */
.comments {
  margin-top: 50px;
}

.comments h3 {
  margin-bottom: 20px;
  color: #7a1f2b;
}

form .row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

textarea {
  height: 120px;
  resize: none;
  margin-bottom: 15px;
}

button[type="submit"] {
  background: #7a1f2b;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"]:hover {
  background: #5e1620;
}