/* ==========================================================================
   İLKE — etkinlik-detay.css  (Single event detail page)
   Inherits index3.css for header/footer/mega menu.
   ========================================================================== */

.ed-crumbs {
  padding: 20px 0 0;
  font-family: var(--f-body);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.ed-crumbs .shell { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ed-crumbs a { color: var(--ink-3); }
.ed-crumbs a:hover { color: var(--accent); }
.ed-crumbs .sep { color: var(--ink-4); }
.ed-crumbs .here { color: var(--ink); font-weight: 600; }

/* ---------- Hero banner ---------- */
.ed-hero {
  padding: 32px 0 56px;
}
.ed-hero-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #9E2A20 0%, #C8341E 100%);
  color: #F5F1EA;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: center;
}
.ed-hero-card::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;
}
.ed-hero-pet {
  position: absolute; right: -120px; top: -160px;
  width: 460px; height: 460px;
  color: #F2D9D4; opacity: 0.14; pointer-events: none; z-index: -1;
}
.ed-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ed-hero-tags .tag {
  font-family: var(--f-body); font-weight: 700;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 11px;
}
.ed-hero-tags .live { background: #F5F1EA; color: #9E2A20; display: inline-flex; align-items: center; gap: 8px; }
.ed-hero-tags .live i { width: 6px; height: 6px; border-radius: 99px; background: #9E2A20; animation: blink 1.4s ease-in-out infinite; }
.ed-hero-tags .g { background: rgba(245,241,234,0.14); color: #F5F1EA; }
.ed-hero h1 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1.0;
  letter-spacing: -0.03em; color: #F5F1EA;
  margin: 0 0 18px; text-wrap: balance;
}
.ed-hero h1 em { font-style: italic; color: #F2D9D4; }
.ed-hero .deck {
  font-family: var(--f-disp); font-style: italic; font-weight: 400;
  font-size: 18px; line-height: 1.5;
  color: rgba(245,241,234,0.86); max-width: 56ch;
}
/* big date block */
.ed-datebox {
  background: rgba(245,241,234,0.10);
  border: 1px solid rgba(245,241,234,0.20);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}
.ed-datebox .day {
  font-family: var(--f-disp); font-weight: 400; font-style: italic;
  font-size: 88px; line-height: 0.9; letter-spacing: -0.04em; color: #F5F1EA;
}
.ed-datebox .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;
}
.ed-datebox .dow {
  font-family: var(--f-disp); font-style: italic;
  font-size: 14px; color: rgba(245,241,234,0.72);
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(245,241,234,0.20);
}
@media (max-width: 880px) {
  .ed-hero-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .ed-datebox { display: flex; align-items: center; gap: 18px; text-align: left; padding: 20px 24px; }
  .ed-datebox .day { font-size: 56px; }
  .ed-datebox .mon, .ed-datebox .dow { margin: 0; padding: 0; border: 0; }
}

/* ---------- Body layout ---------- */
.ed-body { padding: 0 0 80px; }
.ed-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 980px) { .ed-grid { grid-template-columns: 1fr; gap: 40px; } }

/* main content */
.ed-section { margin-bottom: 44px; }
.ed-h {
  font-family: var(--f-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  display: flex; align-items: baseline; gap: 14px;
}
.ed-h::after { content: ""; flex: 1; height: 1px; background: var(--paper-edge); }
.ed-h .n {
  font-family: var(--f-disp); font-style: italic; font-weight: 400;
  font-size: 14px; color: var(--ink-3); letter-spacing: 0; text-transform: none;
}
.ed-rich p {
  font-family: var(--f-disp); font-size: 16.5px; line-height: 1.7;
  color: var(--ink-2); margin: 0 0 16px; max-width: 68ch; text-wrap: pretty;
}
.ed-rich p:first-child::first-letter {
  font-family: var(--f-disp); font-style: italic; font-weight: 500;
  font-size: 3.4em; line-height: 0.85; float: left;
  color: var(--accent); margin: 0.06em 0.1em 0 -0.02em;
}
.ed-rich p em { font-style: italic; color: var(--accent); }

/* program / agenda timeline */
.ed-program { list-style: none; margin: 0; padding: 0; }
.ed-program li {
  display: grid; grid-template-columns: 92px 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--paper-edge);
  align-items: baseline;
}
.ed-program li:last-child { border-bottom: 0; }
.ed-program .pt {
  font-family: var(--f-mono, "JetBrains Mono", monospace); font-weight: 500;
  font-size: 13px; letter-spacing: 0.04em; color: var(--accent);
}
.ed-program .pb h5 {
  font-family: var(--f-disp); font-weight: 500; font-size: 17px;
  color: var(--ink); letter-spacing: -0.005em; margin: 0 0 4px; line-height: 1.25;
}
.ed-program .pb span {
  font-family: var(--f-body); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.02em;
}

/* speakers */
.ed-speakers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ed-speaker {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--paper-edge); border-radius: 12px;
  background: var(--bg-card);
}
.ed-speaker .av {
  width: 56px; height: 56px; border-radius: 99px;
  background: var(--paper-2); border: 1px solid var(--paper-edge);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-weight: 600; font-style: italic;
  font-size: 20px; color: var(--ink); letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.ed-speaker .nm { font-family: var(--f-disp); font-weight: 500; font-size: 16px; color: var(--ink); letter-spacing: -0.005em; line-height: 1.2; }
.ed-speaker .rl { font-family: var(--f-body); font-size: 12px; color: var(--ink-3); margin-top: 5px; letter-spacing: 0.02em; }
.ed-speaker .tg {
  margin-top: 10px; font-family: var(--f-body); font-weight: 700;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
@media (max-width: 720px) { .ed-speakers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ed-speakers { grid-template-columns: 1fr; } }

/* ---------- Sidebar ---------- */
.ed-side { position: sticky; top: calc(76px + 24px); display: flex; flex-direction: column; gap: 18px; }
.ed-card {
  border: 1px solid var(--paper-edge); border-radius: 14px;
  background: var(--bg-card); padding: 24px;
}
.ed-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: 0 0 16px;
}
.ed-info { display: flex; flex-direction: column; }
.ed-info-row {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--paper-edge);
  align-items: flex-start;
}
.ed-info-row:last-child { border-bottom: 0; }
.ed-info-row svg { width: 17px; height: 17px; color: var(--accent); margin-top: 2px; }
.ed-info-row .k { font-family: var(--f-body); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.ed-info-row .v { font-family: var(--f-disp); font-size: 15px; color: var(--ink); letter-spacing: -0.005em; line-height: 1.3; margin-top: 2px; }
.ed-info-row .v b { font-weight: 600; }

.ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 18px; border-radius: 99px;
  font-family: var(--f-body); font-weight: 600; font-size: 13.5px;
  cursor: pointer; border: 0; text-decoration: none;
  transition: all 0.16s ease; margin-bottom: 10px;
}
.ed-btn:last-child { margin-bottom: 0; }
.ed-btn.primary { background: var(--accent); color: #fff; }
.ed-btn.primary:hover { filter: brightness(0.92); }
.ed-btn.dark { background: var(--ink); color: var(--paper); }
.ed-btn.dark:hover { background: var(--accent); }
.ed-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.ed-btn.ghost:hover { background: var(--ink); color: var(--paper); }
.ed-btn svg { width: 15px; height: 15px; }

/* mini map placeholder */
.ed-map {
  height: 150px; border-radius: 10px; overflow: hidden;
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, #E0E6CF 0%, #DDECEB 100%);
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.ed-map::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M0 20h40M20 0v40' stroke='%234A6B3A' stroke-width='0.5' opacity='0.3'/></svg>");
}
.ed-map .pin {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 99px 99px 99px 2px;
  background: var(--accent); transform: rotate(45deg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.ed-map .pin::after { content: ""; position: absolute; inset: 11px; background: #fff; border-radius: 99px; }

.ed-share { display: flex; gap: 8px; }
.ed-share a {
  flex: 1; height: 40px; border-radius: 8px;
  border: 1px solid var(--paper-edge);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: all 0.16s ease;
}
.ed-share a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ed-share svg { width: 15px; height: 15px; }

/* ---------- Related events ---------- */
.ed-related { padding: 64px 0; background: var(--paper-2); }
.ed-related-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--ink);
}
.ed-related-head h2 { font-family: var(--f-disp); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -0.02em; }
.ed-related-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.ed-related-head .eyebrow { font-family: var(--f-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; }
.ed-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ed-rel-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  padding: 20px; border-radius: 12px; background: var(--paper);
  border: 1px solid var(--paper-edge); text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease;
}
.ed-rel-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rc, var(--ink)); }
.ed-rel-card:hover { transform: translateY(-3px); border-color: var(--rc, var(--ink)); }
.ed-rel-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 10px;
  background: var(--paper-2); border: 1px solid var(--paper-edge); line-height: 1;
}
.ed-rel-date .d { font-family: var(--f-disp); font-weight: 500; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); }
.ed-rel-date .m { font-family: var(--f-body); font-weight: 600; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.ed-rel-body .tag { font-family: var(--f-body); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rc, var(--accent)); }
.ed-rel-body h4 { font-family: var(--f-disp); font-weight: 500; font-size: 16px; line-height: 1.2; color: var(--ink); letter-spacing: -0.005em; margin: 6px 0 4px; }
.ed-rel-card:hover h4 { color: var(--rc, var(--accent)); }
.ed-rel-body .mt { font-family: var(--f-body); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; }
@media (max-width: 880px) { .ed-related-grid { grid-template-columns: 1fr; } }
