/* Holographic 3D Carousel Style Suffix: b826ebd8 */
:root {
  --holo-glow-color: #FF4C4C;
  --holo-accent-color: #D75886;
  --holo-spacing-offset: 120px;
  --float-amp: 15px;
  --float-dur: 4s;
  --card-width: 280px;
  --card-height: 380px;
  --title-base-size: 18px;
}

.holo-viewport-b826ebd8 {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  background: radial-gradient(circle at center, #1b1622 0%, #08070b 100%);
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
}

/* CRT Scanlines and flicker */
.crt-overlay-b826ebd8 {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 10;
  pointer-events: none;
}

.crt-flicker-b826ebd8 {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 16, 0.02);
  opacity: 0.15;
  z-index: 11;
  pointer-events: none;
  animation: holoFlicker_b826ebd8 0.15s infinite;
}

@keyframes holoFlicker_b826ebd8 {
  0% { opacity: 0.1; }
  50% { opacity: 0.14; }
  100% { opacity: 0.08; }
}

.scroll-tip-b826ebd8 {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--holo-glow-color);
  box-shadow: 0 0 12px var(--holo-glow-color);
  text-transform: uppercase;
  pointer-events: none;
}

.pulse-icon-b826ebd8 {
  color: var(--holo-accent-color);
  display: inline-block;
  animation: pulse_b826ebd8 1s infinite alternate;
}

@keyframes pulse_b826ebd8 {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

/* 3D Scene - Size set dynamically via Elementor controls */
.holo-scene-b826ebd8 {
  width: var(--card-width);
  height: var(--card-height);
  position: relative;
  perspective: 1600px;
  z-index: 5;
  pointer-events: none;
}

.holo-carousel-b826ebd8 {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  cursor: grab;
  pointer-events: auto;
}

.holo-carousel-b826ebd8:active {
  cursor: grabbing;
}

/* 3D Cards - dimensions bound to custom properties */
.holo-card-b826ebd8 {
  position: absolute;
  width: var(--card-width);
  height: var(--card-height);
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  backface-visibility: visible;
  animation: floatAnim_b826ebd8 var(--float-dur, 4s) ease-in-out infinite;
  animation-delay: calc(var(--card-index) * -0.6s);
}

@keyframes floatAnim_b826ebd8 {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: calc(-1 * var(--float-amp, 15px));
  }
}

.holo-card-link-b826ebd8 {
  display: block;
  text-decoration: none !important;
  color: #fff !important;
  width: 100%;
  height: 100%;
}

.holo-card-inner-b826ebd8 {
  width: 100%;
  height: 100%;
  background: rgba(10, 8, 15, 0.9);
  border: 2px solid var(--holo-glow-color);
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 20px rgba(255, 76, 76, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(8px);
}

.holo-card-b826ebd8:hover .holo-card-inner-b826ebd8 {
  border-color: var(--holo-accent-color);
  box-shadow: 0 0 35px var(--holo-accent-color);
  transform: scale(1.02);
}

.holo-thumb-wrap-b826ebd8 {
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.holo-thumb-b826ebd8 {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: hue-rotate(15deg) saturate(1.2) brightness(0.9);
  transition: transform 0.5s ease;
}

.holo-card-b826ebd8:hover .holo-thumb-b826ebd8 {
  transform: scale(1.08);
}

.holo-card-meta-b826ebd8 {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.holo-card-date-b826ebd8 {
  font-size: 11px;
  color: var(--holo-accent-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

.holo-card-title-b826ebd8 {
  margin: 4px 0 0 0;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.25;
  word-break: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  
  /* Auto-scaling formula combining base-size slider with character length modifier */
  font-size: clamp(10px, calc(var(--title-base-size, 18px) - (var(--title-len, 14) * 0.12px)), var(--title-base-size, 18px));
}

/* Nav Arrows Styles */
.holo-arrow-b826ebd8 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  background: rgba(10, 8, 15, 0.85);
  border: 1px solid var(--holo-glow-color);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 76, 76, 0.2);
  transition: all 0.3s ease;
}

.holo-arrow-b826ebd8:hover {
  background: var(--holo-glow-color);
  box-shadow: 0 0 20px var(--holo-glow-color);
  color: #000;
}

.holo-arrow-left-b826ebd8 {
  left: 40px;
}

.holo-arrow-right-b826ebd8 {
  right: 40px;
}

/* Tablet & Mobile responsive adaptations using CSS variables */
@media screen and (max-width: 768px) {
  .holo-viewport-b826ebd8 {
    height: 70vh;
  }
  .holo-scene-b826ebd8 {
    perspective: 800px;
  }
  .holo-arrow-b826ebd8 {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .holo-arrow-left-b826ebd8 {
    left: 15px;
  }
  .holo-arrow-right-b826ebd8 {
    right: 15px;
  }
}
