/* File: public/css/landing/17-legal.css
   Legal Pages – matched with about-page.css styles
*/

:root{
  --about-font: "Cairo", sans-serif;
  --card-radius: 14px;
  --soft-border: rgba(0,0,0,0.06);
}

/* Page */
.legal-page{
  background: #fff;
  padding-top: 0;
  padding-bottom: 70px;
}

/* HERO (like about-hero) */
.legal-hero{
  position: relative;
  padding: 44px 0 14px;
  background: #f6f7f9;
  overflow: hidden;
  text-align: center;
}

.legal-title{
  margin: 0 0 10px;
  font-family: var(--about-font);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.12;
  color: var(--accent-orange);
}

.legal-subtitle{
  margin: 0;
  font-family: var(--about-font);
  font-weight: 500;
  font-size: 18px;
  color: rgba(0,0,0,0.62);
  line-height: 1.9;
}

/* Content area (like about-content) */
.legal-content-wrap{
  padding: 30px 0 0;
}

/* Card (like about-card) */
.legal-card{
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  padding: 18px;
}

/* Meta line */
.legal-meta{
  font-family: var(--about-font);
  font-weight: 700;
  font-size: 13px;
  color: rgba(0,0,0,0.60);
  margin-bottom: 10px;
}

/* Rich editor typography */
.legal-content{
  font-family: var(--about-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.95;
  color: rgba(0,0,0,0.78);
}

.legal-content h2{
  margin: 18px 0 10px;
  font-family: var(--about-font);
  font-weight: 900;
  font-size: 18px;
  color: #0b2a4a;
  text-align: right;
}

.legal-content h3{
  margin: 14px 0 8px;
  font-family: var(--about-font);
  font-weight: 800;
  font-size: 16px;
  color: #0b2a4a;
  text-align: right;
}

.legal-content p{ margin: 10px 0; }

.legal-content ul,
.legal-content ol{
  padding-right: 18px;
  margin: 10px 0 14px;
}

.legal-content li{ margin: 6px 0; }

.legal-content a{
  color: var(--primary-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tables */
.legal-content table{
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
}

.legal-content th,
.legal-content td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  vertical-align: top;
}

.legal-content th{
  background: #fbfbfc;
  font-weight: 900;
  color: #0b2a4a;
}

/* Responsive (same as about) */
@media (max-width: 992px){
  .legal-title{ font-size: 38px; }
  .legal-card{ padding: 16px; }
}
