:root {
  --bsth-blue-950: #061a44;
  --bsth-blue-900: #062b78;
  --bsth-blue-700: #0b3ea9;
  --bsth-green: #55dfa2;
  --bsth-paper: #fbfaf7;
  --bsth-ink: #161616;
  --bsth-muted: #606779;
  --bsth-line: #e5e9f0;
  --bsth-white: #fff;
  --bsth-radius: 8px;
  --bsth-shadow: 0 24px 80px rgba(6, 43, 120, .16);
  --bsth-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bsth-ink);
  background: var(--bsth-paper);
  font-family: var(--bsth-font-body, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: var(--bsth-base-size, 17px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.bsth-container {
  width: min(calc(100% - 42px), var(--bsth-max));
  margin: 0 auto;
}

.bsth-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bsth-header-bg, rgba(6, 26, 68, .94));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.bsth-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bsth-brand,
.bsth-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.bsth-brand img {
  display: block;
  width: var(--bsth-header-logo-width, 186px);
  max-height: 54px;
  object-fit: contain;
}

.bsth-logo-text {
  color: var(--bsth-white);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.bsth-logo-text span {
  color: var(--bsth-green);
}

.bsth-menu,
.bsth-mobile-menu,
.bsth-footer-menu {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bsth-menu a,
.bsth-mobile-menu a {
  color: var(--bsth-header-link, rgba(255, 255, 255, .78));
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease;
}

.bsth-menu a:hover,
.bsth-mobile-menu a:hover {
  color: var(--bsth-header-hover, var(--bsth-green));
}

.bsth-header-cta,
.bsth-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: var(--bsth-radius);
  color: var(--bsth-header-cta-text, var(--bsth-blue-950));
  background: var(--bsth-header-cta-bg, var(--bsth-green));
  box-shadow: 0 16px 38px rgba(85, 223, 162, .24);
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.bsth-header-cta:hover,
.bsth-inline-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(85, 223, 162, .3);
}

.bsth-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--bsth-radius);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.bsth-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--bsth-white);
}

.bsth-mobile-nav {
  padding: 0 21px 22px;
}

.bsth-mobile-menu {
  display: grid;
  gap: 12px;
}

.bsth-main {
  min-height: 50vh;
}

.bsth-content-wrap {
  padding: 92px 0;
}

.bsth-content-full,
.bsth-template-full,
.bsth-template-canvas {
  width: 100%;
}

.bsth-entry-header {
  max-width: 860px;
  margin-bottom: 36px;
}

.bsth-entry-header h1 {
  margin: 0;
  color: var(--bsth-ink);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.bsth-entry-meta,
.bsth-archive-description,
.bsth-entry-content {
  color: var(--bsth-muted);
}

.bsth-entry-content > *:first-child {
  margin-top: 0;
}

.bsth-entry-content > *:last-child {
  margin-bottom: 0;
}

.bsth-post-list {
  display: grid;
  gap: 18px;
}

.bsth-post-card {
  padding: 28px;
  border: 1px solid var(--bsth-line);
  border-radius: var(--bsth-radius);
  background: var(--bsth-white);
  box-shadow: 0 16px 42px rgba(6, 43, 120, .08);
}

.bsth-post-card h2 {
  margin: 0 0 12px;
  color: var(--bsth-blue-950);
  font-size: 26px;
}

.bsth-post-card a {
  text-decoration: none;
}

.bsth-site-footer {
  position: relative;
  padding: 76px 0 34px;
  color: rgba(255, 255, 255, .76);
  background: var(--bsth-footer-bg, #041638);
  overflow: hidden;
}

.bsth-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 78px 78px;
}

.bsth-site-footer .bsth-container {
  position: relative;
  z-index: 1;
}

.bsth-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr minmax(240px, 1fr);
  gap: 42px;
  padding-bottom: 44px;
}

.bsth-footer-brand .custom-logo-link,
.bsth-footer-brand .bsth-logo-text {
  display: inline-flex;
  margin-bottom: 22px;
}

.bsth-footer-brand img {
  width: var(--bsth-footer-logo-width, 190px);
  max-height: 60px;
  object-fit: contain;
}

.bsth-site-footer p,
.bsth-site-footer a {
  color: var(--bsth-footer-text, rgba(255, 255, 255, .74));
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.bsth-site-footer a {
  display: block;
  margin-top: 10px;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.bsth-site-footer a:hover {
  color: var(--bsth-green);
  transform: translateX(3px);
}

.bsth-site-footer h2 {
  margin: 0 0 16px;
  color: var(--bsth-white);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bsth-footer-menu {
  display: grid;
  gap: 0;
}

.bsth-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  font-weight: 700;
}

.bsth-footer-cta {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--bsth-radius);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.bsth-footer-cta strong {
  display: block;
  color: var(--bsth-white);
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.bsth-footer-cta-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 18px !important;
  border-radius: var(--bsth-radius);
  color: var(--bsth-blue-950) !important;
  background: var(--bsth-green);
  font-weight: 800;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .bsth-primary-nav,
  .bsth-header-cta {
    display: none;
  }

  .bsth-menu-toggle {
    display: block;
  }

  .bsth-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .bsth-container {
    width: min(calc(100% - 28px), var(--bsth-max));
  }

  .bsth-nav {
    min-height: 72px;
  }

  .bsth-brand img {
    width: 150px;
  }

  .bsth-content-wrap {
    padding: 70px 0;
  }

  .bsth-footer-bottom {
    display: block;
  }

  .bsth-footer-bottom span {
    display: block;
    margin-top: 10px;
  }
}
