/* Updated CSS with single image per card */
.ucg-uniting-now {
    padding: 50px 20px;
    background-color: #202233;
    color: white;
}

.ucg-uniting-now h2 {
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 600;
}

.ucg-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card styles */
.ucg-insight-card {
    width: 100%;
    max-width: 350px;
    background-color: #2a2d45;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ucg-insight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.ucg-card-img-container {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.ucg-card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ucg-insight-card:hover .ucg-card-img-container img {
    transform: scale(1.1);
}

.ucg-card-heading {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 15px;
    font-size: 18px;
    font-weight: bold;
}

.ucg-card-author {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ucg-author-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 3px;
}

.ucg-author-title {
    opacity: 0.7;
    font-size: 12px;
}

.ucg-card-description {
    padding: 15px;
    line-height: 1.6;
}

.ucg-card-footer {
    padding: 15px;
    text-align: left;
}

.ucg-learn-more-btn {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #bbb;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.ucg-learn-more-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ucg-card-grid {
        gap: 30px;
    }
    
    .ucg-insight-card {
        max-width: 100%;
    }
}