/* Awards and Recognition on the business detail page (Business/_BusinessAwards.cshtml). */

.biz-awards-list { display: grid; gap: 14px; }

.biz-award { display: flex; align-items: center; gap: 14px; }

.biz-award-img,
.biz-award-icon {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 10px;
}

/* contain, not cover: seals and badges are often circular or have text at the edge. */
.biz-award-img { object-fit: contain; background: #fff; }

.biz-award-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F2E7;
    color: #F4B400;
    font-size: 22px;
}

.biz-award-text { min-width: 0; flex: 1 1 0; }
.biz-award-title { font-weight: 700; color: #0B2D39; line-height: 1.3; overflow-wrap: anywhere; }
.biz-award-meta { font-size: 0.875rem; color: #6c757d; overflow-wrap: anywhere; }
.biz-award-link { margin-left: 6px; white-space: nowrap; }
.biz-award-link i { font-size: 0.7rem; }

.biz-awards-note { margin-top: 14px; }

/* Owner editor. The section sits in the narrow sidebar, so Edit and Delete always
   drop under the award text rather than squeezing it. */
.biz-award { flex-wrap: wrap; }
.biz-award-actions { display: flex; gap: 6px; flex-basis: 100%; padding-left: 70px; }
.biz-award.is-hidden-by-plan { opacity: 0.55; }
.biz-award-plan-note { font-size: 0.75rem; color: #C96E4A; font-weight: 600; }

/* The file picker shares a row with the preview; it shrinks to the narrow sidebar
   instead of running past the card edge. */
.biz-awards-file { flex: 1 1 160px; min-width: 0; }

/* Edit wizard accordion: the caption is for visitors, not the owner's editor. */
.biz-awards--accordion .biz-awards-note { display: none !important; }
