﻿a.item {
    text-decoration: none;
    color: black;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.item-image-container {
    display: grid;
    padding-bottom: 1.1rem;
}

.item-image-container > * {
    grid-area: 1/-1;
}

.item-image {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
    aspect-ratio: 370 / 240;
}

.item:hover .item-image-container {
    opacity: .8;
}

.item-label {
    background: white;
    margin: .5rem;
    color: #4CA1EF;
    align-self: start;
    justify-self: start;
    font-size: .9rem;
    border-radius: 20rem;
    padding: 0 0.5rem;
    text-transform: uppercase;
    box-shadow: 0 0 5px 0px #0002;
}

.item-content-type {
    background: white;
    margin: 1rem;
    align-self: end;
    justify-self: end;
    font-size: 1.8rem;
    border-radius: 20rem;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px 0px #0003;
}

.item-intro {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: .8rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.uitgelicht {
    order: -1;
}

.uitgelicht > *:first-child {
    border: 2px solid #4CA1EF;
    border-radius: 1rem;
    height: 100%;
}

.uitgelicht .item-image{
    border-radius: 1rem 1rem 0 0;
}

.uitgelicht .item-body {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width : 768px) {
    .item-intro {
        font-size: .9rem;
    }
}