@media (min-width : 600px) {
    #container > * {
        padding-left: 60px;
        padding-right: 60px;
    }
}
@media (max-width : 599px) {
    #container > * {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*--------------------------------------------------------------------------------*/

#container .category-btn {
    position: relative;
    display: block;
    
    text-align: center;
    color: #FFF;
}
#container .category-btn > .thumbnail {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    
    background-position: center;
    background-size: cover;
}
#container .category-btn > .thumbnail:after {
    content: "";
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    
    background-color: rgba(159,39,68,.6);
    transition: background-color .2s ease-out;
}
#container .category-btn:hover > .thumbnail:after { background-color: rgba(159,39,68,.8); }
#container .category-btn > .thumbnail ~ div { position: relative; }
#container .category-btn > .name { font-family: "Anton"; }
#container .category-btn > .cta {
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 11px;
    letter-spacing: 3px;
}
@media (min-width : 600px) {
    #container .category-btn { padding: 30px; }
    #container .category-btn > .name {
        margin-bottom: 25px;
        font-size: 25px;
    }
}
@media (max-width : 599px) {
    #container .category-btn { padding: 20px; }
    #container .category-btn:not(:last-child) { margin-bottom: 15px; }
    #container .category-btn > .name {
        margin-bottom: 16px;
        font-size: 22px;
    }
}

/*--------------------------------------------------------------------------------*/

#container > header {
    background-color: #9E2B46;
    
    text-align: center;
    color: #FFF;
}
#container > header > .title {
    font-family: "Anton";
    text-transform: uppercase;
}
#container > header > .categories {}
@media (min-width : 900px) {
    #container > header > .categories {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    #container > header > .categories > .category-btn { flex: 0 0 calc(50% - 20px); }
}
@media (max-width : 899px) {
    #container > header > .categories {}
}
@media (min-width : 600px) {
    #container > header {
        padding-top: 195px;
        padding-bottom: 305px;
    }
    #container > header + section { margin-top: -240px; }
    #container > header > .title {
        margin-bottom: 80px;
        
        line-height: 58px;
        font-size: 67px;
    }
}
@media (max-width : 599px) {
    #container > header {
        padding-top: 120px;
        padding-bottom: 245px;
    }
    #container > header + section { margin-top: -190px; }
    #container > header > .title {
        margin-bottom: 60px;
        
        line-height: 43px;
        font-size: 50px;
    }
}

/*--------------------------------------------------------------------------------*/

#container .article { overflow: hidden; }
#container .article > .thumbnail {
    display: block;
    
    background-position: center;
    background-size: cover;
}
#container .article .date {
    font-family: "Anton";
    color: #EAC2CD;
}
#container .article .categories {}
#container .article > .title {
    display: -webkit-box; overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    
    font-family: "Anton";
    letter-spacing: 1px;
}

/*--------------------------------------------------------------------------------*/

#latest { margin-bottom: 40px; }
#latest > .title {
    margin-bottom: 25px;
    
    line-height: 35px;
    font-family: "anton";
    font-size: 40px;
    color: #FFF;
}
#latest > .article > .thumbnail {
    height: 385px;
    margin-bottom: 30px;
}
#latest > .article > .metadata {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
#latest > .article > .metadata > .date {
    margin-right: 15px;
    
    line-height: 19px;
    font-size: 22px;
}
#latest > .article > .metadata > .categories {
    line-height: 19px;
    font-size: 15px;
}
#latest .article > .title {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    
    -webkit-line-clamp: 2;
    text-align: center;
    font-size: 27px;
}

/*--------------------------------------------------------------------------------*/

#articles > .controls { text-align: center; }
#articles > .controls > .filters {
    display: block;
    padding: 16px 25px;
    
    border: solid 1px #9E2B46;
    
    text-align: left;
}
#articles > .controls > .filters > * { display: inline; }
#articles > .controls > .filters > :not(:last-child) { margin-right: 3px; }
#articles > .controls > .filters > .categories-selector {
    position: relative;
    margin-right: 55px;
}
#articles > .controls > .filters > .categories-selector > .selection {
    padding-right: 20px;
    
    background-image: url("../../images/icons/arrow.bottom.svg");
    background-position: right center;
    background-size: 12px auto;
    background-repeat: no-repeat;
    
    white-space: nowrap;
    font-weight: 700;
}
#articles > .controls > .filters > .categories-selector.open > .selection {
    background-image: url("../../images/icons/arrow.top.svg");
}
#articles > .controls > .filters > .categories-selector > .categories-list {
    position: absolute; top: 120%; left: 50%; transform: translateX(-50%); z-index: 1;
    padding: 15px 20px;
    
    background-color: #FFF;
    border: solid 1px #9E2B46;
    
    opacity: 0; transition: opacity .2s ease-out;
    pointer-events: none;
}
#articles > .controls > .filters > .categories-selector.open > .categories-list {
    opacity: 1;
    pointer-events: auto;
}
#articles > .controls > .filters > .categories-selector > .categories-list > a {
    display: block;
    
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 30px;
}
#articles > .controls > .filters > .categories-selector > .categories-list > a.selected { font-weight: 700; }
#articles > .controls > .filters > input {
    width: 140px;
    
    background-color: transparent;
    border: none;
}
#articles > .controls > .filters > input { margin-right: 10px !important; }
@media (min-width : 900px) {
    #articles > .controls {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 45px;
    }
    #articles > .controls > .filters { flex: 1; }
    #articles > .controls > .cta-btn {
        flex: 0 0 auto;
        margin-left: 40px;
    }
}
@media (max-width : 899px) {
    #articles > .controls { margin-bottom: 35px; }
    #articles > .controls > .filters { margin-bottom: 30px; }
    #articles > .controls > .filters > .collapsible { display: none; }
}

