/* ==========================================================================
   تراباران — استایل اصلی
   ========================================================================== */
@font-face { font-family: "Sahel"; src: url("../fonts/Sahel-FD.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sahel"; src: url("../fonts/Sahel-SemiBold-FD.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sahel"; src: url("../fonts/Sahel-Bold-FD.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sahel"; src: url("../fonts/Sahel-Black-FD.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
	--sky: #4DA3FF;
	--sky-700: #1E6FD9;
	--sky-800: #1757A8;
	--sky-100: #DDEEFF;
	--sky-50: #F0F7FF;

	--mint: #5ED6C1;
	--mint-700: #138A76;
	--mint-800: #0E6B5C;
	--mint-100: #D5F6EF;
	--mint-50: #EFFBF8;

	--wg-900: #292623;
	--wg-800: #3A3632;
	--wg-700: #57514B;
	--wg-500: #8A8279;
	--wg-300: #CFC8BF;
	--wg-200: #E6E1DA;
	--wg-100: #F1EDE8;
	--wg-50: #F8F6F3;

	--ink: #211E1B;
	--text: #403B36;
	--muted: #77706A;
	--line: #E6E1DA;

	--danger: #D9434B;
	--danger-soft: #FDEDED;
	--warn: #C27812;
	--warn-soft: #FFF4E2;

	--tone: var(--sky);
	--tone-strong: var(--sky-700);
	--tone-soft: var(--sky-50);
	--tone-100: var(--sky-100);

	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 20px;
	--r-pill: 999px;
	--shadow: 0 1px 2px rgba(41, 38, 35, .05), 0 10px 30px -14px rgba(41, 38, 35, .18);

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 74px;

	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-md: 1.0625rem;
	--fs-lg: 1.25rem;
	--fs-xl: 1.5rem;
	--fs-2xl: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
	--fs-3xl: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
	--fs-hero: clamp(2rem, 1.3rem + 3vw, 3.375rem);
	--article-fs: 1.125rem;
}

.tb-tone-sky   { --tone: #4DA3FF; --tone-strong: #1E6FD9; --tone-soft: #F0F7FF; --tone-100: #DDEEFF; }
.tb-tone-mint  { --tone: #5ED6C1; --tone-strong: #138A76; --tone-soft: #EFFBF8; --tone-100: #D5F6EF; }
.tb-tone-ocean { --tone: #3F8EF0; --tone-strong: #1757A8; --tone-soft: #EEF5FD; --tone-100: #D8E7FA; }
.tb-tone-sand  { --tone: #B3A696; --tone-strong: #6B6056; --tone-soft: #F8F6F3; --tone-100: #EDE7E0; }

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Sahel", Tahoma, sans-serif; font-size: 1rem; line-height: 1.95; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
body.tb-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); line-height: 1.55; font-weight: 700; }
p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.tb-skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 999; background: var(--sky-700); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.tb-skip:focus { top: 12px; }
.tb-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.tb-narrow { max-width: calc(780px + var(--gutter) * 2); }
.tb-icon { flex-shrink: 0; }
.tb-muted { color: var(--muted); }
.tb-mb { margin-bottom: 16px; }
.tb-mb-lg { margin-bottom: 48px; }

/* کپسول امضای طراحی */
.tb-capsule { display: inline-block; flex-shrink: 0; width: 26px; height: 12px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--mint) 50%, var(--sky) 50%); transform: rotate(-24deg); }

/* ---------- دکمه‌ها ---------- */
.tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 0; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.tb-btn[disabled] { opacity: .5; cursor: not-allowed; }
.tb-btn--sky { background: var(--sky-700); color: #fff; }
.tb-btn--sky:hover { background: var(--sky-800); }
.tb-btn--mint { background: var(--mint); color: var(--wg-900); }
.tb-btn--mint:hover:not([disabled]) { background: #45C7B0; }
.tb-btn--soft { background: var(--wg-100); color: var(--ink); }
.tb-btn--soft:hover { background: var(--wg-200); }
.tb-btn--tone { background: var(--tone-100); color: var(--tone-strong); }
.tb-btn--tone:hover { background: var(--tone); color: #fff; }
.tb-icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--wg-800); cursor: pointer; transition: background-color .2s; }
.tb-icon-btn:hover { background: var(--wg-100); }
.tb-link { font-weight: 700; font-size: var(--fs-sm); color: var(--sky-700); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tb-link:hover { color: var(--sky-800); }

.tb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--r-pill); background: var(--tone-100); color: var(--tone-strong); font-size: var(--fs-xs); font-weight: 700; line-height: 1.5; }
.tb-badge:hover { background: var(--tone); color: #fff; }

.tb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: var(--fs-xs); color: var(--muted); }
.tb-meta > span + span { margin-inline-start: 10px; padding-inline-start: 10px; border-inline-start: 1px solid var(--wg-300); line-height: 1.1; }

.tb-note { display: flex; gap: 8px; margin-top: 14px; font-size: var(--fs-xs); line-height: 1.9; color: var(--muted); }
.tb-note .tb-icon { margin-top: 4px; color: var(--warn); }

.tb-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--wg-100); }

.tb-social { list-style: none; display: flex; gap: 6px; }
.tb-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, color .2s; }
.tb-social a:hover { background: var(--mint); color: var(--wg-900); }

/* ---------- هدر ---------- */
.tb-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .tb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tb-header { top: 0; } }
.tb-header__inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.tb-menu-toggle { display: none; }
.tb-logo img { max-height: 50px; width: auto; }
.tb-logo__link { display: inline-flex; align-items: center; gap: 10px; }
.tb-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.tb-logo__name { font-size: 1.5rem; font-weight: 900; color: var(--ink); margin: 0; line-height: 1.2; }
.tb-logo__tag { font-size: 11px; font-weight: 600; color: var(--mint-700); }

