/* ==========================================================================
   PALOMARR INSIGHTS PROOF
   ========================================================================== */

.insights-proof-section {
  --insights-proof-video-ratio: 1.777777;
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 5rem 0 9rem calc(-50vw + var(--scroll-bar-w, 0px) / 2) !important;
  padding: 4rem 0;
  background: transparent;
  overflow: hidden;
  letter-spacing: 0;
}

.insights-proof-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(24rem, 1.18fr);
  gap: 6rem;
  align-items: center;
  width: min(calc(100vw - 7.5rem), 1305px);
  margin: 0 auto;
}

.insights-proof-copy {
  color: var(--text-dark);
}

.insights-proof-eyebrow {
  margin: 0 0 1.4rem;
  color: var(--color-primary);
  font-size: 0.86rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.insights-proof-copy h2 {
  max-width: 12ch;
  margin: -0.02em 0 -0.12em;
  padding: 0.02em 0 0.12em;
  background: linear-gradient(160deg, #5AAE7F, #2F9376, #307D78, #252827);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--text-dark);
  display: inline-block;
  font-size: 3.75rem;
  line-height: 1 !important;
  letter-spacing: 0;
}

.insights-proof-line {
  max-width: 33rem;
  margin: 2.25rem 0 2.65rem;
  color: var(--color-gray-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  padding-bottom: 0.5rem;
}

.insights-proof-cta {
  gap: 0.7rem;
  max-width: 22rem;
  padding-left: 1.1rem !important;
}

.insights-proof-cta-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  background: url("/wp-content/uploads/2026/01/icon-insights-w.svg") no-repeat center;
  background-size: contain;
}

.insights-proof-video-card {
  position: relative;
  justify-self: end;
  align-self: start;
  width: 100%;
  min-height: 25rem;
  aspect-ratio: var(--insights-proof-video-ratio) / 1;
  border-radius: 2rem 2rem 2rem 0;
  overflow: hidden;
  background: #d4c7aa;
  box-shadow: none;
  transition: box-shadow 0.35s ease, border-radius 0.35s ease;
}

.insights-proof-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000000;
}

.insights-proof-video::-webkit-media-controls-overflow-button,
.insights-proof-video::-webkit-media-controls-download-button,
.insights-proof-video::-webkit-media-controls-playback-rate-button {
  display: none !important;
}

.insights-proof-video-controls {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.insights-proof-watch-btn {
  gap: 0.7rem;
  padding-left: 0.9rem !important;
  color: #202925 !important;
}

.insights-proof-play-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23202925'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 0.8rem;
  box-shadow: 0 0 0 1px rgb(32 41 37 / 45%);
}

.insights-proof-close-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 0.2rem 0.8rem rgb(0 0 0 / 18%);
  cursor: pointer;
}

.insights-proof-close-icon {
  width: 1.1rem;
  height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23202925'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.insights-proof-section[data-state="expanded"] .insights-proof-copy {
  visibility: hidden;
  pointer-events: none;
}

.insights-proof-section[data-state="expanded"] .insights-proof-inner {
  min-height: min(calc(100vw / var(--insights-proof-video-ratio)), calc(100vh - 8rem));
}

.insights-proof-section[data-state="expanded"] .insights-proof-video-card {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, calc((100vh - 8rem) * var(--insights-proof-video-ratio)));
  min-height: auto;
  margin: 0;
}

.insights-proof-section[data-state="expanded"] .insights-proof-video {
  object-fit: cover;
}

.insights-proof-section[data-state="expanded"] .insights-proof-watch-btn {
  display: none;
}

.insights-proof-section[data-state="expanded"] .insights-proof-close-btn {
  display: flex;
}

@media only screen and (max-width: 1024px) {
  .insights-proof-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .insights-proof-copy h2 {
    max-width: 14ch;
  }

  .insights-proof-video-card {
    min-height: 21rem;
  }
}

@media only screen and (max-width: 640px) {
  .insights-proof-section {
    margin: 2.5rem 0 4.5rem calc(-50vw + var(--scroll-bar-w, 0px) / 2) !important;
    padding: 2.6rem 0;
  }

  .insights-proof-inner {
    width: min(90vw, 1305px);
    gap: 2rem;
  }

  .insights-proof-copy {
    text-align: center;
  }

  .insights-proof-copy h2 {
    font-size: 2.45rem;
    line-height: 1 !important;
  }

  .insights-proof-line {
    margin: 1.2rem auto 2rem;
  }

  .insights-proof-section .insights-proof-cta.width-auto {
    width: 100% !important;
    max-width: none !important;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .insights-proof-video-card {
    min-height: auto;
    border-radius: 1.5rem 1.5rem 1.5rem 0;
  }

  .insights-proof-video-controls {
    top: 0.85rem;
    right: 0.85rem;
  }
}
