/* Licensing exam practice (round 49): exam-prep pages and the exam section on residency pages. Logical properties. */
.ex-hero .lead { max-width: 44rem; }
.ex-label { display: inline-block; font-size: .85rem; padding: .45rem .8rem; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); max-width: 46rem; }
.ex-res .ex-label { background: #fdf8ec; border-color: #f1e2b8; color: #5d4a10; }
.ex-nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-block-end: 1px solid var(--line); }
.ex-nav .wrap { display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.ex-nav a { flex: none; padding: .85rem .8rem; font-weight: 600; font-size: .92rem; color: var(--muted); text-decoration: none; border-block-end: 2px solid transparent; }
.ex-nav a:hover { color: var(--teal-800); border-color: var(--brand); }
.ex-country { padding-block: 2.6rem; scroll-margin-top: 56px; }
.ex-country:nth-of-type(even) { background: var(--bg); }
.ex-country h2 { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; }
.ex-country h2 img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ex-grid { display: grid; gap: 1rem; margin-block: 1rem; }
.ex-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ex-card.off { background: #f7fafa; border-style: dashed; }
.ex-card p { margin: 0; }
.ex-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem .8rem; }
.ex-head h3 { margin: 0; font-size: 1.15rem; }
.ex-fit { font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; white-space: nowrap; }
.ex-direct { background: #e4f6ef; color: #14613d; }
.ex-partial { background: #e6f1fb; color: #18466e; }
.ex-none { background: #fdf3dc; color: #7a5200; }
.ex-note { font-size: .92rem; color: var(--muted); border-inline-start: 3px solid var(--brand); padding-inline-start: .7rem; }
.ex-act { margin-block: .6rem .2rem !important; }
.ex-th { font-weight: 600; font-size: .9rem; margin-block-start: .5rem !important; }
.ex-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.ex-chip { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--teal-700); color: var(--teal-800); text-decoration: none; font-size: .88rem; background: #fff; }
.ex-chip:hover { background: var(--teal-800); color: #fff; }
.ex-soonlist { margin-block-start: .5rem; font-size: .88rem; color: var(--muted); }
.ex-soonlist p:first-child { font-weight: 600; }
.ex-soon { font-weight: 600; color: #7a5200; }
.ex-src { font-size: .82rem; color: var(--muted); margin-block-start: .6rem !important; }
.ex-route { font-weight: 600; }
.ex-how ul { padding-inline-start: 1.2rem; display: grid; gap: .4rem; }
@media (min-width: 860px) { .ex-grid { grid-template-columns: 1fr 1fr; } }
