/* ============================================================
   RW Shoot Pages – Carousel (shortcode)
   ============================================================ */

.rw-shoot-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 32px 0;
}

.rw-shoot-carousel__heading {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #0a3d62;
  margin: 0 0 24px;
  text-align: left;
}

/* Track */
.rw-shoot-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.rw-shoot-carousel__track::-webkit-scrollbar { display: none; }

/* Card */
.rw-shoot-carousel__card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 260px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.rw-shoot-carousel__card:hover {
  box-shadow: 0 8px 24px rgba(10,61,98,.12);
  transform: translateY(-3px);
}
.rw-shoot-carousel__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Image */
.rw-shoot-carousel__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e8eff5;
}
.rw-shoot-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.rw-shoot-carousel__card:hover .rw-shoot-carousel__img { transform: scale(1.04); }
.rw-shoot-carousel__img--placeholder {
  background: linear-gradient(135deg, #c9d8e8 0%, #e0e7ef 100%);
}

/* Agent badge */
.rw-shoot-carousel__agent-badge {
  position: absolute;
  bottom: -16px;
  right: 14px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  background: #e8eff5;
}
.rw-shoot-carousel__agent-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Body */
.rw-shoot-carousel__body {
  padding: 24px 16px 16px;
}
.rw-shoot-carousel__address {
  font-weight: 700;
  font-size: .95rem;
  color: #0a3d62;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rw-shoot-carousel__location {
  font-size: .8rem;
  color: #666;
  margin: 0 0 6px;
}
.rw-shoot-carousel__agent {
  font-size: .8rem;
  color: #444;
  font-weight: 600;
  margin: 0 0 2px;
}
.rw-shoot-carousel__date {
  font-size: .75rem;
  color: #999;
  margin: 0;
}

/* Nav buttons */
.rw-shoot-carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.rw-shoot-carousel__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d0dae4;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.rw-shoot-carousel__btn:hover {
  background: #0a3d62;
  color: #fff;
  border-color: #0a3d62;
}

/* Responsive */
@media (max-width: 768px) {
  .rw-shoot-carousel__card {
    flex: 0 0 calc(50% - 10px);
    min-width: 220px;
  }
}
@media (max-width: 480px) {
  .rw-shoot-carousel__card {
    flex: 0 0 85vw;
  }
}
