/* NABAT V7.4 — strictly homepage visual refresh; no legacy shared CSS changed. */
/* Hero photograph: clean crop and responsive media (replaces illustration). */
.hero .nabat-hero-production{
  position:relative;
  display:block;
  width:100%;
  height:470px;
  overflow:hidden;
  border:1px solid #d7dcd7;
  background:#e5e7e3;
  border-radius:3px;
  isolation:isolate;
}
.hero .nabat-hero-production img{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center center;
  mix-blend-mode:normal;
  filter:none;
  transform:none;
  transition:transform .6s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 .hero .nabat-hero-production:hover img{transform:scale(1.025)}
}
/* Full-card category links: centered names, clear hierarchy, keyboard access. */
.category-grid .nabat-category-card{
  position:relative;
  display:grid;
  place-items:center;
  text-align:center;
  padding:24px;
  min-height:190px;
  background:#e9ece9;
  border:1px solid #dce1dd;
  border-radius:5px;
  color:#1b211d;
  font-family:Cairo, sans-serif;
  text-decoration:none;
  line-height:1.45;
  transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s;
}
.category-grid .nabat-category-card .nabat-category-title{
  display:block;
  width:100%;
  margin:0;
  font-size:clamp(25px,2.65vw,37px);
  font-weight:800;
  line-height:1.5;
  letter-spacing:0;
  text-align:center;
  text-wrap:balance;
}
.category-grid .nabat-category-card:hover{
  background:#e0e6e0;
  border-color:#9eaaa0;
  transform:translateY(-2px);
  box-shadow:0 9px 20px rgba(27,34,27,.065);
}
.category-grid .nabat-category-card:focus-visible{
  outline:3px solid #496349;
  outline-offset:3px;
}
@media (max-width:900px){
 .category-grid .nabat-category-card{min-height:165px;padding:20px}
 .category-grid .nabat-category-card .nabat-category-title{font-size:clamp(23px,3.1vw,31px)}
}
@media (max-width:700px){
 .hero .nabat-hero-production{height:auto;aspect-ratio: 5 / 4;min-height:240px}
 .category-grid .nabat-category-card{min-height:135px;padding:18px}
 .category-grid .nabat-category-card .nabat-category-title{font-size:clamp(25px,6.5vw,34px)}
}
@media (prefers-reduced-motion:reduce){
 .category-grid .nabat-category-card,.hero .nabat-hero-production img{transition:none!important}
 .category-grid .nabat-category-card:hover{transform:none}
}
