@charset "UTF-8";
/* ==========================================================================
   NEG Hukuk & Danışmanlık — cms.css
   HTML temasında karşılığı olmayan, CMS motorundan gelen bileşenlerin
   NEG tasarım diline uyarlanmış stilleri. Tema dosyaları (style, pages,
   animations, responsive) olduğu gibi korunur; eklemeler yalnızca burada.

   01 Çerez onayı                    05 İş ortakları
   02 Form uyarıları                 06 Hızlı iletişim ince ayarları
   03 Makaleler (filtre, arama)      07 Ekibimiz (kart, liste, kişi sayfası)
   04 CMS / zengin metin içeriği     08 404
   ========================================================================== */

/* 01 — Çerez onayı (sayfa açıldıktan 3 sn sonra — app.js)
   ========================================================================== */
.cookie-consent {
  position: fixed; left: 24px; bottom: 24px; z-index: 1050;
  width: min(500px, calc(100% - 48px)); padding: 30px 32px 32px;
  border-radius: 26px; background: var(--primary); color: var(--white);
  box-shadow: 0 30px 70px -28px rgba(10, 42, 102, .7);
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.cookie-consent.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.cookie-consent__title { margin: 0 0 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
.cookie-consent__desc { margin: 0 0 24px; font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.cookie-consent__link { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__link:hover { color: var(--white); text-decoration-thickness: 2px; }
.cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cookie-consent__btn {
  height: 58px; padding: 0 18px; border-radius: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.cookie-consent__btn:active { transform: scale(.98); }
.cookie-consent__btn--reject { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .32); }
.cookie-consent__btn--reject:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.cookie-consent__btn--accept { background: var(--white); color: var(--text); border: 1px solid var(--white); }
.cookie-consent__btn--accept:hover { background: #eef3ff; }

/* 02 — Form uyarıları
   ========================================================================== */
.form-alert {
  display: flex; align-items: flex-start; gap: 10px;
  margin: -12px 0 28px; padding: 14px 16px; border-radius: 12px;
  font-size: .92rem; line-height: 1.5;
}
.form-alert i { font-size: 1.15rem; line-height: 1.2; }
.form-alert--success { background: rgba(32, 199, 217, .1); border: 1px solid rgba(32, 199, 217, .35); color: #0b5d67; }
.form-alert--error { background: rgba(214, 69, 61, .07); border: 1px solid rgba(214, 69, 61, .3); color: #9b2a24; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.contact-list__text { font-family: var(--font-head); font-size: 1rem; }

/* 03 — Makaleler (filtre, arama, etiket, daha fazla)
   ========================================================================== */
.blog-tools {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(36px, 4vw, 56px); padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--text); font-size: .88rem;
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.blog-filter__btn span { font-size: .72rem; color: var(--muted); }
.blog-filter__btn:hover { border-color: var(--primary); color: var(--primary); }
.blog-filter__btn.is-active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.blog-filter__btn.is-active span { color: var(--soft); }
.blog-search {
  display: flex; align-items: center; gap: 10px; min-width: min(320px, 100%);
  padding: 0 4px 8px; border-bottom: 1px solid var(--line-strong); color: var(--muted);
}
.blog-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1rem; color: var(--text); padding: 6px 0; }
.blog-search input:focus { outline: none; }
.blog-search:focus-within { border-color: var(--primary); color: var(--primary); }
.blog-empty { margin: 32px 0 0; color: var(--muted); }
.blog-more { display: flex; justify-content: center; margin-top: clamp(48px, 5vw, 72px); }
.blog-more[hidden], .blog-empty[hidden] { display: none; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.post-tags li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* 04 — CMS / zengin metin içeriği (admin panelinden girilen içerikler)
   ========================================================================== */
.prose h2[id], .prose h3[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose > h2:not(:first-child) { margin-top: clamp(40px, 4vw, 56px); }
.prose h4 { font-size: 1.05rem; margin: 24px 0 8px; }
.prose ol:not([class]) { list-style: decimal; padding-left: 22px; margin: 0 0 22px; }
.prose ol:not([class]) li { padding: 6px 0 6px 6px; line-height: 1.7; color: #2b3547; }
.prose ol:not([class]) li::marker { color: var(--primary); font-weight: 600; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-img); margin: 8px 0 24px; }
.prose figure { margin: 8px 0 28px; }
.prose figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--primary);
  font-family: var(--font-head); font-size: 1.15rem; line-height: 1.6; color: var(--text);
}
.prose blockquote p { color: inherit; }
.prose table:not([class]) { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: .95rem; }
.prose table:not([class]) th, .prose table:not([class]) td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose table:not([class]) th { font-weight: 500; border-bottom-color: var(--line-strong); }
.prose hr { margin: 40px 0; border-color: var(--line-strong); opacity: 1; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--light); color: var(--primary-deep); font-size: .9em; }
.prose iframe { max-width: 100%; border: 0; border-radius: var(--r-img); }
.prose--wide { max-width: 880px; margin: 0 auto; }

/* 05 — İş ortakları
   ========================================================================== */
.partners-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.partner-card {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--white);
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.partner-card:hover { border-color: rgba(23, 105, 255, .4); box-shadow: 0 24px 48px -36px rgba(7, 17, 31, .4); }
.partner-card__logo {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 14px;
  background: var(--light); overflow: hidden;
}
.partner-card__logo img { max-width: 80%; max-height: 80%; object-fit: contain; margin: 0; border-radius: 0; }
.partner-card__logo span { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); }
.prose .partner-card__name { margin: 0 0 2px; font-family: var(--font-head); font-weight: 500; color: var(--text); }
.prose .partner-card__meta { margin: 0 0 8px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.prose .partner-card__desc { margin: 0 0 10px; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.partner-card__link { font-size: .85rem; color: var(--primary-dark); }
.partner-card__link:hover { color: var(--primary); }

/* 06 — Hızlı iletişim ince ayarları
   ========================================================================== */
@media (max-width: 767.98px) {
  body:not(:has(.action-bar)) { padding-bottom: 0; }
  .action-bar a:only-of-type { border-radius: 17px; }
  .cookie-consent { left: 12px; right: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); }
  body:not(:has(.action-bar)) .cookie-consent { bottom: 12px; }
  .partners-grid { grid-template-columns: 1fr; }
  .blog-tools { flex-direction: column; align-items: stretch; }
}

/* 07 — Ekibimiz (kart, liste, kişi sayfası)
   ========================================================================== */
/* Kartın tamamı kişi sayfasına bağlantı; sosyal ikonlar üstte ayrı bağlantılar */
.tcard--link .tcard__link { color: inherit; }
.tcard--link .tcard__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.tcard--link .tcard__link:focus-visible { outline: none; }
.tcard--link:has(.tcard__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.tcard__initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 200; font-size: clamp(4rem, 3rem + 4vw, 7rem); letter-spacing: -.06em;
  color: rgba(255, 255, 255, .18); background: radial-gradient(80% 60% at 30% 20%, rgba(23, 105, 255, .35), transparent 70%), var(--dark-soft);
}
.tcard__socials { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; gap: 6px; }
.tcard__socials a {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7, 17, 31, .45); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); font-size: .95rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.tcard__socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-2px); }

/* Ekip listesi: 3'lü basamak ritmi her satırda tekrar eder */
.team--page .tcard:nth-child(n) { margin-top: 0; }
.team--page .tcard:nth-child(3n + 2) { margin-top: var(--step); }
.team--page .tcard:nth-child(3n + 3) { margin-top: calc(var(--step) * 2); }
.team--page .team__track { row-gap: calc(var(--tgap) * 2); }

/* Kişi sayfası */
.person-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.person-card { position: sticky; top: calc(var(--nav-h) + 24px); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--white); overflow: hidden; box-shadow: 0 40px 80px -56px rgba(7, 17, 31, .45); }
.person-card__media { aspect-ratio: 3 / 4; border-radius: 0; }
.person-card__initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 200; font-size: 6rem; letter-spacing: -.06em; color: rgba(255, 255, 255, .22);
}
.person-card__body { padding: 24px; display: grid; gap: 18px; }
.person-card__role { margin: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.person-card__name { margin: -12px 0 0; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.025em; color: var(--text); }
.person-card__contacts { border-top: 1px solid var(--line); }
.person-card__contacts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.person-card__contacts i { color: var(--primary); font-size: 1.1rem; line-height: 1.5; }
.person-card__contacts small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.person-card__contacts a { font-family: var(--font-head); color: var(--text); overflow-wrap: anywhere; }
.person-card__contacts a:hover { color: var(--primary); }
.person-card__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.person-card__socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text); font-size: 1.1rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.person-card__socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.person-prose { max-width: 760px; }
.person-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.person-tags li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; color: var(--text); }

