/* ==========================================================================
   _slider.css - canonical Slider-Pagination component styles
   Split from _components.css in phase 2 (see scripts/split-components.mjs).
   Loaded once in _document.tsx after base/layout files and before
   page-specific CSS.
   ========================================================================== */

.slider {
  position: relative;
  width: 100%;
  max-width: 1350px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 600%;
  transition: transform 0.6s ease-in-out;
  margin-bottom: 25px;
}

.slides img {
  width: 16.666%;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.pagination .dot {
  transition: background-color 0.3s;
  display: inline-block;
  background-color: rgba(154, 154, 154, 0.3);
  width: 14px;
  height: 14px;
  border-radius: 100%;
  text-indent: -9999px;
}

.pagination .dot.active {
  background-color: #48dbac;
}

/* ---- Gallery pagination (ig-Pagination*) — moved from styles.css / NewHomepage.css / Early-Careers.css, identical in all three ---- */

.ig-Pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.ig-Pagination_Dot {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.ig-Pagination_Dot:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: #dedede;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.ig-Pagination_Dot.active:after {
  background-color: #48dbac;
}

