/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.wpis-results {
    position: absolute;
    bottom: 0;
    min-width: 320px;
    width: 100%;
    max-width: 480px;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
    display: block;
}
 .wpis-con {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.wpis-results a {
    text-decoration: none;
}
.wpis-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}
.wpis-item:hover {
    background: #f8f8f8;
}
.wpis-item figure {
    width: 120px;
    height: auto;
    margin: 0;
    flex-shrink: 0;
}
.wpis-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.wpis-item h3 {
    font-size: 16px;
    margin: 0;
}

.aspect-16-9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
  overflow: hidden;
}

.aspect-16-9 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover the area without distortion */
}
