/* Etkinlik listesi (yeni tasarım) — kpy-liste.css üzerine, detay (kpy-etkinlik.css) ile uyumlu */
.kel-hero .kpl-hero__bg { filter: saturate(115%); }

/* Tarih sekmeleri */
.kel-toolbar { margin-bottom: 16px; }
.kel-tabs {
    display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--silk); box-shadow: inset 0 0 0 1px rgba(201, 165, 90, .2);
    overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0;
}
.kel-tabs::-webkit-scrollbar { display: none; }
.kel-tabs a {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
    font-size: .84rem; font-weight: 700; color: var(--g-700); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s;
}
.kel-tabs a i { font-size: .78rem; color: var(--gold-3); transition: color .2s; }
.kel-tabs a:hover { background: #fff; color: var(--g-800); }
.kel-tabs a.is-on { background: linear-gradient(135deg, var(--g-600), var(--g-900)); color: #fff; box-shadow: 0 8px 18px rgba(14, 70, 51, .25); }
.kel-tabs a.is-on i { color: var(--gold-2); }
.kel-chips { margin: 0 0 26px; padding: 2px 2px 6px; }
.kel-chips a { background: #fff; box-shadow: var(--shadow); }
.kel-chips a i { color: var(--gold-3); font-size: .78rem; }
.kel-chips .is-on i { color: var(--gold-2); }

/* Kart ızgarası */
.kel-content { min-width: 0; }
.kel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kel-card {
    position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; color: inherit; text-decoration: none;
    box-shadow: var(--shadow); border: 1px solid rgba(201, 165, 90, .16); transition: transform .3s ease, box-shadow .3s ease;
}
.kel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.kel-card__img { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: linear-gradient(150deg, var(--g-600), var(--g-900)); }
.kel-card__img > i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: rgba(233, 211, 154, .4); }
.kel-card__img img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.kel-card__img::after { content: ''; position: absolute; inset: auto 0 0; z-index: 1; height: 45%; background: linear-gradient(180deg, transparent, rgba(4, 21, 14, .55)); pointer-events: none; }
.kel-card:hover .kel-card__img img { transform: scale(1.06); }
.kel-card.is-past .kel-card__img img { filter: grayscale(.55) brightness(.92); }
.kel-card.is-past:hover .kel-card__img img { filter: none; }

.kel-date {
    position: absolute; left: 16px; top: 16px; z-index: 2; width: 66px; padding: 9px 0 8px; border-radius: 16px; text-align: center;
    background: var(--gold-grad); color: var(--g-900); font-size: .7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.15;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .3);
}
.kel-date b { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1; letter-spacing: 0; }
.kel-date small { display: block; font-size: .58rem; letter-spacing: 1px; opacity: .75; }
.kel-flags { position: absolute; right: 14px; top: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.kel-flag {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .3px;
    color: #fff; background: rgba(4, 21, 14, .55); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.kel-flag i { color: var(--gold-2); }
.kel-flag.is-live { background: rgba(27, 122, 87, .85); border-color: rgba(124, 196, 162, .6); }
.kel-flag.is-live i { color: #7cf0b6; animation: kelPuls 1.6s ease-in-out infinite; }
.kel-flag.is-done { background: rgba(30, 30, 30, .55); color: rgba(255, 255, 255, .85); }
.kel-flag.is-done i { color: rgba(255, 255, 255, .7); }
.kel-flag.is-star { background: var(--gold-grad); color: var(--g-900); border: 0; }
.kel-flag.is-star i { color: var(--g-900); }
@keyframes kelPuls { 50% { opacity: .35; } }

.kel-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 20px; }
.kel-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kel-price {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .68rem; font-weight: 800;
    letter-spacing: .8px; text-transform: uppercase; background: var(--g-50); color: var(--g-600); box-shadow: inset 0 0 0 1px var(--g-100);
}
.kel-price.is-ticket { background: rgba(201, 165, 90, .12); color: var(--gold-3); box-shadow: inset 0 0 0 1px rgba(201, 165, 90, .35); }
.kel-card__body strong {
    font-family: var(--serif); font-size: 1.18rem; line-height: 1.32; color: var(--g-800); transition: color .2s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kel-card:hover .kel-card__body strong { color: var(--g-500); }
.kel-card__body p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kel-facts { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
.kel-facts > span {
    display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 700; color: var(--ink);
    min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kel-facts i {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: .76rem;
    background: rgba(201, 165, 90, .14); color: var(--gold-3);
}
.kel-card__body .kpl-meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.kel-card:hover .kpl-more i { transform: translateX(4px); }
.kel-pageinfo { margin: 14px 0 0; text-align: center; font-size: .82rem; font-weight: 600; color: var(--muted); }
.kel-pageinfo i { margin-right: 6px; color: var(--gold-3); }

/* Kenar çubuğu */
.kel-add { text-align: center; position: relative; overflow: hidden; }
.kel-add::before { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 165, 90, .3), transparent 70%); pointer-events: none; }
.kel-add > div { position: relative; }
.kel-add h3 { justify-content: center; margin-bottom: 8px; }
.kel-add p { margin: 0 0 16px; }
.kel-add__ic {
    width: 56px; height: 56px; border-radius: 18px; display: inline-grid; place-items: center; margin-bottom: 12px;
    background: var(--gold-grad); color: var(--g-900); font-size: 1.3rem; box-shadow: 0 10px 24px rgba(168, 132, 63, .35);
}
.kel-add__btns { display: flex; flex-direction: column; gap: 8px; }
.kel-add .is-in { animation: kelIn .4s ease-out; }
@keyframes kelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.kel-btn-block { width: 100%; }
.kel-btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.kel-btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.kpl-side .kpl-links a span { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.kpl-side .kpl-links a span i { color: var(--gold); font-size: .8rem; }
.kpl-side .kpl-links a.is-on { background: var(--g-700); color: var(--gold-2); }
.kpl-side .kpl-links a.is-on span i { color: var(--gold-2); }

.kel-ad { text-align: center; }
.kel-ad > i { font-size: 2rem; color: var(--g-500); margin-bottom: 10px; display: block; }
.kel-ad h3 { justify-content: center; }
.kel-ad p { color: var(--muted); font-size: .88rem; }
.kel-ad small { display: block; margin-top: 12px; color: var(--muted); font-size: .74rem; }

.kel-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; border-bottom: 1px dashed var(--line); }
.kel-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.kel-mini__img { position: relative; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--g-600), var(--g-900)); }
.kel-mini__img > i { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(233, 211, 154, .45); }
.kel-mini__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kel-mini__tarih {
    position: absolute; left: 6px; bottom: 6px; z-index: 1; padding: 3px 6px; border-radius: 8px; text-align: center; line-height: 1;
    background: rgba(255, 255, 255, .94); color: var(--g-800); font-size: .56rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
}
.kel-mini__tarih b { display: block; font-size: .9rem; font-family: var(--serif); }
.kel-mini__txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kel-mini__txt strong { color: var(--g-800); font-size: .9rem; line-height: 1.3; transition: color .2s; }
.kel-mini:hover .kel-mini__txt strong { color: var(--g-500); }
.kel-mini__txt small { color: var(--muted); font-size: .74rem; }
.kel-mini__txt small i { color: var(--gold-3); margin-right: 5px; }
.kel-mini__bos { color: var(--muted); font-size: .86rem; padding: 4px 0; }

/* Etkinlik ekle modalı */
.kel-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; }
.kel-modal .modal-header { background: linear-gradient(135deg, var(--g-600), var(--g-900)); color: #fff; border: 0; }
.kel-modal .modal-title { font-family: var(--serif); }
.kel-modal .form-control, .kel-modal .form-select { border-radius: 12px; border-color: var(--line); }
.kel-modal .form-control:focus, .kel-modal .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 165, 90, .15); }
.kel-modal .modal-footer { gap: 8px; border-top-color: var(--line); }
.kel-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.kel-alert i { margin-top: 3px; }
.kel-alert.is-ok { background: #e8f6ee; color: #12623f; }
.kel-alert.is-err { background: #fdecec; color: #9b1c1c; }
.kel-alert.is-info { background: var(--g-50); color: var(--g-800); }
.kpl-btn:disabled { opacity: .6; transform: none; }

/* Duyarlı */
@media (max-width: 991px) {
    .kel-toolbar { flex-direction: column; align-items: stretch; }
    .kel-toolbar .kpl-search { flex: 1 1 auto; }
}
@media (max-width: 767px) {
    .kel-grid { gap: 16px; }
    .kel-card__body { padding: 18px; }
    .kel-tabs a { padding: 8px 13px; font-size: .8rem; }
}
@media (max-width: 575px) {
    .kel-grid { grid-template-columns: 1fr; }
    .kel-date { width: 58px; left: 12px; top: 12px; }
    .kel-date b { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .kel-card, .kel-card__img img, .kel-tabs a { transition: none !important; }
    .kel-flag.is-live i, .kel-add .is-in { animation: none; }
}
