/*
Theme Name: مینیمال فارسی
Theme URI: https://pixeldynamic.ir
Author: Javad
Author URI: https://pixeldynamic.ir
Description: یک قالب وردپرس مینیمال، ساده و راست‌چین برای وبلاگ‌های شخصی فارسی‌زبان.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: minimal-fa
*/

/* ==========================================================================
   ریست پایه
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: right;
  /*
    توصیه: چون فونت گوگل (Google Fonts) ممکنه به دلیل فیلترینگ
    برای بازدیدکننده‌های داخل ایران به کندی لود بشه یا اصلا لود نشه،
    بهتره فونت وزیرمتن رو دانلود و روی سرور خودت (self-host) قرار بدی
    و مسیرش رو با @font-face اینجا اضافه کنی. فعلا از فونت‌های سیستمی
    استفاده شده که همیشه در دسترس هستن.
  */
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  color: #222222;
  background-color: #ffffff;
  line-height: 1.9;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover,
a:focus {
  border-bottom-color: currentColor;
}

/* ==========================================================================
   چیدمان کلی
   ========================================================================== */

.site-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   هدر سایت
   ========================================================================== */

.site-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 40px;
}

.site-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.site-title a {
  border-bottom: none;
}

.site-description {
  margin: 8px 0 0;
  color: #767676;
  font-size: 15px;
}

.main-navigation {
  margin-top: 24px;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-navigation a {
  font-size: 15px;
  color: #444444;
}

/* ==========================================================================
   محتوای اصلی / لیست پست‌ها
   ========================================================================== */

.content-area {
  padding-bottom: 64px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.post-summary {
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
}

.post-summary:last-child {
  border-bottom: none;
}

.entry-title {
  font-size: 22px;
  margin: 0 0 10px;
  line-height: 1.5;
}

.entry-title a {
  border-bottom: none;
}

.entry-meta {
  font-size: 13px;
  color: #999999;
  margin-bottom: 14px;
}

.entry-meta span {
  margin-left: 10px;
}

.entry-summary,
.entry-content {
  color: #333333;
  font-size: 16px;
}

.entry-content p {
  margin: 0 0 22px;
}

.entry-content h2,
.entry-content h3 {
  margin: 36px 0 16px;
}

.entry-content blockquote {
  margin: 24px 0;
  padding: 4px 20px;
  border-right: 3px solid #dddddd;
  border-left: none;
  color: #555555;
}

.read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   صفحه‌بندی
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
  font-size: 14px;
}

/* ==========================================================================
   تک‌پست
   ========================================================================== */

.single .entry-header {
  margin-bottom: 32px;
}

.single .entry-title {
  font-size: 30px;
}

.post-navigation {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* ==========================================================================
   فوتر
   ========================================================================== */

.site-footer {
  border-top: 1px solid #ececec;
  padding: 32px 0 56px;
  text-align: center;
  color: #999999;
  font-size: 13px;
}

/* ==========================================================================
   واکنش‌گرا
   ========================================================================== */

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 40px 0 24px;
  }

  .site-title {
    font-size: 24px;
  }

  .single .entry-title {
    font-size: 24px;
  }
}
