/* =========================================================
   Airport Shuttle TR - Legal KVKK V2
========================================================= */

.ast-legal-page {
  --ast-blue: #1d4ed8;
  --ast-blue-dark: #1e40af;
  --ast-green: #16a34a;
  --ast-text: #0f172a;
  --ast-muted: #334155;
  --ast-muted-2: #64748b;
  --ast-bg: #f3f7fc;
  --ast-card-bg: #ffffff;
  --ast-line: rgba(15, 23, 42, .10);
  --ast-radius-md: 18px;
  --ast-radius-lg: 24px;
  --ast-radius-xl: 30px;
  --ast-radius-pill: 999px;
  --ast-shadow-xs: 0 10px 24px rgba(15, 23, 42, .06);
  --ast-shadow-sm: 0 18px 42px rgba(15, 23, 42, .09);
  --ast-shadow-md: 0 24px 54px rgba(15, 23, 42, .12);

  min-height: 100vh;
  background: var(--ast-bg);
  color: var(--ast-text);

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}

.ast-legal-page,
.ast-legal-page * {
  box-sizing: border-box;
}

.ast-legal-page .ast-container {
  width: min(var(--ast-container, 1180px), calc(100% - var(--ast-container-gutter, 36px)));
  margin-inline: auto;
}

.ast-legal-page a {
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

/* =========================================================
   Hero
========================================================= */

.ast-legal-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 22px 0 54px;
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 99, 235, .14), transparent 31%),
    radial-gradient(circle at 82% 20%, rgba(108, 120, 240, .12), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #edf3fb 100%);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  overflow: hidden;
}

.ast-legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.78), rgba(255,255,255,.30), rgba(255,255,255,.74));
  pointer-events: none;
}

.ast-legal-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;
  width: 540px;
  height: 540px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  filter: blur(18px);
  pointer-events: none;
}

.ast-legal-hero .ast-container {
  position: relative;
  z-index: 1;
}

.ast-legal-breadcrumb {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--ast-muted-2);
  font-size: 12px;
  font-weight: 700;
}

.ast-legal-breadcrumb a {
  color: var(--ast-muted);
  text-decoration: none;
}

.ast-legal-breadcrumb a:hover {
  color: var(--ast-blue);
  text-decoration: none;
}

.ast-legal-breadcrumb i {
  color: #cbd5e1;
  font-size: 10px;
}

.ast-legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
}

.ast-legal-kicker {
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--ast-radius-pill);
  background: #e8f0ff;
  color: var(--ast-blue-dark);
  border: 1px solid rgba(29, 78, 216, .14);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ast-legal-hero-copy h1 {
  margin: 14px 0 0;
  max-width: 920px;
  color: #0b162f;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 900;
}

.ast-legal-hero-copy p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--ast-muted);
  font-size: 16px;
  line-height: 1.75;
}

.ast-legal-meta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ast-legal-meta-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--ast-radius-pill);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(15, 23, 42, .08);
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 16px rgba(15, 23, 42, .05);
}

.ast-legal-meta-pill i {
  color: var(--ast-blue);
}

/* Hero side card */
.ast-legal-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--ast-radius-xl);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: var(--ast-shadow-md);
  padding: 24px;
}

.ast-legal-hero-card::before {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .10);
}

.ast-legal-hero-icon,
.ast-legal-hero-card h2,
.ast-legal-hero-card p,
.ast-legal-hero-tags {
  position: relative;
  z-index: 1;
}

.ast-legal-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--ast-blue);
  background: #eaf2ff;
  font-size: 24px;
  margin-bottom: 16px;
}

.ast-legal-hero-card h2 {
  margin: 0;
  color: var(--ast-text);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 900;
}

