/*
Theme Name: میهن بلاگ
Theme URI: https://example.com
Author: شما
Description: قالب وبلاگی ساده، سبک و سریع با پشتیبانی از حالت تاریک و فارسی
Version: 1.4
License: GNU General Public License v2 or later
Text Domain: mihan-blog
Tags: blog, rtl-language-support, dark-mode
*/

/* ─── Font Loading ─── */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap');

@font-face {
  font-family: 'Vazirmatn';
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* ─── CSS Variables ─── */
:root {
  --bg-primary:    #F0F2F5;   /* پس‌زمینه اصلی — خاکستری آبی */
  --bg-secondary:  #E8EBF0;   /* کارت‌ها، سایدبار */
  --text-primary:  #1a1a1a;
  --text-secondary:#6c757d;
  --border-color:  #D8DCE3;   /* کمی تیره‌تر از bg تا معلوم باشه */
  --link-color:    #2563eb;
  --link-hover:    #1d4ed8;
  --accent:        #2563eb;
  --comment-bg:    #EDF0F5;   /* کمی متفاوت از bg-primary */
  --primary-color: #2563eb;
}

[data-theme="dark"] {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1e1e1e;
  --text-primary: #e8e8e8;
  --text-secondary: #9ca3af;
  --border-color: #2d2d2d;
  --link-color: #60a5fa;
  --link-hover: #93c5fd;
  --accent: #60a5fa;
  --comment-bg: #1a1a1a;
    --primary-color: #60a5fa; 
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.9;
  direction: rtl;
  text-align: right;
  font-size: 16px;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─── Layout ─── */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ─── */

.site-header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-branding {
  flex-shrink: 0;
}

.site-branding .site-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.site-branding .site-title a {
  color: var(--text-primary);
}

.site-branding .site-title a:hover {
  color: var(--accent);
}

.site-description {
  display: none;
}

/* ─── Header Actions ─── */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.search-toggle,
.theme-toggle,
.mobile-menu-toggle {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.search-toggle:hover,
.theme-toggle:hover,
.mobile-menu-toggle:hover {
  background: var(--bg-secondary);
}

/* ─── Mobile Menu Toggle: فقط موبایل ─── */

.mobile-menu-toggle {
  display: none;
}

/* ─── Search Overlay ─── */

.search-form-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-form-wrapper.active {
  display: flex;
}

.search-form {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.search-close {
  position: absolute;
  top: 4px;
  right: 3px;  
  font-size: 14px;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  padding: 4px 8px;
  background: none;
  border: none;
}

.search-close:hover {
  color: var(--text-primary);
}

.search-form input[type="search"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.2s;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--accent);
}

.search-form button[type="submit"] {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.search-form button[type="submit"]:hover {
  opacity: 0.9;
}

/* ─── Navigation (Desktop) ─── */

.main-navigation {
  display: none;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-navigation a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--accent);
}

/* ─── Mobile Menu Sidebar ─── */

.mobile-nav-sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-sidebar.active {
  right: 0;
}

.mobile-nav-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}

.mobile-nav-sidebar-header span {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.2rem 0.5rem;
    line-height: 1;
}

.mobile-nav-close:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.mobile-nav-menu {
  list-style: none;
  padding: 12px 0;
  margin: 0;
  flex: 1;
}

.mobile-nav-menu li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu a:hover {
  background: var(--bg-primary);
  color: var(--accent);
}

.mobile-nav-menu .current-menu-item > a {
  color: var(--accent);
  font-weight: 700;
}

.mobile-nav-menu .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.mobile-nav-menu .sub-menu a {
  padding-right: 36px;
  font-size: 14px;
  color: var(--text-secondary);
}

.mobile-nav-menu .sub-menu a:hover {
  color: var(--accent);
}

/* ─── Mobile Menu Overlay ─── */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ─── Desktop ─── */

@media (min-width: 768px) {
  .header-inner {
    gap: 24px;
  }

  .site-description {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
  }

  .main-navigation {
    display: block;
  }

  .header-actions {
    margin-right: 0;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-nav-sidebar,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ─── Mobile ─── */

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ─── Main Content ─── */

.site-main {
  padding: 64px 0;
  min-height: 70vh;
}

/* ─── Post List ─── */

.post-list {
  display: flex;
  flex-direction: column;
}

.post-item {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
}

.post-item:first-child {
  padding-top: 0;
}

.post-item:last-child {
  border-bottom: none;
}

.post-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.post-meta .separator {
  opacity: 0.4;
}

.post-category a {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}

.post-category a:hover {
  color: var(--accent);
}

.post-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.post-title a {
  color: var(--text-primary);
}

.post-title a:hover {
  color: var(--accent);
}

.post-thumbnail {
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
  transform: scale(1.01);
}

.post-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.read-more:hover {
  color: var(--link-hover);
  gap: 8px;
}

/* ─── Single Post ─── */

.single-post .post-title {
  font-size: 34px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.post-content {
  font-size: 17px;
  line-height: 2;
  color: var(--text-primary);
  margin-top: 36px;
}

.post-content p {
  margin-bottom: 24px;
}

.post-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.post-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 14px;
}

.post-content ul,
.post-content ol {
  margin: 20px 0;
  padding-right: 28px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content a {
  color: var(--link-color);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.post-content a:hover {
  border-bottom-color: var(--link-hover);
}

.post-content img {
  border-radius: 10px;
  margin: 32px 0;
}

.post-content blockquote {
  border-right: 4px solid var(--accent);
  padding: 18px 24px;
  margin: 32px 0;
  background: var(--bg-secondary);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-size: 16px;
}

.post-content code {
  background: var(--bg-secondary);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  color: var(--accent);
}

.post-content pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 22px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 32px 0;
  direction: ltr;
  text-align: left;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
  font-size: 14px;
}

/* ─── Comments Area ─── */
.comments-area {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--border-color);
}

.comments-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-color);
}

/* ─── Comment List ─── */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    margin-bottom: 20px;
}

.comment-body {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

/* کامنت‌های تو در تو */
.comment-list .children {
    list-style: none;
    padding-right: 32px;
    margin-top: 16px;
}

.comment-list .children .comment-body {
    border-right: 3px solid var(--primary-color);
}

/* ─── Comment Header ─── */
.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-author img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-color);
    font-style: normal;
}

