/* Shared styles for the static legal/about/contact pages.
   Kept tiny on purpose; reuses the dossier theme from styles.css. */
.legal-page.home-screen {
  min-height: 100vh;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 24px 16px 80px !important;
}

.legal-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-header { text-align: center; padding-top: 12px; }

.legal-back {
  display: inline-block;
  margin-bottom: 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8C547;
  border: 2px solid #E8C547;
  border-radius: 999px;
  padding: 8px 18px;
  text-decoration: none;
  background: rgba(232, 197, 71, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.legal-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(232, 197, 71, 0.34);
}

.legal-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 0.16em;
  color: #F2EBDC;
  margin: 0 0 6px;
  text-shadow: 2px 2px 0 #000, 0 0 18px rgba(232, 197, 71, 0.28);
}

.legal-updated {
  font-family: 'Special Elite', cursive;
  font-size: 14px;
  color: #B8A88C;
  margin: 0;
}

.legal-content {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #E8DCC4;
}

.legal-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8C547;
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(232, 197, 71, 0.32);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p { margin: 0 0 10px; }

.legal-content ul {
  margin: 0 0 12px;
  padding-inline-start: 22px;
  display: grid;
  gap: 6px;
}

.legal-content a {
  color: #5499E0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { color: #87BAFF; }

.cmp-reset-link {
  font: inherit;
  color: #5499E0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cmp-reset-link:hover { color: #87BAFF; }

@media (max-width: 540px) {
  .legal-wrap { gap: 16px; }
  .legal-content { font-size: 14px; line-height: 1.75; }
  .legal-content h2 { font-size: 16px; }
}
