/* Container - removed rw-wrap for Divi compatibility */
.rw-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
  
  /* Header with title + arrows */
  .rw-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
  }
  
  .rw-title {
    margin: 0;
    color: #212121;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(28px, 4.5vw, 36px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .2px;
  }
  
  .rw-nav {
    display: inline-flex;
    gap: 10px;
  }
  
  .rw-prev, .rw-next {
    width: 51px;
    height: 52px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .rw-prev:disabled, .rw-next:disabled { opacity: .4; cursor: not-allowed; }
  .rw-prev svg, .rw-next svg {
    width: 100%;
    height: 100%;
  }
  
  /* Swiper sizing */
  .rw-swiper { 
    overflow: visible; 
    width: 100%;
    max-width: 100%;
  }
  .rw-card {
    position: relative;
    display: block;
    height: clamp(280px, 45vw, 420px);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
  
  /* Slide background + overlay */
  .rw-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.02);
  }
  .rw-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.65) 75%);
  }
  
  /* Slide content */
  .rw-content {
    position: absolute; inset-inline: 16px; bottom: 14px;
    color: #fff;
  }
  .rw-card-title {
    margin: 0 0 8px;
    color: #FEFEFE;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
  }
  
  .rw-description {
    margin: 0 0 12px;
    color: #FEFEFE;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(12px, 1.75vw, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
  }
  
  /* Project tags */
  .rw-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
  }
  .rw-tag {
    display: inline-block;
    font-size: 12px; 
    line-height: 1;
    padding: 6px 12px;
    background: rgba(255,255,255,.15);
    border: 0.5px solid rgba(255,255,255,.4);
    border-radius: 20px;
    backdrop-filter: blur(2px);
    font-weight: 400;
  }
  
  /* Legacy pills support */
  .rw-pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .rw-pill {
    display: inline-block;
    font-size: 12px; line-height: 1;
    padding: 8px 10px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    backdrop-filter: blur(2px);
  }
  
  /* Progress bar */
  .rw-progress {
    position: relative;
    height: 1px;
    background: #212121;
    margin-top: 18px;
    overflow: visible;
    border-radius: 1px;
    width: 100%;
  }
  .rw-progress-bar {
    height: 4px;
    width: 20%;
    background: #FFF59D;
    border-radius: 2px;
    transition: left .35s ease;
    margin-top: -1.5px;
    position: absolute;
    top: 0;
    left: 0;
  }
  