/* Tabassom Blog Single v1 — theme from tabassomrehab.com */
.tbbl {
	--tbbl-navy: #2A3F82; --tbbl-navy-dark: #1B2B6B; --tbbl-ink: #141F52;
	--tbbl-green: #2FBE6E; --tbbl-green-text: #128537; --tbbl-green-soft: #E7F7EC; --tbbl-green-line: #B9E9CE;
	--tbbl-text: #3E4766; --tbbl-muted: #6B7391; --tbbl-line: #E8ECF7; --tbbl-soft: #F8F9F4;
	--tbbl-shadow: 0 24px 60px rgba(30, 45, 100, .10);
	--tbbl-max: 1200px; --tbbl-side: 320px; --tbbl-gap: 40px;
	direction: rtl; width: 100%; max-width: var(--tbbl-max); margin-inline: auto;
	font-family: "Estedad", "IRANSans", Tahoma, sans-serif; color: var(--tbbl-text);
}
.tbbl *, .tbbl *::before, .tbbl *::after { box-sizing: border-box; }
.tbbl h1, .tbbl h2, .tbbl h3, .tbbl h4, .tbbl p, .tbbl a, .tbbl button, .tbbl li, .tbbl input, .tbbl textarea { font-family: inherit; }
.tbbl svg { display: block; flex: 0 0 auto; }
.tbbl a { text-decoration: none; }
.tbbl-empty { padding: 24px; text-align: center; color: var(--tbbl-muted); border: 1px dashed #cbd5e1; border-radius: 12px; }

/* Progress */
.tbbl-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 99990; height: 4px; background: transparent; pointer-events: none; }
.tbbl-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--tbbl-green), var(--tbbl-navy)); border-radius: 0 0 0 4px; transition: width .1s linear; }
body.admin-bar .tbbl-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tbbl-progress { top: 46px; } }

/* Hero */
.tbbl-hero {
	position: relative; overflow: hidden; padding: 44px 48px 40px; margin-bottom: 28px;
	background: radial-gradient(circle at 92% 10%, rgba(115, 216, 145, .22), transparent 42%), linear-gradient(160deg, #F8F9F4 0%, #EEF2FB 100%);
	border-radius: 26px; text-align: right;
}
.tbbl-hero-align-center .tbbl-hero { text-align: center; }
.tbbl-hero-align-center .tbbl-crumbs, .tbbl-hero-align-center .tbbl-pills, .tbbl-hero-align-center .tbbl-meta { justify-content: center; }
.tbbl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--tbbl-muted); }
.tbbl-crumbs a { color: var(--tbbl-muted); transition: color .2s; }
.tbbl-crumbs a:hover { color: var(--tbbl-navy); }
.tbbl-crumbs__sep svg { width: 14px; height: 14px; opacity: .6; }
.tbbl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tbbl-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
	font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--tbbl-green-text);
	background: var(--tbbl-green-soft); border-radius: 15px; transition: background-color .2s, color .2s;
}
.tbbl-pill::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tbbl-pill:hover { color: #fff; background: var(--tbbl-green); }
.tbbl-title { margin: 0 0 14px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; line-height: 1.55; color: var(--tbbl-ink); }
.tbbl-lead { margin: 0 0 18px; max-width: 760px; font-size: 16px; font-weight: 500; line-height: 2.1; color: var(--tbbl-muted); }
.tbbl-hero-align-center .tbbl-lead { margin-inline: auto; }
.tbbl-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--tbbl-muted); }
.tbbl-meta li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.tbbl-meta svg { width: 17px; height: 17px; color: var(--tbbl-green); }
.tbbl-meta a { color: inherit; }
.tbbl-meta a:hover { color: var(--tbbl-navy); }

/* Cover */
.tbbl-cover { margin: 0 0 36px; overflow: hidden; border-radius: 26px; background: var(--tbbl-soft); box-shadow: var(--tbbl-shadow); }
.tbbl-cover img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 0; }

