/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.theme-ev-wrapper {
    width: 100%;
    padding: 50px 5%;
    background: #1D1D1D; /* Dark background */
    color: #fff;
}

/* FILTER BUTTONS */
.theme-ev-filters {
    display: flex;
    gap: 12px;
    margin: 30px 0px 30px 0px;
    justify-content: center;
}

button.theme-ev-btn {
    display: inline-block;
    background: #105660;
    padding: 14px 26px;
    color: white;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s 
ease;
}

button.theme-ev-btn:hover, button.theme-ev-btn.theme-ev-active {
    background-color: #f3a852;
    color: white;
}

/* SEARCH BAR */
.theme-ev-search {
    margin-bottom: 30px;
}

#theme-ev-search {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    font-size: 16px;
}

/* GRID */
.theme-ev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.theme-ev-card {
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.theme-ev-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.theme-ev-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.theme-ev-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-ev-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #333;
    color: #ccc;
}

/* BADGE */
.theme-ev-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.theme-upcoming {
    background: #00FF00;
    color: #000;
}

.theme-old {
    background: #D46DE6;
}

/* BODY */
.theme-ev-body {
    padding: 18px;
}

.theme-ev-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #00FF00;
}

.theme-ev-meta {
    font-size: 14px;
    color: #FFFF00;
    margin-bottom: 10px;
}

.theme-ev-short {
    font-size: 14px;
    color: #ccc;
}
.theme-ev-card a {
    text-decoration: none;
}

/* RESPONSIVE */
@media(max-width: 900px){
    .theme-ev-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px){
    .theme-ev-grid {
        grid-template-columns: 1fr;
    }
}
