/* Turga — yasal sayfalar (gizlilik, çerezler, KVKK) */
:root {
  --tg-legal-navy: #0b1220;
  --tg-legal-blue: #1b5de7;
  --tg-legal-line: rgba(11, 18, 32, 0.1);
  --tg-legal-paper: #f6f7fb;
}

.tg-legal {
  background: var(--tg-legal-paper);
  color: var(--tg-legal-navy);
  font-family: "DM Sans", sans-serif;
}

.tg-legal__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.tg-legal-hero {
  padding: clamp(120px, 14vw, 160px) 0 clamp(36px, 5vw, 52px);
  background: linear-gradient(165deg, #0b1220 0%, #152238 55%, #1a2d4a 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.tg-legal-breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.tg-legal-breadcrumb a:hover {
  color: #fff;
}

.tg-legal-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.45;
}

.tg-legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.tg-legal-hero h1 {
  margin: 0 0 16px;
  max-width: 18ch;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff !important;
}

.tg-legal-lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.tg-legal-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tg-legal-related a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tg-legal-related a:hover,
.tg-legal-related a.is-active {
  background: rgba(27, 93, 231, 0.22);
  border-color: rgba(27, 93, 231, 0.45);
}

.tg-legal-body {
  padding: clamp(36px, 5vw, 56px) 0 clamp(72px, 8vw, 96px);
}

.tg-legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.tg-legal-nav {
  position: sticky;
  top: 110px;
  padding: 18px;
  border: 1px solid var(--tg-legal-line);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.04);
}

.tg-legal-nav__title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.52);
}

.tg-legal-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg-legal-nav li + li {
  margin-top: 4px;
}

.tg-legal-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 2px;
  color: rgba(11, 18, 32, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.tg-legal-nav a:hover {
  background: rgba(27, 93, 231, 0.08);
  color: var(--tg-legal-blue);
}

.tg-legal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tg-legal-block {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--tg-legal-line);
  border-radius: 2px;
  background: #fff;
  scroll-margin-top: 120px;
}

.tg-legal-block h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--tg-legal-navy) !important;
}

.tg-legal-block p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11, 18, 32, 0.82);
}

.tg-legal-block p:last-child {
  margin-bottom: 0;
}

.tg-legal-block ul,
.tg-legal-block ol {
  margin: 0 0 14px;
  padding-left: 1.25rem;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11, 18, 32, 0.82);
}

.tg-legal-block li + li {
  margin-top: 8px;
}

.tg-legal-block a {
  color: var(--tg-legal-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tg-legal-block a:hover {
  color: #164fc4;
}

.tg-legal-block strong {
  color: var(--tg-legal-navy);
  font-weight: 700;
}

.tg-legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 14px;
}

.tg-legal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.tg-legal-table th,
.tg-legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--tg-legal-line);
  text-align: left;
  vertical-align: top;
}

.tg-legal-table th {
  background: rgba(11, 18, 32, 0.04);
  font-weight: 700;
  color: var(--tg-legal-navy);
}

.tg-legal-contact {
  margin-top: 4px;
  padding: 18px;
  border: 1px solid rgba(27, 93, 231, 0.18);
  border-left: 3px solid var(--tg-legal-blue);
  border-radius: 2px;
  background: rgba(27, 93, 231, 0.04);
}

.tg-legal-contact p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .tg-legal-layout {
    grid-template-columns: 1fr;
  }

  .tg-legal-nav {
    position: static;
  }

  .tg-legal-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px;
  }

  .tg-legal-nav li + li {
    margin-top: 0;
  }
}
