/* قالب صفحه مقاله خوشه آنلاین — همه کلاس‌ها با kb- شروع می‌شوند تا با CSS قالب iShop تداخل نداشته باشند */

.kb-single {
  --kb-brand: #42c1d2;
  --kb-brand-ink: #0b7f90;
  --kb-brand-soft: #e8f7f9;
  --kb-navy: #021959;
  --kb-ink: #1f2a44;
  --kb-text: #2b3445;
  --kb-muted: #5b6680;
  --kb-line: #e6eaf0;
  --kb-bg: #f5f7fa;
  --kb-radius: 16px;
  --kb-offset: 110px; /* ارتفاع هدر چسبان قالب + فاصله */
  color: var(--kb-ink);
  line-height: 1.8;
  padding-bottom: 64px;
}
.kb-single *, .kb-single *::before, .kb-single *::after { box-sizing: border-box; }
.kb-single img { max-width: 100%; height: auto; }
.kb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- نوار پیشرفت ---------- */
.kb-progress { position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 1001; pointer-events: none; }
.kb-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f04055, #42c1d2); }

/* ---------- Breadcrumb و Hero ---------- */
.kb-breadcrumb { font-size: 13px; color: var(--kb-muted); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kb-breadcrumb a { text-decoration: none; color: var(--kb-muted); }
.kb-breadcrumb a:hover { color: var(--kb-brand-ink); }
.kb-sep { opacity: .5; }

.kb-hero { max-width: 1000px; margin: 0 auto; padding: 24px 0 8px; text-align: center; }
.kb-chip { display: inline-block; background: var(--kb-brand-soft); color: var(--kb-brand-ink); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-decoration: none; }
.kb-hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.45; color: var(--kb-navy); margin: 14px auto 12px; max-width: 820px; font-weight: 800; }
.kb-lead { font-size: 18px; line-height: 1.9; color: var(--kb-muted); max-width: 720px; margin: 0 auto 20px; }
.kb-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--kb-muted); }
.kb-author { display: flex; align-items: center; gap: 8px; color: var(--kb-ink); font-weight: 700; text-decoration: none; }
.kb-avatar { border-radius: 50%; flex: none; }
.kb-dot { width: 4px; height: 4px; border-radius: 50%; background: #c3cad6; }
.kb-cover { margin: 28px auto 0; max-width: 1000px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; background: linear-gradient(135deg, #d9f2f5, #fde7ea); }
.kb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- چیدمان ---------- */
.kb-layout { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 56px; justify-content: center; padding: 40px 0 24px; }
.kb-layout--no-toc { grid-template-columns: minmax(0, 720px); }

.kb-toc { position: sticky; top: var(--kb-offset); background: #fff; border: 1px solid var(--kb-line); border-radius: var(--kb-radius); padding: 8px 8px 12px; max-height: calc(100vh - var(--kb-offset) - 24px); overflow: auto; }
.kb-toc summary { list-style: none; cursor: pointer; font-weight: 800; color: var(--kb-navy); padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.kb-toc summary::-webkit-details-marker { display: none; }
.kb-toc__count { font-size: 12px; font-weight: 500; color: var(--kb-muted); }
.kb-toc ol { list-style: none; margin: 0; padding: 0; }
.kb-toc li { margin: 0; }
.kb-toc li a { display: block; text-decoration: none; font-size: 14px; line-height: 1.7; color: var(--kb-muted); padding: 7px 12px; border-radius: 10px; border-right: 3px solid transparent; }
.kb-toc li.kb-sub a { padding-right: 26px; font-size: 13px; }
.kb-toc li a:hover { background: var(--kb-bg); color: var(--kb-ink); }
.kb-toc li a.is-active { color: var(--kb-brand-ink); background: var(--kb-brand-soft); border-right-color: var(--kb-brand); font-weight: 700; }

.kb-share { display: flex; gap: 8px; margin-top: 16px; justify-content: center; }
.kb-share button, .kb-share a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--kb-line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--kb-muted); padding: 0; }
.kb-share button:hover, .kb-share a:hover, .kb-share button.is-done { color: var(--kb-brand-ink); border-color: var(--kb-brand); }
.kb-share svg { width: 18px; height: 18px; }

/* ---------- تایپوگرافی متن ---------- */
.kb-article { font-size: 17px; line-height: 2.1; color: var(--kb-text); min-width: 0; }
.kb-article > *:first-child { margin-top: 0; }
.kb-article p { margin: 0 0 1.2em; font-size: inherit; line-height: inherit; color: inherit; }
.kb-article h2 { font-size: 25px; line-height: 1.6; color: var(--kb-navy); margin: 2.2em 0 .7em; font-weight: 800; scroll-margin-top: var(--kb-offset); }
.kb-article h3 { font-size: 20px; line-height: 1.6; color: var(--kb-navy); margin: 1.8em 0 .5em; font-weight: 700; scroll-margin-top: var(--kb-offset); }
.kb-article h4 { font-size: 18px; color: var(--kb-navy); margin: 1.5em 0 .5em; }
/* محتوای تولیدشده با کلاس‌های تم تیره (text-white و …) روی زمینه سفید گم نشود */
.kb-article strong, .kb-article b { color: var(--kb-ink); font-weight: 700; }
.kb-article .text-white { color: inherit !important; } /* پشتیبان؛ کلاس‌ها در PHP هم حذف می‌شوند */
.kb-article h2, .kb-article h3, .kb-article h4 { color: var(--kb-navy) !important; }
.kb-article a { color: var(--kb-brand-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kb-article a:hover { text-decoration-thickness: 2px; }
.kb-article ul, .kb-article ol { padding-right: 1.4em; padding-left: 0; margin: 0 0 1.4em; }
.kb-article ul { list-style: disc; }
.kb-article ol { list-style: decimal; }
.kb-article li { margin-bottom: .5em; display: list-item; }
.kb-article li::marker { color: var(--kb-brand-ink); font-weight: 700; }
.kb-article figure { margin: 2em 0; }
.kb-article figure img, .kb-article p > img, .kb-article .wp-block-image img { border-radius: var(--kb-radius); width: 100%; height: auto; display: block; }
.kb-article figcaption { font-size: 14px; color: var(--kb-muted); text-align: center; margin-top: 10px; line-height: 1.8; }
.kb-article blockquote { margin: 1.6em 0; padding: 16px 20px; background: var(--kb-brand-soft); border-right: 4px solid var(--kb-brand); border-radius: 12px; }
.kb-article table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; display: block; overflow-x: auto; }
.kb-article th, .kb-article td { border: 1px solid var(--kb-line); padding: 10px 12px; text-align: right; }
.kb-article th { background: var(--kb-bg); color: var(--kb-navy); }

/* ---------- بلوک خرید داخل متن ---------- */
.kb-shop { background: #fff; border: 1px solid var(--kb-line); border-radius: 20px; padding: 20px; margin: 2em 0; line-height: 1.6; }
.kb-shop__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.kb-shop__head b { color: var(--kb-navy); font-size: 17px; }
.kb-shop__head a { font-size: 14px; }
.kb-shop__cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kb-article .kb-cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; text-decoration: none; color: var(--kb-ink); background: var(--kb-bg); border-radius: 14px; padding: 16px 8px; font-size: 14px; font-weight: 700; min-height: 100px; transition: transform .15s, box-shadow .15s; }
.kb-article .kb-cat:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(2, 25, 89, .08); }
.kb-article .kb-cat img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: darken; border-radius: 0; }

/* ---------- دکمه و CTA پایانی ---------- */
.kb-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--kb-brand); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 12px; padding: 10px 18px; line-height: 1.6; white-space: nowrap; }
.kb-btn:hover { filter: brightness(.95); color: #fff; }
.kb-article .kb-btn { color: #fff; text-decoration: none; }
.kb-end-cta { background: linear-gradient(135deg, #021959, #0b3a8a); color: #fff; border-radius: 24px; padding: 28px; margin: 2.4em 0 0; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; line-height: 1.9; }
.kb-article .kb-end-cta h3 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.kb-article .kb-end-cta p { margin: 0; color: #c9d4ee; font-size: 15px; }

/* ---------- بعد از مقاله ---------- */
.kb-after { max-width: 720px; margin: 8px auto 0; }
.kb-author-box { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--kb-line); border-radius: var(--kb-radius); padding: 20px; }
.kb-author-box a { text-decoration: none; }
.kb-author-box b { color: var(--kb-navy); font-size: 16px; }
.kb-author-box p { margin: 4px 0 0; font-size: 14px; color: var(--kb-muted); line-height: 1.9; }

.kb-section-title { display: flex; justify-content: space-between; align-items: center; margin: 56px 0 18px; }
.kb-section-title h2 { margin: 0; font-size: 22px; color: var(--kb-navy); font-weight: 800; }
.kb-section-title a { font-size: 14px; color: var(--kb-brand-ink); font-weight: 700; text-decoration: none; }
.kb-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kb-card { background: #fff; border: 1px solid var(--kb-line); border-radius: var(--kb-radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.kb-card:hover { box-shadow: 0 10px 30px rgba(2, 25, 89, .08); transform: translateY(-2px); }
.kb-card__img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #d9f2f5, #fde7ea); }
.kb-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kb-card__cat { font-size: 12px; color: var(--kb-brand-ink); font-weight: 700; }
.kb-card h3 { margin: 0; font-size: 16px; line-height: 1.75; color: var(--kb-navy); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-card__rt { font-size: 13px; color: var(--kb-muted); margin-top: auto; }

/* ---------- نظرات (مارک‌آپ comments.php قالب) ---------- */
.kb-comments { background: #fff; border: 1px solid var(--kb-line); border-radius: 20px; padding: 24px; margin: 56px auto 0; max-width: 720px; }
.kb-comments .container { max-width: none; width: auto; padding: 0; margin: 0; }
.kb-comments .comment-sec, .kb-comments .form { margin: 0; padding: 0; background: none; box-shadow: none; min-height: 0; }
.kb-comments .form__title { display: none; } /* عنوان «نظرات کاربران» تکراری */
.kb-comments .kb-comment-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--kb-line); }
.kb-comments .comment-reply-title { color: var(--kb-navy); font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.kb-comments .logged-in-as { font-size: 13px; color: var(--kb-muted); margin-bottom: 10px; }
.kb-comments #respond textarea { min-height: 130px; line-height: 1.9; padding: 12px 14px; }
.kb-comments #respond input[type="submit"] { background-color: var(--kb-brand) !important; width: auto !important; padding: 0 28px !important; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1024px) {
  .kb-layout { grid-template-columns: minmax(0, 720px); gap: 24px; padding-top: 28px; }
  .kb-toc { position: static; max-height: none; }
  .kb-share { display: none; }
}
@media (max-width: 640px) {
  .kb-single { --kb-offset: 90px; }
  .kb-hero { text-align: right; }
  .kb-lead { font-size: 16px; }
  .kb-meta { justify-content: flex-start; }
  .kb-cover { border-radius: 16px; aspect-ratio: 16 / 10; }
  .kb-article { font-size: 16px; line-height: 2; }
  .kb-article h2 { font-size: 21px; }
  .kb-article h3 { font-size: 18px; }
  .kb-shop__cats { grid-template-columns: repeat(2, 1fr); }
  .kb-related { grid-template-columns: 1fr; }
  .kb-end-cta { padding: 22px; }
  .kb-end-cta .kb-btn { width: 100%; justify-content: center; }
  .kb-comments { padding: 18px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-single * { transition: none !important; }
}

/* ===========================================================================
 * فهرست بلاگ (/blog/ ، دسته‌ها و جستجو) — موبایل‌اول
 * ========================================================================= */

.kb-archive { --kb-gutter: 16px; --kb-sticky-top: 0px; background: var(--kb-bg); padding-bottom: 0; }
.kb-archive a { text-decoration: none; }
.kb-archive a:focus-visible, .kb-archive button:focus-visible { outline: 2px solid var(--kb-brand-ink); outline-offset: 2px; }

.kb-lhead { padding-top: 16px; padding-bottom: 12px; }
.kb-lhead h1 { margin: 0; color: var(--kb-navy); font-size: 24px; line-height: 1.5; font-weight: 800; }
.kb-lsearch { display: flex; align-items: center; gap: 8px; height: 48px; margin: 10px 0 0; padding: 0 14px; background: #fff; border: 1px solid var(--kb-line); border-radius: 14px; }
.kb-lsearch:focus-within { border-color: var(--kb-brand-ink); }
.kb-lsearch svg { flex: none; width: 18px; height: 18px; color: var(--kb-muted); }
.kb-lsearch input[type="search"] { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; font: inherit; font-size: 16px; color: var(--kb-ink); }

/* اسلایدر منتخب: حلقه بی‌پایان با حرکت خودکار؛ دو طرف اسلاید فعال همیشه اسلاید دیده می‌شود */
.kb-featured { padding: 4px 0 8px; }
.kb-stage { position: relative; }
.kb-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kb-track::-webkit-scrollbar { display: none; }
.kb-slide { position: relative; flex: 0 0 78%; aspect-ratio: 6 / 5; border-radius: 18px; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; background: var(--kb-navy); color: #fff; transform: scale(.93); opacity: .6; transition: transform .35s ease, opacity .35s ease; }
.kb-slide.is-active { transform: none; opacity: 1; }
.kb-slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.kb-slide-text { position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px; background: linear-gradient(to top, rgba(2, 25, 89, .96) 0%, rgba(2, 25, 89, .82) 55%, rgba(2, 25, 89, 0) 100%); opacity: 0; transition: opacity .35s ease; }
.kb-slide.is-active .kb-slide-text { opacity: 1; }
.kb-slide-badge { display: inline-block; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: #bfeef4; }
.kb-slide h2 { margin: 0; font-size: 17px; line-height: 1.65; font-weight: 800; color: #fff; }
.kb-slider-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; }
.kb-dots { display: flex; }
.kb-dots button { width: 28px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.kb-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #c3cad6; transition: width .15s, background .15s; }
.kb-dots button[aria-current="true"]::before { width: 20px; background: var(--kb-navy); }
.kb-pause { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--kb-muted); cursor: pointer; display: grid; place-items: center; }
.kb-pause svg { width: 14px; height: 14px; fill: currentColor; }
.kb-arrow { display: none; position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--kb-navy); font: inherit; font-size: 20px; cursor: pointer; box-shadow: 0 6px 20px rgba(2, 25, 89, .18); }
.kb-arrow:hover { color: var(--kb-brand-ink); }
#kb-prev { right: calc(11% - 24px); }
#kb-next { left: calc(11% - 24px); }
/* فقط یک پست انتخاب شده: بدون اسلاید کناری */
.kb-featured--single .kb-track { padding: 0 var(--kb-gutter); }
.kb-featured--single .kb-slide { flex-basis: 100%; }

/* دسته‌ها زیر هدر می‌چسبند؛ ارتفاع هدر با JS در --kb-sticky-top گذاشته می‌شود */
.kb-chips-bar { position: sticky; top: var(--kb-sticky-top); z-index: 30; margin-top: 8px; padding: 8px 0; background: var(--kb-bg); border-bottom: 1px solid var(--kb-line); }
.kb-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--kb-gutter); scrollbar-width: none; }
.kb-chips::-webkit-scrollbar { display: none; }
.kb-chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--kb-line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--kb-ink); white-space: nowrap; }
.kb-chip:hover { color: var(--kb-ink); border-color: var(--kb-brand-ink); }
.kb-chip[aria-current="page"], .kb-chip[aria-current="page"]:hover { background: var(--kb-navy); border-color: var(--kb-navy); color: #fff; font-weight: 700; }

/* لیست مقاله‌ها: عنوان کامل دیده می‌شود و هیچ‌وقت کوتاه نمی‌شود */
.kb-section-head { margin: 18px 0 10px; font-size: 16px; line-height: 1.6; color: var(--kb-navy); font-weight: 800; }
.kb-posts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kb-posts > li { margin: 0; min-width: 0; }
.kb-post { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; align-items: start; height: 100%; min-height: 124px; padding: 10px; background: #fff; border: 1px solid var(--kb-line); border-radius: 16px; }
.kb-thumb { display: block; width: 100px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--kb-brand-soft); }
.kb-thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.kb-thumb--empty { display: grid; place-items: center; color: var(--kb-brand-ink); }
.kb-thumb--empty svg { width: 34px; height: 34px; }
.kb-post-body { display: flex; flex-direction: column; align-self: stretch; min-width: 0; padding-top: 1px; }
.kb-post h3 { margin: 0; font-size: 15px; line-height: 1.75; font-weight: 700; color: var(--kb-navy); overflow-wrap: anywhere; }
.kb-post p { display: none; }
.kb-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; margin-top: auto; padding-top: 6px; font-size: 12px; line-height: 1.7; color: var(--kb-muted); }
.kb-post-meta b { font-weight: 700; color: var(--kb-brand-ink); }
.kb-post-meta i { width: 3px; height: 3px; border-radius: 50%; background: #c3cad6; }

/* صفحه‌بندی جمع‌وجور */
.kb-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 18px 0; }
.kb-pager a, .kb-pager-off { display: grid; place-items: center; min-height: 46px; padding: 0 10px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.kb-pager a, .kb-pager a:hover { background: var(--kb-navy); color: #fff; }
.kb-pager-off { background: #eceff4; color: #8a93a6; }
.kb-pager-now { padding: 0 4px; color: var(--kb-muted); font-size: 13px; text-align: center; }

.kb-lempty { text-align: center; padding: 48px 16px; color: var(--kb-muted); }
.kb-lempty b { display: block; color: var(--kb-navy); font-size: 18px; margin-bottom: 4px; }
.kb-lempty a { color: var(--kb-brand-ink); text-decoration: underline; }

.kb-labout { margin: 0 0 16px; padding: 2px 16px; background: #fff; border: 1px solid var(--kb-line); border-radius: 14px; color: var(--kb-text); font-size: 14px; line-height: 2; }
.kb-labout summary { cursor: pointer; font-weight: 700; color: var(--kb-navy); padding: 10px 0; }
.kb-labout div { padding-bottom: 10px; }

/* فاصله پایین برای دکمه شناور تماس سایت */
.kb-lshop, .kb-lshop:hover { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 88px; padding: 14px; border-radius: 16px; background: var(--kb-brand-soft); color: var(--kb-navy); font-size: 14px; font-weight: 700; line-height: 1.7; }
.kb-lshop span:last-child { flex: none; background: var(--kb-navy); color: #fff; border-radius: 10px; padding: 7px 12px; font-size: 13px; }

@media (min-width: 768px) {
  .kb-archive { --kb-gutter: 24px; }
  .kb-lhead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 16px; }
  .kb-lhead h1 { font-size: 30px; }
  .kb-lsearch { width: 360px; margin-top: 0; }
  .kb-chips { padding-right: max(var(--kb-gutter), calc((100% - 1168px) / 2)); padding-left: max(var(--kb-gutter), calc((100% - 1168px) / 2)); }
  .kb-track { gap: 16px; }
  .kb-slide { aspect-ratio: 2 / 1; max-height: 72vh; border-radius: 24px; }
  .kb-slide-text { padding: 90px 40px 30px; }
  .kb-slide-badge { font-size: 14px; }
  .kb-slide h2 { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.5; }
  .kb-arrow { display: block; }
  .kb-posts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .kb-post { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; transition: box-shadow .15s; }
  .kb-post:hover { box-shadow: 0 10px 28px rgba(2, 25, 89, .08); }
  .kb-thumb { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; flex: none; }
  .kb-thumb--empty svg { width: 48px; height: 48px; }
  .kb-post-body { flex: 1; width: 100%; padding: 14px 16px 16px; }
  .kb-post h3 { font-size: 16px; }
  .kb-post p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 0; font-size: 14px; line-height: 1.9; color: var(--kb-muted); }
  .kb-pager { max-width: 520px; margin: 28px auto; }
  .kb-lshop, .kb-lshop:hover { margin-bottom: 40px; padding: 18px 22px; font-size: 16px; }
}
@media (min-width: 1100px) {
  .kb-posts { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .kb-slide, .kb-slide-text, .kb-post { transition: none; }
}

/* استایل دکمه‌های قالب روی کنترل‌های اسلایدر اثر نگذارد */
.kb-archive .kb-dots button, .kb-archive .kb-pause {
  min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--kb-muted) !important; -webkit-appearance: none; appearance: none;
}
.kb-archive .kb-arrow {
  min-width: 0 !important; min-height: 0 !important; padding: 0 !important; border: 0 !important;
  border-radius: 50% !important; background: #fff !important; color: var(--kb-navy) !important; line-height: 1 !important;
  -webkit-appearance: none; appearance: none;
}
.kb-archive .kb-arrow:hover { color: var(--kb-brand-ink) !important; }
.kb-archive .kb-lsearch input[type="search"], .kb-archive .kb-lsearch input[type="search"]:focus { min-height: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0 !important; -webkit-appearance: none; appearance: none; }
