/* UniDeApp Events — discovery homepage */
:root {
  --ude-accent: #ff5a5f;
  --ude-accent-hover: #ff383e;
  --ude-radius: 20px;
  --ude-radius-sm: 14px;
  --ude-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --ude-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.14);
  --ude-text: #0f172a;
  --ude-muted: #64748b;
  --ude-bg: linear-gradient(180deg, #f8f9fb 0%, #ffffff 55%);
  --ude-font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ude-page {
  font-family: var(--ude-font);
  color: var(--ude-text);
  background: var(--ude-bg);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

.ude-page * { box-sizing: border-box; }

img,
video {
  max-width: 100%;
  height: auto;
}

/* —— Header —— */
.ude-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.65);
  transition: box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.ude-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35) 20%, rgba(148, 163, 184, 0.35) 80%, transparent);
  pointer-events: none;
}
.ude-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border-bottom-color: rgba(226, 232, 240, 0.5);
}

.ude-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
  gap: 1rem;
  position: relative;
  min-width: 0;
}

.ude-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 1;
  min-width: 0;
  transition: opacity 0.2s;
}
.ude-brand:hover { opacity: 0.92; }
.ude-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.ude-brand-mark-img {
  height: 2.05rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

.ude-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.ude-brand-line {
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.ude-brand-line span { color: var(--ude-accent); font-weight: 800; }

.ude-brand-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.ude-nav-center {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
@media (min-width: 992px) {
  .ude-nav-center { display: flex; }
}

.ude-nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.045);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ude-nav-link {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.ude-nav-link:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.ude-nav-link:active {
  color: var(--ude-accent);
  background: rgba(255, 90, 95, 0.08);
}

.ude-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

a.ude-unideapp-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  text-decoration: none;
  border: 1px solid rgba(255, 90, 95, 0.42);
  background: rgba(255, 90, 95, 0.06);
  color: var(--ude-accent);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
a.ude-unideapp-btn:hover {
  background: rgba(255, 90, 95, 0.14);
  border-color: var(--ude-accent);
  color: var(--ude-accent-hover);
}
a.ude-unideapp-btn:active {
  transform: scale(0.98);
}

.ude-header-tools {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.ude-icon-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  font-size: 1.1rem;
}
.ude-icon-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  transform: scale(1.04);
}
.ude-icon-btn:active { transform: scale(0.98); }

.ude-header-tools .theme-toggle-btn {
  padding: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.ude-header-tools .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.ude-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 1.05rem;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px rgba(15, 23, 42, 0.06),
    0 4px 12px rgba(15, 23, 42, 0.08);
  cursor: default;
}

.ude-loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
  padding: 0 0.85rem 0 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ude-loc-chip:hover {
  border-color: rgba(255, 90, 95, 0.35);
  box-shadow: 0 4px 14px rgba(255, 90, 95, 0.12);
  transform: translateY(-1px);
}
.ude-loc-chip i {
  font-size: 1rem;
  color: var(--ude-accent);
}
.ude-loc-chip-text {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .ude-loc-chip-text {
    display: none;
  }
  .ude-loc-chip {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
  }
}

/* —— Hero —— açık tema, sol metin + sağ görsel (referans düzen) */
.ude-hero--discovery {
  --ude-hero-tint: #f5f2ff;
  --ude-hero-tint2: #eef2ff;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.ude-hero-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: min(48vh, 380px);
  max-height: 520px;
  overflow: hidden;
  border-radius: 0 0 var(--ude-radius) var(--ude-radius);
  background: linear-gradient(145deg, var(--ude-hero-tint) 0%, var(--ude-hero-tint2) 45%, #e8ecff 100%);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.08);
}

/* Mobil / tablet: görsel arka planda, metin üstte — köşeler yumuşak, kutu hissi yok */
@media (max-width: 991px) {
  .ude-hero--discovery {
    max-width: 100%;
    padding: 0;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .ude-hero-split {
    position: relative;
    display: block;
    isolation: isolate;
    min-height: min(60vh, 520px);
    max-height: none;
    border-radius: 0 0 22px 22px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  }
  .ude-hero-split__visual {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    flex: none !important;
    min-height: 0 !important;
    min-width: 0;
  }
  .ude-hero-split__img {
    width: 100%;
    height: 100%;
    min-height: 100% !important;
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.02);
    filter: brightness(0.9) saturate(0.82);
  }
  .ude-hero-split__blend {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.58) 0%,
      rgba(15, 23, 42, 0.42) 38%,
      rgba(15, 23, 42, 0.9) 100%
    );
  }
  .ude-hero-split__content {
    position: relative;
    z-index: 2;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.7rem;
    min-height: min(60vh, 520px);
    padding: 1.5rem 1.1rem 1.55rem;
    box-sizing: border-box;
  }
  .ude-hero-title--split {
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
  }
  .ude-hero-lead--split {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  }
  .ude-hero-split .ude-hero-live-line {
    color: rgba(255, 255, 255, 0.72);
  }
  .ude-hero-split .ude-search-glass-wrap {
    margin-top: 0.15rem;
  }
  .ude-hero-split .ude-search-glass--light {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  }
  .ude-hero-split .ude-search-glass-icon {
    color: rgba(255, 255, 255, 0.92);
  }
  .ude-hero-split .ude-search-glass--light .ude-search-glass-input {
    color: #fff;
  }
  .ude-hero-split .ude-search-glass--light .ude-search-glass-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
  }
  .ude-hero-split .ude-search-clear {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }
  .ude-hero-split .ude-quick-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.25rem;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .ude-hero-split .ude-quick-chip {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 0.55rem;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.95);
  }
  .ude-hero-split .ude-quick-chip:hover {
    background: rgba(255, 255, 255, 0.22);
  }
  .ude-hero-split .ude-quick-chip.is-active {
    background: rgba(255, 90, 95, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
  }
  .ude-hero-split .ude-quick-chip-icon {
    color: rgba(255, 255, 255, 0.88) !important;
  }
  .ude-hero-split .ude-quick-chip--weekend:not(.is-active) {
    background: rgba(255, 237, 213, 0.2);
    border-color: rgba(251, 146, 60, 0.45);
    color: #ffedd5;
  }
  .ude-hero-split .ude-quick-chip--weekend:not(.is-active) .ude-quick-chip-icon {
    color: #fdba74 !important;
  }
}

