/* =====================================================================
   NŪR AL-ATHAR — Institut de langue arabe : parcours des modules,
   programme d’un module, plan de la leçon (la leçon reprend academy.css).
   ===================================================================== */
.ar-course-nav { flex-wrap: wrap; }

/* Parcours des 10 modules */
.ar-path { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ar-path a { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1px solid var(--c-border-soft); border-radius: var(--r-md); background: var(--c-paper); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ar-path a:hover { border-color: var(--c-gold); box-shadow: 0 10px 24px -14px rgba(5, 15, 30, .35); transform: translateY(-1px); }
.ar-path-n { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-gold-soft); color: var(--c-gold-text); font-weight: 700; }
.ar-path li.is-on .ar-path-n { background: var(--c-green); color: #fff; }
.ar-path li.is-done .ar-path-n { background: var(--c-green-soft); color: var(--c-green-text); }
.ar-path-body { flex: 1 1 auto; min-width: 0; display: grid; gap: .2rem; }
.ar-path-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.ar-path-body small { color: var(--c-muted); line-height: 1.4; }
.ar-path-meta { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--c-muted); }
.ar-path-meta .bar { flex: 1 1 auto; max-width: 160px; margin-inline-start: auto; }
.ar-path-meta em { font-style: normal; font-weight: 600; min-width: 2.6em; text-align: end; }

/* Programme d’un module */
.ar-intro { color: var(--c-ink); line-height: 1.65; }
.ar-title-ar { font-family: var(--font-arabic); font-size: .7em; color: var(--c-gold-text); margin-inline-start: .4rem; }
.ar-lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ar-lessons a { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; border-radius: var(--r-md); border: 1px solid var(--c-border-soft); color: inherit; text-decoration: none; }
.ar-lessons a:hover { border-color: var(--c-gold); background: var(--c-gold-soft); }
.ar-lessons .grow { flex: 1 1 auto; min-width: 0; display: grid; gap: .15rem; }
.ar-lessons small { color: var(--c-muted); }
.ar-lessons small [lang="ar"] { font-family: var(--font-arabic); font-size: 1.05em; }
.ar-lesson-n { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-paper); border: 1px solid var(--c-border); font-weight: 700; font-size: .85rem; }
.ar-lessons li.is-done .ar-lesson-n { background: var(--c-green-soft); color: var(--c-green-text); border-color: transparent; }
.ar-lessons li.is-next a { border-color: var(--c-green); box-shadow: 0 0 0 3px var(--c-green-soft); }
.ar-lessons li.is-next .ar-lesson-n { background: var(--c-green); color: #fff; border-color: transparent; }
.ar-objectives { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ar-objectives li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; line-height: 1.45; }
.ar-objectives .bi { color: var(--c-green); margin-top: .1rem; }

/* Plan de la leçon (sans chapitres) */
.ar-lesson .ar-plan-list { padding-inline-start: 0; }

@media (max-width: 575.98px) {
  .ar-path a { padding: .75rem; gap: .65rem; }
  .ar-path-meta .bar { display: none; }
  .ar-lessons .pill { display: none; }
}
