@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");
@font-face {
  font-family: "Vazir";
  font-weight: normal;
  src: url("../fonts/Vazir.398b39dd0060.ttf") format("truetype");
}
@font-face {
  font-family: "Vazir";
  font-weight: bold;
  src: url("../fonts/Vazir-Bold.8cea4a726814.ttf") format("truetype");
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.news-container {
  padding: 3rem 0;
  font-family: "Vazir", serif;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media screen and (max-width: 1600px) {
  .news-container {
    padding: 2rem 0;
  }
}
@media screen and (max-width: 878px) {
  .news-container {
    padding: 1.5rem 0;
  }
}

.news-header {
  text-align: center;
  margin-bottom: 2rem;
  font-family: "Vazir", serif;
}
.news-header h1 {
  font-family: "Vazir", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #03181d;
  margin-bottom: 1rem;
}

.news-header-line {
  width: 80px;
  height: 4px;
  background-color: #E9D8A6;
  margin: 0 auto;
  border-radius: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
@media screen and (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.news-card:hover .news-card-image img {
  transform: scale(1.05);
}
.news-card:hover .news-card-image .news-card-overlay {
  opacity: 0.3;
}
.news-card:hover .news-read-more {
  color: #E9D8A6;
}
.news-card:hover .news-read-more i {
  transform: translateX(-5px);
}
.news-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}
.news-card-image .news-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(3, 24, 29, 0), rgba(3, 24, 29, 0.7));
  opacity: 0.2;
  transition: all 0.3s ease;
}
.news-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-content a {
  text-decoration: none;
}
.news-card-content a h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #03181d;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: all 0.3s ease;
}
.news-card-content p {
  font-size: 0.95rem;
  font-weight: 400;
  color: #212121;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.news-card-footer {
  margin-top: auto;
  border-top: 1px solid rgba(229, 229, 229, 0.5);
  padding-top: 1rem;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #03181d;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.news-read-more i {
  transition: all 0.3s ease;
}

.news-empty {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: rgba(229, 229, 229, 0.1);
  border-radius: 12px;
}
.news-empty i {
  font-size: 3rem;
  color: #E9D8A6;
  margin-bottom: 1rem;
}
.news-empty p {
  font-size: 1.2rem;
  color: #212121;
}

.pr-padding {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media screen and (max-width: 1600px) {
  .pr-padding {
    padding: 2rem 1rem;
  }
}

.news-detail {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  padding: 2rem;
  font-family: "Vazir", serif;
  margin-bottom: 4rem;
}
@media screen and (max-width: 768px) {
  .news-detail {
    padding: 1.5rem;
  }
}
.news-detail-header {
  margin-bottom: 2rem;
}
.news-detail-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #03181d;
  margin-bottom: 1rem;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .news-detail-header h1 {
    font-size: 1.5rem;
  }
}
.news-detail-meta {
  display: flex;
  gap: 1.5rem;
  color: #212121;
  font-size: 0.9rem;
}
.news-detail-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.news-detail-date i {
  color: #E9D8A6;
}
.news-detail-image {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.news-detail-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}
.news-detail-summary {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
  color: #03181d;
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: rgba(229, 229, 229, 0.1);
  border-right: 3px solid #E9D8A6;
  border-radius: 0 8px 8px 0;
}
.news-detail-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #212121;
  margin-bottom: 2rem;
}
.news-detail-content p {
  margin-bottom: 1.5rem;
}
.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.news-detail-content h2, .news-detail-content h3, .news-detail-content h4 {
  color: #03181d;
  margin: 1.5rem 0 1rem;
}
.news-detail-content ul, .news-detail-content ol {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}
.news-detail-content ul li, .news-detail-content ol li {
  margin-bottom: 0.5rem;
}
.news-detail-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-right: 3px solid #E9D8A6;
  background-color: rgba(229, 229, 229, 0.1);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.news-detail-source {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(229, 229, 229, 0.5);
  font-size: 0.9rem;
}
.news-detail-source span {
  font-weight: 600;
  margin-left: 0.5rem;
}
.news-detail-source a {
  color: #FF6B35;
  text-decoration: none;
  transition: all 0.3s ease;
}
.news-detail-source a:hover {
  color: #03181d;
  text-decoration: underline;
}
.news-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  background-color: #03181d;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.news-back-button:hover {
  background-color: #E9D8A6;
  transform: translateX(5px);
}

.news-share {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.news-share span {
  font-size: 0.9rem;
  color: #212121;
}

.share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #03181d;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.share-icon:hover {
  background-color: #E9D8A6;
  transform: translateY(-3px);
}

.images-news {
  display: grid;
  /* دو ستون با عرض مساوی */
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; /* فاصله بین عکس‌ها */
  padding: 1rem;
}

/* برای صفحات کوچک‌تر از 650px */
@media (max-width: 650px) {
  .images-news {
    /* تغییر به یک ستون */
    grid-template-columns: 1fr;
  }
}
.news-detail-tags {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-block: 1.5rem;
  border-block: 1px solid rgba(229, 229, 229, 0.5);
  flex-wrap: wrap;
}
.news-detail-tags .tags-title {
  font-weight: 600;
  color: #03181d;
  font-size: 0.9rem;
  padding-top: 0.4rem;
}
.news-detail-tags .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-item {
  background-color: rgba(233, 216, 166, 0.1);
  color: #E9D8A6;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(233, 216, 166, 0.2);
}
.tag-item:hover {
  background-color: #E9D8A6;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/*# sourceMappingURL=news.css.df9becc9a507.map */
