/* OKU v31.11 — ten languages, one header sound, six figure inversion, Aşk-ı Meşk mobile art. */
/* Exactly five buttons in each row, both in intro and in every normal footer. */
#screen-intro .intro-language-grid,
#screen-intro.cinematic-v30143 .intro-language-grid,
.screen-footer .footer-language-grid,
.screen-footer--paper .footer-language-grid,
.home-footer .footer-language-grid {
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  grid-auto-columns:auto!important;
  gap:9px 10px!important;
  width:min(100%,980px)!important;
  max-width:calc(100% - 24px)!important;
}
#screen-intro .intro-language-grid{width:min(980px,calc(100% - 26px))!important;}
.screen-footer .footer-language-grid{justify-self:center!important;margin-left:auto!important;margin-right:auto!important;}
@media(max-width:600px){
  #screen-intro .intro-language-grid{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;gap:7px 5px!important;}
  #screen-intro .intro-language-grid > .oku-language-option{
    padding:0 2px!important;min-width:0!important;min-height:38px!important;
    font-size:clamp(9px,2.2vw,12px)!important;letter-spacing:-.05em!important;border-radius:10px!important;
  }
  .screen-footer .footer-language-grid{width:calc(100% - 10px)!important;max-width:calc(100% - 10px)!important;gap:7px 5px!important;}
  .screen-footer .footer-language-grid > .oku-language-option{
    box-sizing:border-box!important;min-width:0!important;min-height:34px!important;padding:0 2px!important;
    font-size:clamp(9px,2.25vw,12px)!important;letter-spacing:-.04em!important;border-radius:10px!important;
  }
}
/* Only one actual site volume control, including dynamic biography/book screens. */
:is(.hc-screen,.sufi-screen,.mystic-screen,.sages-screen) .page-header .site-sound-button:not(#soundToggle){display:none!important;}
/* The same mobile controls as the home page; intro and Tefekkür remain exempt. */
@media(max-width:1200px), (orientation:portrait){
  .screen--paper:not(#screen-tefekkur) > .page-header .oku-mobile-menu-toggle{visibility:visible!important;pointer-events:auto!important;}
  .screen--paper:not(#screen-tefekkur) > .page-header .page-nav > .page-lang-trigger{visibility:visible!important;pointer-events:auto!important;}
}
/* Six actual homepage profile cards, not the old hidden duplicate cards. */
#screen-home #okuPermanentSix .oku-six-card{
  transition:background-color .24s ease,color .24s ease,box-shadow .24s ease!important;
}
#screen-home #okuPermanentSix .oku-six-card:is(:hover,:focus-within){
  background:#f6e8ca!important;
  color:var(--six-bg)!important;
  box-shadow:inset 0 0 0 2px var(--six-bg)!important;
}
#screen-home #okuPermanentSix .oku-six-card:is(:hover,:focus-within) :is(.oku-six-n,.oku-six-title,.oku-six-kicker,.oku-six-arrow,.oku-six-cover){
  color:var(--six-bg)!important;
}
#screen-home #okuPermanentSix .oku-six-card:is(:hover,:focus-within) .oku-six-circle{border-color:var(--six-bg)!important;}
#screen-home #okuPermanentSix .oku-six-card:is(:hover,:focus-within) .oku-six-work{
  color:var(--six-bg)!important;border-color:var(--six-bg)!important;background:transparent!important;
}
#screen-home #okuPermanentSix .oku-six-card:is(:hover,:focus-within) .oku-six-work:is(:hover,:focus-visible){
  background:var(--six-bg)!important;color:#f8ebd1!important;
}
/* Enlarged Aşk-ı Meşk mobile artwork, anchored to the lower inner edge of its button. */
@media(max-width:1200px),(orientation:portrait){
  html body .oku-mobile-menu__links > button.oku-mobile-menu__askimesk{
    position:relative!important;isolation:isolate!important;overflow:hidden!important;
    border-radius:clamp(15px,4.7vw,30px)!important;
  }
  html body .oku-mobile-menu__links > button.oku-mobile-menu__askimesk > img{
    position:absolute!important;top:auto!important;left:clamp(2px,.9vw,12px)!important;
    bottom:-12%!important;right:auto!important;
    width:clamp(76px,21vw,154px)!important;
    height:132%!important;max-width:none!important;max-height:none!important;
    object-fit:contain!important;object-position:left bottom!important;
    transform:none!important;clip-path:none!important;
    pointer-events:none!important;z-index:1!important;margin:0!important;padding:0!important;
  }
  html body .oku-mobile-menu__links > button.oku-mobile-menu__askimesk > span{
    position:relative!important;z-index:2!important;
  }
}
