/* Radar protects across every industry — carousel section */

.ent-industry {
  --ent-ind-border: #e3e8ee;
  --ent-ind-bg: #fff;
  --ent-ind-text: #0a2540;
  --ent-ind-text-soft: #425466;
  --ent-ind-brand: #635bff;
  --ent-ind-gap: 1.5rem;
  /* visible cards + peek fraction of the next card */
  --ent-ind-visible: 1.32;
  --ent-ind-gap-count: 1;

  background: var(--ent-ind-bg);
  color: var(--ent-ind-text);
  font-family: sohne-var, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  overflow-x: clip;
}


.ent-industry__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ent-industry__title {
  margin: 0;
  max-width: min(28rem, 70%);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ent-ind-text);
}

@media (max-width: 639px) {
  .ent-industry__title {
    max-width: 100%;
  }
}

/* Nav buttons */
.ent-industry__nav {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
  margin: 0;
  padding-top: 0.15rem;
}

.ent-industry__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #eef1f6;
  color: #8792a2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ent-industry__nav-btn:not(:disabled) {
  background: #f0edff;
  color: var(--ent-ind-brand);
  pointer-events: auto;
  cursor: pointer;
}

.ent-industry__nav-btn:disabled {
  cursor: default;
  opacity: 1;
  pointer-events: none;
}

.ent-industry__nav-btn:focus-visible {
  outline: 2px solid var(--ent-ind-brand);
  outline-offset: 2px;
}

.ent-industry__nav-btn svg {
  display: block;
}

/* Carousel track */
.ent-industry__viewport {
  margin-inline: calc(-1 * var(--ent-content-pad));
  padding-inline: var(--ent-content-pad);
}

.ent-industry__track {
  display: flex;
  gap: var(--ent-ind-gap);
  margin: 0;
  padding: 0 0 0.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--ent-content-pad);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ent-industry__track::-webkit-scrollbar {
  display: none;
}

.ent-industry__slide {
  flex: 0 0 calc((100% - (var(--ent-ind-gap-count) * var(--ent-ind-gap))) / var(--ent-ind-visible));
  min-width: 0;
  scroll-snap-align: start;
  list-style: none;
}

/* Mobile: 1 full card + peek of the 2nd */
@media (min-width: 640px) {
  .ent-industry {
    --ent-ind-visible: 2.5;
    --ent-ind-gap-count: 2;
  }
}

/* Tablet: 2 full cards + half of the 3rd */
@media (min-width: 940px) {
  .ent-industry {
    --ent-ind-visible: 3.22;
    --ent-ind-gap-count: 3;
  }
}

/* Desktop: 3 full cards + peek of the 4th */
.ent-industry__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--ent-ind-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04), 0 4px 16px rgba(10, 37, 64, 0.04);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (pointer: fine) and (hover: hover) {
  .ent-industry__card:hover {
    box-shadow: 0 2px 4px rgba(10, 37, 64, 0.06), 0 8px 24px rgba(10, 37, 64, 0.08);
    transform: translateY(-1px);
  }

  .ent-industry__card:hover .ent-industry__card-link {
    color: #5851ea;
  }
}

.ent-industry__card-logo {
  display: flex;
  align-items: center;
  min-height: 3.75rem;
  margin-bottom: 1.25rem;
}

.ent-industry__card-logo img {
  display: block;
  height: auto;
  max-height: 3.75rem;
  width: auto;
  max-width: 130px;
}

.ent-industry__card-title {
  margin: 0 0 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ent-ind-text);
}

.ent-industry__card-desc {
  margin: 0 0 1.5rem;
  flex: 1;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ent-ind-text-soft);
}

.ent-industry__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: auto;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ent-ind-brand);
  transition: color 0.15s ease;
}

.ent-industry__card-link span {
  font-size: 1.1em;
  line-height: 1;
}
