/* ----------------------------
   SINGLE EVENT PAGE & EVENTS GRID
------------------------------*/

.single-event-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.single-event-header img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.single-event-content-area {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.single-event-container h1.event-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #0a2a70;
    margin: 10px 0 15px;
    font-family: 'Poppins', sans-serif;
}

.event-date-post-wrapper {
    text-align: center;
}

.event-date-post {
    display: inline-block;
    background: #0a2a70;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.event-content p {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 18px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.wp-block-gallery {
    margin-top: 30px;
}

.wp-block-gallery img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.wp-block-gallery img:hover {
    transform: scale(1.03);
}

/* Related events */
.related-events h3 {
    font-size: 24px;
    color: #0a2a70;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.related-events .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* General Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.event-card {
    background: #e8edfa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(10, 42, 112, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 42, 112, 0.3);
}

.event-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #1e57d6;
}

.event-info {
    padding: 15px;
}

.event-info .event-title {
    font-size: 18px;
    color: #0a2a70;
    margin: 8px 0 0;
    font-weight: 600;
}

.event-info .event-title a {
    text-decoration: none;
    color: inherit;
}

.event-info .event-title a:hover {
    color: #1e57d6;
}

.event-info .event-date {
    font-size: 13px;
    background: #0a2a70;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .single-event-content-area {
        padding: 20px;
    }
    .single-event-container h1.event-title {
        font-size: 26px;
    }
    .event-content p {
        font-size: 16px;
    }
}
