/* ============================================
   rostam-main.css
   استایل پایهٔ کتاب «رستم؛ شاهِ نگهبان معنای ایران»
   ============================================ */

/* ----- ریست پایه ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* ----- هدر کتاب ----- */
.book-header {
    background-color: var(--color-bg-dark);
    border-bottom: 2px solid var(--color-gold);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.book-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.book-header__parent-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text-light);
    transition: color 0.3s;
}

.book-header__parent-link:hover {
    color: var(--color-gold);
}

.book-header__icon {
    width: 36px;
    height: 36px;
}

.book-header__parent-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
}

.book-header__nav {
    display: flex;
    gap: 1.5rem;
}

.book-header__nav-link {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: var(--text-sm);
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

.book-header__nav-link:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

/* ----- صفحهٔ فرود ----- */
.book-landing {
    max-width: var(--container-reading);
    margin: 0 auto;
    padding: 2rem var(--container-padding) 4rem;
}

/* ----- بخش عنوان (Hero) ----- */
.book-hero {
    text-align: center;
    padding: 4rem 0 3rem;
}

.book-hero__ornament {
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.book-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 900;
    color: var(--color-gold);
    letter-spacing: 0.25rem;
    margin-bottom: 0.5rem;
}

.book-hero__subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-text-light);
    font-weight: 400;
    margin-bottom: 2rem;
}

.book-hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.book-hero__divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.book-hero__divider-symbol {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.book-hero__description {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    max-width: 650px;
    margin: 0 auto;
}

/* ----- نقل‌قول میثاق ----- */
.book-covenant {
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-dark));
    border: 1px solid var(--color-border);
    border-right: 4px solid var(--color-gold);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0 4rem;
}

.book-covenant__quote {
    text-align: center;
}

.book-covenant__quote p {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    font-style: italic;
}

.book-covenant__quote strong {
    color: var(--color-gold);
}

/* ----- فهرست هفت‌خان ----- */
.book-toc {
    margin-bottom: 4rem;
}

.book-toc__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 1rem;
}

.book-toc__intro {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-base);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: var(--leading-relaxed);
}

.book-toc__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.book-toc__item {
    counter-increment: khan-counter;
}

.book-toc__link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.book-toc__link:hover {
    border-color: var(--color-gold);
    background-color: var(--color-bg-hover);
    transform: translateX(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.book-toc__number {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    color: var(--color-gold);
    min-width: 80px;
    text-align: center;
}

.book-toc__chapter-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-text);
    flex: 1;
}

.book-toc__question {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-style: italic;
}

.book-toc__epilogue {
    margin-top: 1.5rem;
}

.book-toc__link--epilogue {
    border-style: dashed;
    opacity: 0.85;
}

/* ----- روش‌شناسی ----- */
.book-methodology {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.book-methodology__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.book-methodology__text {
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: 1.25rem;
}

.book-methodology__pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.book-methodology__pillars li {
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
}

.book-methodology__pillars strong {
    color: var(--color-gold);
}

.book-methodology__more {
    display: inline-block;
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.book-methodology__more:hover {
    opacity: 0.7;
}

/* ----- دعوت ----- */
.book-invitation {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

.book-invitation__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.book-invitation__text {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.book-invitation__signature {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-gold);
    font-weight: 700;
}

/* ----- فوتر ----- */
.book-footer {
    background-color: var(--color-bg-dark);
    border-top: 2px solid var(--color-gold);
    padding: 2rem 0;
    text-align: center;
}

.book-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.book-footer__motto {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-gold);
}

.book-footer__parent {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.book-footer__parent a {
    color: var(--color-gold);
    text-decoration: none;
}

.book-footer__license {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.book-footer__license a {
    color: var(--color-text-muted);
    text-decoration: underline;
}

/* ============================================
   استایل‌های فصل‌ها
   ============================================ */

/* ----- سرصفحهٔ فصل ----- */
.chapter-header {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 3rem;
}

.chapter-header__khan {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    color: var(--color-gold);
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border: 1px solid var(--color-gold);
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.chapter-header__title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.chapter-header__question {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    font-style: italic;
}

/* ----- بخش‌های فصل ----- */
.chapter-section {
    margin-bottom: 3rem;
}

.chapter-section h2 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.chapter-section h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-text);
    margin-bottom: 1rem;
}

.chapter-section p {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    margin-bottom: 1.25rem;
}

.chapter-section strong {
    color: var(--color-text);
}

/* ----- یادداشت روش‌شناختی ----- */
.method-note {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-right: 4px solid var(--color-gold-light);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

.method-note strong {
    color: var(--color-gold);
}

/* ----- کارت ویژگی ----- */
.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    color: var(--color-gold-light);
    margin-bottom: 0.75rem;
}

/* ----- جدول جمع‌بندی ----- */
.feature-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: var(--text-sm);
}

.feature-table thead {
    background-color: var(--color-bg-dark);
}

.feature-table th {
    padding: 0.75rem 1rem;
    text-align: right;
    color: var(--color-gold);
    font-weight: 600;
    border-bottom: 2px solid var(--color-gold);
}

.feature-table td {
    padding: 0.75rem 1rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
    line-height: var(--leading-relaxed);
}

.feature-table tbody tr:hover {
    background-color: var(--color-bg-hover);
}

/* ----- نقل‌قول پرسش ----- */
.chapter-question {
    background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-dark));
    border: 1px solid var(--color-border);
    border-right: 4px solid var(--color-fire);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.chapter-question p {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    margin-bottom: 0;
}

/* ----- ناوبری فصل ----- */
.chapter-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
    gap: 1rem;
}

