/* 3-Column Grid Layout for Multisite Events */
.mfp-featured-events,
.mfp-webinars-only {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}
/* Section styling */
.mfp-events-section,
.mfp-webinars-section {
    grid-column: 1 / -1; /* Full width for section headers */
    margin-bottom: 1rem;
}
.mfp-section-title {
    font-size: 22px;
    margin-bottom: 1rem;
    color: #555;
    text-align: center;
}
/* Individual event cards */
.event-card {
    background: #fff;
    border-radius: 12px;
    border: solid
#e2e2e2 1px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Event card image */
.event-card-image-link {
    display: grid;
    overflow: hidden;
}
.event-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
/* Event card content */
.event-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.event-card-title {
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight:700;
    font-size: 22px;
   color: #555;
}
.event-card-title a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}
.event-card-title a:hover {
    color:
#007cba;
}
.event-card-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.event-card-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
/* Call to action button */
.event-card-link {
    display: inline-block;
    color:
#3f9b63 !important; /*green*/
    padding: 0;
    text-decoration: none;
    font-weight: 600;
    text-align: left;
    margin-top: auto;
}
.event-card-link:hover {
    background: transparent;
    text-decoration: none;
    color:
#666666 !important;
}

.webinar-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap:30px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .mfp-featured-events,
    .mfp-webinars-only {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .webinar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        display:grid;
    }
}
@media (max-width: 768px) {

    .event-card-content {
        padding: 1rem;
    }
.event-card-title {
font-size: 18px;
}

.event-card {
margin-bottom:30px;
}
.mfp-section-title {
font-size: 18px;
}
}

@media (max-width: 600px) {
    .mfp-featured-events,
    .mfp-webinars-only {
        grid-template-columns: 1fr;
        gap: 1rem;
       display:block;
    }
    .webinar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
/* Category/type badges */
/*
.event-card-date {
    position: relative;
}
.event-card-date::before {
    content: "📅";
    margin-right: 0.5rem;
}
*/
.webinar-card.hidden {
    display: none;
}
.view-more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color:
#ecf5f0;
    color:
#3f9b63;
    border: none;
    border-radius: 5px;
}
.view-more-button:hover {
    background-color:
#3f9b63;
    color: #fff;
  cursor: pointer;
}