.evt{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.evt *{box-sizing:border-box;margin:0;padding:0}
.evt a{text-decoration:none;color:inherit}

/* ── Controls row ── */
.evt-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0;flex-wrap:wrap}
.evt-controls-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.evt-controls-right{display:flex;align-items:center;gap:8px}

/* Tabs */
.evt-tabs{display:flex;gap:4px;background:#f5f4f1;border-radius:10px;padding:4px}
.evt-tab{padding:8px 18px;font-size:13px;font-weight:500;border:none;background:none;border-radius:8px;cursor:pointer;color:#888;transition:all .2s;font-family:inherit}
.evt-tab.active{background:#fff;color:#660E3D;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.evt-tab:hover:not(.active){color:#444}

/* Category pills */
.evt-cats{display:flex;gap:6px;flex-wrap:wrap}
.evt-cat{padding:6px 14px;font-size:12px;font-weight:500;border:1.5px solid #e8e8e5;background:#fff;border-radius:20px;cursor:pointer;color:#888;transition:all .2s;font-family:inherit}
.evt-cat.active{border-color:#660E3D;color:#660E3D;background:#fdf2f5}
.evt-cat:hover:not(.active){border-color:#ccc;color:#555}

/* Search */
.evt-search-wrap{position:relative;display:flex;align-items:center}
.evt-search-icon{position:absolute;left:10px;pointer-events:none}
.evt-search{padding:7px 12px 7px 30px;border:1.5px solid #e8e8e5;border-radius:8px;font-size:13px;font-family:inherit;width:180px;transition:all .2s;background:#fff;color:#333}
.evt-search:focus{border-color:#660E3D;outline:none;box-shadow:0 0 0 2px rgba(102,14,61,.08);width:220px}

/* Filter toggle */
.evt-filter-toggle{display:inline-flex;align-items:center;gap:5px;padding:7px 14px;border:1.5px solid #e8e8e5;border-radius:8px;background:#fff;cursor:pointer;font-size:12px;font-weight:500;color:#888;transition:all .2s;font-family:inherit;position:relative}
.evt-filter-toggle:hover{border-color:#ccc;color:#555}
.evt-filter-toggle.evt-has-filters{border-color:#660E3D;color:#660E3D;background:#fdf2f5}
.evt-filter-dot{width:6px;height:6px;border-radius:50%;background:#660E3D;display:inline-block}

/* Filter bar */
.evt-filter-bar{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease,margin .3s ease,opacity .3s ease;opacity:0}
.evt-filter-bar-open{max-height:120px;opacity:1;padding:12px 0;margin:8px 0 0}
.evt-filter-row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.evt-filter-group{display:flex;flex-direction:column;gap:3px}
.evt-filter-group label{font-size:10px;font-weight:500;color:#999;text-transform:uppercase;letter-spacing:.5px}
.evt-select{padding:6px 28px 6px 10px;border:1.5px solid #e8e8e5;border-radius:8px;font-size:12px;font-family:inherit;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 8px center no-repeat;appearance:none;-webkit-appearance:none;cursor:pointer;color:#333;min-width:130px}
.evt-select:focus{border-color:#660E3D;outline:none;box-shadow:0 0 0 2px rgba(102,14,61,.08)}
.evt-clear-filters{padding:6px 14px;border:none;border-radius:8px;background:none;cursor:pointer;font-size:12px;font-weight:500;color:#660E3D;font-family:inherit;align-self:flex-end;transition:all .15s}
.evt-clear-filters:hover{background:#fdf2f5}

/* Active filter chips */
.evt-active-filters{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0}
.evt-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;background:#fdf2f5;color:#660E3D;border-radius:20px;font-size:11px;font-weight:500;cursor:pointer;transition:all .15s;border:1px solid rgba(102,14,61,.12)}
.evt-chip:hover{background:#f5e0ea;border-color:rgba(102,14,61,.25)}

/* Results bar */
.evt-results-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 0 16px;border-bottom:1px solid #f0ede8;margin-bottom:20px}
.evt-results-count{font-size:12px;color:#999;font-weight:500}

/* ── Grid ── */
.evt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}

/* Card */
.evt-card{background:#fff;border-radius:12px;border:1px solid #e8e8e5;overflow:hidden;transition:all .25s;display:flex;flex-direction:column;text-decoration:none;color:inherit;cursor:pointer}
.evt-card:hover{border-color:#d0cdc8;box-shadow:0 8px 24px rgba(0,0,0,.06);transform:translateY(-2px)}

/* Image / placeholder */
.evt-card-img{position:relative;height:110px;overflow:hidden;background:#f5f4f1}
.evt-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.evt-card:hover .evt-card-img img{transform:scale(1.04)}
.evt-card-placeholder{position:relative;height:110px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.evt-ph-icon{font-size:36px;position:relative;z-index:1;filter:drop-shadow(0 2px 6px rgba(0,0,0,.15))}
.evt-ph-utsav{background:linear-gradient(135deg,#660E3D,#b8215a,#D4A843)}
.evt-ph-sabha{background:linear-gradient(135deg,#1a365d,#2a5298,#4a90d9)}
.evt-ph-community{background:linear-gradient(135deg,#134e4a,#1a9a5b,#6ee7b7)}
.evt-ph-youth{background:linear-gradient(135deg,#581c87,#7c3aed,#a78bfa)}
.evt-ph-education{background:linear-gradient(135deg,#78350f,#b8860b,#D4A843)}
.evt-ph-special{background:linear-gradient(135deg,#831843,#ec4899,#f9a8d4)}
.evt-ph-default{background:linear-gradient(135deg,#660E3D,#8B1A55,#a94270)}
.evt-card-placeholder::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");z-index:0}

/* Date badge */
.evt-date-badge{position:absolute;top:10px;left:10px;background:#fff;border-radius:8px;padding:6px 10px;text-align:center;box-shadow:0 2px 12px rgba(0,0,0,.1);min-width:46px;z-index:2}
.evt-date-badge-day{font-size:18px;font-weight:500;color:#660E3D;line-height:1;font-family:'Lora',serif;display:block}
.evt-date-badge-month{font-size:9px;font-weight:500;color:#888;text-transform:uppercase;letter-spacing:1px;margin-top:2px;display:block}

/* Category pill */
.evt-card-cat{position:absolute;top:10px;right:10px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);color:#660E3D;font-size:10px;font-weight:500;padding:4px 12px;border-radius:16px;letter-spacing:.5px;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.06)}

/* Body */
.evt-card-body{padding:12px 14px;flex:1;display:flex;flex-direction:column;gap:4px}
.evt-card-date{font-size:10px !important;font-weight:500 !important;color:#D4A843 !important;text-transform:uppercase !important;letter-spacing:.3px !important}
.evt-card-title{font-family:'Lora',serif !important;font-size:15px !important;font-weight:500 !important;color:#111 !important;line-height:1.3 !important;margin:0 !important;padding:0 !important;letter-spacing:0 !important;text-transform:none !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.evt-card-info{font-size:12px !important;color:#777 !important;font-weight:400 !important;line-height:1.4 !important;margin-top:2px !important}
.evt-card-tags{display:flex !important;gap:6px !important;flex-wrap:wrap !important;margin-top:6px !important}
.evt-tag{font-size:10px !important;font-weight:500 !important;padding:3px 10px !important;border-radius:20px !important;display:inline-block !important}
.evt-tag-free{background:#eefbf4 !important;color:#1a9a5b !important}
.evt-tag-paid{background:#fef8ee !important;color:#b8860b !important}
.evt-tag-org{background:#f3f0ff !important;color:#6d28d9 !important}
.evt-tag-past{background:#f0ede8 !important;color:#888 !important}

/* Past */
.evt-card.evt-past{opacity:.45;filter:grayscale(.35);transition:all .3s}
.evt-card.evt-past:hover{opacity:.75;filter:grayscale(0)}

/* Empty / loading */
.evt-empty{text-align:center;padding:60px 20px;color:#999}
.evt-empty-icon{font-size:40px;margin-bottom:12px}
.evt-empty h3{font-family:'Lora',serif;font-size:18px;font-weight:500;color:#555;margin-bottom:6px}
.evt-loading{text-align:center;padding:60px;color:#999}
.evt-spinner{width:24px;height:24px;border:3px solid #e8e8e5;border-top-color:#660E3D;border-radius:50%;animation:evtSpin .7s linear infinite;margin:0 auto 10px}
@keyframes evtSpin{to{transform:rotate(360deg)}}
.evt-more{text-align:center;margin-top:28px}
.evt-more-btn{padding:12px 36px;background:#fff;border:1.5px solid #e8e8e5;border-radius:8px;font-size:13px;font-weight:500;color:#333;cursor:pointer;font-family:inherit;transition:all .2s}
.evt-more-btn:hover{border-color:#660E3D;color:#660E3D}

/* ── Skeleton loading ── */
.evt-skeleton{animation:evtFadeIn .3s ease}
.evt-sk-controls{display:flex;gap:16px;margin-bottom:24px;align-items:center}
.evt-sk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.evt-sk-card{background:#fff;border-radius:12px;border:1px solid #e8e8e5;overflow:hidden}
.evt-sk-body{padding:14px;display:flex;flex-direction:column;gap:10px}
.evt-sk-bar{background:linear-gradient(90deg,#f0ede8 25%,#f8f6f3 50%,#f0ede8 75%);background-size:200% 100%;animation:evtShimmer 1.5s ease infinite;border-radius:6px;height:12px;width:100%}
@keyframes evtShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ── Card animations ── */
@keyframes evtFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.evt-grid .evt-card{animation:evtFadeIn .35s ease both}
.evt-grid .evt-card:nth-child(1){animation-delay:.02s}
.evt-grid .evt-card:nth-child(2){animation-delay:.06s}
.evt-grid .evt-card:nth-child(3){animation-delay:.1s}
.evt-grid .evt-card:nth-child(4){animation-delay:.14s}
.evt-grid .evt-card:nth-child(5){animation-delay:.18s}
.evt-grid .evt-card:nth-child(6){animation-delay:.22s}
.evt-grid .evt-card:nth-child(7){animation-delay:.26s}
.evt-grid .evt-card:nth-child(8){animation-delay:.3s}
.evt-grid .evt-card:nth-child(9){animation-delay:.34s}
.evt-grid .evt-card:nth-child(n+10){animation-delay:.38s}

/* ── Responsive ── */
@media(max-width:768px){
    .evt-controls{flex-direction:column;align-items:stretch}
    .evt-controls-left{flex-direction:column}
    .evt-controls-right{justify-content:stretch}
    .evt-search{width:100%;flex:1}
    .evt-search:focus{width:100%}
    .evt-filter-row{flex-direction:column}
    .evt-select{width:100%}
    .evt-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
    .evt-tabs{width:100%}
    .evt-tab{flex:1;text-align:center;padding:8px 8px;font-size:12px}
}
