/* Legal pages — template-legal.php. Site palette: navy #103578 / #10437C, yellow #FAD742,
   link blue #2778BD; BarLev for titles, Assistant for text (both already loaded site-wide). */
.ns-legal{background:#F4F6FA;color:#1F2A3C;font-family:"Assistant",sans-serif;direction:rtl;}
.ns-legal__wrap{max-width:1040px;margin:0 auto;padding:0 24px;}

.ns-legal__hero{
  position:relative;overflow:hidden;color:#fff;text-align:right;
  background:linear-gradient(135deg,#103578 0%,#10437C 55%,#2778BD 100%);
  padding:56px 0 64px;
}
.ns-legal__hero::after{ /* yellow corner accent, as on the site's inner heroes */
  content:"";position:absolute;inset-inline-end:-80px;top:-120px;width:300px;height:300px;
  border-radius:50%;border:24px solid #FAD742;opacity:.9;pointer-events:none;
}
.ns-legal__crumbs{display:flex;align-items:center;gap:8px;font-size:16px;margin-bottom:18px;}
.ns-legal__crumbs a{color:#fff;text-decoration:underline;text-underline-offset:3px;}
.ns-legal__crumbs span[aria-hidden]{opacity:.7;}
.ns-legal__title{
  margin:0;font-family:"BarLev",sans-serif;font-weight:700;color:#fff;
  font-size:clamp(40px,5.2vw,72px);line-height:1;
}
.ns-legal__title::after{content:"";display:block;width:110px;height:6px;margin-top:18px;border-radius:3px;background:#FAD742;}
.ns-legal__updated{margin:16px 0 0;font-size:16px;opacity:.85;}

.ns-legal__body{max-width:1040px;margin:-32px auto 0;padding:0 24px 72px;position:relative;z-index:2;}
.ns-legal__card{
  background:#fff;border-radius:16px;box-shadow:0 10px 34px rgba(16,53,120,.10);
  padding:48px 56px;font-size:18px;line-height:1.8;
}
.ns-legal__card > :first-child{margin-top:0;}
.ns-legal__card h2{
  margin:44px 0 14px;padding-inline-start:16px;border-inline-start:6px solid #FAD742;
  font-family:"BarLev",sans-serif;font-weight:700;font-size:34px;line-height:1.15;color:#103578;
}
.ns-legal__card h3{
  margin:28px 0 8px;font-family:"Assistant",sans-serif;font-weight:700;font-size:21px;line-height:1.4;color:#10437C;
}
.ns-legal__card p{margin:0 0 14px;}
.ns-legal__card ul,.ns-legal__card ol{margin:0 0 16px;padding-inline-start:22px;}
.ns-legal__card li{margin-bottom:6px;}
.ns-legal__card a{color:#2778BD;text-decoration:underline;text-underline-offset:3px;}
.ns-legal__card a:hover{color:#103578;}
.ns-legal__card strong{color:#103578;}
/* the closing contact section stands out */
.ns-legal__card h2:last-of-type ~ p{background:#F4F6FA;border-radius:12px;padding:18px 22px;}

@media (max-width:767px){
  .ns-legal__hero{padding:36px 0 52px;}
  .ns-legal__wrap,.ns-legal__body{padding-inline:16px;}
  .ns-legal__crumbs{font-size:14px;margin-bottom:12px;}
  .ns-legal__title::after{width:80px;height:5px;margin-top:12px;}
  .ns-legal__card{padding:28px 20px;font-size:17px;line-height:1.75;border-radius:12px;}
  .ns-legal__card h2{font-size:28px;margin-top:34px;}
  .ns-legal__card h3{font-size:19px;}
}
