/* Tamiyouz Blog V20 — editorial category carousel refinements */
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid{
display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;
align-items:stretch;direction:rtl;min-width:0;
}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card,
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card:nth-child(-n+2){
grid-column:auto!important;grid-row:auto!important;width:100%!important;
min-height:0!important;height:318px!important;max-width:none!important;
margin:0!important;display:flex;position:relative;border-radius:20px!important;
border:1px solid rgba(220,196,142,.17)!important;box-shadow:0 9px 25px rgba(9,25,47,.12);
overflow:hidden;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease,border-color .45s ease!important;
}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card[hidden]{display:none!important}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__media{position:absolute!important;inset:0!important;width:100%;height:100%;overflow:hidden}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v18-category-photo{width:100%!important;height:100%!important;object-fit:cover;object-position:center;transform:scale(1.015);filter:saturate(.88) contrast(1.06)}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(3,18,36,.31),rgba(5,21,43,.24) 30%,rgba(3,15,31,.93) 100%)!important}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__top{position:absolute!important;inset:15px 15px auto!important;display:flex;align-items:center;justify-content:space-between;width:auto!important;gap:8px;z-index:3}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__body{position:absolute!important;inset:auto 16px 16px!important;z-index:3;display:flex!important;flex-direction:column;align-items:stretch!important;justify-content:flex-end;gap:8px;min-width:0}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__title{font-size:clamp(1.06rem,1.25vw,1.3rem)!important;font-weight:800!important;line-height:1.4!important;text-shadow:0 2px 12px #0009;overflow-wrap:anywhere}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__description{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6!important;font-size:.79rem!important;color:#f0eee9!important;margin:0!important;min-height:2.5em}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-card-cta{width:100%;box-sizing:border-box!important;padding:11px 12px!important;margin:6px 0 0!important;border-radius:11px!important;min-height:42px;display:flex!important;justify-content:center;gap:7px;font-size:clamp(.69rem,.79vw,.79rem)!important;white-space:normal;text-align:center;background:linear-gradient(110deg,#f4d994,#e4bb67)!important;color:#162842!important}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__arrow{display:none!important}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card:hover{transform:translateY(-5px)!important;box-shadow:0 19px 38px rgba(4,20,41,.26)!important;border-color:rgba(235,195,116,.55)!important}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-slider-controls{display:flex;direction:rtl;justify-content:space-between;max-width:390px;margin:18px auto 24px!important;padding:7px 10px;border:1px solid #d9cdbb;border-radius:80px;background:#fffaf1;box-shadow:0 6px 20px #1b28400d}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-nav{width:43px;height:43px;border-radius:50%;border:1px solid #d7be85}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-counter{align-self:center;letter-spacing:.04em;font-weight:800;font-size:.9rem;color:#172a42}
.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid.is-v20-transitioning>.tyz-v14-category-card:not([hidden]){animation:tyzV20Enter .52s cubic-bezier(.16,.8,.26,1) both}
@keyframes tyzV20Enter{from{opacity:.3;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1050px){.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card,.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card:nth-child(-n+2){height:305px!important}}
@media(max-width:600px){.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid{gap:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card,.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card:nth-child(-n+2){height:280px!important;border-radius:15px!important}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__top{inset:10px 9px auto!important}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__body{inset:auto 10px 10px!important;gap:5px}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__title{font-size:.91rem!important}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v14-category-card__description{font-size:.68rem!important;line-height:1.45!important}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-card-cta{font-size:.65rem!important;padding:8px 5px!important;min-height:42px}}
@media(max-width:390px){.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid{grid-template-columns:1fr!important}.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid>.tyz-v14-category-card{height:270px!important}}
@media(prefers-reduced-motion:reduce){.tyz-editorial-v17 .tyz-v19-rendered .tyz-v19-category-grid.is-v20-transitioning>.tyz-v14-category-card:not([hidden]){animation:none!important}}
