@charset "UTF-8";

/* =============================================
   پالت رنگی 2025 - فیروزه‌ای آرام و حرفه‌ای
   =============================================
   رنگ اصلی:     فیروزه‌ای عمیق و آرامش‌بخش
   رنگ ثانویه:   هلویی نرم و گرم (مکمل روان‌شناختی)
   رنگ تاکید:    فیروزه‌ای روشن (ایجاد عمق)
   رنگ تیره:     اسلیت عمیق (حرفه‌ای و خوانا)
   رنگ روشن:     سفید نرم (کاهش خستگی چشم)
   ============================================= */

:root {
    /* پالت رنگ اصلی */
    --primary-color: #28cebf;        /* فیروزه‌ای آرام */
    --secondary-color: #8af9e4;      /* هلویی/کرم نرم */
    --accent-color: #6dbfb5;         /* فیروزه‌ای روشن */
    --dark-color: #2c3e50;           /* آبی-خاکستری تیره */
    --light-color: #f8f9fc;          /* سفید مایل به آبی بسیار کم‌رنگ */
    --text-color: #2d3e50;           /* خاکستری تیره با ته‌مایه آبی */
    --text-light: #5a6b7a;           /* خاکستری ملایم */
    --border-color: #e0e4e9;         /* خاکستری بسیار روشن */
    --shadow-color: rgba(0, 0, 0, 0.06); /* سایه بسیار نرم */

    /* گرادینت‌های جدید */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #3fbbb0);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #f7b977);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #8ed3cb);

    /* متغیرهای ریسپانسیو (بدون تغییر) */
    --container-width: 1200px;
    --header-height: 280px;
    --mobile-breakpoint: 768px;
    --tablet-breakpoint: 1024px;

    /* انیمیشن‌ها */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* سایه‌های مدرن */
    --shadow-sm: 0 2px 8px var(--shadow-color);
    --shadow-md: 0 4px 12px var(--shadow-color);
    --shadow-lg: 0 8px 24px var(--shadow-color);
    --shadow-xl: 0 12px 32px var(--shadow-color);

    /* border-radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
}

/* Reset و تنظیمات پایه (بدون تغییر در ساختار) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    background: var(--light-color);
    background-image: linear-gradient(135deg, #f0f7fa 0%, #d4e6f1 100%);
    font-family: 'Vazirmatn', 'yekan', 'iransans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

body a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

body a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    line-height: 1.3;
    font-weight: 700;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    line-height: 1.7;
}

.clear {
    clear: both;
}

/* Container اصلی */
#wrp {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== هدر بسیار حرفه‌ای و جذاب با رنگ فیروزه‌ای ========== */
#header {
    position: relative;
    background: linear-gradient(135deg, rgba(44, 173, 160, 0.85), rgba(44, 62, 80, 0.95)),
                url('https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    margin: 30px auto 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeIn 1s ease-out;
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg,
                rgba(44, 173, 160, 0.1) 0%,
                rgba(244, 162, 97, 0.1) 50%,
                rgba(109, 191, 181, 0.1) 100%);
    z-index: 1;
}

#blog-title {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 50px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-medium);
}

#blog-title:hover {
    transform: translateY(-5px);
}

#header a {
    color: var(--light-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

#header a:hover {
    color: var(--accent-color);
}

#header h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

#header h2 {
    font-weight: 300;
    font-size: 1.25rem;
    margin: 15px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

/* منو */
#menu {
    background: var(--light-color);
    padding: 0;
    border-radius: var(--radius-lg);
    margin: 0 auto 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

#menu::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

#menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

#menu li {
    position: relative;
    margin: 0;
    padding: 0;
}

#menu li:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--border-color);
}

#menu li:first-child:after {
    display: none;
}

#menu li:last-child:after {
    display: none;
}

#menu a {
    display: block;
    padding: 20px 25px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

#menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

#menu a:hover {
    color: var(--primary-color);
    background: rgba(44, 173, 160, 0.05);
}

#menu a:hover::before {
    width: 100%;
}

#menu a.selected {
    color: var(--primary-color);
}

#menu a.selected::before {
    width: 100%;
}

/* محتوای اصلی */
#block-post {
    width: 100%;
    float: none;
    padding: 0;
    margin-bottom: 40px;
}

/* پیام‌ها */
.align {
    margin-bottom: 20px;
}

.messages {
    background: var(--light-color);
    border: none;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-right: 4px solid var(--accent-color);
    animation: slideIn 0.5s ease-out;
}

.messages h2 {
    font-family: inherit;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark-color);
}

/* پست‌ها */
.post {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.post img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.post audio,
.post video {
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius-sm);
}

.post-title {
    padding: 25px 30px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.post-title::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    animation: shine 3s infinite linear;
}

