/*----------------------------------
 page-CSS
----------------------------------*/
ul.page-Free {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

ul.page-Free a {
    color: var(--A);
}

ul.page-Free a:hover {
    color: var(--A);
    font-weight: 600;
}


/*----------------------------------
 page-CSS Free
----------------------------------*/
ul.page-Free {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

ul.page-Free a {
    color: var(--A);
}

ul.page-Free a:hover {
    color: var(--A);
    font-weight: 600;
}


/*----------------------------------
 page-CSS blog وبلاگ
----------------------------------*/
/* --- blog page style --- */
.blog-header {
  background: linear-gradient(145deg, #20232a, #32363e);
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 50px;
}
.blog-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}
.blog-desc a {
  color: #ffb347;
  text-decoration: none;
}
.blog-desc a:hover { text-decoration: underline; }

#blog-content.container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.post-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 1 1 300px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); }
.thumb-wrap { display:block; overflow:hidden; }
.post-thumb {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.post-card:hover .post-thumb { transform: scale(1.05); }

.post-info { padding: 20px; text-align: right; direction: rtl; }
.post-title a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}
.post-title a:hover { color: #e97400; }

.post-meta {
  font-size: 0.85rem;
  color: #777;
  margin: 8px 0 12px;
}
.post-meta span { margin-left: 10px; }

.excerpt { color: #555; line-height: 1.7; }

.read-more {
  display: inline-block;
  margin-top: 12px;
  background: #e97400;
  color: #fff;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
}
.read-more:hover { background: #ff9400; }

@media (max-width: 768px) {
  .blog-title { font-size: 1.8rem; }
  #blog-content.container { flex-direction: column; align-items:center; }
  .post-card { max-width: 90%; }
}
