/* Asarkade.ir */
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> .ak-archive-media-landscape) { --ak-archive-ratio:16 / 9; }
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> .ak-archive-media-portrait) { --ak-archive-ratio:3 / 4; }
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> .ak-archive-media-square) { --ak-archive-ratio:1; }
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> [class^="ak-archive-media-"]) > :is(figure,.pixel-tools-demo-video-widget) > img,
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> [class^="ak-archive-media-"]) > a > figure > img {
  display:block; width:100%; height:auto; aspect-ratio:var(--ak-archive-ratio); object-fit:cover;
}
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> .ak-archive-media-landscape) > :is(figure,a:has(> figure),.pixel-tools-demo-video-widget) {
  display:block; position:relative; width:100%; height:auto !important; aspect-ratio:16 / 9; overflow:hidden;
}
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> .ak-archive-media-landscape) > a > figure { margin:0; width:100%; height:100%; }
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> .ak-archive-media-landscape) > :is(figure,.pixel-tools-demo-video-widget) > img,
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div:first-child:has(> .ak-archive-media-landscape) > a > figure > img { position:absolute; inset:0; width:100%; height:100% !important; object-fit:cover; }
[id^="pixel-offer-slider-"] .pixel-offer-slider-grid-widget .text-xl.text-green-500 { color:#44403c !important; }
html.dark [id^="pixel-offer-slider-"] .pixel-offer-slider-grid-widget .text-xl.text-green-500 { color:#e7e5e4 !important; }
body.category .container > div.mb-5:has(> a.font-IransansBold) {
  padding-block-start: clamp(16px, 2.2vw, 28px);
}
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div + div {
  container-type: inline-size;
  padding-inline: clamp(8px, 3%, 20px);
}
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div + div > div:last-child {
  column-gap: 4px;
}
.pixel-download-grid-widget .ak-reactions-row {
  grid-template-columns: minmax(max-content,1fr) auto minmax(max-content,1fr)!important;
}
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div + div > div:last-child > span,
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div + div > div:last-child > .ak-price-reactions > span,
.pixel-download-grid-widget .ak-reactions-row .ak-sale-price :is(span,div) {
  white-space: nowrap!important;
  overflow-wrap: normal;
  word-break: normal;
  font-size: 12px!important;
  font-size: clamp(10px, 7cqi, 14px)!important;
}
:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .pixel-download-grid-widget > div + div > div:last-child > a {
  min-width: 0!important;
  white-space: nowrap;
  min-height: 36px!important; height: auto; box-sizing: border-box;
  padding: 4px clamp(5px, calc(13cqi - 10px), 18px)!important;
  font-size: clamp(10px, 7cqi, 12px); font-weight: 700; border-radius: 14px;
}
.ak-reactions-row>a:focus-visible,.pixel-download-grid-widget > div + div > div:last-child > a:focus-visible,#ak-blog-root :is(.ak-blog__featured-read,.ak-blog__card-read):focus-visible{outline:2px solid var(--ak-card-focus,var(--ak-brand-fill,#7542d6))!important;outline-offset:3px}
html.dark{--ak-card-focus:var(--ak-brand-light,#ccafff)}
.ak-blog__recent-item { text-decoration: none; border-radius: 10px; }
.ak-blog__recent-thumb { transition: transform .2s, box-shadow .2s; }
.ak-blog__recent-item:is(:hover,:focus-visible) .ak-blog__recent-thumb {
  box-shadow: 0 0 0 2px var(--ak-brand);
  transform: rotate(6deg);
}
body.single-post main .pixel-sidebar li > a:is(:hover,:focus-visible) > div > span:first-child,
#ak-blog-root .ak-blog__recent-item:is(:hover,:focus-visible) .ak-blog__recent-title {
  color: var(--ak-brand-fill); font-weight: 800;
}
html.dark body.single-post main .pixel-sidebar li > a:is(:hover,:focus-visible) > div > span:first-child,
html.dark #ak-blog-root .ak-blog__recent-item:is(:hover,:focus-visible) .ak-blog__recent-title { color: var(--ak-brand-light); }
body.single-post main .pixel-sidebar li > a:focus-visible > img { box-shadow: 0 0 0 2px var(--ak-brand); }
.ak-article-path { --path-ink:#57534e; --path-bg:#faf9fc; --path-line:#e7e1ee; --path-hover:var(--ak-brand-fill); --path-tint:var(--ak-brand-tint); margin-block-end:14px; font-size:.875rem; color:var(--path-ink); }
html.dark .ak-article-path { --path-ink:#d6d3d1; --path-bg:#211d27; --path-line:#3a3245; --path-hover:var(--ak-brand-light); --path-tint:var(--ak-brand-tint); }
.ak-article-path ol, .ak-article-path li { display:flex; align-items:center; gap:.35em; }
.ak-article-path ol { width:fit-content; max-width:100%; flex-wrap:wrap; list-style:none; margin:0; padding:4px 6px; border:1px solid var(--path-line); border-radius:14px; background:var(--path-bg); }
.ak-article-path li { min-inline-size:0; }
.ak-article-path li > span { color:var(--path-hover); opacity:.65; }
.ak-article-path a { display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:4px 9px; border-radius:9px; font-weight:600; overflow-wrap:anywhere; }
.ak-article-path li:first-child a,.ak-article-path a:is(:hover,:focus-visible) { color:var(--path-hover); background:var(--path-tint); }
.ak-article-path a:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:3px; }
.ak-article-path svg { width:16px; height:16px; flex:none; }
:is(.ak-blog__recent-item,.ak-article-path a,body.single-post main .pixel-sidebar li > a):focus-visible { outline: 2px solid var(--ak-brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ak-blog__recent-thumb { transition: none; transform: none!important; } }

:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .px-filter-more {
    background-color: var(--ak-brand, #8e51ff) !important;
    color: var(--ak-brand-ink, #000) !important;
}

:is(.post-type-archive-download,.tax-download_category,.tax-download_tag) .px-filter-more:is(:hover,:focus-visible) {
    background-color: var(--ak-action-hover, #9962ff) !important;
    color: var(--ak-brand-ink, #000) !important;
}
.px-filter-root { --ak-filter-ink: #44403c; --ak-filter-active: var(--ak-brand-fill, #412575); }
html.dark .px-filter-root { --ak-filter-ink: #e7e5e4; --ak-filter-active: var(--ak-brand-light, #ccafff); }
.px-filter-root :is(.px-filter-toggle,.px-filter-head,.px-filter-option,.px-filter-sort-select) { color: var(--ak-filter-ink); }
.px-filter-root :is(.px-filter-toggle[aria-expanded=true],.px-filter-option:has(:checked),.px-filter-chip) { color: var(--ak-filter-active) !important; }
.px-filter-root .px-filter-chip {
    background-color: var(--ak-brand-tint, #8e51ff29);
    border-color: var(--ak-brand-tint, #8e51ff29);
}
.px-filter-root .px-filter-chip > span:first-child { color: inherit; }

.px-filter-root .px-filter-toggle[aria-expanded=true] { background-color: var(--ak-brand-tint, #8e51ff29) !important; }
:is(.px-filter-root, .px-filter-panel) .px-filter-submit {
    background-color: var(--ak-brand, #8e51ff) !important;
    color: var(--ak-brand-ink, #000) !important;
}

:is(.px-filter-root, .px-filter-panel) .px-filter-submit:is(:hover,:focus-visible) { background-color: var(--ak-action-hover, #9962ff) !important; }
:is(.px-filter-root, .px-filter-panel) :is(.px-filter-clear,.px-filter-apply):is(:hover,:focus-visible) { background-color: var(--ak-brand-tint); }

/* Pixel 7.0.1 post-card action; product card markup is not targeted. */
.group\/image > .pt-3 > .flex.justify-between.items-center.gap-x-3.mt-3 > a.flex.justify-center.items-center.text-sm.border.px-3.h-8.rounded-full { border-radius:8px; }
