/* v0.4.6: surgical finishing for three approved path cards.
 * No changes to hero, global menu, logo, footer, or external API.
 * The original embedded path photos have a #cbcbcb matte, not transparency;
 * keep card and photo matte matched through hover to avoid a visible rectangle.
 */
body.home .onekasb-home-v030 .o3-paths-grid .o3-path-link.ek-classic-card,
body.home .onekasb-home-v030 .o3-paths-grid .o3-path-link.ek-classic-card:hover,
body.home .onekasb-home-v030 .o3-paths-grid .o3-path-link.ek-classic-card:focus-visible {
  background-color:#cbcbcb!important;
  background-image:none!important;
  filter:none!important;
}
body.home .onekasb-home-v030 .o3-paths-grid .o3-path-link.ek-classic-card::before,
body.home .onekasb-home-v030 .o3-paths-grid .o3-path-link.ek-classic-card:hover::before,
body.home .onekasb-home-v030 .o3-paths-grid .o3-path-link.ek-classic-card:focus-visible::before {
  opacity:0!important;
  background:none!important;
}
/* English remains prominent but ~10% smaller; Persian subhead lighter. */
body.home .onekasb-home-v030 .ek-classic-en {
  font-size:clamp(29px,3.1vw,42px)!important;
  letter-spacing:-.027em!important;
}
body.home .onekasb-home-v030 .ek-classic-fa {
  font-size:clamp(19px,1.65vw,22px)!important;
  font-weight:400!important;
  line-height:1.65!important;
}
body.home .onekasb-home-v030 .ek-classic-photo {
  inset:auto auto 14px 50%!important;
  width:92%!important;
  height:55%!important;
  transform:translateX(-50%)!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.home .onekasb-home-v030 .ek-classic-photo img {
  max-width:100%!important;
  max-height:100%!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  filter:none!important;
  transform:none!important;
  transition:transform .32s ease!important;
}
body.home .onekasb-home-v030 .ek-classic-card:hover .ek-classic-photo img,
body.home .onekasb-home-v030 .ek-classic-card:focus-visible .ek-classic-photo img {
  transform:translateY(-3px) scale(1.008)!important;
  filter:none!important;
}
/* The same shared rings move and contract around the active card. */
body.home .onekasb-home-v030 .o3-paths.ek-classic-paths::before {
  left:var(--ek-ring-x, 50%)!important;
  top:var(--ek-ring-y, 45%)!important;
  width:var(--ek-ring-size, min(1450px,145vw))!important;
  transform:translate(-50%,-50%)!important;
  transition:left .56s cubic-bezier(.2,.75,.2,1),
             top .56s cubic-bezier(.2,.75,.2,1),
             width .56s cubic-bezier(.2,.75,.2,1),
             opacity .36s ease!important;
}
body.home .onekasb-home-v030 .o3-paths.ek-classic-paths.ek-ring-focused::before {
  opacity:.82!important;
  transform:translate(-50%,-50%)!important;
}
@media (max-width:1120px) {
  body.home .onekasb-home-v030 .ek-classic-en{font-size:clamp(22px,2.9vw,33px)!important}
  body.home .onekasb-home-v030 .ek-classic-fa{font-size:clamp(16px,1.7vw,20px)!important}
  body.home .onekasb-home-v030 .ek-classic-photo{height:53%!important}
}
@media (max-width:780px) {
  body.home .onekasb-home-v030 .ek-classic-en{font-size:clamp(29px,6.65vw,39px)!important}
  body.home .onekasb-home-v030 .ek-classic-fa{font-size:clamp(18px,4.4vw,22px)!important}
  body.home .onekasb-home-v030 .ek-classic-photo{width:90%!important;height:57%!important}
  body.home .onekasb-home-v030 .o3-paths.ek-classic-paths::before {width:var(--ek-ring-size, 155vw)!important}
}
@media (max-width:390px) {
  body.home .onekasb-home-v030 .ek-classic-en{font-size:clamp(26px,7.35vw,32px)!important}
  body.home .onekasb-home-v030 .ek-classic-fa{font-size:18px!important}
  body.home .onekasb-home-v030 .ek-classic-photo{height:54%!important;width:90%!important}
}
@media (prefers-reduced-motion:reduce) {
  body.home .onekasb-home-v030 .o3-paths.ek-classic-paths::before,
  body.home .onekasb-home-v030 .ek-classic-photo img{transition:none!important;animation:none!important}
}
