/**
 * Event Features Block Styles
 * Pure CSS without Tailwind
 */

.event-features {
    position: relative;
    width: 100vw;
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* Override entry-content margins */
.single-lunarlyra_event .entry-content > .event-features,
.lunarlyra-event-full-width .entry-content > .event-features {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: none !important;
}

.event-features__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.event-features__header {
    text-align: center;
    margin-bottom: 50px;
}

.event-features__heading {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
    line-height: 1.2;
}

.entry-content .event-features__heading,
.site-content .event-features__heading {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
    line-height: 1.2;
}

.event-features__subheading {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    color: #4b5563;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Background Styles */
.event-features--bg-light {
    background-color: #ffffff;
}

.event-features--bg-dark {
    background-color: #f9fafb;
}

/* Text Color Variants */
.event-features--text-light .event-features__heading,
.event-features--text-light .event-features__subheading {
    color: #ffffff;
}

.event-features--text-dark .event-features__heading,
.event-features--text-dark .event-features__subheading {
    color: #1f2937;
}

/* Full-width with gradient or solid background */
.event-features[style*="background"] {
    border-radius: 0;
}

/* Grid Layout */
.event-features__grid {
    display: grid;
    gap: 30px;
    margin-bottom: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.event-features__grid--2-col {
    grid-template-columns: repeat(2, 1fr);
}

.event-features__grid--3-col {
    grid-template-columns: repeat(3, 1fr);
}

.event-features__grid--4-col {
    grid-template-columns: repeat(4, 1fr);
}

/* Feature Card */
.event-features__card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.event-features__card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.event-features--bg-dark .event-features__card {
    background: #ffffff;
}

/* Icon */
.event-features__icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Card Title */
.event-features__card-title {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
    line-height: 1.3;
}

.entry-content .event-features__card-title,
.site-content .event-features__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* Font Size Variants */
.event-features--font-small .event-features__card-title {
    font-size: 0.95rem;
}

.event-features--font-small .event-features__card-description {
    font-size: 0.85rem;
}

.event-features--font-large .event-features__card-title {
    font-size: 1.25rem;
}

.event-features--font-large .event-features__card-description {
    font-size: 1rem;
}

/* Card Description */
.event-features__card-description {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

.entry-content .event-features__card-description,
.site-content .event-features__card-description {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .event-features__grid--3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-features__grid--4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .event-features {
        padding: 40px 20px;
    }
    
    .event-features__header {
        margin-bottom: 40px;
    }
    
    .event-features__heading {
        font-size: 36px;
    }
    
    .event-features__subheading {
        font-size: 1rem;
    }
    
    .event-features__grid {
        gap: 20px;
    }
    
    .event-features__grid--2-col,
    .event-features__grid--3-col,
    .event-features__grid--4-col {
        grid-template-columns: 1fr;
    }
    
    .event-features__card {
        padding: 25px 20px;
    }
    
    .event-features__card-title {
        font-size: 1.1rem;
    }

    .event-features--font-small .event-features__card-title {
        font-size: 0.9rem;
    }

    .event-features--font-large .event-features__card-title {
        font-size: 1.2rem;
    }
}