.comment-metadata {
    font-size: 12px;
    color: var(--text-secondary);
}

.comment-metadata a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* ─── Comment Content ─── */
.comment-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 12px;
}

.comment-content p { margin-bottom: 12px; }

/* ─── Reply Button ─── */
.reply { font-size: 13px; margin-top: 8px; }

.reply a,
.comment-reply-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 5px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s;
}

.reply a:hover,
.comment-reply-link:hover {
    background: var(--card-bg);
    text-decoration: none;
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* ─── Comment Form Wrapper ─── */
.comment-respond {
    margin-top: 48px;
    background: var(--card-bg);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-color);
}

.comment-reply-title small {
    margin-right: 1rem;
    font-size: 14px;
    font-weight: 400;
}

.comment-reply-title small a {
    color: var(--primary-color);
    text-decoration: none;
}

/* ─── Form Fields ─── */
.comment-form p { margin-bottom: 20px; }

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="number"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--border-color); /* ضخامت از 1.5px به 2px */
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="number"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.comment-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* ─── Math Captcha ─── */
.comment-form-math-captcha {
    background: #fff8e1;
    padding: 16px 20px;
    border-radius: 8px;
    border: 2px solid #f0b429; /* ضخامت از 1.5px به 2px */
}

.comment-form-math-captcha label {
    font-size: 14px;
    font-weight: 600;
    color: #5a3e00;
    margin-bottom: 10px;
    display: block;
}

.comment-form-math-captcha input[type="number"] {
    max-width: 120px;
    width: 120px;
    background: #ffffff !important;
    color: #111111 !important;
    border: 2px solid #f0b429 !important;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
}

.comment-form-math-captcha input[type="number"]:focus {
    border-color: #c87800 !important;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.3);
    outline: none;
}

/* dark mode - کپچا */
[data-theme="dark"] .comment-form-math-captcha {
    background: #2a2200;
    border-color: #c87800;
}

[data-theme="dark"] .comment-form-math-captcha label {
    color: #ffd966;
}

