
 
.body .content_node  
{
  /*width: auto !important;*/
  overflow: hidden;
  margin: 100px auto;
  /*line-height: 180%;*/
} 


 
/* استایل سنتی برای لیست کتاب‌ها - شبیه به تصویر */
.booklist 
{
    width: 100%;
    max-width: 1000px;
    /*margin: 30px auto;
    padding: 20px 0;*/
    list-style: none;
    direction: rtl;
    border-radius: 10px;
    position: relative;
}

/* الگوی تزئینی پس‌زمینه */
.booklist::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.booklist a {
    display: block;
    text-decoration: none;
    margin: 15px 30px;
    transition: all 0.3s ease;
    position: relative;
}

.booklist li.item {
    background: linear-gradient(135deg, #fffef5 0%, #fef9e7 100%);
    border: none;
    border-radius: 8px;
    padding: 20px 110px;
    margin: 0;
    color: #8b0000; 
    font-size: 16px;
    line-height: 180%;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /*font-family: 'Tahoma', 'Arial', sans-serif;*/
    z-index: 2;
}

/* تزئینات سمت راست - الگوی اسلامی پیچیده */
.booklist li.item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    /*background-color: #9eeeff;
    /*background-color: #e7faff;*/
    background-color:#88e6f2;
    background-image: url('right.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
    border-radius: 0 6px 6px 0;
}

/* تزئینات سمت چپ - الگوی اسلامی پیچیده */
.booklist li.item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    /*background-color: #9eeeff;
    /*background-color: #e7faff;*/
    background-color:#88e6f2;
    background-image: url('left.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
    border-radius: 6px 0 0 6px;
}

/* افکت hover */
.booklist a:hover li.item {
    background: linear-gradient(135deg, #fffef0 0%, #fef8e0 100%);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 0 0 2px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

.booklist a:hover li.item::before,
.booklist a:hover li.item::after {
    opacity: 0.9;
}

/* استایل برای متن */
.booklist li.item {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* استایل ریسپانسیو */
@media (max-width: 768px) {
    .booklist {
        width: 95%;
        margin: 20px auto;
        padding: 15px 0;
    }
    
    .booklist a {
        margin: 12px 15px;
    }
    
    .booklist li.item {
        padding: 15px 60px;
        font-size: 14px;
        line-height: 1.7;
    }
    
    .booklist li.item::before,
    .booklist li.item::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .booklist {
        padding: 10px 0;
    }
    
    .booklist a {
        margin: 10px 10px;
    }
    
    .booklist li.item {
        padding: 12px 40px;
        font-size: 13px;
    }
    
    .booklist li.item::before,
    .booklist li.item::after {
        width: 35px;
        opacity: 0.6;
    }
}
