
 .blog-card {
     border-radius: 20px;
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.blog-image-wrapper {
    overflow: hidden;
    height: 200px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    line-height: 1.4;
}

.card-text {
    font-size: 15px;
    color: #6b7280;
}

.btn-outline-modern {
    background-color: white;
    color: #2563eb;
    border: 1px solid #2563eb;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background-color: #2563eb;
    color: white;
}

/* PAGINATION STYLES (нові) */
.custom-pagination .page-link {
    border: none;
    border-radius: 8px;
    margin: 0 6px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    background-color: #f9fafb;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(to right, #ff7e5f, #5dade2);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.custom-pagination .page-link:hover {
    background-color: #f1f5f9;
    color: #111827;
}

.custom-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-header {
    padding-bottom: 30px; /* або 10px або навіть 0px — обери, що виглядає краще */
}
