/* InnoVoice: YouTube-style episode grid + playlist modal. Loaded after the versioned Career stylesheet. */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--watch .bpo-career-innovoice__inner {
  display: block;
  padding: 44px 48px 48px;
}

/* Head: title column + intro column */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
  margin: 0 0 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 53, 162, 0.1);
  text-align: left;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content #bpo-career-innovoice-title {
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content h2 span {
  display: block;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  background: linear-gradient(90deg, #0035a2 0%, #2f7cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-left: 40px;
  border-left: 2px solid rgba(74, 157, 255, 0.28);
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content .bpo-career-innovoice__head-body p {
  max-width: none;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head-body .bpo-career__button {
  margin: 10px 0 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--watch .bpo-career-innovoice__fallback-frame {
  border-radius: 16px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__avatar {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #4a9dff, #0035a2);
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__channel-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__channel-copy strong {
  color: #1f2a44;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__channel-copy small {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

body.bpo-innovature-theme.bpo-native-career a.bpo-career-innovoice__yt-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  margin: 0;
  padding: 6px 13px 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  border-radius: 999px;
  background: #fff !important;
  box-shadow: none !important;
  color: #1f2a44 !important;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.bpo-innovature-theme.bpo-native-career a.bpo-career-innovoice__yt-link:hover{
  border-color: rgba(255, 0, 51, 0.35) !important;
  background: #fff5f6 !important;
}

body.bpo-innovature-theme.bpo-native-career a.bpo-career-innovoice__yt-link svg {
  display: block;
  width: 18px;
  height: 13px;
}

/* Episodes grid */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes {
  --iv-cols: 4;
  position: relative;
  z-index: 2;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes-head h3 {
  margin: 0;
  color: #1f2a44;
  font-family: var(--bpo-font-title);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes-head span {
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__list {
  display: grid;
  grid-template-columns: repeat(var(--iv-cols), minmax(0, 1fr));
  gap: 28px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__list-item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__list-item::before,
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__list-item::marker {
  content: none;
}

/* Two rows stay visible; the rest opens with "Show more episodes". */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n + 9) {
  display: none;
}

/* Card */
body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 14px;
  background: transparent !important;
  box-shadow: none !important;
  color: #1f2a44 !important;
  font: inherit;
  text-align: left;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  cursor: pointer;
  transform: none;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item:focus:not(:focus-visible) {
  outline: none;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item:focus-visible {
  outline: 3px solid rgba(74, 157, 255, 0.5);
  outline-offset: 5px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #dbe7fb;
  transition: box-shadow 0.25s ease;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__thumb > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.4s ease;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__thumb::after {
  position: absolute;
  inset: 0;
  background: rgba(5, 16, 46, 0.32);
  opacity: 0;
  content: "";
  transition: opacity 0.2s ease;
}

/* Play button: the triangle is drawn around the circle's centre, no offsets */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__play {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__play svg {
  display: block;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(5, 16, 46, 0.3);
  fill: #0035a2;
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__playing {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 31, 99, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__playing .bpo-career-innovoice__bars {
  height: 18px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__bars i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: #7fd3ff;
  transform-origin: bottom;
  animation: bpo-innovoice-bars 0.9s ease-in-out infinite;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__bars i:nth-child(2) {
  animation-delay: -0.3s;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__bars i:nth-child(3) {
  animation-delay: -0.6s;
}

@keyframes bpo-innovoice-bars {
  0%,
  100% {
    transform: scaleY(0.35);
  }

  50% {
    transform: scaleY(1);
  }
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item.is-active .bpo-career-innovoice__thumb {
  box-shadow: 0 0 0 3px #4a9dff;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item.is-active .bpo-career-innovoice__playing {
  display: flex;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item:not(.is-active):is(:hover, :focus-visible) .bpo-career-innovoice__thumb::after,
body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item:not(.is-active):is(:hover, :focus-visible) .bpo-career-innovoice__play {
  opacity: 1;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item:not(.is-active):is(:hover, :focus-visible) .bpo-career-innovoice__play svg {
  transform: scale(1);
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item:hover .bpo-career-innovoice__thumb > img {
  transform: scale(1.05);
}

/* Card text: avatar + title / channel / date, like a YouTube feed card */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-body {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-body .bpo-career-innovoice__avatar {
  width: 36px;
  height: 36px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-title {
  display: block;
  overflow: hidden;
  margin-bottom: 3px;
  color: #1f2a44;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-title strong {
  font-weight: inherit;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item.is-active .bpo-career-innovoice__item-title,
body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item:hover .bpo-career-innovoice__item-title {
  color: #0035a2;
}

/* Hover marquee for titles that do not fit */
body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item.is-title-overflowing:is(:hover, :focus-visible) .bpo-career-innovoice__item-title {
  text-overflow: clip;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item.is-title-overflowing:is(:hover, :focus-visible) .bpo-career-innovoice__item-title strong {
  display: inline-block;
  will-change: transform;
  animation: bpo-innovoice-title-marquee var(--iv-marquee-duration, 6s) ease-in-out 0.25s infinite alternate;
}

@keyframes bpo-innovoice-title-marquee {
  0%,
  12% {
    transform: translateX(0);
  }

  88%,
  100% {
    transform: translateX(var(--iv-marquee-distance, 0));
  }
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-copy small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-copy em {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(74, 157, 255, 0.16);
  color: #0035a2;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

/* Carousel dots (phone only) */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__dots {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__dot {
  display: block;
  width: 8px;
  height: 8px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(0, 53, 162, 0.2) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__dot.is-active {
  width: 22px;
  background: #0035a2 !important;
}

/* Show more */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__more[hidden] {
  display: none;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__more-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 10px 22px;
  border: 1px solid rgba(0, 53, 162, 0.18) !important;
  border-radius: 999px;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 53, 162, 0.08) !important;
  color: #0035a2 !important;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__more-button:hover {
  border-color: rgba(74, 157, 255, 0.5) !important;
  background: #f3f8ff !important;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__more-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__more-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Smaller desktops: three per row */
@media (max-width: 1180px) {
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes {
    --iv-cols: 3;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n + 7) {
    display: none;
  }

}

/* Tablet: two per row */
@media (max-width: 1024px) {
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--watch .bpo-career-innovoice__inner {
    padding: 36px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 26px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content #bpo-career-innovoice-title {
    font-size: 42px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head-body {
    padding-left: 0;
    border-left: 0;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content h2 span {
    display: inline;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes {
    --iv-cols: 2;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n + 5) {
    display: none;
  }
}

/* Phone: swipeable carousel with dots, every episode reachable */
@media (max-width: 767px) {
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--watch .bpo-career-innovoice__inner {
    padding: 24px 14px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content {
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 22px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head-title,
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head-body {
    align-items: center;
    text-align: center;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content #bpo-career-innovoice-title {
    font-size: 34px;
    line-height: 1.1;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content h2 span {
    display: block;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__head.bpo-career-innovoice__content .bpo-career-innovoice__head-body p {
    font-size: 14px;
  }


  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes-head {
    margin-bottom: 14px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes-head h3 {
    font-size: 21px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__list {
    display: flex;
    gap: 14px;
    margin: 0 -14px;
    padding: 6px 14px 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__list::-webkit-scrollbar {
    display: none;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes .bpo-career-innovoice__list-item,
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n) {
    display: block;
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-title {
    font-size: 14px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-copy small {
    font-size: 12.5px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__play {
    opacity: 1;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__play svg {
    width: 42px;
    height: 42px;
    padding: 7px;
    transform: none;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__more {
    display: none !important;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__dots {
    display: flex;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__playing {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__bars i {
    animation: none;
    transform: scaleY(0.7);
  }

  body.bpo-innovature-theme.bpo-native-career button.bpo-career-innovoice__item.is-title-overflowing:is(:hover, :focus-visible) .bpo-career-innovoice__item-title strong {
    animation: none;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice__item-title {
    white-space: normal;
  }
}

/* ------------------------------------------------------------------
   InnoVoice modal: player + playlist (moved to <body> by career.js)
   ------------------------------------------------------------------ */
html.bpo-innovoice-modal-open,
body.bpo-innovoice-modal-open {
  overflow: hidden !important;
}

.bpo-iv-modal {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bpo-iv-modal[hidden] {
  display: none;
}

.bpo-iv-modal.is-open {
  opacity: 1;
}

.bpo-iv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 30, 0.82);
  backdrop-filter: blur(4px);
}

body.bpo-innovature-theme .bpo-iv-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  width: min(1240px, calc(100vw - 48px), calc((100vh - 168px) * 1.7778 + 380px));
  max-height: calc(100vh - 48px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.25s ease;
}

.bpo-iv-modal.is-open .bpo-iv-modal__dialog {
  transform: none;
}

/* Same close button as the site's scheduling (Calendly) modal */
body.bpo-innovature-theme button.bpo-iv-modal__close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 53, 162, 0.14) !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 22px rgba(0, 53, 162, 0.12) !important;
  color: #0035a2 !important;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

body.bpo-innovature-theme button.bpo-iv-modal__close:hover,
body.bpo-innovature-theme button.bpo-iv-modal__close:focus {
  border-color: rgba(74, 157, 255, 0.38) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 53, 162, 0.16), 0 0 0 3px rgba(74, 157, 255, 0.14) !important;
  outline: none;
}

body.bpo-innovature-theme button.bpo-iv-modal__close:focus-visible {
  outline: 2px solid #4a9dff;
  outline-offset: 3px;
}

.bpo-iv-modal__close svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Keep the playlist title clear of the close button */
.bpo-iv-modal__playlist-head {
  padding-right: 64px !important;
}

.bpo-iv-modal__main {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}

.bpo-iv-modal__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.bpo-iv-modal__frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.bpo-iv-modal__info {
  padding: 18px 22px 20px;
}

body.bpo-innovature-theme .bpo-iv-modal__info h3 {
  margin: 0 0 14px;
  color: #1f2a44;
  font-family: var(--bpo-font-body, inherit);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.bpo-iv-modal__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bpo-iv-modal__meta .bpo-career-innovoice__yt-link {
  margin-left: auto !important;
}

/* Playlist column: as tall as the player column, list scrolls inside */
.bpo-iv-modal__playlist {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid rgba(0, 53, 162, 0.1);
  border-radius: 0 20px 20px 0;
  background: #f6f9ff;
  contain: size;
}

.bpo-iv-modal__playlist-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(0, 53, 162, 0.08);
}

.bpo-iv-modal__playlist-head strong {
  color: #1f2a44;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.bpo-iv-modal__playlist-head > span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

body.bpo-innovature-theme .bpo-iv-modal__list {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-color: rgba(0, 53, 162, 0.25) transparent;
  scrollbar-width: thin;
}

body.bpo-innovature-theme .bpo-iv-modal__list > li {
  margin: 0;
  padding: 0;
}

body.bpo-innovature-theme .bpo-iv-modal__list > li::before,
body.bpo-innovature-theme .bpo-iv-modal__list > li::marker {
  content: none;
}

body.bpo-innovature-theme button.bpo-iv-modal__item {
  display: grid;
  grid-template-columns: 18px 120px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 8px 8px 8px 4px;
  border: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  box-shadow: none !important;
  color: #1f2a44 !important;
  font: inherit;
  text-align: left;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

body.bpo-innovature-theme button.bpo-iv-modal__item:hover {
  background: rgba(74, 157, 255, 0.1) !important;
}

body.bpo-innovature-theme button.bpo-iv-modal__item.is-active {
  background: rgba(74, 157, 255, 0.16) !important;
}

body.bpo-innovature-theme button.bpo-iv-modal__item:focus:not(:focus-visible) {
  outline: none;
}

body.bpo-innovature-theme button.bpo-iv-modal__item:focus-visible {
  outline: 3px solid rgba(74, 157, 255, 0.5);
  outline-offset: -3px;
}

.bpo-iv-modal__index {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.bpo-iv-modal__item.is-active .bpo-iv-modal__index {
  color: #0035a2;
}

body.bpo-innovature-theme .bpo-iv-modal__thumb {
  border-radius: 8px;
}

body.bpo-innovature-theme .bpo-iv-modal__item.is-active .bpo-career-innovoice__playing {
  display: flex;
}

.bpo-iv-modal__item-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.bpo-iv-modal__item-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #1f2a44;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bpo-iv-modal__item.is-active .bpo-iv-modal__item-copy strong {
  color: #0035a2;
}

.bpo-iv-modal__item-copy small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

/* Tablet and phone: player on top, playlist fills the rest of the screen */
@media (max-width: 900px) {
  .bpo-iv-modal {
    align-items: stretch;
    padding: 64px 0 0;
  }

  body.bpo-innovature-theme .bpo-iv-modal__dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: none;
    border-radius: 18px 18px 0 0;
    transform: translateY(24px);
  }

  body.bpo-innovature-theme button.bpo-iv-modal__close {
    top: -52px;
    right: 12px;
  }

  .bpo-iv-modal__playlist-head {
    padding-right: 16px !important;
  }

  .bpo-iv-modal__main {
    flex: 0 0 auto;
    border-radius: 18px 18px 0 0;
  }

  .bpo-iv-modal__info {
    padding: 14px 16px 16px;
  }

  body.bpo-innovature-theme .bpo-iv-modal__info h3 {
    margin-bottom: 12px;
    font-size: 16px;
  }

  body.bpo-innovature-theme .bpo-iv-modal__meta a.bpo-career-innovoice__yt-link {
    min-height: 30px;
    padding: 5px 11px 5px 9px;
    font-size: 12px;
  }

  .bpo-iv-modal__playlist {
    flex: 1 1 auto;
    border-top: 1px solid rgba(0, 53, 162, 0.1);
    border-left: 0;
    border-radius: 0;
    contain: none;
  }

  .bpo-iv-modal__playlist-head {
    padding: 12px 16px 10px;
  }

  body.bpo-innovature-theme button.bpo-iv-modal__item {
    grid-template-columns: 18px 112px minmax(0, 1fr);
  }
}

body.bpo-innovature-theme .bpo-iv-modal__meta .bpo-career-innovoice__channel-copy strong {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .bpo-iv-modal,
  body.bpo-innovature-theme .bpo-iv-modal__dialog {
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Variant: overlay tiles (--tiles) and bento spotlight (--tiles + --bento)
   ------------------------------------------------------------------ */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__list {
  gap: 20px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles button.bpo-career-innovoice__item {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: #0b1530 !important;
  box-shadow: 0 12px 26px rgba(0, 53, 162, 0.14) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles button.bpo-career-innovoice__item:hover,
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles button.bpo-career-innovoice__item:focus-visible {
  box-shadow: 0 24px 44px rgba(0, 53, 162, 0.26), 0 0 0 2px rgba(74, 157, 255, 0.7) !important;
  transform: translateY(-4px);
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__thumb {
  border-radius: 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__thumb::after {
  background: linear-gradient(180deg, rgba(5, 16, 46, 0) 30%, rgba(5, 16, 46, 0.55) 62%, rgba(5, 16, 46, 0.92) 100%);
  opacity: 1;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__play {
  align-items: start;
  padding-top: 18%;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__play svg {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(5, 16, 46, 0.35);
  fill: #fff;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-body {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 14px 16px 15px;
  pointer-events: none;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-body .bpo-career-innovoice__avatar,
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-copy small:first-of-type {
  display: none;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-title,
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles button.bpo-career-innovoice__item:hover .bpo-career-innovoice__item-title {
  margin-bottom: 2px;
  color: #fff;
  font-size: 15px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-copy em {
  background: #4a9dff;
  color: #fff;
}

/* Bento: the latest episode takes a 2 x 2 spotlight tile */
body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list {
  grid-auto-flow: dense;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__thumb {
  height: 100%;
  aspect-ratio: auto;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__play {
  align-items: center;
  padding-top: 0;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__play svg {
  width: 72px;
  height: 72px;
  padding: 12px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__item-body {
  padding: 24px 26px 24px;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__item-copy::before {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #4a9dff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  content: "Latest episode";
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__item-title {
  display: -webkit-box;
  margin-bottom: 6px;
  font-family: var(--bpo-font-body);
  font-size: 24px;
  line-height: 1.3;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__item-copy small {
  font-size: 13.5px;
}

@media (min-width: 1181px) {
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n + 6) {
    display: none;
  }
}

@media (max-width: 1024px) {
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child {
    grid-row: span 1;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(5) {
    display: block;
  }
}

@media (max-width: 767px) {
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__episodes .bpo-career-innovoice__list-item:nth-child(n),
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n) {
    flex-basis: 70%;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles button.bpo-career-innovoice__item {
    display: block;
    padding: 0;
    border-radius: 14px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__thumb {
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles button.bpo-career-innovoice__item:hover {
    transform: none;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__play,
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__play {
    align-items: start;
    padding-top: 28%;
  }

  /* Feed thumbnails are 4:3 with the 16:9 frame letterboxed; crop the bars on portrait cards. */
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__thumb > img {
    top: -16.667%;
    height: 133.333%;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-body {
    padding: 14px 14px 15px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-title {
    display: -webkit-box;
    font-size: 15px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--tiles .bpo-career-innovoice__item-copy small {
    font-size: 12px;
  }

  /* In the carousel the latest episode keeps its badge but matches the other cards */
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__thumb {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__play svg {
    width: 42px;
    height: 42px;
    padding: 7px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__item-body {
    padding: 14px 14px 15px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__item-copy::before {
    margin-bottom: 8px;
    font-size: 10px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__item-title {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }
}

/* ------------------------------------------------------------------
   Frame: split (sticky intro left, episodes right) - desktop only
   ------------------------------------------------------------------ */
@media (min-width: 1025px) {
  /* overflow: clip keeps the rounded frame without breaking position: sticky */
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice.bpo-career-innovoice--split,
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split .bpo-career-innovoice__inner {
    overflow: clip;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split .bpo-career-innovoice__inner {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split .bpo-career-innovoice__head {
    position: sticky;
    top: 120px;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    margin: 0;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split .bpo-career-innovoice__head .bpo-career-innovoice__content h2 {
    font-size: 40px;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split .bpo-career-innovoice__episodes {
    --iv-cols: 2;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n + 5) {
    display: none;
  }

  /* Bento inside split: the latest episode spans the full row */
  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split.bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child {
    grid-row: span 1;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split.bpo-career-innovoice--bento .bpo-career-innovoice__list-item:first-child .bpo-career-innovoice__thumb {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split.bpo-career-innovoice--bento .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(5) {
    display: block;
  }

  body.bpo-innovature-theme.bpo-native-career .bpo-career-innovoice--split.bpo-career-innovoice--bento .bpo-career-innovoice__episodes:not(.is-expanded) .bpo-career-innovoice__list-item:nth-child(n + 6) {
    display: none;
  }
}