.ude-hero-split__content {
  flex: 1 1 52%;
  min-width: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.25rem 1.75rem 1.35rem;
}
@media (min-width: 992px) {
  .ude-hero-split__content {
    padding: 2.25rem 2rem 2.25rem 2rem;
  }
}

.ude-hero-title--split {
  font-size: clamp(1.45rem, 4.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 0.6rem;
}

.ude-hero-lead--split {
  font-size: clamp(0.84rem, 2.4vw, 0.95rem);
  line-height: 1.55;
  margin: 0 0 1.1rem;
  max-width: 26rem;
}

/* Masaüstü: açık tema metin + yatay blend (mobil kuralları bunu ezmesin diye 992+) */
@media (min-width: 992px) {
  .ude-hero-title--split {
    color: #0f172a;
  }
  .ude-hero-lead--split {
    color: #64748b;
  }
  .ude-hero-split__visual {
    position: relative;
    flex: 1 1 48%;
    min-height: 240px;
    min-width: 0;
  }
  .ude-hero-split__img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center right;
    display: block;
  }
  .ude-hero-split__blend {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      var(--ude-hero-tint) 0%,
      rgba(245, 242, 255, 0.75) 18%,
      rgba(238, 242, 255, 0.2) 52%,
      transparent 78%
    );
  }
}

.ude-search-glass-wrap {
  max-width: 100%;
}

.ude-search-glass {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.ude-search-glass--light {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(226, 232, 240, 0.95);
}

.ude-search-glass-icon {
  color: #64748b;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.ude-search-glass--light .ude-search-glass-input {
  color: #0f172a;
}
.ude-search-glass-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  outline: none;
  padding: 0.55rem 0;
}
.ude-search-glass--light .ude-search-glass-input::placeholder {
  color: #94a3b8;
}

.ude-search-clear {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ude-search-ara-btn {
  flex-shrink: 0;
  padding: 0.5rem 1.15rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--ude-accent) 0%, #ff6b6b 100%);
  box-shadow: 0 6px 20px rgba(255, 90, 95, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ude-search-ara-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 26px rgba(255, 90, 95, 0.42);
}
.ude-search-ara-btn:active {
  transform: scale(0.98);
}

.ude-hero-after {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 1rem 1.5rem;
  background: var(--ude-bg);
}
@media (min-width: 992px) {
  .ude-hero-after {
    padding: 1.5rem 1.75rem 2rem;
  }
}

.ude-quick-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
}
.ude-quick-scroll::-webkit-scrollbar {
  display: none;
}

.ude-quick-chip {
  flex: 0 0 auto;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
}
.ude-quick-chip:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}
.ude-quick-chip.is-active {
  background: rgba(255, 90, 95, 0.12);
  border-color: var(--ude-accent);
  color: #be123c;
}
.ude-quick-chip.is-active .ude-quick-chip-icon {
  color: inherit;
}

.ude-quick-chip-icon {
  margin-right: 0.35rem;
  font-size: 0.95rem;
  vertical-align: -0.1em;
  color: #64748b;
}
.ude-quick-chip[data-quick="evening"] .ude-quick-chip-icon {
  color: #e11d48;
}
.ude-quick-chip--weekend:not(.is-active) {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.ude-quick-chip--weekend:not(.is-active) .ude-quick-chip-icon {
  color: #ea580c;
}
.ude-quick-chip[data-quick="near"] .ude-quick-chip-icon {
  color: #0ea5e9;
}

.ude-hero-live-line {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin: 0.65rem 0 0.75rem;
  padding: 0 0.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ude-active-chips-wrap {
  margin-top: 0.75rem;
  padding: 0 0.15rem;
}

/* legacy: split hero dışı sayfalarda kullanılırsa */
.ude-hero-title:not(.ude-hero-title--split) {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #0f172a;
}
.ude-hero-lead:not(.ude-hero-lead--split) {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ude-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 991px) {
  #statsSection {
    display: none !important;
  }
}

.ude-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  min-height: 0;
}
.ude-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.ude-filter-chip-remove {
  border: none;
  background: #f1f5f9;
  color: #64748b;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  line-height: 1;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.ude-filter-chip-remove:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* —— Layout —— */
/* Filtre sayfası — kompakt üst çubuk */
.ude-filter-head-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
}
@media (min-width: 992px) {
  .ude-filter-head-inner {
    padding: 0.75rem 1.5rem;
  }
}
.ude-filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.ude-filter-toolbar__back {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ude-filter-toolbar__back:hover {
  color: var(--ude-accent, #ff5a5f);
  border-color: rgba(255, 90, 95, 0.35);
  box-shadow: 0 4px 14px rgba(255, 90, 95, 0.12);
  transform: translateX(-1px);
}
.ude-filter-toolbar__middle {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ude-filter-toolbar__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
}
.ude-filter-toolbar__chips {
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2.15rem;
  align-items: center;
}
.ude-filter-toolbar__badge {
  flex-shrink: 0;
  min-width: 2.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  text-align: center;
  color: #be123c;
  background: linear-gradient(160deg, #fff 0%, #fff5f5 100%);
  border: 1px solid rgba(255, 90, 95, 0.28);
  box-shadow: 0 2px 10px rgba(255, 90, 95, 0.08);
}
.ude-filter-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.ude-filter-results-head__title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}
@media (min-width: 992px) {
  .ude-filter-results-head__title {
    font-size: 1.35rem;
  }
}

.ude-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .ude-layout {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
}

.ude-filters-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 2rem);
  max-width: 100%;
  margin: 0 1rem 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--ude-radius-sm);
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 600;
  color: #334155;
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .ude-filters-toggle { display: none; }
}

