/* Booth Webinars Shortcode Styles */

.booth-webinars {
    margin: 20px 0;
    font-family: inherit;
}

.booth-webinars-error,
.booth-webinars-empty {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #6c757d;
    text-align: center;
    margin: 20px 0;
}

.booth-webinars-empty {
    background-color: #e9ecef;
    border-color: #ced4da;
}

/* Section Titles - Hidden */
.webinar-section-title {
    display: none;
}

/* Webinar List */
.webinar-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Individual Webinar Items */
.webinar-item {
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 20px;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
}

.webinar-item:hover {
    box-shadow: none;
    transform: none;
}

/* Webinar Type Indicators */
.webinar-item.webinar-upcoming {
    border-left: none;
}

.webinar-item.webinar-past {
    border-left: none;
}

/* Badge elements removed - using Divi for titles */

/* Webinar Title */
.webinar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.3;
}

/* Webinar Description */
.webinar-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.webinar-description p {
    margin: 0 0 10px 0;
}

.webinar-description p:last-child {
    margin-bottom: 0;
}

/* Webinar Actions */
.webinar-action {
    margin-top: 20px;
}

/* Webinar Link Button */
.webinar-link {
    display: inline-block;
    background-color: #145A7B;
    color: #FFFFFF !important;
    border: 1px solid #145A7B;
    border-radius: 35px;
    font-size: 24px;
    font-weight: 500;
    padding: 15px 65px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.webinar-link:hover {
    background-color: #0f4a6b;
    border-color: #0f4a6b;
    color: #FFFFFF !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(20, 90, 123, 0.3);
}

.webinar-link:focus {
    outline: 2px solid #145A7B;
    outline-offset: 2px;
}

/* Webinar Embed */
.webinar-embed {
    margin-top: 15px;
}

.webinar-embed iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .webinar-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .webinar-item {
        padding: 15px;
    }
    
    .webinar-section-title {
        font-size: 1.25rem;
    }
    
    .webinar-title {
        font-size: 1.1rem;
    }
    
    .webinar-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .booth-webinars {
        margin: 15px 0;
    }
    
    .webinar-item {
        padding: 12px;
    }
    
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .booth-webinars-error,
    .booth-webinars-empty {
        background-color: #343a40;
        border-color: #495057;
        color: #adb5bd;
    }
    
    .webinar-item {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .webinar-title {
        color: #f7fafc;
    }
    
    .webinar-description {
        color: #cbd5e0;
    }
    
    .webinar-section-title {
        color: #f7fafc;
    }
}

/* Print Styles */
@media print {
    .booth-webinars {
        margin: 0;
    }
    
    .webinar-item {
        break-inside: avoid;
        box-shadow: none;
        border: none;
    }
    
    .webinar-link {
        background: transparent;
        color: #000;
        border: 1px solid #000;
        border-radius: 35px;
        font-size: 24px;
        padding: 15px 65px;
    }
    
    .webinar-embed {
        display: none;
    }
}
