.btn{
    background-color:#FF772C;
    color:white;
    width:146px;
    height:auto;
    border: none !important;
    border-radius:32px;
    margin-top: 10px;
    cursor: pointer;
}
.single-blog-feed {
    height: auto;
    min-height: 200px;
    transition: all 0.3s ease-in-out; 
}
.sbf-thumb{
    background: white;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out; 
}
.sbf-container {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #CDCDCE;
    transition: all 0.3s ease-in-out; 
    height: 100%;
}

.sbf-container:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.overlay {
    opacity: 0 !important;
}
.sbf-background{
    width: 224px;
    height: 151px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out; 
}
.sbf-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    min-height: 150px;
}
.blog-content {
    line-height: 1.6;
    color: #666;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.case27-primary-text {
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}
.sbf-container:hover .sbf-background {
    transform: scale(1.02); 
}

.sbf-container:hover .case27-primary-text {
    color: #FF772C;
}

@media (max-width: 1024px) {
    .sbf-thumb {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
        height: auto;
              align-items: center; 
        justify-content: center; 
    }
    
    .sbf-background {
        width: 200px;
        height: 120px;
        margin: 0 auto 15px auto;
    }
    
    .sbf-title {
        height: auto;
        min-height: auto;
        width: 100%;
    }
    
    .blog-content {
        margin: 10px 0 15px 0;
    }
}

@media (max-width: 768px) {
    .sbf-thumb {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
        height: auto;
    }
    
    .sbf-background {
        width: 180px;
        height: 110px;
        margin: 0 auto 15px auto;
    }
    
    .sbf-title {
        height: auto;
        min-height: auto;
        width: 100%;
    }
    
    .blog-content {
        margin: 10px 0 15px 0;
    }
    
    .case27-primary-text {
        font-size: 17px;
    }
}


@media (max-width: 480px) {
    .sbf-thumb {
        padding: 15px;
        gap: 12px;
    }
    
    .sbf-background {
        width: 160px;
        height: 100px;
    }
    
    .case27-primary-text {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .blog-content {
        font-size: 14px;
        line-height: 1.5;
        margin: 8px 0;
    }
    
    .btn {
        width: 130px;
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* غیرفعال کردن افکت hover در موبایل */
    .sbf-container:hover {
        transform: none;
        box-shadow: none;
    }
    
    .sbf-container:hover .sbf-background {
        transform: none;
    }
    
    .sbf-container:hover .case27-primary-text {
        color: inherit;
    }
}

@media (max-width: 360px) {
    .sbf-thumb {
        padding: 12px;
        gap: 10px;
    }
    
    .sbf-background {
        width: 140px;
        height: 90px;
    }
    
    .case27-primary-text {
        font-size: 15px;
    }
    
    .blog-content {
        font-size: 13px;
    }
    
    .btn {
        width: 120px;
        padding: 7px 14px;
        font-size: 13px;
    }
}
