.fb-event-container{
max-width:900px;
margin:auto;
padding:40px 20px;
}

.fb-event-image img{
width:100%;
border-radius:12px;
margin-bottom:30px;
}

.fb-event-title{
font-size:30px;
margin-bottom:20px;
}

.fb-event-meta{
margin-bottom:30px;
font-size:18px;
}

.fb-event-content{
font-size:18px;
line-height:1.7;
}

.fb-event-register a{
display:inline-block;
margin-top:30px;
padding:14px 28px;
background:#40499c;
color:white;
border-radius:6px;
text-decoration:none;
font-weight:600;
}

/* EVENTS GRID */

.events-container{
width:100%;
display:grid;
grid-template-columns:repeat(var(--fb-events-per-row,2),1fr);
gap:30px;
}

/* EVENT CARD */

.event{
position:relative;
border:none;
border-radius:20px;
box-shadow:4px 4px 8px rgba(0,0,0,0.2);
text-align:left;
font-family:Montserrat;
background-color:white;
padding-bottom:20px;
transition:transform .3s ease-in-out;
overflow:hidden;
display:flex;
flex-direction:column;
}

.event:hover{
transform:scale(1.05);
}

/* BADGE HOLES: two lanyard holes at the top, like a real attendee badge */

.event::before,
.event::after{
content:"";
position:absolute;
top:16px;
width:16px;
height:16px;
border-radius:50%;
background:radial-gradient(circle at 35% 35%, #ffffff, #dcdcdc 55%, #a3a3a3 100%);
box-shadow:inset 0 2px 3px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.5);
z-index:5;
}

.event::before{
left:20px;
}

.event::after{
right:20px;
}

/* IMAGE */

.image{
position:relative;
z-index:1;
}

.image img{
width:100%;
height:200px;
object-fit:cover;
object-position:center;
border-radius:20px 20px 0 0;
}

/* TEXT */

.event-text{
width:100%;
font-weight:bold;
font-family: Poppins;
padding:20px;
text-align:center;
flex-grow:1;
display:flex;
flex-direction:column;
justify-content:flex-start;
	
}

.event-info{
font-weight:650;
font-size:1.1em;
color:black;
line-height:1.5;
margin-top:1px;
font-family: Montserrat, sans-serif !important;
}

.event-name{
font-size:1.8em;
font-weight:800;
color:#000;
line-height:1.25;
font-family: Montserrat, sans-serif !important;
}

/* RESPONSIVE */

@media screen and (max-width:900px){

.events-container{
grid-template-columns:1fr;
}

.event-name{
font-size:2.2em;
}

.event-info{
font-size:1.2em;
}

}