.ude-sidebar {
  background: #fff;
  border-radius: var(--ude-radius);
  box-shadow: var(--ude-shadow);
  padding: 1.5rem;
  position: sticky;
  top: 88px;
}
@media (min-width: 992px) {
  .ude-sidebar {
    padding: 1.2rem 1.25rem;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .ude-sidebar .mb-4 {
    margin-bottom: 1rem !important;
  }
  /* Bootstrap d-lg-flex'i ezen düzenli chip ızgarası */
  #dateChips {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    flex-wrap: unset !important;
  }
  #dateChips .chip,
  #dateChips .ude-chip {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    padding: 0.42rem 0.55rem;
    font-size: 0.78rem;
    line-height: 1.25;
    white-space: normal;
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .ude-sidebar-actions {
    flex-direction: row;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 0.35rem;
  }
  .ude-btn-filter-primary,
  .ude-btn-filter-secondary {
    flex: 1;
    min-width: 0;
  }
}
/* Bootstrap .offcanvas-lg ile sınıf adı çakışmasın — BS visibility:hidden bırakıyordu */
.ude-sidebar.ude-filter-sheet-panel {
  transition: transform 0.3s ease;
}
@media (max-width: 991px) {
  .ude-sidebar.offcanvas-collapsed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 1050;
    width: 100%;
    max-width: 100%;
    max-height: min(88vh, 720px);
    height: auto;
    transform: translateY(110%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 22px 22px 0 0;
    padding-top: 0.5rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.18);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .ude-sidebar.offcanvas-open {
    transform: translateY(0);
  }
  .ude-sheet-handle {
    width: 40px;
    height: 5px;
    border-radius: 99px;
    background: #e2e8f0;
    margin: 0 auto 0.75rem;
  }
  .ude-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1038;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .ude-sidebar-backdrop.show { display: block; }
}

/* Mobil: yüzen filtre düğmesi + alt menü */
.ude-fab-filter {
  display: none;
}
@media (max-width: 991px) {
  .ude-fab-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(4.25rem + env(safe-area-inset-bottom));
    z-index: 1035;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--ude-accent) 0%, #ff383e 100%);
    box-shadow: 0 10px 28px rgba(255, 90, 95, 0.45);
    cursor: pointer;
    font-size: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .ude-fab-filter:hover {
    transform: scale(1.06);
  }
  .ude-fab-filter:active {
    transform: scale(0.98);
  }
  .ude-main {
    padding-bottom: 1rem;
  }
  .ude-page {
    padding-bottom: calc(3.75rem + env(safe-area-inset-bottom));
  }
}

/* Alt gezinme — mobil keşif uygulaması */
.ude-bottom-nav {
  display: none;
}
@media (max-width: 991px) {
  .ude-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    justify-content: space-around;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.06);
  }
  .ude-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.25rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.2s ease;
    max-width: 96px;
  }
  .ude-bottom-nav__item i {
    font-size: 1.35rem;
    line-height: 1;
  }
  .ude-bottom-nav__item.is-active {
    color: var(--ude-accent);
  }
}

.ude-filter-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.ude-sidebar .form-select,
.ude-sidebar .form-control {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
}

/* Tom Select — şehir (dropdownParent: 'body' ile body’ye taşınır; .ude-sidebar altında değil) */
.ude-sidebar .ts-wrapper {
  width: 100%;
}
.ude-sidebar .ts-control {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.85rem;
  min-height: auto;
  font-size: 0.9rem;
}
body > .ts-dropdown.ude-city-ts-dropdown {
  z-index: 1085;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}
body > .ts-dropdown.ude-city-ts-dropdown .ts-dropdown-content {
  display: block;
  max-height: min(50vh, 320px);
}
body > .ts-dropdown.ude-city-ts-dropdown .option {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  .ude-sidebar .mb-4 {
    margin-bottom: 1.5rem !important;
  }
}

.ude-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}
.ude-btn-filter-primary {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ude-accent) 0%, #ff383e 100%);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 90, 95, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ude-btn-filter-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 36px rgba(255, 90, 95, 0.4);
}
.ude-btn-filter-secondary {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ude-btn-filter-secondary:hover {
  background: #f1f5f9;
  transform: scale(1.01);
}

.ude-cat-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
}
.ude-cat-check input { accent-color: var(--ude-accent); }

.ude-main { min-width: 0; }

.ude-section-head {
  margin-bottom: 1.5rem;
}
.ude-section-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ude-accent);
  margin-bottom: 0.35rem;
}
.ude-section-eyebrow--rec {
  color: #6366f1;
}
.ude-section-head--rec {
  padding: 1.25rem 1.5rem;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  border-radius: var(--ude-radius);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(248, 250, 252, 0.9) 50%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
  margin-bottom: 1.75rem;
}
.ude-section-sub {
  max-width: 36rem;
}
.ude-section-featured {
  padding-bottom: 0.5rem;
}
.ude-section-rec {
  padding: 0.25rem 0 1rem;
}
.ude-section-gridlist {
  padding-top: 0.5rem;
  border-top: 1px solid #e8ecf1;
  margin-top: 0.5rem;
}

.ude-section-head--minimal {
  margin-bottom: 1.25rem;
}
.ude-section-head--minimal .ude-section-title {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.ude-section--pop {
  margin-top: 0.25rem;
}

.ude-section-head--week {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(16, 185, 129, 0.35);
}
.ude-section-eyebrow--week {
  color: #059669;
}

.ude-section-head--near {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--ude-radius-sm);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(14, 165, 233, 0.15);
}
.ude-section-eyebrow--near {
  color: #0284c7;
}

.ude-section-eyebrow--muted {
  color: #94a3b8 !important;
}

.ude-section-empty {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  padding: 1rem 0.25rem 1.5rem;
  line-height: 1.55;
}

/* Bu hafta — mobil yatay kaydırma; masaüstü 2 sütun ızgara */
.ude-week-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  scrollbar-width: none;
}
.ude-week-scroll::-webkit-scrollbar {
  display: none;
}
@media (min-width: 992px) {
  .ude-week-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    overflow-x: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0.25rem 0 1rem;
  }
  .ude-week-scroll > .ude-section-empty {
    grid-column: 1 / -1;
  }
}

