/* EKB-531 — "How we chose this hotel" panel in the single hotel card (accommodationListingCollection), inline for a
   single hotel and in each hotel's "View accommodation" modal. Navy block with the author's round, gold-bordered
   thumbnail on the left and "NAME – JOB TITLE" below the quote. Under the gallery on desktop, at the bottom on mobile. */

.how-we-chose__panel {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: var(--space-2);
    margin: 0;
    padding: var(--space-3);
    background: var(--c-navy-blue, #142e4a);
    color: var(--c-white, #fff);
}

.how-we-chose__avatar {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--c-warm-gold, #cd9c54);
    object-fit: cover;
}

.how-we-chose__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.how-we-chose__title {
    margin: 0;
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.how-we-chose__quote {
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    font-size: 0.875rem;
    line-height: 1.55;
}

.how-we-chose__quote p {
    margin: 0 0 0.5rem;
}

.how-we-chose__quote p:last-child {
    margin-bottom: 0;
}

.how-we-chose__author {
    margin: 0;
    color: inherit;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

/* Mobile: gallery, then name/location/description, then the quote at the bottom of the card.
   The media column is flattened so the panel can be ordered after the details; desktop keeps it under the gallery. */
@media screen and (max-width: 60rem) {
    .single-hotel__card > .single-hotel__media {
        display: contents;
    }

    .single-hotel__card .how-we-chose__panel {
        order: 1;
    }
}