/* Layout */
.tbbl-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--tbbl-side); gap: var(--tbbl-gap); align-items: start; }
.tbbl-layout--start { grid-template-columns: var(--tbbl-side) minmax(0, 1fr); }
.tbbl-layout--start .tbbl-side { order: -1; }
.tbbl-layout--none { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.tbbl-main { min-width: 0; }
.tbbl-side { min-width: 0; }
.tbbl-side--sticky { position: sticky; top: 110px; }
.tbbl-side__inner { display: flex; flex-direction: column; gap: 18px; }

/* Article typography */
.tbbl-content { font-size: 16px; font-weight: 500; line-height: 2.15; color: var(--tbbl-text); overflow-wrap: anywhere; }
.tbbl-content > *:first-child { margin-top: 0; }
.tbbl-content p { margin: 0 0 18px; text-align: justify; }
.tbbl-content strong, .tbbl-content b { color: var(--tbbl-ink); font-weight: 700; }
.tbbl-content h2, .tbbl-content h3, .tbbl-content h4 { scroll-margin-top: 120px; color: var(--tbbl-ink); font-weight: 700; }
.tbbl-content h2 { position: relative; margin: 38px 0 14px; padding-right: 18px; font-size: 22px; line-height: 1.7; color: var(--tbbl-navy); }
.tbbl-content h2::before { content: ""; position: absolute; right: 0; top: .45em; width: 6px; height: 1.1em; border-radius: 4px; background: var(--tbbl-green); }
.tbbl-content h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.7; }
.tbbl-content h4 { margin: 22px 0 8px; font-size: 16px; }
.tbbl-content a { color: var(--tbbl-green-text); font-weight: 600; border-bottom: 1px dashed currentColor; transition: color .2s; }
.tbbl-content a:hover { color: var(--tbbl-navy); }
.tbbl-content ul, .tbbl-content ol { margin: 0 0 20px; padding-right: 22px; }
.tbbl-content li { margin-bottom: 8px; }
.tbbl-content ul li::marker { color: var(--tbbl-green); }
.tbbl-content ol li::marker { color: var(--tbbl-navy); font-weight: 700; }
.tbbl-content img { max-width: 100%; height: auto; border-radius: 22px; }
.tbbl-content figure { margin: 26px 0; max-width: 100%; }
.tbbl-content figcaption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--tbbl-muted); }
.tbbl-content blockquote {
	margin: 26px 0; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--tbbl-ink);
	background: var(--tbbl-green-soft); border: 0; border-inline-start: 5px solid var(--tbbl-green); border-radius: 18px;
}
.tbbl-content blockquote p:last-child { margin-bottom: 0; }
.tbbl-content table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14px; }
.tbbl-content th, .tbbl-content td { padding: 10px 14px; border: 1px solid var(--tbbl-line); text-align: right; }
.tbbl-content th { background: var(--tbbl-soft); color: var(--tbbl-ink); }

/* Sidebar boxes */
.tbbl-box { padding: 22px; background: #fff; border: 1px solid var(--tbbl-line); border-radius: 22px; }
.tbbl-box__title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--tbbl-ink); }
.tbbl-box__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tbbl-green); }
.tbbl-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: tbbl; max-height: 50vh; overflow-y: auto; }
.tbbl-toc li { margin: 0; }
.tbbl-toc li.is-h3 a { padding-right: 34px; font-size: 13px; }
.tbbl-toc a {
	position: relative; display: block; padding: 7px 22px 7px 4px; font-size: 14px; font-weight: 600; line-height: 1.8;
	color: var(--tbbl-muted); border-radius: 10px; transition: color .2s, background-color .2s;
}
.tbbl-toc a::before { content: ""; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--tbbl-line); transition: background-color .2s; }
.tbbl-toc a:hover, .tbbl-toc a.is-active { color: var(--tbbl-navy); background: var(--tbbl-soft); }
.tbbl-toc a.is-active::before { background: var(--tbbl-green); }

