
:root {
  --bst-red: #e21b2f;
  --bst-red-soft: #ffecf0;
  --bst-dark: #111827;
  --bst-navy: #082331;
  --bst-bg: #f5f5f7;
  --bst-panel: #ffffff;
  --bst-border-subtle: #e5e7eb;
  --bst-radius-lg: 18px;
  --bst-radius-pill: 999px;
  --bst-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.16);
  --bst-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--bst-font-sans);
  background: radial-gradient(circle at top left, #faf5f5 0, #f5f5f7 40%, #f1f5f9 100%);
  color: var(--bst-dark);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.bst-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */

.bst-header {
  position: sticky;
  top: 0;
  z-index: 20;
  /* background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04); */

  max-width: 1120px;
  width:100%;
  margin: 0px auto;
  background-color: rgb(255, 255, 255);
  border-radius: 16px;
  padding: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
  border: 1px solid rgba(0, 0, 0, 0.12);

}

.bst-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.bst-logo img {
  height: 32px;
}

.bst-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
}

.bst-nav {
  display: flex;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.bst-nav-link {
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--bst-radius-pill);
  color: #4b5563;
}

.bst-nav-link.is-active,
.bst-nav-link:hover {
  /*background: var(--bst-red-soft);*/
  color: var(--bst-red);
}

.bst-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */

.bst-btn {
  border-radius: var(--bst-radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.bst-btn--primary {
  background: var(--bst-red);
  color: #fff;
  /* box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35); */
}

.bst-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.45);
}

.bst-btn--ghost {
  background: #fff;
  color: var(--bst-dark);
  border-color: var(--bst-border-subtle);
}

.bst-btn--ghost:hover {
  background: #f9fafb;
}

.bst-btn--block {
  width: 100%;
}

/* Hero */

.bst-main {
  flex: 1;
}

.bst-hero {
  padding: 3rem 1.5rem 1.5rem;
}

.bst-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: radial-gradient(circle at top left, #ffffff 0, #f3f4f6 55%, #e0f2fe 100%);
  border-radius: 26px;
  box-shadow: var(--bst-shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 2.5rem;
  align-items: center;
}

.bst-hero-copy h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0.75rem 0 0.5rem;
}

.bst-hero-copy p {
  margin: 0;
  color: #4b5563;
}

.bst-hero-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
  object-fit: cover;
}

/* Pills & meta chips */

.bst-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  border-radius: var(--bst-radius-pill);
  background: #f3f4f6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.bst-pill--tag {
  background: var(--bst-red-soft);
  color: var(--bst-red);
}

.bst-pill--outline {
  border: 1px solid var(--bst-border-subtle);
  background: #fff;
}

/* Sections */

.bst-section {
  padding: 1.5rem 1.5rem 3rem;
}
.bst-section--padded {
  max-width: 1120px;
  margin: 0 auto;
}
.bst-section--padded .bst-section-header {
  max-width: 1120px;
  margin: 0 auto 1.25rem;
}

.bst-section-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
}

.pagination {margin-top: 40px;}

/* Post grid */

.bst-post-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
}

.bst-post-card {
  background: var(--bst-panel);
  border-radius: var(--bst-radius-lg);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bst-post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bst-post-card-image {
  padding-top: 56%;
  background-size: cover;
  background-position: center;
}

.bst-post-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.bst-post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.bst-post-card-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.bst-post-card-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Single post */

.bst-post {
  max-width: 720px;
  margin: 2.5rem auto 3.5rem;
  padding: 0 1.5rem;
}

.bst-post-header {
  text-align: left;
}

.bst-post-title {
  font-size: 2rem;
  margin: 0.5rem 0 0.75rem;
}

.bst-post-meta {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bst-post-feature img {
  margin-top: 1.5rem;
  border-radius: 22px;
  width: 100%;
  display: block;
  box-shadow: var(--bst-shadow-soft);
}

.bst-post-content {
  margin-top: 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
}

.bst-post-content h2,
.bst-post-content h3 {
  margin-top: 1.6rem;
}

.bst-post-footer {
  margin-top: 2rem;
}

.bst-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Koenig editor required widths */

.kg-width-wide {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.kg-width-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-card {
  margin: 1.5rem 0;
}

.kg-image {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Footer */

.bst-footer {
  padding: 2.5rem 1.5rem 1.5rem;
  background: transparent;
}

.bst-footer-shell {
  max-width: 1120px;
  margin: 0 auto;
  background: #050814;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  padding: 2rem 2rem 1rem;
}

.bst-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1.5fr));
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.bst-footer-logo img {
  height: 28px;
  margin-bottom: 0.75rem;
}

.bst-footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f9fafb;
  margin-bottom: 0.75rem;
}

.bst-footer-text {
  font-size: 0.85rem;
  color: #9ca3af;
}

.bst-footer-link {
  display: block;
  font-size: 0.85rem;
  color: #d1d5db;
  margin-bottom: 0.4rem;
}

.bst-footer-link:hover {
  color: #ffffff;
}

.bst-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bst-input {
  border-radius: var(--bst-radius-pill);
  border: 1px solid var(--bst-border-subtle);
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
}

.bst-input:focus {
  border-color: var(--bst-red);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.45);
}

.bst-footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive */

@media (max-width: 900px) {
  .bst-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem;
  }

  .bst-header-inner {
    flex-wrap: wrap;
  }

  .bst-nav {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .bst-footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
