/* Phase 2 "proof layer" shared components — Mecca Madinah Connect
   Trust badges, last-updated lines, breadcrumbs, evidence cards.
   Linked from every page touched in Phase 2, in all 3 languages. */

.mmc-updated {
  font-size: .85rem;
  color: #5c6b62;
  margin: 0 0 1rem;
}
.mmc-updated time { font-weight: 600; }

/* Verification badges */
.mmc-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .2rem .6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  vertical-align: middle;
  white-space: nowrap;
}
.mmc-badge-official { background: #e6f4ec; color: #0b5c34; border-color: #bfe3cd; }
.mmc-badge-community { background: #fff6e0; color: #8a6100; border-color: #f0dca8; }
.mmc-badge-unverified { background: #f1f1f1; color: #5a5a5a; border-color: #d8d8d8; }

/* Breadcrumb */
.mmc-crumbs {
  font-size: .85rem;
  color: #5c6b62;
  margin: 0 0 1.25rem;
}
.mmc-crumbs a { color: #0b3d2e; text-decoration: none; font-weight: 600; }
.mmc-crumbs a:hover { text-decoration: underline; }
.mmc-crumbs .sep { margin: 0 .4rem; color: #9aa5a0; }
[dir="rtl"] .mmc-crumbs .sep { display: inline-block; transform: scaleX(-1); }

/* Evidence card (hotel walks, accessibility entries) */
.mmc-evidence {
  border: 1px solid #e2e8e4;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  margin: 1.25rem 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(11,61,46,.06);
}
.mmc-evidence h3, .mmc-evidence h4 { margin-top: 0; }
.mmc-evidence dl {
  display: grid;
  grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr);
  gap: .35rem .9rem;
  margin: .75rem 0;
  font-size: .93rem;
}
.mmc-evidence dt { font-weight: 700; color: #0b3d2e; min-width: 0; overflow-wrap: break-word; }
.mmc-evidence dd { margin: 0; min-width: 0; overflow-wrap: break-word; }
/* Badges inside evidence lists may wrap: a nowrap badge sets a ~260px
   min-content floor on the <dd> and forced the grid past the viewport
   on hotel-walks cards. Badges elsewhere keep nowrap. */
.mmc-evidence .mmc-badge { white-space: normal; }
/* Narrow screens: stack term over definition so the <dd> gets the full
   card width instead of a ~70px ribbon beside a capped <dt> column. */
@media (max-width: 620px) {
  .mmc-evidence dl { grid-template-columns: 1fr; gap: .1rem 0; }
  .mmc-evidence dd { margin-bottom: .55rem; }
}
/* Hotel-walk cards: the evidence list sits in a ~330-380px copy column
   even on desktop, so the two-column dl squeezes the <dd> to a ribbon
   and the badge to a tall pill. Stack it there at every width. */
.hotel-card .mmc-evidence dl { grid-template-columns: 1fr; gap: .1rem 0; }
.hotel-card .mmc-evidence dd { margin-bottom: .55rem; }
.mmc-evidence .src-note { font-size: .8rem; color: #6b7672; }

/* Route illustration label */
.mmc-illus-label {
  font-size: .78rem;
  color: #6b7672;
  font-style: italic;
  margin-top: .4rem;
}

/* Founder LinkedIn links */
.founder-link { margin-top: .9rem; }
.founder-link a, .wa-linkedin {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .9rem; color: #0b3d2e; text-decoration: none;
  border: 1px solid #c9a227; border-radius: 999px; padding: .35rem .9rem;
}
.founder-link a:hover, .wa-linkedin:hover { background: #0b3d2e; color: #fff; }
.founder-link a::before, .wa-linkedin::before {
  content: "in"; display: inline-grid; place-items: center;
  width: 1.25em; height: 1.25em; border-radius: 4px;
  background: #0a66c2; color: #fff; font-size: .8em; font-weight: 800;
}
.wa-linkedin { margin-top: .5rem; font-size: .82rem; }

/* Related guides (shared component, Wave 2b) */
.mmc-related { margin: 3rem 0 0; }
.mmc-related h2 { font-size: 1.4rem; margin: 0 0 1rem; }
.mmc-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mmc-rel-card {
  background: var(--brand-paper, #fbf9f3);
  border: 1px solid var(--brand-green-soft, #e9f3ee);
  border-radius: 13px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--brand-ink, #14211c);
  display: block;
}
.mmc-rel-card:hover { border-color: var(--brand-green, #0b3d2e); }
.mmc-rel-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.mmc-rel-card p { margin: 0; font-size: .85rem; color: var(--brand-muted, #56625d); }
@media (max-width: 900px) { .mmc-rel-grid { grid-template-columns: 1fr; } }

/* Footer publisher line (Wave 2b) */
.mmc-publisher { font-size: .85rem; opacity: .85; }

/* Breadcrumb + last-updated on one deliberate line */
.mmc-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin: 0 0 1.25rem;
}
.mmc-meta-row .mmc-crumbs,
.mmc-meta-row .mmc-updated,
.mmc-meta-row .updated { margin: 0; }
