.blogs-page {
    padding-bottom: 40px;
}

.blog-filter-card {
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), #fdf7f3 62%, #eef2f7);
    border: 1px solid rgba(161, 44, 47, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(24, 32, 56, 0.07);
}

.blog-filter-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(161, 44, 47, 0.2), transparent 38%),
        radial-gradient(circle at bottom left, rgba(248, 185, 73, 0.14), transparent 28%);
    pointer-events: none;
}

.blog-filter-card > .row {
    position: relative;
    z-index: 1;
}

.blogs-summary {
    margin-bottom: 10px;
}

.blogs-summary-note {
    margin-bottom: 0;
    color: #5e5e5e;
    line-height: 1.7;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #a12c2f, #730c10);
}

.blog-filter-card .main-button-red {
    font-size: 13px;
    color: #fff;
    background-color: #a12c2f;
    padding: 12px 30px;
    border-radius: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 25px rgba(161, 44, 47, 0.35);
}

.blog-filter-card .main-button-red:hover {
    opacity: 0.95;
    box-shadow: 0 15px 30px rgba(161, 44, 47, 0.45);
}

.blogs-grid {
    margin-top: 10px;
}

.blog-card-col {
    margin-top: 10px;
}

.blog-card {
    height: 100%;
    border: 1px solid rgba(161, 44, 47, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(24, 32, 56, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(24, 32, 56, 0.11);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9ece7, #f7f8fb);
}

.blog-card-media img {
    width: 100%;
    /* height: 230px; */
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}

.blog-card-placeholder {
    min-height: 230px;
    display: grid;
    place-items: center;
    color: #a12c2f;
    font-size: 40px;
}

.blog-card .card-body {
    padding: 24px 22px 18px;
}

.blog-card-title {
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #1f1f1f;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #a12c2f;
}

.blog-card-text {
    color: #515151;
    line-height: 1.75;
    margin-bottom: 0;
}

.blog-card-footer {
    background: #fff;
    border-top: 1px solid #f3e8e4;
    padding: 16px 22px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-card-footer .read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    min-width: 140px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    color: white;
    background: #a12c2f;
    box-shadow: 0 10px 20px rgba(161, 44, 47, 0.25);
}

.blog-card-footer .read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 25px rgba(161, 44, 47, 0.3);
    text-decoration: none;
}

.blog-view-count {
    border: 1px solid rgba(161, 44, 47, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(161, 44, 47, 0.06);
    color: #73232a;
    font-weight: 600;
    font-size: 0.84rem;
    margin-bottom: 0;
}

.blog-view-count i {
    color: #a12c2f;
    font-size: 0.86rem;
}

.input-group .form-control {
    border: none;
    border-radius: 0 22px 22px 0;
    min-height: 52px;
    box-shadow: none;
}

.input-group-text {
    border: none;
    border-radius: 22px 0 0 22px;
    min-width: 54px;
    justify-content: center;
}

.form-select {
    border-radius: 18px;
    min-height: 52px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.blogs-empty-state {
    text-align: center;
    padding: 48px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff, #faf5f1);
    border: 1px solid rgba(161, 44, 47, 0.08);
    box-shadow: 0 18px 42px rgba(24, 32, 56, 0.06);
}

.blogs-empty-state i {
    font-size: 42px;
    color: #a12c2f;
    margin-bottom: 14px;
}

.blog-pagination {
    margin-top: 10px;
}

.blog-pagination .pagination {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination .page-link {
    border-radius: 12px;
    border: 1px solid rgba(161, 44, 47, 0.1);
    color: #73232a;
    min-width: 42px;
    text-align: center;
}

.blog-pagination .page-item.active .page-link {
    background: #a12c2f;
    border-color: #a12c2f;
    color: #fff;
}

@media (max-width: 767.98px) {
    .blog-filter-card {
        border-radius: 22px;
    }

    .blog-card-media img,
    .blog-card-placeholder {
        height: 210px;
        min-height: 210px;
    }

    .blog-card .card-body,
    .blog-card-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .blog-card-footer .read-more-btn {
        width: 100%;
    }

    .blog-view-count {
        width: 100%;
        justify-content: center;
    }

    .blog-filter-card .search-btn {
        width: 100%;
    }
}
