@charset "utf-8";
/* CSS Document - v3.5.0 */

html {
    direction: ltr;
}

@font-face {
    font-family: 'yekan';
    src: url('//cdn.bayan.ir/blog/templates/shared/fonts/BYekan.woff?download') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    font-size: 11px;
    margin: 0;
    padding: 0;
    line-height: 1.9em;
    background: #f3f3f3;
    color: #6b828e;
}

p {
    margin-bottom: 0.5em;
}

pre {
    direction: ltr;
    background-color: #FAFAEE;
    border: 1px solid #DADADA;
    margin: 1em;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
}

.clear {
    clear: both;
}

h1, h2, h3 {
    font-family: "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    font-weight: normal;
}

img {
    border: none;
    border-width: 0;
}

a {
    color: #254252;
    cursor: pointer;
    text-decoration: none;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

a:hover {
    color: #407694;
    text-decoration: none;
    cursor: pointer;
}

a:active {
    outline: hidden;
}

/* ==================== */
/* بهبودهای هدر اصلی */
/* ==================== */

.header {
    direction: rtl;
    height: 150px;
    background: linear-gradient(135deg, #313b3d 0%, #2a3234 100%) url(//cdn.bayan.ir/blog/templates/52205/head-light.png) no-repeat 760px top;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.header > * {
    position: relative;
    z-index: 2;
}

.head-wrp {
    position: relative;
    width: 960px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-right {
    text-align: right;
    flex: 1;
}

.head-right h1 {
    position: relative;
    margin-bottom: 17px;
    padding-top: 40px;
    font-size: 32px;
    text-align: center;
    background: url(//cdn.bayan.ir/blog/templates/52205/head-icon.png) no-repeat center top;
    transition: all 0.3s ease;
}

.head-right h1 a {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.head-right h1 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4132, #ff6256);
    transition: width 0.3s ease;
}

.head-right h1 a:hover::after {
    width: 80%;
}

.head-right h1 a:hover {
    color: #ff6256;
    text-shadow: 0 0 20px rgba(255, 98, 86, 0.3);
}

.head-right h2 {
    margin: 0;
    font-size: 18px;
    cursor: default;
    color: #c9d6d9;
    text-align: center;
    font-weight: 300;
    transition: all 0.3s ease;
}

.head-right:hover h2 {
    color: #fff;
    transform: translateY(-2px);
}

.head-left {
    font-family: "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    font-size: 14px;
    text-align: left;
}

.head-left ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 5px;
}

.head-left ul li {
    position: relative;
    margin: 60px 0 0 0;
}

.head-left ul li a {
    padding: 57px 15px 5px;
    color: #c9d6d9;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.head-left ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff4132, #ff6256);
    transition: left 0.3s ease;
}

.head-left ul li a:hover::before {
    left: 0;
}

.head-left ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.head-left ul li.selected a {
    color: #fff;
    background: rgba(255, 65, 50, 0.2);
    border-bottom: 3px solid #ff4132;
}

.head-left ul li.selected a::before {
    left: 0;
}

@keyframes menuItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.head-left ul li {
    animation: menuItemFadeIn 0.5s ease forwards;
}

.head-left ul li:nth-child(1) { animation-delay: 0.1s; }
.head-left ul li:nth-child(2) { animation-delay: 0.2s; }
.head-left ul li:nth-child(3) { animation-delay: 0.3s; }
.head-left ul li:nth-child(4) { animation-delay: 0.4s; }

.head-post {
    position: relative;
    height: 390px;
    text-align: center;
    overflow: hidden;
    background: url(//cdn.bayan.ir/blog/templates/52205/post-head.jpg) center center no-repeat scroll;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.head-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 59, 61, 0.8) 0%, rgba(42, 50, 52, 0.6) 100%);
    z-index: 1;
}

.head-post > * {
    position: relative;
    z-index: 2;
}

.head-post h2 {
    margin: 0px 0 30px;
    padding: 0;
    font-size: 36px;
    line-height: 1.4;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.head-post h2 a {
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 10px;
    margin: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.head-post h2 a:hover {
    background: rgba(255, 65, 50, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 65, 50, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.readmore {
    font-family: "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    background: linear-gradient(135deg, #ff4132, #ff6256);
    padding: 12px 30px;
    color: #fff;
    font-size: 16px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.readmore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.readmore:hover::before {
    left: 100%;
}

.readmore:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff6256, #ff4132);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 65, 50, 0.4);
}

.readmore:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 65, 50, 0.3);
}

.head-post .readmore {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.head-post h2 {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.head-post .readmore {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(49, 59, 61, 0.95) 0%, rgba(42, 50, 52, 0.95) 100%);
    backdrop-filter: blur(20px);
}

.header.sticky .head-wrp {
    height: 80px;
}

.header.sticky .head-left ul li {
    margin: 20px 0 0 0;
}

.header.sticky .head-left ul li a {
    padding: 25px 15px 5px;
}

.header.sticky .head-right h1 {
    padding-top: 15px;
    font-size: 24px;
}

.header.sticky .head-right h2 {
    font-size: 14px;
}

@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: 120px;
        padding: 15px 0;
    }
    
    .head-wrp {
        width: 100%;
        padding: 0 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .head-right {
        order: 1;
        margin-bottom: 15px;
    }
    
    .head-left {
        order: 2;
        text-align: center;
    }
    
    .head-left ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .head-left ul li {
        margin: 10px 5px 0 0;
    }
    
    .head-left ul li a {
        padding: 15px 10px 5px;
        font-size: 12px;
    }
    
    .head-right h1 {
        font-size: 24px;
        padding-top: 20px;
    }
    
    .head-right h2 {
        font-size: 14px;
    }
    
    .head-post {
        height: 250px;
    }
    
    .head-post h2 {
        font-size: 24px;
        padding: 60px 0 0;
    }
    
    .head-post h2 a {
        padding: 10px 20px;
        font-size: 18px;
    }
    
    .head-post .readmore {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .head-left ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .head-left ul li {
        margin: 5px 0 0 0;
    }
    
    .head-left ul li a {
        padding: 10px 15px;
        display: block;
    }
    
    .head-right h1 {
        font-size: 20px;
    }
    
    .head-right h2 {
        font-size: 12px;
    }
}

.header:hover {
    background: linear-gradient(135deg, #313b3d 0%, #2a3234 100%) url(//cdn.bayan.ir/blog/templates/52205/head-light.png) no-repeat 760px top;
}

.header:hover .head-right h1 a {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.head-right h1,
.head-right h2,
.head-left ul li a {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.header * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.head-left ul li a,
.readmore {
    scroll-behavior: smooth;
}

.head-left ul li a:focus,
.readmore:focus {
    outline: 2px solid #ff4132;
    outline-offset: 3px;
}

.header.loading {
    opacity: 0.8;
    pointer-events: none;
}

.header.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff4132, transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.pagination-box {
    margin: auto;
}

.pagination {
    font-family: "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    cursor: default;
    text-align: center;
    margin: 40px auto;
    font-size: 14px;
    padding: 0;
    float: none;
}

.pagination .left {
    margin-left: -3px;
}

.pagination a {
    padding: 0 15px 4px;
    margin-left: 3px;
    cursor: pointer;
    color: #465e6a;
    background: #cfe0e2;
    float: none;
}

.pagination a:hover {
    color: #465e6a;
    background: rgba(8, 146, 205, 0.1);
}

.pagination a.current {
    color: #465e6a;
    background: #aacdd1;
}

.pagination .spacer {
    float: right;
    padding: 1px 8px;
    color: #999;
}

.pagination .pagesList {
    display: inline-block;
}

.content-wrp {
    direction: rtl;
    width: 960px;
    margin: 30px auto 20px;
    position: relative;
}

.block-content {
    width: 640px;
    float: right;
}

.block-content-view {
    float: right;
    width: 100%;
}

.block-content .messages {
    cursor: default;
    margin-bottom: 15px;
    border: 3px solid rgba(172, 186, 192, 0.3);
    background: #fcfcfc;
}

.block-content .messages .messages-content {
    padding: 5px 15px;
    color: #aaa;
}

.block-content .messages .messages-content h2 {
    color: #888;
    font: 21px "yekan", "Times New Roman", Times, Arial, serif;
    text-align: center;
    cursor: default;
    margin: 0 0 7px;
}

.block-content .messages .messages-content h2 a.comment_count {
    color: #aaa;
}

.block-content .messages .messages-content h2 a.comment_count:hover {
    color: #A4CACF;
    cursor: pointer;
}

.block-content .post {
    position: relative;
    padding: 0;
    margin-bottom: 30px;
    font-family: "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    border: 3px solid rgba(172, 186, 192, 0.3);
    background: #fcfcfc;
}

.post-image {
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-image a img {
    -ms-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.post-image a:hover img {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.block-content .post .post-title {
    padding: 15px 20px 5px;
}

.block-content .post h2 {
    margin: 0;
}

.block-content .post h2 a {
    line-height: 1.7em;
    font-size: 21px;
    color: #254252;
}

.block-content .post h2 a:hover {
    color: #407694;
}

.post-content {
    color: #6b828e;
    margin: 0 20px 0;
    text-align: justify;
    font: 14px "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
}

.post-content a {
    color: #A4CACF;
}

.post-content a:hover {
    color: #0575a5;
}

.post-content ul li {
    margin-right: 5px;
    line-height: 1.9em;
}

.post-content img {
    max-width: 98%;
    height: auto;
}

.post-readmore {
    margin: 0px 20px 25px;
}

.post-readmore a {
    font-size: 15px;
    line-height: 1em;
    padding: 0 15px 2px;
    color: #fff;
    background: #ff4132;
}

.post-readmore a:hover {
    color: #fff;
    background: #ff6256;
}

.post-readmore a:active {
    color: #fff;
    background: #ef2f20;
}

.post-details {
    font: 14px "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    color: #888;
    cursor: default;
    position: relative;
}

.post-details a {
    color: #888 !important;
}

.post-details a:hover {
    color: #555 !important;
}

.post-details.over {
    position: absolute;
    z-index: 9;
}

.post-details.over .post-details-date {
    margin: 0 0 2px;
    padding: 1px 10px 5px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.post-details.over .post-details-author {
    margin: 0 0 2px;
    padding: 1px 10px 5px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.post-details.bottom {
    margin-top: 15px;
    padding: 5px 10px;
    border-top: 1px solid rgba(172, 186, 192, 0.2);
    background: #fcfcfc;
}

.post-details.bottom.nobg {
    background: none;
}

.post-details.custom {
    margin-top: 10px;
    padding: 10px 20px;
}

.post-details-right {

}

.post-details-left {
    float: left;
}

.post-details-date {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 10px;
    margin-left: 3px;
}

.post-details-date.none {
    padding: 0;
    margin: 10px 0 0;
    background: none;
    border-left: 0;
    display: block;
}

.post-details-comment {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 10px;
    margin-left: 1px;
}

img.rateimg, img.rateup, img.ratedn {
    background: url(//cdn.bayan.ir/blog/templates/52205/pd_ico_rate.png) no-repeat center left;
    width: 16px;
    height: 28px;
    vertical-align: top;
}

.rate-down img.rateimg, img.ratedn {
    background-position: 0 -17px;
}

.rate-up img.rateimg, img.rateup {
    background-position: 0 3px;
}

.rate-up {
    margin: 0 10px;
}

.post-details .post-details-tags {
    cursor: default;
}

.post-details .post-details-tags h3 {
    margin: 0;
    display: inline-block;
    font: 14px/1.3em "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
    color: #888;
    background: #f9f9f9;
}

.post-details .post-details-tags h3 a {
    color: #888;
    padding: 1px 7px 4px;
    border: #ddd 1px solid;
    display: inline-block;
}

.post-details .post-details-tags h3 a:hover {
    color: #fff !important;
    border: #A4CACF 1px solid;
    background: #A4CACF;
}

.post-details .post-details-tags h3:first-child {
}

.post-details .post-details-tags h3:last-child {
    margin: 0px;
}

.post-comments {
    font: 14px "yekan", "tahoma", "arial", "Times New Roman", Times, Arial, serif;
    margin-bottom: 15px;
}

.post-comment {
    margin-bottom: 5px;
    background: #f3f3f3;
    border: 1px solid rgba(172, 186, 192, 0.5);
}

.comment-details {
    background: #f3f3f3;
    padding: 0;
    cursor: default;
}

.comment-details a {
    color: #A4CACF;
    cursor: pointer;
    vertical-align: bottom;
    margin-right: 5px;
    -moz-transition-duration: .0s;
    -webkit-transition-duration: .0s;
    -o-transition-duration: .0s;
    -khtml-transition-duration: .0s;
}

.comment-details-left {
    padding: 4px 0 0 5px;
    float: left;
}

.comment-details-right {
}

.comment-avatar img {
    width: 34px;
    height: auto;
}

.comment-name {
    color: #888;
    cursor: default;
    padding: 0 5px;
}

.comment-body {
    padding: 10px;
}

.comment-body-content {
    color: #555;
}

.comment-date {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
}

.comment-website {
    background: url(//cdn.bayan.ir/blog/templates/52205/details_ico_cmt.png) center -102px no-repeat;
    width: 18px;
    height: 23px;
    display: inline-block;
}

.comment-website:hover {
    background-position: center -125px;
    cursor: pointer;
}

.comment-email {
    background: url(//cdn.bayan.ir/blog/templates/52205/details_ico_cmt.png) center -60px no-repeat;
    width: 18px;
    height: 23px;
    display: inline-block;
}

.comment-email:hover {
    background-position: center -79px;
    cursor: pointer;
}

.comment-reply {
    margin-bottom: 5px;
    border: 1px solid #6ec2e5;
    background-color: #e5f7ff;
    color: rgba(0, 0, 0, 0.7);
}

.comment-reply-details {
    padding: 5px 10px 0;
}

.comment-reply-date {
    float: left;
    color: #31ace0;
    cursor: default;
}

.comment-reply-name {
    color: #31ace0;
    cursor: default;
}

.comment-reply-body {
    color: #A4CACF;
    padding: 10px;
}

.comment-add-form {
    color: #aaa;
    padding: 10px;
    margin-bottom: 15px;
    border: 3px solid rgba(172, 186, 192, 0.3);
    background: #fcfcfc;
    border-top: 3px solid #A4CACF;
    font: 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
}

.comment-add-form input.sendbutton {
    color: #A4CACF;
    border: #A4CACF 1px solid;
    background: #f8f8f8;
    padding: 0 30px 2px;
    cursor: pointer;
    font: 15px "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
    -webkit-appearance: button;
}

.comment-add-form input.sendbutton:hover {
    color: #fff;
    border: #A4CACF 1px solid;
    background: #A4CACF;
}

.comment-add-form iframe {
    background: #FFF;
}

.block-content .pagination {
    margin: 40px auto 20px;
}

.block-sidebar {
    float: left;
    width: 290px;
}

.block-sidebar .sidebox {
    margin-bottom: 30px;
    position: relative;
}

.sidebox .sidebox-title {
    position: absolute;
    top: -5px;
    left: -5px;
    display: inline-block;
    font: 17px/1.2em "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
    background: #cfe0e2;
    color: #254252;
    padding: 8px 0 10px;
    text-align: center;
    cursor: default;
    font-weight: normal;
    margin: 0;
    width: 155px;
    z-index: 5;
}

.sidebox .sidebox-content {
    font: 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
    direction: rtl;
    border: 3px solid rgba(172, 186, 192, 0.3);
    background: #fcfcfc;
    padding: 38px 10px 10px;
}

.sidebox.menu .sidebox-title {
    background: #e94620;
}

.sidebox.menu .sidebox-content ul li:hover {
    background: rgba(233, 70, 32, 0.2);
}

.sidebox.menu .sidebox-content ul li.selected {
    background: rgba(233, 70, 32, 0.2);
    border-bottom: 1px solid rgba(233, 70, 32, 0.2);
}

.sidebox.menu .sidebox-content ul li a {
    color: #e94620;
}

.sidebox.menu .sidebox-content ul li.selected a {
    color: #e94620;
}

.sidebox.blank .sidebox-content {
    padding-top: 12px;
    border: 3px solid rgba(172, 186, 192, 0.3);
}

.sidebox.blank .sidebox-content h4 {
    padding: 8px;
    color: #888;
    margin: 0;
    font: normal 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
    text-align: right;
}

.sidebox.blank .sidebox-content .blog-image {
    text-align: center;
}

.sidebox.blank .sidebox-content img {
    text-align: center;
    max-width: 95%;
    height: auto;
    margin: 5px 0;
}

* html .sidebox.blank .sidebox-content img {
    width: 200px;
    height: auto;
}

.post-content-right {
    float: right;
    width: 515px;
}

.post-image-right {
    overflow: hidden;
    width: 140px;
    border: 1px solid #ddd;
    float: left;
    margin: 20px 16px 5px 0;
}

.post-image-right img {
    width: 100%;
    height: auto;
}

.post-content-left {
    float: left;
    width: 73px;
    border-right: 1px solid #ddd;
    text-align: center;
    margin: 20px 0 5px;
    padding: 0 15px;
}

.post-content-left .post-readmore-left a {
    display: block;
    width: 39px;
    height: 39px;
    background: #ff4132 url(//cdn.bayan.ir/blog/templates/52205/readmore.png) no-repeat center;
    margin: 43px auto 0;
}

.post-content-left .post-readmore-left a:hover {
    color: #fff;
    background-color: #ff6256;
}

.post-content-left .post-readmore-left a:active {
    background-color: #ef2f20;
}

.post-date-left {
    cursor: default;
}

.post-date-left-day {
    font-size: 40px;
    color: #7bbd42;
    padding: 5px 0 15px;
}

.post-date-left-month {
    font-size: 18px;
    color: #7bbd42;
}

.sidebox-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebox-content ul li {
    padding: 6px 1px;
    border-bottom: 1px solid #f1f1f1;
}

.sidebox-content ul li:last-child {
    border-bottom: none;
}

.sidebox-content ul li a {
    background: url(//cdn.bayan.ir/blog/templates/52205/sidebar-bullet.png) no-repeat right 12px;
    padding-right: 10px;
    color: #254252;
    font: normal 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
}

.sidebox-content ul.menu li a {
    background: url(//cdn.bayan.ir/blog/templates/52205/sidebar-bullet2.png) no-repeat right 12px;
}

.sidebox-content ul li a:hover {
    color: #0575a5;
}

.sidebox-content ul li:hover {
    background: rgba(8, 146, 205, 0.1);
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

.sidebox-content ul li.selected {
    padding: 5px 2px;
    background: rgba(8, 146, 205, 0.2);
    border-bottom: 1px solid rgba(8, 146, 205, 0.2);
}

.sidebox-content ul li.selected a {
    color: #0575a5;
}

.sidebox-content .post-list-date, .sidebox-content .post-list-count {
    color: #aaa;
    cursor: default;
}

.sidebox-content .post-list-count {
    padding-right: 5px;
}

.sidebox-content .post-list-date.none {
    display: none;
}

.sidebox-content.view-ads {
    text-align: center;
}

.sidebox-content.view-ads a {
    text-align: center;
    display: block;
    margin-bottom: 5px;
}

.sidebox-content.view-ads a:last-child {
    margin-bottom: 0;
}

.sidebox-content.stat {
    position: relative;
}

.sidebox-content.stat .StatTitle {
    cursor: default;
    color: #aaa;
    font-size: 13px;
    border: none;
    text-align: right;
}

.sidebox-content.stat .Value {
    color: #A4CACF;
    cursor: default;
    float: left;
    padding-left: 10px;
    text-align: left;
}

.sidebox-content.tag-cloud h3 {
    margin: 0px;
    font: normal 11px "tahoma", "Times New Roman", Times, Arial, serif;
    display: inline-block;
    *display: inline;
    *margin: 2px;
}

.sidebox-content.tag-cloud span {
    display: inline-block;
    margin: 1px 0px 1px 0px;
}

.sidebox-content.tag-cloud a {
    font: 14px/1.3em "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
    color: #888;
    border: #ddd 1px solid;
    background: #f9f9f9;
    padding: 1px 7px 4px;
    display: inline-block;
    *display: inline-block;
    margin-left: 1px;
}

.sidebox-content.tag-cloud a:hover {
    color: #fff;
    border: #A4CACF 1px solid;
    background: #A4CACF;
}

.sidebox-content.tag-cloud a.selected {
    color: #fff;
    border: #A4CACF 1px solid;
    background: #A4CACF;
}

.sidebox-content.categories ul li {
    padding: 0;
    border: none;
}

.sidebox-content.categories li:hover {
    background: none;
}

.sidebox-content ul li.selected a {
    color: #0575a5;
}

.sidebox-content.categories ul li ul.subcats a {
    padding-right: 10px;
    padding-top: 1px;
    display: inline-block;
    background: url(//cdn.bayan.ir/blog/templates/52205/sub_ico.png) right no-repeat;
}

.sidebox-content.categories ul li a {
    padding-bottom: 0;
    padding-right: 20px;
    display: table-cell;
    *display: inline-block;
    background: url(//cdn.bayan.ir/blog/templates/52205/folder_ico.png) right 8px no-repeat;
}

.sidebox-content.categories ul li h3 {
    color: #0575a5;
    margin: 0;
    font: normal 14px "yekan", "tahoma", "arial", "Times New Roman", Helvetica;
}

.sidebox-content.categories ul li.selected {
    background: none;
}

.sidebox-content.categories .subcats li.selected {
    background: none;
}

.sidebox-content.categories .subcats {
    margin-right: 14px;
    margin-top: -3px;
}

.sidebox-content.categories ul .post-list-count {
    cursor: default;
    display: table-cell;
    color: #aaa;
}

.sidebox-content.categories .subcats .post-list-count {
    cursor: default;
    display: inline-block;
    color: #aaa;
}

.sidebox-content.categories .category_selected {
    background: rgba(8, 146, 205, 0.2);
    padding: 2px 5px 2px 5px;
    display: block;
    height: 31px;
    max-height: auto;
    *height: auto;
}

.sidebox-content.categories .category_selected a {
    color: inherit;
    cursor: default;
}

.footer {
    color: #f4f4f4;
    height: 50px;
    background: #313b3d;
}

.footer a {
    color: #ff4132;
}

.footer-wrp {
    position: relative;
    width: 960px;
    margin: auto;
}

.footer .footer-copyright {
    position: absolute;
    right: 0;
    top: 11px;
    text-align: right;
    direction: rtl;
    cursor: default;
    font: 13px yekan;
}

.footer .footer-icons {
    position: absolute;
    left: 0;
    top: 15px;
    text-align: left;
}

.footer .footer-icons a {
    float: left;
    margin-right: 3px;
    width: 20px;
    height: 20px;
}

.footer-ico-rss {
    background: url(//cdn.bayan.ir/blog/templates/shared/icon/rss-icon-crystal.png) no-repeat;
}

.footer-ico-bayan {
    background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayan-icon-crystal.png) no-repeat;
}

.footer-ico-bayanbox {
    background: url(//cdn.bayan.ir/blog/templates/shared/icon/bayanbox-icon-crystal.png) no-repeat;
}

.footer-ico-blog {
    background: url(//cdn.bayan.ir/blog/templates/shared/icon/blog-icon-crystal.png) no-repeat;
}

.footer-ico-templates {
    background: url(//cdn.bayan.ir/blog/templates/shared/icon/templates-icon-crystal.png) no-repeat;
}

/* === بهبودهای UI/UX پیشرفته === */

:root {
    --primary-color: #ff4132;
    --secondary-color: #A4CACF;
    --accent-color: #7bbd42;
    --text-primary: #254252;
    --text-secondary: #6b828e;
    --background-primary: #f3f3f3;
    --background-secondary: #fcfcfc;
    --border-color: rgba(172, 186, 192, 0.3);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

.modern-card {
    background: var(--background-secondary);
    border: 3px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.modern-card:hover::before {
    left: 100%;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(164, 202, 207, 0.5);
}

.advanced-button {
    background: linear-gradient(135deg, var(--primary-color), #ff6256);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-family: "yekan", "tahoma";
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.advanced-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.advanced-button:hover::before {
    left: 100%;
}

.advanced-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 65, 50, 0.35);
    background: linear-gradient(135deg, #ff6256, var(--primary-color));
}

.advanced-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 65, 50, 0.25);
}

.notification-system {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-heavy);
    border-left: 4px solid var(--secondary-color);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--accent-color);
}

.notification.error {
    border-left-color: var(--primary-color);
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification.info {
    border-left-color: var(--secondary-color);
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-family: "yekan", "tahoma";
}

.notification-message {
    color: var(--text-secondary);
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-heavy);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    font-family: "yekan", "tahoma";
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 5px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--background-primary);
    color: var(--text-primary);
}

.modal-body {
    margin-bottom: 30px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.preloader-system {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-system.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.preloader-text {
    font-family: "yekan", "tahoma";
    color: var(--text-secondary);
    font-size: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scroll-animation-system {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animation-system.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .content-wrp, .head-wrp, .footer-wrp {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .block-content, .block-sidebar {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    
    .header {
        height: auto;
        min-height: 120px;
        padding: 15px 0;
    }
    
    .head-left ul li {
        margin: 20px 5px 0 0;
    }
    
    .head-post {
        height: 250px;
    }
    
    .head-post h2 {
        padding: 80px 0 0;
        font-size: 20px;
    }
    
    .post-content-right {
        width: 100%;
        float: none;
    }
    
    .post-image-right {
        width: 100%;
        float: none;
        margin: 10px 0;
    }
    
    .modal-container {
        margin: 20px;
        width: calc(100% - 40px);
    }
}

a:focus, button:focus {
    outline: 2px solid #ff4132;
    outline-offset: 3px;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: #A4CACF;
    color: white;
}

::-moz-selection {
    background: #A4CACF;
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #ff4132;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

.post-image img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-image img.loaded {
    opacity: 1;
}

.rating-system {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}

.rating-stars {
    display: flex;
    gap: 5px;
    direction: ltr;
}

.rating-star {
    background: none;
    border: none;
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 5px;
}

.rating-star:hover,
.rating-star.active {
    color: #ffc107;
    transform: scale(1.2);
}

.rating-text {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    font-family: "yekan", "tahoma";
}

@keyframes fadeInUpAdvanced {
    0% {
        opacity: 0;
        transform: translate3d(0, 50px, 0) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translate3d(0, -5px, 0) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 65, 50, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 65, 50, 0.6);
    }
}

.util-flex { display: flex; }
.util-justify-center { justify-content: center; }
.util-justify-between { justify-content: space-between; }
.util-align-center { align-items: center; }
.util-text-center { text-align: center; }
.util-text-right { text-align: right; }
.util-text-left { text-align: left; }
.util-mt-2 { margin-top: 10px; }
.util-mb-2 { margin-bottom: 10px; }
.util-p-4 { padding: 20px; }

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    font-family: "yekan", "tahoma";
}

.badge-secondary {
    background: var(--secondary-color);
}

.badge-accent {
    background: var(--accent-color);
}

.micro-interaction {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.micro-interaction:hover {
    transform: translateY(-1px);
}

.micro-interaction:active {
    transform: translateY(0);
}
@charset "utf-8";
/* CSS Document - v4.0.0 - Modernized */

:root {
    /* سیستم رنگ مدرن */
    --primary-color: #ff4132;
    --primary-hover: #ff6256;
    --primary-active: #ef2f20;
    --secondary-color: #A4CACF;
    --accent-color: #7bbd42;
    --text-primary: #254252;
    --text-secondary: #6b828e;
    --text-light: #919c9d;
    --background-primary: #f5f5f5;
    --background-secondary: #fcfcfc;
    --background-dark: #313b3d;
    --border-color: rgba(172, 186, 192, 0.3);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.12);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.15);
    
    /* تایپوگرافی */
    --font-primary: "yekan", "tahoma", "arial", serif;
    --font-secondary: "tahoma", "arial", serif;
    
    /* انیمیشن */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* layout */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --container-width: 960px;
}

/* Reset و پایه */
html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: 1.8em;
    background: var(--background-primary);
    color: var(--text-secondary);
}

* {
    box-sizing: border-box;
}

/* تایپوگرافی بهبود یافته */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: normal;
    margin: 0 0 1em 0;
}

p {
    margin-bottom: 1em;
    line-height: 1.8em;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

a:hover {
    color: var(--primary-hover);
}

/* سیستم گرید مدرن */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* هدر کاملاً بازطراحی شده */
.header {
    background: linear-gradient(135deg, var(--background-dark) 0%, #2a3234 100%);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('//cdn.bayan.ir/blog/templates/52205/head-light.png') no-repeat 760px top;
    opacity: 0.6;
}

.header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    min-height: 150px;
}

/* لوگو و عنوان */
.blog-brand {
    text-align: center;
    flex: 1;
}

.blog-title {
    margin-bottom: 15px;
}

.blog-title a {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.blog-title a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transition: width var(--transition-normal);
}

.blog-title a:hover::after {
    width: 100%;
}

.blog-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* نویگیشن مدرن */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.main-nav a {
    color: #c9d6d9;
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    position: relative;
    font-weight: 500;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transition: right var(--transition-normal);
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.main-nav a:hover::before {
    right: 0;
}

.main-nav .selected a {
    color: #fff;
    background: rgba(255, 65, 50, 0.2);
    border-bottom: 3px solid var(--primary-color);
}

/* هیرو سکشن */
.hero-section {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(49, 59, 61, 0.9), rgba(42, 50, 52, 0.8)),
                url('//cdn.bayan.ir/blog/templates/52205/post-head.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* دکمه‌های مدرن */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
    color: currentColor;
}

/* کارت‌های مدرن */
.card {
    background: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.card-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

/* پست‌های وبلاگ */
.post-card {
    background: var(--background-secondary);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    margin-bottom: 30px;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.post-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-date, .post-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.7em;
    margin-bottom: 20px;
}

/* سایدبار مدرن */
.sidebar-widget {
    background: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* لیست‌های سایدبار */
.widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list li:hover {
    padding-right: 10px;
}

.widget-list a {
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.widget-list a:hover {
    color: var(--primary-color);
}

.widget-count {
    background: var(--secondary-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* سیستم کامنت مدرن */
.comments-section {
    margin-top: 50px;
}

.comment {
    background: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-info h4 {
    margin: 0;
    font-size: 1rem;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-body {
    color: var(--text-secondary);
    line-height: 1.7em;
}

/* فرم کامنت مدرن */
.comment-form {
    background: var(--background-secondary);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(164, 202, 207, 0.1);
}

/* فوتر مدرن */
.footer {
    background: var(--background-dark);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #c9d6d9;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #919c9d;
}

/* سیستم واکنش‌گرا */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }
    
    .blog-title a {
        font-size: 2rem;
    }
    
    .hero-section {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .post-content, .card {
        padding: 20px;
    }
}

/* انیمیشن‌های پیشرفته */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate3d(100px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

/* utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.p-0 { padding: 0; }

/* دکمه بازگشت به بالا */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* سیستم لودینگ */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* بهبودهای دسترسی */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* انتخاب متن */
::selection {
    background: var(--secondary-color);
    color: white;
}

::-moz-selection {
    background: var(--secondary-color);
    color: white;
}

/* اسکرولبار سفارشی */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}
/* پایان بهبودهای UI/UX پیشرفته */