/* Extra styles added after the main stylesheet (mobile menu panel). Safe to edit. */
/* ---------- mobile menu inside side panel ---------- */
.side-nav { margin: 0 0 1.5rem; border-top: 1px solid var(--line) }
.side-nav-row { display: flex; align-items: center; border-bottom: 1px solid var(--line) }
.side-nav-row a { flex: 1; padding: 14px 4px; font-family: 'Cal Sans', 'Plus Jakarta Sans', sans-serif; font-size: 1.2rem; color: var(--dark); text-decoration: none }
.side-nav-row a.active { color: var(--primary-text) }
.side-nav-row a:hover { color: var(--primary-text) }
.side-nav-tg { width: 44px; height: 44px; border: 0; background: var(--beige); border-radius: 50%; color: var(--dark); display: grid; place-items: center; transition: transform .2s }
.side-nav-tg[aria-expanded="true"] { transform: rotate(180deg); background: var(--primary) }
.side-sub { padding: 6px 0 10px 12px; border-bottom: 1px solid var(--line) }
.side-sub a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 4px; color: var(--dark); text-decoration: none; font-weight: 600; font-size: .95rem }
.side-sub a small { color: var(--text); font-weight: 500; font-size: .8rem; text-align: right }
.side-sub a.all { color: var(--primary-text); font-weight: 700 }

/* in-text internal links */
.in-link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px }
.in-link:hover { color: var(--primary-text, var(--primary)) }
.service-card h4 a.in-link { font-weight: inherit; text-decoration: none }
.service-card h4 a.in-link:hover { text-decoration: underline }
/* project overview (dashboard rich editor output) */
.rich-body img{max-width:100%;height:auto;border-radius:10px;margin:10px 0}
.rich-body h2,.rich-body h3,.rich-body h4{margin:18px 0 8px}
.rich-body ul,.rich-body ol{padding-left:22px;margin:0 0 14px}
.rich-body blockquote{border-left:4px solid var(--primary,#d99a00);padding:6px 14px;margin:14px 0;background:rgba(0,0,0,.03)}
.rich-body table{display:block;overflow-x:auto;width:100%;border-collapse:collapse;margin:14px 0}
.rich-body th,.rich-body td{border:1px solid rgba(0,0,0,.15);padding:8px 12px;text-align:left;vertical-align:top;min-width:90px}
.rich-body th{background:rgba(0,0,0,.05);font-weight:700}
