.about-hero{
    position: relative;
    background: url('../images/evnement-hero.png') center/cover no-repeat;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* overlay sombre */
.about-hero .overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* contenu au dessus */
.hero-content{
    position: relative;
    z-index: 2;
    color: white;
}

/* titre */

.about-hero h1{
    font-size: 38px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* texte */

.about-hero p{
    max-width: 900px;
    margin: auto;
    font-size: 18px;
    line-height: 1.6;
    text-transform: uppercase;
}
/* Styles for the list of events (page template "Événements") */
.events-section{
padding:60px 0;
background:#f5f5f5;
}

/* HEADER */

.events-header{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:40px;
}

.events-title{
display:flex;
align-items:center;
gap:12px;
}

.calendar-icon{
font-size:26px;
color:#e11;
}

.events-title h2{
margin:0;
font-size:22px;
font-weight:600;
}

.events-month{
font-size:13px;
color:#777;
}

.events-line{
flex:1;
height:1px;
background:#ddd;
margin-left:30px;
}


/* GRID */

.events-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}


/* CARD */

.event-card{
background:#fff;
border-radius:4px;
overflow:hidden;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
display:flex;
flex-direction:column;
}

.event-image img{
width:100%;
height:180px;
object-fit:cover;
}


/* CONTENT */

.event-content{
padding:18px;
display:flex;
flex-direction:column;
flex:1;
}

.event-title{
font-size:16px;
font-weight:600;
margin-bottom:10px;
}

.event-title a{
text-decoration:none;
color:#222;
}

.event-meta{
font-size:13px;
color:#777;
margin-bottom:10px;
display:flex;
flex-direction:column;
gap:4px;
}

.event-excerpt{
font-size:13px;
color:#555;
margin-bottom:15px;
}


/* BUTTON */

.event-btn{
align-self:flex-end;
background:#e30000;
color:#fff;
padding:6px 14px;
font-size:13px;
border-radius:3px;
text-decoration:none;
}

.event-btn:hover{
background:#c80000;
}


/* PAGINATION */

.events-pagination{
    display: flex;
    align-items: center;
    margin-top:40px;
}

.events-pagination .page-numbers{
display:inline-block;
padding:6px 10px;
background:#ddd;
margin:3px;
color:#333;
text-decoration:none;
}

.events-pagination .current{
background:#999;
color:#fff;
}


/* RESPONSIVE */

@media(max-width:900px){

.events-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.events-grid{
grid-template-columns:1fr;
}

}



.articles-section{
padding:60px 0;
background:#E6E6E6;
margin-bottom: 20px;
}

/* HEADER */

.articles-header{
display:flex;
justify-content:space-between;
align-items:center;
}

.articles-header h1{
font-size:32px;
font-weight:600;
}

.articles-search form{
display:flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}

.articles-search input{
padding:18px 20px;
border:1px solid #ddd;
width:900px;
}

.filter-btn{
background:#1f8f3a;
color:#fff;
border:none;
padding:18px 20px;
cursor:pointer;
width:90px;
}


/* GRID */

.articles-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:40px;
}


/* CARD */

.article-card{
background:#fff;
box-shadow:0 5px 12px rgba(0,0,0,0.08);
border-radius:6px;
overflow:hidden;
display:flex;
flex-direction:column;
}

.article-image{
position:relative;
}

.article-image img{
width:100%;
height:220px;
object-fit:cover;
}

.article-category{
position:absolute;
bottom:0;
left:0;
background:#2aa84a;
color:#fff;
padding:6px 14px;
font-size:14px;
}


/* CONTENT */

.article-content{
padding:20px;
}

.article-title{
font-size:18px;
margin-bottom:10px;
}

.article-title a{
text-decoration:none;
color:#222;
}

.article-date{
font-size:14px;
color:#777;
margin-bottom:10px;
}

.article-excerpt{
font-size:14px;
color:#444;
margin-bottom:20px;
}


/* BUTTON */

.article-btn{
background:#e50000;
color:#fff;
padding:8px 15px;
text-decoration:none;
border-radius:3px;
float:right;
}


/* PAGINATION */

.articles-pagination{
    display: flex;
margin-top:40px;
align-items: center;
}

.page-numbers{
display:inline-block;
padding:8px 12px;
background:#ddd;
margin:3px;
text-decoration:none;
color:#333;
}

.page-numbers.current{
background:#bbb;
color:#fff;
}


/* RESPONSIVE */

@media(max-width:900px){

.articles-grid{
grid-template-columns:1fr;
}

}