/**
 * CoolMo Homepage Events - Frontend Styles
 * Version: 1.1.1
 * 
 * Table of Contents:
 * 1. CSS Custom Properties
 * 2. Wrapper & Container
 * 3. Event Card Base
 * 4. Image Section - Base Styles
 * 5. Image Style Variations (Classic, Playful, Atmosphere, Effects)
 * 6. Content Section
 * 7. Typography
 * 8. Bullets & Lists
 * 9. Details Section
 * 10. Button Styles
 * 11. Layout Variations
 * 12. Animations
 * 13. Accessibility
 * 14. Responsive Design
 */

/* ============================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================= */
:root {
    /* Colors */
    --coolmo-primary: #d35400;
    --coolmo-primary-hover: #e67e22;
    --coolmo-text: #333;
    --coolmo-text-light: #666;
    --coolmo-border: #e0e0e0;
    --coolmo-bg-light: #fafafa;
    --coolmo-shadow: rgba(0, 0, 0, 0.08);
    
    /* Spacing */
    --coolmo-gap-lg: 3rem;
    --coolmo-gap-md: 2rem;
    --coolmo-gap-sm: 1rem;
    --coolmo-gap-xs: 0.5rem;
    
    /* Typography */
    --coolmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --coolmo-title-size: 2rem;
    --coolmo-subtitle-size: 1.25rem;
    --coolmo-text-size: 1rem;
    --coolmo-line-height: 1.6;
    
    /* Transitions */
    --coolmo-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --coolmo-transition-fast: all 0.15s ease;
    
    /* Border Radius */
    --coolmo-radius: 12px;
    --coolmo-radius-sm: 8px;
    --coolmo-radius-full: 999px;
    
    /* Shadows */
    --coolmo-shadow-sm: 0 2px 8px var(--coolmo-shadow);
    --coolmo-shadow-md: 0 4px 16px var(--coolmo-shadow);
    --coolmo-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================================================
   2. WRAPPER & CONTAINER
   ========================================================================= */
.coolmo-home-events-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--coolmo-gap-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
    font-family: var(--coolmo-font-family);
}

/* Empty State */
.coolmo-home-events-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--coolmo-text-light);
    font-size: 1.125rem;
}

.coolmo-home-events-empty p {
    margin: 0;
}

/* ============================================================================
   3. EVENT CARD BASE
   ========================================================================= */
.coolmo-event {
    display: flex;
    align-items: stretch;
    gap: var(--coolmo-gap-md);
    padding: var(--coolmo-gap-md) 0;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Title Styling with URL */
.coolmo-event__title a {
    color: inherit;
    text-decoration: none;
}

.coolmo-event__title a:hover {
    text-decoration: underline;
}

/* Stagger animation for multiple events */
.coolmo-event:nth-child(1) { animation-delay: 0.1s; }
.coolmo-event:nth-child(2) { animation-delay: 0.2s; }
.coolmo-event:nth-child(3) { animation-delay: 0.3s; }
.coolmo-event:nth-child(4) { animation-delay: 0.4s; }
.coolmo-event:nth-child(5) { animation-delay: 0.5s; }

/* Divider between events */
.coolmo-event::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--coolmo-border) 20%,
        var(--coolmo-border) 80%,
        transparent
    );
}

.coolmo-event:last-child::after {
    display: none;
}



