/* Small additions to the original stylesheet (site.css). */

/* Desktop dropdown menus: shown on hover or keyboard focus, no JavaScript needed */
[data-dd] > .dd { display: none; }
[data-dd]:hover > .dd,
[data-dd]:focus-within > .dd { display: flex; }

/* Mobile submenu chevron */
.chev svg { transition: transform .3s; }
.chev[aria-expanded="true"] svg { transform: rotate(180deg); }

/* History timeline: active milestone */
[data-ms][aria-current="step"] { color: var(--color-coneng); font-weight: 400; }
[data-ms][aria-current="step"] > span { background: var(--color-coneng); border-color: var(--color-coneng); }
.js [data-ms-panel] { display: none; }
.js [data-ms-panel].is-active { display: block; }
.ms-panels { display: grid; gap: 3rem; }

/* Links inside running text */
p a.text-coneng:hover, dd a:hover { text-decoration: underline; }

/* Headings and menu items should not be justified (avoids large word gaps) */
h1, h2, h3, nav a, .dd a, button { text-align: start; }
p.md\:text-2xl, p.md\:text-3xl { text-align: start; }

/* Footer logo: main logo has black text, so it sits on a white plate on the dark footer */
.foot-logo { background: #fff; padding: .75rem 1rem; }

/* Self-hosted Inter (see assets/fonts/fonts.css) overrides the original Work Sans */
html, body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
