/* Colours, so older pages without article-style.css display correctly */
.topbar, .site-footer { --ink: #17324d; --ink-soft: #4c5e70; --brand-blue: #24537d; --teal: #2b8a7e; --teal-logo: #55a895; --teal-light: #dff2ed; --white: #ffffff; --line: #e2e7e8; --gold: #d8a84e; --lavender: #b9addb; box-sizing: border-box; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; text-align: left; }
.topbar *, .site-footer * { box-sizing: border-box; }

/* Header only. Every rule starts with .topbar so article content is unaffected. */
.topbar { position: sticky; top: 0; z-index: 100; width: 100%; background: rgba(251,250,247,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); line-height: 1.6; }
.topbar .wrap { width: min(1160px, calc(100% - 2 * clamp(15px, 3.5vw, 40px))); max-width: none; margin: 0 auto; }
.topbar .nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.topbar a { text-decoration: none; }
.topbar .brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--ink); font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; }
.topbar .mark { position: relative; display: block; width: 34px; height: 34px; flex: 0 0 34px; }
.topbar .mark span { position: absolute; width: 19px; height: 19px; border-radius: 50%; opacity: .94; }
.topbar .mark span:nth-child(1) { top: 0; left: 0; background: var(--brand-blue); }
.topbar .mark span:nth-child(2) { top: 0; right: 0; background: var(--teal-logo); }
.topbar .mark span:nth-child(3) { bottom: 0; left: 0; background: var(--gold); }
.topbar .mark span:nth-child(4) { bottom: 0; right: 0; background: var(--lavender); }
.topbar .navlinks { display: flex; align-items: center; gap: 30px; }
.topbar .navlinks > a:not(.button), .topbar .nav-dropdown-toggle { color: var(--ink); font-size: .96rem; font-weight: 700; }
.topbar .navlinks > a:not(.button):hover, .topbar .nav-dropdown-toggle:hover, .topbar .nav-dropdown-toggle[aria-expanded="true"] { color: var(--teal); }
.topbar .nav-dropdown { position: relative; }
.topbar .nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 9px 0; border: 0; background: transparent; }
.topbar .dropdown-arrow { font-size: .75rem; transition: transform .2s; }
.topbar .nav-dropdown.is-open .dropdown-arrow { transform: rotate(180deg); }
.topbar .nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: -16px; z-index: 110; min-width: 170px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 45px rgba(20,40,63,.08); }
.topbar .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.topbar .nav-dropdown-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 7px; color: var(--ink-soft); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.topbar .nav-dropdown-menu a:hover { background: var(--teal-light); color: var(--teal); }
.topbar .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: clamp(10px,1.1vw,12px) clamp(14px,1.7vw,19px); border-radius: 999px; font-size: clamp(.78rem,.9vw,.92rem); font-weight: 700; line-height: 1.25; }
.topbar .button-primary { background: var(--brand-blue); border: 1px solid var(--brand-blue); color: var(--white); box-shadow: 0 8px 18px rgba(36,83,125,.18); }
.topbar .button-primary:hover { background: #193e60; border-color: #193e60; color: var(--white); }
.topbar .navlinks .mobile-connect { display: none; }
.topbar .nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.topbar .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }
@media (max-width: 760px) {
  .topbar .nav { min-height: 72px; gap: 12px; }
  .topbar .nav-toggle { display: flex; }
  .topbar .desktop-connect { display: none; }
  .topbar .navlinks { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 45px rgba(20,40,63,.08); max-height: calc(100vh - 90px); overflow-y: auto; }
  .topbar .navlinks.is-open { display: flex; }
  .topbar .navlinks > a:not(.button) { padding: 12px 4px; }
  .topbar .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 4px; }
  .topbar .nav-dropdown-menu { position: static; margin: 0 0 8px; border: 0; box-shadow: none; background: #f7faf9; }
  .topbar .navlinks .mobile-connect { display: inline-flex; align-self: flex-start; margin-top: 8px; }
}

/* Footer only. Every rule starts with .site-footer. */
.site-footer { width: 100%; max-width: none; margin: 0; padding: 34px 0; border: 0; background: #0e2033; color: var(--white); font-size: 16px; line-height: 1.6; }
.site-footer .wrap { width: min(1160px, calc(100% - 2 * clamp(15px, 3.5vw, 40px))); max-width: none; margin: 0 auto; }
.site-footer .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 25px; }
.site-footer .footer-about { min-width: 240px; }
.site-footer .footer-brand { display: inline-block; color: var(--white); font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.site-footer p { margin: 8px 0 0; color: #bdcbd7; font-size: .86rem; }
.site-footer .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.site-footer .footer-links a { color: #bdcbd7; font-size: .86rem; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .disclaimer { max-width: 850px; margin: 20px 0 0; color: #8fa1b2; font-size: .75rem; }
@media (max-width: 760px) {
  .site-footer .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer .footer-links { gap: 12px 18px; }
}