.tbbl-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tbbl-share a, .tbbl-share button {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0;
	color: var(--tbbl-navy); background: var(--tbbl-soft); border: 1px solid var(--tbbl-line); border-radius: 12px; cursor: pointer;
	transition: color .2s, background-color .2s, border-color .2s;
}
.tbbl-share a:hover, .tbbl-share button:hover, .tbbl-share button.is-done { color: #fff; background: var(--tbbl-navy); border-color: var(--tbbl-navy); }
.tbbl-share svg { width: 18px; height: 18px; }
.tbbl-share--inline { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tbbl-share--inline .tbbl-box__title { margin: 0; }

.tbbl-toast {
	position: fixed; bottom: 24px; left: 50%; z-index: 99999; transform: translate(-50%, 20px); opacity: 0;
	padding: 10px 20px; font-family: "Estedad", Tahoma, sans-serif; font-size: 14px; font-weight: 600; color: #fff;
	background: var(--tbbl-ink, #141F52); border-radius: 14px; box-shadow: 0 12px 30px rgba(20, 31, 82, .25);
	transition: opacity .25s, transform .25s; pointer-events: none;
}
.tbbl-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* CTA */
.tbbl-cta {
	position: relative; overflow: hidden; padding: 26px 22px; color: #fff; text-align: center;
	background: linear-gradient(150deg, #2A3F82 0%, #1B2B6B 60%, #16224A 100%); border-radius: 22px;
}
.tbbl-cta::after { content: ""; position: absolute; left: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(115, 216, 145, .22); }
.tbbl-cta > * { position: relative; z-index: 1; }
.tbbl-cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 12px; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 16px; }
.tbbl-cta__icon svg { width: 26px; height: 26px; }
.tbbl-cta__title { margin-bottom: 8px; font-size: 17px; font-weight: 700; line-height: 1.7; color: #fff; }
.tbbl-cta__desc { margin: 0 0 16px; font-size: 13px; font-weight: 500; line-height: 2; color: rgba(255, 255, 255, .78); }
.tbbl-cta__btn {
	display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 18px;
	font-size: 15px; font-weight: 700; color: #fff; background: var(--tbbl-green); border-radius: 14px; transition: background-color .2s, color .2s;
}
.tbbl-cta__btn:hover { color: var(--tbbl-ink); background: #fff; }
.tbbl-cta__phone { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); direction: ltr; }
.tbbl-cta__phone svg { width: 16px; height: 16px; }
.tbbl-cta-wide { max-width: 820px; margin: 30px auto 0; }

/* Tags / author / nav */
.tbbl-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--tbbl-line); }
.tbbl-tags__label { font-size: 14px; font-weight: 700; color: var(--tbbl-ink); margin-left: 4px; }
.tbbl-tags a { padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--tbbl-navy); background: var(--tbbl-soft); border: 1px solid var(--tbbl-line); border-radius: 12px; transition: color .2s, background-color .2s, border-color .2s; }
.tbbl-tags a:hover { color: #fff; background: var(--tbbl-navy); border-color: var(--tbbl-navy); }

.tbbl-author { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 22px; background: var(--tbbl-soft); border-radius: 22px; }
.tbbl-author__avatar img { display: block; width: 72px; height: 72px; border-radius: 50%; }
.tbbl-author__name { font-size: 16px; font-weight: 700; color: var(--tbbl-ink); }
.tbbl-author__desc { margin: 4px 0 0; font-size: 14px; line-height: 1.9; color: var(--tbbl-muted); }

.tbbl-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.tbbl-nav__item {
	display: flex; align-items: center; gap: 12px; padding: 16px 18px; min-width: 0;
	background: #fff; border: 1px solid var(--tbbl-line); border-radius: 18px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tbbl-nav__item:hover { border-color: var(--tbbl-green-line); box-shadow: var(--tbbl-shadow); transform: translateY(-3px); }
.tbbl-nav__item--prev { justify-content: flex-end; text-align: left; }
.tbbl-nav__item > span { min-width: 0; display: flex; flex-direction: column; }
.tbbl-nav__item small { font-size: 12px; font-weight: 600; color: var(--tbbl-green); }
.tbbl-nav__title { font-size: 14px; font-weight: 700; line-height: 1.8; color: var(--tbbl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbbl-nav svg { width: 22px; height: 22px; color: var(--tbbl-navy); }

/* Related */
.tbbl-related { margin-top: 56px; }
.tbbl-related__head { margin-bottom: 26px; text-align: center; }
.tbbl-related__sub { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 20px; font-size: 13px; font-weight: 600; color: var(--tbbl-green-text); background: var(--tbbl-green-soft); border-radius: 15px; }
.tbbl-related__sub::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tbbl-related__title { margin: 0; font-size: 24px; font-weight: 700; color: var(--tbbl-navy); }
.tbbl-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tbbl-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--tbbl-line); border-radius: 22px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tbbl-card:hover { transform: translateY(-5px); border-color: var(--tbbl-green-line); box-shadow: var(--tbbl-shadow); }
.tbbl-card__media { position: relative; display: block; height: 190px; overflow: hidden; background: var(--tbbl-soft); }
.tbbl-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s; }
.tbbl-card:hover .tbbl-card__media img { transform: scale(1.06); }
.tbbl-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #C9D2E8; background: linear-gradient(160deg, #F8F9F4, #EEF2FB); }
.tbbl-card__noimg svg { width: 44px; height: 44px; }
.tbbl-card__cat { position: absolute; top: 14px; right: 14px; padding: 5px 13px; font-size: 12px; font-weight: 600; color: var(--tbbl-green-text); background: var(--tbbl-green-soft); border-radius: 13px; }
.tbbl-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.tbbl-card__date { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--tbbl-muted); }
.tbbl-card__date svg { width: 15px; height: 15px; color: var(--tbbl-green); }
.tbbl-card__title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.8; }
.tbbl-card__title a { color: var(--tbbl-ink); transition: color .2s; }
.tbbl-card:hover .tbbl-card__title a { color: var(--tbbl-navy); }
.tbbl-card__excerpt { margin: 0; font-size: 13px; font-weight: 500; line-height: 2; color: var(--tbbl-muted); }
.tbbl-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--tbbl-green-text); }
.tbbl-card__more svg { width: 18px; height: 18px; transition: transform .2s; }
.tbbl-card__more:hover svg { transform: translateX(-4px); }

