/**
 * Filters section
 */
.top-section
{
    position: relative;
    width: 100%;
    margin-top: 96px;
}
.above-filters
{
    position: absolute;
    width: 100%;
    font-size: 15px;
    line-height: 20px;
    border-bottom: 1px solid #E4E4E4;
    padding: 40px 8vw 30px;
    text-transform: uppercase;
}
.count
{
    font-size: 1.16em;
}
details
{
    position: relative;
    margin-top: 40px;
}
details:not([open]) {
    margin-bottom:20px;
}
.filter-btn
{
    position: absolute;
    top: 0;
    right: 8vw;
    display: inline-block;
    color: #001F71;
    outline: none;
    cursor: pointer;
    
    text-transform: initial;
    letter-spacing: initial;
    font-size: 16px;
    line-height: 18px;
    line-height: 26px;
    padding: 0 !important;
    --underline-color: #001F71;
}
.filter-btn::before
{
    content: "";
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: text-bottom;
    transform-origin: center;
    background: url(../images/filter-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
}
.filters-container
{
    justify-content: flex-start;
    padding-top: 3em;
}
.filters-container .wpgb-facet.wpgb-facet-2
{
    flex: 1;
    display: flex;
}
.filters-container .wpgb-facet.wpgb-facet-5
{
    flex: 2;
}
.filters-container .wpgb-facet > fieldset:last-child
{
    margin-bottom: 0;
}
.filters-container .wpgb-facet .wpgb-hierarchical-list
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.filters-container .wpgb-facet .wpgb-hierarchical-list li,
.filters-container .wpgb-facet .wpgb-hierarchical-list:first-child>li:first-child
{
    margin: 0;
    margin-bottom: 16px;
}
.filters-container .wpgb-facet .wpgb-checkbox-label
{
    font-family: Austin, serif;
    font-weight: 600;
}


.title-xl
{
    margin-top: 70px;
}


/**
 * THE GRID
 */
.title-xl
{
    max-width: 16ch;
}
.disko-fake-component-push-articles
{
    width: 100%;
    padding: 0 8vw;
    margin: 50px 0 70px;
}
.disko-fake-component-push-articles .grid
{
    width: 100%;
    max-width: 1150px;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    row-gap: 0px;
    
    margin: 0 auto;
}
.disko-fake-component-push-articles .grid-item
{
    --caption-size: min(2.4vw, 16px);
    width: 26vw;
    max-width: 365px;

    font-size: 16px;
    font-size: var(--caption-size);
    line-height: 1em;
}
.disko-fake-component-push-articles .img-and-caption
{
    position: relative;
}
.disko-fake-component-push-articles .img-container
{
    overflow: hidden;
}
.disko-fake-component-push-articles a:hover .img
{
    transform: scale(1.1);
}
.disko-fake-component-push-articles .img
{
    width: 100%;
    max-width: 365px;
    min-height: max(280px, min(26vw, 365px));
    min-height: clamp(280px, 26vw, 365px);
    object-fit: cover;
    transition: transform 0.6s ease-in-out 0s;
}

.disko-fake-component-push-articles .caption
{
    position: absolute;
    top: 0;
    bottom: 0;
  
    font-weight: bold;
    text-transform: uppercase;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.disko-fake-component-push-articles .caption > :first-child
{
  padding-right: 10px;
  position: relative;
  z-index: 1;
}
.disko-fake-component-push-articles .caption > :last-child
{
  padding-left: 10px;
}
.disko-fake-component-push-articles .caption > ::before
{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: -1;
}
.disko-fake-component-push-articles .caption > :first-child::before
{
  left: 0;
}
.disko-fake-component-push-articles .caption > :last-child::before
{
  right: 0;
}
.disko-fake-component-push-articles .caption :last-child::after
{
  content: "";
  position: absolute;
  top: 0.5em;
  right: 100%;
  display: inline-block;
  width: 100px;
  height: 1px;
  background-color: black;
  transform-origin: right;
  z-index: -2;
}

/* left articles */
.disko-fake-component-push-articles .grid-item:nth-child(2n + 1) .caption
{
  left: -2em;
  align-items: flex-start;
}
.disko-fake-component-push-articles .grid-item:nth-child(2n + 1) .caption :first-child
{
  transform-origin: top left;
  transform: rotateZ(90deg) translateY(-100%);
}
.disko-fake-component-push-articles .grid-item:nth-child(2n + 1) .caption :last-child
{
  transform-origin: bottom right;
  transform: translateX(-100%) rotateZ(90deg);
}
/* right articles */
.disko-fake-component-push-articles .grid-item:nth-child(2n + 2) .caption
{
  right: -2em;
  align-items: flex-end;
}
.disko-fake-component-push-articles .grid-item:nth-child(2n + 2) .caption :first-child
{
  transform-origin: top left;
  transform: translateX(100%) rotateZ(90deg) rotateZ(0.028deg);
}
.disko-fake-component-push-articles .grid-item:nth-child(2n + 2) .caption :last-child
{
  transform-origin: bottom right;
  transform: rotateZ(90deg) translateY(100%) rotateZ(0.028deg);
}
.disko-fake-component-push-articles .article-title
{
    font-size: 30px;
    font-size: clamp(25px, 3vw, 30px);
    line-height: 1em;
    font-weight: 400;
    margin-top: 20px;
}


/* positionning grid-items */
.disko-fake-component-push-articles .grid-item:nth-child(6n + 1)
{
    align-self: flex-start;
}
.disko-fake-component-push-articles .grid-item:nth-child(6n + 2)
{
    align-self: flex-end;
}
.disko-fake-component-push-articles .grid-item:nth-child(6n + 3),
.disko-fake-component-push-articles .grid-item:nth-child(6n + 4)
{
    align-self: center;
    margin-top: 120px;
}
.disko-fake-component-push-articles .grid-item:nth-child(6n + 5)
{
    align-self: flex-start;
    margin-top: 25px;
}
.disko-fake-component-push-articles .grid-item:nth-child(6n + 6)
{
    align-self: flex-end;
    margin-top: min(13vw, 175px);
}
.disko-fake-component-push-articles .grid-item:nth-child(6n + 7),
.disko-fake-component-push-articles .grid-item:nth-child(6n + 8)
{
    margin-top: 120px;
}
    

@media screen and (max-width: 767px)
{
    .disko-fake-component-push-articles .grid
    {
        grid-template-columns: 1fr;
    }
    .disko-fake-component-push-articles .grid-item
    {
        width: 100%;
    }
    .disko-fake-component-push-articles .grid-item + .grid-item
    {
        margin-top: 120px;
    }
    .disko-fake-component-push-articles .grid-item:nth-child(odd)
    {
        justify-self: flex-start;
    }
    .disko-fake-component-push-articles .grid-item:nth-child(even)
    {
        justify-self: flex-end;
    }
    .disko-fake-component-push-articles .article-title
    {
        font-size: 25px;
        font-size: max(25px, min(40px, 3vw));
    }
}



/* scaling images */
/*.disko-fake-component-push-articles .grid-item:nth-child(6n + 1) .img,*/
/*.disko-fake-component-push-articles .grid-item:nth-child(6n + 4) .img*/
/*{*/
/*    min-height: clamp(280px, 35vw, 495px);*/
/*}*/


/* load more button */
.wpgb-facet-6 .wpgb-button.wpgb-load-more
{
    background-color: transparent;
    color: black;
    
    display: inline-block;
    text-transform: uppercase;
    line-height: 2em;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background 1s ease 0s;
    font-family: 'Sofia pro', sans-serif;
    text-align: center;
  
    background: linear-gradient(to left, var(--underline-color, black) 50%, transparent 50%);
    background-size: 200% max(0.04em, 1px);
    background-position: 300% 100%;
    background-repeat: repeat-x;
    padding: 0.3em 0;
    transition: background-position 1s ease 0s;
    
    margin-bottom: 3em;
}
.wpgb-facet-6 .wpgb-button.wpgb-load-more:hover
{
    background-position: 100% 100%;
}