.article-card {
    max-width: 368px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
}

.article-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    display: block;
    position: relative;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #F8FAFB;
}

.article-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.article-card__meta-date {
    color: #55565A;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
}

.article-card__title {
    font-family: Nunito;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 16px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 56px;
    position: relative;
    padding-right: 32px;
}

.article-card__title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17' stroke='%23121563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.article-card__title a {
    color: #121563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card__title a:hover {
    color: #EB660A;
}

.article-card__excerpt {
    overflow: hidden;
    color: #55565A;
    text-overflow: ellipsis;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0 0 24px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-card__categories {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: auto;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.article-card__categories::-webkit-scrollbar {
    display: none;
}

.article-card__category {
    font-size: 12px;
    color: #EF8339;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 100px;
    background: #FFF9F5;
    border: 1px solid #FBDCC6;
    transition: all 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

.article-card__category:hover {
    background: #EF8339;
    color: white;
    border-color: #EF8339;
} 