/* UPS Recent Posts Slider styles - card UI */
.ups-rps-wrapper { position: relative; }
.ups-rps-swiper { padding-bottom: 56px; }
.ups-rps-swiper .swiper-slide { height: auto; }

.ups-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ups-card-media { position: relative; }
.ups-card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}
.ups-card-img--placeholder { display:block; width:100%; height:230px; background: linear-gradient(135deg,#f0f0f0,#e4e4e7); }

.ups-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #242430;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 9999px;
}

.ups-card-body {
  padding: 18px 20px 20px;
  background: #fff;
}

.ups-eyebrow{
  letter-spacing:.15em;
  color:#9ca3af;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  margin: 0 0 6px;
}

.ups-card-title{
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.ups-card-title a{ color:#111827; text-decoration:none; }
.ups-card-title a:hover{ text-decoration:underline; }

.ups-card-excerpt{
  color:#4b5563;
  line-height:1.6;
  font-size:15px;
  margin:0 0 14px;
}

.ups-card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.ups-card-link{
  font-weight:700;
  text-decoration:none;
}
.ups-card-link:hover{ text-decoration:underline; }

/* Nav & Pagination */
.ups-nav{
  position:absolute;
  left:0; right:0; bottom:0;
  display:flex; align-items:center; justify-content:center;
  gap: 16px;
}
.ups-button-prev, .ups-button-next{
  width:36px; height:36px; border-radius:9999px;
  background:#111827; color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  box-shadow: 0 8px 18px rgba(17,24,39,.25);
}
.ups-button-prev::before, .ups-button-next::before{
  content:''; display:block; width:8px; height:8px; border-top:2px solid #fff; border-right:2px solid #fff;
}
.ups-button-prev::before{ transform: rotate(-135deg); }
.ups-button-next::before{ transform: rotate(45deg); }

.ups-pagination .swiper-pagination-bullet{
  width:8px; height:8px; opacity:.6; background:#6b7280;
}
.ups-pagination .swiper-pagination-bullet-active{
  opacity:1; background:#111827;
}
