/* ===== تنظیمات پایه رزبلاگ با قالب یاس دانلود ===== */
@font-face {
    font-family: 'BYekan';
    src: url('/temp/rb/yasdl/fonts/BYekan.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body.rtl {
    font-family: 'BYekan', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
}

/* ===== هدر ===== */
.head-wrap {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}
.header.inner-el {
    display: flex;
    align-items: center;
    padding: 15px 0;
}
.icon-logo {
    width: 120px;
    height: 80px;
    background: url('/temp/rb/yasdl/img/logo.png') no-repeat center;
    background-size: contain;
}
.yasdlver {
    font-size: 22px;
    font-weight: bold;
    color: #2e7d32;
}
.yasdlver .ver {
    font-size: 12px;
    color: #999;
}
.top-quote .text {
    font-size: 13px;
    color: #666;
}

/* ===== منوی اصلی ===== */
.main-nav-wrap {
    background: #2e7d32;
}
.main-nav .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav .menu > li {
    position: relative;
}
.main-nav .menu > li > a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.main-nav .menu > li:hover > a {
    background: #1b5e20;
}
.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 999;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav .menu > li:hover .sub-menu {
    display: block;
}
.main-nav .sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}
.main-nav .sub-menu li a:hover {
    background: #f5f5f5;
    color: #2e7d32;
}

/* ===== کارت مطالب ===== */
.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.post-card-image img {
    width: 100%;
    height: auto;
    display: block;
}
.post-card-content {
    padding: 20px;
}
.post-card-content h2 {
    font-size: 20px;
    margin: 10px 0;
}
.post-card-content h2 a {
    color: #222;
    text-decoration: none;
}
.post-card-content h2 a:hover {
    color: #2e7d32;
}
.post-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}
.post-card-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #999;
}
.post-card-info .dot {
    width: 4px;
    height: 4px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
}
.categorie {
    display: inline-block;
    background: #2e7d32;
    color: #fff !important;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 8px;
}

/* ===== اسلایدر Hero ===== */
.carousel-hero .hero {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.carousel-hero .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.carousel-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 40px 0;
}
.carousel-hero .hero-content h2 a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
}

/* ===== صفحه ادامه مطلب ===== */
.post-single {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.post-single-image img {
    width: 100%;
    display: block;
}
.post-single-content {
    padding: 25px;
}
.post-single-content h1 {
    font-size: 28px;
    margin: 15px 0;
    color: #222;
}
.post-single-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #888;
}
.post-single-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    vertical-align: middle;
}
.post-single-body {
    padding: 25px;
    line-height: 2;
    font-size: 15px;
    color: #333;
}
.post-single-body img {
    max-width: 100%;
    height: auto;
}
.post-single-footer {
    padding: 0 25px 25px;
}
.tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}
.tags ul li a {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}
.tags ul li a:hover {
    background: #2e7d32;
    color: #fff;
}

/* ===== دیدگاه‌ها ===== */
.rzb-comstyle {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.com1 {
    display: flex;
    gap: 12px;
}
.com2 img {
    border-radius: 50%;
}
.com5 {
    font-weight: bold;
    color: #222;
    font-size: 14px;
}
.com6 {
    font-size: 12px;
    color: #999;
}
.com8 {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}
.fxa {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.btn_send_answer,
.btn_remove_answer {
    font-family: 'BYekan', Tahoma, sans-serif;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
    color: #fff;
    display: inline-block;
}
.btn_send_answer { background: #5bc0de; }
.btn_remove_answer { background: #ef5350; }
.rb_come_like { color: #ef5350; text-decoration: none; font-size: 18px; }

/* ===== صفحه بندی ===== */
.RZB-pages {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0;
}
.RZB-pages a,
.RZB-pages span {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.RZB-pages a:hover,
.RZB-pages .current {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

/* ===== سایدبار ===== */
.widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.section-title h5 {
    font-size: 16px;
    color: #222;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2e7d32;
}
.widget-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-latest-posts li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.widget-latest-posts li:last-child {
    border-bottom: none;
}
.widget-latest-posts .image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}
.widget-latest-posts .content p a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
}
.widget-latest-posts .content p a:hover {
    color: #2e7d32;
}
.widget-latest-posts small {
    font-size: 11px;
    color: #999;
}

/* ===== اشتراک VIP ===== */
.rb_v {
    background: #f9f9f9;
    border: 1px dashed #2e7d32;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.9;
}
.vip_des {
    color: #c62828;
    margin-bottom: 10px;
}
.rb_btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    border: none;
}
.rb_btn_outline_i {
    border: 1px solid #2e7d32;
    color: #2e7d32;
    background: #fff;
}
.rb_btn_outline_s {
    border: 1px solid #2e7d32;
    color: #fff;
    background: #2e7d32;
}
.rb_btn_outline_da {
    border: 1px solid #c62828;
    color: #fff;
    background: #c62828;
}
.rb_list_vip {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}
.rb_item_vip {
    flex: 1 1 200px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #fff;
}
.rb_title_n {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}
.rb_title_m {
    font-size: 13px;
    color: #777;
}
.rb_row_vip {
    margin: 10px 0;
    font-size: 14px;
    color: #444;
}

/* ===== هشدارها ===== */
.mwarning, .merror, .minfo {
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 14px;
}
.mwarning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.merror { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.minfo { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ===== فرم‌ها ===== */
.rb_input,
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'BYekan', Tahoma, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}
input[type="submit"],
button {
    font-family: 'BYekan', Tahoma, sans-serif;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 991px) {
    .header.inner-el {
        flex-direction: column;
        text-align: center;
    }
    .main-nav .menu {
        flex-direction: column;
    }
    .main-nav .sub-menu {
        position: static;
        box-shadow: none;
        background: #1b5e20;
    }
    .main-nav .sub-menu li a {
        color: #fff;
        border-bottom-color: rgba(255,255,255,0.1);
    }
    .carousel-hero .hero {
        min-height: 250px;
    }
}
@media (max-width: 767px) {
    .post-card-content h2 { font-size: 17px; }
    .post-single-content h1 { font-size: 22px; }
    .rb_item_vip { flex: 1 1 100%; }
}