.tb-nav { flex: 1; }
.tb-nav__head { display: none; }
.tb-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.tb-nav__list > li { position: relative; }
.tb-nav__list a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--text); transition: background-color .2s, color .2s; }
.tb-nav__list > li[class*="tb-tone-"] > a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.tb-nav__list a:hover { background: var(--tone-soft, var(--wg-100)); color: var(--tone-strong, var(--ink)); }
.tb-nav__list > .current-menu-item > a, .tb-nav__list > .current-post-ancestor > a, .tb-nav__list > .current-menu-ancestor > a { background: var(--tone-100, var(--wg-100)); color: var(--tone-strong, var(--ink)); }
.tb-nav__list .sub-menu { list-style: none; position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.tb-nav__list li:hover > .sub-menu, .tb-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.tb-nav__list .sub-menu a { border-radius: var(--r-sm); }
.tb-header__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.tb-header__cta { min-height: 42px; padding-inline: 18px; }

.tb-overlay { position: fixed; inset: 0; z-index: 105; background: rgba(41, 38, 35, .45); }

.tb-search { position: fixed; inset-inline: 0; top: 0; z-index: 130; padding: 24px 0 28px; background: #fff; box-shadow: 0 30px 60px -30px rgba(41, 38, 35, .4); }
.admin-bar .tb-search { top: 32px; }
.tb-search__inner { max-width: calc(780px + var(--gutter) * 2); }
.tb-search__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tb-search__title { font-weight: 900; font-size: var(--fs-lg); color: var(--ink); }
.tb-search__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tb-search__tools a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--wg-50); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.tb-search__tools a:hover { border-color: var(--sky); color: var(--sky-700); }

.tb-searchform { display: flex; align-items: center; gap: 10px; padding: 6px; padding-inline-start: 18px; border: 2px solid var(--line); border-radius: var(--r-pill); background: #fff; }
.tb-searchform:focus-within { border-color: var(--sky); }
.tb-searchform > .tb-icon { color: var(--muted); }
.tb-searchform__input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 8px 0; font-size: var(--fs-md); }

/* جست‌وجوی دارو */


/* ---------- هیرو ---------- */
.tb-hero { position: relative; overflow: hidden; background-color: var(--wg-50); background-image: radial-gradient(var(--wg-200) 1.2px, transparent 1.2px); background-size: 24px 24px; padding: clamp(40px, 6vw, 84px) 0; border-bottom: 1px solid var(--line); }
.tb-hero::before, .tb-hero::after { content: ""; position: absolute; border-radius: var(--r-pill); transform: rotate(-35deg); pointer-events: none; }
.tb-hero::before { width: 300px; height: 120px; background: linear-gradient(90deg, var(--mint) 50%, var(--sky) 50%); opacity: .14; inset-inline-end: -70px; top: 40px; }
.tb-hero::after { width: 160px; height: 64px; border: 3px solid var(--sky); opacity: .22; inset-inline-start: 6%; bottom: 36px; }
.tb-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tb-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--mint-700); }
.tb-hero__title { font-size: var(--fs-hero); font-weight: 900; line-height: 1.35; margin: 12px 0 14px; text-wrap: balance; }
.tb-hero__text { max-width: 36em; font-size: var(--fs-lg); line-height: 1.9; color: var(--text); margin-bottom: 28px; }
.tb-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-sm); }
.tb-hero__popular > span { color: var(--muted); }
.tb-hero__popular a { padding: 3px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-weight: 600; }
.tb-hero__popular a:hover { border-color: var(--sky); color: var(--sky-700); }