.ude-card-week {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 992px) {
  .ude-card-week {
    flex: none;
    width: 100%;
    scroll-snap-align: unset;
  }
}
.ude-card-week:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}
.ude-card-week__date {
  flex: 0 0 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
  text-align: center;
}
.ude-card-week__daynum {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.ude-card-week__wday {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
  opacity: 0.85;
}
.ude-card-week__visual {
  position: relative;
  flex: 1;
  min-height: 132px;
  min-width: 0;
}
.ude-card-week__visual .ude-img-frame__real {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.ude-card-week__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.88) 100%);
  pointer-events: none;
}
.ude-card-week__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.75rem 0.85rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.ude-card-week__title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.ude-card-week__meta {
  font-size: 0.72rem;
  margin: 0;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ude-card-week__meta i {
  flex-shrink: 0;
}

/* Yakınında — liste, kompakt satır */
.ude-near-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}
.ude-card-near {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.65rem 0.5rem 0.5rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8ecf1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ude-card-near:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}
.ude-card-near__thumb {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}
.ude-card-near__thumb .ude-img-frame__real {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ude-card-near__content {
  flex: 1;
  min-width: 0;
}
.ude-card-near__title {
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ude-card-near__loc,
.ude-card-near__time {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.ude-card-near__loc i {
  color: #0ea5e9;
}
.ude-card-near__chev {
  flex-shrink: 0;
  color: #cbd5e1;
  font-size: 1.1rem;
}

.ude-grid-events--discover {
  gap: 1.5rem !important;
}
@media (max-width: 991px) {
  .ude-grid-events--discover {
    gap: 1.75rem !important;
  }
  .ude-card-grid .card-body {
    padding: 1.35rem 1.3rem 1.4rem;
  }
  .ude-card-grid .ude-card-grid-title {
    font-size: 1.06rem;
  }
  .ude-avatar {
    display: none;
  }
}

.ude-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: #0f172a;
}
.ude-section-head .ude-section-title {
  margin-bottom: 0;
}

.ude-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.ude-stat-pill {
  background: #fff;
  border-radius: var(--ude-radius-sm);
  padding: 1rem 1.25rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.ude-stat-pill .lbl { font-size: 0.75rem; color: var(--ude-muted); }
.ude-stat-pill .val { font-size: 1.5rem; font-weight: 800; color: #0f172a; }

/* Filtre sayfası — özet kartları */
.ude-stats-strip--filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.ude-stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}
.ude-stat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 16px 40px rgba(15, 23, 42, 0.08);
}
.ude-stat-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.ude-stat-card--total .ude-stat-card__icon {
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #475569;
}
.ude-stat-card--today .ude-stat-card__icon {
  background: linear-gradient(145deg, rgba(255, 90, 95, 0.18) 0%, rgba(255, 90, 95, 0.08) 100%);
  color: #e11d48;
}
.ude-stat-card--week .ude-stat-card__icon {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0.08) 100%);
  color: #0284c7;
}
.ude-stat-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ude-stat-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.ude-stat-card__val {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 991px) {
  .ude-stats-strip--filter {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
  }
  .ude-stat-card {
    padding: 0.85rem 1rem;
  }
  .ude-stat-card__val {
    font-size: 1.45rem;
  }
}

/* Popular — horizontal discovery (mobile), grid (desktop) */
.ude-popular-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.5rem 1.25rem;
  margin: 0 -0.5rem 1rem;
  scrollbar-width: none;
}
.ude-popular-scroll::-webkit-scrollbar {
  display: none;
}
.ude-popular-scroll > .ude-card-popular {
  flex: 0 0 min(300px, 85vw);
  scroll-snap-align: start;
  max-width: 340px;
}
@media (min-width: 992px) {
  .ude-popular-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0 0 2rem;
  }
  .ude-popular-scroll > .ude-card-popular {
    flex: none;
    max-width: none;
    height: 100%;
    min-height: 300px;
  }
}

