.wecc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.wecc-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-decoration: none !important;
    border-radius: 0 0 10px 10px;
    background: #103A2A;
    box-shadow: none;
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease;
}

.wecc-hover-enabled:hover {
    transform: translateY(-4px);
}

.wecc-card:hover {
    text-decoration: none !important;
}

.wecc-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--wecc-ratio, 1.31);
    overflow: hidden;
    background: #f1f1f1;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.wecc-image-wrap img.wecc-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    border: 0;
    transition: transform .35s ease;
}

.wecc-card:hover .wecc-image {
    transform: scale(1.025);
}

.wecc-card-bottom {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 16px 20px;
    background: #103A2A;
    box-sizing: border-box;
}

.wecc-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    word-break: normal;
}

.wecc-title small {
    font-size: .75em;
    opacity: .75;
    font-weight: 500;
}

.wecc-arrow {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F6A04C;
    color: #173B2D;
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    transition: transform .25s ease, background-color .25s ease;
}

.wecc-card:hover .wecc-arrow {
    transform: translateX(2px);
}

.wecc-empty {
    padding: 20px;
    border: 1px dashed #bbb;
    background: #fafafa;
    color: #555;
}

@media (max-width: 1024px) {
    .wecc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .wecc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wecc-card-bottom {
        min-height: 72px;
        padding: 14px 16px;
    }
}
