/* Rasta Academy — صفحه‌ی مدرس */

.rasta-tp { direction: rtl; padding-bottom: 20px; color: var(--t-ink); }
.rasta-tp *, .rasta-tp *::before, .rasta-tp *::after { box-sizing: border-box; }
.rasta-tp a { text-decoration: none; }
.rasta-tp .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* ================= سربرگ ================= */
.rasta-tp__hero { padding: 22px 0 0; }
.rasta-tp__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--t-muted); font-size: 13px; }
.rasta-tp__crumbs a, .rasta-tp__crumbs a:visited { display: inline-flex; align-items: center; gap: 5px; color: var(--t-muted); transition: color .2s ease; }
.rasta-tp__crumbs a:hover { color: var(--t-blue); }
.rasta-tp__crumbs svg { width: 15px; height: 15px; }
.rasta-tp__crumbs [aria-current] { color: var(--t-ink-2); font-weight: 600; }

.rasta-tp__card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(26px, 4vw, 56px); padding: clamp(28px, 4.5vw, 56px); overflow: hidden; border-radius: 34px; background: radial-gradient(60% 120% at 0% 0%, rgba(141, 178, 255, .45), transparent 60%), radial-gradient(50% 80% at 100% 100%, rgba(15, 40, 140, .55), transparent 70%), linear-gradient(135deg, #1F4FD8 0%, var(--t-blue) 100%); color: #fff; box-shadow: 0 50px 90px -50px rgba(30, 79, 216, .9); isolation: isolate; }
.rasta-tp__card::before { content: ""; position: absolute; inset: 12px; z-index: -1; border: 1.5px dashed rgba(255, 255, 255, .24); border-radius: 25px; pointer-events: none; }
.rasta-tp__card::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 7px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 7px); -webkit-mask-image: radial-gradient(60% 80% at 15% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 15% 30%, #000, transparent 75%); }
.rasta-tp__thread { position: absolute; bottom: -20px; left: -30px; z-index: -1; width: 560px; max-width: 70%; height: auto; color: rgba(255, 255, 255, .28); pointer-events: none; }

/* عکس */
.rasta-tp__figure { position: relative; display: grid; place-items: center; width: clamp(190px, 21vw, 260px); aspect-ratio: 1; }
.rasta-tp__ring { position: absolute; inset: -14px; border: 2px dashed rgba(255, 255, 255, .5); border-radius: 50%; animation: rastaTpSpin 40s linear infinite; }
.rasta-tp__ring::before { content: ""; position: absolute; top: 50%; right: -7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
.rasta-tp__photo { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border: 6px solid rgba(255, 255, 255, .95); border-radius: 50%; background: linear-gradient(135deg, #DCE6FF, #fff); box-shadow: 0 30px 60px -28px rgba(8, 20, 70, .9); }
.rasta-tp__photo img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.rasta-tp__initial { color: var(--t-blue); font-size: 72px; font-weight: 900; line-height: 1; }
.rasta-tp__seal { position: absolute; bottom: 4px; left: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 12px; border-radius: 999px; background: #fff; color: var(--t-ink); box-shadow: 0 16px 30px -14px rgba(8, 20, 70, .7); font-size: 12.5px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); }
.rasta-tp__seal svg { width: 18px; height: 18px; color: var(--t-blue); }
@keyframes rastaTpSpin { to { transform: rotate(360deg); } }

/* معرفی */
.rasta-tp__intro { position: relative; min-width: 0; }
.rasta-tp__role { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px 4px 6px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.8; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rasta-tp__role svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #fff; color: var(--t-blue); }
.rasta-tp__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; padding: 0; color: #fff; font-family: inherit; font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.35; }
.rasta-tp__tick { display: inline-grid; place-items: center; width: .8em; height: .8em; color: #8DE0FF; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.rasta-tp__tick svg { width: 100%; height: 100%; }
.rasta-tp__lead { max-width: 640px; margin: 14px 0 0; color: rgba(255, 255, 255, .86); font-size: clamp(14.5px, 1.3vw, 16px); line-height: 2.1; }

.rasta-tp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.rasta-tp__cta, .rasta-tp__cta:visited { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 16px; background: #fff; color: var(--t-ink); box-shadow: 0 20px 36px -18px rgba(8, 20, 70, .8); font-size: 14.5px; font-weight: 700; transition: transform .3s var(--t-ease), background .2s ease, color .2s ease; }
.rasta-tp__cta:hover { background: var(--t-ink); color: #fff; transform: translateY(-2px); }
.rasta-tp__cta svg { width: 18px; height: 18px; transition: transform .3s var(--t-ease); }
.rasta-tp__cta:hover svg { transform: translateY(2px); }
.rasta-tp__social { display: flex; flex-wrap: wrap; gap: 8px; }
.rasta-tp__social a, .rasta-tp__social a:visited { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 15px; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s ease, color .2s ease, transform .3s var(--t-ease); }
.rasta-tp__social a:hover { background: #fff; color: var(--t-blue); transform: translateY(-3px); }
.rasta-tp__social svg { width: 20px; height: 20px; }

/* آمار */
.rasta-tp__stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; width: min(820px, calc(100% - 48px)); margin: -38px auto 0; padding: 10px; list-style: none; border: 1px solid var(--t-line); border-radius: 26px; background: rgba(255, 255, 255, .96); box-shadow: 0 30px 60px -36px rgba(16, 24, 40, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rasta-tp__stats li { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 0 12px; margin: 0; padding: 10px 12px; border-radius: 18px; }
.rasta-tp__stats li + li { box-shadow: inset -1px 0 0 var(--t-line); }
.rasta-tp__stat-ico { display: grid; grid-row: span 2; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--t-blue-50); color: var(--t-blue); }
.rasta-tp__stat-ico svg { width: 22px; height: 22px; }
.rasta-tp__stats b { color: var(--t-ink); font-size: 22px; font-weight: 800; line-height: 1.3; }
.rasta-tp__stats small { color: var(--t-muted); font-size: 12.5px; line-height: 1.6; }

/* ================= بخش‌ها ================= */
.rasta-tp__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--t-blue); font-size: 13px; font-weight: 700; }
.rasta-tp__eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.rasta-tp__h { margin: 4px 0 0; padding: 0; color: var(--t-ink); font-family: inherit; font-size: clamp(20px, 2.3vw, 27px); font-weight: 800; line-height: 1.5; }
.rasta-tp__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.rasta-tp__count { padding: 6px 14px; border-radius: 999px; background: var(--t-blue-50); color: var(--t-blue); font-size: 13px; font-weight: 700; }

/* درباره */
.rasta-tp__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 24px; margin-top: 56px; }
.rasta-tp__body.is-single { grid-template-columns: minmax(0, 1fr); }
.rasta-tp__about { position: relative; padding: clamp(24px, 3.4vw, 40px); overflow: hidden; border: 1px solid var(--t-line); border-radius: 28px; background: #fff; }
.rasta-tp__quote { position: absolute; top: 18px; left: 22px; width: 90px; height: 90px; color: var(--t-blue-50); }
.rasta-tp__quote svg { width: 100%; height: 100%; stroke-width: 1.4; }
.rasta-tp__content { position: relative; margin-top: 14px; color: var(--t-ink-2); font-size: 15.5px; line-height: 2.2; }
.rasta-tp__content > :first-child { margin-top: 0; }
.rasta-tp__content > :last-child { margin-bottom: 0; }
.rasta-tp__content p { margin: 0 0 14px; }
.rasta-tp__content img { height: auto; border-radius: 18px; }

.rasta-tp__aside { position: sticky; top: 24px; padding: 24px; border: 1px solid rgba(220, 230, 255, .9); border-radius: 28px; background: radial-gradient(80% 60% at 100% 0%, rgba(47, 107, 255, .12), transparent 70%), #fff; }
.rasta-tp__aside-title { margin: 0; padding: 0; color: var(--t-ink); font-family: inherit; font-size: 17px; font-weight: 800; line-height: 1.6; }
.rasta-tp__aside p { margin: 6px 0 16px; color: var(--t-muted); font-size: 13.5px; line-height: 2; }
.rasta-tp__links { display: grid; gap: 8px; }
.rasta-tp__links a, .rasta-tp__links a:visited { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--t-line); border-radius: 16px; background: #fff; color: var(--t-ink-2); font-size: 14px; font-weight: 700; transition: border-color .2s ease, color .2s ease, transform .3s var(--t-ease); }
.rasta-tp__links a > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--t-blue-50); color: var(--t-blue); transition: background .2s ease, color .2s ease; }
.rasta-tp__links a > span svg { width: 19px; height: 19px; }
.rasta-tp__links a > svg { width: 16px; height: 16px; margin-inline-start: auto; color: var(--t-muted); transition: transform .3s var(--t-ease), color .2s ease; }
.rasta-tp__links a:hover { border-color: var(--t-blue-100); color: var(--t-blue); }
.rasta-tp__links a:hover > span { background: var(--t-blue); color: #fff; }
.rasta-tp__links a:hover > svg { color: var(--t-blue); transform: translateX(-4px); }

/* دوره‌ها */
.rasta-tp__courses { margin-top: 64px; scroll-margin-top: 24px; }
.rasta-tp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 22px; }
.rasta-tp__plain { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rasta-tp__plain a { display: block; padding: 14px 18px; border: 1px solid var(--t-line); border-radius: 16px; background: #fff; color: var(--t-ink); font-weight: 700; }
.rasta-tp__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(36px, 6vw, 60px) 20px; border: 1.5px dashed var(--t-blue-100); border-radius: 28px; background: #fff; text-align: center; }
.rasta-tp__empty > span { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 8px; border-radius: 22px; background: var(--t-blue-50); color: var(--t-blue); }
.rasta-tp__empty > span svg { width: 30px; height: 30px; }
.rasta-tp__empty b { color: var(--t-ink); font-size: 17px; font-weight: 800; }
.rasta-tp__empty p { margin: 0 0 12px; color: var(--t-muted); font-size: 14px; }

/* مدرسان دیگر */
.rasta-tp__others { margin-top: 64px; }
.rasta-tp__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.rasta-tp__person, .rasta-tp__person:visited { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid var(--t-line); border-radius: 20px; background: #fff; color: var(--t-ink); transition: border-color .2s ease, box-shadow .3s ease, transform .3s var(--t-ease); }
.rasta-tp__person:hover { border-color: var(--t-blue-100); box-shadow: 0 24px 40px -30px rgba(16, 24, 40, .5); transform: translateY(-3px); }
.rasta-tp__person-img { display: grid; flex: 0 0 56px; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--t-blue-50); color: var(--t-blue); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--t-blue-100); }
.rasta-tp__person-img img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.rasta-tp__person-img svg { width: 24px; height: 24px; }
.rasta-tp__person-text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.rasta-tp__person-text b { overflow: hidden; font-size: 14.5px; font-weight: 700; line-height: 1.7; text-overflow: ellipsis; white-space: nowrap; }
.rasta-tp__person-text small { overflow: hidden; color: var(--t-muted); font-size: 12.5px; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.rasta-tp__person > svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--t-muted); transition: transform .3s var(--t-ease), color .2s ease; }
.rasta-tp__person:hover > svg { color: var(--t-blue); transform: translateX(-4px); }

/* ================= واکنش‌گرا ================= */
@media (max-width: 960px) {
    .rasta-tp__body { grid-template-columns: minmax(0, 1fr); }
    .rasta-tp__aside { position: static; }
}

@media (max-width: 760px) {
    .rasta-tp__hero { padding-top: 14px; }
    .rasta-tp__card { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 34px 20px 64px; border-radius: 28px; text-align: center; }
    .rasta-tp__card::before { inset: 9px; border-radius: 21px; }
    .rasta-tp__figure { width: 170px; }
    .rasta-tp__ring { inset: -11px; }
    .rasta-tp__name { justify-content: center; }
    .rasta-tp__lead { margin-inline: auto; }
    .rasta-tp__actions { flex-direction: column; justify-content: center; }
    .rasta-tp__cta { justify-content: center; width: 100%; }
    .rasta-tp__social { justify-content: center; }
    .rasta-tp__thread { max-width: 120%; }
    .rasta-tp__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: calc(100% - 24px); margin-top: -40px; padding: 8px; border-radius: 22px; }
    .rasta-tp__stats li { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; padding: 8px 4px; text-align: center; }
    .rasta-tp__stat-ico { grid-row: auto; width: 38px; height: 38px; margin-bottom: 4px; border-radius: 12px; }
    .rasta-tp__stat-ico svg { width: 19px; height: 19px; }
    .rasta-tp__stats b { font-size: 18px; }
    .rasta-tp__stats small { font-size: 11px; }
    .rasta-tp__body, .rasta-tp__courses, .rasta-tp__others { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .rasta-tp__ring { animation: none; }
}


/* ================= فهرست مدرسان ================= */
.rasta-tl { padding-top: 22px; }
.rasta-tl__hero { position: relative; margin-bottom: 30px; padding: clamp(26px, 4vw, 48px); overflow: hidden; border: 1px solid rgba(220, 230, 255, .9); border-radius: 32px; background: radial-gradient(60% 120% at 100% 0%, rgba(47, 107, 255, .14), transparent 60%), linear-gradient(180deg, #F3F7FF, #fff); text-align: center; isolation: isolate; }
.rasta-tl__hero::before { content: ""; position: absolute; inset: 10px; z-index: -1; border: 1.5px dashed rgba(47, 107, 255, .16); border-radius: 24px; pointer-events: none; }
.rasta-tl__thread { position: absolute; top: 0; left: 0; z-index: -1; width: 520px; max-width: 80%; color: rgba(47, 107, 255, .18); pointer-events: none; }
.rasta-tl__hero .rasta-tp__eyebrow { justify-content: center; }
.rasta-tl__title { margin: 6px 0 0; padding: 0; color: var(--t-ink); font-family: inherit; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.4; }
.rasta-tl__lead { max-width: 620px; margin: 10px auto 0; color: var(--t-muted); font-size: 15px; line-height: 2.1; }
.rasta-tl__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.rasta-tl__facts li { display: flex; align-items: baseline; gap: 6px; margin: 0; padding: 9px 18px; border: 1px solid var(--t-line); border-radius: 999px; background: #fff; color: var(--t-muted); font-size: 13px; }
.rasta-tl__facts b { color: var(--t-blue); font-size: 18px; font-weight: 800; }

.rasta-tl__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.rasta-tl__card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 30px 24px 24px; overflow: hidden; border: 1px solid var(--t-line); border-radius: 30px; background: #fff; text-align: center; transition: border-color .3s ease, box-shadow .4s var(--t-ease), transform .4s var(--t-ease); isolation: isolate; }
.rasta-tl__card::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: 120px; background: radial-gradient(70% 100% at 50% 0%, rgba(47, 107, 255, .16), transparent 75%); }
.rasta-tl__card:hover { border-color: var(--t-blue-100); box-shadow: 0 40px 70px -46px rgba(16, 24, 40, .5); transform: translateY(-4px); }

.rasta-tl__figure { position: relative; display: grid; place-items: center; width: 150px; aspect-ratio: 1; margin-bottom: 18px; }
.rasta-tl__ring { position: absolute; inset: -10px; border: 2px dashed var(--t-blue-100); border-radius: 50%; transition: border-color .3s ease; }
.rasta-tl__card:hover .rasta-tl__ring { border-color: var(--t-blue); animation: rastaTpSpin 14s linear infinite; }
.rasta-tl__photo { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: 5px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #DCE6FF, #fff); box-shadow: 0 22px 40px -22px rgba(30, 79, 216, .7); }
.rasta-tl__photo img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; transition: transform .8s var(--t-ease); }
.rasta-tl__card:hover .rasta-tl__photo img { transform: scale(1.06); }
.rasta-tl__photo .rasta-tp__initial { font-size: 54px; }

.rasta-tl__body { display: flex; flex: 1; flex-direction: column; align-items: center; width: 100%; min-width: 0; }
.rasta-tl__role { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 5px; border-radius: 999px; background: var(--t-blue-50); color: var(--t-blue); font-size: 12.5px; font-weight: 600; line-height: 1.8; }
.rasta-tl__role svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; }
.rasta-tl__name { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; padding: 0; font-family: inherit; font-size: 21px; font-weight: 800; line-height: 1.5; }
.rasta-tl__name a, .rasta-tl__name a:visited { color: var(--t-ink); transition: color .2s ease; }
.rasta-tl__name a:hover { color: var(--t-blue); }
.rasta-tl__name .rasta-tp__tick { width: 22px; height: 22px; color: #2F9BFF; filter: none; }
.rasta-tl__excerpt { margin: 8px 0 0; color: var(--t-muted); font-size: 14px; line-height: 2; }
.rasta-tl__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.rasta-tl__stats li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 1px solid var(--t-line); border-radius: 12px; color: var(--t-muted); font-size: 12.5px; }
.rasta-tl__stats svg { width: 17px; height: 17px; color: var(--t-blue); }
.rasta-tl__stats b { color: var(--t-ink); font-size: 14px; font-weight: 800; }
.rasta-tl__btn, .rasta-tl__btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin-top: auto; padding: 0 20px; border-radius: 15px; background: var(--t-blue-50); color: var(--t-blue); font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.rasta-tl__stats + .rasta-tl__btn, .rasta-tl__excerpt + .rasta-tl__btn, .rasta-tl__latest + .rasta-tl__btn { margin-top: 20px; }
.rasta-tl__btn svg { width: 17px; height: 17px; transition: transform .3s var(--t-ease); }
.rasta-tl__card:hover .rasta-tl__btn { background: var(--t-blue); color: #fff; }
.rasta-tl__card:hover .rasta-tl__btn svg { transform: translateX(-4px); }

/* فقط یک مدرس: کارت افقی بزرگ */
.rasta-tl__grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.rasta-tl__grid.is-solo .rasta-tl__card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 48px); text-align: right; }
.rasta-tl__grid.is-solo .rasta-tl__card::before { inset: 0 auto 0 0; width: 55%; height: auto; background: radial-gradient(70% 70% at 0% 50%, rgba(47, 107, 255, .1), transparent 75%); }
.rasta-tl__grid.is-solo .rasta-tl__figure { width: clamp(180px, 22vw, 260px); margin: 10px; }
.rasta-tl__grid.is-solo .rasta-tl__ring { inset: -14px; }
.rasta-tl__grid.is-solo .rasta-tl__body { align-items: flex-start; }
.rasta-tl__grid.is-solo .rasta-tl__name { justify-content: flex-start; font-size: clamp(24px, 2.8vw, 32px); }
.rasta-tl__grid.is-solo .rasta-tl__excerpt { max-width: 640px; font-size: 15px; }
.rasta-tl__grid.is-solo .rasta-tl__stats { justify-content: flex-start; }
.rasta-tl__grid.is-solo .rasta-tl__btn { width: auto; background: var(--t-blue); color: #fff; box-shadow: 0 16px 30px -16px rgba(47, 107, 255, .9); }
.rasta-tl__grid.is-solo .rasta-tl__btn:hover { background: var(--t-blue-600); }

.rasta-tl__latest { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; max-width: 560px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--t-line); }
.rasta-tl__latest > span { color: var(--t-muted); font-size: 12.5px; font-weight: 600; }
.rasta-tl__latest a, .rasta-tl__latest a:visited { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--t-line); border-radius: 16px; background: var(--t-soft); color: var(--t-ink); transition: border-color .2s ease, background .2s ease; }
.rasta-tl__latest a:hover { border-color: var(--t-blue-100); background: #fff; }
.rasta-tl__latest-img { flex: 0 0 46px; width: 46px; height: 46px; overflow: hidden; border-radius: 12px; background: var(--t-blue-50); }
.rasta-tl__latest-img img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.rasta-tl__latest b { flex: 1; min-width: 0; overflow: hidden; font-size: 13.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.rasta-tl__latest a > svg { flex: 0 0 26px; width: 26px; height: 26px; padding: 7px; border-radius: 50%; background: var(--t-blue); color: #fff; }

.rasta-tl__pages { margin-top: 28px; }
.rasta-tl__pages .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rasta-tl__pages .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--t-line); border-radius: 13px; background: #fff; color: var(--t-ink-2); font-weight: 700; }
.rasta-tl__pages .page-numbers.current { border-color: var(--t-blue); background: var(--t-blue); color: #fff; }

@media (max-width: 760px) {
    .rasta-tl { padding-top: 14px; }
    .rasta-tl__hero { border-radius: 26px; }
    .rasta-tl__grid.is-solo .rasta-tl__card { grid-template-columns: minmax(0, 1fr); justify-items: stretch; text-align: center; }
    .rasta-tl__grid.is-solo .rasta-tl__figure { justify-self: center; width: 170px; }
    .rasta-tl__grid.is-solo .rasta-tl__body { align-items: center; }
    .rasta-tl__grid.is-solo .rasta-tl__name, .rasta-tl__grid.is-solo .rasta-tl__stats { justify-content: center; }
    .rasta-tl__grid.is-solo .rasta-tl__btn { width: 100%; }
    .rasta-tl__latest { text-align: right; }
}

/* عکس مدرس همیشه دایره‌ی کامل بماند (هر اندازه‌ای که تصویر اصلی داشته باشد) */
.rasta-tp__photo { position: absolute; inset: 0; width: auto; height: auto; }