/* Blog cards in search results (/search) — scoped under .search-blog-results
   so these rules never affect the /blog page or other pages. */

.search-blog-results .blog-card {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.search-blog-results .blog-card__link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
}

.search-blog-results .blog-card__article {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-blog-results .blog-card__card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    flex-grow: 1;
}

.search-blog-results .blog-card__image-wrapper {
    overflow: hidden;
    position: relative;
    background: #e8e8ed;
    aspect-ratio: 16 / 9;
}

.search-blog-results .blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.search-blog-results .blog-card:hover .blog-card__image {
    transform: scale(1.05);
}

.search-blog-results .blog-card__info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.search-blog-results .blog-card__category {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    text-align: start;
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    color: #86868b;
    margin-bottom: 8px;
}

.search-blog-results .blog-card__title {
    font-weight: 700;
    line-height: 1.3;
    color: #1d1d1f;
    margin-bottom: 20px;
    text-align: start;
    font-size: clamp(1rem, 3vw, 1.2rem);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-blog-results .blog-card__meta {
    margin-top: auto;
    text-align: start;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.search-blog-results .blog-card__date,
.search-blog-results .blog-card__views {
    font-size: 0.9rem;
    color: #86868b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-blog-results .blog-card__views i {
    font-size: 1rem;
}
