.bmc-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 2px solid #00aaff;
  margin-bottom: 1rem;
}
.bmc-heading h2 {
  margin: 0;
  padding: 0.5rem 0;
}
.bmc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.bmc-card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.bmc-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.bmc-work img {
  aspect-ratio: 3/4;
  object-fit: contain;
  background: #f3f5f7;
  max-height: 300px;
}
.bmc-card small,
.bmc-card time {
  display: block;
  color: #555b65;
  font-size: 0.875rem;
}
.bmc-card h3 {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0.4rem 0;
}
.bmc-card h3 a {
  color: inherit;
}
.bmc-card p {
  font-size: 0.9rem;
}
.bmc-live {
  display: inline-block;
  color: white;
  background: #9a1c34;
  padding: 0.15rem 0.5rem;
}
.bmc-section > small {
  display: block;
  margin-top: 1rem;
}
.bmc-section {
  margin-block: 2rem;
}
@media (max-width: 781px) {
  .bmc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .bmc-grid {
    grid-template-columns: 1fr;
  }
}
.bmc-live[hidden] {
  display: none !important;
}
.bmc-bnt-panel {
  border-left: 4px solid #00aaff;
  padding: 1rem;
  background: #f3f5f7;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.bmc-bnt-panel[hidden],
.bmc-bnt-panel [hidden] {
  display: none !important;
}
.bmc-bnt-panel h3 {
  font-size: 1rem;
  margin: 0;
}
.bmc-bnt-panel p {
  margin: 0.3rem 0;
}
.bmc-bnt-panel details,
.bmc-video {
  grid-column: 1/-1;
}
.bmc-bnt-panel summary {
  min-height: 44px;
  cursor: pointer;
}
.bmc-bnt-panel li {
  padding: 0.5rem 0;
}
.bmc-video iframe {
  border: 0;
  width: 100%;
  aspect-ratio: 16/9;
}
.bmc-video button {
  min-height: 44px;
  padding: 0.6rem;
  font: inherit;
  background: #182a46;
  color: white;
  border: 0;
}
@media (max-width: 480px) {
  .bmc-bnt-panel {
    grid-template-columns: 1fr;
  }
}

.bmc-image {
  background: #f3f5f7;
  aspect-ratio: 16/9;
  margin-bottom: 0.75rem;
}
.bmc-image img {
  display: block;
}
.bmc-work .bmc-image {
  aspect-ratio: 3/4;
  max-height: 300px;
}

/* Each source keeps its own reading format; links always point to the original. */
.bmc-section {
  margin-block: 2rem;
}
.bmc-heading {
  border-bottom: 3px solid #182a46;
  padding-bottom: 0.5rem;
}
.bmc-heading h2 {
  font-size: 1.5rem;
}
.bmc-heading a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.bmc-source-bnt .bmc-heading {
  border-bottom-color: #00aaff;
}
.bmc-source-books .bmc-heading {
  border-bottom-color: #b6224b;
}
.bmc-source-baword .bmc-heading {
  border-bottom-color: #52637b;
}
.bmc-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-block: 0.45rem;
}
.bmc-card > p:last-of-type {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.bmc-card h3 a {
  text-decoration: none;
}
.bmc-card h3 a:hover {
  text-decoration: underline;
}
.bmc-source-books .bmc-card {
  display: flow-root;
  border-bottom: 1px solid #e3dce0;
  padding-bottom: 1rem;
}
.bmc-source-books .bmc-image {
  float: left;
  width: 34%;
  margin: 0 1rem 0.75rem 0;
  background: #f7f3f4;
}
.bmc-source-books .bmc-work img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.bmc-source-baword .bmc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
}
.bmc-source-baword .bmc-card {
  border-bottom: 1px solid #d8e1eb;
  padding-block: 0.5rem 1rem;
  display: flow-root;
}
.bmc-source-baword .bmc-image {
  float: right;
  width: 24%;
  margin: 0 0 0.75rem 1rem;
}
.bmc-bnt-panel {
  border-left: 0;
  border-top: 1px solid #c4d9e8;
  background: #eff6fb;
  padding: 1.25rem;
}
@media (max-width: 781px) {
  .bmc-source-books .bmc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .bmc-source-books .bmc-grid,
  .bmc-source-baword .bmc-grid {
    grid-template-columns: 1fr;
  }
  .bmc-source-books .bmc-image {
    width: 30%;
    max-width: 120px;
  }
}
