/**
 * Dog Widget Styles
 * Custom CSS for the dog grid widget
 */

.widget-grid {
    background-color: #dae9fc;
    margin: 20px 0;
}

.widget-grid article {
    height: 100%;
}

.widget-grid .inner {
    border: 1px solid #dee2e6;
    padding: 5px;
    border-radius: 10px;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.widget-grid > article > div {
    border: 1px solid #dee2e6;
    padding: 5px;
    border-radius: 10px;
    background: white;
    height: 100%;
}

.widget-grid .widget-grid-text {
    display: flex;
    flex-direction: column;
    flex-grow: 10;
}

.widget-grid .widget-profile {
    display: block;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    max-width: none !important;
    -o-object-fit: contain;
    object-fit: contain;
}

.widget-grid .entry-stats {
    font-size: 80%;
}

.widget-grid .widget-thumbnail {
    height: 220px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #dae9fc;
}

.widget-grid .action {
    flex-grow: 2;
    justify-content: end;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.widget-grid .widget-badge {
    z-index: 200;
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 70%;
    color: white;
    padding:3px;
    background-color: #0dcaf0;
    display: inline-block;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.365rem;
}