/* HOMEPAGE OVERRIDE — force image-only, no card styles */
.home .coolmo-event__image {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home .coolmo-event__image::before,
.home .coolmo-event__image::after {
    display: none !important;
}

.home .coolmo-event__image img {
    border-radius: var(--coolmo-radius);
    border: 1px solid var(--coolmo-border);
    box-shadow: var(--coolmo-shadow-sm);
}
/* HOMEPAGE IMAGE ENHANCEMENT — subtle depth, no card */
.home .coolmo-event__image img {
    border-radius: var(--coolmo-radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10); /* soft, calm shadow */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Gentle hover interaction */
.home .coolmo-event__image:hover img {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

/*Editorial museum glass feel */
.home .coolmo-event__image img {
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 6px 18px rgba(0,0,0,0.10);
}


/* ============================================================================
   4. IMAGE SECTION - BASE STYLES  -  ORIGINAL with white boxes
   ========================================================================= */
/* .coolmo-event__image {
    flex: 1 1 45%;
    position: relative;
    overflow: visible;
    border-radius: var(--coolmo-radius);
    background: var(--coolmo-bg-light);
    box-shadow: var(--coolmo-shadow-sm);
    transition: var(--coolmo-transition);
}

.coolmo-event__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--coolmo-transition);
    border-radius: var(--coolmo-radius);
}

*/

/* ============================================================================
   IMAGE SECTION – REFINED (NO WHITE CARD) - Removed White card boxes on all
   ========================================================================== */
.coolmo-event__image {
    flex: 1 1 45%;
    position: relative;
    overflow: visible;
    background: transparent; /* ✅ REMOVE white box */
    box-shadow: none;        /* ✅ container no longer a card */
    transition: var(--coolmo-transition);
}

/* The IMAGE becomes the card */
.coolmo-event__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;

    /* Default Option B look */
    border-radius: var(--coolmo-radius);
    border: 1px solid var(--coolmo-border);
    box-shadow: var(--coolmo-shadow-sm);

    transition: var(--coolmo-transition);
}




/* ============================================================================
   5. IMAGE STYLE VARIATIONS
   ========================================================================= */

/* -----------------------------------------
   5.1 CLASSIC / CLEAN
   ----------------------------------------- */

/* Plain / Clean Rounded (Default) */
.coolmo-image-style--plain {
    /* Uses the base card styling only */
}

/* Bookmark Ribbon */
.coolmo-image-style--bookmark {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.coolmo-image-style--bookmark::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 24px;
    width: 32px;
    height: 60px;
    background: linear-gradient(to bottom, #b08968, #7f5539);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    opacity: 0.95;
}

.coolmo-image-style--bookmark::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--coolmo-primary);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: var(--coolmo-transition);
    z-index: 1;
}

.coolmo-image-style--bookmark:hover::after {
    background: var(--coolmo-primary-hover);
    bottom: -22px;
}

/* Folded Corner */
.coolmo-image-style--folded {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.coolmo-image-style--folded::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(0,0,0,0.08));
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Simple Decorative Frame */
.coolmo-image-style--frame {
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e3d5ca, #f5ebe0);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20);
    overflow: visible;
    position: relative;
}

.coolmo-image-style--frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(176, 137, 104, 0.5);
    pointer-events: none;
    border-radius: inherit;
}

.coolmo-image-style--frame::after {
    content: '❖';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--coolmo-primary);
    background: white;
    padding: 0 10px;
    transition: var(--coolmo-transition);
}

.coolmo-image-style--frame:hover::after {
    color: var(--coolmo-primary-hover);
    transform: translateX(-50%) scale(1.2);
}

.coolmo-image-style--frame img {
    border-radius: 8px;
}

/* -----------------------------------------
   5.2 PLAYFUL / CARD-LIKE
   ----------------------------------------- */

/* Polaroid */
.coolmo-image-style--polaroid {
    background: #ffffff;
    padding: 14px 14px 32px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    border-radius: 6px;
    text-align: center;
}

.coolmo-image-style--polaroid img {
    border-radius: 4px;
    transform: none; /* Keep Polaroid flat by default */
}

.coolmo-image-style--polaroid::after {
    content: "";
    position: absolute;
    left: 12%;
    bottom: 10px;
    width: 76%;
    height: 4px;
    background: radial-gradient(circle, rgba(0,0,0,0.15), transparent);
    opacity: 0.9;
}

/* Torn Edge */
.coolmo-image-style--torn {
    background: #fdfdf8;
    padding: 10px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    border-radius: 4px;
}

