.insights {
  position: relative;
  background-color: var(--color-bg-base, #000000);
  color: var(--color-text-primary, #ffffff);
  padding: 60px 40px 120px;
  overflow: hidden;
}

.insights_container {
  width: min(1380px, 100% - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 52px;
  align-items: stretch;
}

.insights_header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Eyebrow with blue sparkle */
.insights_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.insights_sparkle {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.insights_eyebrow-text {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.insights_title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 32px 0;
}

/* Navigation Buttons (pinned to bottom aligned with cards) */
.insights_nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-bottom: 8px;
}

.insights_nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    opacity 0.25s ease;
}

.insights_nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.06);
}

.insights_nav-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.insights_nav-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}

.insights_nav-btn:focus-visible {
  outline: 2px solid var(--color-primary, #0088cc);
  outline-offset: 3px;
}

.insights_carousel {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  padding-bottom: 8px;
}

.insights_carousel::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.insights_track {
  display: flex;
  gap: 28px;
  width: max-content;
}

.insights_card {
  flex: 0 0 440px;
  width: 440px;
  scroll-snap-align: start;
}

.insights_card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.insights_card-link:focus-visible .insights_card-title {
  color: var(--color-primary, #0088cc);
  text-decoration: underline;
}

.insights_card-media {
  position: relative;
  width: 100%;
  height: 248px;
  border-radius: 18px;
  overflow: hidden;
  background: #141720;
}

.insights_card-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.insights_card:hover .insights_card-img {
  transform: scale(1.04);
}

/* Placeholder background pattern when img is not yet provided */
.insights_card-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, #181c26 0%, #0d1017 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insights_card-placeholder-pattern {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
}

.insights_card-author {
  position: absolute;
  bottom: -13px;
  left: -25px;
  z-index: 4;
  width: 102px;
  height: 90px;
  background-color: var(--color-bg-dark, #000000);
  border-top-right-radius: 18px;
  border-bottom-left-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 27px;
  box-sizing: border-box;

  /* Hidden by default, animated on card hover */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.7) translate(-8px, 8px);
  transform-origin: bottom left;
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s ease;
  pointer-events: none;
}

/* Top concave fillet (curves into the image above the badge) */
.insights_card-author::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 25px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, transparent 18px, var(--color-bg-dark, #000000) 18.5px);
}

/* Right concave fillet (curves into the image to the right of the badge) */
.insights_card-author::after {
  content: '';
  position: absolute;
  bottom: 13px;
  left: 100%;
  width: 18px;
  height: 18px;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, transparent 18px, var(--color-bg-dark, #000000) 18.5px);
}

/* Author Avatar Image inside the notch */
.insights_card-author-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Reveal State */
.insights_card:hover .insights_card-author,
.insights_card:focus-within .insights_card-author {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate(0, 0);
  pointer-events: auto;
}

.insights_card:hover .insights_card-author-img,
.insights_card:focus-within .insights_card-author-img {
  transform: scale(1);
}

.insights_card-body {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.insights_card-title {
  margin: 0;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: #ffffff;
  transition: color 0.25s ease;
}


.insights_card-badge {
  display: inline-block;
  margin: 14px 0 10px 0;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 0.8125rem;
  font-weight: 500;
}

.insights_card-excerpt {
  margin: 0;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .insights_container {
    grid-template-columns: 320px 1fr;
    gap: 36px;
  }

  .insights_card {
    flex: 0 0 380px;
    width: 380px;
  }

  .insights_card-media {
    height: 220px;
  }
}

@media (max-width: 991px) {
  .insights {
    padding: 72px 0 60px 8px;
  }

  .insights_container {
    width: min(100% - 32px, 1380px);
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .insights_header {
    position: static;
    height: auto;
  }

  .insights_title {
    font-size: 1.875rem;
    margin-bottom: 24px;
  }

  .insights_nav {
    display: none;
    /* Native horizontal touch swipe on mobile */
  }

  .insights_track {
    gap: 20px;
  }

  .insights_card {
    flex: 0 0 calc(100vw - 64px);
    max-width: 340px;
    width: auto;
  }

  .insights_card-media {
    height: 200px;
  }

  .insights_card-title {
    font-size: 1.125rem;
  }

  /* Disable author badge and hover effect on mobile */
  .insights_card-author {
    display: none;
  }
}