/* LPU and DY Patil run as static pages, so sliders scroll natively instead of through React. */
[data-lp-scroller] {
  overflow-x: auto !important;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

[data-lp-scroller]::-webkit-scrollbar {
  display: none;
}

[data-lp-scroller] > * {
  transform: none !important;
}

.slick-track {
  display: flex !important;
  width: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.slick-slide {
  display: block !important;
  flex: 0 0 calc(100% / var(--lp-per, 1));
  float: none !important;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  scroll-snap-align: start;
}

@media (max-width: 1023px) {
  .slick-slide {
    flex-basis: calc(100% / min(var(--lp-per, 1), 2.2));
  }
}

@media (max-width: 640px) {
  .slick-slide {
    flex-basis: calc(100% / min(var(--lp-per, 1), 1.15));
  }
}

[data-lp-panel] {
  max-height: none !important;
}

[data-lp-panel][hidden] {
  display: none !important;
}

/* LPU hero form: beside the banner text on desktop, under it on tablet */
.lp-hero-form {
  display: none;
}

@media (min-width: 1024px) {
  .lp-banner {
    position: relative;
  }

  .lp-hero-form {
    display: block;
    position: absolute;
    top: 8px;
    right: 16px;
    width: 400px;
    max-width: 36%;
    margin: 0;
  }

  .lp-hero-form .lp-form {
    padding: 18px 20px;
  }

  .lp-hero-form .lp-form__title {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .lp-hero-form .lp-form__grid {
    gap: 8px 10px;
    margin-bottom: 12px;
  }

  .lp-hero-form input,
  .lp-hero-form select {
    height: 40px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #small-strip-form {
    display: flex !important;
  }
}

.overflow-x-auto {
  scrollbar-width: thin;
}

.lp-arrows {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.lp-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--lp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--lp-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rich-text-content,
.OutlineElement {
  min-width: 0;
  max-width: 100%;
}

.TableContainer,
.table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: auto !important;
}
