.itemgrid {
    display: grid;

    grid-column-gap: 32px;
    grid-row-gap: 1px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 1px;
}


section.aggregation .itemgrid {

    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-column-gap: 20px;
}
.itemgrid > div.griditem {


}

.itemcontent {
    display: block;
    position: relative;
    border-bottom: 32px solid transparent !important;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}
section.aggregation .itemgrid .itemcontent {
    border-bottom: 20px solid transparent !important;

}

.loaded .itemcontent {
    opacity: 1;
}

.itemcontent picture, .itemcontent picture img {
    display: block;
    width: 100%;
    height: auto;
}

.itemcontent picture + div:not(.hover),
.itemcontent picture + p {
    margin-top: 10px;
}

a > div.hover ,
a.itemcontent > div.hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 32px);
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center; /*align-items: center;*/
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

a:hover > div.hover,
a.itemcontent:hover > div.hover {
    opacity: 1;
}


.itemcontent p strong {
    font-weight: 500;
}


/*section.aggregation h2 {
    margin-left: auto; margin-right: auto;
}*/
/*section.aggregation>div h2{ text-align: center;
}*/
section.aggregation>div {

    padding: 0 20px;

}
section.aggregation .itemgrid .itemcontent p:not(:first-child) {

}
section.aggregation .itemgrid .itemcontent p  {
    font-size: 14px;
    font-style: normal;
}
section.aggregation .itemgrid .itemcontent p:nth-child(2) {
    font-size: 16px; margin: 0.25em 0;
}
section.aggregation .itemgrid .itemcontent p.tweetlink strong{
    font-size: 16px; padding-bottom: 0.25em; display: inline-block;
}
section.aggregation .itemgrid .itemcontent p em {
    font-size: 14px;
    font-style: normal;
}

section:not(.aggregation) .itemcontent p.instalink {
    display: flex;
    align-items: center; margin-top: 1em;
}

section:not(.aggregation) .itemcontent p.instalink span { display:block; padding-right:1em; }
section:not(.aggregation) .itemcontent p.instalink::after {
    width:32px;
    min-width: 32px;
    height: 32px;
    border-radius: 50%; margin-left: auto;
    background: rgba(0,0,0,0.14);
    content: "";
    display: block;
    background-size: contain; background-position: center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28" style="enable-background:new 0 0 28 28;" xml:space="preserve"> <g> <path  fill="%23000000" d="M14,7.1c2.3,0,2.5,0,3.4,0.1c0.8,0.1,1.3,0.2,1.6,0.3c0.4,0.1,0.7,0.3,0.9,0.6c0.3,0.3,0.5,0.6,0.6,0.9 c0.1,0.3,0.3,0.8,0.3,1.6c0.1,0.9,0.1,1.1,0.1,3.4s0,2.5-0.1,3.4c-0.1,0.8-0.2,1.3-0.3,1.6c-0.1,0.4-0.3,0.7-0.6,0.9 c-0.3,0.3-0.6,0.5-0.9,0.6c-0.3,0.1-0.8,0.3-1.6,0.3c-0.9,0.1-1.1,0.1-3.4,0.1s-2.5,0-3.4-0.1c-0.8-0.1-1.3-0.2-1.6-0.3 c-0.4-0.1-0.7-0.3-0.9-0.6c-0.3-0.3-0.5-0.6-0.6-0.9c-0.1-0.3-0.3-0.8-0.3-1.6c-0.1-0.9-0.1-1.1-0.1-3.4s0-2.5,0.1-3.4 C7.2,9.8,7.3,9.3,7.5,9c0.1-0.4,0.3-0.7,0.6-0.9C8.4,7.8,8.6,7.6,9,7.5c0.3-0.1,0.8-0.3,1.6-0.3C11.5,7.1,11.7,7.1,14,7.1z M14,5.5 c-2.3,0-2.6,0-3.5,0.1C9.7,5.6,9,5.8,8.5,5.9c-0.6,0.2-1,0.5-1.5,1c-0.4,0.4-0.8,0.9-1,1.5C5.8,9,5.6,9.6,5.6,10.5 c-0.1,0.9-0.1,1.2-0.1,3.5s0,2.6,0.1,3.5c0.1,0.9,0.2,1.5,0.4,2.1c0.2,0.6,0.5,1,1,1.5c0.4,0.4,0.9,0.8,1.5,1 c0.6,0.2,1.1,0.4,2.1,0.4c0.9,0.1,1.2,0.1,3.5,0.1s2.6,0,3.5-0.1s1.5-0.2,2.1-0.4c0.6-0.2,1-0.5,1.5-1c0.4-0.4,0.8-0.9,1-1.5 c0.2-0.6,0.4-1.1,0.4-2.1c0.1-0.9,0.1-1.2,0.1-3.5s0-2.6-0.1-3.5c-0.1-0.9-0.2-1.5-0.4-2.1s-0.5-1-1-1.5c-0.4-0.4-0.9-0.8-1.5-1 c-0.6-0.2-1.1-0.4-2.1-0.4C16.6,5.6,16.3,5.5,14,5.5z M14,9.7c-2.4,0-4.3,2-4.3,4.3s2,4.3,4.3,4.3s4.3-2,4.3-4.3S16.4,9.7,14,9.7z M14,16.8c-1.6,0-2.8-1.3-2.8-2.8s1.3-2.8,2.8-2.8s2.8,1.3,2.8,2.8S15.5,16.8,14,16.8z M18.5,10.5c0.6,0,1-0.4,1-1s-0.4-1-1-1 c-0.6,0-1,0.4-1,1S17.9,10.5,18.5,10.5z"/> </g> </svg>');

}
.aggregation .itemcontent p.instalink::before {
    width: var(--social_icon_size);
    min-width: var(--social_icon_size);
    height: var(--social_icon_size);
    border-radius: 50%; /*margin-left: auto;*/margin-right: auto;
    background: rgba(255,255,255,1);
    content: "";
    display: block;
    background-size: contain; background-position: center; margin-bottom: 5px;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 28" style="enable-background:new 0 0 28 28;" xml:space="preserve"> <g> <path  fill="%23000000" d="M14,7.1c2.3,0,2.5,0,3.4,0.1c0.8,0.1,1.3,0.2,1.6,0.3c0.4,0.1,0.7,0.3,0.9,0.6c0.3,0.3,0.5,0.6,0.6,0.9 c0.1,0.3,0.3,0.8,0.3,1.6c0.1,0.9,0.1,1.1,0.1,3.4s0,2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