.chapter-nav__empty {
    flex: 1;
}

.chapter-nav__up {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.3s;
}

.chapter-nav__up:hover {
    color: var(--color-gold);
}

.chapter-nav__next {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    padding: 0.75rem 1rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.chapter-nav__next:hover {
    border-color: var(--color-gold);
    background-color: var(--color-bg-hover);
}

.chapter-nav__label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.chapter-nav__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: var(--color-text);
}

.chapter-nav__arrow {
    font-size: var(--text-lg);
    color: var(--color-gold);
}

/* ----- کارت موقعیت جغرافیایی ----- */
.location-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.location-card h3 {
    color: var(--color-gold-light);
    margin-bottom: 1rem;
}

.location-card ul {
    list-style: none;
    padding: 0;
}

.location-card li {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.location-card li:last-child {
    border-bottom: none;
}

.location-card strong {
    color: var(--color-gold);
}

/* ----- جایگزین نقشه ----- */
.map-placeholder {
    background-color: var(--color-bg-card);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.map-placeholder__icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
}

.map-placeholder p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.map-placeholder small {
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* ----- ناوبری فصل (به‌روزرسانی برای دکمهٔ قبلی) ----- */
.chapter-nav__prev {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    padding: 0.75rem 1rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.chapter-nav__prev:hover {
    border-color: var(--color-gold);
    background-color: var(--color-bg-hover);
}

/* ----- لیست ساده در بخش‌ها ----- */
.chapter-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.chapter-section ul li {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    padding: 0.4rem 0;
}

.chapter-section ul li::before {
    content: '•';
    color: var(--color-gold);
    margin-left: 0.5rem;
}

/* ----- کارت اصول (Principles) ----- */
.principle-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.principle-card__number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.principle-card__content strong {
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.25rem;
}

.principle-card__content p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ----- برچسب‌های انطباق ----- */
.match-tag {
    display: inline-block;
    font-size: var(--text-xs);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.match-tag--direct {
    background-color: rgba(212, 168, 67, 0.15);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.match-tag--partial {
    background-color: rgba(232, 205, 122, 0.1);
    color: var(--color-gold-light);
    border: 1px solid var(--color-gold-light);
}

.match-tag--symbolic {
    background-color: rgba(196, 68, 54, 0.1);
    color: var(--color-fire-light);
    border: 1px solid var(--color-fire-light);
}

.match-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--color-bg-dark);
    border-radius: 8px;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ----- نمودار تبدیل ----- */
.conversion-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 1rem;
    margin: 2rem 0;
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: center;
}

.conversion-diagram__item {
    flex: 1;
}

.conversion-diagram__label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
}

.conversion-diagram__item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.conversion-diagram__item p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

.conversion-diagram__arrow {
    flex-shrink: 0;
    color: var(--color-gold);
    font-weight: 700;
    font-size: var(--text-sm);
    padding: 0 0.5rem;
}

/* واکنش‌گرایی نمودار */
@media (max-width: 600px) {
    .conversion-diagram {
        flex-direction: column;
        gap: 1.5rem;
    }

    .conversion-diagram__arrow {
        transform: rotate(90deg);
    }
}

/* ----- جعبهٔ مفهوم (Concept Box) ----- */
.concept-box {
    background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-card));
    border: 1px solid var(--color-gold);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.concept-box h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.concept-box p {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    margin-bottom: 0.75rem;
}

/* ----- کارت ستون‌ها (Pillars) ----- */
.pillar-card {
    display: flex;
    gap: 1.5rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-right: 4px solid var(--color-gold);
    border-radius: 8px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    transition: border-color 0.3s, background-color 0.3s;
}

.pillar-card:hover {
    border-right-color: var(--color-fire);
    background-color: var(--color-bg-hover);
}

.pillar-card__icon {
    flex-shrink: 0;
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.pillar-card__content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.pillar-card__content p {
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: 0.5rem;
}

.pillar-card__content p:last-child {
    margin-bottom: 0;
}

/* ----- طیف رابطه با شاهان ----- */
.spectrum {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.spectrum__item {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-right: 4px solid;
}

.spectrum__item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    margin-bottom: 0.5rem;
}

.spectrum__item p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

.spectrum__item--good {
    background-color: rgba(212, 168, 67, 0.08);
    border-color: var(--color-gold);
}

.spectrum__item--good strong {
    color: var(--color-gold);
}

.spectrum__item--neutral {
    background-color: rgba(232, 205, 122, 0.06);
    border-color: var(--color-gold-light);
}

.spectrum__item--neutral strong {
    color: var(--color-gold-light);
}

.spectrum__item--bad {
    background-color: rgba(196, 68, 54, 0.06);
    border-color: var(--color-fire-light);
}

.spectrum__item--bad strong {
    color: var(--color-fire-light);
}

.spectrum__item--worst {
    background-color: rgba(196, 68, 54, 0.1);
    border-color: var(--color-fire);
}

.spectrum__item--worst strong {
    color: var(--color-fire);
}

/* ----- مراحل روش (Method Steps) ----- */
.method-steps {
    list-style: none;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: var(--color-bg-dark);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.method-steps li {
    color: var(--color-text-light);
    padding: 0.4rem 0;
    line-height: var(--leading-relaxed);
}

.method-steps li::before {
    content: '▹ ';
    color: var(--color-gold);
}

/* ----- کارت هر خان ----- */
.khan-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.khan-card__header {
    background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-card));
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.khan-card__number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    color: var(--color-gold);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    border: 1px solid var(--color-gold);
    padding: 0.15rem 0.75rem;
    border-radius: 20px;
}

.khan-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-text);
    margin-bottom: 0;
}

