/* 
  Standardized Legal & Policy Page Styling 
  Theme: Black & Gold Egyptian
*/

.legal-content-wrapper {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 2rem;
  color: var(--white, #ffffff);
}

.legal-page-title {
  font-family: 'CASTELAR', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  background: linear-gradient(to bottom, #e9c989, #f9dfb2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  letter-spacing: 0.1em;
  text-shadow: 0 5px 25px rgba(0,0,0,0.8);
}

.legal-policy-content {
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin: 2rem 0;
  border: 1px solid rgba(249, 223, 178, 0.15);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.legal-policy-content h2,
.legal-policy-content h3 {
  font-family: 'CASTELAR', serif;
  background: linear-gradient(to bottom, #e9c989, #f9dfb2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 2.5rem 0 1rem;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
}

.legal-policy-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
}

.legal-policy-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--white, #ffffff);
  line-height: 1.7;
}

.legal-policy-content ul,
.legal-policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-policy-content li {
  margin-bottom: 0.75rem;
  color: var(--white, #ffffff);
  line-height: 1.6;
}

.legal-policy-content a {
  color: var(--gold, #d4af37);
  text-decoration: underline;
  transition: color 0.3s;
  word-break: break-all;
  position: relative;
  text-underline-offset: 4px;
}

.legal-policy-content a:hover {
  color: #fff;
}

.legal-policy-content a.mail-link {
  word-break: break-all;
  padding-right: 0;
}

.legal-policy-content a.external-link::after {
  content: " \f08e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8em;
  margin-left: 4px;
}

@media (max-width: 992px) {
  .legal-content-wrapper {
    margin: 100px auto 40px;
  }
  .legal-policy-content {
    padding: 2rem;
  }
}