.ude-card-popular {
  position: relative;
  border-radius: var(--ude-radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--ude-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}
.ude-card-popular--featured {
  box-shadow: var(--ude-shadow), 0 0 0 1px rgba(255, 90, 95, 0.12);
}
.ude-card-popular--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.ude-card-popular:hover {
  transform: scale(1.03);
  box-shadow: var(--ude-shadow-hover);
}
.ude-card-popular .ude-c-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.ude-card-popular::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
}
.ude-card-popular .ude-c-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.ude-badge-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}
.ude-card-popular h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.ude-card-popular .ude-meta {
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 3.6em;
  overflow: hidden;
}
.ude-card-popular .ude-meta-source {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.ude-card-popular--cinematic {
  min-height: 220px;
}
.ude-card-popular--cinematic .ude-c-body h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
@media (max-width: 991px) {
  .ude-card-popular--cinematic {
    min-height: 220px;
  }
}

/* Recommended — feature + editorial row */
.ude-rec-scroll {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow: visible;
}
.ude-rec-scroll--editorial {
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

/* İki öne çıkan kart — masaüstü yan yana */
.ude-rec-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}
.ude-rec-feature-row--solo {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .ude-rec-feature-row {
    grid-template-columns: 1fr;
  }
  .ude-rec-feature-row--solo {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
.ude-rec-feature-row .ude-card-rec-editorial--feature {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.ude-rec-scroll-row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 0.75rem;
  margin: 0 -0.25rem;
  scrollbar-width: none;
}
.ude-rec-scroll-row::-webkit-scrollbar {
  display: none;
}
.ude-rec-scroll-row > .ude-card-rec-editorial {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
}
.ude-rec-scroll-row .ude-rec-ed-title {
  -webkit-line-clamp: 3;
}

.ude-card-rec-editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 0;
  background: #fff;
  border-radius: var(--ude-radius);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--ude-shadow);
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ude-card-rec-editorial--feature {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 0;
  scroll-snap-align: none;
  border-width: 2px;
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--ude-shadow), 0 0 0 1px rgba(99, 102, 241, 0.06);
}
/* Görsel sütunu satır yüksekliğini doldurur; kırpma + cover ile boşluk kalmaz */
.ude-card-rec-editorial--feature .ude-rec-ed-img {
  min-height: 148px;
  overflow: hidden;
}
.ude-card-rec-editorial--feature .ude-rec-ed-img .ude-img-frame__real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ude-card-rec-editorial--feature .ude-rec-ed-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  -webkit-line-clamp: 3;
}
.ude-card-rec-editorial--feature .ude-rec-ed-body {
  padding: 0.95rem 1.1rem 1rem;
  align-self: center;
}
.ude-card-rec-editorial--feature::before {
  content: "Editörün seçimi";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(99, 102, 241, 0.9);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
}
@media (max-width: 767px) {
  .ude-card-rec-editorial {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ude-card-rec-editorial--feature .ude-rec-ed-img {
    min-height: 200px;
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .ude-card-rec-editorial--feature .ude-rec-ed-img .ude-img-frame__real {
    min-height: 0 !important;
  }
  .ude-card-rec-editorial--feature .ude-rec-ed-body {
    align-self: stretch;
  }
}
.ude-card-rec-editorial:hover {
  transform: translateY(-5px);
  box-shadow: var(--ude-shadow-hover);
}
.ude-rec-ed-img {
  position: relative;
  overflow: hidden;
  background: #e8ecf1;
  min-height: 152px;
}
/* Küçük şerit kartları: görsel hücreyi doldur, taşmayı kes */
.ude-rec-scroll-row .ude-card-rec-editorial:not(.ude-card-rec-editorial--feature) .ude-rec-ed-img {
  min-height: 140px;
}
.ude-rec-ed-img .ude-img-frame__real {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ude-rec-ed-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.15) 0%, transparent 55%);
  pointer-events: none;
}
.ude-rec-ed-img .ude-badge-cat {
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
}
.ude-rec-ed-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  gap: 0.3rem;
}
/* Küresel .ude-btn-cta { margin-top: auto } bu kartlarda dev boşluk yaratmasın */
.ude-card-rec-editorial .ude-btn-cta,
.ude-card-rec-editorial .ude-btn-cta--sm {
  margin-top: 0.5rem;
  align-self: flex-start;
}
.ude-rec-ed-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.ude-rec-ed-line {
  font-size: 0.85rem;
  color: var(--ude-muted);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  line-height: 1.45;
  max-height: calc(1.45em * 2);
  overflow: hidden;
  word-break: break-word;
}
.ude-rec-ed-source {
  margin: 0.35rem 0 0.5rem;
}
.ude-source-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
}

