.top-page-container {
    background: #E7EDF1;
    padding: 50px 0;
}

.top-page-subtitle {
    width: 1100px;
    margin: 15px auto;
    font-size: 28px;
    color: #616160;
    text-align: center;
}

.top-page-bottom-decoration {
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 25'%3E%3Cpath d='M 0 0 L 800 0 C 750 12 600 25 400 25 C 200 25 50 12 0 0 ' fill='%23E7EDF1' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transform: translateY(-1px);
}

/*
/////////////////////////////////////////////////////////////
//////////////////////    FILTERS    ////////////////////////
/////////////////////////////////////////////////////////////
*/

.filters-container {
    width: 700px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 80px;
    justify-content: center;
    margin: auto auto 80px auto;
}

.filter {
    min-width: 120px;
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    background: #616160;
    color: white;
    cursor: pointer;
}

.filter.selected {
    background: #F3944D;
}

/*
/////////////////////////////////////////////////////////////
///////////////////    ACTUALITES    ////////////////////////
/////////////////////////////////////////////////////////////
*/

.actualites-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    width: 1200px;
    margin: auto;
}

.actualites-section {
    display: grid;
    grid-template-columns: 1fr 500px;
    grid-template-rows: 100px 100px 50px;
    grid-template-areas: 
        "title image"
        "text image"
        "date image";
    grid-gap: 15px;
    color: black;
    text-decoration: none;
    background: white;
    padding: 15px 15px 15px 25px;
    border: 2px solid #064872;
    border-radius: 20px;
    position: relative;
    margin: 30px 0;
}

.actualites-section::after {
    content: '';
    position: absolute;
    left: -50px;
    top: -40px;
    width: 100px;
    height: 100px;
    background-image: url('../media/imgs/guillemet_1.png');
    background-color: white;
    background-size: 60px auto;
    background-position: center;
    background-repeat: no-repeat;
}

.actualites-section-title {
    grid-area: title;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 30px;
    font-weight: 600;
    z-index: 1;
}

.actualites-section-text {
    grid-area: text;
    font-size: 19px;
    padding-left: 50px;
}

.actualites-section-date {
    grid-area: date;
}

.actualites-section-date-element {
    display: inline-block;
    text-transform: uppercase;
    color: #616160;
    font-size: 18px;
    margin-top: 10px;
    padding-left: 120px;
    padding-top: 3px;
    position: relative;
}

.actualites-section-date-element::after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #064872;
}

.actualites-section-image {
    grid-area: image;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.actualites-section-image::after {
    content: '';
    width: 400px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M 100 0 Q 10 10 0 100 Q 10 190 100 200 L 0 200 L 0 0 L 100 0 ' fill='white' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.actualites-section-image > img {
    width: 100%;
    position: absolute;
    top: -40%;
    left: 0;
}

.actualites-section-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    padding: 7px 15px;
    background: #F3944D;
    color: white;
    border-radius: 10px;
    text-transform: uppercase;
}
