/* ==========================================
   File: /css/gligit-carousel.css
   glU Gligit Carousel System
========================================== */

.glU {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

.glU * {
  box-sizing: border-box;
}

.glU-header {
  text-align: center;
  margin-bottom: 12px;
}

.glU-title {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

.glU-subtitle {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 700;
  color: #000;
}

.glU-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 18px;
}

.glU-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: max-content;
}

/* ==========================================
   EQUAL HEIGHT CARDS
========================================== */

.glU-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  scroll-margin-top: 120px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 470px;
}

/* ==========================================
   LARGE CARD IMAGES
========================================== */

.glU .glU-card > img,
.glU .glU-card .glU-img {
  width: 100%;
  max-width: none;
  height: 230px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 14px;
  display: block;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ==========================================
   CARD BODY
========================================== */

.glU-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}

/* ==========================================
   CARD TITLE
========================================== */

.glU-card h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #000;
  font-weight: 700;
  min-height: 44px;
}

/* ==========================================
   CARD DESCRIPTION
========================================== */

.glU-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #222;
  text-align: left;
  flex-grow: 1;
}

/* ==========================================
   LINK BUTTON
========================================== */

.glU-btn {
  margin-top: 18px;
  display: inline-block;
  align-self: center;
  background: #00CC33;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}

.glU-btn:hover,
.glU-btn:focus {
  background: #0d5f94;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ==========================================
   DOTS
========================================== */

.glU-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 8px 0 4px;
}

.glU-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #aaa;
  cursor: pointer;
  padding: 0;
}

.glU-dot.is-active {
  background: #1477b8;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
  .glU {
    padding: 10px;
  }

  .glU-card {
    flex-basis: 260px;
    min-height: 450px;
  }

  .glU .glU-card > img,
  .glU .glU-card .glU-img {
    height: 205px;
  }

  .glU-card h3 {
    font-size: 16px;
    min-height: 42px;
  }

  .glU-card p {
    font-size: 13px;
  }
}

/* ==========================================
   FORCE DOT VISIBILITY
========================================== */

.glU-dots{
  display:flex !important;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:14px 0 6px;
  min-height:16px;
}

.glU-dot{
  appearance:none;
  -webkit-appearance:none;

  width:11px;
  height:11px;

  border:none;
  border-radius:999px;

  background:#999;
  cursor:pointer;

  padding:0;
  margin:0;

  opacity:1;
  flex:0 0 auto;
}

.glU-dot.is-active{
  background:#1477b8;
}

/* Right Arrow */
.glU-arrow-right::before{
  content:"\2192"; /* &rarr; */
}

/* ==========================================
   glU Equal Height Description Support
========================================== */

.glU-card{
  display:flex;
  flex-direction:column;
  height:auto;
}

.glU-body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  width:100%;
}

.glU-body h3{
  min-height:48px;
}

.glU-desc{
  flex-grow:1;
  margin:10px 0 14px 0;
  font-size:14px;
  line-height:1.45;
  text-align:left;
}

.glU-btn{
  margin-top:auto;
  align-self:center;
}
