.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/*.article-img {*/
/*    height: 250px;*/
/*    object-fit: fill;*/
/*    transition: transform 0.5s ease;*/
/*}*/

/*.article-card:hover .article-img {*/
/*    transform: scale(1.05);*/
/*}*/

.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-radius: 12px;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.card-img-container {
    position: relative;
    height: 220px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img {
    transform: scale(1.08);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 50%);
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    line-height: 1.1;
}

.date-badge .month {
    font-size: 0.8rem;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
}

.read-more {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.article-card:hover .read-more {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-color);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.text-rad-primary {
    color: var(--primary-color);
}


.btn-outline-secondary.custom-hover:hover {
    border-color: var(--primary-color) !important;
    background-color: color-mix(in srgb, var(--primary-color) 20%, white);
}
