/**
 * Privacy policy article layout. Dark/light follows html[data-autx-theme].
 */

.autx-privacy {
  --ap-text: var(--autx-ink, var(--text-color, #0f172a));
  --ap-muted: var(--autx-muted, #64748b);
  --ap-line: var(--autx-line, rgba(148, 163, 184, 0.28));
  --ap-surface: var(--autx-surface, var(--card-bg, #111827));
  display: block;
  width: 100%;
  max-width: 100%;
  color: var(--text-color, #e6edf3);
  background: var(--bg-color, #0a0e17);
  font-family: var(--autx-font, "Segoe UI", "Noto Sans", sans-serif);
  line-height: 1.65;
}

.autx-privacy__hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 1.25rem;
  background:
    radial-gradient(900px 320px at 8% -20%, rgba(0, 136, 176, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-color, #0a0e17) 0%, rgba(17, 24, 39, 0.4) 100%);
}

.autx-privacy__meta {
  margin: 0 0 0.85rem;
  color: #67e8f9;
  font-size: 0.92rem;
  font-weight: 600;
}

.autx-privacy__body {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 4.5rem;
}

.autx-privacy__block {
  margin: 0 0 1rem;
  padding: 1.25rem 1.35rem 1.2rem;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.72);
  box-shadow: 0 12px 32px -24px rgba(0, 0, 0, 0.65);
}

.autx-privacy__block h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.3;
  color: var(--autx-theme-heading, #f8fafc);
}

.autx-privacy__block h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.02rem;
  color: #67e8f9;
}

.autx-privacy__block p,
.autx-privacy__block li {
  margin: 0 0 0.7rem;
  color: var(--ap-muted, #cbd5e1);
  font-size: 0.98rem;
}

.autx-privacy__block ul {
  margin: 0.35rem 0 0.2rem;
  padding-left: 1.2rem;
}

html[dir="rtl"] .autx-privacy__block ul,
.autx-privacy[dir="rtl"] .autx-privacy__block ul {
  padding-left: 0;
  padding-right: 1.2rem;
}

.autx-privacy__block a {
  color: #67e8f9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.autx-privacy__contact {
  list-style: none;
  padding: 0 !important;
}

.autx-privacy__contact li {
  margin-bottom: 0.45rem;
}

.autx-privacy__note {
  margin-top: 0.85rem !important;
  font-size: 0.9rem !important;
}

html[data-autx-theme="light"] .autx-privacy,
html.light-mode .autx-privacy {
  color: #0f172a;
  background: #f8f9fa;
}

html[data-autx-theme="light"] .autx-privacy__hero,
html.light-mode .autx-privacy__hero {
  background:
    radial-gradient(900px 320px at 8% -20%, rgba(0, 136, 176, 0.1), transparent 60%),
    linear-gradient(180deg, #f8f9fa 0%, #eef2ff 100%);
}

html[data-autx-theme="light"] .autx-privacy__block,
html.light-mode .autx-privacy__block {
  background: #ffffff;
  border-color: #e2e8f0;
}

html[data-autx-theme="light"] .autx-privacy__block h2,
html.light-mode .autx-privacy__block h2 {
  color: #0f172a;
}

html[data-autx-theme="light"] .autx-privacy__block p,
html[data-autx-theme="light"] .autx-privacy__block li,
html.light-mode .autx-privacy__block p,
html.light-mode .autx-privacy__block li {
  color: #334155;
}

html[data-autx-theme="light"] .autx-privacy__meta,
html.light-mode .autx-privacy__meta,
html[data-autx-theme="light"] .autx-privacy__block h3,
html.light-mode .autx-privacy__block h3,
html[data-autx-theme="light"] .autx-privacy__block a,
html.light-mode .autx-privacy__block a {
  color: #0e7490;
}

@media screen and (max-width: 768px) {
  .autx-privacy__block {
    padding: 1rem 0.95rem 0.95rem;
    border-radius: 12px;
  }

  .autx-privacy__body {
    padding-bottom: 6rem;
  }
}

.autx-privacy[lang="ar"],
.autx-privacy[lang="ar"] h1,
.autx-privacy[lang="ar"] h2,
.autx-privacy[lang="ar"] h3,
.autx-privacy[lang="ar"] p,
.autx-privacy[lang="ar"] li {
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, "Segoe UI", sans-serif;
}

.autx-privacy[lang="ur"],
.autx-privacy[lang="ur"] h1,
.autx-privacy[lang="ur"] h2,
.autx-privacy[lang="ur"] h3,
.autx-privacy[lang="ur"] p,
.autx-privacy[lang="ur"] li {
  font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", Tahoma, "Segoe UI", sans-serif;
}

.autx-privacy[lang="hi"],
.autx-privacy[lang="hi"] h1,
.autx-privacy[lang="hi"] h2,
.autx-privacy[lang="hi"] h3,
.autx-privacy[lang="hi"] p,
.autx-privacy[lang="hi"] li {
  font-family: "Noto Sans Devanagari", "Noto Sans", "Segoe UI", sans-serif;
}

.autx-privacy[lang="ml"],
.autx-privacy[lang="ml"] h1,
.autx-privacy[lang="ml"] h2,
.autx-privacy[lang="ml"] h3,
.autx-privacy[lang="ml"] p,
.autx-privacy[lang="ml"] li {
  font-family: "Noto Sans Malayalam", "Noto Sans", "Segoe UI", sans-serif;
}

.autx-privacy[dir="rtl"],
.autx-privacy[lang="ar"],
.autx-privacy[lang="ur"] {
  direction: rtl;
  text-align: right;
}

.autx-privacy[dir="ltr"],
.autx-privacy[lang="en"],
.autx-privacy[lang="ml"],
.autx-privacy[lang="hi"] {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .autx-cookie-banner,
.autx-cookie-banner[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

