  @charset "UTF-8";
/* Brightcove Carousel block — visual language mirrors yt-carousel */

.bc-section .section-title {
  font-size: var(--wdg-font-size-h2);
  margin-block: var(--wdg-gap-xsmall);
  color: var(--wdg-color-text);
  font-weight: 400;
  text-align: left;
  line-height: 115%;
  letter-spacing: -0.6px;
}

.bc-section-outer {
  margin-block: var(--wdg-gap-small, 1.5rem);
}

.bc-container {
  padding-top: var(--wdg-gap-xsmall);
}
.bc-container[hidden] {
  display: none;
}

.bc-grid {
  display: grid;
  gap: var(--wdg-gap-medium);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
}
@media (max-width: 61.9375em) {
  .bc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 37.4375em) {
  .bc-grid {
    grid-template-columns: 1fr;
  }
}

.bc-item {
  display: flex;
  align-items: center;
  gap: var(--wdg-gap-xsmall);
  vertical-align: top;
  margin-bottom: 0;
  min-width: 0;
  background-color: transparent;
  border-radius: 8px;
}

.bc-profile-container {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--wdg-color-primary, #0032a0), var(--wdg-color-accent-dark, #002678));
}

.bc-profile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

button.bc-open-popup {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--wdg-gap-xxsmall);
  text-align: left;
  gap: var(--wdg-gap-xsmall);
  width: 100%;
  min-width: 0;
  position: relative;
  border-radius: 8px;
  transition: background-color 0.3s ease-in-out;
}
button.bc-open-popup:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
button.bc-open-popup:hover .bc-profile-container::after {
  background: hsl(from var(--wdg-color-primary) h s l/0.5);
}
button.bc-open-popup:hover .bc-profile-container::before {
  opacity: 1;
}
button.bc-open-popup .bc-profile-container {
  flex: 0 0 clamp(130px, 45%, 220px);
  max-width: none;
  width: clamp(130px, 45%, 220px);
}
button.bc-open-popup .bc-profile-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 50, 160, 0);
  border-radius: 8px;
  transition: background-color 0.3s ease-in-out;
  z-index: 2;
}
button.bc-open-popup .bc-profile-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background-image: url("https://nam.org/wp-content/themes/nam/assets/img/icon-play.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 3;
  transition: opacity 0.3s ease-in-out;
}
/* Always hint playability on posterless tiles */
.bc-profile-container--empty::before {
  opacity: 0.85 !important;
}

.bc-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.bc-title {
  font-family: var(--wdg-font-default);
  font-size: var(--wdg-font-size-medium);
  font-weight: bold;
  color: var(--wdg-color-text);
  line-height: 1.2;
  word-wrap: break-word;
  letter-spacing: -0.2px;
  text-align: left;
  text-transform: none;
  overflow-wrap: anywhere;
}

.bc-description {
  font-size: var(--wdg-font-size-small, 0.875rem);
  font-weight: 400;
  color: var(--wdg-color-text);
  line-height: 1.4;
  word-wrap: break-word;
  text-align: left;
  opacity: 0.7;
  overflow-wrap: anywhere;
}

@media (min-width: 62em) {
  .bc-grid--two-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bc-grid--two-items button.bc-open-popup {
    flex-direction: column;
    align-items: stretch;
  }
  .bc-grid--two-items button.bc-open-popup .bc-profile-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }
}

/* ── Popup ── */
.bc-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  /* Above the masthead, sticky TOC, back-to-top and chatbot. */
  z-index: 100000;
}

.bc-popup-content {
  position: relative;
  width: min(90%, 800px);
  aspect-ratio: 16/9;
  height: auto;
  max-height: 90vh;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.bc-player-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.bc-close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* ── Soft gate (form opens in a modal when a locked card is clicked) ── */
.bc-gate-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  /* Above the masthead, sticky TOC, back-to-top and chatbot. */
  z-index: 100000;
}
.bc-gate-modal[hidden] {
  display: none;
}

body.bc-gate-modal-open {
  overflow: hidden;
}

.bc-gate-modal__dialog {
  position: relative;
  width: min(680px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
}

.bc-gate-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--wdg-color-primary, #0032a0);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.bc-gate {
  --gf-local-outline-color: var(--wdg-color-secondary);
  --gf-local-bg-color: var(--wdg-color-secondary);
  --gf-color-primary-darker: var(--wdg-color-secondary);
  background: var(--wdg-color-white, #fff);
  color: var(--wdg-color-text, #414042);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.bc-gate div[id^="gform_wrapper_"] {
  padding: 0;
}

.bc-gate__heading {
  font-weight: 600;
  color: var(--wdg-color-primary);
  margin: 0 0 1.25rem;
  padding-right: 2rem;
  line-height: 1.3;
}

