.blog-card {
    --blog-card-glow: rgba(158, 107, 255, 0.045);
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(17, 10, 46, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    box-shadow:
        0 1.2rem 2.8rem rgba(3, 2, 12, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.065);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Top accent glow — matches soxy-bridge-card::before */
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.75rem;
    background: linear-gradient(180deg, var(--blog-card-glow), transparent);
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover {
    box-shadow:
        0 2rem 5rem rgba(2, 0, 14, 0.28),
        0 0 2rem rgba(76, 215, 196, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* Full-card clickable overlay */
.blog-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
}

/* Keyboard focus ring — inset so the card's overflow:hidden can't clip it */
.blog-card__link:focus-visible {
    outline: 2px solid rgba(158, 107, 255, 0.9);
    outline-offset: -3px;
}

/* --- Image area --- */
.blog-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

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

/* Bottom image fade into card body */
.blog-card__image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, rgba(17, 10, 46, 0.55));
    pointer-events: none;
}

.blog-card__tags {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    z-index: 2;
}

.blog-card__tag {
    border: 1px solid rgba(158, 107, 255, 0.55);
    background: linear-gradient(rgba(7, 0, 25, 0.58), rgba(7, 0, 25, 0.58)), rgba(158, 107, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.1875rem 0.625rem;
    border-radius: 999px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* --- Body area --- */
.blog-card__body {
    padding: 1.25rem 1.375rem 1.375rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.blog-card__date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

.blog-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card__title {
    color: rgba(192, 132, 252, 0.9);
}

.blog-card__excerpt {
    font-size: 0.8125rem;
    color: #CFC9E6;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Footer row: read time + arrow --- */
.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-card__read-time {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(158, 107, 255, 1);
    text-transform: uppercase;
}

.blog-card__arrow {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(158, 107, 255, 0.7);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.blog-card:hover .blog-card__arrow {
    border-color: rgba(158, 107, 255, 1);
    background: rgba(158, 107, 255, 0.08);
    color: rgba(158, 107, 255, 1);
    transform: translateX(0.1875rem);
}
