/* Brand Variables */
:root {
  --navy: #202a54;
  --white: #ffffff;
  --orange: #d37129;
  --bg: var(--white);
  --text: var(--navy);
  --muted: #54608a;
  --shadow: 0 8px 24px rgba(32, 42, 84, 0.12);
}

.bh-wrap {
  background: var(--bg);
  color: var(--text);
  padding: 3rem 1.25rem;
}

.bh-header {
  max-width: 1000px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

.bh-title {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  margin: 0;
  font-size: 2rem;
  color: var(--navy);
}

.bh-subtitle {
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--muted);
  margin: 0.5rem 0 1rem 0;
}

.bh-filters {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.bh-filter {
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.bh-filter:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.bh-filter.is-active, .bh-filter:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.bh-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 1rem auto 0 auto;
}

.bh-card {
  grid-column: span 12;
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 2px solid transparent;
}

@media (min-width: 640px) {
  .bh-card { grid-column: span 6; }
}
@media (min-width: 960px) {
  .bh-card { grid-column: span 4; }
}

.bh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(32, 42, 84, 0.16);
  border-color: rgba(211, 113, 41, 0.4);
}

.bh-card_link {
  position: absolute; inset: 0; z-index: 1;
}

.bh-thumb {
  width: 100%;
  padding-top: 52%;
  background-size: cover;
  background-position: center;
}

.bh-body {
  padding: 1rem;
}

.bh-meta {
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

.bh-outlet { font-weight: 700; }
.bh-dot { margin: 0 0.4rem; opacity: 0.7; }

.bh-card_title {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.25rem 0 0.35rem 0;
  color: var(--navy);
}

.bh-excerpt {
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.bh-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}

.bh-pill {
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  border: 1px solid var(--navy);
  border-left: 6px solid var(--orange);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  background: rgba(32,42,84,0.05);
}

.bh-attach {
  position: relative;
  z-index: 2;
  font-family: Lato, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bh-attach:hover { color: var(--orange); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(10px); }
.reveal-visible { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }

@media (prefers-reduced-motion: reduce) {
  .bh-card, .bh-filter, .reveal, .reveal-visible {
    transition: none !important;
    transform: none !important;
  }
}

/* Optional navy variant */
.bh-wrap--navy {
  --bg: var(--navy);
  --text: var(--white);
}
.bh-wrap--navy .bh-title { color: var(--white); }
.bh-wrap--navy .bh-subtitle { color: rgba(255,255,255,0.8); }
.bh-wrap--navy .bh-card { background: var(--white); color: var(--navy); }