.tb-tools { display: grid; gap: 12px; }
.tb-tool { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.tb-tool:hover { border-color: var(--tone); transform: translateY(-2px); }
.tb-tool__icon { width: 54px; height: 54px; display: grid; place-items: center; flex-shrink: 0; border-radius: 16px; background: var(--tone-100); color: var(--tone-strong); }
.tb-tool__body { flex: 1; display: flex; flex-direction: column; line-height: 1.6; }
.tb-tool__body strong { font-size: var(--fs-md); color: var(--ink); }
.tb-tool__body span { font-size: var(--fs-xs); color: var(--muted); }
.tb-tool > .tb-icon { color: var(--wg-300); transition: color .2s; }
.tb-tool:hover > .tb-icon { color: var(--tone-strong); }
[dir="ltr"] .tb-tool > .tb-icon { transform: scaleX(-1); }

/* ---------- بخش‌ها ---------- */
.tb-section { padding: clamp(40px, 5vw, 68px) 0; }
.tb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 24px; }
.tb-head__title { display: flex; align-items: center; gap: 12px; font-size: var(--fs-2xl); font-weight: 900; }
.tb-grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.tb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* کارت مقاله */
.tb-card { display: flex; flex-direction: column; gap: 12px; }
.tb-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); background: var(--wg-100); }
.tb-card__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(41, 38, 35, .06); }
.tb-card__media img { width: 100%; height: 100%; transition: transform .5s ease; }
.tb-card:hover .tb-card__media img { transform: scale(1.04); }
.tb-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tb-card__title { font-size: var(--fs-md); font-weight: 700; line-height: 1.75; }
.tb-card__title a:hover { color: var(--tone-strong); }
.tb-card__excerpt { color: var(--muted); font-size: var(--fs-sm); line-height: 1.95; }
.tb-card--lead .tb-card__title { font-size: var(--fs-2xl); line-height: 1.55; font-weight: 900; }
.tb-card--lead .tb-card__excerpt { font-size: var(--fs-md); }

.tb-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.tb-row + .tb-row { border-top: 1px dashed var(--wg-300); }
.tb-row__media { position: relative; flex: 0 0 84px; width: 84px; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--wg-100); }
.tb-row__media img { width: 100%; height: 100%; object-fit: cover; }
.tb-row__media .tb-thumb-fallback svg { width: 30px; height: 30px; }
.tb-row__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.tb-row__cat { font-size: var(--fs-xs); font-weight: 700; color: var(--tone-strong); }
.tb-row__title { font-size: var(--fs-sm); font-weight: 700; line-height: 1.8; }
.tb-row__title a:hover { color: var(--tone-strong); }
.tb-row__rank { flex: 0 0 auto; min-width: 44px; font-size: 1.75rem; font-weight: 900; line-height: 1; color: var(--sky); }
.tb-row:nth-child(even) .tb-row__rank { color: var(--mint); }

.tb-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tb-feature__list { padding: 6px 22px; border-radius: var(--r-lg); background: var(--wg-50); }

/* ---------- نوار تداخلات ---------- */


/* ---------- قفسه‌ها ---------- */
.tb-shelf { padding: clamp(32px, 4vw, 52px) 0; }
.tb-shelf + .tb-shelf { border-top: 1px solid var(--line); }
.tb-shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap; margin-bottom: 22px; }
.tb-shelf__title { position: relative; font-size: var(--fs-2xl); font-weight: 900; padding-inline-start: 22px; }
.tb-shelf__title::before { content: ""; position: absolute; inset-inline-start: 0; top: .25em; width: 11px; height: 1.1em; border-radius: var(--r-pill); background: linear-gradient(var(--tone) 55%, var(--tone-100) 55%); }
.tb-shelf__title a:hover { color: var(--tone-strong); }
.tb-shelf__head p { margin-top: 4px; color: var(--muted); font-size: var(--fs-sm); max-width: 44em; }
.tb-shelf__links { display: flex; align-items: center; gap: 16px; }

/* ---------- الفبا و پربازدید ---------- */
.tb-az-pop { background: var(--wg-50); }
.tb-az-pop__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tb-az > p { margin: 6px 0 16px; color: var(--muted); }
.tb-popular__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 16px; }
.tb-popular__list .tb-row:nth-child(2) { border-top: 0; }

/* ---------- سربرگ صفحات ---------- */
.tb-page-head { position: relative; padding: clamp(26px, 4vw, 46px) 0; background: var(--tone-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.tb-page-head--tool { background-image: radial-gradient(var(--tone-100) 1.4px, transparent 1.4px); background-size: 22px 22px; }
.tb-page-head .tb-wrap { position: relative; z-index: 1; }
.tb-page-head__title { font-size: var(--fs-3xl); font-weight: 900; line-height: 1.4; }
.tb-page-head__desc { margin-top: 8px; max-width: 46em; font-size: var(--fs-md); color: var(--text); }
.tb-page-head__role { font-weight: 700; color: var(--tone-strong); }
.tb-page-head__author { display: flex; align-items: center; gap: 18px; }
.tb-page-head__author img { border-radius: 24px; }
.tb-page-head .tb-searchform { margin-top: 20px; max-width: 760px; }

.tb-breadcrumbs { margin-bottom: 12px; font-size: var(--fs-xs); color: var(--muted); }
.tb-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.tb-breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--wg-300); }
.tb-breadcrumbs a:hover { color: var(--sky-700); }
.tb-breadcrumbs li[aria-current] span { display: inline-block; max-width: 40ch; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: bottom; }

