.post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(var(--theme-color-rgb), 0.4);
    background-color: #fff;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 1s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--theme-color);
}

.post-card .image-box {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.post-card .image-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
    /* Enforce aspect ratio for consistency */
}

.post-card .lower-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.post-card .lower-content h4 {
    margin-bottom: 1rem;
}

.post-card .lower-content .text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.post-card .post-info {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.post-card .read-more {
    margin-top: 1rem !important;
}

/* Ensure buttons are full width and consistent */
.post-card .read-more .btn-title {
    text-align: center;
}

.news-block .image-box .category-badge.date {
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 0px 0px 0px 10px;
    bottom: inherit;
}

.post-card .post-thumb img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}