.post-title a {
    color: var(--light-color) !important;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all var(--transition-fast);
}

.post-title a:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.post-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    color: var(--light-color);
}

.post a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.post a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.post-content {
    line-height: 1.8;
    padding: 30px;
    background: var(--light-color);
}

.read-more {
    padding: 20px 0 10px;
    text-align: center;
}

.read-more a {
    display: inline-block;
    background: var(--gradient-secondary);
    padding: 12px 30px;
    border-radius: var(--radius-round);
    color: var(--light-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.read-more a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
    color: var(--light-color);
}

/* جزئیات پست */
.post-detail {
    padding: 20px 30px;
    background: rgba(248, 249, 250, 0.8);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.post-detail ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.post-detail li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-detail li:after {
    content: '';
    display: none;
}

.post-detail-right {
    float: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.post-detail-right span {
    padding: 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-detail-left {
    float: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.post-detail a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-detail a:hover {
    color: var(--primary-color);
}

/* برچسب‌های پست */
.post-tags {
    background: var(--light-color);
    border: none;
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
    border-right: 3px solid var(--accent-color);
}

.post-tags a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(109, 191, 181, 0.1);
    border-radius: var(--radius-round);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-block;
    margin: 5px;
}

.post-tags a:hover {
    background: var(--gradient-accent);
    color: var(--light-color);
    transform: translateY(-2px);
}

.post-tags-title {
    padding: 0 0 15px;
    margin-bottom: 15px;
    border-radius: 0;
    color: var(--dark-color);
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--border-color);
}

/* نظرات */
.comment-count-box {
    text-align: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: none;
    margin: 30px 0;
    box-shadow: var(--shadow-md);
}

.comment-count-box a {
    color: var(--light-color);
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-round);
}

.comment-count-box a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.cm-main {
    background: var(--light-color);
    border: none;
    border-radius: var(--radius-lg);
    margin: 20px 0;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.cm-main:hover {
    transform: translateX(-5px);
}

.cm-body {
    padding-bottom: 0;
}

.cm-details {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cm-avatar {
    float: none;
    flex-shrink: 0;
}

.cm-av {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    object-fit: cover;
    border: 3px solid var(--accent-color);
    padding: 2px;
    background: var(--light-color);
    box-shadow: var(--shadow-sm);
}

.comment-details {
    overflow: visible;
    padding-top: 0;
    margin-right: 0;
    flex: 1;
}

.cm-name {
    margin-right: 0;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cm-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cm-name a:hover {
    color: var(--secondary-color);
}

.comment-matn {
    padding: 0;
    line-height: 1.8;
    overflow: visible;
    color: var(--text-color);
    font-size: 1rem;
}

.comment-link {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.comment-link:hover {
    transform: scale(1.2);
}

.cm-reply-main {
    overflow: visible;
    padding: 20px 0 0;
    margin-top: 20px;
    padding-right: 20px;
    border-right: 3px solid var(--accent-color);
    background: rgba(109, 191, 181, 0.05);
    border-radius: var(--radius-sm);
}

.comment-reply {
    margin-right: 0;
    margin-left: auto;
    padding: 20px;
    line-height: 1.8;
    color: var(--text-color);
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
}

.comment-reply-page {
    padding: 20px;
    line-height: 1.8;
    border-radius: var(--radius-md);
    background: rgba(109, 191, 181, 0.1);
    color: var(--dark-color);
    border: none;
}

.reply-av {
    width: 50px;
    float: right;
    border-radius: var(--radius-round);
    margin-left: 15px;
    border: 2px solid var(--accent-color);
    padding: 2px;
    background: var(--light-color);
}

.comment-add-form {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--light-color);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--text-color);
    box-shadow: var(--shadow-md);
}

.comment-add-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--dark-color);
}

.bComForm .sendbutton.hasCheckbox:hover {
    background: var(--secondary-color);
    transition-duration: 0.3s;
}

input[type=button],
input[type=text],
input[type=password],
input[type=submit],
button,
textarea,
select,
.inputBox,
input.text,
a.btn,
a.btn:hover,
a.btn:visited {
    background-color: var(--light-color);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    width: 100%;
    max-width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 173, 160, 0.1);
}

.htmlbox .toolbar {
    background: var(--light-color) !important;
    border-bottom: 2px solid var(--border-color) !important;
    padding: 15px !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

.htmlbox .toolbar a {
    margin: 0 5px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--light-color);
    transition: all var(--transition-fast) !important;
}

.htmlbox .toolbar a:hover {
    background: var(--primary-color) !important;
    color: var(--light-color) !important;
    border-color: var(--primary-color) !important;
}

.htmlbox {
    border: 2px solid var(--border-color) !important;
    background: var(--light-color) !important;
    border-radius: var(--radius-md) !important;
}

.bComForm .sendbutton.hasCheckbox {
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    margin-top: 20px;
    width: auto;
    min-width: 150px;
    border-radius: var(--radius-round);
    color: var(--light-color);
    padding: 14px 35px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.bComForm .sendbutton.hasCheckbox:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    transition-duration: 0.3s;
}

/* جزئیات نظرات */
.post-detail-top {
    padding: 10px 0;
    color: var(--text-light);
    cursor: default;
    font-size: 0.9rem;
    margin-top: 10px;
}

.post-detail-top a {
    color: var(--text-light);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.post-detail-top a:hover {
    color: var(--primary-color);
}

.post-detail-top ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.post-detail-top li {
    border-left: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.post-detail-top li:last-child {
    border-left: none;
}

/* صفحه‌بندی */
.pagingation {
    padding: 30px 0;
    text-align: center;
}

.pagesList {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagingation li {
    display: inline-block;
    line-height: 1;
}

.pagingation a {
    padding: 12px 20px;
    color: var(--dark-color);
    background: var(--light-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: inline-block;
    min-width: 45px;
    text-align: center;
}

.pagingation a:hover {
    border-color: var(--primary-color);
    background: rgba(44, 173, 160, 0.1);
    transform: translateY(-2px);
}

.pagingation a.page_current {
    background: var(--gradient-primary);
    color: var(--light-color);
    border-color: var(--primary-color);
}

/* سایدبار */
#block-left {
    width: 100%;
    float: none;
    line-height: 1.7;
    color: var(--text-color);
    padding: 0;
    margin-bottom: 40px;
}

#block-left .left-box {
    margin-bottom: 30px;
    cursor: default;
    background: var(--light-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

#block-left .left-box:hover {
    transform: translateY(-5px);
}

#block-left .left-title {
    background: var(--gradient-primary);
    border-radius: 0;
    padding: 20px;
    font-family: inherit;
    color: var(--light-color);
    text-align: right;
    font-weight: 700;
    font-size: 1.2rem;
}

#block-left a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

#block-left a:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

#block-left .left-detail {
    background: var(--light-color);
    border: none;
    margin-top: 0;
    border-radius: 0;
    padding: 20px;
}

#block-left .left-detail li:hover {
    background: rgba(44, 173, 160, 0.05);
}

#block-left .left-detail li:last-child:hover {
    background: rgba(44, 173, 160, 0.05);
    border-radius: 0;
}

