.mct-eg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .mct-eg-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.mct-eg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: #0f172a;
    box-shadow: none !important;
    transition: border-color 0.25s ease;
    box-sizing: border-box;
}

.mct-eg-card:hover {
    border-color: #cbd5e1;
    box-shadow: none !important;
    transform: none !important;
}

.mct-eg-media-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.mct-eg-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.mct-eg-card:hover .mct-eg-card-img {
    transform: scale(1.04);
}

.mct-eg-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ffffff;
    border-radius: 8px;
    width: 44px;
    padding: 6px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.mct-eg-date-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
}

.mct-eg-date-month {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    margin-top: 3px;
    line-height: 1;
}

.mct-eg-category-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #dc2626;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.mct-eg-content {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

.mct-eg-title {
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mct-eg-meta-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.mct-eg-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #64748b;
    font-weight: 500;
}

.mct-eg-meta-item svg {
    width: 15px;
    height: 15px;
    fill: #94a3b8;
    flex-shrink: 0;
}

.mct-eg-divider {
    height: 1px;
    background-color: #f1f5f9;
    width: 100%;
    margin-top: auto;
    margin-bottom: 16px;
}

.mct-eg-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mct-eg-interested-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mct-eg-avatars-stack {
    display: flex;
    align-items: center;
}

.mct-eg-avatar {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    object-fit: cover !important;
    margin-left: -8px;
    display: inline-block !important;
    overflow: hidden !important;
    box-sizing: border-box;
}

.mct-eg-avatar:first-child {
    margin-left: 0;
}

.mct-eg-interested-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.mct-eg-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mct-eg-action-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.mct-eg-btn-outline {
    background: transparent;
    color: #0f172a;
    border: 1.5px solid #0f172a;
}

.mct-eg-btn-outline:hover {
    background: #0f172a;
    color: #ffffff !important;
}

.mct-eg-btn-solid {
    background: #dc2626;
    color: #ffffff;
    border: 1.5px solid #dc2626;
}

.mct-eg-btn-solid:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #ffffff;
}
