/* BP Events Shortcode Styles */
.bp-events-shortcode {
    margin: 0;
    padding: 0;
}

.bp-events-title {
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    color: #122b46;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.bp-events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bp-event-item {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bp-event-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.bp-event-image {
    width: 100%;
    overflow: hidden;
}

.bp-event-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bp-event-item:hover .bp-event-image img {
    transform: scale(1.05);
}

.bp-event-content {
    padding: 15px;
}

.bp-event-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.bp-event-title a {
    color: #122b46;
    text-decoration: none;
}

.bp-event-title a:hover {
    color: #007cba;
}

.bp-event-date {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}

.bp-event-date:before {
    content: "📅";
    margin-right: 5px;
    font-size: 14px;
}

.bp-event-description {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.bp-event-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bp-event-join-button,
.bp-event-details-button {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bp-event-join-button {
    background: #004348;
    color: white;
    border: 1px solid #004348;
}

.bp-event-join-button:hover {
    background: white;
    color:#004348;
}

.bp-event-details-button {
    background: transparent;
    color: #007cba;
    border: 1px solid #007cba;
}

.bp-event-details-button:hover {
    background: #007cba;
    color: white;
}

/* No events message */
.bp-events-shortcode p {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 0;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .bp-event-actions {
        flex-direction: column;
    }
    
    .bp-event-join-button,
    .bp-event-details-button {
        text-align: center;
    }
    
    .bp-event-content {
        padding: 12px;
    }
}