/* ==========================================================================
   İLKE — etkinlikler.css  (Events listing)
   ========================================================================== */

.ep-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--paper-edge);
}
.ep-hero .shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-end;
}
.ep-hero .eyebrow {
  font-family: var(--f-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.ep-hero .eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); display: inline-block; }
.ep-hero h1 {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.ep-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.ep-hero p {
  font-family: var(--f-disp); font-style: italic;
  font-size: 18px; line-height: 1.5; color: var(--ink-3);
  margin-top: 18px;
  max-width: 56ch;
}
.ep-hero-stats { display: flex; gap: 28px; }
.ep-hero-stats > div {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid var(--paper-edge); padding-left: 20px;
  font-family: var(--f-body); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.ep-hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.ep-hero-stats b {
  font-family: var(--f-disp); font-style: italic; font-weight: 500;
  font-size: 36px; letter-spacing: -0.025em; color: var(--ink);
}
@media (max-width: 880px) { .ep-hero .shell { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- View switcher + toolbar ---------- */
.ep-toolbar {
  position: sticky; top: 76px; z-index: 20;
  background: rgba(245,241,234,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-edge);
  padding: 18px 0;
}
.ep-toolbar .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.ep-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ep-filter-label {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin-right: 4px;
}
.ep-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid var(--paper-edge);
  background: var(--paper);
  font-family: var(--f-body); font-weight: 500; font-size: 12.5px;
  color: var(--ink-2); cursor: pointer;
  transition: all 0.14s ease;
}
.ep-chip:hover { border-color: var(--ink); color: var(--ink); }
.ep-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ep-chip i { width: 6px; height: 6px; border-radius: 99px; display: inline-block; }
.ep-view {
  display: inline-flex; align-items: center;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: 99px;
  padding: 4px;
  gap: 2px;
}
.ep-view button {
  padding: 6px 14px;
  border: 0; background: transparent;
  font-family: var(--f-body); font-weight: 600; font-size: 12px;
  color: var(--ink-2); cursor: pointer;
  border-radius: 99px;
  display: inline-flex; align-items: center; gap: 7px;
}
.ep-view button.on { background: var(--ink); color: var(--paper); }
.ep-view button svg { width: 13px; height: 13px; }

/* ---------- Hero featured event ---------- */
.ep-featured-section { padding: 48px 0; }
.ep-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 380px 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 44px 48px;
  background: linear-gradient(135deg, #9E2A20 0%, #C8341E 100%);
  color: #F5F1EA;
}
.ep-featured::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='6'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none; mix-blend-mode: multiply;
}
.ep-featured-pet {
  position: absolute; right: -120px; bottom: -180px;
  width: 480px; height: 480px;
  color: #F2D9D4; opacity: 0.16;
  pointer-events: none; z-index: -1;
}
.ep-featured-date {
  display: flex; flex-direction: column;
  background: rgba(245,241,234,0.10);
  border: 1px solid rgba(245,241,234,0.18);
  border-radius: 12px;
  padding: 28px 28px;
  text-align: center;
  align-self: stretch;
  justify-content: center;
}
.ep-featured-date .day {
  font-family: var(--f-disp); font-weight: 400; font-style: italic;
  font-size: 96px; line-height: 0.9; letter-spacing: -0.04em;
  color: #F5F1EA;
}
.ep-featured-date .mon {
  font-family: var(--f-body); font-weight: 700;
  font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #F5F1EA; opacity: 0.9;
  margin-top: 12px;
}
.ep-featured-date .yr {
  font-family: var(--f-body); font-size: 12px;
  color: rgba(245,241,234,0.6); letter-spacing: 0.06em;
  margin-top: 6px;
}
.ep-featured-date .dow {
  font-family: var(--f-disp); font-style: italic;
  font-size: 14px; color: rgba(245,241,234,0.7);
  margin-top: 18px;
  padding-top: 14px; border-top: 1px solid rgba(245,241,234,0.18);
}
.ep-featured-body { color: #F5F1EA; }
.ep-featured-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.ep-featured-tags .tag {
  font-family: var(--f-body); font-weight: 700;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 10px;
}
.ep-featured-tags .tag.live { background: #F5F1EA; color: #9E2A20; display: inline-flex; align-items: center; gap: 8px; }
.ep-featured-tags .tag.live i { width: 6px; height: 6px; border-radius: 99px; background: #9E2A20; animation: blink 1.4s ease-in-out infinite; }
.ep-featured-tags .tag.g { background: rgba(245,241,234,0.12); color: #F5F1EA; }
.ep-featured-body h2 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #F5F1EA;
  text-wrap: balance;
}
.ep-featured-body h2 em { font-style: italic; color: #F2D9D4; }
.ep-featured-body p {
  font-family: var(--f-disp); font-style: italic;
  font-size: 16px; line-height: 1.5;
  color: rgba(245,241,234,0.85);
  max-width: 48ch;
  margin-bottom: 20px;
}
.ep-featured-body .meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--f-body); font-size: 12.5px;
  color: rgba(245,241,234,0.78);
}
.ep-featured-body .meta span { display: inline-flex; align-items: center; gap: 6px; }
.ep-featured-body .meta svg { width: 13px; height: 13px; }
.ep-featured-actions { display: flex; flex-direction: column; gap: 10px; }
.ep-featured-actions .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 99px;
  font-family: var(--f-body); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.04em;
  cursor: pointer; border: 0; text-decoration: none;
  transition: background 0.16s ease;
  white-space: nowrap;
}
.ep-featured-actions .btn.primary { background: var(--gold); color: #1A1A1A; }
.ep-featured-actions .btn.primary:hover { background: #F5F1EA; }
.ep-featured-actions .btn.ghost { background: rgba(245,241,234,0.08); color: #F5F1EA; border: 1px solid rgba(245,241,234,0.30); }
.ep-featured-actions .btn.ghost:hover { background: rgba(245,241,234,0.2); }
.ep-featured-actions .btn svg { width: 14px; height: 14px; }

@media (max-width: 1080px) {
  .ep-featured { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .ep-featured-date { flex-direction: row; gap: 16px; padding: 18px 24px; text-align: left; justify-content: flex-start; }
  .ep-featured-date .day { font-size: 56px; }
  .ep-featured-date .mon, .ep-featured-date .yr, .ep-featured-date .dow { margin: 0; padding: 0; border: 0; }
  .ep-featured-actions { flex-direction: row; }
}

/* ---------- Layout: list + calendar ---------- */
.ep-layout {
  padding: 16px 0 64px;
}
.ep-layout .shell {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 1080px) {
  .ep-layout .shell { grid-template-columns: 1fr; gap: 32px; }
  .ep-side { order: -1; }
}

/* events list */
.ep-list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
}
.ep-list-head h3 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.015em;
}
.ep-list-head h3 em { font-style: italic; color: var(--accent); font-weight: 400; }
.ep-list-head .count {
  font-family: var(--f-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.ep-list-head .count b { color: var(--ink); font-weight: 700; font-size: 13px; }

.ep-month-band {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0 10px;
  margin: 24px 0 12px;
  border-bottom: 1px solid var(--paper-edge);
}
.ep-month-band:first-of-type { margin-top: 0; }
.ep-month-band h4 {
  font-family: var(--f-disp); font-weight: 400; font-style: italic;
  font-size: 28px; letter-spacing: -0.025em; line-height: 1;
}
.ep-month-band .ct {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}

.ep-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--paper-edge);
  border-radius: 12px;
  text-decoration: none; color: inherit;
  position: relative;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  overflow: hidden;
}
.ep-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ev-acc, var(--ink));
}
.ep-card:hover {
  transform: translateY(-3px);
  border-color: var(--ev-acc, var(--ink));
  box-shadow: 0 14px 28px rgba(26,26,26,0.08);
}
.ep-card-date {
  display: flex; flex-direction: column; gap: 0;
  text-align: left;
  border-right: 1px solid var(--paper-edge);
  padding-right: 24px;
  height: 100%;
  justify-content: center;
}
.ep-card-date .d {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 48px; letter-spacing: -0.035em;
  color: var(--ink); line-height: 1;
}
.ep-card-date .m {
  font-family: var(--f-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 6px;
}
.ep-card-date .dow {
  font-family: var(--f-body); font-size: 10.5px;
  color: var(--ink-3); letter-spacing: 0.06em;
  margin-top: 4px;
}
.ep-card-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ep-card-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ep-card-tag {
  display: inline-block;
  font-family: var(--f-body); font-weight: 700;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 8px;
  background: var(--ev-acc, var(--ink));
  color: #fff;
}
.ep-card-tag.type {
  background: transparent;
  color: var(--ink-3);
  padding: 4px 0;
}
.ep-card h4 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 20px; line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.ep-card h4 em { font-style: italic; color: var(--ev-acc, var(--accent)); }
.ep-card:hover h4 { color: var(--ev-acc, var(--accent)); }
.ep-card p {
  font-family: var(--f-body); font-size: 13.5px;
  color: var(--ink-3); line-height: 1.5;
}
.ep-card .meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-body); font-size: 12px;
  color: var(--ink-2);
}
.ep-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.ep-card .meta svg { width: 13px; height: 13px; color: var(--ev-acc, var(--ink-3)); }
.ep-card-cta { display: flex; align-items: center; }
.ep-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; height: 40px;
  border-radius: 99px;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--f-body); font-weight: 600; font-size: 12.5px;
  white-space: nowrap;
}
.ep-card:hover .ep-card-btn {
  background: var(--ev-acc, var(--ink));
  color: var(--paper);
  border-color: var(--ev-acc, var(--ink));
}
.ep-card-btn svg { width: 12px; height: 12px; }