.tb-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tb-cat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.tb-cat-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.tb-cat-pill:hover { border-color: var(--tone); }
.tb-cat-pill.is-active { background: var(--tone-strong); border-color: var(--tone-strong); color: #fff; }
.tb-cat-pill.is-active::before { background: #fff; }

.tb-cat-tool { padding: 24px 0; border-bottom: 1px solid var(--line); }
.tb-cat-tool__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 40px; align-items: center; }
.tb-cat-tool__text h2 { font-size: var(--fs-lg); font-weight: 900; }
.tb-cat-tool__text p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 10px; }
.tb-results { margin-bottom: 18px; font-weight: 700; color: var(--ink); }

.tb-grid--archive .tb-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: var(--r-md); background: var(--wg-50); border: 1px solid var(--line); font-weight: 700; }
.pagination a.page-numbers:hover { border-color: var(--sky); color: var(--sky-700); }
.pagination .page-numbers.current { background: var(--sky-700); border-color: var(--sky-700); color: #fff; }
.pagination .page-numbers.dots { background: none; border: 0; }

.tb-empty { max-width: 560px; margin: 0 auto; padding: 40px 24px; text-align: center; border-radius: var(--r-lg); background: var(--wg-50); border: 1px dashed var(--wg-300); }
.tb-empty svg { margin: 0 auto 12px; color: var(--sky); }
.tb-empty h2 { font-size: var(--fs-xl); margin-bottom: 6px; }
.tb-empty p { color: var(--muted); margin-bottom: 16px; }

/* ==========================================================================
   صفحه مقاله
   ========================================================================== */
.tb-progress { position: fixed; top: 0; inset-inline: 0; z-index: 120; height: 4px; pointer-events: none; }
.tb-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--mint), var(--sky)); transform: scaleX(0); transform-origin: right; }
[dir="ltr"] .tb-progress span { transform-origin: left; }

.tb-single__header { padding: clamp(22px, 3vw, 36px) 0 clamp(26px, 4vw, 44px); background: var(--wg-50); border-bottom: 1px solid var(--line); }
.tb-single__intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tb-single__intro--noimg { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.tb-single__text { display: flex; flex-direction: column; align-items: flex-start; }
.tb-single__title { font-size: var(--fs-3xl); font-weight: 900; line-height: 1.5; margin-top: 12px; text-wrap: balance; }
.tb-single__lead { margin-top: 12px; font-size: var(--fs-lg); line-height: 1.95; color: var(--text); }
.tb-single__figure img { width: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.tb-single__figure figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--muted); }
.tb-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.tb-facts > div { padding: 10px 16px; line-height: 1.5; }
.tb-facts > div + div { border-inline-start: 1px solid var(--line); }
.tb-facts dt { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.tb-facts dd { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.tb-facts dd a:hover { color: var(--sky-700); }
.tb-facts__review { background: var(--mint-50); }
.tb-facts__review dt { color: var(--mint-700); }

.tb-single__layout { display: grid; grid-template-columns: 270px minmax(0, 720px); justify-content: center; gap: clamp(28px, 5vw, 68px); padding-block: clamp(30px, 4vw, 52px); }
.tb-single__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; }
.admin-bar .tb-single__sticky { top: calc(var(--header-h) + 56px); }
.tb-toc { border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.tb-toc summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.tb-toc summary::-webkit-details-marker { display: none; }
.tb-toc summary .tb-icon--chevron { margin-inline-start: auto; transition: transform .2s; }
.tb-toc[open] summary .tb-icon--chevron { transform: rotate(180deg); }
.tb-toc__list { list-style: none; padding: 0 8px 10px; max-height: calc(100vh - 360px); overflow-y: auto; counter-reset: toc; }
.tb-toc__item a { position: relative; display: block; padding: 6px 10px; padding-inline-start: 26px; border-radius: var(--r-sm); font-size: var(--fs-sm); line-height: 1.75; color: var(--text); }
.tb-toc__item a::before { content: ""; position: absolute; inset-inline-start: 10px; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--wg-300); }
.tb-toc__item--h3 a { padding-inline-start: 40px; font-size: var(--fs-xs); color: var(--muted); }
.tb-toc__item--h3 a::before { inset-inline-start: 24px; width: 5px; height: 5px; }
.tb-toc__item a:hover { background: var(--wg-50); }
.tb-toc__item a.is-active { background: var(--sky-50); color: var(--sky-800); font-weight: 700; }
.tb-toc__item a.is-active::before { border-color: var(--sky); background: var(--mint); }
.tb-tools-mini { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 14px; padding-inline-start: 16px; border-radius: var(--r-md); background: var(--wg-50); font-size: var(--fs-xs); font-weight: 700; }
.tb-tools-mini .tb-icon-btn { width: 34px; height: 34px; background: #fff; }

.tb-keypoints { margin-bottom: 30px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid var(--sky-100); }
.tb-keypoints h2 { display: flex; align-items: center; gap: 12px; font-size: var(--fs-md); font-weight: 900; margin-bottom: 10px; }
.tb-keypoints ul { list-style: none; display: grid; gap: 8px; }
.tb-keypoints li { position: relative; padding-inline-start: 24px; color: var(--ink); line-height: 1.9; }
.tb-keypoints li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 14px; height: 7px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--mint) 50%, var(--sky) 50%); }
.tb-keypoints p { line-height: 2; color: var(--ink); }

