/* CSS Rewrite for Responsive Layout Switches (Japandi Style) */

.elementor-widget-ginkgo_events_calendar_e2351426 {
    width: 100%;
}

.gec-wrapper-e2351426 {
    --gec-accent: #333333;
    --gec-card-bg: #FAFAFA;
    --gec-text-color: #2A2A2A;
    --gec-radius: 4px;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    display: block;
    width: 100%;
}

/* Hide extra items via JS logic */
.gec-item-hidden-e2351426 {
    display: none !important;
}

/* --- BASE CARD STYLES --- */
.gec-card-e2351426 {
    background: var(--gec-card-bg);
    border-radius: var(--gec-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.gec-card-e2351426:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.gec-card-image-wrap-e2351426 {
    position: relative;
    height: 220px;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
}

.gec-card-img-e2351426 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gec-card-e2351426:hover .gec-card-img-e2351426 {
    transform: scale(1.03);
}

.gec-card-badge-e2351426 {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gec-card-bg);
    color: var(--gec-text-color);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-transform: uppercase;
}

.gec-card-content-e2351426 {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.gec-card-meta-e2351426 {
    font-size: 0.8rem;
    color: var(--gec-text-color);
    margin-bottom: 0.5rem;
    font-weight: 400;
    opacity: 0.6;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gec-card-title-e2351426 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: var(--gec-text-color);
    line-height: 1.3;
    font-weight: 500;
}

.gec-card-desc-e2351426 {
    font-size: 0.9rem;
    color: var(--gec-text-color);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
}

.gec-card-footer-e2351426 {
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
}

.gec-card-link-e2351426 {
    color: var(--gec-accent);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gec-card-link-e2351426:hover {
    opacity: 0.7;
}

/* --- STRUCTURAL CONTAINERS --- */
.gec-container-e2351426 {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.gec-item-e2351426 {
    display: flex;
    height: 100%;
}

/* --- GRID LAYOUT --- */
.gec-layout-grid-e2351426 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* --- CARDS LAYOUT --- */
.gec-layout-cards-e2351426 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* --- LIST LAYOUT --- */
.gec-layout-list-e2351426 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.gec-layout-list-e2351426 .gec-card-e2351426 {
    flex-direction: row;
}
.gec-layout-list-e2351426 .gec-card-image-wrap-e2351426 {
    width: 300px;
    height: auto;
    min-height: 200px;
}

/* --- CAROUSEL LAYOUT --- */
.gec-layout-carousel-e2351426 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}
.gec-layout-carousel-e2351426 .gec-item-e2351426 {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .gec-layout-grid-e2351426,
    .gec-layout-cards-e2351426 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
    .gec-layout-list-e2351426 .gec-card-e2351426 {
        flex-direction: column;
    }
    .gec-layout-list-e2351426 .gec-card-image-wrap-e2351426 {
        width: 100%;
        height: 200px;
    }
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
    .gec-layout-grid-e2351426,
    .gec-layout-cards-e2351426 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .gec-card-image-wrap-e2351426 {
        height: 200px;
    }
}

.gec-no-events-e2351426 {
    text-align: center;
    padding: 3rem;
    background: var(--gec-card-bg);
    border-radius: var(--gec-radius);
    color: var(--gec-text-color);
}
