/* Yasal metin sayfaları */

.yt-yasal {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--yt-paper);
  color: var(--yt-text);
  font-family: var(--yt-font-body);
}

.yt-yasal-bas {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(4.5rem, 8vw, 6rem);
  background-color: var(--yt-ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  color: #ffffff;
}

.yt-yasal-bas::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yt-brand) 0 18%, transparent 18%);
}

.yt-yasal-bas__iz {
  position: absolute;
  top: 50%;
  right: max(4vw, calc((100vw - 1440px) / 2 + 48px));
  color: var(--yt-brand);
  font-size: clamp(9rem, 18vw, 15rem);
  opacity: 0.07;
  transform: translateY(-50%) rotate(-8deg);
  pointer-events: none;
}

.yt-yasal-bas__ic {
  position: relative;
}

.yt-yasal-bas__yol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
}

.yt-yasal-bas__yol a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.yt-yasal-bas__yol a:hover {
  color: var(--yt-brand);
}

.yt-yasal-bas__yol i {
  font-size: 0.6rem;
}

.yt-yasal-bas__ust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yt-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yt-yasal .yt-yasal-bas__baslik {
  max-width: 820px;
  margin: 0.75rem 0 0.9rem;
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.yt-yasal-bas__aciklama {
  max-width: 680px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.yt-yasal-bas__cipler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yt-yasal-bas__cipler li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--yt-ink-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
}

.yt-yasal-bas__cipler i {
  color: var(--yt-brand);
}

.yt-yasal__izgara {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: start;
  margin-top: clamp(-3.5rem, -5vw, -2.5rem);
}

.yt-yasal-menu,
.yt-yasal-icindekiler {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.yt-yasal-menu {
  padding-top: 0;
}

.yt-yasal-menu__kart,
.yt-yasal-icindekiler__kart {
  padding: 18px;
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius-lg);
  background: var(--yt-surface);
  box-shadow: var(--yt-shadow);
}

.yt-yasal-menu__baslik,
.yt-yasal-icindekiler__baslik {
  margin: 0 0 10px;
  color: var(--yt-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yt-yasal-menu ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yt-yasal-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 10px 10px 0;
  color: var(--yt-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.yt-yasal-menu a i {
  width: 16px;
  color: var(--yt-muted);
  text-align: center;
}

.yt-yasal-menu a:hover {
  background: var(--yt-paper);
}

.yt-yasal-menu a[aria-current="page"] {
  border-left-color: var(--yt-brand);
  background: rgba(250, 193, 11, 0.12);
  font-weight: 700;
}

.yt-yasal-menu a[aria-current="page"] i {
  color: var(--yt-ink);
}

.yt-yasal-menu__cerez {
  padding: 18px;
  border-radius: var(--yt-radius-lg);
  background: var(--yt-ink);
  color: rgba(255, 255, 255, 0.8);
}

.yt-yasal-menu__cerez p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.yt-yasal-menu__cerez p i {
  margin-right: 4px;
  color: var(--yt-brand);
}

.yt-yasal-menu__cerez button {
  height: auto;
  padding: 8px 16px;
  line-height: 1.4;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.yt-yasal-menu__cerez button:hover {
  border-color: var(--yt-brand);
  background: var(--yt-brand);
  color: var(--yt-ink);
}

.yt-yasal-belge {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius-lg);
  background: var(--yt-surface);
  box-shadow: var(--yt-shadow);
  scroll-margin-top: 92px;
}

.yt-yasal-ozet {
  margin-bottom: 2rem;
  padding: 20px 22px;
  border: 1px solid rgba(250, 193, 11, 0.45);
  border-radius: var(--yt-radius);
  background: rgba(250, 193, 11, 0.1);
}

.yt-yasal-ozet__baslik {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yt-yasal-ozet ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yt-yasal-ozet li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.yt-yasal-ozet li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yt-ink);
}

.yt-yasal-belge__metin {
  counter-reset: bolum;
  font-size: 1rem;
  line-height: 1.75;
}

.yt-yasal-belge__metin > :first-child {
  margin-top: 0;
}

.yt-yasal-belge__metin h2 {
  position: relative;
  margin: 2.25rem 0 0.9rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--yt-line);
  color: var(--yt-text);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
  counter-increment: bolum;
}

.yt-yasal-belge__metin h2::before {
  content: counter(bolum, decimal-leading-zero);
  display: block;
  margin-bottom: 4px;
  color: var(--yt-brand-strong);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.yt-yasal-belge__metin > h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.yt-yasal-belge__metin h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.yt-yasal-belge__metin p,
.yt-yasal-belge__metin li {
  color: #3a3c38;
}

.yt-yasal-belge__metin p {
  margin: 0 0 1rem;
}

.yt-yasal-belge__metin strong {
  color: var(--yt-text);
}

.yt-yasal-belge__metin a {
  color: var(--yt-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yt-brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.yt-yasal-belge__metin ul,
.yt-yasal-belge__metin ol {
  display: grid;
  gap: 8px;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.yt-yasal-belge__metin ul > li {
  position: relative;
  padding-left: 30px;
}

.yt-yasal-belge__metin ul > li::before {
  content: "\f00c";
  position: absolute;
  top: 0.3em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(250, 193, 11, 0.18);
  color: var(--yt-ink);
  font-family: "Font Awesome 6 Free";
  font-size: 0.6rem;
  font-weight: 900;
}

.yt-yasal-belge__metin ol {
  counter-reset: madde;
}

.yt-yasal-belge__metin ol > li {
  position: relative;
  padding-left: 34px;
  counter-increment: madde;
}

.yt-yasal-belge__metin ol > li::before {
  content: counter(madde);
  position: absolute;
  top: 0.15em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--yt-ink);
  color: var(--yt-brand);
  font-size: 0.75rem;
  font-weight: 800;
}

.yt-yasal-belge__metin code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--yt-paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
}

.yt-yasal-belge__metin .yt-static__note {
  color: var(--yt-muted);
  font-size: 0.875rem;
}

.yt-yasal-tablo {
  margin: 0 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius);
}

.yt-yasal-tablo table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.yt-yasal-tablo th {
  padding: 10px 14px;
  background: var(--yt-paper);
  color: var(--yt-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.yt-yasal-tablo td {
  padding: 11px 14px;
  border-top: 1px solid var(--yt-line);
  color: #3a3c38;
  vertical-align: top;
}

.yt-yasal-tablo td:last-child {
  white-space: nowrap;
}

.yt-yasal-eylem {
  margin: 1.25rem 0 1.5rem;
}

.yt-yasal-icindekiler[hidden] {
  display: none;
}

.yt-yasal-icindekiler ol {
  display: grid;
  gap: 2px;
  max-height: calc(100vh - 300px);
  margin: 0 0 14px;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.yt-yasal-icindekiler a {
  position: relative;
  display: block;
  padding: 6px 4px 6px 18px;
  color: var(--yt-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-decoration: none;
}

.yt-yasal-icindekiler a::before {
  content: "";
  position: absolute;
  top: 0.95em;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yt-line);
}

.yt-yasal-icindekiler a:hover {
  color: var(--yt-text);
}

.yt-yasal-icindekiler a.is-aktif {
  color: var(--yt-text);
  font-weight: 700;
}

.yt-yasal-icindekiler a.is-aktif::before {
  background: var(--yt-brand);
  box-shadow: 0 0 0 3px rgba(250, 193, 11, 0.25);
}

.yt-yasal-icindekiler__ilerleme {
  height: 4px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--yt-paper);
}

.yt-yasal-icindekiler__ilerleme span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--yt-brand);
  transition: width 0.15s linear;
}

.yt-yasal-icindekiler__dugmeler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yt-yasal-icindekiler__dugmeler button,
.yt-yasal-icindekiler__dugmeler a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--yt-line);
  border-radius: 999px;
  background: var(--yt-surface);
  color: var(--yt-text);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.yt-yasal-icindekiler__dugmeler button:hover,
.yt-yasal-icindekiler__dugmeler a:hover {
  border-color: var(--yt-ink);
}

.yt-yasal-basvuru {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 28px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius-lg);
  background: var(--yt-surface);
  box-shadow: var(--yt-shadow);
}

.yt-yasal-basvuru > div {
  flex: 1 1 420px;
}

.yt-yasal .yt-yasal-basvuru h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.yt-yasal-basvuru p {
  max-width: 640px;
  margin: 0 0 12px;
  color: var(--yt-muted);
  font-size: 0.9375rem;
}

.yt-yasal-basvuru ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.yt-yasal-basvuru li i {
  margin-right: 6px;
  color: var(--yt-brand-strong);
}

.yt-yasal-basvuru a:not(.yt-btn) {
  color: var(--yt-text);
}

@media (max-width: 1279px) {
  .yt-yasal__izgara {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .yt-yasal-icindekiler {
    display: none;
  }
}

@media (max-width: 1023px) {
  .yt-yasal__izgara {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .yt-yasal-menu {
    position: static;
    order: 2;
  }

  .yt-yasal-menu ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .yt-container.yt-yasal-bas__ic,
  .yt-yasal .yt-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .yt-yasal-bas__iz {
    display: none;
  }

  .yt-yasal-menu ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .yt-yasal-belge {
    padding: 20px 18px;
  }

  .yt-yasal-belge__metin {
    font-size: 0.9375rem;
  }

  .yt-yasal-basvuru .yt-btn {
    width: 100%;
    justify-content: center;
  }
}

@media print {
  .yt-header,
  .yt-footer,
  .yt-yasal-menu,
  .yt-yasal-icindekiler,
  .yt-yasal-basvuru,
  .yt-float,
  .yt-top,
  .yt-cerez {
    display: none !important;
  }

  .yt-yasal-bas {
    padding: 0 0 12px;
    background: none;
    color: #000000;
  }

  .yt-yasal .yt-yasal-bas__baslik,
  .yt-yasal-bas__aciklama,
  .yt-yasal-bas__cipler li {
    color: #000000;
  }

  .yt-yasal__izgara {
    display: block;
    margin-top: 0;
  }

  .yt-yasal-belge {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

.yt-yasal-tablo td:first-child {
  white-space: nowrap;
}

.yt-yasal-tablo code {
  padding: 0;
  background: none;
  color: var(--yt-text);
  font-weight: 600;
}
