/* Banner */

.article-body > .workingGroupBanner {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    margin-top: 0.6rem;
    background-size: cover;
    background-position: center 30%;
}
.article-body > .workingGroupBanner.notext {
    object-fit: cover;
}
.article-body > .workingGroupBanner div {
    width: 80%;
    margin: 2rem;
}
.article-body > .workingGroupBanner h1 {
    display: inline;
    border-radius: 6px;
    background-color: var(--lightBlue);
    color: #000;
    padding: 6px 12px;
    line-height: 1.5;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Logos */

.article-body > .text > .logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-gap: 1rem;
    background-color: #f9f9f9;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
    padding: 0.3rem 0.7rem;
    width: 100%;
}

.logos a {
    display: flex;
    justify-content: center;
}

.logos img {
    margin-top: 0;
    min-height: unset;
    max-height: 80px;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logos > img:last-child, .logos :last-child img {
    margin-right: 0;
    padding-right: 0;
    border: none;
}

/* Text */

.article-body > .text:not(:empty) {
    padding: 2rem 0;
}

.article-body > .text:empty {
    display: none;
}

/* MainGrid */

.article-body > .mainGrid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 1.7rem;
    width: 100%;
}
.article-body > .mainGrid section {
    grid-column: span 2;
    height: fit-content;
}
.article-body > .mainGrid :is(#wg-news, #webinars) {
    grid-row: span 2;
}
.article-body > .mainGrid section .headerContainer {
    background-color: #fff;
    outline: 1px solid #fff;
    outline: 1px solid #fff;
}
.article-body > .mainGrid section .headerContainer.sticky {
    position: fixed;
    top: 0;
    z-index: 2;
}
.article-body > .mainGrid section h2 {
    margin: 0;
    border-top: 3px solid var(--lightBlue);
    padding-top: 6px;
    padding-bottom: 0.4rem;
}
.article-body > .mainGrid section > div {
    margin-top: 1px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.article-body > .mainGrid section > div > a  {
    text-decoration: none;
}
.article-body > .mainGrid section .news-card {
    min-height: unset;
    border-radius: 10px;
}
.article-body > .mainGrid section .news-card .news-date {
    margin-top: auto;
    padding-top: 10px;
}

.article-body > .mainGrid section > div > .emptyMessage {
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    padding: 0.8rem;
}

/* Lists */

.article-body > .mainGrid .listview {
    /* padding-top: 1rem;
    border-top: 1px solid var(--lightBlue); */
}

.article-body > .mainGrid .listview .news-card {
    border-radius: 0;
    border: none;
    border-bottom: var(--borderFormat);
    border-color: var(--lightBlue);
    padding: 0;
    padding-bottom: 1rem;
}

.article-body > .mainGrid .listview .news-card::after {
    display: none;
}


@media only screen and (min-width: 450px) {
    section#statements { 
        order: 0;
    }
    section#files {
        order: 1;
    }
    section#wg-news {
        order: 2;
    }
    section#webinars {
        order: 3;
    }
    .article-body > .mainGrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (min-width: 600px) {
    .logos {
        padding: 0.6rem 1rem;
    }
    .article-body > .workingGroupBanner {
        min-height: 240px;
    }
    .article-body > .mainGrid {
        grid-template-columns: repeat(6, 1fr);
    }
    section#statements { 
        order: unset;
        grid-column: 5 / 7;
    }
    section#files {
        order: unset;
        grid-column: 5 / 7;
    }
    section#wg-news {
        order: unset;
        grid-column: 1 / 3;
    }
    section#webinars {
        order: unset;
        grid-column: 3 / 5;
    }
}

@media only screen and (min-width: 1100px) {
    .article-body > .workingGroupBanner {
        position: relative;
        height: 240px;
    }
}