/* ===========================================================
   rtl.css — Overrides RTL (arabe) — simple, aligné nouveau design
   =========================================================== */

body {
    font-family: var(--font-arabic);
    font-size: 1.1em;
    line-height: 1.85;
    direction: rtl;
}

h1, h2, h3, h4, h5, h6,
.hero__title,
.bio__title,
.card-title,
.section-divider h2,
.livre-single__title,
.travail-card__title,
.article-hero__title,
.page-hero h1,
.travaux-hero h1 {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    line-height: 1.4;
}

/* Header */
.site-header__inner { flex-direction: column; }
@media (min-width: 768px) {
    .site-header__inner { flex-direction: row-reverse; }
}
.site-nav--left ul { justify-content: flex-end; }
.site-nav--right ul { justify-content: flex-start; }

/* Hover underline */
.hover-underline::after { left: auto; right: 0; }

/* Drop cap */
.drop-cap::first-letter {
    float: right;
    margin: 0 0 0 0.5rem;
}

.article-content.drop-cap > p:first-of-type::first-letter {
    float: right;
    margin: 0 0 0 0.5rem;
}

/* Cards */
.card-meta { flex-direction: row-reverse; justify-content: flex-start; }
.card-title, .card-excerpt { text-align: right; }

/* Bio */
.bio__body p { text-align: right; }
.bio__pills { justify-content: flex-end; }

/* Travaux cards */
@media (min-width: 768px) {
    .travail-card__inner { flex-direction: row-reverse; }
    .travail-item { flex-direction: row-reverse; }
}

/* Blockquote */
blockquote {
    border-left: none;
    border-right: 4px solid var(--color-secondary);
}

.article-content blockquote {
    border-left: none;
    border-right: 4px solid var(--color-secondary);
}

/* Form input alignment */
.form-input,
.form-textarea,
.form-select {
    text-align: right;
}

/* PDF badge — passer à gauche */
.pdf-badge {
    right: auto;
    left: var(--space-4);
}

/* Article share sidebar — déplace à droite */
@media (min-width: 1024px) {
    .article-body__inner { flex-direction: row-reverse; }
}

/* Article hero meta */
.article-hero__meta { flex-direction: row-reverse; }

/* Back link */
.back-link i { transform: scaleX(-1); }

/* Eyebrow dot */
.eyebrow { flex-direction: row-reverse; }