.ude-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-top: auto;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--ude-accent) 0%, #ff383e 100%);
  border: none;
  box-shadow: 0 8px 24px rgba(255, 90, 95, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ude-btn-cta:hover {
  color: #fff !important;
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(255, 90, 95, 0.45);
}
.ude-btn-cta--sm {
  align-self: flex-start;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.ude-btn-sm {
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}
.ude-btn-sm:hover {
  border-color: var(--ude-accent);
  color: var(--ude-accent);
  transform: scale(1.03);
}

/* Tabs */
.ude-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ude-tab {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}
.ude-tab:hover { border-color: #cbd5e1; color: #0f172a; }
.ude-tab.is-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* Grid cards (all events) */
.ude-grid-events {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 576px) { .ude-grid-events { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ude-grid-events { grid-template-columns: repeat(4, 1fr); } }

/* Grid satırında kartları aynı yüksekliğe çek; gövde flex ile aksiyonları alta sabitle */
.ude-grid-events > .ude-grid-event-cell {
  display: flex;
  min-width: 0;
  align-self: stretch;
}
.ude-grid-event-cell > .ude-card-grid {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

/* Görseller: yüklemede dönen logo; viewport’a gelince istek; kart kaydırınca belirir */
.ude-img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
}
[data-theme="dark"] .ude-img-frame {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.ude-img-frame__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.ude-img-frame.is-loaded .ude-img-frame__ph {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ude-img-frame__logo {
  width: 44px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  animation: ude-lazy-logo-spin 1.05s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .ude-img-frame__logo {
    animation: none;
    opacity: 0.8;
  }
}
@keyframes ude-lazy-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ude-img-frame__real {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.ude-img-frame.is-loaded .ude-img-frame__real {
  opacity: 1;
}

.ude-img-frame--grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ude-img-frame--popular {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ude-card-week__visual .ude-img-frame--week {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ude-card-near__thumb .ude-img-frame--near {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 76px;
}

.ude-rec-ed-img .ude-img-frame--rec {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.ude-reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--ude-reveal-delay, 0ms);
}
.ude-reveal-pending.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .ude-reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.ude-card-grid {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--ude-radius);
  overflow: hidden;
  box-shadow: var(--ude-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
}
.ude-card-grid--list {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}
.ude-card-grid:hover {
  transform: translateY(-6px);
  box-shadow: var(--ude-shadow-hover);
}
.ude-card-grid .img-wrap {
  position: relative;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}
.ude-card-grid .img-wrap .ude-img-frame__real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.5s ease;
}
.ude-card-grid:hover .img-wrap .ude-img-frame__real {
  transform: scale(1.05);
}
.ude-card-grid .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.55) 100%);
}
.ude-card-grid .img-wrap .ude-badge-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}
.ude-card-grid .card-body {
  padding: 1.15rem 1.2rem 1.2rem;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ude-card-grid h3,
.ude-card-grid .ude-card-grid-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  flex-shrink: 0;
}
.ude-card-grid .ude-card-grid-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  color: inherit;
  text-decoration: none;
}
.ude-card-grid h3 a,
.ude-card-grid .ude-card-grid-title a { color: inherit; text-decoration: none; }
.ude-card-grid h3 a:hover,
.ude-card-grid .ude-card-grid-title a:hover { color: var(--ude-accent); }
.ude-card-meta {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.45;
}
.ude-card-meta i {
  margin-top: 0.15rem;
  opacity: 0.7;
  flex-shrink: 0;
}
.ude-card-meta--date {
  font-weight: 500;
  color: #475569;
  flex-shrink: 0;
  max-height: calc(1.45em * 2 + 0.1em);
  overflow: hidden;
  word-break: break-word;
}
.ude-card-meta--loc {
  margin-bottom: 0.15rem;
  max-height: calc(1.45em * 2 + 0.1em);
  overflow: hidden;
  word-break: break-word;
}
.ude-card-source {
  margin: 0.5rem 0 0.35rem;
  flex-shrink: 0;
}
.ude-card-actions {
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #f1f5f9;
}
.ude-card-actions .ude-share-row {
  margin-top: 0;
}
.ude-card-grid--discover {
  cursor: pointer;
}
@media (max-width: 991px) {
  .ude-btn-cta--block {
    width: 100%;
    justify-content: center;
  }
}
.ude-card-grid .ude-footer-row {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Chips row */
.ude-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ude-chip {
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.ude-chip:hover { border-color: #cbd5e1; }
.ude-chip.active {
  background: rgba(255, 90, 95, 0.1);
  border-color: var(--ude-accent);
  color: #be123c;
}

/* Month sections */
.ude-month-section { margin-bottom: 2rem; }
.ude-month-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ude-accent);
  display: inline-block;
  color: #0f172a;
}
.ude-month-section--one-day .ude-month-title {
  text-transform: capitalize;
}

/* Filtre sonuçları — tek tip sütunlar, kartlar aynı hizada */
.ude-section--filter-results .ude-grid-events--filter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 576px) {
  .ude-section--filter-results .ude-grid-events--filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .ude-section--filter-results .ude-grid-events--filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ude-section--filter-results .ude-grid-events--filter > .ude-grid-event-cell {
  min-width: 0;
}
.ude-section--filter-results .ude-grid-events--filter .ude-card-grid {
  height: 100%;
  min-height: 0;
}
.ude-section--filter-results .ude-grid-events--filter .ude-card-grid .img-wrap {
  height: 168px;
  flex-shrink: 0;
}
.ude-section--filter-results .ude-grid-events--filter .ude-card-grid-title a {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.ude-section--filter-results .ude-card-meta--loc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ude-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: var(--ude-radius);
  box-shadow: var(--ude-shadow);
  color: var(--ude-muted);
  margin-bottom: 2rem;
}
.ude-empty i { font-size: 3rem; opacity: 0.35; margin-bottom: 1rem; display: block; }

.ude-loading {
  text-align: center;
  padding: 3rem;
  color: var(--ude-muted);
}

.ude-footer {
  position: relative;
  margin-top: 3rem;
  padding: 0 0 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 48%, #eef2f7 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  color: #64748b;
  font-size: 0.875rem;
  overflow: hidden;
}
.ude-footer__wave {
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 95, 0.35), rgba(14, 165, 233, 0.25), transparent);
  opacity: 0.85;
}
.ude-footer__inner {
  padding-top: 2.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.ude-footer__grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
@media (min-width: 576px) {
  .ude-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .ude-footer__grid {
    grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}
.ude-footer__brand-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.75rem;
  line-height: 0;
}
.ude-footer__brand-link:hover .ude-footer__logo-img {
  opacity: 0.92;
}
.ude-footer__logo-img {
  display: block;
  width: auto;
  height: 2.35rem;
  max-width: min(200px, 100%);
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.2s ease;
}
@media (min-width: 768px) {
  .ude-footer__logo-img {
    height: 2.65rem;
    max-width: min(220px, 100%);
  }
}
.ude-footer__tagline {
  margin: 0;
  max-width: 22rem;
  line-height: 1.55;
  font-size: 0.88rem;
  color: #64748b;
}
.ude-footer__heading {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin: 0 0 0.85rem;
}
.ude-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ude-footer__links a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.ude-footer__links a:hover {
  color: var(--ude-accent, #ff5a5f);
}
.ude-footer__col--social .ude-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ude-footer__social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ude-footer__social-btn:hover {
  color: var(--ude-accent, #ff5a5f);
  border-color: rgba(255, 90, 95, 0.35);
  box-shadow: 0 8px 22px rgba(255, 90, 95, 0.12);
  transform: translateY(-2px);
}
.ude-footer__bottom {
  padding-top: 1.35rem;
  text-align: center;
}
.ude-footer__copy {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Share row */
.ude-share-row {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.ude-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  color: #64748b;
}
.ude-share-btn:hover {
  border-color: var(--ude-accent);
  color: var(--ude-accent);
  transform: scale(1.08);
}

/* Theme toggle */
.theme-toggle-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.theme-toggle-btn:hover { background: #f1f5f9; }

/* —— Responsive (mobile & tablet) —— */
@media (max-width: 991px) {
  .ude-hero:not(.ude-hero--discovery) {
    padding: 1.5rem 1rem 2rem;
  }
  .ude-hero-title:not(.ude-hero-title--split) {
    font-size: clamp(1.65rem, 5.5vw + 0.5rem, 2.75rem);
  }
  .ude-hero-lead:not(.ude-hero-lead--split) {
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
  }
  .ude-hero-visual {
    min-height: 200px;
  }
  .ude-hero-visual img {
    min-height: 220px;
    max-height: 320px;
  }
  .ude-hero-grid > div:first-child {
    min-width: 0;
  }
  .ude-hero-badge {
    font-size: 0.75rem;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .ude-hero-live {
    font-size: 0.82rem;
    line-height: 1.45;
    word-break: break-word;
  }
  .ude-layout {
    padding: 0 1rem 3rem;
    gap: 1.25rem;
  }
  .ude-section-head--rec {
    margin-left: 0;
    margin-right: 0;
    padding: 1rem 1.1rem;
  }
  .ude-section-title {
    font-size: clamp(1.15rem, 3vw, 1.35rem);
  }
  .ude-stats-strip {
    gap: 0.5rem;
  }
  .ude-stat-pill {
    padding: 0.7rem 0.5rem;
  }
  .ude-stat-pill .val {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }
  .ude-stat-pill .lbl {
    font-size: 0.68rem;
  }
}

@media (max-width: 639px) {
  .ude-search-glass-input {
    font-size: 16px;
  }
  .ude-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.5rem;
    padding-bottom: 0.35rem;
    margin-bottom: 1rem;
  }
  .ude-tabs::-webkit-scrollbar {
    display: none;
  }
  .ude-tab {
    flex: 0 0 auto;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .ude-header-inner {
    height: 64px;
    padding: 0 0.65rem;
    gap: 0.35rem;
  }
  .ude-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .ude-brand-mark-img {
    height: 1.78rem;
  }
  .ude-brand-line {
    font-size: 0.98rem;
  }
  .ude-brand-eyebrow {
    display: none;
  }
  .ude-header-actions {
    gap: 0.35rem;
  }
  .ude-header-tools {
    padding: 3px;
    border-radius: 12px;
  }
  .ude-icon-btn,
  .ude-header-tools .theme-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
    border-radius: 10px;
  }
  .ude-avatar {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .ude-card-popular:hover {
    transform: scale(1.02);
  }
  .ude-rec-scroll-row {
    margin-left: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.5rem;
    scroll-padding-left: 0.25rem;
  }
  .ude-card-grid .img-wrap {
    height: 200px;
  }
  .ude-card-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .ude-card-actions .ude-btn-cta {
    align-self: stretch;
    text-align: center;
  }
  .ude-card-actions .ude-share-row {
    justify-content: flex-start;
  }
  .ude-month-title {
    font-size: 0.95rem;
  }
  .ude-empty {
    padding: 2.5rem 1.25rem;
  }
  .ude-section-gridlist > .d-flex.flex-wrap {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .ude-section-gridlist #resultsCount {
    align-self: flex-start;
  }
  .ude-footer__inner {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .ude-footer {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}

/* Dark */
[data-theme="dark"] {
  --ude-bg: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}
[data-theme="dark"] .ude-page {
  background: #0f172a;
  color: #f1f5f9;
}
[data-theme="dark"] .ude-header {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(51, 65, 85, 0.85);
}
[data-theme="dark"] .ude-header.is-scrolled {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .ude-brand-line { color: #f8fafc; }
[data-theme="dark"] .ude-brand-eyebrow { color: #64748b; }
[data-theme="dark"] .ude-nav-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(51, 65, 85, 0.9);
}
[data-theme="dark"] .ude-nav-link {
  color: #94a3b8;
}
[data-theme="dark"] .ude-nav-link:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ude-header-tools {
  background: rgba(30, 41, 59, 0.9);
  border-color: #334155;
}
[data-theme="dark"] .ude-icon-btn {
  color: #cbd5e1;
}
[data-theme="dark"] .ude-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}
[data-theme="dark"] .ude-header-tools .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] a.ude-unideapp-btn {
  border-color: rgba(255, 122, 126, 0.55);
  background: rgba(255, 90, 95, 0.12);
  color: #ff8a8e;
}
[data-theme="dark"] a.ude-unideapp-btn:hover {
  border-color: #ff7a7e;
  background: rgba(255, 90, 95, 0.2);
  color: #ffb4b6;
}
[data-theme="dark"] .ude-avatar {
  background: linear-gradient(145deg, #334155, #1e293b);
  color: #cbd5e1;
  box-shadow:
    0 0 0 2px #0f172a,
    0 0 0 4px rgba(148, 163, 184, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .ude-loc-chip {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: #334155;
  color: #e2e8f0;
}
[data-theme="dark"] .ude-loc-chip:hover {
  border-color: rgba(255, 90, 95, 0.45);
  box-shadow: 0 4px 18px rgba(255, 90, 95, 0.15);
}
[data-theme="dark"] .ude-filter-toolbar__back {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
[data-theme="dark"] .ude-filter-toolbar__back:hover {
  color: #fda4af;
  border-color: rgba(251, 113, 133, 0.45);
}
[data-theme="dark"] .ude-filter-toolbar__label {
  color: #64748b;
}
[data-theme="dark"] .ude-filter-toolbar__badge {
  background: linear-gradient(160deg, #1e293b 0%, #2a1f24 100%);
  border-color: rgba(251, 113, 133, 0.35);
  color: #fda4af;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .ude-filter-results-head {
  border-bottom-color: #334155;
}
[data-theme="dark"] .ude-filter-results-head__title {
  color: #f8fafc;
}
[data-theme="dark"] .ude-hero-title,
[data-theme="dark"] .ude-section-title,
[data-theme="dark"] .ude-stat-pill .val { color: #f8fafc; }
[data-theme="dark"] .ude-hero-lead { color: #94a3b8; }
[data-theme="dark"] .ude-sidebar,
[data-theme="dark"] .ude-search-glass,
[data-theme="dark"] .ude-stat-pill,
[data-theme="dark"] .ude-stat-card {
  background: linear-gradient(165deg, #1e293b 0%, #172033 100%);
  border-color: #334155;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .ude-stat-card__label { color: #94a3b8; }
[data-theme="dark"] .ude-stat-card__val { color: #f8fafc; }
[data-theme="dark"] .ude-stat-card--total .ude-stat-card__icon {
  background: rgba(51, 65, 85, 0.65);
  color: #cbd5e1;
}
[data-theme="dark"] .ude-stat-card--today .ude-stat-card__icon {
  background: rgba(225, 29, 72, 0.22);
  color: #fb7185;
}
[data-theme="dark"] .ude-stat-card--week .ude-stat-card__icon {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
}
[data-theme="dark"] .ude-card-grid,
[data-theme="dark"] .ude-card-rec-editorial,
[data-theme="dark"] .ude-empty,
[data-theme="dark"] .ude-hero-stat,
[data-theme="dark"] .ude-filter-chip {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .ude-hero-live { color: #cbd5e1; }
[data-theme="dark"] .ude-filter-chip-remove {
  background: #334155;
  color: #94a3b8;
}
[data-theme="dark"] .ude-filter-chip-remove:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
[data-theme="dark"] .ude-btn-filter-secondary {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}
[data-theme="dark"] .ude-section-head--rec {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(30, 41, 59, 0.95) 100%);
  border-color: rgba(99, 102, 241, 0.2);
}
[data-theme="dark"] .ude-section-gridlist { border-top-color: #334155; }
[data-theme="dark"] .ude-rec-ed-title { color: #f8fafc; }
[data-theme="dark"] .ude-source-tag {
  background: #334155;
  color: #cbd5e1;
}
[data-theme="dark"] .ude-card-meta--date { color: #94a3b8; }
[data-theme="dark"] .ude-card-actions { border-top-color: #334155; }
[data-theme="dark"] .ude-hero-badge { background: #1e293b; border-color: #334155; color: #94a3b8; }
[data-theme="dark"] .ude-search-glass {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .ude-search-glass-input { color: #f8fafc; }
[data-theme="dark"] .ude-search-glass-input::placeholder { color: #94a3b8; }
[data-theme="dark"] .ude-hero--discovery {
  --ude-hero-tint: #1e293b;
  --ude-hero-tint2: #0f172a;
}
@media (min-width: 992px) {
  [data-theme="dark"] .ude-hero-split {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 55%, #172554 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }
  [data-theme="dark"] .ude-hero-title--split {
    color: #f8fafc;
  }
  [data-theme="dark"] .ude-hero-lead--split {
    color: #94a3b8;
  }
  [data-theme="dark"] .ude-hero-split .ude-search-glass--light {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
  }
  [data-theme="dark"] .ude-hero-split .ude-search-glass-icon {
    color: #94a3b8;
  }
  [data-theme="dark"] .ude-hero-split .ude-search-glass--light .ude-search-glass-input {
    color: #f8fafc;
  }
  [data-theme="dark"] .ude-hero-split .ude-search-clear {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
  }
  [data-theme="dark"] .ude-hero-split__blend {
    background: linear-gradient(
      90deg,
      #1e293b 0%,
      rgba(30, 41, 59, 0.75) 22%,
      rgba(30, 41, 59, 0.15) 55%,
      transparent 78%
    );
  }
}
@media (max-width: 991px) {
  [data-theme="dark"] .ude-hero-split__blend {
    background: linear-gradient(
      180deg,
      rgba(2, 6, 23, 0.62) 0%,
      rgba(15, 23, 42, 0.48) 38%,
      rgba(2, 6, 23, 0.92) 100%
    );
  }
}
[data-theme="dark"] .ude-quick-chip {
  background: rgba(30, 41, 59, 0.85);
  border-color: #334155;
  color: #e2e8f0;
}
[data-theme="dark"] .ude-quick-chip.is-active {
  background: #ff5a5f;
  border-color: #ff5a5f;
  color: #fff;
}
[data-theme="dark"] .ude-quick-chip--weekend:not(.is-active) {
  background: rgba(154, 52, 18, 0.28);
  border-color: rgba(234, 88, 12, 0.4);
  color: #fdba74;
}
[data-theme="dark"] .ude-quick-chip--weekend:not(.is-active) .ude-quick-chip-icon {
  color: #fb923c;
}
/* Mobil hero chip: genel koyu chip kurallarından sonra — üstteki cam şerit korunsun */
@media (max-width: 991px) {
  [data-theme="dark"] .ude-hero-split .ude-quick-chip {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
  }
  [data-theme="dark"] .ude-hero-split .ude-quick-chip.is-active {
    background: rgba(255, 90, 95, 0.88);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }
  [data-theme="dark"] .ude-hero-split .ude-quick-chip--weekend:not(.is-active) {
    background: rgba(154, 52, 18, 0.22);
    border-color: rgba(234, 88, 12, 0.35);
    color: #fed7aa;
  }
  [data-theme="dark"] .ude-hero-split .ude-quick-chip--weekend:not(.is-active) .ude-quick-chip-icon {
    color: #fb923c;
  }
}
[data-theme="dark"] .ude-mobile-filter-bar {
  background: rgba(15, 23, 42, 0.92);
  border-top-color: #334155;
}
[data-theme="dark"] .ude-bottom-sheet {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .ude-sheet-handle { background: #475569; }
[data-theme="dark"] .ude-bottom-nav {
  background: rgba(15, 23, 42, 0.92);
  border-top-color: #334155;
}
[data-theme="dark"] .ude-bottom-nav__item {
  color: #64748b;
}
[data-theme="dark"] .ude-bottom-nav__item.is-active {
  color: #ff7b7f;
}
[data-theme="dark"] .ude-fab-filter {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .ude-card-week {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .ude-card-week__date {
  background: linear-gradient(180deg, #064e3b 0%, #065f46 100%);
  color: #d1fae5;
}
[data-theme="dark"] .ude-card-near {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .ude-card-near__title {
  color: #f8fafc;
}
[data-theme="dark"] .ude-section-head--near {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(30, 41, 59, 0.95) 100%);
  border-color: rgba(14, 165, 233, 0.25);
}
[data-theme="dark"] .ude-section-empty {
  color: #94a3b8;
}
[data-theme="dark"] .ude-tab.is-active { background: #f8fafc; color: #0f172a; }
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: #334155;
  border-color: #475569;
  color: #f1f5f9;
}
[data-theme="dark"] .ude-footer {
  border-top-color: #334155;
  background: linear-gradient(180deg, #0f172a 0%, #0c1222 100%);
  color: #94a3b8;
}
[data-theme="dark"] .ude-footer__wave {
  background: linear-gradient(90deg, transparent, rgba(251, 113, 133, 0.35), rgba(56, 189, 248, 0.2), transparent);
}
[data-theme="dark"] .ude-footer__grid {
  border-bottom-color: #334155;
}
[data-theme="dark"] .ude-footer__tagline {
  color: #94a3b8;
}
[data-theme="dark"] .ude-footer__links a {
  color: #cbd5e1;
}
[data-theme="dark"] .ude-footer__links a:hover {
  color: #fda4af;
}
[data-theme="dark"] .ude-footer__social-btn {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
[data-theme="dark"] .ude-footer__social-btn:hover {
  color: #fda4af;
  border-color: rgba(251, 113, 133, 0.4);
}
[data-theme="dark"] .ude-footer__copy {
  color: #64748b;
}
