/* Public portal chrome (header, navigation, footer, breadcrumbs).
   Page sections and components of the portal are styled in website/static/website/site-pages.css. */
body.public { background: #fff; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid #eef2f5; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; max-width: 1440px; }
.site-header .brand { flex: none; } .site-header .brand img { flex: none; }
.site-header .brand-text { max-width: 210px; }
.sitenav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.sitenav .nav-top { display: inline-flex; align-items: center; gap: 4px; padding: 9px 11px; border-radius: 10px; font: 600 14px var(--font-body); color: var(--teal-900); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.sitenav .nav-top:hover, .sitenav .has-sub.open > .nav-top { background: var(--accent-50); color: var(--teal-900); }
.sitenav .nav-top .ico { width: 15px; height: 15px; transition: transform .15s; }
.sitenav .has-sub { position: relative; }
.sitenav .has-sub.open > .nav-top .ico { transform: rotate(180deg); }
.sitenav .sub { display: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px; background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(15,31,30,.14); padding: 10px; }
.sitenav .has-sub.open .sub { display: grid; }
.sitenav .sub a { padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14px; }
.sitenav .sub a:hover { background: #f3f6f8; color: var(--accent); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.site-search { display: flex; align-items: center; background: #f2f5f7; border-radius: 999px; padding: 2px 4px 2px 14px; }
.site-search input { border: 0; background: none; width: 120px; font: 14px var(--font-body); outline: none; padding: 8px 0; }
.site-search button { border: 0; background: none; color: var(--teal-900); width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.site-actions .icon-btn { background: #f2f5f7; }
.site-actions .signin { font-weight: 600; font-size: 14px; color: var(--teal-900); white-space: nowrap; }
.site-actions .cta { padding: 10px 18px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 4px; }
.crumbs a { color: var(--slate); }
.crumbs .sep { margin: 0 7px; opacity: .5; }
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.82); margin-top: 72px; }
.site-footer .wrap { padding-top: 52px; padding-bottom: 28px; max-width: 1440px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand-text, .site-footer .brand-text small { color: #fff; }
.site-footer .brand-text small { color: var(--mint); }
.site-footer p { color: rgba(255,255,255,.7); font-size: 14px; max-width: 380px; margin-top: 16px; }
.site-footer .f-line { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 0; }
.site-footer .f-line .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--mint); }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.78); font-size: 14px; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .socials { display: flex; gap: 8px; margin-top: 10px; }
.site-footer .socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; padding: 0; }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .copy span { display: flex; gap: 18px; }
.site-footer .copy a { display: inline; font-size: 13px; }
.site-header .menu-toggle { display: none; }
.site-header .search-btn { display: none; }
@media (max-width: 1699px) { .site-search { display: none; } .site-header .search-btn { display: grid; } .site-header .brand-text { display: none; } }
@media (max-width: 1340px) {
  .sitenav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; box-shadow: 0 18px 30px rgba(0,0,0,.08); max-height: calc(100vh - 76px); overflow-y: auto; }
  .sitenav.open { display: flex; }
  .sitenav .nav-top { width: 100%; justify-content: space-between; padding: 12px; }
  .sitenav .sub { position: static; box-shadow: none; padding: 0 0 6px 12px; }
  .site-header .menu-toggle { display: grid; }
  .site-search { display: none; }
}
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-actions .cta { display: none; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } .site-actions .signin { display: none; } }
