.blog-card .card-title {
    color: #fff !important;
}
.blog-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 576px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/*---------------- SKELETON BLOG POST ----------------*/
:root {
    --loading-grey: #e5e7eb;
}
.skeleton {
    animation: loading 0.5s infinite ease-in-out;
    background: linear-gradient(
            100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 60%
        )
        var(--loading-grey);
    background-size: 200% 100%;
    background-position-x: 180%;
    color: transparent !important;
    user-select: none;
    border-radius: 4px;
    border-color: transparent !important;
}
@keyframes loading {
    to {
        background-position-x: -20%;
    }
}
#skeleton-tips-container .blog-card .card-img::before {
    background-color: white;
}
.skeleton-block {
    display: block;
    width: 100%;
    border-radius: 6px;
}
.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}
.skeleton-text:last-child {
    margin-bottom: 0;
}
.skeleton-title {
    height: 1.5em;
    margin-bottom: 0.75em;
}
.skeleton-subtitle {
    height: 1.2em;
    margin-bottom: 0.75em;
}
.skeleton-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.skeleton-badge {
    display: inline-block;
    height: 24px;
    width: 65px;
    border-radius: 12px;
    margin-right: 8px;
    margin-bottom: 10px;
}
.skeleton-paragraph .skeleton-text {
    background-color: var(--loading-grey);
    margin-bottom: 0.6em;
}
.skeleton-paragraph .skeleton-text:last-child {
    width: 85%;
}
.skeleton.w-100 {
    width: 100%;
}
.skeleton.w-90 {
    width: 90%;
}
.skeleton.w-80 {
    width: 80%;
}
.skeleton.w-75 {
    width: 75%;
}
.skeleton.w-60 {
    width: 60%;
}
.skeleton.w-50 {
    width: 50%;
}
.skeleton.w-40 {
    width: 40%;
}
.skeleton.w-25 {
    width: 25%;
}

.skeleton-card-img {
    height: 215px;
    background-color: var(--loading-grey);
    border-radius: 8px 8px 0 0;
}
.card-item.blog-card {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.card-item .card-body {
    padding: 1.25rem;
}
.card-item .card-footer {
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.post-share-placeholder {
    width: 20px;
    height: 20px;
    background-color: var(--loading-grey);
    border-radius: 50%;
}

.card-item .card-img,
.blog-card .card-img img {
    height: 240px;
}

.card-item.blog-card {
    position: relative;
    overflow: hidden;
}

.card-item .card-img {
    position: relative;
    overflow: hidden;
}

.card-item .card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.card-item .post-format.icon-element,
.card-item .card-body {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.card-item .card-img:hover .post-format.icon-element,
.card-item .card-img:hover .card-body {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.card-item .card-img:hover img {
    transform: scale(1.05);
}
.recent-post-card {
    gap: 0px;
}
.card-item .card-img img {
    height: 240px;
}