.ast-legal-hero-card p {
  margin: 9px 0 0;
  color: var(--ast-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.ast-legal-hero-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ast-legal-hero-tags span {
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--ast-radius-pill);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .07);
  color: var(--ast-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
}

.ast-legal-hero-tags i {
  color: var(--ast-blue);
}

/* =========================================================
   Layout
========================================================= */

.ast-legal-main {
  padding: 36px 0 76px;
}

.ast-legal-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ast-legal-toc {
  position: sticky;
  top: 78px;
  border-radius: var(--ast-radius-lg);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: var(--ast-shadow-xs);
  padding: 18px;
}

.ast-legal-toc-title {
  margin: 0 0 12px;
  color: var(--ast-text);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ast-legal-toc-title i {
  color: var(--ast-blue);
}

.ast-legal-toc nav {
  display: grid;
  gap: 7px;
}

.ast-legal-toc-link {
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 14px;
  color: var(--ast-muted);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .06);
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.ast-legal-toc-link:hover,
.ast-legal-toc-link.active {
  color: var(--ast-blue-dark);
  background: #eff6ff;
  border-color: rgba(37, 99, 235, .18);
  text-decoration: none;
}

.ast-legal-content-card {
  border-radius: var(--ast-radius-xl);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: var(--ast-shadow-sm);
  padding: clamp(22px, 3vw, 34px);
}

.ast-legal-content-card p,
.ast-legal-content-card li {
  color: var(--ast-muted);
  font-size: 15px;
  line-height: 1.78;
}

.ast-legal-content-card p {
  margin-bottom: 14px;
}

.ast-legal-content-card ul {
  margin: 10px 0 18px;
  padding-left: 1.15rem;
}

.ast-legal-content-card li {
  margin-bottom: 8px;
}

.ast-legal-content-card a {
  color: var(--ast-blue);
  font-weight: 750;
  text-decoration: none;
}

.ast-legal-content-card a:hover {
  color: var(--ast-blue-dark);
  text-decoration: underline;
}

.ast-legal-content-card h2 {
  scroll-margin-top: 92px;
  margin: 28px 0 10px;
  color: var(--ast-text);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 900;
}

.ast-legal-content-card h2:first-of-type {
  margin-top: 22px;
}

.ast-legal-alert {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: var(--ast-radius-md);
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, .13);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ast-legal-alert i {
  color: var(--ast-blue);
  font-size: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.ast-legal-alert p {
  margin: 0;
  color: #1e293b;
  font-weight: 650;
}

/* =========================================================
   Responsive / Print
========================================================= */

@media (max-width: 992px) {
  .ast-legal-hero-grid,
  .ast-legal-layout {
    grid-template-columns: 1fr;
  }

  .ast-legal-hero-card {
    max-width: 460px;
  }

  .ast-legal-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .ast-legal-page .ast-container {
    width: min(100% - 24px, var(--ast-container, 1180px));
  }

  .ast-legal-hero {
    padding: 24px 0 34px;
  }

  .ast-legal-breadcrumb {
    display: none;
  }

  .ast-legal-hero-copy h1 {
    font-size: 31px;
    letter-spacing: -.045em;
  }

  .ast-legal-hero-copy p {
    font-size: 14px;
    line-height: 1.68;
  }

  .ast-legal-main {
    padding: 28px 0 58px;
  }

  .ast-legal-hero-card,
  .ast-legal-toc,
  .ast-legal-content-card {
    border-radius: var(--ast-radius-md);
  }
}

@media (max-width: 480px) {
  .ast-legal-page .ast-container {
    width: min(100% - 18px, var(--ast-container, 1180px));
  }

  .ast-legal-hero-copy h1 {
    font-size: 29px;
  }

  .ast-legal-content-card {
    padding: 18px;
  }
}

@media print {
  .ast-site-header,
  .ast-footer-v2,
  .support-aside,
  .lang-drawer,
  .ast-legal-hero,
  .ast-legal-toc {
    display: none !important;
  }

  .ast-legal-page {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    background: #fff !important;
  }

  .ast-legal-main {
    padding: 0 !important;
  }

  .ast-legal-layout {
    display: block !important;
  }

  .ast-legal-content-card {
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
  }
}



/* =========================================================
   Legal Table
========================================================= */

.ast-legal-table-wrap {
  margin: 16px 0 22px;
  border-radius: var(--ast-radius-md);
  border: 1px solid rgba(15, 23, 42, .08);
  overflow: hidden;
  background: #fff;
}

.ast-legal-table {
  margin: 0;
  color: var(--ast-muted);
  font-size: 13.5px;
  vertical-align: middle;
}

.ast-legal-table thead th {
  color: var(--ast-text);
  background: #eff6ff;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  font-weight: 900;
  white-space: nowrap;
}

.ast-legal-table tbody td {
  border-color: rgba(15, 23, 42, .06);
  color: var(--ast-muted);
}

.ast-legal-table tbody tr:last-child td {
  border-bottom: 0;
}