/* 08 — 404
   ========================================================================== */
.nf {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh;
  background: var(--dark); color: var(--white);
  padding: calc(var(--topbar-h) + var(--nav-h) + clamp(48px, 6vw, 96px)) 0 clamp(56px, 6vw, 96px);
}
.nf__bg { position: absolute; inset: 0; z-index: -1; }
.nf__glow {
  position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -20vw; border-radius: 50%;
  background: var(--primary); opacity: .22; filter: blur(110px); animation: drift 20s var(--ease) infinite alternate;
}
.nf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.nf__title { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 24px; }
.nf__title em { font-style: normal; font-weight: 300; color: rgba(255, 255, 255, .5); }
.nf__lead { max-width: 52ch; margin: 0 0 20px; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.7; color: rgba(255, 255, 255, .8); }
.nf__url { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 36px; font-size: .8rem; color: var(--soft); }
.nf__url span { letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; }
.nf__url code { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light); color: var(--white); font-size: .82rem; max-width: 100%; overflow-wrap: anywhere; }

.nf__art { position: relative; aspect-ratio: 520 / 420; }
.nf__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf__path { stroke: var(--primary); stroke-width: 2; stroke-dasharray: 900; stroke-dashoffset: 900; animation: nfDraw 1.8s var(--ease-out) .3s forwards; }
.nf__path--broken { stroke: var(--accent); stroke-dasharray: 6 8; stroke-dashoffset: 0; opacity: 0; animation: nfFade .8s var(--ease) 1.6s forwards; }
.nf__path--ghost { stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 2 7; stroke-dashoffset: 0; animation: none; }
.nf__dot { fill: var(--primary); opacity: 0; animation: nfFade .5s var(--ease) 1.2s forwards; }
.nf__dot--end { fill: var(--accent); animation-delay: 2.1s; }
.nf__q { fill: var(--accent); font-family: var(--font-head); font-size: 40px; font-weight: 300; opacity: 0; animation: nfFade .6s var(--ease) 2.3s forwards; }
.nf__code {
  position: absolute; left: 0; bottom: 0; margin: 0; display: flex; gap: .04em;
  font-family: var(--font-head); font-weight: 200; font-size: clamp(6rem, 3rem + 11vw, 15rem); line-height: .8; letter-spacing: -.07em;
  color: rgba(255, 255, 255, .08);
}
.nf__zero { color: transparent; -webkit-text-stroke: 1px rgba(32, 199, 217, .55); }

