/* ===== Materials Grid Redesign (Trigger.dev Inspired Layout, Custom Colors) ===== */

/* Override the section background to a solid blue theme */
.materials-section {
  padding: 60px 20px !important;
  background: #1E40AF !important;
  /* Solid blue, no gradient */
}

/* Hide the old vertical line and connectors completely */
.vertical-line-container,
.zigzag-connector {
  display: none !important;
}

/* Use Flexbox to center items when there are less than 3 */
.zigzag-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 48px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
}

/* Each item becomes a flex card (White glassmorphic design) */
.zigzag-item,
.zigzag-item:nth-child(odd),
.zigzag-item:nth-child(even) {
  display: flex;
  flex-direction: column !important;
  flex: 1 1 350px !important;
  max-width: 368px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, outline-color 0.4s ease, outline-offset 0.4s ease !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
  position: relative !important;
  text-align: left !important;
  align-items: stretch !important;
  gap: 0 !important;
  outline: 2px solid transparent !important;
  outline-offset: 4px !important;
  cursor: pointer !important;
}

.zigzag-item:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(251, 191, 36, 0.8) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 0 25px rgba(251, 191, 36, 0.25) !important;
  outline-color: #fbbf24 !important;
  outline-offset: 8px !important;
}

/* Disable AOS revealing animation so all cards load at once */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Visual cover header on the card */
.card-visual {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  /* Taller for clear PDF page preview */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 16px 20px !important;
  overflow: hidden !important;
  z-index: 1 !important;
  background: transparent !important;
  /* Clear background for PDF area */
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* Accent top bar based on category theme - REMOVED per feedback */
.card-visual::after {
  display: none !important;
}

/* Bottom gradient overlay to make category label legible against light PDF covers */
.card-visual::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, rgba(30, 64, 175, 0.02) 0%, rgba(15, 23, 42, 0.4) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* CSS-based grid lines overlay for background details */
.card-visual-grid {
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
  background-size: 16px 16px !important;
  opacity: 0.8 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Image rendering first page of PDF */
.card-preview-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0.95 !important;
  transition: transform 0.4s ease, opacity 0.4s ease !important;
  overflow: hidden !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}

.zigzag-item:hover .card-preview-img {
  transform: scale(1.02) !important;
  opacity: 1 !important;
}

/* Minimalistic PDF Loader Overlay for Cards */
.pdf-loading-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  background: #f8fafc !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
  pointer-events: none !important;
}

.pdf-loading-overlay.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

.pdf-spinner-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

.pdf-spinner {
  width: 32px !important;
  height: 32px !important;
  border: 3px solid rgba(37, 99, 235, 0.15) !important;
  border-top-color: #2563eb !important;
  border-right-color: #fbbf24 !important;
  border-radius: 50% !important;
  animation: pdfSpinnerRotate 0.8s linear infinite !important;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.15) !important;
}

@keyframes pdfSpinnerRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.pdf-loading-text {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  letter-spacing: 0.2px !important;
  animation: pdfTextPulse 1.4s ease-in-out infinite alternate !important;
}

