body { background:#f9fff9; }

.blog-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
}

.blog-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    line-height: 1.9;
}

.blog-content h2{
    line-height: 1.5;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
}

.blog-date {
    font-size: 14px;
    color: #888;
}

.related-posts {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 2px solid #eaeaea;
}

.related-posts h5 {
    color: #69BE59;
    font-weight: bold;
    margin-bottom: 25px;
}

.related-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    transition: all .2s ease;
    overflow: hidden;
    text-align: center;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.related-item img {
    width:100%;
    height:210px;
    object-fit:cover;
}

.related-item a {
    display:block;
    padding:12px 10px 15px;
    font-weight:600;
    color:#333;
    font-size:15px;
    transition:color .2s ease;
}

.related-item a:hover {
    color:#69BE59;
}

.size-full{
    width: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 991.98px) {
    .sidebar-col { margin-top: 30px; }
}
.floating-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-group label {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    color: #777;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s ease;
    opacity: 0;
}

.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label,
.floating-group textarea:focus + label,
.floating-group textarea:not(:placeholder-shown) + label {
    top: -0.55rem;
    right: 0.9rem;
    font-size: 0.75rem;
    color: #69BE59;
    background: #fff;
    padding: 0 5px;
    opacity: 1;
}
.margin-top-container img {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-style: none;
    height: auto;
    max-width: 100%;
}
table td,table th{
    font-family: 'IRANSansWeb_FaNum' !important;
    border : 1px solid black;
    text-align: center;
}
table th{
    background-color: #e0c078;
}
table th span{
    color: white !important;
}
/* 🌿 رایسان Accordion Style */
.e-n-accordion {
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #f9fff9 0%, #f3fdf3 100%);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    padding: 10px;
}

.e-n-accordion-item {
    border: 1px solid #e2ebe2;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

/* عنوان هر آکاردئون */
.e-n-accordion-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 500;
    font-size: 15px;
    color: #333;
    background-color: #f9fff9;
    transition: all 0.3s ease;
}

.e-n-accordion-item-title:hover {
    background-color: #eaf9ea;
}

/* آیکون باز و بسته */
.e-n-accordion-item-title-icon i {
    color: #69BE59;
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* زمان باز بودن — چرخش آیکون */
.e-n-accordion-item[open] .e-n-accordion-item-title-icon i {
    transform: rotate(180deg);
}

/* محتوای پاسخ */
.e-n-accordion-item > div[role="region"] {
    padding: 12px 18px;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    background: #fff;
    border-top: 1px solid #e3e3e3;
    animation: fadeIn 0.35s ease-in-out;
}

/* انیمیشن باز شدن پاسخ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* آکاردئون باز شده */
.e-n-accordion-item[open] {
    border-color: #69BE59;
    box-shadow: 0 2px 6px rgba(105,190,89,0.15);
}

/* حالت موبایل */
@media (max-width: 768px) {
    .e-n-accordion-item-title {
        font-size: 14px;
        padding: 12px 14px;
    }
    .e-n-accordion-item > div[role="region"] {
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* 🌿 استایل کلی جدول‌ها در کل سایت */
.margin-top-container table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    font-size: 15px;
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    margin: 30px 0; /* فاصله بالا و پایین */
}

/* سطر هدر جدول */
table thead th {
    background: linear-gradient(135deg, #69BE59 0%, #58ad49 100%);
    color: #fff;
    font-weight: 600;
    padding: 12px 15px;
    text-align: center;
    border-bottom: 2px solid #57a749;
}

/* سلول‌ها */
table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e8e8e8;
    text-align: center;
    color: #333;
}

/* حالت Hover سطرها */
table tbody tr:hover {
    background-color: #f9fff9;
    transition: background-color 0.25s ease;
}

/* سطرهای زوج با رنگ متفاوت */
table tbody tr:nth-child(even) {
    background-color: #fcfffc;
}

/* فوتر جدول */
table tfoot td {
    background-color: #eaf9ea;
    font-weight: 600;
    color: #212529;
    border-top: 2px solid #69BE59;
}

/* سطرهای فوتر جدا */
table tfoot tr {
    border: 1px solid #d2d2d2;
}

/* گردی برای حالت واکنش‌گرا */
@media (max-width: 768px) {
    table {
        font-size: 13.5px;
    }
    table td, table th {
        padding: 10px 8px;
    }
}

/* حالت دارک مود */
@media (prefers-color-scheme: dark) {
    table {
        background-color: #1a1a1a;
        color: #ddd;
    }
    table thead th {
        background: linear-gradient(135deg, #5acb56 0%, #519e4e 100%);
        border-bottom: 1px solid #4a8f47;
    }
    table tbody tr:nth-child(even) {
        background-color: rgba(105,190,89,0.08);
    }
    table tfoot td {
        background-color: rgba(105,190,89,0.12);
        color: #d7f4d5;
        border-top-color: #69BE59;
    }
}
/* 🌾 رایسان Image Style – زیبا، طبیعی و برنددار */
.margin-top-container img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px; /* گردی لبه‌ها */
    box-shadow: 0 4px 10px rgba(105,190,89,0.15); /* سایه‌ی سبز کم‌رنگ برند */
    margin: 15px 0; /* فاصله بالا و پایین */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* افکت Hover حرفه‌ای */
.margin-top-container img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 14px rgba(105,190,89,0.25);
}

/* اگر بخوای فقط برای عکس‌های داخل جدول‌ها فعال بشه */
.margin-top-container table img {
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    margin: 8px 0;
}
.margin-top-container h2{
    margin: 25px 0;
    font-size: 26px !important;
    font-weight: bold;
}
.margin-top-container h3{
    margin: 25px 0;
    font-size: 22px !important;
    font-weight: bold;
}
