/* ==========================================================================
   İLKE — merkez.css  (Center detail page — EPAM example)
   Uses CSS vars set via inline style: --m-bg, --m-acc, --m-ink, --m-soft
   ========================================================================== */

/* ---------- Hero ---------- */
.mk-hero {
  position: relative;
  padding: 64px 0 72px;
  background: var(--m-bg);
  color: var(--m-ink, #F5F1EA);
  overflow: hidden;
  isolation: isolate;
}
.mk-hero::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.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none; mix-blend-mode: multiply;
}
.mk-hero-pet {
  position: absolute; right: -180px; bottom: -260px;
  width: 720px; height: 720px;
  color: var(--m-soft, #fff); opacity: 0.10;
  pointer-events: none; z-index: -1;
}
.mk-hero .shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.mk-crumbs {
  font-family: var(--f-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.6);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.mk-crumbs a { color: rgba(245,241,234,0.7); text-decoration: none; }
.mk-crumbs a:hover { color: var(--m-ink, #F5F1EA); }
.mk-crumbs .here { color: var(--m-ink, #F5F1EA); font-weight: 700; }
.mk-crumbs .sep { color: rgba(245,241,234,0.35); }

.mk-hero-logo {
  height: 64px; width: auto; display: block;
  margin-bottom: 26px;
  filter: brightness(0) invert(1);
  max-width: 280px;
}
.mk-hero h1 {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--m-ink, #F5F1EA);
  margin: 0 0 18px;
  text-wrap: balance;
  max-width: 22ch;
}
.mk-hero h1 em { font-style: italic; color: var(--m-soft, #F2D9D4); font-weight: 400; }
.mk-hero p {
  font-family: var(--f-disp); font-style: italic;
  font-size: 18px; line-height: 1.5;
  color: rgba(245,241,234,0.86);
  max-width: 56ch;
  margin: 0 0 28px;
}
.mk-hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.mk-hero-cta .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 99px;
  font-family: var(--f-body); font-weight: 600; font-size: 13.5px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.mk-hero-cta .btn.primary { background: var(--gold); color: #1A1A1A; }
.mk-hero-cta .btn.primary:hover { background: var(--gold-soft); }
.mk-hero-cta .btn.ghost {
  background: rgba(245,241,234,0.10);
  color: var(--m-ink, #F5F1EA);
  border: 1px solid rgba(245,241,234,0.30);
}
.mk-hero-cta .btn.ghost:hover { background: rgba(245,241,234,0.20); }
.mk-hero-cta .btn svg { width: 14px; height: 14px; }

.mk-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(245,241,234,0.08);
  border: 1px solid rgba(245,241,234,0.16);
  border-radius: 14px;
  padding: 24px 28px;
  min-width: 280px;
}
.mk-stats > div {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245,241,234,0.14);
  gap: 18px;
}
.mk-stats > div:last-child { border-bottom: 0; }
.mk-stats b {
  font-family: var(--f-disp); font-weight: 500; font-style: italic;
  font-size: 32px; letter-spacing: -0.025em;
  color: var(--m-ink, #F5F1EA); line-height: 1;
}
.mk-stats b small { font-size: 18px; color: var(--m-soft, #F2D9D4); }
.mk-stats span {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,241,234,0.74);
  text-align: right;
}

@media (max-width: 980px) {
  .mk-hero .shell { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Tabs ---------- */
.mk-tabs {
  position: sticky; top: 76px; z-index: 20;
  background: rgba(245,241,234,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-edge);
}
.mk-tabs .shell {
  display: flex; gap: 4px; align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.mk-tabs .shell::-webkit-scrollbar { display: none; }
.mk-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 18px 16px;
  font-family: var(--f-body); font-weight: 600; font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}
.mk-tab:hover { color: var(--m-acc); }
.mk-tab.on { color: var(--m-acc); }
.mk-tab.on::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px;
  height: 2px; background: var(--m-acc);
}
.mk-tab .ct {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; padding: 2px 7px;
  background: var(--paper-2);
  border-radius: 99px;
  font-size: 11px; font-weight: 700;
  color: var(--ink-3);
}
.mk-tab.on .ct { background: var(--m-acc); color: #fff; }

/* ---------- Common section style ---------- */
.mk-section { padding: 64px 0; }
.mk-section.tight { padding: 48px 0; }
.mk-section.alt { background: var(--paper-2); }
.mk-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}
.mk-section-head .lbl {
  font-family: var(--f-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--m-acc);
  margin-bottom: 8px;
  display: block;
}
.mk-section-head h2 {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.0; letter-spacing: -0.02em;
}
.mk-section-head h2 em { font-style: italic; color: var(--m-acc); font-weight: 400; }
.mk-section-head .more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-family: var(--f-body); font-weight: 600; font-size: 12.5px;
  color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.mk-section-head .more:hover { background: var(--ink); color: var(--paper); }
.mk-section-head .more svg { width: 12px; height: 12px; }

/* ---------- "Hakkımızda" intro ---------- */
.mk-intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.mk-intro-body p {
  font-family: var(--f-disp);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 14px;
  text-wrap: pretty;
}
.mk-intro-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--f-disp); font-style: italic; font-weight: 500;
  font-size: 4.2em; line-height: 0.85;
  color: var(--m-acc);
  margin: 0.05em 0.08em 0 -0.02em;
}
.mk-intro-aside {
  background: var(--bg-card);
  border: 1px solid var(--paper-edge);
  border-radius: 14px;
  padding: 26px;
}
.mk-intro-aside h4 {
  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 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-edge);
}
.mk-intro-aside dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 16px;
  margin: 0;
}
.mk-intro-aside dt {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}
.mk-intro-aside dd {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 14.5px;
  color: var(--ink); letter-spacing: -0.005em;
  margin: 0;
}
.mk-intro-aside dd a { color: var(--m-acc); border-bottom: 1px solid var(--m-acc); padding-bottom: 1px; }
@media (max-width: 880px) { .mk-intro { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Yayınlar shelf ---------- */
.mk-pubs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.mk-pub {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  cursor: pointer;
}
.mk-pub-cover {
  position: relative;
  aspect-ratio: 3/4.2;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(26,26,26,0.08), 0 1px 2px rgba(26,26,26,0.04);
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease;
}
.mk-pub:hover .mk-pub-cover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(26,26,26,0.14); }
.mk-pub-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-pub-cover .chip {
  position: absolute; top: 10px; left: 10px;
  background: var(--m-acc);
  color: #fff;
  padding: 4px 8px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
}
.mk-pub .type {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.mk-pub h4 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 15.5px; line-height: 1.2;
  color: var(--ink); letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0 0 4px;
}
.mk-pub:hover h4 { color: var(--m-acc); }
.mk-pub .meta {
  font-family: var(--f-body); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
}
@media (max-width: 1024px) { .mk-pubs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mk-pubs { grid-template-columns: 1fr; } }

/* ---------- Etkinlikler ---------- */
.mk-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mk-evt {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--paper-edge);
  border-radius: 12px;
  text-decoration: none; color: inherit;
  position: relative;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease;
}
.mk-evt:hover { transform: translateY(-3px); border-color: var(--m-acc); }
.mk-evt::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--m-acc);
}
.mk-evt-date {
  text-align: left;
  border-right: 1px solid var(--paper-edge);
  padding-right: 20px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.mk-evt-date .d {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 40px; letter-spacing: -0.035em;
  color: var(--ink); line-height: 1;
}
.mk-evt-date .m {
  font-family: var(--f-body); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 6px;
}
.mk-evt-body { display: flex; flex-direction: column; gap: 6px; }
.mk-evt-tag {
  font-family: var(--f-body); font-weight: 700;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--m-acc);
}
.mk-evt h4 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 17px; line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
.mk-evt:hover h4 { color: var(--m-acc); }
.mk-evt .meta {
  font-family: var(--f-body); font-size: 12px;
  color: var(--ink-3); letter-spacing: 0.04em;
  margin-top: 4px;
}
@media (max-width: 720px) { .mk-events { grid-template-columns: 1fr; } }

/* ---------- Araştırmacılar ---------- */
.mk-team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.mk-person {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  cursor: pointer;
}
.mk-person-portrait {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 12px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 14px;
  border: 1px solid var(--paper-edge);
  margin-bottom: 14px;
  isolation: isolate;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
}
.mk-person:hover .mk-person-portrait { transform: translateY(-4px); }
.mk-person-portrait::before {
  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'><defs><pattern id='s' patternUnits='userSpaceOnUse' width='6' height='6' patternTransform='rotate(45)'><line x1='0' y1='0' x2='0' y2='6' stroke='%23A8A39A' stroke-width='0.7'/></pattern></defs><rect width='100%25' height='100%25' fill='url(%23s)'/></svg>");
  opacity: 0.50;
}
.mk-person-portrait .initials {
  position: relative; z-index: 1;
  width: 88px; height: 88px;
  border-radius: 99px;
  background: var(--m-acc);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-top: auto;
  margin-bottom: 18px;
}
.mk-person-portrait .role-pill {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: var(--paper);
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--paper-edge);
  font-family: var(--f-body); font-weight: 700;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  z-index: 2;
}
.mk-person h4 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 16px; line-height: 1.2;
  color: var(--ink); letter-spacing: -0.005em;
  margin: 0 0 4px;
}
.mk-person:hover h4 { color: var(--m-acc); }
.mk-person .field {
  font-family: var(--f-disp); font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
@media (max-width: 880px) { .mk-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mk-team { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* ---------- Projeler ---------- */
.mk-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.mk-project {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--paper-edge);
  padding: 28px 28px 24px;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), border-color 0.24s ease, box-shadow 0.32s ease;
}
.mk-project:hover {
  transform: translateY(-4px);
  border-color: var(--m-acc);
  box-shadow: 0 18px 36px rgba(26,26,26,0.08);
}
.mk-project::after {
  content: ""; position: absolute; right: -80px; bottom: -120px;
  width: 320px; height: 320px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200'><g fill='%23000' opacity='0.08'><path d='M0,-60 C 22,-54 34,-30 20,-6 C 10,8 -10,8 -20,-6 C -34,-30 -22,-54 0,-60 Z'/><path d='M0,-60 C 22,-54 34,-30 20,-6 C 10,8 -10,8 -20,-6 C -34,-30 -22,-54 0,-60 Z' transform='rotate(60)'/><path d='M0,-60 C 22,-54 34,-30 20,-6 C 10,8 -10,8 -20,-6 C -34,-30 -22,-54 0,-60 Z' transform='rotate(120)'/></g></svg>");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.5; z-index: -1; pointer-events: none;
}
.mk-project .ptag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 700;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 4px 9px;
  background: var(--m-acc); color: #fff;
  margin-bottom: 18px;
}
.mk-project .ptag.alt { background: var(--paper-2); color: var(--ink-2); }
.mk-project h4 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 22px; line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
.mk-project h4 em { font-style: italic; color: var(--m-acc); }
.mk-project p {
  font-family: var(--f-body); font-size: 13.5px;
  line-height: 1.55; color: var(--ink-3);
  margin-bottom: 18px;
}
.mk-project .pfoot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--paper-edge);
  gap: 12px;
  font-family: var(--f-body); font-size: 11.5px;
  color: var(--ink-3); letter-spacing: 0.04em;
}
.mk-project .pfoot b { color: var(--ink); font-weight: 600; }
.mk-project .progress {
  flex: 1; max-width: 140px;
  height: 4px; background: var(--paper-2); border-radius: 99px; overflow: hidden;
}
.mk-project .progress i {
  display: block; height: 100%;
  background: var(--m-acc);
  border-radius: 99px;
}
@media (max-width: 880px) { .mk-projects { grid-template-columns: 1fr; } }

/* ---------- Haberler list (compact) ---------- */
.mk-news-list { display: flex; flex-direction: column; gap: 0; }
.mk-news {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--paper-edge);
  text-decoration: none; color: inherit;
  cursor: pointer;
  transition: padding 0.32s cubic-bezier(.2,.8,.2,1), background 0.24s ease;
}
.mk-news:hover { padding: 18px 16px; background: var(--paper-2); border-radius: 8px; border-bottom-color: transparent; }
.mk-news .date {
  font-family: var(--f-disp); font-style: italic; font-weight: 400;
  font-size: 18px; color: var(--ink); letter-spacing: -0.015em;
  line-height: 1;
}
.mk-news .date small {
  display: block; font-family: var(--f-body); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 6px; font-style: normal; font-weight: 700;
}
.mk-news .body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mk-news .cat {
  font-family: var(--f-body); font-weight: 700;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--m-acc);
}
.mk-news h5 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: 16px; line-height: 1.25;
  letter-spacing: -0.005em; color: var(--ink);
  margin: 0;
}
.mk-news:hover h5 { color: var(--m-acc); }
.mk-news .arr {
  width: 36px; height: 36px;
  border-radius: 99px;
  border: 1px solid var(--paper-edge);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.mk-news:hover .arr { background: var(--m-acc); color: #fff; border-color: var(--m-acc); transform: translate(2px,-2px); }
.mk-news .arr svg { width: 13px; height: 13px; }
@media (max-width: 600px) {
  .mk-news { grid-template-columns: 1fr auto; gap: 14px; }
  .mk-news .date { display: none; }
}

/* ---------- CTA band ---------- */
.mk-cta {
  background: var(--m-bg);
  color: var(--m-ink, #F5F1EA);
  border-radius: 16px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.mk-cta::after {
  content: ""; position: absolute; right: -120px; bottom: -160px;
  width: 380px; height: 380px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200'><g fill='%23fff' opacity='0.16'><path d='M0,-60 C 22,-54 34,-30 20,-6 C 10,8 -10,8 -20,-6 C -34,-30 -22,-54 0,-60 Z'/><path d='M0,-60 C 22,-54 34,-30 20,-6 C 10,8 -10,8 -20,-6 C -34,-30 -22,-54 0,-60 Z' transform='rotate(60)'/><path d='M0,-60 C 22,-54 34,-30 20,-6 C 10,8 -10,8 -20,-6 C -34,-30 -22,-54 0,-60 Z' transform='rotate(120)'/></g></svg>");
  background-size: contain; background-repeat: no-repeat;
  z-index: -1; pointer-events: none;
}
.mk-cta h3 {
  font-family: var(--f-disp); font-weight: 500;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--m-ink, #F5F1EA);
}
.mk-cta h3 em { font-style: italic; color: var(--m-soft, #F2D9D4); }
.mk-cta p {
  font-family: var(--f-disp); font-style: italic;
  font-size: 15px;
  color: rgba(245,241,234,0.78);
  max-width: 56ch; margin: 0;
}
.mk-cta .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 99px;
  background: var(--gold); color: #1A1A1A;
  font-family: var(--f-body); font-weight: 700; font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease;
}
.mk-cta .btn:hover { background: var(--gold-soft); }
.mk-cta .btn svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .mk-cta { grid-template-columns: 1fr; padding: 28px; } }
