/* GREMAB FSE Theme — Carousel & Stitch Design Styles
 * Match Stitch screen e96c3e55d0cf4e1bb27d32c2440dbf41
 */

/* ── Google Material Symbols font rendering ── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ── Infinite scroll keyframes ── */
@keyframes scroll-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-left {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.animate-scroll-right {
  display: flex;
  width: max-content;
  animation: scroll-right 40s linear infinite;
}

.animate-scroll-left {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.animate-scroll-right:hover,
.animate-scroll-left:hover {
  animation-play-state: paused;
}

/* ── Carousel container with gradient mask ── */
.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

/* ── Logo Card ── */
.gremab-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  height: 80px;
  width: 150px;
  border-radius: 8px;
  border: 1px solid rgba(194, 199, 206, 0.3);
  padding: 0 16px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-right: 24px;
}

.gremab-logo-card:hover {
  filter: grayscale(0%);
  border-color: #012a44;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 42, 68, 0.08);
}

.gremab-logo-card img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
}

.gremab-logo-placeholder {
  height: 40px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 4px;
}

/* ── Bento card hover effects ── */
.bento-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  border-color: #012a44 !important;
  transform: translateY(-4px);
  box-shadow: 0px 4px 20px rgba(1, 42, 68, 0.08);
}

/* ── Icon container ── */
.gremab-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eff4ff;
  color: #001525;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ── Nav underline animation ── */
.nav-underline {
  position: relative;
  text-decoration: none;
}

.nav-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #fdaf05;
  transition: width 0.3s ease;
}

.nav-underline:hover::after,
.nav-active::after {
  width: 100%;
}

/* ── Logo crop standard ── */
.logo-crop {
  width: 150px;
  height: 40px;
  object-fit: cover;
  object-position: center 38%;
}

/* ── Context image container & floating tile ── */
.gremab-context-wrapper {
  position: relative;
}

.gremab-floating-tile {
  position: absolute;
  bottom: -24px;
  right: -24px;
  padding: 24px;
  background: #001525;
  color: #ffffff;
  border-radius: 12px;
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0, 21, 37, 0.2);
  z-index: 10;
}

@media (max-width: 768px) {
  .gremab-floating-tile {
    position: static;
    max-width: 100%;
    margin-top: 16px;
  }
}