@keyframes pdfTextPulse {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.doc-icon-badge {
  display: none !important;
}

.card-category {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  z-index: 2 !important;
  margin-top: auto !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* Accent top bars based on category theme */
.blueprint-theme::after {
  background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%) !important;
}

.walkthrough-theme::after {
  background: linear-gradient(90deg, #065f46 0%, #10b981 100%) !important;
}

.specification-theme::after {
  background: linear-gradient(90deg, #4c1d95 0%, #6366f1 100%) !important;
}

.capability-theme::after {
  background: linear-gradient(90deg, #92400e 0%, #f59e0b 100%) !important;
}

.strategy-theme::after {
  background: linear-gradient(90deg, #831843 0%, #ec4899 100%) !important;
}

.casestudy-theme::after {
  background: linear-gradient(90deg, #581c87 0%, #8b5cf6 100%) !important;
}

/* Lead Gate Form Container - DEPRECATED */
.lead-gate-form-container {
  display: none !important;
}

/* The summary content (Second Layer) */
.zigzag-content {
  order: 2 !important;
  /* Force to middle */
  padding: 20px 20px 48px 20px !important;
  /* Static bottom padding to fit rectangular button */
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.material-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.material-card::after {
  display: none !important;
}

.material-card h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  /* Dark Slate */
  text-align: left !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.3 !important;
}

.material-card p {
  font-size: 0.9rem !important;
  color: #475569 !important;
  /* Slate-600 */
  line-height: 1.5 !important;
  margin: 0 !important;
  text-align: left !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 7 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: calc(1.5em * 7) !important;
  flex-grow: 1 !important;
}


/* Card description area centered rectangle arrow button */
.card-arrow-btn {
  position: absolute !important;
  bottom: 12px !important;
  left: 50% !important;
  right: auto !important;
  width: 90px !important;
  height: 34px !important;
  border-radius: 8px !important;
  background: #fbbf24 !important;
  /* Gold */
  color: #0f172a !important;
  /* Dark Slate */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3) !important;
  opacity: 0 !important;
  transform: translateX(-50%) translateY(12px) !important;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease !important;
  z-index: 2 !important;
}

.card-arrow-btn svg {
  width: 24px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
}

.zigzag-item:hover .card-arrow-btn {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45) !important;
}

.zigzag-item:hover .card-arrow-btn:hover {
  background: #f59e0b !important;
  /* Darker yellow hover state */
}

/* Extracted from materials.html */
body {
  background-color: #ffffff;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.25) 1px, transparent 1.5px);
  background-size: 32px 32px;
  color: #111827;
  overflow-x: hidden;
}

/* Dynamic Glassmorphism / Animated Backgrounds */
.materials-hero {
  position: relative;
  padding: 16px 0 clamp(60px, 7vw, 80px);
  background:
    radial-gradient(circle at 10% 20%, rgba(30, 64, 175, 0.18), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(251, 191, 36, 0.22), transparent 45%),
    linear-gradient(180deg, #edf5ff 0%, #ffffff 100%),
    url('/assets/dex-triangle-mark.png') no-repeat 0 0 / 120px auto;
  overflow: hidden;
}

.hero-corner-logo {
  position: absolute;
  top: -50px;
  right: -30px;
  width: 280px;
  height: 280px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-15deg);
  animation: floatTilt 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.6));
}

@keyframes floatTilt {
  0% {
    transform: rotate(-15deg) translateY(0px);
  }

  50% {
    transform: rotate(-10deg) translateY(-15px);
  }

  100% {
    transform: rotate(-15deg) translateY(0px);
  }
}

.materials-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle, rgba(30, 64, 175, 0.5) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.orb-blue {
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.15);
  top: -50px;
  left: -100px;
  animation: floatSlow 12s ease-in-out infinite alternate;
}

.orb-yellow {
  width: 400px;
  height: 400px;
  background: rgba(251, 191, 36, 0.12);
  bottom: -100px;
  right: -150px;
  animation: floatSlow 16s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 30px) scale(1.1);
  }
}

.materials-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-graphic-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 450px;
  position: relative;
}

.network-folder-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.network-folder-outline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 340px;
  pointer-events: none;
}

.network-folder-outline svg {
  width: 100%;
  height: 100%;
  fill: #2563eb;
  filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.6));
}

.net-center-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.8), inset 0 0 20px rgba(96, 165, 250, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 16px;
  z-index: 10;
  animation: pulseCore 3s ease-in-out infinite alternate;
}

.net-center-node span {
  color: #1e3a8a;
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

@keyframes pulseCore {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.95);
  }
}

.net-node {
  position: absolute;
  border-radius: 8px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transform: translate(-50%, -50%);
}

.node-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.node-pdf {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 800;
  font-size: 11px;
}

.node-white {
  background: linear-gradient(135deg, #ffffff, #e5e7eb);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #1e3a8a;
  font-weight: 800;
  font-size: 11px;
}

.nn-1 {
  width: 32px;
  height: 45px;
  top: 15%;
  left: 30%;
}

.nn-2 {
  width: 42px;
  height: 60px;
  top: 30%;
  left: 85%;
}

.nn-3 {
  width: 25px;
  height: 35px;
  top: 75%;
  left: 15%;
}

.nn-4 {
  width: 35px;
  height: 50px;
  top: 85%;
  left: 75%;
}

.nn-5 {
  width: 22px;
  height: 30px;
  top: 40%;
  left: 15%;
}

.nn-6 {
  width: 30px;
  height: 42px;
  top: 60%;
  left: 85%;
}

@keyframes floatNet {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-15px) rotate(10deg);
  }
}

