/* Panel teması üstüne proje katmanı */
:root{
  --sahafhane-rightpanel-width: 380px;
}

.sahafhane-container.sahafhane-has-rightpanel{
  padding-right: calc(var(--sahafhane-rightpanel-width) + 12px);
}

.sahafhane-rightpanel{
  position: fixed;
  top: 70px; /* page-topbar yüksekliğiyle uyumlu */
  right: 0;
  width: var(--sahafhane-rightpanel-width);
  height: calc(100vh - 70px);
  background: #fff;
  border-left: 1px solid rgba(0,0,0,.08);
  z-index: 1050;
  display: flex;
  flex-direction: column;
}

.sahafhane-rightpanel__header{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sahafhane-rightpanel__body{
  padding: 14px;
  overflow: auto;
}

.sahafhane-rightpanel__backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1040;
}

@media (max-width: 1200px){
  .sahafhane-container.sahafhane-has-rightpanel{
    padding-right: 0;
  }
  .sahafhane-rightpanel{
    top: 0;
    height: 100vh;
    transform: translateX(100%);
    transition: transform .18s ease;
  }
  body.sahafhane-rightpanel-open .sahafhane-rightpanel{
    transform: translateX(0);
  }
  body.sahafhane-rightpanel-open .sahafhane-rightpanel__backdrop{
    display: block !important;
  }
}

/* contacts-profile: banner + overlay (detay sayfaları) */
.user-profile-img {
  position: relative;
}
.user-profile-img .profile-foreground-img,
.user-profile-img .profile-img {
  display: block;
  width: 100%;
}
.user-profile-img .overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, transparent 60%);
  pointer-events: none;
}
.user-profile-img .overlay-content .user-nav {
  pointer-events: auto;
}

