/* Events Calendar and Results Styles */

/* Container */
.events-calendar-container,
.events-results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Event Item */
.event-item {
    display: flex;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.event-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Event Date Box */
.event-date {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #B0D243 0%, #8ab82e 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-right: 25px;
    box-shadow: 0 2px 6px rgba(176, 210, 67, 0.3);
}

.event-day {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.event-month {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

.event-year {
    font-size: 12px;
    opacity: 0.9;
}

/* Event Details */
.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    line-height: 1.3;
}

.event-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #B0D243;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 15px;
}

.event-location .dashicons {
    color: #B0D243;
    width: 18px;
    height: 18px;
    font-size: 18px;
}

/* Event Organizer */
.event-organizer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 15px;
}

.event-organizer .dashicons {
    color: #B0D243;
    width: 18px;
    height: 18px;
    font-size: 18px;
}

/* Event Tags */
.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}

/* Event Excerpt */
.event-excerpt {
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.event-excerpt p {
    margin: 0;
}

/* Event Button */
.event-link {
    margin-top: 8px;
}

.event-button {
    display: inline-block;
    padding: 10px 24px;
    background: #B0D243;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.event-button:hover {
    background: #8ab82e;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(176, 210, 67, 0.4);
}

.event-button-results {
    background: #09647D;
}

.event-button-results:hover {
    background: #074a5e;
}

/* No Results Message */
.events-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.events-no-results p {
    font-size: 18px;
    color: #666666;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        padding: 20px;
    }

    .event-date {
        width: 70px;
        height: 70px;
        margin-right: 0;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .event-day {
        font-size: 28px;
    }

    .event-month {
        font-size: 12px;
    }

    .event-year {
        font-size: 11px;
    }

    .event-title {
        font-size: 20px;
    }

    .event-location,
    .event-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .events-calendar-container,
    .events-results-container {
        padding: 10px;
    }

    .events-list {
        gap: 20px;
    }

    .event-item {
        padding: 15px;
    }

    .event-date {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .event-day {
        font-size: 24px;
    }

    .event-title {
        font-size: 18px;
    }

    .event-button {
        width: 100%;
        text-align: center;
    }
}