.bk-gallery {
  margin: 0 0 1.75rem;
}

.bk-gallery--empty {
  padding: 1rem;
  border: 1px dashed var(--color-border, #d6d3d1);
  color: var(--color-text-muted, #78716c);
}

.bk-gallery__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bk-gallery--cols-2 .bk-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-gallery--cols-3 .bk-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk-gallery--cols-4 .bk-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bk-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md, 6px);
  background: var(--color-surface-muted, #f5f5f4);
}

.bk-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bk-image img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.bk-gallery__caption {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted, #78716c);
}

.bk-embed {
  position: relative;
  margin: 0 0 1.75rem;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md, 6px);
  background: #0c0a09;
}

.bk-embed--empty {
  padding: 1rem;
  background: transparent;
  border: 1px dashed var(--color-border, #d6d3d1);
  color: var(--color-text-muted, #78716c);
}

.bk-embed--16-9 { aspect-ratio: 16 / 9; }
.bk-embed--4-3 { aspect-ratio: 4 / 3; }
.bk-embed--1-1 { aspect-ratio: 1 / 1; }

.bk-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bk-table {
  margin: 0 0 1.75rem;
}

.bk-table__scroll {
  overflow-x: auto;
}

.bk-table--empty {
  padding: 1rem;
  border: 1px dashed var(--color-border, #d6d3d1);
  color: var(--color-text-muted, #78716c);
}

.bk-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.bk-table th,
.bk-table td {
  border: 1px solid var(--color-border, #d6d3d1);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.bk-table thead th {
  background: var(--color-surface-muted, #f5f5f4);
  color: var(--color-text, #1c1917);
  font-weight: 650;
}

.bk-table__caption,
.bk-table caption {
  display: block;
  width: 100%;
  margin: 0.65rem 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted, #78716c);
  text-align: left;
}

@media (max-width: 640px) {
  .bk-gallery--cols-3 .bk-gallery__grid,
  .bk-gallery--cols-4 .bk-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bk-global-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md, 6px);
  background: var(--color-brand, #1b4d3e);
  color: #fff !important;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  white-space: nowrap;
}

.bk-global-cta:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.bk-global-teaser {
  max-width: 72rem;
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem;
}

.bk-global-teaser p {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--color-brand, #1b4d3e);
  background: var(--color-surface-muted, #f5f5f4);
  color: var(--color-text-muted, #57534e);
  font-size: 0.95rem;
}
