/* Base badge */
.in-badge{
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 8px 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  line-height: 1;
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  /* If your Data Label global var works, keep it */
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
}

/* Grade colours (must come AFTER base rule) */
.in-badge.grade-a{ border-color:#3ABF16 !important; }
.in-badge.grade-b{ border-color:#FBFF03 !important; }
.in-badge.grade-c{ border-color:#FF6E00 !important; }
.in-badge.grade-d{ border-color:#FF1A1A !important; }
.in-badge.grade-e{ border-color:#FF1A1A !important; }
/* Hide block when no filters are active */
.facetwp-selections-wrap:has(.facetwp-selections:empty) {
  display: none;
}

/* Layout */
.facetwp-selections-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 12px 0 28px;
}

/* Active Filters label */
.in-active-filters-label {
  color: #ffffff;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Chips container */
.facetwp-selections {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Individual chip */
.facetwp-selection-value {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ffffff;
  padding: 8px 16px;
  color: #ffffff;
  background: #000000;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
  gap: 50px;
}

/* Visual X sits naturally after the text */
.facetwp-selection-value::after {
  content: "×";
  display: inline-block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  pointer-events: none;
}

/* Hide repeated labels like Make:, Model:, etc */
.facetwp-selection-label {
  display: none;
}
.facetwp-counts,
.facetwp-facet-results,
.facetwp-facet-results .facetwp-count {
  color: #6f6f6f;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 8px 0 28px;
}
.in-results-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 8px 0 28px;
}

.in-results-row .facetwp-facet {
  margin-bottom: 0;
}

.in-results-row,
.in-results-row .facetwp-count,
.in-results-row .facetwp-facet-results {
  color: #6f6f6f;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* =========================
   MAIN FILTER ROW
========================= */

.in-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;   /* important */
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 36px 0 26px;
}

/* Prevent any child from shrinking and shifting */
.in-filter-bar > * {
  flex-shrink: 0;
}

/* Main dropdown wrappers */
.in-filter-box {
  position: relative;
  flex: 0 0 auto;
}

.in-filter-box .facetwp-facet {
  margin: 0 !important;
}

/* Fixed widths */
.in-filter-box.make-box,
.in-filter-box.model-box {
  width: 250px;
}

.in-filter-box.stage-box,
.in-filter-box.grade-box {
  width: 180px;
}

/* Main dropdown styling */
.in-filter-box select,
.in-filter-box .fs-wrap {
  width: 100%;
  height: 46px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0;
  padding: 0 40px 0 18px;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.in-filter-box select:hover,
.in-filter-box select:focus,
.in-filter-box .fs-wrap:hover,
.in-filter-box .fs-wrap:focus-within {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  outline: none;
  box-shadow: none;
}

.in-filter-box select option {
  background: #000000;
  color: #ffffff;
}

/* Main dropdown arrow */
.in-filter-box::after {
  content: "∨";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  transition: color 0.2s ease;
}

.in-filter-box:hover::after,
.in-filter-box:focus-within::after {
  color: #000000;
}

.in-filter-box .facetwp-facet-label {
  display: none;
}

/* =========================
   SORT BY
========================= */

.in-sort-box {
  position: relative;
  flex: 0 0 120px;
  width: 120px;
}

.in-sort-box .facetwp-facet {
  margin: 0 !important;
}

.in-sort-box select,
.in-sort-box .facetwp-sort-select {
  width: 100%;
  height: 46px;
  background: transparent !important;
  color: #ffffff;
  border: none !important;
  border-radius: 0;
  padding: 0 20px 0 0;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.in-sort-box::after {
  content: "∨";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}

/* =========================
   REFINE SEARCH
========================= */

.refine-button,
.refine-trigger {
  height: 46px;
  width: 210px;
  min-width: 210px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.refine-button:hover,
.refine-trigger:hover {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

/* =========================
   SEARCH ICON
========================= */

.in-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  cursor: pointer;
  flex: 0 0 46px;
}

.in-search-trigger svg,
.in-search-trigger i {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

/* =========================
   UTILITY ROW
========================= */

.in-utility-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;     /* important */
  gap: 22px;
  width: 100%;
  margin: 8px 0 28px;
}

.in-utility-left {
  display: flex;
  align-items: center;     /* important */
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================
   ACTIVE FILTERS
========================= */

.facetwp-selections-wrap:has(.facetwp-selections:empty) {
  display: none;
}

.facetwp-selections-wrap {
  display: flex;
  align-items: center;     /* important */
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 !important;
}

.in-active-filters-label {
  color: #ffffff;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.facetwp-selections {
  display: flex;
  align-items: center;     /* important */
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 !important;
}

.facetwp-selection-value {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #ffffff;
  padding: 8px 16px;
  color: #ffffff;
  background: #000000;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
  margin: 0 !important;
}

.facetwp-selection-value::after {
  content: "×";
  display: inline-block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  pointer-events: none;
}

.facetwp-selection-label {
  display: none;
}

/* =========================
   CLEAR FILTERS
========================= */

.in-clear-box,
.in-clear-box .facetwp-facet {
  display: flex;
  align-items: center;     /* important */
  margin: 0 !important;
}

.in-clear-box .facetwp-reset,
.in-clear-box .facetwp-facet-reset button,
.in-clear-box .facetwp-facet-reset input,
.in-clear-box button {
  height: 34px;
  background: transparent;
  border: 1px solid #FF1A1A !important;
  color: #FF1A1A !important;
  border-radius: 0;
  padding: 0 14px;
  box-shadow: none;
  outline: none;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 34px;
  margin: 0 !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.in-clear-box .facetwp-reset:hover,
.in-clear-box .facetwp-facet-reset button:hover,
.in-clear-box .facetwp-facet-reset input:hover,
.in-clear-box button:hover {
  background: #FF1A1A !important;
  color: #000000 !important;
  border-color: #FF1A1A !important;
}

.in-clear-box::after {
  display: none !important;
  content: none !important;
}
/* Hide Clear Filters when no filters are active */
.in-utility-row:not(:has(.facetwp-selections-wrap .facetwp-selection-value)) .in-clear-box {
  display: none;
}
/* Hide Clear Filters container when there are no active selections */
.in-utility-row:not(:has(.facetwp-selection-value)) .in-clear-box {
    display: none !important;
}
/* FORCE spacing + hover on active filter chips */
.facetwp-selections {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

.facetwp-selection-value {
  display: inline-flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
  border: 1px solid #ffffff !important;
  padding: 8px 16px !important;
  background: #000000 !important;
  color: #ffffff !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.facetwp-selection-value:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.facetwp-selection-value:hover::after {
  color: #000000 !important;
}
.facetwp-selections > * {
  margin-right: 12px !important;
}

.facetwp-selections > *:last-child {
  margin-right: 0 !important;
}
/* ACTIVE FILTER CHIP LAYOUT FIX */
.facetwp-selections {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

/* each chip wrapper */
.facetwp-selections > * {
  margin: 0 !important;
  display: inline-flex !important;
}

/* actual clickable chip */
.facetwp-selection-value,
.facetwp-selections > * > a,
.facetwp-selections > * > span,
.facetwp-selections > * > div {
  display: inline-flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  border: 1px solid #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

/* hover */
.facetwp-selection-value:hover,
.facetwp-selections > * > a:hover,
.facetwp-selections > * > span:hover,
.facetwp-selections > * > div:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.facetwp-selection-value:hover::after,
.facetwp-selections > * > a:hover::after,
.facetwp-selections > * > span:hover::after,
.facetwp-selections > * > div:hover::after {
  color: #000000 !important;
}
/* Force real spacing between active filter chips */
.facetwp-selections {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0 !important; /* turn off fake gap */
}

.facetwp-selections > * {
  display: inline-flex !important;
  margin-right: 12px !important;
}

.facetwp-selections > *:last-child {
  margin-right: 0 !important;
}

/* Chip styling */
.facetwp-selection-value,
.facetwp-selections > * > a,
.facetwp-selections > * > span,
.facetwp-selections > * > div {
  display: inline-flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 8px 16px !important;
  border: 1px solid #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

/* Hover */
.facetwp-selection-value:hover,
.facetwp-selections > * > a:hover,
.facetwp-selections > * > span:hover,
.facetwp-selections > * > div:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.facetwp-selection-value:hover::after,
.facetwp-selections > * > a:hover::after,
.facetwp-selections > * > span:hover::after,
.facetwp-selections > * > div:hover::after {
  color: #000000 !important;
}
/* Active filter chip spacing, surgical fix */
.facetwp-selections {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

.facetwp-selection-value {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

/* keep the accidental-good X formatting */
.facetwp-selection-value::after {
  margin-left: 18px !important;
}
/* Fix active filter chip spacing for FacetWP list markup */
.facetwp-selections ul {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.facetwp-selections li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: inline-flex !important;
}

.facetwp-selection-value {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

/* keep the X spacing */
.facetwp-selection-value::after {
  margin-left: 18px !important;
}
/* Refine Search button size adjustment */
.refine-button,
.refine-trigger {
  width: 180px !important;
  min-width: 180px !important;
}
/* Index search popup */
.facetwp-facet-search input[type="text"],
.facetwp-search {
  width: 100%;
  height: 64px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0;
  padding: 0 22px;
  box-shadow: none;
  outline: none;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facetwp-facet-search input[type="text"]::placeholder,
.facetwp-search::placeholder {
  color: #ffffff;
  opacity: 0.65;
}
/* Popup close icon */
.dialog-close-button,
.elementor-popup-modal .dialog-close-button {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.elementor-popup-modal .dialog-close-button svg {
  fill: #ffffff !important;
}
/* SEARCH OVERLAY */
.in-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  padding: 140px 40px 40px;
  box-sizing: border-box;
}

.in-search-overlay.is-open {
  display: block;
}

.in-search-overlay .elementor-widget-container,
.in-search-overlay .facetwp-facet {
  max-width: 900px;
  margin: 0 auto;
}

.in-search-overlay h1,
.in-search-overlay h2,
.in-search-overlay h3,
.in-search-overlay .elementor-heading-title {
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
}

/* SEARCH INPUT */
.in-search-overlay .facetwp-facet-search,
.in-search-overlay .facetwp-input-wrap {
  width: 100%;
}

.in-search-overlay .facetwp-facet-search input[type="text"] {
  width: 100%;
  height: 72px;
  background: #000000;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0 24px;
  box-sizing: border-box;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
  box-shadow: none;
}

.in-search-overlay .facetwp-facet-search input[type="text"]::placeholder {
  color: #ffffff;
  opacity: 0.6;
}

/* SEARCH ICON INSIDE FIELD */
.in-search-overlay .facetwp-icon {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* CLOSE ICON */
.in-search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
  z-index: 10000;
}

.in-search-close svg,
.in-search-close i {
  width: 28px;
  height: 28px;
  color: #ffffff;
  fill: #ffffff;
}
.in-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.96);
}

.in-search-overlay.is-open {
  display: block;
}
/* =========================
   SEARCH OVERLAY
========================= */

.in-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.96);
  padding: 140px 40px 40px;
  box-sizing: border-box;
}

.in-search-overlay.is-open {
  display: block;
}

/* Inner layout */
.in-search-overlay .elementor-container,
.in-search-overlay .elementor-widget-container,
.in-search-overlay .facetwp-facet {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.in-search-overlay .elementor-heading-title {
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
}

/* Force the FacetWP search to display */
.in-search-overlay .facetwp-facet-search,
.in-search-overlay .facetwp-input-wrap {
  display: block !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* The actual search input */
.in-search-overlay .facetwp-facet-search input[type="text"] {
  display: block !important;
  width: 100% !important;
  height: 72px !important;
  background: #000000 !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  font-family: var(--e-global-typography-data-label-font-family) !important;
  font-weight: var(--e-global-typography-data-label-font-weight) !important;
  font-size: 18px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  outline: none !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Placeholder */
.in-search-overlay .facetwp-facet-search input[type="text"]::placeholder {
  color: #ffffff !important;
  opacity: 0.65 !important;
}

/* Search icon inside field */
.in-search-overlay .facetwp-icon {
  color: #ffffff !important;
  fill: #ffffff !important;
  opacity: 1 !important;
}

/* Close icon */
.in-search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
  z-index: 100000;
}

.in-search-close svg,
.in-search-close i {
  width: 28px;
  height: 28px;
  color: #ffffff !important;
  fill: #ffffff !important;
}
/* Search result count */
.in-search-result-count {
  margin-top: 20px;
  text-align: center;
  color: #ffffff;
  font-family: var(--e-global-typography-data-label-font-family);
  font-weight: var(--e-global-typography-data-label-font-weight);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.in-count-number {
  font-weight: 600;
}
/* smooth grid refresh */
.facetwp-template {
  transition: opacity 0.25s ease;
}

.facetwp-loading .facetwp-template {
  opacity: 0.35;
}
.in-search-overlay {
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.85);
}
.in-search-result-count {
  transition: opacity 0.25s ease;
}
.in-filter-bar {
  position: sticky;
  top: 0;
  background: #000;
  z-index: 50;
}
.in-gauge {
  width: 100%;
  max-width: 150px;
}

.in-gauge-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.in-gauge-arc {
  fill: none;
  stroke: rgba(255,255,255,0.25);
  stroke-width: 2;
}

.in-gauge-tick {
  stroke: rgba(255,255,255,0.55);
  stroke-width: 1.5;
}

.in-gauge-needle {
  stroke: var(--gauge-color, #56FF3B);
  stroke-width: 3;
  stroke-linecap: round;
  transform-origin: 100px 100px;
  transition: transform 2.6s ease;
}

.in-gauge-center {
  fill: var(--gauge-color, #56FF3B);
}

.in-gauge-value {
  display: none !important;
}
.in-lifecycle-graph-wrap {
  width: 100%;
  max-width: 780px;
  margin-left: auto;
}

.in-lifecycle-line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.in-lifecycle-point {
  fill: #ffffff;
  transition: fill 0.3s ease, r 0.3s ease, stroke 0.3s ease;
}

.in-lifecycle-point.is-active {
  fill: #56FF3B;
  stroke: rgba(86,255,59,0.25);
  stroke-width: 10;
}

.in-lifecycle-stage-number,
.in-lifecycle-stage-name {
  fill: rgba(255,255,255,0.78);
  text-anchor: middle;
  text-transform: uppercase;
}

.in-lifecycle-stage-number {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.in-lifecycle-stage-name {
  font-size: 14px;
  letter-spacing: 0.06em;
}

.in-lifecycle-pattern-value,
.in-stage-value {
  display: none !important;
}
.in-stage-value {
  display: none !important;
}

.in-stage-block {
  display: flex;
}

.in-stage-block.is-hidden {
  display: none !important;
}
.in-stage-value {
  display: none !important;
}

.in-stage-block.is-hidden {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.in-four-stage-graph svg {
width:100%;
height:auto;
}
const stage = parseInt(stageText);
const dots = document.querySelectorAll('.stage-dot');

dots[stage-1].style.fill = '#52FF8F';
.in-four-stage-graph {
  width: 100%;
  max-width: 100%;
  display: block;
}

.in-four-stage-graph svg {
  width: 100%;
  height: 420px;
  display: block;
}

.in-grid line {
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1;
}

.in-line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.5s ease;
}

.in-point {
  fill: #ffffff;
  transition: all 0.35s ease;
}

.in-point.active {
  fill: #57ff3d;
  stroke: rgba(87,255,61,0.35);
  stroke-width: 12;
}

.in-stage-text {
  fill: rgba(255,255,255,0.75);
  text-anchor: middle;
  font-family: inherit;
}

.in-stage-number {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.in-stage-name {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.in-stage-value {
  display: none !important;
}
.in-creator-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 5px;
    row-gap: 48px;
    width: 100%;
}

.in-creator-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 5px;
    row-gap: 48px;
    width: 100%;
}

/* IMAGE */

.in-review-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    margin-bottom: 14px;
    cursor: pointer;
}

.in-review-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.in-review-card__media:hover .in-review-card__image {
    transform: scale(1.03);
}

/* PLAY BUTTON */

.in-review-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0,0,0,0.48);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
}

.in-review-card__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-32%, -50%);
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* CREATOR NAME */

.in-review-card__creator {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 0.9px;
    margin: 0 0 10px 0;
    color: #fff;
}

/* REVIEW TITLE */

.in-review-card__title {
    font-family: "Suisse Int'l Mono", monospace;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 0.1px;
    margin: 0 0 6px 0;
    color: rgba(255,255,255,0.92);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 32px;
}

/* DURATION */

.in-review-card__duration {
    font-family: "Suisse Int'l Mono", monospace;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.1px;
    color: rgba(255,255,255,0.9);
    margin: 0;
}
.in-video-lightbox[hidden] {
    display: none;
}

.in-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.in-video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(6px);
}

.in-video-lightbox__dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 1280px);
    margin: 4vh auto 0;
}

.in-video-lightbox__close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.in-video-lightbox__close::before,
.in-video-lightbox__close::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 5px;
    width: 24px;
    height: 1.5px;
    background: #fff;
}

.in-video-lightbox__close::before {
    transform: rotate(45deg);
}

.in-video-lightbox__close::after {
    transform: rotate(-45deg);
}

.in-video-lightbox__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.in-video-lightbox__iframe {
    width: 100%;
    height: 100%;
}

.in-video-open {
    overflow: hidden;
}
.in-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.in-video-modal.is-open {
    display: block;
}

.in-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(6px);
}

.in-video-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 1280px);
    margin: 4vh auto 0;
}

.in-video-modal__close {
    position: absolute;
    top: -30px;
    right: 0;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}
}

.in-video-modal__close::before,
.in-video-modal__close::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 5px;
    width: 24px;
    height: 1.5px;
    background: #fff;
}

.in-video-modal__close::before {
    transform: rotate(45deg);
}

.in-video-modal__close::after {
    transform: rotate(-45deg);
}

.in-video-modal__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.in-video-modal__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.in-video-open {
    overflow: hidden;
}
.in-video-modal__close:hover::before,
.in-video-modal__close:hover::after {
    background: #FF1A1A;
}
.in-video-modal__close::before,
.in-video-modal__close::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 5px;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: background 0.2s ease;
}
.in-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.in-video-modal.is-open {
    display: block;
    opacity: 1;
}

.in-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.in-video-modal.is-open .in-video-modal__backdrop {
    opacity: 1;
}

.in-video-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 1280px);
    margin: 4vh auto 0;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.in-video-modal.is-open .in-video-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.in-video-modal__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    overflow: hidden;
}

.in-video-modal__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.in-video-modal__close {
    position: absolute;
    top: -32px;
    right: 0;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.in-video-modal__close::before,
.in-video-modal__close::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 5px;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.in-video-modal__close::before {
    transform: rotate(45deg);
}

.in-video-modal__close::after {
    transform: rotate(-45deg);
}

.in-video-modal__close:hover::before,
.in-video-modal__close:hover::after {
    background: #FF1A1A;
}

.in-video-modal__close:hover::before {
    transform: rotate(45deg) scaleX(1.08);
}

.in-video-modal__close:hover::after {
    transform: rotate(-45deg) scaleX(1.08);
}
/* CARD IMAGE CONTAINER */

.in-review-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

/* IMAGE */

.in-review-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.45s ease;
}

/* DARK HOVER OVERLAY */

.in-review-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.35s ease;
}

/* PLAY BUTTON */

.in-review-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%) scale(.92);
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease, background .25s ease;
}

/* PLAY ICON */

.in-review-card__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-32%, -50%);
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* HOVER EFFECTS */

.in-review-card__media:hover .in-review-card__image {
    transform: scale(1.06);
}

.in-review-card__media:hover::after {
    background: rgba(0,0,0,0.25);
}

.in-review-card__media:hover .in-review-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* PLAY BUTTON HOVER */

.in-review-card__play:hover {
    background: #FF1A1A;
}
.in-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.in-similar-item {
    min-width: 0;
}

@media (max-width: 1024px) {
    .in-similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .in-similar-grid {
        grid-template-columns: 1fr;
    }
}