/* Next step and related links at the end of main (scripts/wayfinding.mjs).
   Uses the shared theme variables so light and dark themes stay readable. */
html[data-theme] body aside.tfbd-wayfind{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:14px 28px;box-sizing:border-box;width:auto;max-width:100%;margin:36px 0 8px;padding:18px 20px;border:1px solid var(--site-line)!important;border-radius:12px;background:var(--site-surface)!important;color:var(--site-text)!important;font-size:15px;line-height:1.5;clear:both}
.tfbd-wayfind *{box-sizing:border-box}
html[data-theme] body .tfbd-wayfind .tfbd-wayfind-kicker{margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--site-muted)!important}
.tfbd-wayfind .tfbd-wayfind-kicker span{margin-left:6px;text-transform:none;letter-spacing:0;font-weight:600}
.tfbd-wayfind [lang=bn]{font-family:"TFBD Bengali","Noto Sans Bengali","Noto Sans",system-ui,sans-serif}
html[data-theme] body .tfbd-wayfind a{color:var(--site-accent)!important;background:transparent!important;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
html[data-theme] body .tfbd-wayfind a:hover{color:var(--site-text)!important}
html[data-theme] body .tfbd-wayfind a:focus-visible{outline:3px solid var(--site-accent);outline-offset:2px;border-radius:4px}
html[data-theme] body .tfbd-wayfind a.tfbd-wayfind-primary{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--site-accent)!important;border-radius:10px;background:var(--site-accent-bg)!important;font-weight:750;text-decoration:none}
.tfbd-wayfind a.tfbd-wayfind-primary::after{content:"→";margin-left:8px}
.tfbd-wayfind-related ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.tfbd-wayfind-related li{margin:0;padding:0}
.tfbd-wayfind-related li a{display:inline-block;padding:5px 0}
.tfbd-wayfind-series{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;padding-top:12px;border-top:1px solid var(--site-line)}
.tfbd-wayfind-series a{display:inline-block;padding:6px 0;font-weight:650}
.tfbd-wayfind-series a[rel=next]{margin-left:auto;text-align:right}
.tfbd-wayfind-home{grid-column:1/-1;margin:0;padding-top:10px;border-top:1px solid var(--site-line);font-size:14px}
.tfbd-wayfind-home a{display:inline-block;padding:6px 0}
@media(max-width:700px){html[data-theme] body aside.tfbd-wayfind{grid-template-columns:1fr;padding:16px;margin-top:28px}.tfbd-wayfind-series a[rel=next]{margin-left:0;text-align:left}}
@media print{.tfbd-wayfind{display:none!important}}
