.tg-popular-posts{width:100%;min-width:0;font-family:var(--tg-font-family,"Vazirmatn",sans-serif);direction:rtl;position:relative}.tg-popular-posts,.tg-popular-posts *{box-sizing:border-box}.tg-popular-posts__header{justify-content:space-between;align-items:center;gap:30px;width:100%;min-width:0;margin-bottom:18px;display:flex}.tg-popular-posts__title{color:#111;text-align:right;flex:none;margin:0;font-size:28px;font-weight:700;line-height:1.5}.tg-popular-posts__tabs{scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;background:#f0f2f2;border:1px solid #dfe2e3;border-radius:999px;flex:0 auto;align-items:center;gap:2px;max-width:100%;padding:3px;display:flex;overflow:auto hidden}.tg-popular-posts__tabs::-webkit-scrollbar{display:none}.tg-popular-posts__tab{min-width:60px;min-height:27px;box-shadow:none;color:#202020;white-space:nowrap;cursor:pointer;-webkit-appearance:none;appearance:none;background:0 0;border:0;border-radius:999px;outline:none;flex:none;justify-content:center;align-items:center;margin:0;padding:4px 14px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;transition:background-color .2s,color .2s,box-shadow .2s;display:inline-flex}.tg-popular-posts__tab:hover{color:#111;background:#ffffffa6}.tg-popular-posts__tab:focus-visible{background:#ffffffbf;box-shadow:0 0 0 2px #11111126}.tg-popular-posts__tab.is-active{color:#111;background:#fff;box-shadow:0 1px 3px #11111114,0 0 0 1px #1111110a}.tg-popular-posts__grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:17px;width:100%;min-width:0;transition:opacity .2s,transform .2s;display:grid}.tg-popular-posts.is-loading .tg-popular-posts__grid{opacity:.35;pointer-events:none;transform:translateY(3px)}.tg-popular-posts__card{background:#fff;border:1px solid #e2e3e4;border-radius:11px;flex-direction:column;width:100%;min-width:0;height:100%;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;overflow:hidden;box-shadow:0 4px 14px #1a1f230f}@media (hover:hover){.tg-popular-posts__card:hover{border-color:#d7d9da;transform:translateY(-3px);box-shadow:0 8px 22px #1a1f231a}}.tg-popular-posts__image-link{width:100%;color:inherit;text-decoration:none;display:block}.tg-popular-posts__image-link:focus-visible{outline-offset:-2px;outline:2px solid #11111159}.tg-popular-posts__image-wrap{aspect-ratio:2.05;background:#eef0f0;width:100%;position:relative;overflow:hidden}.tg-popular-posts__image{object-fit:cover;object-position:center;width:100%;height:100%;transition:transform .35s;display:block}@media (hover:hover){.tg-popular-posts__card:hover .tg-popular-posts__image{transform:scale(1.025)}}.tg-popular-posts__image-placeholder{color:#8d9294;background:linear-gradient(135deg,#f1f3f3 0%,#e5e8e8 100%);justify-content:center;align-items:center;width:100%;height:100%;font-size:13px;font-weight:500;display:flex}.tg-popular-posts__content{flex-direction:column;flex:auto;min-width:0;padding:13px 18px 14px;display:flex}.tg-popular-posts__meta{justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;margin-bottom:10px;display:flex}.tg-popular-posts__category{color:#85898a;white-space:nowrap;text-overflow:ellipsis;background:#f0f2f2;border-radius:999px;flex:0 auto;justify-content:center;align-items:center;max-width:55%;min-height:23px;padding:3px 10px;font-size:12px;font-weight:400;line-height:1.5;display:inline-flex;overflow:hidden}.tg-popular-posts__reading-time{color:#777b7c;white-space:nowrap;flex:none;align-items:center;gap:4px;font-size:12px;font-weight:400;line-height:1.5;display:inline-flex}.tg-popular-posts__reading-time svg{flex:none;width:13px;height:13px}.tg-popular-posts__card-title{color:#111;text-align:right;-webkit-line-clamp:1;-webkit-box-orient:vertical;min-height:26px;margin:0 0 8px;font-size:20px;font-weight:700;line-height:1.65;display:-webkit-box;overflow:hidden}.tg-popular-posts__card-title a,.tg-popular-posts__card-title a:hover,.tg-popular-posts__card-title a:focus{color:inherit;text-decoration:none}.tg-popular-posts__card-title a:focus-visible{outline-offset:2px;border-radius:3px;outline:2px solid #11111140}.tg-popular-posts__summary{color:#747879;text-align:right;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:50px;margin:0 0 16px;font-size:16px;font-weight:400;line-height:2.05;display:-webkit-box;overflow:hidden}.tg-popular-posts__card-footer{justify-content:space-between;align-items:center;gap:15px;width:100%;min-width:0;margin-top:auto;display:flex}.tg-popular-posts__date{color:#a5a8a9;white-space:nowrap;flex:none;font-size:12px;font-weight:400;line-height:1.5}.tg-popular-posts__read-more{color:#111;white-space:nowrap;flex:none;align-items:center;gap:5px;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;display:inline-flex}.tg-popular-posts__read-more:hover,.tg-popular-posts__read-more:focus{color:#111;text-decoration:none}.tg-popular-posts__read-more:focus-visible{outline-offset:3px;border-radius:3px;outline:2px solid #11111140}.tg-popular-posts__read-more svg{flex:none;width:15px;height:15px;transition:transform .2s}@media (hover:hover){.tg-popular-posts__read-more:hover svg{transform:translate(-3px)}}.tg-popular-posts__footer{justify-content:flex-end;align-items:center;width:100%;margin-top:18px;display:flex}.tg-popular-posts__all-button{color:#111;text-align:center;background:#eceeee;border-radius:999px;justify-content:center;align-items:center;min-height:39px;padding:8px 20px;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none;transition:transform .2s,background-color .2s;display:inline-flex}.tg-popular-posts__all-button:hover,.tg-popular-posts__all-button:focus{color:#111;background:#e2e5e5;text-decoration:none}.tg-popular-posts__all-button:focus-visible{outline-offset:3px;outline:2px solid #1111114d}@media (hover:hover){.tg-popular-posts__all-button:hover{transform:translateY(-2px)}}.tg-popular-posts__loader{z-index:5;opacity:0;visibility:hidden;pointer-events:none;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;transition:opacity .2s,visibility .2s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 4px 16px #1111111f}.tg-popular-posts.is-loading .tg-popular-posts__loader{opacity:1;visibility:visible}.tg-popular-posts__loader span{border:2px solid #dfe2e2;border-top-color:#111;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite tg-popular-posts-spin;display:block}@keyframes tg-popular-posts-spin{to{transform:rotate(360deg)}}.tg-popular-posts__empty{color:#777b7c;text-align:center;background:#f8f9f9;border:1px dashed #d9dcdd;border-radius:12px;grid-column:1/-1;width:100%;padding:45px 20px;font-size:14px;font-weight:400;line-height:1.8}@media (width>=768px) and (width<=1024px){.tg-popular-posts__header{align-items:flex-start;gap:20px}.tg-popular-posts__title{font-size:22px}.tg-popular-posts__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}}@media (width<=767px){.tg-popular-posts__header{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:16px}.tg-popular-posts__title{text-align:center;font-size:21px}.tg-popular-posts__tabs{width:100%}.tg-popular-posts__tab{min-width:72px;min-height:32px;padding-left:16px;padding-right:16px;font-size:14px}.tg-popular-posts__grid{grid-template-columns:minmax(0,1fr);gap:16px}.tg-popular-posts__image-wrap{aspect-ratio:1.9}.tg-popular-posts__content{padding:14px 16px 16px}.tg-popular-posts__category,.tg-popular-posts__reading-time{font-size:14px}.tg-popular-posts__reading-time svg{width:14px;height:14px}.tg-popular-posts__card-title{-webkit-line-clamp:2;min-height:auto;font-size:20px}.tg-popular-posts__summary{-webkit-line-clamp:3;min-height:auto;font-size:16px}.tg-popular-posts__date,.tg-popular-posts__read-more{font-size:14px}.tg-popular-posts__footer{justify-content:stretch;margin-top:16px}.tg-popular-posts__all-button{width:100%}}@media (width<=420px){.tg-popular-posts__title{font-size:20px}.tg-popular-posts__content{padding:13px 14px 15px}.tg-popular-posts__meta{gap:8px}.tg-popular-posts__category{max-width:58%}}@media (prefers-reduced-motion:reduce){.tg-popular-posts__grid,.tg-popular-posts__card,.tg-popular-posts__image,.tg-popular-posts__tab,.tg-popular-posts__read-more svg,.tg-popular-posts__all-button,.tg-popular-posts__loader{transition:none}.tg-popular-posts__card:hover,.tg-popular-posts__all-button:hover,.tg-popular-posts__read-more:hover svg{transform:none}.tg-popular-posts__loader span{animation-duration:1.4s}}