/* ==========================================================================
   Listing page: the right column's boxes (owner handoff "Listing Right Column Boxes", 2026-11-28 - it restyles the claim card of the handoffs of 2026-11-19 / 20, docs sections CF, CN, CO,
   and splits the owner-verified card of 2026-11-27 in two). Loaded by web/listing-detail.blade.php alone, after web.css.
   ==========================================================================
   The right column is deliberately quieter than the left side (the title, address, pills and map): smaller type, lighter boxes. Separate boxes, 24px apart, top to bottom:
     unclaimed:       Share (public/css/ip-listing-share.css), "Is this your business?" (.listing-claim-card, .listing-advanced-box), the contact card;
     owner-verified:  Share, the green owner-verified box (.listing-owner-box), "What advanced listings offer" (.listing-claim-card, .listing-advanced-box), the contact card.
   The shell is the other sidebar cards' own (.sidebar-card, web.css: the surface, the 1px border, the page's corner, ink, Lato) - the live page's look wins over the handoff's drawn 16px corner and shadow
   (owner 2026-11-20, docs section CI: the cards have the map's corner and no shadow). Type (px because none of these is a token; the owner's follow-up of 2026-11-28 made it ONE type for every box on the side): box heading 16 / 22 weight 500,
   the line under it 13 / 18, row title 13 / 18 weight 700, row text 13 / 18, link 13 / 18 weight 600; the button is the Primary button at 40px (44px on a phone). Colours are tokens: ink, the brand blue, the darker blue of the link,
   the success colours of the green box. NO price, plan name or number in any of the boxes. */

.listing-claim-card,
.listing-advanced-box,
.listing-owner-box {
  margin-top: var(--space-5, 24px);
}
/* the contact card under the boxes: 24px as well; the Social links / hours sections below it keep their 32px */
.listing-sidebar .contact-widget-card {
  margin-top: var(--space-5, 24px);
}
.listing-sidebar .contact-widget-card + .listing-section {
  margin-top: var(--space-6, 32px);
}

/* ---- the white boxes ("Is this your business?", "What advanced listings offer") ---- */
.listing-claim-card,
.listing-advanced-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--space-4, 16px);
}
.listing-sidebar .listing-box__heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ink, #44555b);
}
.listing-sidebar .listing-box__heading--blue {
  color: var(--brand-blue-dark, #295b84);
}
.listing-sidebar .listing-box__subline {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink, #44555b);
}
.listing-box__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.listing-box__icon {
  flex: none;
  font-size: 20px;
  line-height: 1;
}
.listing-box__icon--ok {
  color: var(--success-icon, var(--secondary-dark, #47810f));
}
.listing-box__icon--info {
  color: var(--brand-blue, #3270a2);
}
.listing-box__row-body {
  min-width: 0;
}
.listing-sidebar .listing-box__row-title {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: var(--ink, #44555b);
}
.listing-sidebar .listing-box__row-text {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink, #44555b);
}
/* the Primary button, full width: 40px high (44px on a phone), the corner 8px - the colours and states are the Primary button's own (.btn.btn-primary) */
.listing-sidebar .listing-box__btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: var(--space-2, 8px) var(--space-4, 16px);
  border-radius: var(--radius-md, 8px);
  font-size: var(--button-md-size, 14px);
  line-height: var(--button-md-line-height, 18px);
  font-weight: var(--button-md-weight, 600);
  white-space: normal;
  text-align: center;
}
@media (max-width: 699px) {
  .listing-sidebar .listing-box__btn {
    min-height: 44px;
  }
}
/* the small link under the button: centred, 13 / 18 weight 600, the darker blue */
.listing-sidebar .listing-box__link {
  align-self: center;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--brand-blue-dark, #295b84);
  text-decoration: none;
}
.listing-sidebar .listing-box__link:hover {
  text-decoration: underline;
}
/* the short note in place of Claim (an archived listing, a claim waiting): the old standalone row's words and colour */
.listing-claim-card .listing-claim-card__notice {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
}

/* ---- the green box (owner-verified) ---- */
.listing-owner-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: var(--space-4, 16px);
  background: var(--success-bg, #f3f8ee);
  border-color: var(--success-border, #dbebcb);
  color: var(--success-text, #294a09);
}
.listing-owner-box .listing-owner-box__icon {
  flex: none;
  font-size: 24px;
  line-height: 1;
  color: var(--success-icon, var(--secondary-dark, #47810f));
}
.listing-owner-box .listing-owner-box__heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--success-text, #294a09);
}
.listing-owner-box .listing-owner-box__text {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--success-text, #294a09);
}
