/* Resetiraj Visual Kit 6.2.1 — only public home-category cards, after all legacy CSS. */
/* Desktop: three readable cards rather than six narrow columns. */
body .rm6-root .rm6-category-grid,
body.page .rm6-root .e-con.rm6-category-grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
body .rm6-root .rm6-category-grid>.rm6-category,
body.page .rm6-root .rm6-category-grid>.e-con.rm6-category{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid #e7e7e4!important;
  box-shadow:0 8px 24px rgba(39,54,66,.055)!important;
}
body .rm6-root .rm6-category .rm6-card-photo,
body.page .rm6-root .rm6-category .rm6-card-photo {
  width:100%!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  display:block!important;
  flex:0 0 auto!important;
}
body .rm6-root .rm6-category .rm6-card-photo .elementor-widget-container,
body .rm6-root .rm6-category .rm6-card-photo a,
body .rm6-root .rm6-category .rm6-card-photo img {
  display:block!important;
  width:100%!important;
  height:100%!important;
}
body .rm6-root .rm6-category .rm6-card-photo img{
  object-fit:cover!important;
  object-position:center center!important;
  max-width:none!important;
}
body .rm6-root .rm6-category .rm6-category-info,
body.page .rm6-root .rm6-category .rm6-category-info {
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:0!important;
  width:100%!important;
  padding:17px 19px 19px!important;
  min-height:0!important;
  flex:1 1 auto!important;
  grid-template-rows:none!important;
}
body .rm6-root .rm6-category :is(.rm6-category-name,.rm6-category-sub,.rm6-category-cta){
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
}
body .rm6-root .rm6-category .rm6-category-name .elementor-heading-title{
  font-size:clamp(17px,1.5vw,21px)!important;
  line-height:1.27!important;
  margin:0 0 6px!important;
  overflow-wrap:break-word!important;
  display:block!important;
  -webkit-line-clamp:unset!important;
  overflow:visible!important;
}
body .rm6-root .rm6-category .rm6-category-sub,
body .rm6-root .rm6-category .rm6-category-sub p{
  font-size:14px!important;
  line-height:1.48!important;
  margin:0!important;
  min-height:0!important;
  display:block!important;
  -webkit-line-clamp:unset!important;
  overflow:visible!important;
}
body .rm6-root .rm6-category .rm6-category-cta {
  margin-top:12px!important;
  padding:0!important;
}
body .rm6-root .rm6-category .rm6-category-cta .elementor-heading-title {
  font-size:12px!important;
  line-height:1.35!important;
  color:#bd5034!important;
  margin:0!important;
  letter-spacing:.045em!important;
}
@media (max-width:1050px) and (min-width:768px){
 body .rm6-root .rm6-category-grid,body.page .rm6-root .e-con.rm6-category-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:15px!important;
 }
 body .rm6-root .rm6-category .rm6-category-info{padding:15px 17px 17px!important}
}
@media (max-width:767px){
 body .rm6-root .rm6-category-grid,
 body.page .rm6-root .e-con.rm6-category-grid {
   grid-template-columns:minmax(0,1fr)!important;
   gap:12px!important;
 }
 body .rm6-root .rm6-category-grid>.rm6-category,
 body.page .rm6-root .rm6-category-grid>.e-con.rm6-category{
   display:flex!important;
   flex-direction:column!important;
   min-height:0!important;
   grid-template-columns:none!important;
   grid-template-rows:none!important;
   border-radius:16px!important;
 }
 body .rm6-root .rm6-category .rm6-card-photo,
 body.page .rm6-root .rm6-category .rm6-card-photo{
   aspect-ratio:16/9!important;
   height:auto!important;
   min-height:0!important;
   max-height:none!important;
 }
 body .rm6-root .rm6-category .rm6-category-info,
 body.page .rm6-root .rm6-category .rm6-category-info{
   grid-column:auto!important;
   grid-row:auto!important;
   min-height:0!important;
   padding:13px 17px 16px!important;
   gap:0!important;
   justify-content:flex-start!important;
 }
 body .rm6-root .rm6-category .rm6-category-name .elementor-heading-title{
   font-size:18px!important;
   margin:0 0 5px!important;
 }
 body .rm6-root .rm6-category .rm6-category-sub,
 body .rm6-root .rm6-category .rm6-category-sub p{
   font-size:13px!important;
   line-height:1.4!important;
   min-height:0!important;
 }
 body .rm6-root .rm6-category .rm6-category-cta{
   margin-top:10px!important;
   padding-top:0!important;
 }
 body .rm6-root .rm6-category .rm6-category-cta .elementor-heading-title{font-size:12px!important}
}
@media (prefers-reduced-motion:reduce){
 body .rm6-root .rm6-category,body .rm6-root .rm6-card-photo img {transition:none!important}
}