/* تایپوگرافی محتوا */
.tb-content { font-size: var(--article-fs); line-height: 2.1; color: var(--text); overflow-wrap: break-word; }
.tb-content > * + * { margin-top: 1.2em; }
.tb-content h2, .tb-content h3, .tb-content h4 { scroll-margin-top: calc(var(--header-h) + 24px); }
.tb-content h2 { position: relative; font-size: 1.48em; font-weight: 900; line-height: 1.6; margin-top: 2em; padding-top: .9em; }
.tb-content h2::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 42px; height: 6px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--mint) 50%, var(--sky) 50%); }
.tb-content h3 { font-size: 1.2em; font-weight: 700; margin-top: 1.7em; color: var(--sky-800); }
.tb-content h4 { font-size: 1.05em; font-weight: 700; margin-top: 1.5em; }
.tb-content :is(h2, h3, h4) + * { margin-top: .6em; }
.tb-content a { color: var(--sky-700); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tb-content a:hover { color: var(--sky-800); text-decoration-color: var(--sky); }
.tb-content strong, .tb-content b { color: var(--ink); font-weight: 700; }
.tb-content ul, .tb-content ol { padding-inline-start: 1.4em; }
.tb-content li + li { margin-top: .45em; }
.tb-content ul li::marker { color: var(--mint-700); }
.tb-content ol { list-style-type: persian; }
.tb-content ol li::marker { color: var(--sky-700); font-weight: 700; }
.tb-content blockquote, .tb-content .wp-block-quote { margin-inline: 0; padding: 18px 24px; border: 0; border-inline-start: 4px solid var(--mint); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--mint-50); color: var(--ink); }
[dir="rtl"] .tb-content blockquote, [dir="rtl"] .tb-content .wp-block-quote { border-radius: var(--r-md) 0 0 var(--r-md); }
.tb-content blockquote cite { display: block; margin-top: 8px; font-size: .8em; font-style: normal; color: var(--muted); }
.tb-content img { border-radius: var(--r-md); height: auto; }
.tb-content figure { margin-inline: 0; }
.tb-content figcaption, .tb-content .wp-element-caption { margin-top: 8px; text-align: center; font-size: var(--fs-xs); color: var(--muted); }
.tb-content hr { border: 0; height: 1px; margin: 2.4em 0; background: var(--line); }
.tb-content table { width: 100%; border-collapse: collapse; font-size: .9em; line-height: 1.8; }
.tb-content .wp-block-table, .tb-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.tb-content th { background: var(--wg-50); color: var(--ink); font-weight: 700; }
.tb-content th, .tb-content td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line); }
.tb-content tbody tr:last-child td { border-bottom: 0; }
.tb-content code { background: var(--wg-100); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.tb-content pre { direction: ltr; text-align: left; background: var(--wg-900); color: #fff; padding: 18px; border-radius: var(--r-md); overflow-x: auto; }
.tb-content pre code { background: none; padding: 0; }
.tb-content iframe, .tb-content video { max-width: 100%; border-radius: var(--r-md); }
.tb-content .alignwide { margin-inline: 0; }
.tb-content .aligncenter { margin-inline: auto; }
.tb-content .alignright { float: right; margin: .4em 0 1em 1.5em; }
.tb-content .alignleft { float: left; margin: .4em 1.5em 1em 0; }
.tb-content::after { content: ""; display: table; clear: both; }
.tb-content .wp-block-button__link { background: var(--sky-700); color: #fff; text-decoration: none; border-radius: var(--r-pill); padding: 12px 24px; font-weight: 700; }


.tb-evidence { display: grid; gap: 12px; margin-top: 36px; }
.tb-evidence__review { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: var(--mint-50); border: 1px solid var(--mint-100); font-size: var(--fs-sm); line-height: 1.9; }
.tb-evidence__icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--mint); color: var(--wg-900); }
.tb-evidence__review strong { color: var(--ink); }
.tb-evidence__date { color: var(--muted); }
.tb-evidence__sources { padding: 16px 20px; border-radius: var(--r-md); border: 1px solid var(--line); }
.tb-evidence__sources h2 { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 900; margin-bottom: 8px; }
.tb-evidence__sources ol { padding-inline-start: 22px; font-size: var(--fs-xs); line-height: 2.1; color: var(--muted); }
.tb-evidence__sources a { color: var(--sky-700); word-break: break-word; }
.tb-evidence__sources a:hover { text-decoration: underline; }
.tb-evidence__note { display: flex; gap: 10px; padding: 14px 18px; border-radius: var(--r-md); background: var(--warn-soft); color: #7A4A06; font-size: var(--fs-sm); line-height: 1.95; }
.tb-evidence__note .tb-icon { margin-top: 5px; }

.tb-single__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.tb-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tb-tags a { display: inline-block; padding: 5px 13px; border-radius: var(--r-pill); background: var(--wg-100); font-size: var(--fs-xs); font-weight: 600; }
.tb-tags a:hover { background: var(--sky-100); color: var(--sky-800); }
.tb-single__share { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--muted); }
.tb-share { display: flex; gap: 4px; }
.tb-share__btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--wg-700); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.tb-share__btn:hover { background: var(--sky-700); border-color: var(--sky-700); color: #fff; }
.tb-share__done { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; background: var(--wg-900); color: #fff; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.tb-share__btn.is-copied .tb-share__done { opacity: 1; }

.tb-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 22px; border-radius: var(--r-lg); background: var(--wg-50); border: 1px solid var(--line); }
.tb-author img { border-radius: 20px; flex-shrink: 0; }
.tb-author__name { font-size: var(--fs-lg); font-weight: 900; }
.tb-author__name a:hover { color: var(--sky-700); }
.tb-author__role { font-size: var(--fs-sm); font-weight: 700; color: var(--mint-700); }
.tb-author__bio { margin-top: 6px; font-size: var(--fs-sm); line-height: 2; }
.tb-related { background: var(--wg-50); border-top: 1px solid var(--line); }

.tb-widget { padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); }
.tb-widget h2, .tb-widget__title { font-size: var(--fs-sm); margin-bottom: 8px; }
.tb-widget ul { list-style: none; }
.tb-widget li { padding: 5px 0; font-size: var(--fs-xs); line-height: 1.8; }
.tb-widget li + li { border-top: 1px dashed var(--line); }
.tb-widget a:hover { color: var(--sky-700); }
.tb-widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.tb-widget input[type="search"] { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.tb-widget .wp-block-search__button { border: 0; padding: 0 12px; border-radius: var(--r-sm); background: var(--sky-700); color: #fff; cursor: pointer; }

/* دیدگاه‌ها */
.tb-comments-wrap { padding-block: clamp(34px, 5vw, 56px); }
.tb-comments__title { font-size: var(--fs-xl); font-weight: 900; margin-bottom: 14px; }
.tb-comments__note { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 12px; }
.tb-comment-list, .tb-comment-list .children { list-style: none; }
.tb-comment-list .children { padding-inline-start: clamp(16px, 5vw, 40px); }
.tb-comment-list .comment-body { margin-bottom: 12px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); }
.tb-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.tb-comment-list .comment-author img { border-radius: 50%; }
.tb-comment-list .says { display: none; }
.tb-comment-list .comment-metadata { margin: 2px 0 6px; font-size: var(--fs-xs); color: var(--muted); }
.tb-comment-list .reply a { font-size: var(--fs-xs); font-weight: 700; color: var(--sky-700); }
.bypostauthor > .comment-body { background: var(--mint-50); border-color: var(--mint-100); }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 700; font-size: var(--fs-sm); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-md); outline: 0; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-100); }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; font-size: var(--fs-xs); }

