/**
 * Wi Outside Theme Custom Styles
 *
 * @package WiOutside_Theme
 */

/* ==========================================================================
   Elementor Support
   ========================================================================== */

/* Ensure Elementor pages have proper structure */
.elementor-page .site-main {
    padding: 0;
}

.elementor-page .site-main article {
    margin: 0;
    padding: 0;
}

.elementor-page .site-main .entry-content {
    margin: 0;
    padding: 0;
}

/* Remove default container padding for Elementor full-width sections */
.elementor-page .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.elementor-page .elementor-section.elementor-section-stretched > .elementor-container {
    max-width: 100%;
    padding: 0 20px;
}

/* ==========================================================================
   Event Cards
   ========================================================================== */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.event-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.event-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1F2937;
}

.event-meta {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.event-meta i {
    margin-right: 6px;
}

.event-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.event-category {
    display: inline-block;
    background: #EEF2FF;
    color: #4F46E5;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Category-specific colors */
.event-category-corporate,
.event-category-business {
    background: #FF9D00;
    color: #FFFFFF;
}

.event-category-fun {
    background: #FF0000;
    color: #FFFFFF;
}

.event-category-sale {
    background: #ffed29;
    color: #000000;
}

.event-category-uber {
    background: #111111;
    color: #FFFFFF;
}

.event-category-eats,
.event-category-food_drinks,
.event-category-food-drinks {
    background: #4cbb17;
    color: #FFFFFF;
}

.event-category-religious {
    background: #4b0082;
    color: #FFFFFF;
}

.featured-badge {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sponsored-badge {
    display: inline-block;
    background: #4F46E5;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.sponsored-badge i {
    margin-right: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #4F46E5;
    color: #fff;
}

.btn-primary:hover {
    background: #4338CA;
}

.btn-secondary {
    background: #6B7280;
    color: #fff;
}

.btn-secondary:hover {
    background: #4B5563;
}

.btn-outline {
    background: transparent;
    border: 2px solid #E5E7EB;
    color: #1F2937;
}

.btn-outline:hover {
    border-color: #4F46E5;
    color: #4F46E5;
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-title {
        font-size: 18px;
    }
}