.ep-card.past { opacity: 0.7; }
.ep-card.past .ep-card-btn { border-color: var(--paper-edge); color: var(--ink-3); }
.ep-card.past:hover { transform: none; border-color: var(--paper-edge); box-shadow: none; }
.ep-card.past:hover .ep-card-btn { background: transparent; color: var(--ink-3); border-color: var(--paper-edge); }
.ep-card.past:hover h4 { color: var(--ink-2); }

@media (max-width: 720px) {
  .ep-card { grid-template-columns: 72px 1fr; padding: 18px 20px; gap: 18px; }
  .ep-card-date { padding-right: 18px; }
  .ep-card-date .d { font-size: 36px; }
  .ep-card-cta { grid-column: 2; }
}

/* ---------- Sidebar: calendar + quick links ---------- */
.ep-side { position: sticky; top: calc(76px + 90px); display: flex; flex-direction: column; gap: 22px; }
.ep-cal-card {
  background: var(--bg-card);
  border: 1px solid var(--paper-edge);
  border-radius: 14px;
  padding: 22px;
}
.ep-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.ep-cal-head h5 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 18px; letter-spacing: -0.01em;
}
.ep-cal-head .yr {
  font-family: var(--f-disp); font-style: italic; font-weight: 400;
  font-size: 14px; color: var(--ink-3); margin-left: 6px;
}
.ep-cal-head .nav { display: flex; gap: 4px; }
.ep-cal-head .nav button {
  width: 28px; height: 28px; border-radius: 99px;
  background: transparent; border: 1px solid var(--paper-edge);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); cursor: pointer;
  transition: all 0.16s ease;
}
.ep-cal-head .nav button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ep-cal-head .nav button svg { width: 12px; height: 12px; }
.ep-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px;
}
.ep-dow {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-3); text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
}
.ep-d {
  position: relative;
  font-family: var(--f-disp); font-weight: 500;
  font-size: 13px; color: var(--ink);
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.14s ease, color 0.14s ease;
}
.ep-d:hover { background: var(--paper-2); color: var(--accent); }
.ep-d.pad, .ep-d.mute { color: var(--ink-4); }
.ep-d.has { font-weight: 700; }
.ep-d.today { background: var(--ink); color: var(--paper); }
.ep-d.today:hover { background: var(--accent); color: var(--paper); }
.ep-d .pip {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 3px; width: 4px; height: 4px; border-radius: 99px;
}
.ep-d.today .pip { background: var(--paper) !important; }