.nf__suggest { margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line-light); }
.nf__suggest-title { margin: 0 0 28px; font-family: var(--font-head); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); letter-spacing: -.02em; }
.nf__cols { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(28px, 4vw, 64px); }
.nf__label { margin: 0 0 14px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.nf__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line-light); }
.nf__links--single { grid-template-columns: 1fr; }
.nf__links a {
  position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 14px 0; border-bottom: 1px solid var(--line-light); color: rgba(255, 255, 255, .86);
  transition: color .3s var(--ease), padding .4s var(--ease-out);
}
.nf__links a span { font-size: .72rem; color: var(--soft); }
.nf__links a i { opacity: .5; transition: transform .4s var(--ease-out), opacity .3s; }
.nf__links a:hover { color: var(--white); padding-left: 6px; }
.nf__links a:hover i { opacity: 1; color: var(--accent); transform: translate(3px, -3px); }

@keyframes nfDraw { to { stroke-dashoffset: 0; } }
@keyframes nfFade { to { opacity: 1; } }

@media (max-width: 991.98px) {
  .person-layout { grid-template-columns: 1fr; }
  .person-card { position: static; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .person-card__media { aspect-ratio: auto; min-height: 100%; }
  .nf__grid { grid-template-columns: 1fr; }
  .nf__art { max-width: 520px; width: 100%; }
  .nf__cols { grid-template-columns: 1fr; }
  .team--page .team__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team--page .tcard:nth-child(n) { margin-top: 0; }
  .team--page .tcard:nth-child(2n) { margin-top: var(--step); }
}
@media (max-width: 767.98px) {
  .cookie-consent { padding: 24px 22px; border-radius: 22px; }
  .cookie-consent__title { font-size: 1.2rem; }
  .cookie-consent__desc { font-size: .92rem; margin-bottom: 18px; }
  .cookie-consent__btn { height: 50px; font-size: .92rem; }
  .person-card { grid-template-columns: 1fr; }
  .person-card__media { aspect-ratio: 4 / 5; }
  .nf__links { grid-template-columns: 1fr; }
  /* Ekip sayfasında yatay şerit yerine alt alta liste (ana sayfa şeridi temadaki gibi kalır) */
  .team--page .team__track {
    grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto;
    overflow: visible; margin-inline: 0; padding-inline: 0; row-gap: 18px;
  }
  .team--page .tcard:nth-child(n) { margin-top: 0; aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .nf__path, .nf__dot, .nf__q, .nf__path--broken { animation: none; opacity: 1; stroke-dashoffset: 0; }
}