<style>
	
	.news-item {
    background-color: #f9f9f9; /* Light background */
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    padding: 20px;
    margin-bottom: 20px; /* Space between news items */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.news-item:hover {
    transform: translateY(-5px); /* Lift up effect on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.news-item img {
    max-width: 100%; /* Make image responsive */
    height: auto;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
}

.news-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 15px 0; /* Space above and below the title */
}

.news-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px; /* Space between content preview and button */
}

.news-item .btn {
    background-color: #007bff; /* Bootstrap primary blue */
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Smooth button color change */
}

.news-item .btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

@media (max-width: 768px) {
    h1 {
       font-size: 22px;
        font-weight: 700;
    }
    h3 {
       font-size: 16px;
        font-weight: 500;
            margin-bottom: 1rem !important;
    }

}
</style>