/* =========================================================
   BUYER CONSULTING - INSIGHTS FEED
   Archive controls, archive layout variants and featured feed.
   The default editorial archive continues to use the global
   Buyer Consulting archive/card styling.
   ========================================================= */

.bc-insights-feed,
.bc-insights-featured {
  --bc-insights-shell-width: var(--bc-site-width, 1200px);
  --bc-insights-card-surface: var(--bc-insight-card-surface, #FFFFFF);
  --bc-insights-card-border: var(--bc-insight-card-border, rgba(0, 84, 97, 0.14));
  --bc-insights-featured-accent: var(--bc-insight-accent, #E66F58);
  --bc-insights-featured-accent-dark: var(--bc-insight-accent-dark, #C95643);
  --bc-insights-featured-accent-soft: var(--bc-insight-accent-soft, rgba(230, 111, 88, 0.10));
  --bc-insights-featured-accent-border: var(--bc-insight-accent-border, rgba(230, 111, 88, 0.28));
  width: 100%;
}

.bc-insights-feed {
  --bc-insights-accent: var(--bc-insight-accent, #E66F58);
  --bc-insights-accent-dark: var(--bc-insight-accent-dark, #C95643);
  --bc-insights-accent-soft: var(--bc-insight-accent-soft, rgba(230, 111, 88, 0.10));
  --bc-insights-accent-border: var(--bc-insight-accent-border, rgba(230, 111, 88, 0.28));
}

.bc-insights-featured {
  --bc-insights-accent: var(--bc-insights-featured-accent);
  --bc-insights-accent-dark: var(--bc-insights-featured-accent-dark);
  --bc-insights-accent-soft: var(--bc-insights-featured-accent-soft);
  --bc-insights-accent-border: var(--bc-insights-featured-accent-border);
}

/* =========================================================
   ARCHIVE TOOLBAR
   ========================================================= */

.bc-insights-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  max-width: var(--bc-insights-shell-width);
  margin: clamp(1.65rem, 2.5vw, 2rem) auto 0;
  padding: 0;
}

.bc-insights-controls__group {
  min-width: 0;
}

.bc-insights-controls__group--filter {
  width: min(100%, 21rem);
}

.bc-insights-controls__group--sort {
  flex: 0 0 auto;
  width: auto;
}

.bc-insights-controls__label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.bc-insights-controls__select-wrap {
  position: relative;
  width: 100%;
}

.bc-insights-controls__select-wrap--sort {
  width: auto;
}

.bc-insights-controls__icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.bc-insights-controls__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bc-insights-controls__icon--filter {
  color: var(--bc-cyan, #4EB6B0);
}

.bc-insights-controls__icon--sort {
  color: rgba(0, 84, 97, 0.72);
}

.bc-insights-controls__select {
  min-height: 3rem;
  margin: 0;
  border: 1px solid var(--bc-border, rgba(0, 84, 97, 0.16));
  border-radius: var(--bc-radius-medium, 12px);
  background-color: var(--bc-white, #FFFFFF);
  color: var(--bc-azure, #005461);
  font-family: var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transition:
    border-color var(--bc-transition-fast, 180ms ease),
    background-color var(--bc-transition-fast, 180ms ease);
}

.bc-insights-controls__select--filter {
  width: 100%;
  padding: 0.7rem 2.7rem 0.7rem 2.65rem;
}

.bc-insights-controls__select--sort {
  width: auto;
  min-width: 8.6rem;
  padding: 0.7rem 2.55rem;
}

.bc-insights-controls__select-wrap::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 1rem;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid var(--bc-azure, #005461);
  border-bottom: 2px solid var(--bc-azure, #005461);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.bc-insights-controls__select:hover {
  border-color: var(--bc-border-strong, rgba(0, 84, 97, 0.28));
  background-color: rgba(255, 255, 255, 0.88);
}

.bc-insights-controls__select:focus-visible {
  border-color: var(--bc-blue, #6257E3);
  outline: 3px solid var(--bc-blue, #6257E3);
  outline-offset: 3px;
}

.bc-insights-controls__noscript {
  flex: 0 0 auto;
}

.bc-insights-controls__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--bc-azure, #005461);
  border-radius: var(--bc-radius-medium, 12px);
  background: var(--bc-azure, #005461);
  color: var(--bc-white, #FFFFFF);
  font-family: var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.bc-insights-feed__results {
  position: relative;
  width: 100%;
  scroll-margin-top: 7rem;
  transition: opacity var(--bc-transition-fast, 180ms ease);
}

.bc-insights-feed.is-loading .bc-insights-feed__results {
  opacity: 0.55;
  pointer-events: none;
}

.bc-insights-feed.is-loading .bc-insights-controls__select {
  cursor: progress;
}

.bc-insights-controls__select:disabled {
  opacity: 0.78;
  color: var(--bc-azure, #005461);
  -webkit-text-fill-color: var(--bc-azure, #005461);
}

.bc-insights-feed__status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.bc-insights-feed .bc-insights-archive__posts {
  margin-top: clamp(1.15rem, 2vw, 1.55rem) !important;
}

.bc-insights-feed .bc-insights-feed__posts--empty.bc-insights-feed__posts--filtered::before {
  content: "No insights are available in this area yet.";
}

/* =========================================================
   ARCHIVE CARD HIERARCHY
   Ordinary cards never receive lead styling because of their
   position in the query. Only posts explicitly marked as a
   Featured insight receive enhanced archive treatment.
   ========================================================= */

/* Neutralise the older global first-card and orphan-card rules. */
.bc-insights-feed .bc-insights-archive__posts > :is(
  .bc-insight-card:first-child,
  .bc-insight-card:last-child:nth-child(even):not(:first-child)
) {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.bc-insights-feed .bc-insights-archive__posts > :is(
  .bc-insight-card:first-child,
  .bc-insight-card:last-child:nth-child(even):not(:first-child)
) .bc-insight-card__media {
  height: auto !important;
  min-height: 0 !important;
  border-right: 0 !important;
}

.bc-insights-feed .bc-insights-archive__posts > :is(
  .bc-insight-card:first-child,
  .bc-insight-card:last-child:nth-child(even):not(:first-child)
) .bc-insight-card__media img {
  height: auto !important;
  aspect-ratio: 16 / 9.5 !important;
}

.bc-insights-feed .bc-insights-archive__posts > :is(
  .bc-insight-card:first-child,
  .bc-insight-card:last-child:nth-child(even):not(:first-child)
) :is(.bc-insight-card__content, .bc-insight-card__body) {
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: clamp(1.35rem, 2.2vw, 1.7rem) !important;
  border-top: 1px solid rgba(0, 84, 97, 0.08) !important;
}

.bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child .bc-insight-card__title {
  max-width: none !important;
  font-size: clamp(1.35rem, 1.15rem + 0.55vw, 1.7rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em !important;
}

.bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child .bc-insight-card__excerpt {
  max-width: 43rem !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
}

.bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child:not(:has(.bc-insight-card__media img)) :is(
  .bc-insight-card__content,
  .bc-insight-card__body
) {
  max-width: none !important;
  min-height: 0 !important;
}

/* Featured state shared by every archive layout. */
.bc-insights-feed .bc-insight-card--featured {
  border-color: var(--bc-insights-card-border) !important;
  box-shadow: 0 8px 24px rgba(0, 84, 97, 0.04) !important;
}

/* Featured state is identified by the coral editorial label, not a top border. */
.bc-insights-feed .bc-insight-card--featured::before,
.bc-insights-featured .bc-insight-card--featured::before {
  content: none !important;
}

.bc-insight-card__featured-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.65rem;
  padding: 0;
  font-family: var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bc-insights-featured-accent);
}

.bc-insight-card__featured-label::before {
  content: "";
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 2px;
  margin-right: 0.55rem;
  border-radius: 2px;
  background: var(--bc-insights-featured-accent);
}

/* Editorial layout: only Featured insights become wide lead cards. */
.bc-insights-feed--layout-editorial .bc-insights-archive__posts > .bc-insight-card--featured {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
  min-height: clamp(285px, 27vw, 350px) !important;
}

.bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__media {
  position: relative !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(0, 84, 97, 0.08) !important;
}

.bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__media img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: auto !important;
}

.bc-insights-feed--layout-editorial .bc-insight-card--featured :is(
  .bc-insight-card__content,
  .bc-insight-card__body
) {
  justify-content: center !important;
  padding: clamp(1.65rem, 3vw, 2.35rem) !important;
  border-top: 0 !important;
}

.bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__title {
  max-width: 34rem !important;
  font-size: clamp(1.65rem, 2.15vw, 2.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em !important;
}

.bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__excerpt {
  max-width: 35rem !important;
  font-size: clamp(0.96rem, 1rem + 0.05vw, 1.03rem) !important;
  line-height: 1.62 !important;
}

.bc-insights-feed--layout-editorial .bc-insight-card--featured:not(:has(.bc-insight-card__media img)) {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
}

.bc-insights-feed--layout-editorial .bc-insight-card--featured:not(:has(.bc-insight-card__media img)) :is(
  .bc-insight-card__content,
  .bc-insight-card__body
) {
  max-width: 52rem;
  min-height: clamp(14rem, 22vw, 18rem) !important;
}

/* =========================================================
   ARCHIVE LAYOUT - GRID
   Removes the editorial lead/orphan spanning behaviour.
   ========================================================= */

.bc-insights-feed--layout-grid .bc-insights-archive__posts,
.bc-insights-feed--layout-grid .bc-insights-archive__posts.x-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card,
.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card:first-child,
.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card:last-child:nth-child(even):not(:first-child) {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card .bc-insight-card__media {
  height: auto !important;
  min-height: 0 !important;
  border-right: 0 !important;
}

.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card .bc-insight-card__media img {
  height: auto !important;
  aspect-ratio: 16 / 9.5 !important;
}

.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card :is(.bc-insight-card__content, .bc-insight-card__body) {
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: clamp(1.35rem, 2.2vw, 1.7rem) !important;
  border-top: 1px solid rgba(0, 84, 97, 0.08) !important;
}

.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card .bc-insight-card__title {
  max-width: none !important;
  font-size: clamp(1.35rem, 1.15rem + 0.55vw, 1.7rem) !important;
  line-height: 1.16 !important;
}

.bc-insights-feed--layout-grid .bc-insights-archive__posts > .bc-insight-card .bc-insight-card__excerpt {
  max-width: 43rem !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
}

/* =========================================================
   ARCHIVE LAYOUT - COMPACT LIST
   The row height is determined by the textual content, not by
   the featured image's intrinsic dimensions. The image is
   absolutely fitted inside its grid cell so it cannot expand
   the card vertically.
   ========================================================= */

.bc-insights-feed--layout-list .bc-insights-archive__posts,
.bc-insights-feed--layout-list .bc-insights-archive__posts.x-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1rem !important;
}

.bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card,
.bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card:first-child,
.bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card:last-child:nth-child(even):not(:first-child) {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 30%) minmax(0, 1fr) !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch !important;
}

.bc-insights-feed--layout-list .bc-insight-card:has(.bc-insight-card__media img) {
  min-height: clamp(11.5rem, 18vw, 14rem) !important;
}

.bc-insights-feed--layout-list .bc-insight-card:not(:has(.bc-insight-card__media img)) {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
}

.bc-insights-feed--layout-list .bc-insight-card__media {
  position: relative !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(0, 84, 97, 0.08) !important;
}

.bc-insights-feed--layout-list .bc-insight-card__media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

.bc-insights-feed--layout-list .bc-insight-card :is(.bc-insight-card__content, .bc-insight-card__body) {
  justify-content: center !important;
  min-height: 0 !important;
  padding: clamp(1.25rem, 2.4vw, 1.8rem) !important;
  border-top: 0 !important;
}

.bc-insights-feed--layout-list .bc-insight-card__title {
  max-width: 38rem !important;
  font-size: clamp(1.35rem, 1.5vw, 1.7rem) !important;
}

.bc-insights-feed--layout-list .bc-insight-card__excerpt {
  margin-bottom: 0.9rem !important;
}

/* =========================================================
   FEATURED INSIGHTS - SHARED
   ========================================================= */

.bc-insights-featured {
  position: relative;
  width: 100%;
  max-width: var(--bc-insights-shell-width);
  margin: 0 auto;
  color: var(--bc-azure, #005461);
}

.bc-insights-featured__track {
  min-width: 0;
}

.bc-insights-featured .bc-insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--bc-insights-card-border);
  border-radius: var(--bc-radius-large, 18px);
  background: var(--bc-insights-card-surface);
  box-shadow: 0 8px 24px rgba(0, 84, 97, 0.04);
  transition:
    transform var(--bc-transition, 220ms ease),
    border-color var(--bc-transition, 220ms ease),
    box-shadow var(--bc-transition, 220ms ease);
}

.bc-insights-featured .bc-insight-card:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  border-color: var(--bc-insights-accent-border);
  box-shadow: 0 16px 36px rgba(0, 84, 97, 0.085);
}

.bc-insights-featured .bc-insight-card__media {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--bc-insights-accent-soft);
  text-decoration: none;
}

.bc-insights-featured .bc-insight-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.5;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 360ms ease;
}

.bc-insights-featured .bc-insight-card:is(:hover, :focus-visible) .bc-insight-card__media img {
  transform: scale(1.028);
}

.bc-insights-featured .bc-insight-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.55rem);
  border-top: 1px solid rgba(0, 84, 97, 0.08);
}

.bc-insights-featured .bc-insight-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  width: 100%;
  margin: 0 0 0.65rem;
  font-family: var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(0, 84, 97, 0.68);
}

.bc-insights-featured .bc-insight-card__category {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bc-insights-accent);
}

.bc-insights-featured .bc-insight-card__category + .bc-insight-card__date::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0.55rem 0.08rem 0;
  border-radius: 50%;
  background: var(--bc-cyan, #4EB6B0);
}

.bc-insights-featured .bc-insight-card__title {
  width: 100%;
  margin: 0 0 0.7rem;
  font-family: var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif);
  font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.55rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--bc-azure, #005461);
  text-wrap: balance;
}

.bc-insights-featured .bc-insight-card__title {
  transition: color var(--bc-transition-fast, 180ms ease);
}

.bc-insights-featured .bc-insight-card:is(:hover, :focus-visible)
.bc-insight-card__title {
  color: var(--bc-insights-accent-dark);
}

.bc-insights-featured .bc-insight-card__excerpt {
  width: 100%;
  margin: 0 0 1rem;
  font-family: var(--bc-font-primary, "Nunito", Arial, Helvetica, sans-serif);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.58;
  color: var(--bc-text-soft, rgba(0, 84, 97, 0.76));
}

.bc-insights-featured .bc-insight-card__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: auto 0 0;
  font-family: var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bc-azure, #005461);
  text-decoration: none;
}

.bc-insights-featured .bc-insight-card__link::after {
  content: "\2192";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-left: 0.55rem;
  padding-bottom: 0.07rem;
  border-radius: 50%;
  background: var(--bc-insights-accent-soft);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--bc-insights-accent-dark);
  transition:
    background-color var(--bc-transition-fast, 180ms ease),
    color var(--bc-transition-fast, 180ms ease),
    transform var(--bc-transition-fast, 180ms ease);
}

.bc-insights-featured .bc-insight-card:is(:hover, :focus-visible)
.bc-insight-card__link::after {
  background: var(--bc-insights-accent-dark);
  color: var(--bc-white, #FFFFFF);
  transform: translateX(0.15rem);
}

/* =========================================================
   FEATURED LAYOUT - GRID
   ========================================================= */

.bc-insights-featured--layout-grid .bc-insights-featured__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

/* =========================================================
   FEATURED LAYOUT - SINGLE
   ========================================================= */

.bc-insights-featured--layout-single .bc-insights-featured__track {
  display: block;
}

.bc-insights-featured--layout-single .bc-insight-card {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  min-height: clamp(300px, 29vw, 370px);
}

.bc-insights-featured--layout-single .bc-insight-card:not(:has(.bc-insight-card__media img)) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.bc-insights-featured--layout-single .bc-insight-card__media {
  height: 100%;
  border-right: 1px solid rgba(0, 84, 97, 0.08);
}

.bc-insights-featured--layout-single .bc-insight-card__media img {
  height: 100%;
  aspect-ratio: auto;
}

.bc-insights-featured--layout-single .bc-insight-card__content {
  justify-content: center;
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  border-top: 0;
}

.bc-insights-featured--layout-single .bc-insight-card__title {
  max-width: 34rem;
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
  line-height: 1.08;
}

.bc-insights-featured--layout-single .bc-insight-card__excerpt {
  max-width: 35rem;
  font-size: 1rem;
}

/* =========================================================
   FEATURED LAYOUT - CAROUSEL
   ========================================================= */

.bc-insights-featured--layout-carousel .bc-insights-featured__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  width: 100%;
  margin: 0 0 0.9rem;
}

.bc-insights-featured__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--bc-border, rgba(0, 84, 97, 0.16));
  border-radius: 50%;
  background: transparent;
  color: var(--bc-azure, #005461);
  cursor: pointer;
  transition:
    border-color var(--bc-transition-fast, 180ms ease),
    background-color var(--bc-transition-fast, 180ms ease),
    color var(--bc-transition-fast, 180ms ease),
    transform var(--bc-transition-fast, 180ms ease);
}

.bc-insights-featured__arrow svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bc-insights-featured__arrow:is(:hover, :focus-visible) {
  border-color: var(--bc-azure, #005461);
  background: var(--bc-azure, #005461);
  color: var(--bc-white, #FFFFFF);
  transform: translateY(-1px);
}

.bc-insights-featured__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.bc-insights-featured--layout-carousel .bc-insights-featured__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.bc-insights-featured--layout-carousel .bc-insights-featured__viewport::-webkit-scrollbar {
  display: none;
}

.bc-insights-featured--layout-carousel .bc-insights-featured__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  min-width: 100%;
  align-items: stretch;
}

.bc-insights-featured--layout-carousel .bc-insight-card {
  flex: 0 0 calc((100vw - 2 * var(--bc-gutter, 1.25rem) - 2 * clamp(1rem, 2vw, 1.5rem)) / 3);
  width: auto;
  max-width: calc((var(--bc-insights-shell-width) - 2 * clamp(1rem, 2vw, 1.5rem)) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.bc-insights-featured__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.bc-insights-featured__dot {
  width: 0.55rem;
  height: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 84, 97, 0.24);
  cursor: pointer;
}

.bc-insights-featured__dot.is-active,
.bc-insights-featured__dot[aria-current="true"] {
  background: var(--bc-insights-accent-dark);
}

/* Keep positional normalisation aligned with the global archive breakpoints. */
@media (max-width: 1024px) and (min-width: 768px) {
  .bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child :is(
    .bc-insight-card__content,
    .bc-insight-card__body
  ) {
    padding: 1.25rem !important;
  }

  .bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child .bc-insight-card__title {
    font-size: clamp(1.22rem, 2.1vw, 1.48rem) !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured :is(
    .bc-insight-card__content,
    .bc-insight-card__body
  ) {
    padding: 1.6rem !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__title {
    font-size: clamp(1.5rem, 2.6vw, 1.9rem) !important;
  }
}

@media (max-width: 767px) {
  .bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child :is(
    .bc-insight-card__content,
    .bc-insight-card__body
  ) {
    padding: 1.3rem !important;
  }

  .bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child .bc-insight-card__title {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
  }

  .bc-insights-feed--layout-editorial .bc-insights-archive__posts > .bc-insight-card--featured {
    grid-column: auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__media {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9.5 !important;
    border-right: 0 !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__media img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured :is(
    .bc-insight-card__content,
    .bc-insight-card__body
  ) {
    justify-content: flex-start !important;
    padding: 1.4rem !important;
    border-top: 1px solid rgba(0, 84, 97, 0.08) !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__title {
    font-size: clamp(1.45rem, 6vw, 1.8rem) !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured:not(:has(.bc-insight-card__media img)) :is(
    .bc-insight-card__content,
    .bc-insight-card__body
  ) {
    min-height: 0 !important;
  }
}

@media (max-width: 400px) {
  .bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child :is(
    .bc-insight-card__content,
    .bc-insight-card__body
  ) {
    padding: 1.15rem !important;
  }

  .bc-insights-feed .bc-insights-archive__posts > .bc-insight-card:first-child .bc-insight-card__title {
    font-size: 1.25rem !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured :is(
    .bc-insight-card__content,
    .bc-insight-card__body
  ) {
    padding: 1.2rem !important;
  }

  .bc-insights-feed--layout-editorial .bc-insight-card--featured .bc-insight-card__title {
    font-size: 1.45rem !important;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .bc-insights-featured--layout-grid .bc-insights-featured__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-insights-featured--layout-carousel .bc-insight-card {
    flex-basis: calc((100vw - 2 * var(--bc-gutter, 1.25rem) - clamp(1rem, 2vw, 1.5rem)) / 2);
    max-width: calc((var(--bc-insights-shell-width) - clamp(1rem, 2vw, 1.5rem)) / 2);
  }
}

@media (max-width: 767px) {
  .bc-insights-controls {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .bc-insights-controls__group--filter {
    width: min(100%, 19rem);
  }

  .bc-insights-controls__select--sort {
    min-width: 8.25rem;
  }

  .bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card,
  .bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card:first-child,
  .bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card:last-child:nth-child(even):not(:first-child) {
    grid-template-columns: minmax(150px, 34%) minmax(0, 1fr) !important;
  }

  .bc-insights-featured--layout-single .bc-insight-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .bc-insights-featured--layout-single .bc-insight-card__media {
    height: auto;
    border-right: 0;
  }

  .bc-insights-featured--layout-single .bc-insight-card__media img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .bc-insights-featured--layout-single .bc-insight-card__content {
    padding: 1.4rem;
    border-top: 1px solid rgba(0, 84, 97, 0.08);
  }
}

@media (max-width: 640px) {
  .bc-insights-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .bc-insights-controls__group--filter {
    width: 100%;
    max-width: none;
  }

  .bc-insights-controls__group--sort {
    align-self: flex-end;
    width: auto;
  }

  .bc-insights-controls__noscript,
  .bc-insights-controls__submit {
    width: 100%;
  }

  .bc-insights-feed--layout-grid .bc-insights-archive__posts,
  .bc-insights-feed--layout-grid .bc-insights-archive__posts.x-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card,
  .bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card:first-child,
  .bc-insights-feed--layout-list .bc-insights-archive__posts > .bc-insight-card:last-child:nth-child(even):not(:first-child) {
    display: flex !important;
    flex-direction: column !important;
  }

  .bc-insights-feed--layout-list .bc-insight-card__media {
    height: auto !important;
    min-height: 0 !important;
    border-right: 0 !important;
  }

  .bc-insights-feed--layout-list .bc-insight-card__media img {
    position: static !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }

  .bc-insights-feed--layout-list .bc-insight-card :is(.bc-insight-card__content, .bc-insight-card__body) {
    border-top: 1px solid rgba(0, 84, 97, 0.08) !important;
  }

  .bc-insights-featured--layout-grid .bc-insights-featured__track {
    grid-template-columns: minmax(0, 1fr);
  }

  .bc-insights-featured--layout-carousel .bc-insight-card {
    flex-basis: 100%;
    max-width: none;
  }

  .bc-insights-featured--layout-carousel .bc-insights-featured__controls {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 400px) {
  .bc-insights-controls {
    margin-top: 1.35rem;
  }

  .bc-insights-controls__group--sort,
  .bc-insights-controls__select-wrap--sort,
  .bc-insights-controls__select--sort {
    width: 100%;
  }

  .bc-insights-controls__select--sort {
    min-width: 0;
  }

  .bc-insights-featured__arrow {
    width: 2.55rem;
    height: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-insights-controls__select,
  .bc-insights-feed__results,
  .bc-insights-featured .bc-insight-card,
  .bc-insights-featured .bc-insight-card__media img,
  .bc-insights-featured .bc-insight-card__link::after,
  .bc-insights-featured__arrow {
    transition: none !important;
  }

  .bc-insights-featured--layout-carousel .bc-insights-featured__viewport {
    scroll-behavior: auto !important;
  }
}

.bc-insights-controls:not(:has(.bc-insights-controls__group--filter)):has(.bc-insights-controls__group--sort) {
  justify-content: flex-end;
}

.bc-insights-featured__autoplay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bc-insights-featured__autoplay-icon--play {
  display: none;
}

.bc-insights-featured:not(.is-autoplaying) .bc-insights-featured__autoplay-icon--pause {
  display: none;
}

.bc-insights-featured:not(.is-autoplaying) .bc-insights-featured__autoplay-icon--play {
  display: inline-flex;
}

/* =========================================================
   WHOLE-CARD LINKS
   Archive and featured cards have one post destination.
   ========================================================= */

.bc-insights-feed a.bc-insight-card,
.bc-insights-featured a.bc-insight-card,
.bc-insights-feed a.bc-insight-card:visited,
.bc-insights-featured a.bc-insight-card:visited {
  color: var(--bc-azure, #005461);
  text-decoration: none !important;
  cursor: pointer;
}

.bc-insights-feed a.bc-insight-card:focus-visible,
.bc-insights-featured a.bc-insight-card:focus-visible {
  outline: 3px solid var(--bc-blue, #6257E3) !important;
  outline-offset: 4px !important;
}

.bc-insights-feed .bc-insight-card:is(:hover, :focus-visible)
.bc-insight-card__title {
  color: var(--bc-insights-accent-dark, #C95643) !important;
}

.bc-insights-feed .bc-insight-card:is(:hover, :focus-visible)
.bc-insight-card__link {
  color: var(--bc-insights-accent-dark, #C95643) !important;
}

.bc-insights-feed .bc-insight-card:is(:hover, :focus-visible)
.bc-insight-card__link::after {
  background: var(--bc-insights-accent-dark, #C95643);
  color: var(--bc-white, #FFFFFF);
  transform: translateX(0.15rem);
}

.bc-insights-featured .bc-insight-card__link {
  pointer-events: none;
}


/* =========================================================
   SINGLE INSIGHT SOURCE LINK
   Compact source / external action treatment.
   Optional output from [bc_insight_source_link].
   ========================================================= */

.bc-insight-source {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;

  gap: 0.75rem 1rem !important;

  width: 100% !important;
  margin-top: 1.25rem !important;
}

.bc-insight-source__label {
  display: inline-block !important;

  margin: 0 !important;
  padding: 0 !important;

  font-family:
    var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif) !important;

  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;

  color: rgba(0, 84, 97, 0.72) !important;
  -webkit-text-fill-color: currentColor !important;
}

.bc-insight-source .bc-insight-source-link,
.bc-insight-source .bc-insight-source-link:link,
.bc-insight-source .bc-insight-source-link:visited {
  position: relative !important;

  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 0.45rem !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 2.625rem !important;

  margin: 0 !important;
  padding: 0.62rem 1rem !important;

  border: 2px solid var(--bc-azure, #005461) !important;
  border-radius: var(--bc-radius-pill, 999px) !important;

  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;

  color: var(--bc-azure, #005461) !important;
  -webkit-text-fill-color: var(--bc-azure, #005461) !important;

  font-family:
    var(--bc-font-secondary, "Metropolis", Arial, Helvetica, sans-serif) !important;

  font-size: 0.8rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;

  text-align: center !important;
  text-indent: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  white-space: nowrap !important;

  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;

  transform: none !important;

  transition:
    color var(--bc-transition-fast, 180ms ease),
    background-color var(--bc-transition-fast, 180ms ease),
    border-color var(--bc-transition-fast, 180ms ease) !important;
}

.bc-insight-source .bc-insight-source-link::before,
.bc-insight-source .bc-insight-source-link::after {
  content: none !important;
  display: none !important;
}

.bc-insight-source .bc-insight-source-link__text,
.bc-insight-source .bc-insight-source-link__arrow {
  position: static !important;

  display: inline-block !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;

  font: inherit !important;
  line-height: inherit !important;

  text-indent: 0 !important;
  text-decoration: none !important;

  opacity: 1 !important;
  visibility: visible !important;

  transform: none !important;
}

.bc-insight-source .bc-insight-source-link__arrow {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  transition: transform var(--bc-transition-fast, 180ms ease) !important;
}

@media (hover: hover) {
  .bc-insight-source .bc-insight-source-link:hover {
    border-color: var(--bc-azure, #005461) !important;
    background: var(--bc-azure, #005461) !important;
    color: var(--bc-white, #FFFFFF) !important;
    -webkit-text-fill-color: var(--bc-white, #FFFFFF) !important;
    text-decoration: none !important;
  }

  .bc-insight-source .bc-insight-source-link:hover .bc-insight-source-link__text,
  .bc-insight-source .bc-insight-source-link:hover .bc-insight-source-link__arrow {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .bc-insight-source .bc-insight-source-link:hover .bc-insight-source-link__arrow {
    transform: translateX(0.12rem) !important;
  }
}

.bc-insight-source .bc-insight-source-link:focus-visible {
  border-color: var(--bc-azure, #005461) !important;
  background: var(--bc-azure, #005461) !important;
  color: var(--bc-white, #FFFFFF) !important;
  -webkit-text-fill-color: var(--bc-white, #FFFFFF) !important;
  text-decoration: none !important;

  outline: 3px solid var(--bc-blue, #6257E3) !important;
  outline-offset: 3px !important;
}

@media (max-width: 560px) {
  .bc-insight-source {
    align-items: flex-start !important;
    gap: 0.65rem 0.9rem !important;
  }

  .bc-insight-source .bc-insight-source-link,
  .bc-insight-source .bc-insight-source-link:link,
  .bc-insight-source .bc-insight-source-link:visited {
    min-height: 2.5rem !important;
    padding: 0.58rem 0.9rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-insight-source .bc-insight-source-link,
  .bc-insight-source .bc-insight-source-link__arrow {
    transition: none !important;
  }
}

