/* OKU | 15 Nov 2026 — canonical home + art and rollover refinements.
   Only the 18 new homepage cards; do not change their linked detail pages. */

/* The card itself is the hit target, even when its art and copy overlap. */
#screen-home .oku26-grid > a.oku26-tile {
  position:relative!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation;
}
#screen-home .oku26-grid > a.oku26-tile :is(.oku26-tile__art,.oku26-tile__copy,.oku26-tile__arrow,.oku26-quran-caption) {
  pointer-events:none!important;
}

/* A very fine black outline visible around the rounded card on hover, without
   shifting its size. Keep a stronger focus ring for keyboard accessibility. */
#screen-home .oku26-grid > .oku26-tile:hover {
  outline:0!important;
  outline-offset:0!important;
  border-color:transparent!important;
  box-shadow:0 0 0 .25pt #000!important;
  transform:none!important;
  filter:none!important;
}
#screen-home .oku26-grid > .oku26-tile:focus-visible {
  outline:2px solid #111!important;
  outline-offset:3px!important;
}
/* The Qur'an / 114 Sûre corner is separate from the ordinary title; it too
   must change to the card's own original color during a reversed rollover. */
#screen-home .oku26-grid > .oku26-tile--oku:hover :is(
  .oku26-quran-caption,
  .oku26-quran-caption strong,
  .oku26-quran-caption small
) {color:var(--tile)!important;}

/* Expand artwork slightly without changing the text columns or card sizes.
   Use the real transparent PNGs already supplied for the homepage. */
#screen-home .oku26-grid > .oku26-tile--dinle .oku26-tile__art {
  width:71%!important;right:0!important;
}
#screen-home .oku26-grid > .oku26-tile--kesfet .oku26-tile__art {
  width:72%!important;right:0!important;
}
#screen-home .oku26-grid > .oku26-tile--curume .oku26-tile__art {
  width:73%!important;right:0!important;
}
#screen-home .oku26-grid > .oku26-tile--defter .oku26-tile__art {
  width:73%!important;right:0!important;
}
#screen-home .oku26-grid > .oku26-tile--tefekkur .oku26-tile__art {
  width:67%!important;right:0!important;
}
#screen-home .oku26-grid > .oku26-tile--dinle .oku26-tile__art > img,
#screen-home .oku26-grid > .oku26-tile--kesfet .oku26-tile__art > img,
#screen-home .oku26-grid > .oku26-tile--curume .oku26-tile__art > img,
#screen-home .oku26-grid > .oku26-tile--defter .oku26-tile__art > img,
#screen-home .oku26-grid > .oku26-tile--tefekkur .oku26-tile__art > img {
  transform:scale(1.065)!important;
  transform-origin:right bottom!important;
}

/* 2026 is horizontally centered on the red calendar header rather than
   being tucked to the right. Day and month are left untouched. */
#screen-home .oku26-grid > .oku26-tile--bugun .oku26-calendar-date small {
  position:absolute!important;
  top:23%!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  transform:none!important;
  display:block!important;
  text-align:center!important;
  white-space:nowrap!important;
  font-weight:800!important;
  letter-spacing:0!important;
}

@media(max-width:760px){
  #screen-home .oku26-grid > .oku26-tile--bugun .oku26-calendar-date small {
    top:22%!important;
    left:0!important;right:0!important;
    width:100%!important;
    font-size:clamp(7px,1.9vw,11px)!important;
  }
  #screen-home .oku26-grid > .oku26-tile--dinle .oku26-tile__art {width:70%!important;}
  #screen-home .oku26-grid > .oku26-tile--kesfet .oku26-tile__art {width:73%!important;}
  #screen-home .oku26-grid > .oku26-tile--curume .oku26-tile__art,
  #screen-home .oku26-grid > .oku26-tile--defter .oku26-tile__art {width:72%!important;}
  #screen-home .oku26-grid > .oku26-tile--tefekkur .oku26-tile__art {width:70%!important;}
  /* Keep the mobile cards safe for small touch screens. */
  #screen-home .oku26-grid > .oku26-tile--dinle .oku26-tile__art > img,
  #screen-home .oku26-grid > .oku26-tile--kesfet .oku26-tile__art > img,
  #screen-home .oku26-grid > .oku26-tile--curume .oku26-tile__art > img,
  #screen-home .oku26-grid > .oku26-tile--defter .oku26-tile__art > img,
  #screen-home .oku26-grid > .oku26-tile--tefekkur .oku26-tile__art > img {
    transform:scale(1.025)!important;
  }
}
@media(prefers-reduced-motion:reduce){
 #screen-home .oku26-grid > .oku26-tile .oku26-tile__art > img {transition:none!important;}
}
