/* FIX11: Restore native mid-panel portraits. Keep all existing home six-card rules.
   The previous global detail rules forced six portraits into small circles;
   those rules have been deliberately removed.  Only middle portrait placement
   for Nesimi is scoped below.  No floral, hero or work sections are styled. */
/* The reference homepage places the Pir Sultan and Ahmed Yesevi portraits to the left, opposite the other four. */
#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-cover,
#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-cover{flex-direction:row-reverse}
#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-copy,
#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-copy{padding-left:0;padding-right:5px;text-align:right}
#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-works,
#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-works{justify-content:flex-end;margin-left:0;margin-right:5px}
#screen-home #okuPermanentSix .oku-six-kicker{display:none!important}
#screen-home #okuPermanentSix .oku-six-cover{min-height:170px}
#screen-home #okuPermanentSix .oku-six-copy{align-self:flex-start;padding-top:15px}
#screen-home #okuPermanentSix .oku-six-title{font-weight:720;font-size:clamp(24px,2.24vw,40px);line-height:1.11;letter-spacing:-.045em}
#screen-home #okuPermanentSix .oku-six-circle{background:none;flex-shrink:0}
#screen-home #okuPermanentSix .oku-six-circle img{transform:scale(1.075);transform-origin:center 26%;object-position:center 19%}
#screen-home #okuPermanentSix .oku-six-card{border-radius:30px;min-height:245px}
#screen-home #okuPermanentSix .oku-six-work{min-height:31px;font-size:11px;padding:7px 14px}
@media(min-width:1100px){
 #screen-home #okuPermanentSix .oku-six-circle{width:clamp(190px,14vw,230px);height:clamp(190px,14vw,230px)}
}
@media(max-width:900px){
 #screen-home #okuPermanentSix .oku-six-title{font-size:clamp(21px,2.7vw,29px)}
 #screen-home #okuPermanentSix .oku-six-cover{min-height:140px}
 #screen-home #okuPermanentSix .oku-six-card{min-height:214px}
}
@media(max-width:580px){
 #screen-home #okuPermanentSix .oku-six-title{font-size:clamp(23px,6.4vw,34px)}
 #screen-home #okuPermanentSix .oku-six-cover{min-height:133px}
 #screen-home #okuPermanentSix .oku-six-card{min-height:191px}
 #screen-home #okuPermanentSix .oku-six-copy{padding-top:5px}
}

#screen-home #okuPermanentSix .oku-six-card{padding-bottom:20px}
#screen-home #okuPermanentSix .oku-six-cover{position:relative;align-items:center;justify-content:space-between}
#screen-home #okuPermanentSix .oku-six-copy{position:absolute;top:8px;left:5px;max-width:58%;z-index:3;padding:0!important}
#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-copy,
#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-copy{left:auto;right:5px;text-align:right}
#screen-home #okuPermanentSix .oku-six-circle{position:absolute;right:0;top:50%;transform:translateY(-50%)}
#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-circle,
#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-circle{right:auto;left:0}
#screen-home #okuPermanentSix .oku-six-works{position:absolute;left:30px;right:auto;top:82px;margin:0!important;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:45%}
#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-works,
#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-works{left:auto;right:29px;align-items:flex-end;max-width:48%}
#screen-home #okuPermanentSix .oku-six-arrow{position:absolute;left:21px;bottom:14px;z-index:4;font:700 29px/1 "JetBrains Mono Local",monospace;color:#f7e8cc;pointer-events:none}
@media(max-width:900px){#screen-home #okuPermanentSix .oku-six-works{left:21px;top:75px}#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-works,#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-works{right:20px}#screen-home #okuPermanentSix .oku-six-arrow{left:15px;bottom:11px;font-size:24px}}
@media(max-width:580px){#screen-home #okuPermanentSix .oku-six-works{left:16px;top:63px;max-width:49%}#screen-home #okuPermanentSix .oku-six-card:nth-child(3) .oku-six-works,#screen-home #okuPermanentSix .oku-six-card:nth-child(4) .oku-six-works{right:16px;max-width:49%}#screen-home #okuPermanentSix .oku-six-arrow{left:14px;bottom:10px;font-size:20px}}

/* FIX11: Only the central Nesimi portrait area. Header and works untouched. */
@media(min-width:901px){
 #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{
    min-height:0!important; padding:0!important; display:flex!important;
    align-items:flex-end!important;justify-content:flex-start!important;
    position:relative!important; align-self:stretch!important;
 }
 #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
    position:absolute!important;left:0!important;bottom:0!important;top:auto!important;
    width:100%!important;height:100%!important;max-width:none!important;
    min-height:0!important; margin:0!important;align-self:flex-end!important;
    border:0!important;border-radius:0!important; background:transparent!important;
    overflow:visible!important;box-shadow:none!important;transform:none!important;
 }
 #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
    position:absolute!important;left:0!important;bottom:0!important;top:auto!important;
    width:100%!important;height:100%!important;max-height:none!important;
    object-fit:contain!important;object-position:left bottom!important;
    transform:none!important;clip-path:none!important;
    -webkit-mask-image:none!important;mask-image:none!important;
    border:0!important;border-radius:0!important;
 }
 #screen-sg-nesimi .sg-person--nesimi-custom .sg-nesimi-info--detail{
    position:absolute!important;left:auto!important;right:6%!important;
    top:45%!important;bottom:auto!important;transform:translateY(-50%)!important;
 }
}
/* Small-screen portrait remains within the original responsive layout. */
@media(max-width:900px){
 #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
    border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;
 }
 #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
    transform:none!important;clip-path:none!important;object-fit:contain!important;
    object-position:center bottom!important;border-radius:0!important;
 }
}
