.tp-a4d783cf-grid {
    display: grid;
    gap: 24px;
}

.tp-a4d783cf-cols-1 {
    grid-template-columns: 1fr;
}

.tp-a4d783cf-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tp-a4d783cf-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tp-a4d783cf-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.tp-a4d783cf-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tp-a4d783cf-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.tp-a4d783cf-image-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.tp-a4d783cf-image {
    width: 100%;
    overflow: hidden;
}

.tp-a4d783cf-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tp-a4d783cf-card:hover .tp-a4d783cf-img {
    transform: scale(1.03);
}

.tp-a4d783cf-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-grow: 1;
}

.tp-a4d783cf-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background-color: #e94560;
    border-radius: 4px;
    line-height: 1.4;
}

.tp-a4d783cf-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.tp-a4d783cf-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tp-a4d783cf-title a:hover {
    color: #e94560;
}

.tp-a4d783cf-date {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #888888;
}

.tp-a4d783cf-excerpt {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.tp-a4d783cf-read-more {
    display: inline-block;
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: #e94560;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tp-a4d783cf-read-more:hover {
    color: #1a1a2e;
}

@media (max-width: 1024px) {
    .tp-a4d783cf-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tp-a4d783cf-cols-2,
    .tp-a4d783cf-cols-3,
    .tp-a4d783cf-cols-4 {
        grid-template-columns: 1fr;
    }
}
