/* ==========================================================================
   TAHSANGROW — CLEAN EDITORIAL POLICY PAGES (PRIVACY, TERMS, COOKIES)
   Simple, Light, Uncluttered Reading Layout
   ========================================================================== */

body.tg-legal-page {
  background: #FFFFFF;
  color: #0F172A;
}

body.tg-legal-page .header.light {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

body.tg-legal-page .header.light.stuck,
body.tg-legal-page .header.light.tg-nav-condensed {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: #E2E8F0 !important;
  box-shadow: 0 8px 28px -18px rgba(15, 23, 42, 0.12) !important;
}

.tg-legal-main {
  background: #FFFFFF;
  padding-top: 84px;
}

.tg-legal-container {
  width: min(860px, 88%);
  max-width: 860px;
  margin-inline: auto;
}

/* Simple Page Header */
.tg-legal-hero {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 56px 0 36px;
}

.tg-legal-title {
  margin: 0 0 12px;
  font-family: var(--font-heading, "DM Sans", sans-serif);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0F172A;
}

.tg-legal-sub {
  margin: 0 0 14px;
  font-size: clamp(0.96rem, 1.1vw, 1.04rem);
  line-height: 1.65;
  color: #475569;
  max-width: 64ch;
}

.tg-legal-updated {
  margin: 0;
  font-size: 0.84rem;
  color: #64748B;
}

/* Simple Single-Column Reading Body */
.tg-legal-body {
  padding: 44px 0 88px;
  background: #FFFFFF;
}

.tg-legal-prose {
  max-width: 74ch;
  min-width: 0;
}

.tg-legal-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #F1F5F9;
}

.tg-legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tg-legal-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.18rem, 1.8vw, 1.38rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0F172A;
}

.tg-legal-section p {
  margin: 0 0 12px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: #334155;
}

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

.tg-legal-section ul {
  margin: 10px 0 12px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tg-legal-section li {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #334155;
  padding-left: 4px;
  list-style-type: disc;
}

.tg-legal-section strong {
  color: #0F172A;
  font-weight: 600;
}

.tg-legal-section a:not(.btn) {
  color: #1D5CFF;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tg-legal-section a:not(.btn):hover {
  color: #134BDF;
}

.tg-cookie-inline-action {
  margin-top: 12px;
}

.tg-cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.tg-cookie-settings-btn svg {
  width: 14px;
  height: 14px;
  color: #64748B;
  flex-shrink: 0;
  transition: color 0.16s ease;
}

.tg-cookie-settings-btn:hover {
  background: #EFF4FF;
  border-color: #1D5CFF;
  color: #1D5CFF;
}

.tg-cookie-settings-btn:hover svg {
  color: #1D5CFF;
}

.tg-cookie-settings-btn:focus-visible {
  outline: 2px solid #1D5CFF;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .tg-legal-main {
    padding-top: 64px;
  }

  .tg-legal-hero {
    padding: 36px 15px 28px !important;
  }

  .tg-legal-body {
    padding: 32px 15px 60px !important;
  }

  .tg-legal-container {
    width: 100%;
  }

  .tg-legal-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
  }
}
