.articlelist_wrapper {
    margin: 40px 0 0 0;
}

.articlelist {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.articlelist > div {
    display: grid;
    grid-template-columns: 250px auto;
    gap: 15px 20px;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 20px;
    padding-block-end: 15px;
}

.articlelist > div.no-img {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding-block-end: 10px;
    flex-direction: column;
}

.txt p:last-child {
    margin: 0!important;
}

.articlelist > div a.img {
    display: flex;
    justify-content: center;
    grid-area: 1/1/5/2;
    aspect-ratio: 16 / 9;
    width: 100%;
    align-items: center;
}

.articlelist > div a.img img {
    object-fit: contain;
    aspect-ratio: 16 / 9;
    width: auto;
    max-width: 100%;
}

.jg-page .articlelist > div a.img img {
    height: 150px;
}

.articlelist > div div.h3 {
    margin: 0;
}

.articlelist_wrapper a.button {
    max-width: 500px;
    margin: 0 auto;
}


.articlelist > div a.img picture {
    width: 100%;
    height: 100%;
}


.articlelist > div .child-more {
    align-self: start;
}

.jeux-children .child-more .button {
    padding: 10px 22px;
    background: #135e8d;
    border-radius: 5px;
    box-shadow: 0 4px 0 0 #0e4466;
    transform: translateY(0);
    transition: all 0.1s ease;
}

.jeux-children .child-more .button:hover,
.jeux-children .child-more .button:focus {
    background: #0e4466;
    transform: translateY(4px);
    box-shadow: none;
}

.hidden-item {
    display: none !important;
}

.children-list-showMoreBtn span:nth-child(2),
.children-list-showMoreBtn.active span:first-child {
    display: none !important;
}

button.children-list-showMoreBtn.active span:nth-child(2) {
    display: inline !important;
}

.children-list-showMoreBtn.active svg {
    transform: rotate(180deg);
}

/* jeux-specific presentation (scoped so other templates keep their own styling) */
.jeux-children .children-list-showMoreBox {
    display: flex;
    justify-content: center;
    margin: 0 0 2rem;
}

.jeux-children .children-list-showMoreBtn {
    min-width: 144px;
    height: 43px;
    padding: 0 1rem;
    border-radius: 2px;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
}

.jeux-children .children-list-showMoreBtn svg {
    margin: 0 0 0 8px;
    vertical-align: middle;
}

@media only screen and (max-width: 640px) {
    .articlelist > div {
        grid-template-columns: 100%;
    }

    .articlelist > div a.img {
        grid-area: 1/1/1/1;
        align-items: center;
    }

    .jg-page .articlelist > div a.img{
        aspect-ratio: unset !important;
    }

    .jg-page .articlelist > div a.img img {
        height: auto !important;
    }
}
