/**
 * Campaign Image Styles
 * Controls campaign banner sizes - matching store card design
 */

/* Campaign Card Container */
.campaign-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-4px);
}

/* Campaign Image Container - Store card style */
.campaign-card .uk-card-media-top {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ed174f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

/* Campaign Image Styling - Smaller size like store cards */
.campaign-card .uk-card-media-top img {
    width: 100%;
    height: auto;
    max-height: 200px;
    min-height: 160px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    padding: 8px;
    transition: transform 0.3s ease;
}

.campaign-card:hover .uk-card-media-top {
    box-shadow: 0 8px 20px rgba(237, 23, 79, 0.25);
    border-color: #d01445;
}

.campaign-card:hover .uk-card-media-top img {
    transform: scale(1.02);
}

/* Card Hover Effect - Transparent background */
.campaign-card .uk-card {
    border: none;
    box-shadow: none;
    background: transparent;
    transition: transform 0.3s ease;
}

.campaign-card:hover .uk-card {
    box-shadow: none;
    background: transparent;
}

/* Responsive Sizes */
@media (max-width: 959px) {
    .campaign-card .uk-card-media-top {
        max-height: 180px;
    }
    
    .campaign-card .uk-card-media-top img {
        max-height: 180px;
        min-height: 140px;
        height: auto;
    }
}

@media (max-width: 640px) {
    .campaign-card .uk-card-media-top {
        max-height: 160px;
    }
    
    .campaign-card .uk-card-media-top img {
        max-height: 160px;
        min-height: 120px;
        height: auto;
        padding: 6px;
    }
}
