*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #fff;
    margin-top: 80px;
    font-family: 'Cabin', sans-serif;
}

.presentationActualite{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ff3131;
    padding: 50px;
    gap:20px;
    color: white;
    margin-bottom: 80px;
}

.presentationActualite h1{
    font-size: 50px;
}

.contentActualite{
    margin-bottom: 80px;
}

.row, .row > .column {
    padding: 8px;
}

.row{
    display: flex;
    flex-wrap: wrap;
    gap:16px;
}

.column {
    width: calc(50% - 8px);
}

.article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    padding: 10px;
    position: relative;
    gap:10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.headArticle{
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.headArticle h3{
    font-size: 30px;
    color:#ff3131;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.imageActu {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.image-wrapper:hover .overlay {
    height: 60%;
}

.texteActualite {
    border-top:1px solid #ccc;
    padding-top:10px;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 370px;
    overflow: hidden;
}

.video-thumbnail img.imageActu {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.youtube-logo {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 60px;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
    background-color: #000;
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.article, .texteActualite {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 767px){
    .article h2{
        width: 100%;
        font-size: 25px;
    }

    .contentArticle img{
        max-width:100%;
    }
    .row{
        flex-direction: column;
    }
    .column{
        width: 100%;
    }
}