/* Comments (theme markup, lightly styled) */
.tbbl-comments { max-width: 820px; margin: 56px auto 0; }
.tbbl-comments .comments-title, .tbbl-comments .comment-reply-title { font-size: 20px; font-weight: 700; color: var(--tbbl-navy); }
.tbbl-comments textarea, .tbbl-comments input[type="text"], .tbbl-comments input[type="email"], .tbbl-comments input[type="url"] {
	width: 100%; padding: 12px 14px; font-family: inherit; font-size: 14px; border: 1px solid var(--tbbl-line); border-radius: 14px; background: #fff;
}
.tbbl-comments textarea:focus, .tbbl-comments input:focus { outline: none; border-color: var(--tbbl-green); box-shadow: 0 0 0 3px var(--tbbl-green-soft); }
.tbbl-comments .comment-respond { padding: 28px; background: #fff; border: 1px solid var(--tbbl-line); border-radius: 22px; }
.tbbl-comments .comment-reply-title { margin: 0 0 10px; }
.tbbl-comments .comment-notes, .tbbl-comments .logged-in-as { font-size: 13px; color: var(--tbbl-muted); }
.tbbl-comments .logged-in-as a { color: var(--tbbl-green-text); }
.tbbl-comments label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--tbbl-ink); }
.tbbl-comments input[type="submit"], .tbbl-comments button[type="submit"], .tbbl-comments .submit {
	padding: 12px 28px; font-family: inherit; font-size: 15px; font-weight: 700; color: #fff;
	background: var(--tbbl-navy); border: 0; border-radius: 14px; cursor: pointer; transition: background-color .2s;
}
.tbbl-comments input[type="submit"]:hover, .tbbl-comments button[type="submit"]:hover, .tbbl-comments .submit:hover { color: #fff; background: var(--tbbl-green); }
.tbbl-comments .comment-list { padding: 0; list-style: none; }
.tbbl-comments .comment-body { padding: 18px; margin-bottom: 14px; background: var(--tbbl-soft); border-radius: 18px; }

/* Responsive */
@media (max-width: 1024px) {
	.tbbl-layout, .tbbl-layout--start { grid-template-columns: minmax(0, 1fr); }
	.tbbl-layout--start .tbbl-side { order: 0; }
	.tbbl-side--sticky { position: static; }
	.tbbl-side__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.tbbl-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.tbbl-hero { padding: 28px 20px 24px; border-radius: 20px; }
	.tbbl-cover { border-radius: 18px; margin-bottom: 26px; }
	.tbbl-content { font-size: 15px; }
	.tbbl-content h2 { font-size: 19px; }
	.tbbl-nav { grid-template-columns: 1fr; }
	.tbbl-related__grid { grid-template-columns: minmax(0, 1fr); }
	.tbbl-author { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.tbbl-card, .tbbl-card__media img, .tbbl-nav__item, .tbbl-progress span { transition: none; }
}
