 body {
     font-family: Arial, sans-serif;
     margin: 0;
     padding: 0 2rem;
     background-color: #e6f4f9;
 }

.page-title {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
    color: #333;
}


 .event-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin: 0 auto 3rem;
     max-width: 1000px;
     padding: 0 1rem;
 }
 .event-card {
     display: flex;
     flex-direction: column;
     background-color: #fff;
     border-radius: 12px;
     overflow: hidden;
     text-decoration: none;
     color: inherit;
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
     transition: transform 0.2s, box-shadow 0.2s;
     max-width: 400px;
     margin: 0 auto;
 }


.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

 .event-card img {
     width: 100%;
     max-height: 250px;
     object-fit: cover;
     border-radius: 8px;
 }


.event-card h2 {
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Event Detail */
.event-detail {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.event-detail img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event-detail h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.event-detail p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-detail ul {
    list-style: none;
    padding: 0;
}

.event-detail li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

hr {
    margin: 3rem 0;
    border: none;
    border-top: 2px solid #ddd;
}