[data-theme="dark"] .comment-form-math-captcha input[type="number"] {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border-color: #c87800 !important;
}

/* ─── Captcha Error Message ─── */
.comment-captcha-error {
    background: #fff0f0;
    color: #c0392b;
    border: 2px solid #e74c3c; /* ضخامت از 1.5px به 2px */
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

[data-theme="dark"] .comment-captcha-error {
    background: #2a0000;
    color: #ff6b6b;
    border-color: #c0392b;
}

/* ─── Submit Button ─── */
.comment-form .form-submit {
    margin-top: 20px;
    margin-bottom: 0;
}

.comment-form .submit,
.comment-form .comment-submit-btn,
#commentform .submit,
.comment-form button[type="submit"],
input#submit {
    display: inline-block;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-color) !important; /* border اضافه شد */
    padding: 13px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    opacity: 1 !important;
}

.comment-form .submit:hover,
.comment-form .comment-submit-btn:hover,
#commentform .submit:hover,
input#submit:hover {
    filter: brightness(0.88);
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--primary-color) 80%, #000) !important;
}

.comment-form .submit:active,
.comment-form .comment-submit-btn:active,
input#submit:active {
    transform: translateY(0);
}

/* dark mode - دکمه */
[data-theme="dark"] .comment-form .submit,
[data-theme="dark"] .comment-form .comment-submit-btn,
[data-theme="dark"] #commentform .submit,
[data-theme="dark"] input#submit {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-color) !important;
    opacity: 1 !important;
}

/* ─── Captcha Error Message ─── */
.comment-captcha-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1.5px solid #e74c3c;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

[data-theme="dark"] .comment-captcha-error {
    background: #2a0000;
    color: #ff6b6b;
    border-color: #c0392b;
}

/* ─── Submit Button ─── */
.comment-form-submit-wrapper {
    margin-top: 20px;
    margin-bottom: 0;
}

.comment-form .submit,
.comment-form .comment-submit-btn,
#commentform .submit,
.comment-form button[type="submit"],
input#submit,
button#submit {
    display: inline-block;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-color) !important;
    padding: 13px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    opacity: 1 !important;
}

.comment-form .submit:hover,
.comment-form .comment-submit-btn:hover,
#commentform .submit:hover,
input#submit:hover,
button#submit:hover {
    filter: brightness(0.88);
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--primary-color) 80%, #000) !important;
}

.comment-form .submit:active,
.comment-form .comment-submit-btn:active,
input#submit:active,
button#submit:active {
    transform: translateY(0);
}

/* dark mode */
[data-theme="dark"] .comment-form .submit,
[data-theme="dark"] .comment-form .comment-submit-btn,
[data-theme="dark"] #commentform .submit,
[data-theme="dark"] input#submit,
[data-theme="dark"] button#submit {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-color) !important;
    opacity: 1 !important;
}

/* ─── Post Navigation ─── */

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.post-navigation a {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 48%;
}

.post-navigation a:hover {
  color: var(--accent);
}

.nav-subtitle {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.nav-title {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── Pagination ─── */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.pagination .page-numbers {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.2s;
}

.pagination a.page-numbers:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ─── No Posts ─── */

.no-posts {
  text-align: center;
  padding: 80px 0;
  color: var(--text-secondary);
}

.no-posts h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* ─── Footer ─── */

.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.site-footer a {
  color: var(--text-secondary);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--accent);
}

/* ─── Responsive ─── */

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    padding: 12px 0;
  }

  .header-inner {
    gap: 10px;
  }

  .site-branding .site-title {
    font-size: 18px;
  }

  .search-toggle,
  .theme-toggle,
  .mobile-menu-toggle {
    padding: 7px 10px;
    font-size: 15px;
  }

  .post-title {
    font-size: 22px;
  }

  .single-post .post-title {
    font-size: 26px;
  }

  .post-content {
    font-size: 16px;
  }

  .site-main {
    padding: 40px 0;
  }

  .post-item {
    padding: 36px 0;
  }

  .post-navigation {
    flex-direction: column;
  }

  .post-navigation a {
    max-width: 100%;
  }

  .comment .children {
    padding-right: 16px;
  }

  .comment-respond {
    padding: 20px;
  }
}