.coolmo-image-style--torn img {
    border-radius: 0;
    -webkit-mask-image:
        radial-gradient(circle at 0 0, transparent 10px, #000 11px),
        radial-gradient(circle at 100% 0, transparent 10px, #000 11px),
        radial-gradient(circle at 0 100%, transparent 10px, #000 11px),
        radial-gradient(circle at 100% 100%, transparent 10px, #000 11px);
    mask-image:
        radial-gradient(circle at 0 0, transparent 10px, #000 11px),
        radial-gradient(circle at 100% 0, transparent 10px, #000 11px),
        radial-gradient(circle at 0 100%, transparent 10px, #000 11px),
        radial-gradient(circle at 100% 100%, transparent 10px, #000 11px);
    -webkit-mask-composite: source-over;
    mask-composite: add;
}

/* Notebook Top Edge */
.coolmo-image-style--notebook {
    background: #ffffff;
    padding: 16px 16px 10px;
    border-radius: 6px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    position: relative;
}

.coolmo-image-style--notebook::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    height: 10px;
    background-image: radial-gradient(circle at 2px 5px, #ccc 1px, transparent 2px);
    background-size: 10px 10px;
    background-repeat: repeat-x;
}

/* Stacked Polaroids */
.coolmo-image-style--stacked {
    position: relative;
    padding: 12px 12px 30px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.coolmo-image-style--stacked::before,
.coolmo-image-style--stacked::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    z-index: -1;
}

.coolmo-image-style--stacked::before {
    transform: rotate(-4deg) translate(-6px, 6px);
}

.coolmo-image-style--stacked::after {
    transform: rotate(3deg) translate(6px, 4px);
}

/* Taped Photo */
.coolmo-image-style--tape {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
    background: #fdfdfd;
}

.coolmo-image-style--tape::before,
.coolmo-image-style--tape::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 16px;
    background: rgba(255, 255, 224, 0.88);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transform: rotate(-4deg);
}

.coolmo-image-style--tape::before {
    top: -6px;
    left: 14px;
}

.coolmo-image-style--tape::after {
    top: -8px;
    right: 18px;
    transform: rotate(5deg);
}

/* -----------------------------------------
   5.3 ATMOSPHERE / TEXTURE
   ----------------------------------------- */

/* Vintage Paper */
.coolmo-image-style--vintage {
    padding: 12px;
    background: #f4ecd8;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    position: relative;
}

.coolmo-image-style--vintage::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px dashed rgba(120, 68, 40, 0.35);
    pointer-events: none;
}

/* Deep Shadow (lifted card) */
.coolmo-image-style--shadow {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    transform: translateY(0);
}

.coolmo-image-style--shadow img {
    border-radius: 16px;
}

/* Soft Glow */
.coolmo-image-style--glow {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.coolmo-image-style--glow::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 10% 10%, rgba(246, 224, 181, 0.55), transparent 55%),
                radial-gradient(circle at 90% 90%, rgba(173, 216, 230, 0.55), transparent 55%);
    z-index: -1;
    filter: blur(16px);
}

.coolmo-image-style--glow img {
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

/* Brushed Frame */
.coolmo-image-style--brushed {
    padding: 8px;
    border-radius: 12px;
    background: repeating-linear-gradient(
        135deg,
        #f0ebe6,
        #f0ebe6 3px,
        #e6dfd6 3px,
        #e6dfd6 6px
    );
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.coolmo-image-style--brushed img {
    border-radius: 10px;
    background: #fff;
}

/* -----------------------------------------
   5.4 EFFECTS (NEW 8 STYLES)
   ----------------------------------------- */

/* Monochrome → Color */
.coolmo-image-style--mono img {
    filter: grayscale(100%);
    transform: none;
}

.coolmo-image-style--mono:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* Tilted / Pinned Card */
.coolmo-image-style--tilt {
    transform: rotate(-2deg);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.coolmo-image-style--tilt::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, #f9d976 0%, #f39c12 60%, #c27c0e 100%);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Circle / Medallion */
.coolmo-image-style--circle {
    border-radius: 50%;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    overflow: hidden;
}

.coolmo-image-style--circle img {
    height: 100%;
    border-radius: 50%;
}

/* Vignette Edge */
.coolmo-image-style--vignette {
    overflow: hidden;
}

.coolmo-image-style--vignette::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,0.45) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Color Accent Bar (left) */
.coolmo-image-style--bar {
    overflow: hidden;
}

.coolmo-image-style--bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #d35400, #f5c16c);
}

/* Glass / Frosted Panel */
.coolmo-image-style--glass {
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,0.22);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.coolmo-image-style--glass img {
    border-radius: 12px;
}

/* Split-Tone Overlay */
.coolmo-image-style--split {
    overflow: hidden;
}

.coolmo-image-style--split::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(211,84,0,0.18),
        rgba(52,152,219,0.18)
    );
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* Lifted Double Shadow */
.coolmo-image-style--lift {
    border-radius: 14px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.24),
        0 4px 14px rgba(0, 0, 0, 0.18);
    transform: translateY(0);
}

.coolmo-image-style--lift:hover {
    transform: translateY(-4px);
}

/* ============================================================================
   6. CONTENT SECTION
   ========================================================================= */
.coolmo-event__content {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
}

/* ============================================================================
   7. TYPOGRAPHY
   ========================================================================= */
.coolmo-event__title {
    font-size: var(--coolmo-title-size);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    color: var(--coolmo-primary);
    transition: var(--coolmo-transition-fast);
}

.coolmo-event:hover .coolmo-event__title {
    color: var(--coolmo-primary-hover);
}

.coolmo-event__subtitle {
    font-size: var(--coolmo-text-size);  
    font-weight: 400;                    
    line-height: 1.3;
    color: var(--coolmo-text-light);     
    margin: 0 0 0.25rem;
}

.coolmo-event__speaker {
    font-size: 1.15rem;                 
    font-weight: 600;                   
    font-style: normal;                 
    color: var(--coolmo-text);          
    margin: 0 0 1.25rem;
    display: block;                     
}

/* Optional: Add icon before speaker name 
.coolmo-event__speaker::before {
    content: '👤';
    font-style: normal;
    opacity: 0.7;
}
*/

/* ============================================================================
   8. BULLETS & LISTS
   ========================================================================= */
.coolmo-event__bullets {
    margin: 0 0 1.5rem 0;
    padding: 0;
    list-style: none;
}

.coolmo-event__bullets li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.65rem;
    font-size: var(--coolmo-text-size);
    line-height: var(--coolmo-line-height);
    color: var(--coolmo-text);
}

/* Custom bullet style */
.coolmo-event__bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--coolmo-primary);
    font-weight: 700;
    transition: var(--coolmo-transition-fast);
}

.coolmo-event:hover .coolmo-event__bullets li::before {
    transform: translateX(3px);
}

/* ============================================================================
   9. DETAILS SECTION
   ========================================================================= */
.coolmo-event__details {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.coolmo-event__details p {
    margin: 0 0 0.875rem;
    color: var(--coolmo-text);
    line-height: var(--coolmo-line-height);
    font-size: var(--coolmo-text-size);
}

.coolmo-event__details p:last-child {
    margin-bottom: 0;
}

.coolmo-event__details strong {
    color: var(--coolmo-text);
    font-weight: 600;
}

.coolmo-event__details a {
    color: var(--coolmo-primary);
    text-decoration: none;
    transition: var(--coolmo-transition-fast);
}

.coolmo-event__details a:hover {
    color: var(--coolmo-primary-hover);
    text-decoration: underline;
}

/* ============================================================================
   10. BUTTON STYLES
   ========================================================================= */
.coolmo-event__button-wrap {
    margin-top: auto;
    padding-top: 0.5rem;
}

.coolmo-event__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    background: var(--coolmo-primary);
    border: 2px solid var(--coolmo-primary);
    border-radius: var(--coolmo-radius-full);
    transition: var(--coolmo-transition);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Button hover effect */
.coolmo-event__button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.coolmo-event__button:hover::before {
    transform: translateX(100%);
}

.coolmo-event__button:hover {
    background: var(--coolmo-primary-hover);
    border-color: var(--coolmo-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.3);
}

.coolmo-event__button:active {
    transform: translateY(0);
}

/* Optional: Add arrow icon after button text */
.coolmo-event__button::after {
    content: '→';
    transition: var(--coolmo-transition-fast);
}

.coolmo-event__button:hover::after {
    transform: translateX(4px);
}

/* ============================================================================
   11. LAYOUT VARIATIONS
   ========================================================================= */
/* Image on Right (Default for even items) */
.coolmo-event--right {
    flex-direction: row;
}

/* Image on Left (Default for odd items) */
.coolmo-event--left {
    flex-direction: row-reverse;
}

/* Layout override via shortcode attribute */
[data-layout="all-left"] .coolmo-event {
    flex-direction: row-reverse;
}

[data-layout="all-right"] .coolmo-event {
    flex-direction: row;
}

/* ============================================================================
   12. ANIMATIONS
   ========================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   13. ACCESSIBILITY
   ========================================================================= */
/* Focus styles for keyboard navigation */
.coolmo-event__button:focus-visible {
    outline: 3px solid var(--coolmo-primary);
    outline-offset: 4px;
}

.coolmo-event__details a:focus-visible {
    outline: 2px solid var(--coolmo-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .coolmo-event {
        border: 2px solid var(--coolmo-border);
    }
    
    .coolmo-event__button {
        border-width: 3px;
    }
}

/* ============================================================================
   14. RESPONSIVE DESIGN
   ========================================================================= */

/* Tablet and below */
@media (max-width: 900px) {
    :root {
        --coolmo-title-size: 1.75rem;
        --coolmo-gap-lg: 2rem;
        --coolmo-gap-md: 1.5rem;
    }
    
    .coolmo-event {
        flex-direction: column !important;
        gap: 1.5rem;
    }
    
    .coolmo-event__image,
    .coolmo-event__content {
        flex: 1 1 100%;
    }
    
    .coolmo-event__image img {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    :root {
        --coolmo-title-size: 1.5rem;
        --coolmo-subtitle-size: 1.1rem;
        --coolmo-gap-lg: 1.5rem;
    }
    
    .coolmo-home-events-wrapper {
        gap: var(--coolmo-gap-md);
    }
    
    .coolmo-event {
        padding: 1.5rem 0;
        gap: 1rem;
    }
    
    .coolmo-event__image img {
        height: 240px;
    }
    
    .coolmo-event__button {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .coolmo-event__bullets li {
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .coolmo-event__image img {
        height: 200px;
    }
    
    .coolmo-event__title {
        font-size: 1.35rem;
    }
}

/* Print styles */
@media print {
    .coolmo-event__button {
        display: none;
    }
    
    .coolmo-event__image {
        box-shadow: none;
    }
    
    .coolmo-event {
        page-break-inside: avoid;
    }
}