/* 404 */
.tb-404 { padding: clamp(50px, 8vw, 100px) 0; text-align: center; }
.tb-404__caps { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; font-size: 5rem; font-weight: 900; color: var(--sky-700); line-height: 1; }
.tb-404__pill { width: 110px; height: 50px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--mint) 50%, var(--sky) 50%); transform: rotate(-30deg); }
.tb-404 .tb-page-head__desc { margin-inline: auto; margin-bottom: 22px; }
.tb-404 .tb-searchform { max-width: 640px; margin: 0 auto; }
.tb-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.tb-page__body { padding-block: 30px 60px; }
.tb-page__figure img { width: 100%; border-radius: var(--r-lg); margin-bottom: 24px; }

/* ---------- فوتر ---------- */
.tb-footer { background: var(--wg-900); color: var(--wg-300); padding-top: clamp(36px, 5vw, 56px); }
.tb-footer__alert { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-lg); background: rgba(94, 214, 193, .1); border: 1px solid rgba(94, 214, 193, .25); color: #D8F5EF; font-size: var(--fs-sm); line-height: 1.9; }
.tb-footer__alert-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--mint); color: var(--wg-900); }
.tb-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(34px, 5vw, 52px); }
.tb-footer .tb-logo__name { color: #fff; }
.tb-footer .tb-logo__tag { color: var(--mint); }
.tb-footer__brand p { margin: 14px 0; font-size: var(--fs-sm); line-height: 2; max-width: 34em; }
.tb-footer__title { font-size: var(--fs-md); font-weight: 700; color: #fff; margin-bottom: 10px; }
.tb-footer__links { list-style: none; display: grid; gap: 6px; }
.tb-footer__links a { font-size: var(--fs-sm); transition: color .2s; }
.tb-footer__links a:hover, .tb-footer__email a:hover { color: var(--mint); }
.tb-footer__email { margin-top: 10px; font-size: var(--fs-sm); }
.tb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); }
.tb-footer__disclaimer { display: inline-flex; align-items: center; gap: 6px; color: var(--sky-100); }