.khan-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.khan-card__level {
    background-color: var(--color-bg-dark);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.khan-card__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--color-border);
}

.khan-card__level p {
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

.khan-card__level p strong {
    color: var(--color-text);
}

/* ----- لایه‌های تفسیر (Interpretation Layers) ----- */
.interpretation-layer {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.interpretation-layer h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.interpretation-layer p {
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: 0.75rem;
}

.interpretation-layer p:last-child {
    margin-bottom: 0;
}

/* ----- لیست نمادها (Symbol List) ----- */
.symbol-list {
    list-style: none;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.symbol-list li {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    padding: 0.3rem 0;
}

.symbol-list li::before {
    content: '◆';
    color: var(--color-gold);
    margin-left: 0.5rem;
    font-size: 0.6rem;
    vertical-align: middle;
}

.symbol-list strong {
    color: var(--color-text);
}

/* ----- مسیر کوچ (Migration Path) ----- */
.migration-path {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2rem 0;
}

.migration-path__step {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
}

.migration-path__era {
    display: inline-block;
    font-size: var(--text-xs);
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.05rem;
    margin-bottom: 0.5rem;
}

.migration-path__step h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.migration-path__step p {
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

.migration-path__arrow {
    text-align: center;
    color: var(--color-gold);
    font-size: var(--text-xl);
    padding: 0.25rem 0;
}

/* ----- شبکهٔ شواهد (Evidence Grid) ----- */
.evidence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.evidence-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.evidence-card__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.evidence-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.evidence-card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

/* ----- کارت دلایل (Reason Card) ----- */
.reason-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-right: 3px solid var(--color-gold);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.reason-card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

/* واکنش‌گرایی شبکهٔ شواهد */
@media (max-width: 600px) {
    .evidence-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- لینک فعال در ناوبری ----- */
.book-header__nav-link--active {
    color: var(--color-gold) !important;
    border-bottom: 1px solid var(--color-gold) !important;
}

/* ----- کارت درس‌ها (Lessons) ----- */
.lesson-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.lesson-card__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: var(--text-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lesson-card__content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.lesson-card__content p {
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

/* ----- امضا ----- */
.signature {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-gold);
    font-weight: 700;
    margin-top: 1.5rem;
}

/* ----- جعبهٔ ادعا (Claim Box) ----- */
.claim-box {
    background-color: var(--color-bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.claim-box--has {
    border-right: 4px solid var(--color-gold);
}

.claim-box--hasnot {
    border-right: 4px solid var(--color-fire);
}

.claim-box h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    margin-bottom: 1rem;
}

.claim-box--has h3 { color: var(--color-gold); }
.claim-box--hasnot h3 { color: var(--color-fire-light); }

.claim-box ul {
    list-style: none;
    padding: 0;
}

.claim-box li {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    padding: 0.3rem 0;
}

.claim-box li::before {
    content: '▹ ';
    color: var(--color-gold);
}

/* ----- ستون‌های روش ----- */
.method-pillar {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.method-pillar h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.method-pillar p {
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

/* ----- لیست کتاب‌نامه ----- */
.biblio-list {
    list-style: none;
    padding: 0;
}

.biblio-list li {
    color: var(--color-text-light);
    line-height: var(--leading-loose);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.biblio-list li:last-child {
    border-bottom: none;
}

.biblio-list strong {
    color: var(--color-text);
}

.biblio-list em {
    color: var(--color-text-muted);
    font-style: italic;
}

/* ----- شکل نقشه ----- */
.map-figure {
    margin: 2rem 0;
    text-align: center;
}

.map-figure__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-dark);
}

.map-figure__caption {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: 0.75rem;
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}