/* =====================================================
   VISU STEM EVENTS – SIMPLE (FINAL WORKING CSS)
   ===================================================== */


/* ================= WRAPPER & GRID ================= */
.visu-simple-wrapper-fluid {
    font-family: 'Space Grotesk', sans-serif;
    width: 100%;
}

.visu-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}


/* ================= CARD ================= */
.visu-simple-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
    overflow: hidden;
}

.visu-simple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Remove underline everywhere inside card */
.visu-simple-card,
.visu-simple-card * {
    text-decoration: none !important;
    color: inherit;
}


/* ================= CONTENT ================= */
.visu-simple-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.visu-simple-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}


/* ================= ORGANIZER & PRICE ================= */
.visu-simple-organizer-section {
    position: relative;
    padding-right: 100px;
    min-height: 50px;
    margin-bottom: 10px;
}

.visu-simple-organizer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visu-simple-organizer-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.visu-simple-organizer-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E5F5FF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visu-simple-organizer-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visu-simple-organizer-info {
    display: flex;
    flex-direction: column;
}

.visu-simple-organizer-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visu-simple-organizer-label {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ================= PRICE TAG ================= */
.visu-simple-price-tag {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.visu-simple-price-tag.color-green {
    background: rgba(34, 195, 93, 0.1);
    color: #22C35D;
}

.visu-simple-price-tag.color-orange {
    background: rgba(244, 157, 37, 0.1);
    color: #F49D25;
}

.visu-simple-price-tag.free-price {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.visu-simple-price-tag.sold-out {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}


/* ================= META ================= */
.visu-simple-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: #444;
    margin-bottom: 15px;
}

.visu-simple-meta div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.visu-simple-meta i {
    width: 16px;
    text-align: center;
    color: #6b7280;
}


/* ================= TARGET & AGE ================= */
.visu-simple-target-age-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.visu-simple-target-group,
.visu-simple-age-group {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #444;
}

.visu-simple-age-group i {
    font-size: 6px;
}


/* ================= BUTTON ================= */
.visu-simple-btn-container {
    margin-top: auto;
}

.visu-simple-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3B82F6;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.visu-simple-btn:hover {
    background: #2563eb;
}


/* ================= NO EVENTS ================= */
.visu-no-events {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    padding: 40px 0;
}


/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    .visu-simple-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .visu-simple-grid {
        grid-template-columns: 1fr;
    }

    .visu-simple-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .visu-simple-organizer-icon {
        width: 32px;
        height: 32px;
    }

    .visu-simple-organizer-name {
        font-size: 13px;
    }

    .visu-simple-organizer-label {
        font-size: 10px;
    }
}


/* =====================================================
   ELEMENTOR FRONTEND FIXES (CRITICAL)
   ===================================================== */

.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

/* Force grid to behave correctly on frontend */
.elementor-widget-shortcode .visu-simple-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Make <a> behave like a block card */
.elementor-widget-shortcode a.visu-simple-card {
    display: block !important;
    width: 100%;
}

/* Neutralize Elementor / theme link styles */
.elementor-widget-shortcode .visu-simple-card,
.elementor-widget-shortcode .visu-simple-card * {
    text-decoration: none !important;
    color: inherit !important;
}