.tb-dock { display: none; }

/* ==========================================================================
   واکنش‌گرا
   ========================================================================== */
@media (max-width: 1180px) {
	.tb-nav__list a { padding-inline: 9px; }
	.tb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-single__layout { grid-template-columns: minmax(0, 720px); }
	.tb-single__aside { order: -1; }
	.tb-single__sticky { position: static; }
	.tb-tools-mini, .tb-single__widgets { display: none; }
}

@media (max-width: 980px) {
	:root { --header-h: 64px; }
	.tb-menu-toggle { display: inline-grid; }
	.tb-header__inner { gap: 8px; }
	.tb-header__cta span { display: none; }
	.tb-header__cta { width: 42px; padding: 0; }
	.tb-nav { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 110; width: min(86vw, 330px); padding: 16px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
	[dir="ltr"] .tb-nav { transform: translateX(-100%); }
	.tb-nav.is-open { transform: none; visibility: visible; }
	.tb-nav__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 900; }
	.tb-nav__head .tb-icon-btn { margin-inline-start: auto; }
	.tb-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.tb-nav__list a { padding: 12px 14px; border-radius: var(--r-md); font-size: var(--fs-md); }
	.tb-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 14px 0 0; }

	.tb-hero__grid, .tb-feature, .tb-band__grid, .tb-az-pop__grid, .tb-cat-tool__inner { grid-template-columns: minmax(0, 1fr); }
	.tb-single__intro { grid-template-columns: minmax(0, 1fr); }
	.tb-single__figure { order: -1; }
	.tb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-grid--archive .tb-card--wide { grid-template-columns: minmax(0, 1fr); }
	.tb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-footer__brand { grid-column: 1 / -1; }

	.tb-dock { position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 20px; background: rgba(41, 38, 35, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .45); }
	.tb-dock a { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0; border-radius: 14px; font-size: 11px; font-weight: 600; color: var(--wg-300); line-height: 1.4; }
	.tb-dock a.is-active { background: rgba(94, 214, 193, .16); color: var(--mint); }
	body { padding-bottom: 84px; }
}

@media (max-width: 640px) {
	:root { --article-fs: 1.0625rem; }
	.tb-logo__name { font-size: 1.3rem; }
	.tb-logo__mark { width: 34px; height: 34px; }
	.tb-hero::before { width: 200px; height: 80px; }
	.tb-grid--4, .tb-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.tb-grid--4 .tb-card:not(.tb-card--lead), .tb-grid--3 .tb-card:not(.tb-card--lead) { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--wg-300); }
	.tb-grid--4 .tb-card:not(.tb-card--lead) .tb-card__media, .tb-grid--3 .tb-card:not(.tb-card--lead) .tb-card__media { flex: 0 0 104px; aspect-ratio: 1; }
	.tb-grid--4 .tb-card:not(.tb-card--lead) .tb-badge, .tb-grid--3 .tb-card:not(.tb-card--lead) .tb-badge { display: none; }
	.tb-grid--4 .tb-card:not(.tb-card--lead) .tb-card__title, .tb-grid--3 .tb-card:not(.tb-card--lead) .tb-card__title { font-size: var(--fs-sm); }
	.tb-card--lead { margin-bottom: 10px; }
	.tb-feature__list { padding: 4px 14px; }
	.tb-shelf__head { align-items: flex-start; }
	.tb-shelf__links { width: 100%; justify-content: space-between; }
	.tb-popular__list { grid-template-columns: minmax(0, 1fr); }
	.tb-popular__list .tb-row:nth-child(2) { border-top: 1px dashed var(--wg-300); }
	.tb-facts > div { flex: 1 1 50%; }
	.tb-facts > div:nth-child(odd) { border-inline-start: 0; }
	.tb-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.tb-single__footer { flex-direction: column; align-items: flex-start; }
	.tb-author { flex-direction: column; }
	.tb-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.tb-404__caps { font-size: 3.5rem; }
	.tb-404__pill { width: 80px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
	.tb-header, .tb-footer, .tb-dock, .tb-single__aside, .tb-related, .tb-comments-wrap, .tb-progress, .tb-share { display: none !important; }
	.tb-single__layout, .tb-drug__layout { display: block; }
}


/* ==========================================================================
   جست‌وجو، نوار موضوعی، برچسب‌ها
   ========================================================================== */
