/* Minimal integrated BBT UI layer */
:root {
  --suite-ink: #07111f;
  --suite-navy: #0d2b49;
  --suite-teal: #0b6f7f;
  --suite-cyan: #55d6df;
  --suite-gold: #d7a64f;
  --suite-line: rgba(255,255,255,.14);
}

.site-header .main-nav a.is-active,
.site-header .main-nav a[aria-current="page"] {
  background: rgba(11,111,127,.08);
  color: var(--teal);
}
.suite-quick-nav { display: none !important; }

/* Quieter main pages */
.hero:before { display: none !important; }
.floating-note { display: none !important; }
.nav-shell { min-height: 76px; }
.main-nav { gap: 4px; }
.main-nav > a,
.nav-item > a {
  border-radius: 8px !important;
  padding-inline: 12px !important;
}
.nav-cta {
  border-radius: 8px !important;
  box-shadow: none !important;
}
.btn { border-radius: 8px !important; box-shadow: none !important; }

/* The platform page is now the single directory. Keep it calm and scan-friendly. */
#platform-directory .section-head { max-width: 760px; }
.subsite-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.subsite-directory .directory-card {
  min-height: 218px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  border-color: rgba(255,255,255,.12) !important;
  background: #0c131e !important;
  transform: none !important;
}
.subsite-directory .directory-card:before,
.subsite-directory .directory-card:after { display: none !important; }
.subsite-directory .directory-card:hover {
  transform: none !important;
  border-color: rgba(85,214,223,.30) !important;
}
.subsite-directory .directory-card span {
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.subsite-directory .directory-card h3 {
  max-width: none !important;
  font-size: 22px !important;
}
.subsite-directory .directory-card p {
  max-width: none !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}
.directory-card em:after,
.card-link:after { content: "" !important; }
.platform-actions { display: none !important; }

/* Compact bridge used inside PHP/app subsites. */
.bbt-suite-bar {
  position: relative;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px clamp(16px, 4vw, 28px);
  background: #07111f;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  box-shadow: none;
}
.bbt-suite-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}
.bbt-suite-brand strong { display: block; font-size: 14px; line-height: 1.15; letter-spacing: 0; }
.bbt-suite-links { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.bbt-suite-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  color: #edf6fb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}
.bbt-suite-links a:hover,
.bbt-suite-links a:focus-visible {
  background: rgba(255,255,255,.08);
  outline: none;
}
.bbt-suite-links a:last-child {
  background: transparent;
  color: #edf6fb;
  border-color: rgba(255,255,255,.16);
}

/* Minimal footer for public pages. */
.minimal-footer { padding: 26px 0 !important; }
.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-minimal .footer-brand img { width: 132px; height: auto; }
.footer-minimal nav,
.footer-contact { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-minimal a,
.footer-contact span { color: #cbd8e6; font-size: 14px; }
.footer-minimal a:hover { color: #fff; }

/* Consistent logo treatment across the integrated site */
.bbt-suite-logo,
.bbt-consistent-logo,
.bbt-main-logo img {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  min-width: 42px !important;
  object-fit: contain !important;
  flex: 0 0 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
}
.bbt-suite-brand .bbt-suite-logo {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  min-width: 34px !important;
  flex-basis: 34px !important;
}
.bbt-main-logo img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  min-width: 44px !important;
  flex-basis: 44px !important;
}
.brand .bbt-consistent-logo,
.admin-brand .bbt-consistent-logo,
.footer-brand .bbt-consistent-logo { margin: 0 !important; }

@media (max-width: 1080px) {
  .subsite-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .bbt-suite-bar { align-items: flex-start; flex-direction: column; }
  .bbt-suite-links { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .bbt-suite-links a { flex: 0 0 auto; }
  .footer-minimal { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .subsite-directory { grid-template-columns: 1fr; }
  .bbt-suite-logo,
  .bbt-consistent-logo,
  .bbt-main-logo img {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    min-width: 38px !important;
    flex-basis: 38px !important;
  }
}
