/* RESEARCH */
.uu-flex-image-card-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}
.uu-flex-image-card-row .uu-flex-image-card-link-wrapper{
    flex:1; 
}
.uu-flex-image-card{
    position: relative;
    width: 100%;
    background: #2a2a2a;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    background-repeat: no-repeat;
    overflow: hidden;
}

.uu-flex-image-card .card-title-wrapper{
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgb(255, 255, 255);
    /* padding: 20px; */
    border-radius: 8px 0 0 0 ;
    transition: background 0.3s ease; 
}

.uu-flex-image-card .card-title{
    background-color: #ffffff;
    width: fit-content;
    padding: 20px;
    border-radius: 8px 0 0 0;
    margin: 0;
    font-size: 18px;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease; 
    z-index: 2; 
}

.uu-flex-image-card .card-title.montserrat{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.uu-flex-image-card .card-title.source-sans-pro{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
}
.uu-flex-image-card .card-title.vitesse{
    font-family: 'Vitesse', sans-serif;
    font-weight: 700;
}


/* Styles for the red square with white arrow */
.uu-flex-image-card .arrow-icon {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    background-color: #be0000; 
    color: #ffffff; 
    padding: 10px;
    border-radius: 4px;
    transition: right 0.3s ease; 
    z-index: 1; 
    display: inline-block; 
}

/* On hover, slide the arrow */
.uu-flex-image-card:hover .arrow-icon {
    right: -24px; /* Adjust for sliding effect */
}


.uu-flex-image-card:hover .card-title {
    transform: translateX(-30px); /* Slide the text left */
}
.uu-flex-image-card:hover .card-title::after{
    right: -24px; 
}
/* icon in top left corner. link in bottom right corner of image card */
.uu-flex-image-card .card-icon{
    background-position: center;
    background-size: cover;
    position: absolute;
    top: -10px;
    left: 0;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    padding: 14px;
    border-radius: 0 0 8px 0;
}

.widget_uu-flex-image-widget{
    flex: 1;
}
.widget_uu-flex-image-widget .panel-widget-style,
.widget_uu-flex-image-widget .so-widget-uu-flex-image-widget,
.widget_uu-flex-image-widget .uu-flex-image-wrap,
.uu-flex-image-card{
    height: 100%;
}