/* MastBiryani — Guide posts (auto-generated "Best X in City" roundups)
   Loaded only on single posts flagged with _mb_guide = 1 */

.mbg { max-width: 1180px; margin: 0 auto; padding: 28px 24px 72px; }

/* ── hero ── */
.mbg-crumbs { font-size: 12.5px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.mbg-crumbs a { color: var(--red); }
.mbg-crumbs span[aria-hidden] { opacity: .5; }
.mbg-hero { max-width: 820px; margin-bottom: 26px; }
.mbg-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--red); margin-bottom: 8px; }
.mbg-hero h1 { font-family: var(--font-display); font-size: clamp(27px, 4.2vw, 40px); line-height: 1.2; letter-spacing: -.4px; margin-bottom: 12px; }
.mbg-lede { font-size: 17px; line-height: 1.65; color: #444; margin-bottom: 16px; }
.mbg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mbg-chip { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); color: var(--text-muted); }
.mbg-chip b { color: var(--text); font-weight: 600; }
.mbg-cover { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 14px; margin-bottom: 30px; background: var(--red-light); }

/* ── layout ── */
.mbg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.mbg-article { font-size: 16.5px; line-height: 1.8; min-width: 0; }
.mbg-article > *:first-child { margin-top: 0; }
.mbg-article h2 { font-family: var(--font-display); font-size: 26px; line-height: 1.3; margin: 46px 0 14px; scroll-margin-top: 80px; }
.mbg-article h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.mbg-article p { margin-bottom: 16px; }
.mbg-article ul { padding-left: 22px; margin-bottom: 18px; }
.mbg-article li { margin-bottom: 6px; }
.mbg-article a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* ── editor note ── */
.mbg-note { background: #fff8e6; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.65; margin: 0 0 8px; }

/* ── quick picks ── */
.mbg-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 8px; }
.mbg-pick { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; font-size: 14px; line-height: 1.55; }
.mbg-pick.is-top { border: 2px solid var(--red); background: var(--red-light); }
.mbg-pick .badge { display: inline-block; font-size: 11.5px; font-weight: 700; background: var(--red); color: #fff; padding: 2px 9px; border-radius: 4px; margin-bottom: 8px; }
.mbg-pick h3 { font-family: var(--font-display); font-size: 17px; margin: 0 0 4px; }
.mbg-pick .rate { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.mbg-pick .best { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mbg-pick p { font-size: 13.5px; margin: 0; }
.mbg-pick a { text-decoration: none; }

/* ── restaurant block ── */
.mbg-rest-h { padding-top: 6px; }
.mbg-best { display: inline-block; font-size: 13px; font-weight: 600; background: var(--red-light); color: var(--red); padding: 4px 12px; border-radius: 6px; margin-bottom: 14px; }
.mbg-fig { margin: 0 0 16px; }
.mbg-fig img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin: 0; background: #e8e8e8; }
.mbg-fig figcaption { font-size: 12px; color: var(--text-light); margin-top: 6px; }
.mbg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 16px 0 6px; font-size: 14px; line-height: 1.5; }
.mbg-facts div { background: var(--white); padding: 10px 14px; }
.mbg-facts dt { font-size: 12px; color: var(--text-muted); }
.mbg-facts dd { font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.mbg-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.mbg-links a { text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 7px; border: 1.5px solid var(--red); color: var(--red); }
.mbg-links a:first-child { background: var(--red); color: #fff; }
.mbg-links a:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

/* ── comparison table ── */
.mbg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.mbg-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; min-width: 560px; }
.mbg-table-wrap th, .mbg-table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.mbg-table-wrap th { background: #faf8f6; font-weight: 600; font-size: 13px; }
.mbg-table-wrap tr:last-child td { border-bottom: 0; }

/* ── how to choose ── */
.mbg-choose { list-style: none; padding: 0; display: grid; gap: 10px; }
.mbg-choose li { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin: 0; }
.mbg-choose strong { display: block; font-size: 14.5px; }

/* ── more guides ── */
.mbg-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.mbg-more a { text-decoration: none; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.4; transition: border-color .15s; }
.mbg-more a:hover { border-color: var(--red); color: var(--red); }

/* ── FAQ ── */
.mbg-faq details { background: var(--white); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; }
.mbg-faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; padding: 14px 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mbg-faq summary::-webkit-details-marker { display: none; }
.mbg-faq summary::after { content: '+'; color: var(--red); font-size: 20px; line-height: 1; }
.mbg-faq details[open] summary::after { content: '–'; }
.mbg-faq details p { padding: 0 18px 14px; margin: 0; font-size: 15.5px; }

/* ── sources + CTA ── */
.mbg-sources { font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 16px; margin-top: 40px; line-height: 1.7; }
.mbg-cta { background: var(--text); color: #fff; border-radius: 14px; padding: 28px 28px 30px; margin-top: 40px; }
.mbg-cta h2 { color: #fff; margin: 0 0 8px; font-size: 23px; }
.mbg-cta p { color: #ddd; margin-bottom: 16px; }
.mbg-cta a.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 10px 22px; border-radius: 7px; font-weight: 600; font-size: 14px; }
.mbg-cta a.btn:hover { background: var(--red-dark); }

/* ── sidebar ── */
.mbg-aside { position: sticky; top: 76px; display: grid; gap: 16px; font-size: 14px; }
.mbg-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.mbg-box h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.mbg-box p { font-size: 13.5px; line-height: 1.55; margin-bottom: 10px; }
.mbg-box a.btn { display: block; text-align: center; background: var(--red); color: #fff; padding: 9px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; }
.mbg-box a.btn:hover { background: var(--red-dark); }
.mbg-toc ol { list-style: none; padding: 0; margin: 0; max-height: 56vh; overflow-y: auto; }
.mbg-toc li { margin: 0; }
.mbg-toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--border); font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }
.mbg-toc a:hover { color: var(--red); }
.mbg-toc a.is-active { border-left-color: var(--red); color: var(--red); font-weight: 600; }
.mbg-toc-m { display: none; background: var(--white); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 22px; }
.mbg-toc-m summary { cursor: pointer; font-weight: 600; padding: 12px 16px; }
.mbg-toc-m ol { padding: 0 16px 12px 36px; font-size: 14px; }
.mbg-toc-m li { margin-bottom: 6px; }

@media (max-width: 960px) {
  .mbg-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mbg-aside { position: static; margin-top: 36px; }
  .mbg-aside .mbg-toc { display: none; }
  .mbg-toc-m { display: block; }
}
@media (max-width: 600px) {
  .mbg { padding: 18px 16px 56px; }
  .mbg-article { font-size: 16px; }
  .mbg-article h2 { font-size: 23px; margin-top: 38px; }
  .mbg-cover { aspect-ratio: 16/10; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
