<style>
body {
    background: #f5f7fb;
}

/* Search */
.search-input {
    border-radius: 30px;
    padding: 10px 15px;
}

/* Card */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Image */
.blog-image {
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Like overlay */
.like-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.like-overlay i {
    color: #e1306c;
}

/* Content */
.blog-content {
    padding: 15px;
}

.blog-content h5 {
    font-weight: 600;
}

.read-more {
    text-decoration: none;
    font-weight: 500;
    color: #007bff;
}

.read-more:hover {
    text-decoration: underline;
}

.modern-blog-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

/* Hover zoom */
.modern-blog-card:hover img {
    transform: scale(1.1);
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.overlay h5 {
    font-size: 16px;
    font-weight: 600;
}

/* Button */
.read-btn {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.read-btn:hover {
    text-decoration: underline;
}

.card-actions {
  display: flex;
  gap: 10px;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-danger {
  background: #dc3545;
  color: white;
}


</style>