
.relation-page{
  width:min(1180px,94vw);
  margin:34px auto 46px;
  direction:rtl;
  font-family:"Noto Nastaliq Urdu","Jameel Noori Nastaleeq",Georgia,serif;
}
.relation-hero{
  background:linear-gradient(135deg,#fffaf0,#fff);
  border:1px solid #ead7ad;
  border-radius:26px;
  padding:34px 28px;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
  text-align:center;
  margin-bottom:22px;
}
.relation-hero h1{
  margin:0;
  color:#0f172a;
  font-size:42px;
  line-height:1.6;
}
.relation-hero p{
  margin:8px 0 0;
  color:#64748b;
  font-size:17px;
}
.relation-card{
  background:#fff;
  border:1px solid #ead7ad;
  border-radius:26px;
  box-shadow:0 22px 55px rgba(15,23,42,.08);
  overflow:hidden;
}
.relation-formbar{
  background:linear-gradient(135deg,#0d1626,#17324a);
  padding:26px;
}
.relation-form{
  display:grid;
  grid-template-columns:1fr 1fr 150px;
  gap:16px;
  align-items:end;
  max-width:980px;
  margin:0 auto;
}
.relation-field label{
  display:block;
  color:#f7d36d;
  font-size:18px;
  font-weight:800;
  margin-bottom:7px;
  text-align:right;
}
.relation-field input{
  width:100%;
  height:58px;
  border-radius:16px;
  border:1px solid rgba(247,211,109,.8);
  background:#fff;
  color:#0f172a;
  font-size:26px;
  text-align:center;
  font-family:inherit;
  padding:0 16px;
  outline:none;
}
.relation-field input:focus{
  border-color:#d9a22e;
  box-shadow:0 0 0 4px rgba(217,162,46,.18);
}
.relation-btn{
  height:58px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#e7b23b,#c58b1c);
  color:#0f172a;
  font-family:inherit;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(0,0,0,.18);
}
.relation-btn:hover{filter:brightness(1.04)}
.relation-body{
  padding:26px;
  background:linear-gradient(180deg,#fff,#fffaf0);
}
.relation-result{
  max-width:920px;
  margin:0 auto;
  background:#0d1626;
  color:#fff;
  border-radius:24px;
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:34px 28px;
  text-align:center;
  border:1px solid rgba(217,162,46,.45);
}
.relation-result small{
  color:#f7d36d;
  font-size:18px;
  margin-bottom:8px;
}
.relation-result-text{
  font-size:38px;
  line-height:2.1;
  font-weight:700;
}
.relation-stats,
.relation-note{
  display:none !important;
}
@media(max-width:760px){
  .relation-page{margin:20px auto 34px}
  .relation-hero h1{font-size:32px}
  .relation-form{grid-template-columns:1fr}
  .relation-btn{width:100%}
  .relation-result-text{font-size:28px}
}