#block-left .left-detail li {
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    transition: all var(--transition-fast);
}

#block-left .left-detail li:last-child {
    border-bottom: none;
    padding-bottom: 15px;
}

.left-detail a {
    display: block;
}

/* درباره ما */
.blog-image {
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.blog-image:hover img {
    transform: scale(1.05);
}

.about-me {
    background: var(--light-color);
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
}

.about-me img {
    width: 100%;
    border-radius: 0;
}

/* فالو باکس */
.followBx {
    margin-top: 20px;
    background: var(--light-color);
    border-radius: var(--radius-lg);
    border-top: none;
    padding: 20px;
}

.followThis.followed {
    background: var(--gradient-primary);
    border-radius: var(--radius-round);
}

.followThis {
    background: var(--gradient-secondary);
    border-radius: var(--radius-round);
    font-family: inherit;
    font-size: 1rem;
    padding: 12px 25px;
    color: var(--light-color) !important;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 10px 0;
    transition: all var(--transition-medium);
}

.followThis:hover {
    color: var(--light-color) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#followInBx #followersLs .followImg {
    border-radius: var(--radius-round);
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

/* آمار */
.left-stat {
    background: var(--light-color);
    border: none;
    padding: 20px;
    border-radius: 0;
    margin-top: 0;
}

.left-stat li {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}

.left-stat li:hover {
    background: rgba(44, 173, 160, 0.05);
}

.left-stat li:last-child {
    border-bottom: none;
}

.stat-value {
    float: none;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(44, 173, 160, 0.1);
    padding: 5px 15px;
    border-radius: var(--radius-round);
}

/* دسته‌بندی */
.left-category {
    background: var(--light-color);
    border: none;
    padding: 20px;
    border-radius: 0;
    margin-top: 0;
}

.left-category li {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.left-category li:hover {
    background: rgba(44, 173, 160, 0.05);
    padding-right: 25px;
}

.count {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(44, 173, 160, 0.1);
    padding: 2px 10px;
    border-radius: var(--radius-round);
    font-size: 0.9rem;
}

.left-category li a {
    padding-right: 25px;
    background-image: none;
    background-repeat: no-repeat;
    background-position: right center;
    display: inline-block;
    position: relative;
}

.left-category li a::after {
    content: '›';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.left-category li:hover a::after {
    transform: translateY(-50%) translateX(-5px);
}

.left-category .category-child a {
    padding-right: 35px;
    background-image: none;
    background-repeat: no-repeat;
    background-position: right center;
    display: inline-block;
}

/* نظرات اخیر */
.recent-cm-main {
    overflow: visible;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.recent-cm-main img {
    width: 45px;
    height: 45px;
    float: none;
    border-radius: var(--radius-round);
    margin-top: 0;
    border: 2px solid var(--accent-color);
    padding: 2px;
    background: var(--light-color);
}

.recent-cm-detail {
    margin-right: 0;
    flex: 1;
}

.recent-cm-name {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.recent-cm-matn {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* برچسب‌ها */
.left-tag {
    padding: 20px;
    background: var(--light-color);
    border: none;
    border-radius: 0;
}

.tags a {
    background: rgba(109, 191, 181, 0.1);
    border: 1px solid rgba(109, 191, 181, 0.3);
    border-radius: var(--radius-round);
    padding: 8px 16px;
    margin: 5px;
    display: inline-block;
    transition: all var(--transition-fast);
}

.tags a:hover {
    color: var(--light-color) !important;
    border: 1px solid var(--accent-color);
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* فوتر */
.footer {
    padding: 40px;
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    background: var(--dark-color);
    border: none;
    color: var(--light-color);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--light-color);
}

footer a:hover {
    color: var(--accent-color);
}

.erfan {
    float: none;
    display: inline-block;
    margin: 10px 0;
}

.bayan {
    float: none;
    display: inline-block;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.7);
}

/* انیمیشن‌ها (بدون تغییر) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(244, 162, 97, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(244, 162, 97, 0.6), 0 0 30px rgba(44, 173, 160, 0.5);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* رسپانسیو - موبایل (تنها رنگ‌ها در صورت نیاز به‌روز شدند) */
@media only screen and (max-width: 768px) {
    :root {
        --header-height: 220px;
        --container-width: 100%;
    }

    html {
        font-size: 14px;
    }

    #wrp {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding: 0 15px;
    }

    #header {
        margin: 15px auto;
        padding: 30px 15px;
        min-height: 200px;
    }

    #header h1 {
        font-size: 2.2rem;
    }

    #header h2 {
        font-size: 1rem;
    }

    #menu {
        text-align: center;
        padding: 0;
    }

    #menu li {
        display: block;
        padding: 0;
        width: 100%;
    }

    #menu li:after {
        display: none;
    }

    #menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    #menu a:last-child {
        border-bottom: none;
    }

    #menu a::before {
        bottom: 0;
        right: 0;
        width: 4px;
        height: 100%;
        transition: width var(--transition-medium);
    }

    #menu a:hover::before {
        width: 4px;
        height: 100%;
    }

    #block-post {
        width: 100%;
        float: none;
    }

    #block-left {
        width: 100%;
        margin-top: 30px;
        float: none;
    }

    .post-title h2 {
        font-size: 1.3rem;
    }

    .post-content {
        padding: 20px;
    }

    .post-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .post-detail ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pagingation a {
        padding: 10px 15px;
        min-width: 40px;
    }

    .comment-count-box {
        padding: 20px;
    }

    .comment-count-box a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    .cm-main {
        padding: 20px;
    }

    .cm-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cm-av {
        width: 50px;
        height: 50px;
    }

    .footer {
        padding: 30px 20px;
        text-align: center;
    }

    .footer .erfan {
        padding-bottom: 15px;
        float: none;
        display: block;
    }

    .footer .bayan {
        float: none;
        display: block;
    }
}

/* رسپانسیو - تبلت */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #wrp {
        max-width: 95%;
        padding: 0 20px;
    }

    #header h1 {
        font-size: 2.8rem;
    }

    #menu a {
        padding: 18px 20px;
        font-size: 0.95rem;
    }

    .post-title h2 {
        font-size: 1.4rem;
    }
}

/* استایل‌های اضافی */
::selection {
    background-color: var(--primary-color);
    color: var(--light-color);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-round);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* افکت‌های hover پیشرفته */
.hover-lift {
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* کلاس‌های کمکی */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

/* Loader برای تصاویر */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Dark Mode (هماهنگ با پالت جدید) */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1e2a36;
        --dark-color: #f0f4f8;
        --text-color: #e0e6ed;
        --text-light: #a0b3c9;
        --border-color: #2a3743;
        --shadow-color: rgba(0, 0, 0, 0.4);
    }

    body {
        background: #131e26;
    }
}

/* پرینتر */
@media print {
    #menu, #block-left, .post-detail, .comment-add-form, .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    #header {
        background: none !important;
        color: #000 !important;
    }

    .post {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #006b5e;
        --secondary-color: #b45d2a;
        --accent-color: #007d70;
    }
}