.net-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.net-lines line {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 2.5;
}

.net-lines line.blinker {
  stroke: #ffffff;
  stroke-width: 5;
  stroke-dasharray: 6 244;
  stroke-linecap: round;
  animation: blinkerMove 2s linear infinite;
}

.net-lines line.blinker.b-1 {
  animation-delay: 0.1s;
}

.net-lines line.blinker.b-2 {
  animation-delay: 1.1s;
}

.net-lines line.blinker.b-3 {
  animation-delay: 0.6s;
}

.net-lines line.blinker.b-4 {
  animation-delay: 1.6s;
}

.net-lines line.blinker.b-5 {
  animation-delay: 0.9s;
}

.net-lines line.blinker.b-6 {
  animation-delay: 0.3s;
}

@keyframes blinkerMove {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 250;
  }
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  padding: 16px 32px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.hero-actions .btn-primary:hover {
  background: #fbbf24;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.hero-actions .btn-secondary {
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-actions .btn-secondary:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 800;
  color: #1E40AF !important;
  margin-bottom: 24px;
  box-shadow: none !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-indicator .blinker {
  display: none !important;
}

.materials-hero h1 {
  margin: 0 0 24px;
  color: #111827;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
}

.materials-hero h1 span {
  background: linear-gradient(135deg, #2563eb 20%, #fbbf24 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.materials-hero p {
  max-width: 600px;
  margin: 0;
  color: #4b5563;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
}

.materials-section {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0;
  background: #1E40AF;
  overflow: visible;
  border-radius: 48px 48px 0 0;
}

.materials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 48px 48px 0 0;
  background-image:
    url("/assets/dex-triangle-mark.png"),
    radial-gradient(circle, rgba(251, 191, 36, 0.4) 1.5px, transparent 1.6px);
  background-repeat: no-repeat, repeat;
  background-position: right clamp(-80px, -4vw, -20px) top clamp(22px, 5vw, 78px), 0 0;
  background-size: clamp(330px, 32vw, 560px) auto, 32px 32px;
  background-attachment: fixed, scroll;
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}

.materials-section>.container {
  position: relative;
  z-index: 1;
}

/* Category-styled header for blue region */
.materials-blue-header {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  max-width: 1200px !important;
  margin: 0 auto 30px auto !important;
  padding: 0 20px 24px 20px !important;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15) !important;
}

.materials-header-icon {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(135deg, #fbbf24, #d97706) !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0f172a !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4) !important;
}

.materials-header-icon svg {
  width: 28px !important;
  height: 28px !important;
}

.materials-header-info {
  flex: 1 !important;
  text-align: left !important;
}

.materials-header-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.3px !important;
}

.materials-header-desc {
  font-size: 15px !important;
  color: #bfdbfe !important;
  margin: 0 !important;
  max-width: 800px !important;
  line-height: 1.5 !important;
}

.materials-header-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fbbf24 !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 768px) {
  .materials-blue-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
  }

  .materials-header-badge {
    align-self: flex-start !important;
  }
}

.rt-nav-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5), 0 0 20px rgba(251, 191, 36, 0.3);
}

.rt-nav-menu-icon img {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.8));
}

/* Dynamic Category Filter Tabs (Single Line Horizontal Layout) */
.materials-filter-tabs {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  max-width: 1200px !important;
  margin: 30px auto 20px auto !important;
  padding: 10px 20px !important;
  z-index: 10 !important;
  position: relative !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.materials-filter-tabs::-webkit-scrollbar {
  display: none !important;
}

.filter-tab {
  background: #2563eb !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.filter-tab:hover,
.filter-tab.active {
  background: #fbbf24 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4) !important;
}

@media screen and (max-width: 768px) {
  .materials-filter-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 10px !important;
    width: 100% !important;
  }

  .materials-filter-tabs .filter-tab {
    flex: 0 0 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
  }


  body .zigzag-container .zigzag-item .zigzag-content .card-arrow-btn,
  body .zigzag-item .card-arrow-btn,
  .card-arrow-btn {
    position: absolute !important;
    width: 90px !important;
    max-width: 90px !important;
    min-width: 90px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    left: 50% !important;
    right: auto !important;
    bottom: 12px !important;
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}