.ep-quick {
  background: #14110D;
  color: #F5F1EA;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ep-quick::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='6'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 0.9 0 0 0 0 0.7 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen; pointer-events: none;
}
.ep-quick h5 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 22px; line-height: 1.1;
  letter-spacing: -0.015em;
  color: #F5F1EA;
  margin-bottom: 8px;
}
.ep-quick h5 em { color: var(--gold-soft); font-style: italic; }
.ep-quick p {
  font-family: var(--f-disp); font-style: italic;
  font-size: 14px; line-height: 1.45;
  color: rgba(245,241,234,0.72);
  margin-bottom: 18px;
}
.ep-quick form { display: flex; gap: 6px; }
.ep-quick input {
  flex: 1; background: rgba(245,241,234,0.06);
  border: 1px solid rgba(245,241,234,0.16);
  padding: 0 14px; height: 40px;
  border-radius: 99px;
  font-family: var(--f-body); font-size: 13px;
  color: #F5F1EA; outline: none;
}
.ep-quick input::placeholder { color: rgba(245,241,234,0.4); }
.ep-quick button {
  background: var(--gold); color: #1A1A1A;
  border: 0; cursor: pointer;
  padding: 0 18px; height: 40px;
  border-radius: 99px;
  font-family: var(--f-body); font-weight: 700; font-size: 12px;
  white-space: nowrap;
}
.ep-quick button:hover { background: var(--gold-soft); }

.ep-tags-card {
  border: 1px solid var(--paper-edge);
  border-radius: 14px;
  padding: 22px;
  background: var(--paper);
}
.ep-tags-card h5 {
  font-family: var(--f-body); font-weight: 700;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.ep-tags-list { display: flex; flex-direction: column; gap: 4px; }
.ep-tags-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 8px;
  border-radius: 6px;
  font-family: var(--f-disp); font-weight: 500;
  font-size: 14.5px; color: var(--ink);
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--paper-edge);
  text-decoration: none;
  transition: padding 0.32s cubic-bezier(.2,.8,.2,1), background 0.2s ease;
}
.ep-tags-list a:last-child { border-bottom: 0; }
.ep-tags-list a:hover { background: var(--paper-2); padding-left: 14px; color: var(--accent); }
.ep-tags-list a .c {
  font-family: var(--f-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3);
}
.ep-tags-list a:hover .c { color: var(--accent); }
