:root {
    --asm-gradient: linear-gradient(117.99deg, #f58821 -23.19%, #ea3091 45.54%, #29abe2 114.27%);
    --asm-gradient-fallback: #ea3091;
    --asm-text-main: #1e293b;
    --asm-text-muted: #64748b;
    --asm-border: #e2e8f0;
    --asm-card-bg: #ffffff;
    --asm-font-pri: 'Montserrat', sans-serif;
    --asm-font-sec: 'Poppins', sans-serif;
}

.asmita-filters-wrap {
    background: #f8fafc;
    border: 1px solid var(--asm-border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.asmita-events-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.asm-filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.asm-filter-group label {
    font-family: var(--asm-font-pri);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--asm-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.asm-filter-group input {
    height: 44px;
    padding: 0 15px;
    border: 1px solid var(--asm-border);
    border-radius: 8px;
    font-family: var(--asm-font-sec);
    font-size: 14px;
    color: var(--asm-text-main);
    transition: 0.2s ease;
}

.asm-filter-group input:focus {
    outline: none;
    border-color: var(--asm-gradient-fallback);
    box-shadow: 0 0 0 3px rgba(234, 48, 145, 0.15);
}

.asm-filter-actions {
    display: flex;
    gap: 10px;
}

.asmita-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    background: #fff;
    color: var(--asm-text-muted);
    border: 1px solid var(--asm-border);
    border-radius: 8px;
    font-family: var(--asm-font-pri);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.2s ease;
}

.asmita-btn-secondary:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

.asmita-section-title {
    font-family: var(--asm-font-pri);
    font-size: 28px;
    font-weight: 800;
    color: var(--asm-text-main);
    margin-bottom: 25px;
    padding-bottom: 5px;
    display: inline-block;
    border-bottom: 3px solid;
    border-image: var(--asm-gradient) 1;
}

.asmita-events-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    font-family: var(--asm-font-sec);
}

.asmita-event-card {
    background: var(--asm-card-bg);
    border: 1px solid var(--asm-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asmita-event-card:not(.asmita-card-past):hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.asmita-event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--asm-border);
    position: relative;
}

.asmita-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.asmita-event-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.asmita-event-heading {
    margin: 0 0 15px 0;
    font-family: var(--asm-font-pri);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.asmita-event-heading a {
    color: var(--asm-text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.asmita-event-heading a:hover {
    background: var(--asm-gradient);
    background-size: 200% 200%;
    background-position: 0% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.asmita-event-meta-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.asmita-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--asm-text-muted);
}

.asmita-meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    background: var(--asm-gradient);
    background-size: 200% 200%;
    background-position: 0% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.asmita-event-action { margin-top: auto; }

.asmita-btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
    background: var(--asm-gradient);
    background-size: 200% 200%;
    background-position: 0% 0%;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-family: var(--asm-font-pri);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-position 0.4s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.asmita-btn-primary:hover:not(:disabled) {
    background-position: 100% 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.asmita-card-past {
    background: #fdfdfd;
    opacity: 0.9;
}

.asmita-card-past .asmita-event-image img {
    filter: grayscale(80%) brightness(0.8);
}

.asmita-past-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.asmita-btn-past {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 44px;
    background: #1e293b;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    font-family: var(--asm-font-pri);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.asmita-btn-past:hover {
    background: #0f172a;
}

.asmita-no-events {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border: 1px dashed var(--asm-border);
    border-radius: 12px;
    color: var(--asm-text-muted);
    font-weight: 700;
    font-family: var(--asm-font-pri);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .asmita-events-list-container {
        grid-template-columns: 1fr;
    }
    .asm-filter-group {
        min-width: 100%;
    }
}