
/* Rishta Gher Core 1.8.5
   Final reference-card polish + logged-out profile privacy panel. */

/* ---------- Find Rishta cards ---------- */
.rgp182-card{
  border-radius:22px!important;
  overflow:hidden!important;
}

/* Taller, softer "blurred photo" privacy area like the approved reference. */
.rgp182-card .rgp182-media{
  height:350px!important;
  min-height:350px!important;
}
.rgp182-card .rgp182-locked{
  padding:66px 26px 112px!important;
  background:
    linear-gradient(rgba(251,247,244,.52),rgba(251,247,244,.52)),
    radial-gradient(ellipse at 18% 26%,rgba(172,148,132,.70) 0 16%,transparent 42%),
    radial-gradient(ellipse at 73% 31%,rgba(151,160,160,.60) 0 17%,transparent 43%),
    radial-gradient(ellipse at 48% 72%,rgba(206,184,168,.58) 0 20%,transparent 45%),
    linear-gradient(135deg,#d5c4b8 0%,#c9cdcb 52%,#d7c6ba 100%)!important;
}

/* Smooth white/gold wave: no sharp V / polygon. */
.rgp182-card .rgp182-ribbon{
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:104px!important;
  clip-path:none!important;
  overflow:hidden!important;
  background:#fff8f5!important;
  border-top:0!important;
}
.rgp182-card .rgp182-ribbon:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  left:-9%!important;
  top:-48px!important;
  width:70%!important;
  height:88px!important;
  border-radius:50%!important;
  background:#fff8f5!important;
  border-top:2px solid #d5a33c!important;
  transform:rotate(7deg)!important;
}
.rgp182-card .rgp182-ribbon:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  right:-10%!important;
  top:-47px!important;
  width:69%!important;
  height:88px!important;
  border-radius:50%!important;
  background:#fff8f5!important;
  border-top:2px solid #d5a33c!important;
  transform:rotate(-8deg)!important;
}
.rgp182-card .rgp182-promise,
.rgp182-card .rgp182-media-brand{
  z-index:3!important;
}

/* More elegant lower body, exactly two data rows. */
.rgp182-card .rgp182-content{
  min-height:172px!important;
  padding:24px 24px 26px!important;
}
.rgp182-card .rgp182-title-wrap h3{
  font-size:22px!important;
  color:#650f2e!important;
}
.rgp182-card .rgp182-meta{
  margin:10px 0!important;
  font-size:14px!important;
  line-height:1.4!important;
}
.rgp182-card .rgp182-view{
  top:31px!important;
  right:24px!important;
  min-width:142px!important;
  min-height:48px!important;
}

/* ---------- Logged-out single profile page ---------- */
/* Make the profile photo column use the SAME privacy treatment as Find Rishta. */
.rgc-profile-detail-photo:has(.rgp182-media){
  padding:0!important;
  overflow:hidden!important;
  border-radius:22px!important;
  border:1px solid #eadfd9!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(68,22,37,.09)!important;
}
.rgc-profile-detail-photo .rgp182-media{
  width:100%!important;
  height:520px!important;
  min-height:520px!important;
  border-radius:22px!important;
}
.rgc-profile-detail-photo .rgp182-locked{
  padding:94px 34px 150px!important;
  background:
    linear-gradient(rgba(251,247,244,.50),rgba(251,247,244,.50)),
    radial-gradient(ellipse at 18% 25%,rgba(172,148,132,.70) 0 18%,transparent 43%),
    radial-gradient(ellipse at 76% 31%,rgba(151,160,160,.60) 0 19%,transparent 45%),
    radial-gradient(ellipse at 48% 72%,rgba(206,184,168,.58) 0 20%,transparent 46%),
    linear-gradient(135deg,#d5c4b8,#c9cdcb 52%,#d7c6ba)!important;
}
.rgc-profile-detail-photo .rgp182-lock-title{
  font-size:30px!important;
}
.rgc-profile-detail-photo .rgp182-lock-sub{
  max-width:330px!important;
  font-size:15px!important;
}
.rgc-profile-detail-photo .rgp182-ribbon{
  height:132px!important;
  clip-path:none!important;
  overflow:hidden!important;
  background:#fff8f5!important;
}
.rgc-profile-detail-photo .rgp182-ribbon:before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  left:-9%!important;
  top:-58px!important;
  width:70%!important;
  height:105px!important;
  border-radius:50%!important;
  background:#fff8f5!important;
  border-top:2px solid #d5a33c!important;
  transform:rotate(7deg)!important;
}
.rgc-profile-detail-photo .rgp182-ribbon:after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  right:-10%!important;
  top:-57px!important;
  width:69%!important;
  height:105px!important;
  border-radius:50%!important;
  background:#fff8f5!important;
  border-top:2px solid #d5a33c!important;
  transform:rotate(-8deg)!important;
}
.rgc-profile-detail-photo .rgp182-promise{
  left:34px!important;
  bottom:27px!important;
  z-index:3!important;
}
.rgc-profile-detail-photo .rgp182-promise em{
  font-size:15px!important;
}
.rgc-profile-detail-photo .rgp182-media-brand{
  right:32px!important;
  bottom:26px!important;
  z-index:3!important;
}
.rgc-profile-detail-photo .rgp182-media-brand b{
  font-size:34px!important;
}

/* Logged-out profile info and actions: premium burgundy/gold continuity. */
body:not(.logged-in) .rgc-profile-detail-info{
  border-radius:22px!important;
  border:1px solid #eadfd9!important;
  box-shadow:0 14px 34px rgba(68,22,37,.08)!important;
}
body:not(.logged-in) .rgc-profile-detail-info h1{
  color:#650f2e!important;
}
body:not(.logged-in) .rgc-profile-detail-info .rgc-btn{
  border-radius:11px!important;
}
body:not(.logged-in) .rgc-profile-detail-info .rgc-btn:not(.rgc-btn-light){
  background:#781936!important;
  border-color:#781936!important;
  color:#fff!important;
}

/* Responsive */
@media(max-width:820px){
  .rgp182-card .rgp182-media{
    height:315px!important;
    min-height:315px!important;
  }
  .rgc-profile-detail-photo .rgp182-media{
    height:390px!important;
    min-height:390px!important;
  }
}
@media(max-width:620px){
  .rgp182-card .rgp182-content{
    min-height:0!important;
  }
  .rgp182-card .rgp182-view{
    position:static!important;
    width:100%!important;
    margin-top:17px!important;
  }
  .rgc-profile-detail-photo .rgp182-media{
    height:360px!important;
    min-height:360px!important;
  }
  .rgc-profile-detail-photo .rgp182-lock-title{
    font-size:24px!important;
  }
}
