

 
@font-face {
  font-family: IRANSans;
  src: url('/font/IRANSansWeb.eot');
  src: url('/font/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
       url('/font/IRANSansWeb.woff2') format('woff2'),
       url('/font/IRANSansWeb.woff') format('woff'),
       url('/font/IRANSansWeb.ttf') format('truetype');
  font-display: swap;
}
* {
  font-family: 'IRANSans', IRANSans;
}
html, body  {
  font-family: 'IRANSans', IRANSans;
  margin: 0;
  padding: 0;
  background-color: #f6f6f6;
  color: #333;
}
body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  background-color: #0073e6;
  padding: 12px 20px;
  color: white;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}
header a:hover {
  color: #cce4ff;
}
.container {
  max-width: 900px;
  margin: auto;
  flex-grow: 1;
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.post-title {
  font-size: 18px;
  margin: 0;
}
.post-title a {
  color: rgba(128, 0, 0, 0.98);
  text-decoration: none;
}
.post-body {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.post-thumb {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-content {
  flex-grow: 1;
  height: 140px;
  overflow: hidden;
}
.post-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 700px) {
  header {
    padding: 10px;
    gap: 15px;
  }
  .post-thumb {
    width: 100px;
    height: 100px;
  }
  .post-content {
    height: 100px;
  }
  .post-title {
    font-size: 16px;
  }
}
footer {
  background-color: #222;
  color: #ccc;
  padding: 15px 20px;
  text-align: center;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 14px;
}
.topic-summary {
  background: #fff;
  padding: 20px 25px;
  margin: 0 auto 20px;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 19px;
  line-height: 1.9;
}
.topic-summary .count {
  background-color: #000;
  color: #fff;
  padding: 0 8px;
  display: inline-block;
  min-width: 24px;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  font-size: 16px;
}
.topic-summary .topic-link {
  color: #2196F3;
  text-decoration: none;
  font-weight: 600;
}
.read-more-btn {
  display: inline-block;
  background-color: #e53935;
  color: #fff;
  padding: 8px 16px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.read-more-btn:hover {
  background-color: #c62828;
}
.gallery-masonry {
  column-count: 1;
  column-gap: 4px;
  padding: 4px;
  margin: 0 auto;
  background: #fff;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.gallery-masonry img {
  width: 100%;
  margin-bottom: 4px;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
 
    .h1Tag {
      font-size: 26px;
      margin: 0 0 1px;
      color: #0073e6;
    }
	.h1Tag a {
      font-size: 26px;
      margin: 0 0 15px;
      color: #0073e6;
	  text-decoration: none; 
    }


  @media (max-width: 600px) {
      .h1Tag {
        font-size: 22px;
      }

}


 
 
 
 
 
 
	 
	 
.pagination-wrapper{
    padding:4px;
    margin:0 auto;
    background:#fff;
    max-width:600px;
    width:100%;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}

.pagination-next{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    width:100%;
    padding:15px 0;
    background:#e53935;
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:bold;
    border-radius:6px;
    box-sizing:border-box;
}

.pagination-pages{
    margin-top:20px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:5px;
}

.pagination-page{
    display:inline-block;
    padding:6px 12px;
    border:1px solid #ddd;
    background:#f5f5f5;
    color:#000;
    text-decoration:none;
    border-radius:4px;
    transition:.2s;
}

.pagination-page:hover{
    background:#e0e0e0;
}

.pagination-current{
    background:#4285f4;
    color:#fff;
    border-color:#4285f4;
    font-weight:bold;
}
 


 