.elementor-79107 .elementor-element.elementor-element-6fc84e1{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-cb33330 *//* League of Comedy - Comedy Festivals CSS */

/* Base Styles */
.festivals-section {
    width: 100%;
    padding: 20px 0;
    background: #fff8e7; /* Cream background matching your site */
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Search and Filter Styles */
.festivals-search-container {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-in-out;
}

.festivals-search-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #f5a623;
}

.festivals-search-form {
    width: 100%;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.search-field {
    flex: 1 1 250px;
    position: relative;
}

.filter-field {
    flex: 0 1 200px;
    position: relative;
}

.filter-field:after {
    content: '▼';
    font-size: 12px;
    color: #f5a623;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-button {
    flex: 0 0 auto;
}

.festivals-search-form input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #333;
    border-radius: 30px;
    background: #252525;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    -webkit-appearance: none; /* Fix for iOS */
}

.festivals-search-form input[type="text"]:focus {
    border-color: #f5a623;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.3), inset 0 2px 4px rgba(0,0,0,0.2);
}

.festivals-search-form input[type="text"]::placeholder {
    color: #999;
}

.festivals-search-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #333;
    border-radius: 30px;
    background: #252525;
    color: #fff;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none; /* Fix for iOS */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.festivals-search-form select:focus {
    border-color: #f5a623;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.3), inset 0 2px 4px rgba(0,0,0,0.2);
}

.festivals-search-form select option {
    background: #252525;
}

.festivals-search-form button {
    background: #f5a623;
    color: #1e1e1e;
    border: 2px solid #e09821;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    -webkit-appearance: none; /* Fix for iOS */
}

.festivals-search-form button:hover {
    background: #f7b94e;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(245, 166, 35, 0.4);
}

.festivals-search-form button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(245, 166, 35, 0.4);
}

.festivals-search-form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.festivals-search-form button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Active Filters */
.active-filters {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-label {
    background: rgba(245, 166, 35, 0.15);
    color: #f5a623;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.clear-filters {
    color: #f5a623;
    text-decoration: none;
    font-size: 14px;
    margin-left: auto;
    padding: 5px 12px;
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: rgba(245, 166, 35, 0.15);
    transform: translateY(-1px);
}

/* Search Results */
.search-results {
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-in-out;
}

.search-results-title {
    font-size: 28px;
    color: #f5a623;
    margin-bottom: 20px;
    border-bottom: 2px solid #f5a623;
    padding-bottom: 8px;
    animation: slideInLeft 0.5s ease-out;
}

/* Month Sections */
.month-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
    animation: fadeIn 0.6s ease-in-out;
}

.month-title {
    font-size: 42px;
    color: #f5a623 !important; /* Amber accent color */
    margin: 0 15px 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5a623;
    animation: slideInLeft 0.5s ease-out;
    position: relative;
}

.month-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 4px;
    background: #f5a623;
    border-radius: 2px;
}

/* Festival Containers and Cards */
.festivals-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 15px;
}

.festival-card {
    background: #1e1e1e; /* Dark background matching your cards */
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: zoomIn 0.5s ease-out;
    color: #fff;
}

.festival-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #f5a623;
    transition: height 0.3s ease;
}

.festival-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.festival-card:hover:before {
    height: 100%;
}

.festival-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Festival Titles */
h4.festival-title,
.festival-details h4.festival-title,
.festival-card .festival-details h4.festival-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #f5a623 !important; /* Amber color with important flag */
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.festival-month {
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.festival-month:before {
    content: "📅";
    margin-right: 5px;
    font-size: 14px;
}

.festival-location {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.festival-location:before {
    content: "📍";
    margin-right: 5px;
    font-size: 12px;
}

.festival-website-btn {
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid #f5a623;
    border-radius: 50px;
    color: #f5a623;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    background: transparent;
    font-size: 14px;
    margin-top: 10px;
}

.festival-website-btn:hover {
    background-color: #f5a623;
    color: #1e1e1e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 166, 35, 0.4);
}

/* Empty Message */
.festivals-empty-message {
    padding: 30px;
    text-align: center;
    background: #1e1e1e;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    animation: fadeIn 0.5s ease-in-out;
    margin: 20px 15px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #1e1e1e;
    color: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: 2px solid #f5a623;
    font-size: 18px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #f5a623;
    color: #1e1e1e;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .festivals-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .month-title {
        font-size: 32px;
    }
    
    .festivals-search-container {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .search-row {
        gap: 10px;
    }
    
    .search-field, 
    .filter-field {
        flex: 1 1 100%;
    }
}

/* Enhanced Mobile Styles */
@media (max-width: 480px) {
    .festivals-container {
        grid-template-columns: 1fr;
    }
    
    .month-title {
        font-size: 28px;
    }
    
    .search-row {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .search-field,
    .filter-field,
    .search-button {
        width: 100%;
    }
    
    .festivals-search-form button {
        width: 100%;
        padding: 12px 15px;
    }
    
    .festivals-search-form input[type="text"],
    .festivals-search-form select {
        font-size: 14px;
        padding: 12px 15px;
        height: auto; /* Fix for iOS */
    }
    
    /* Fix for the dropdown arrow on mobile */
    .filter-field:after {
        right: 20px;
    }
    
    /* Fix active filters display on mobile */
    .active-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .filter-label {
        font-size: 13px;
    }
    
    .clear-filters {
        margin-left: 0;
        margin-top: 5px;
        align-self: flex-end;
    }
    
    /* Make the search button more prominent */
    .festivals-search-form button {
        margin-top: 5px;
        font-size: 14px;
    }
    
    /* Festival containers on mobile */
    .festivals-container {
        gap: 15px;
    }
    
    /* Month title on mobile */
    .month-title:after {
        width: 60px;
    }
}

/* Fixes for very small screens */
@media (max-width: 350px) {
    .month-title {
        font-size: 24px;
    }
    
    .search-results-title {
        font-size: 22px;
    }
    
    .festival-details {
        padding: 15px;
    }
    
    h4.festival-title,
    .festival-details h4.festival-title,
    .festival-card .festival-details h4.festival-title {
        font-size: 18px;
    }
}/* End custom CSS */