.investi-oam-module {
  overflow: hidden;
  position: relative;
  padding-bottom: 10px;
}

.oam-track {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 5px;
  padding-bottom: 15px;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.oam-track::-webkit-scrollbar {
  display: none;
}

.oam-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.oam-dot-btn {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--text-secondary);
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.oam-dot-btn:hover {
  opacity: 0.8;
}

.oam-dot-btn.active {
  width: 24px;
  border-radius: 10px;
  background-color: var(--accent-color);
  opacity: 1;
  box-shadow: 0 0 8px -2px var(--accent-color);
}

.investi-nav-arrow.oam-nav-arrow:disabled {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.investi-nav-arrow.oam-nav-arrow svg {
  stroke: currentColor;
}

.oam-card-anchor {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  max-height: 180px;
  padding: 20px;
  overflow: hidden;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none !important;
}

.oam-card-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.oam-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 5px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.oam-card-logo img,
.oam-card-logo-image {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  position: relative;
  z-index: 1;
}

.oam-card-logo img.is-loaded,
.oam-card-logo-image.is-loaded {
  opacity: 1;
}

.oam-card-logo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
  color: #1e1b2e;
  transition: opacity 0.2s ease;
}

.oam-card-logo.has-loaded .oam-card-logo-placeholder {
  opacity: 0;
}

.oam-card-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.oam-card-title {
  overflow: hidden;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oam-card-date {
  margin-top: 2px;
  color: var(--accent-color);
  font-size: 0.8125rem;
  font-weight: 600;
}

.oam-card-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-color);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.oam-slide {
  flex: 0 0 calc(25% - 15px);
  min-width: calc(25% - 15px);
}

@media (max-width: 1024px) {
  .oam-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 680px) {
  .oam-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .oam-card-anchor {
    min-height: 180px;
    max-height: 180px;
    padding: 18px;
  }

  .investi-controls-bar {
    gap: 12px !important;
    margin-top: 12px !important;
  }

  .oam-dots-container {
    padding: 5px 10px !important;
  }
}