.tb-searchform { position: relative; padding: 6px; padding-inline-start: 8px; }
.tb-searchform__icon { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--mint-50); color: var(--mint-700); }
.tb-searchform--lg { padding: 9px; padding-inline-start: 12px; border-color: var(--wg-200); box-shadow: var(--shadow); }
.tb-searchform--lg .tb-searchform__icon { width: 44px; height: 44px; }
.tb-searchform--lg .tb-searchform__input { font-size: var(--fs-lg); }
.tb-searchform--lg .tb-btn { min-height: 52px; padding-inline: 28px; font-size: var(--fs-md); }

.tb-suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 40; list-style: none; max-height: 360px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 50px -24px rgba(41, 38, 35, .35); text-align: start; }
.tb-suggest li { display: flex; flex-direction: column; padding: 9px 12px; border-radius: var(--r-sm); cursor: pointer; line-height: 1.7; }
.tb-suggest li[aria-selected="true"], .tb-suggest li:hover { background: var(--sky-50); }
.tb-suggest strong { font-weight: 700; color: var(--ink); font-size: var(--fs-sm); }
.tb-suggest span { font-size: 12px; color: var(--mint-700); }
.tb-suggest .tb-suggest__all { flex-direction: row; justify-content: center; gap: 6px; margin-top: 4px; border-top: 1px dashed var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); color: var(--sky-700); font-weight: 700; font-size: var(--fs-sm); }
.tb-suggest .tb-suggest__empty { cursor: default; color: var(--muted); font-size: var(--fs-sm); }
.tb-suggest .tb-suggest__empty:hover { background: none; }

.tb-search__tools a .tb-icon { color: var(--tone); }
.tb-search__tags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; font-size: var(--fs-sm); }
.tb-search__tags span { color: var(--muted); }
.tb-search__tags a { color: var(--sky-700); font-weight: 600; }
.tb-search__tags a:hover { text-decoration: underline; }

.tb-tools { list-style: none; grid-template-columns: minmax(0, 1fr); }
.tb-tool__body span { font-weight: 600; }

.tb-band { padding: clamp(40px, 5vw, 64px) 0; background: linear-gradient(120deg, var(--mint-50), var(--sky-50)); border-block: 1px solid var(--line); }
.tb-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.tb-band__badge { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--mint); color: var(--wg-900); margin-bottom: 14px; }
.tb-band h2 { font-size: var(--fs-2xl); font-weight: 900; }
.tb-band__intro > p { margin: 8px 0 18px; font-size: var(--fs-md); }
.tb-band__intro .tb-searchform { margin-bottom: 14px; }
.tb-band__list { display: grid; gap: 10px; }
.tb-band__item { position: relative; display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.tb-band__item:hover { border-color: var(--sky); transform: translateX(-3px); }
[dir="ltr"] .tb-band__item:hover { transform: translateX(3px); }
.tb-band__icon { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--warn-soft); color: var(--warn); }
.tb-band__item h3 { font-size: var(--fs-md); font-weight: 700; line-height: 1.7; }
.tb-band__item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tb-band__item p { font-size: var(--fs-xs); color: var(--muted); line-height: 1.9; margin-top: 2px; }

.tb-tagcloud { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tb-tagcloud a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 8px; padding-inline-start: 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); transition: border-color .2s, color .2s; }
.tb-tagcloud a:hover { border-color: var(--sky); color: var(--sky-700); }
.tb-tagcloud span { min-width: 24px; padding: 0 7px; border-radius: var(--r-pill); background: var(--mint-50); color: var(--mint-800); font-size: 11px; text-align: center; line-height: 22px; }

.tb-cat-tool__text { display: flex; align-items: center; gap: 14px; }
.tb-cat-tool__text p { margin: 0; }
.tb-cat-tool__icon { width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: var(--tone-100); color: var(--tone-strong); }
.tb-cat-tool .tb-searchform { margin: 0; }

.tb-footer__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tb-footer__tags a { display: inline-block; padding: 3px 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); font-size: var(--fs-xs); }
.tb-footer__tags a:hover { background: var(--mint); color: var(--wg-900); }

@media (max-width: 980px) {
	.tb-header__cta { width: 42px; min-height: 42px; padding: 0; }
	.tb-dock { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 640px) {
	.tb-searchform, .tb-searchform--lg { flex-wrap: wrap; border-radius: var(--r-lg); padding: 8px; }
	.tb-searchform__icon { display: none; }
	.tb-searchform__input, .tb-searchform--lg .tb-searchform__input { flex-basis: 100%; padding: 8px; font-size: var(--fs-md); }
	.tb-searchform .tb-btn, .tb-searchform--lg .tb-btn { width: 100%; min-height: 46px; }
	.tb-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.tb-tool { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
	.tb-tool > .tb-icon { display: none; }
	.tb-tool__icon { width: 44px; height: 44px; border-radius: 13px; }
	.tb-tool__body strong { font-size: var(--fs-sm); }
}
