#container > header { background-color: #9E2B46; }
#container > header > .cta-btn { color: #FEFD71; }
#container > header > .cta-btn:before { background-color: #C43D5E; }
#container > header > .title {
    position: relative;
    margin: 0;
    
    text-transform: uppercase;
    font-family: "Anton";
    color: #FFF;
}
#container > header > .title > .outlined {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #D55C7B;
}
#container > header > .title > span { display: block; }
@media (min-width : 900px) {
    #container > * {
        padding-left: 50px;
        padding-right: 50px;
    }
    #container > header { padding-top: 150px; }
    #container > header > .back-btn {
        margin-left: 40px;
        margin-bottom: 55px;
    }
    #container > header > .title {
        top: 2px;
        
        line-height: 68px;
        font-size: 74px;
    }
    #container > header > .title > span:not(:last-child) { margin-bottom: 18px; }
}
@media (max-width : 899px) {
    #container > * {
        padding-left: 15px;
        padding-right: 15px;
    }
    #container > header { padding-top: 110px; }
    #container > header > .back-btn { margin-bottom: 44px; }
    #container > header > .title {
        top: 8px;
        
        line-height: 60px;
        font-size: 50px;
    }
}

/*--------------------------------------------------------------------------------*/

@media (min-width : 900px) { #articles { padding-top: 60px; } }
@media (max-width : 899px) { #articles { padding-top: 28px; } }

/*--------------------------------------------------------------------------------*/

#articles > .controls { text-align: center; }

#articles > .controls > .categories-selector { border-bottom: solid 2px #9F2844; }
@media (min-width : 900px) {
    #articles > .controls > .categories-selector { flex: 1; }
    #articles > .controls > .categories-selector > .selection { display: none; }
    #articles > .controls > .categories-selector > .categories-list {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    #articles > .controls > .categories-selector > .categories-list > a {
        display: block; overflow: hidden;
        
        border-bottom: solid 7px transparent;
        
        white-space: nowrap;
        text-overflow: ellipsis;
        text-transform: uppercase;
        line-height: 40px;
        font-size: 12px;
        letter-spacing: 2.5px;
    }
    #articles > .controls > .categories-selector > .categories-list > a:not(:last-child) { margin-right: 40px; }
    #articles > .controls > .categories-selector > .categories-list > a.selected {
        border-color: #9E2B46;
        font-weight: 700;
    }
}
@media (max-width : 899px) {
    #articles > .controls > .categories-selector {
        position: relative; z-index: 10;
        margin-bottom: 34px;
        
        text-align: left;
    }
    #articles > .controls > .categories-selector > .selection {
        display: block; overflow: hidden;
        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;
        text-overflow: ellipsis;
        text-transform: uppercase;
        line-height: 34px;
        font-size: 13px;
        letter-spacing: 2.5px;
        font-weight: 700;
    }
    #articles > .controls > .categories-selector.open > .selection {
        background-image: url("../../images/icons/arrow.top.svg");
    }
    #articles > .controls > .categories-selector > .categories-list {
        position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%); z-index: 1;
        width: 100%;
        padding: 15px 20px;

        background-color: #FFF;
        border: solid 1px #9E2B46;

        opacity: 0; transition: opacity .2s ease-out;
        pointer-events: none;
    }
    #articles > .controls > .categories-selector.open > .categories-list {
        opacity: 1;
        pointer-events: auto;
    }
    #articles > .controls > .categories-selector > .categories-list > a {
        display: block;

        white-space: nowrap;
        text-transform: uppercase;
        line-height: 30px;
    }
    #articles > .controls > .categories-selector > .categories-list > a.selected { font-weight: 700; }
}

#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;
    }
    #articles > .controls > .cta-btn:only-child { margin-left: auto; }
}
@media (max-width : 899px) {
    #articles > .controls { margin-bottom: 35px; }
    #articles > .controls > .filters { margin-bottom: 30px; }
    #articles > .controls > .filters > .collapsible { display: none; }
}

/*--------------------------------------------------------------------------------*/

#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); }