/* CSS for Benchmarks Layout */

.acf-layout-benchmarks {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  z-index: 1;
}

/* Dynamic background glow positioned in the top-right */
.benchmarks-glow-tr {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 594px;
  height: 594px;
  opacity: 0.5;
  filter: blur(160px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.benchmarks-header-row {
  margin-bottom: 50px;
}

.benchmarks-heading {
  text-align: center;
}

.benchmarks-grid {
  row-gap: 30px;
}

.benchmarks-col {
  display: flex;
  justify-content: center;
}

/* Beautiful custom glow & noise card gradient matching Figma spec */
.benchmark-card {
  width: 100%;
  height: 370px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  background-color: #000000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.benchmark-card-top {
  display: flex;
  flex-direction: column;
}

.benchmark-card-icon-wrap {
  display: flex;
  align-items: center;
}

.benchmark-card-icon {
  width: auto;
  max-width: 50px;
  height: auto;
}

.benchmark-card-stat {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.benchmark-card-bottom {
  display: flex;
  flex-direction: column;
}

.benchmark-card-content-text {
  margin: 0;
}

.benchmark-card-number {
  font-family: var(--font-secondary);
  font-weight: 800;
  /* font-size: 48px; */
  font-size: clamp(1.5rem, 0.9429rem + 2.2857vw, 3rem);
  text-transform: capitalize;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .benchmark-card {
    max-width: 100%; /* fill column on tablet/mobile */
  }

  .benchmarks-header-row {
    margin-bottom: 35px;
  }

  .benchmark-card {
    height: 330px;
  }
  .benchmarks-glow-tr {
    right: 0;
  }
}
