/* =====================================================
   BOWERBIRD UPCOMING EVENTS GRID
   Unique classes prefixed with bbrd-ueg-
   ===================================================== */

.bbrd-ueg-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0;
}

.bbrd-ueg-title {
    font-family: "Sora", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    color: #000000;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Grid Layout */
.bbrd-ueg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Event Card - Standard */
.bbrd-ueg-card {
    position: relative;
    background: #F6F6F6;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bbrd-ueg-card:hover {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Event Card - Featured (2x2) */
.bbrd-ueg-card.bbrd-ueg-featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Event Card Image Wrapper */
.bbrd-ueg-image {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.bbrd-ueg-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.bbrd-ueg-card:hover .bbrd-ueg-image img {
    transform: scale(1.03);
}

/* Featured card has taller image */
.bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-image {
    padding-bottom: 75%;
}

/* Event Card Content Area */
.bbrd-ueg-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-content {
    padding: 25px;
}

/* Event Title */
.bbrd-ueg-event-title {
    font-family: "Sora", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: #000000;
    text-transform: none;
    transition: color 0.3s ease;
}

.bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-event-title {
    font-size: 2.5rem;
}

.bbrd-ueg-card:hover .bbrd-ueg-event-title {
    color: #ec008c;
}

/* Event Subtitle */
.bbrd-ueg-subtitle {
    font-family: "Sora", sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #555555;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-subtitle {
    font-size: 2rem;
}

/* Event Date */
.bbrd-ueg-date {
    font-family: "Sora", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ec008c;
    margin: 0;
    line-height: 1.5;
}

.bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-date {
    font-size: 1.75rem;
}

.bbrd-ueg-time {
    color: #ec008c;
    font-weight: 700;
}

/* Event Card Link Wrapper */
.bbrd-ueg-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bbrd-ueg-link:hover {
    text-decoration: none;
}

/* More Events Link Section */
.bbrd-ueg-more {
    text-align: center;
    margin-top: 40px;
}

.bbrd-ueg-more-button {
    display: inline-block;
    padding: 12px 28px;
    font-family: "Sora", sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(0, 172, 225, 0.1);
    color: #00ACE1;
    border: 1px solid rgba(0, 172, 225, 0.2);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bbrd-ueg-more-button:hover {
    background: #00ACE1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 172, 225, 0.3);
    border-color: #00ACE1;
}

/* Empty State */
.bbrd-ueg-empty {
    text-align: center;
    padding: 60px 20px;
    background: #F6F6F6;
}

.bbrd-ueg-empty p {
    font-family: "Sora", sans-serif;
    font-size: 1.125rem;
    color: #555555;
}

/* =====================================================
   RESPONSIVE — TABLETS
   ===================================================== */

@media (max-width: 1024px) {
    .bbrd-ueg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bbrd-ueg-card.bbrd-ueg-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .bbrd-ueg-container {
        padding: 0 24px;
    }
    
    .bbrd-ueg-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bbrd-ueg-card.bbrd-ueg-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bbrd-ueg-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .bbrd-ueg-content {
        padding: 15px;
    }
    
    .bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-content {
        padding: 20px;
    }
    
    .bbrd-ueg-event-title {
        font-size: 1.5rem;
    }
    
    .bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-event-title {
        font-size: 1.75rem;
    }
    
    .bbrd-ueg-subtitle {
        font-size: 1.3rem;
    }
    
    .bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-subtitle {
        font-size: 1.5rem;
    }
    
    .bbrd-ueg-date {
        font-size: 1.125rem;
    }
    
    .bbrd-ueg-card.bbrd-ueg-featured .bbrd-ueg-date {
        font-size: 1.25rem;
    }
}