/* Seven - Curved 3D Cylinder Row Carousel Styles */
/* Hero Brutalist Aesthetic: Sharp Grotesk, #FFFFFF Solid Card, 3.5px Solid Black Borders, 6px Offset Shadow, Zero Radius */

.flex-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  padding: 16px 0 10px 0;
}

.flex-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.flex-carousel[data-dragging="true"] {
  cursor: grabbing !important;
}

.flex-carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.flex-carousel-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

/* 3D Cylinder Cards - Hero Brutalist Style */
.flex-carousel-card {
  position: absolute;
  top: 15px;
  left: 0;
  height: 460px;
  box-sizing: border-box;
  background: #FFFFFF !important;
  border: 3.5px solid #000000 !important;
  border-radius: 0px !important;
  box-shadow: 6px 6px 0px #000000 !important;
  overflow: hidden;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, border-color, box-shadow;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  color: #000000 !important;
}

/* Active Center Card: Extra Punchy Shadow */
.flex-carousel-card.is-active {
  border: 4px solid #000000 !important;
  box-shadow: 8px 8px 0px #00C8FF, 8px 8px 0px 4px #000000 !important;
  z-index: 10;
}

.flex-carousel-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px #000000 !important;
}

.flex-carousel-card.is-active:hover {
  box-shadow: 10px 10px 0px #00C8FF, 10px 10px 0px 4px #000000 !important;
}

/* Card Header */
.seven-card-top-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.seven-cyan-square {
  width: 12px;
  height: 12px;
  border-radius: 0px !important;
  background-color: #00C8FF !important;
  border: 1.5px solid #000000;
  flex-shrink: 0;
}

.seven-card-step-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  background: #F0F0F0;
  padding: 2px 8px;
  border: 1px solid #000000;
  border-radius: 0px !important;
}

/* Display Heading - Sharp Grotesk Hero Brutalist */
.seven-card-display-heading {
  font-family: 'Sharp Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  color: #000000 !important;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* Editorial Body Text */
.seven-card-body-text {
  font-family: 'Host Grotesk', -apple-system, system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #2A2A2A !important;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Architectural Tags Row - Zero Radius Brutalist Chips */
.seven-card-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid #000000;
}

.seven-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 0px !important;
  background: #F4F4F4 !important;
  border: 1.5px solid #000000 !important;
  color: #000000 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.seven-hero-chip:hover {
  background: #00C8FF !important;
  color: #000000 !important;
}

/* Counter Reel */
.flex-carousel__count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  color: #000000;
  letter-spacing: 0.05em;
  line-height: 1;
}

.flex-carousel__digits {
  display: inline-flex;
  height: 1em;
  overflow: hidden;
}

.flex-carousel__digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  width: 0.65em;
  text-align: center;
}

.flex-carousel__reel {
  display: flex;
  flex-direction: column;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flex-carousel__reel span {
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-carousel__slash {
  opacity: 0.5;
  margin: 0 2px;
}

/* Navigation Buttons - Hero Brutalist Square */
.flex-carousel-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 0px !important;
  border: 2px solid #000000 !important;
  background: #FFFFFF !important;
  color: #000000 !important;
  box-shadow: 2px 2px 0px #000000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s ease;
}

.flex-carousel-nav-btn:hover {
  background: #000000 !important;
  color: #FFFFFF !important;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000000 !important;
}

.flex-carousel-nav-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px #000000 !important;
}

@media (max-width: 768px) {
  .flex-carousel {
    height: 490px;
  }
  .flex-carousel-viewport {
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .flex-carousel-card {
    height: 440px;
    padding: 24px 20px;
    border-radius: 0px !important;
  }
  .seven-card-display-heading {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
    word-break: break-word;
  }
  .seven-card-body-text {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .seven-hero-chip {
    padding: 4px 8px;
    font-size: 10px;
  }
}
