/* استایل سایدبار */
.widgetinner {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
}

.blog_widget {
    margin-bottom: 30px;
}

.blog_widget h4 {
    border-bottom: 2px solid #1a472a;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #1a472a;
}

.search_box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
}

.search_box input:focus {
    outline: none;
    border-color: #1a472a;
}

.blog_social {
    display: flex;
    gap: 10px;
}

.blog_social .social_link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a472a, #2d6a3b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog_social .social_link:hover {
    transform: translateY(-3px);
    background: #f39c12;
}

.blog_social .social_link i {
    color: white;
    font-size: 18px;
}

.panel-title a {
    display: block;
    font-size: 13px;
    color: #555;
    padding: 8px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.panel-title a:hover {
    color: #1a472a;
    padding-right: 5px;
}

/* استایل محتوای اصلی */
.contentinner {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.blog_info {
    padding: 20px;
}

.headline02 {
    color: #1a472a;
}

.social-share {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.social-wraps {
    display: flex;
    gap: 10px;
}

.social-wraps a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-wraps a:hover {
    transform: translateY(-3px);
}

.telegram-icon {
    background: #0088cc;
    color: white;
}

.instagram-icon {
    background: #e4405f;
    color: white;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .innerWrapper {
        flex-direction: column;
    }
    
    .contentinner {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .widgetinner {
        width: 100%;
    }
}

.blog_gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.blog_gallery_item {
    overflow: hidden;
    border-radius: 10px;
}

.blog_gallery_item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* تبلت */
@media (max-width: 992px) {
    .blog_gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog_gallery_item img {
        height: 200px;
    }
}

/* موبایل */
@media (max-width: 576px) {
    .blog_gallery {
        grid-template-columns: 1fr;
    }

    .blog_gallery_item img {
        height: auto;
        max-height: 350px;
    }
}


/* استایل عنوان گالری */
.blog-gallery-section {
    margin-top: 40px;
    padding-top: 20px;
}

.gallery-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a472a;
    position: relative;
    padding-right: 15px;
}

.gallery-title:before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #f39c12;
    border-radius: 2px;
}

/* تصویر شاخص */
.blogimg {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.main-blog-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

/* محتوای مقاله */
.blog-content {
    line-height: 1.8;
    color: #444;
    margin: 25px 0;
    font-size: 15px;
}

.blog-content p {
    margin-bottom: 15px;
    color:black;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}