/*
 * The existing Hills Camper Hire CSS can continue styling .hch-hero-booking.
 * The rules below mainly style the results shortcode.
 */
.hch-search-results {
    width: 100%;
}

.hch-search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 28px;
    padding: 18px 22px;
    border-left: 6px solid #c90000;
    border-radius: 10px;
    background: #f5f5f5;
}

.hch-search-summary-label {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hch-change-search {
    white-space: nowrap;
    font-weight: 700;
}

.hch-camper-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.hch-camper-card {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.hch-camper-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.hch-camper-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.hch-camper-card:hover .hch-camper-image img {
    transform: scale(1.025);
}

.hch-camper-card-content {
    padding: 22px;
}

.hch-camper-title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.18;
}

.hch-camper-title a {
    color: inherit;
}

.hch-camper-excerpt {
    margin: 0 0 20px;
}

.hch-camper-button.button {
    width: 100%;
    text-align: center;
}

.hch-no-results {
    padding: 30px;
    border-left: 6px solid #c90000;
    border-radius: 10px;
    background: #f5f5f5;
}

.hch-no-results h2 {
    margin-top: 0;
}

.hch-rnb-final-note {
    margin: 24px 0 0;
    font-size: 15px;
    color: #666;
}

@media (max-width: 980px) {
    .hch-camper-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hch-search-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .hch-camper-grid {
        grid-template-columns: 1fr;
    }
}
