.yacht-details-placeholder {
    width: 100%;
    height: 150px;
    background-color: #d8d8d8;
    background: linear-gradient(to right, #eee 0%, #ccc 50%, #eee 100%);
    background-size: 200% 100%;
    animation: gradient-flow 2s linear infinite;
    position: relative;
    overflow: hidden;
    display: block;
    margin: 1em 0;
}

@keyframes gradient-flow {
  0% {
    background-position: 100% 0; /* Start with the gradient off to the right */
  }
  100% {
    background-position: -100% 0; /* Move the gradient off to the left */
  }
}

#gwdyd_latest_yachts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
}

#gwdyd_latest_yachts .yacht-item {
    flex: 0 1 calc(33.33% - 1rem);
    max-width: calc(33.33% - 1rem);
    position: relative;
}

#gwdyd_latest_yachts .yacht-serp-template-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

#gwdyd_latest_yachts h4 {
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 3rem 0.5rem 0.25rem;
    font-size: 1.5rem;
    background: linear-gradient(0deg, rgba(34, 58, 66, 1) 0%, rgba(34, 58, 66, 0) 100%) !important;
    font-style: italic;
}

#gwdyd_latest_yachts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    #gwdyd_latest_yachts .yacht-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}