.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 single event detail page */
.event-single{
padding:60px 0;
background:#f4f4f4;
}

.event-title{
font-size:28px;
margin-bottom:10px;
}

.event-subtitle{
color:#777;
margin-bottom:20px;
}

.event-featured img{
width:100%;
border-radius:6px;
margin-bottom:20px;
}

.event-description{
margin-bottom:30px;
line-height:1.6;
}

/* BOX */

.event-box{
background:#e9e9e9;
padding:20px;
margin-bottom:20px;
border-radius:4px;
}

.event-box h3{
margin-bottom:10px;
}

.event-meta span{
display:block;
margin-bottom:5px;
}

/* PROGRAM */

.event-box ul{
padding-left:20px;
}

.event-box li{
margin-bottom:8px;
}

/* BUTTON */

.event-btn{
display:inline-block;
background:#1c9b4c;
color:#fff;
padding:12px 25px;
text-decoration:none;
border-radius:4px;
margin-top:10px;
}

/* DIVIDER */

.event-divider{
margin:50px 0;
border:none;
border-top:1px solid #ddd;
}

/* OTHER EVENTS */
.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 */



/* 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;
}

}
/* POPUP */

.event-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:none;
align-items:center;
justify-content:center;
z-index:999;
}

.popup-content{
background:#fff;
padding:40px;
width:600px;
max-width:90%;
box-shadow:0 5px 20px rgba(0,0,0,0.2);
position:relative;
}

.popup-content h2{
margin-bottom:20px;
font-size:20px;
}

/* CLOSE */

.close-popup{
position:absolute;
right:15px;
top:10px;
font-size:24px;
cursor:pointer;
}

/* FORM */

.form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.form-group{
display:flex;
flex-direction:column;
}

.form-group input,
.form-group textarea{
padding:10px;
border:1px solid #ccc;
margin-top:5px;
}

.full{
margin-top:20px;
}

.submit-btn{
margin-top:20px;
background:#1c9b4c;
color:#fff;
padding:12px;
border:none;
cursor:pointer;
}