/*--------------------------------------------------------------------------------*/

#articles > .articles {}
#articles > .articles:empty:after {
    content: "Aucun résultat trouvé";
    
    text-align: center;
    font-family: "Anton";
    font-size: 25px;
    color: #EAC2CD;
}
#articles > .articles > a { overflow: hidden; }
#articles > .articles > a.category-btn {
    order: -1;
    margin-top: 40px;
    padding: 20px;
}
#articles > .articles > a.category-btn > .name {
    margin-bottom: 20px;
    font-size: 19px;
}

#articles > .articles > a.article > .date {
    margin-bottom: 20px;
    
    font-size: 22px;
    line-height: 26px;
}
#articles > .articles > a.article > .thumbnail { margin-bottom: 25px; }
#articles > .articles > a.article:nth-child(odd) > .thumbnail { height: 130px; }
#articles > .articles > a.article:nth-child(even) > .thumbnail { height: 90px; }
#articles > .articles > a.article > .categories { margin-bottom: 15px; }
#articles > .articles > a.article > .title { font-size: 22px; }

@media (min-width : 900px) {
    #articles > .articles > a { flex: 0 0 calc((100% - 120px ) / 4); }
    #articles > .articles > a.article:nth-child(-n + 4) { order: -2; }
    #articles > .articles > a.article:nth-child(2) > .thumbnail { height: 130px; }
    #articles > .articles > a.article:nth-child(3) > .thumbnail { height: 90px; }
    #articles > .articles > a.article:nth-child(4) > .thumbnail { height: 130px; }
    #articles > .articles > a.article:nth-child(4) ~ .article:nth-child(even) { position: relative; top: -40px; }
}
@media (max-width : 899px) and (min-width : 750px) {
    #articles > .articles { column-gap: 30px; }
    #articles > .articles > a { flex: 0 0 calc((100% - 80px ) / 3); }
    #articles > .articles > a.article:nth-child(-n + 3) { order: -2; }
    #articles > .articles > a.article:nth-child(2) > .thumbnail { height: 130px; }
    #articles > .articles > a.article:nth-child(3) > .thumbnail { height: 90px; }
    #articles > .articles > a.article:nth-child(3) ~ .article:nth-child(even) { position: relative; top: -40px; }
}
@media (max-width : 749px) and (min-width : 600px) {
    #articles > .articles { column-gap: 30px; }
    #articles > .articles > a { flex: 0 0 calc((100% - 40px ) / 2); }
    #articles > .articles > a.article:nth-child(-n + 2) { order: -2; }
    #articles > .articles > a.article:nth-child(2) > .thumbnail { height: 130px; }
    #articles > .articles > a.article:nth-child(2) ~ .article:nth-child(even) { position: relative; top: -40px; }
}
@media (min-width : 600px) {
    #articles > .articles { margin-bottom: 65px; }
    #articles > .articles {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        
        column-gap: 40px;
        row-gap: 60px;
    }
}
@media (max-width : 599px) {
    #articles > .articles { margin-bottom: 45px; }
    #articles > .articles > a { display: block; }
    #articles > .articles > a:not(:last-child) { margin-bottom: 30px; }
}

/*--------------------------------------------------------------------------------*/

#articles > .pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 5px;
    padding-bottom: 60px;
}
#articles > .pagination:empty { display: none; }
#articles > .pagination > .page-numbers {
    display: block;
    text-align: center;
}
@media (min-width : 600px) {
    #articles > .pagination > .page-numbers {
        flex: 0 0 50px; height: 50px;
        line-height: 50px;
    }
}
@media (max-width : 599px) {
    #articles > .pagination > .page-numbers {
        flex: 0 0 36px; height: 36px;
        line-height: 36px;
    }
}
#articles > .pagination > .page-numbers:not(.dots) {
    background-color: transparent;
    border: solid 1px #FEFD71;
    
    transition:
        background-color .2s ease-out,
        border-color     .2s ease-out;
}
#articles > .pagination > .page-numbers:not(.dots):hover,
#articles > .pagination > .page-numbers.current {
    background-color: #FEFD71;
    border-color: transparent;
}
#articles > .pagination > .page-numbers.prev,
#articles > .pagination > .page-numbers.next {
    background-position: center;
    background-size: contain;
}
#articles > .pagination > .page-numbers.prev { background-image: url(../../images/icons/page.prev.svg); }
#articles > .pagination > .page-numbers.next { background-image: url(../../images/icons/page.next.svg); }








