    .ad-slider {
      width: 96%;
      max-width: 420px;
      margin: 30px auto 0 auto;
      padding: 0 4px;
      box-sizing: border-box;
      border-radius: 12px;
      background: #ffffff00;
      box-shadow: 0 2px 8px rgba(0,0,0,0.10);
      min-height: 120px;
    }
    .swiper-slide {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
    }
    .ad-slider img {
      width: 100%;
      max-width: 380px;
      height: 200px;
      max-height: 200px;
      object-fit: contain; /* Show full image, no crop */
      border-radius: 10px;
      display: block;
      margin: 0 auto;
      background: #f5f5f5;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      transition: box-shadow 0.2s;
    }
    .ad-slider img:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    }
    /* Mobile (phones, up to 600px) */
    @media (max-width: 600px) {
      .ad-slider {
        min-height: 220px;
        margin-top:20px;
      }
      .ad-slider img {
        height: 220px;
        max-height: 220px;
      }
    }
    /* Tablet portrait (601px to 991px) */
    @media (min-width: 601px) and (max-width: 991px) {
      .ad-slider {
        min-height: 230px;
        margin-top:20px;
      }
      .ad-slider img {
        height: 230px;
        max-height: 230px;
      }
    }
    /* Desktop (992px and up) */
    @media (min-width: 992px) {
      .ad-slider {
        min-height: 200px;
      }
      .ad-slider img {
        height: 200px;
        max-height: 200px;
      }
    }