/* Nocture Console · landing.css
   Extra layout for the generated landing pages (lp-): /thue-ps5-ha-noi/, /thue-nintendo-switch-ha-noi/,
   /thue-may-choi-game-cam-tay/, /bang-gia/. Components and tokens come from console.css and pages.css. */

/* breadcrumbs */
.lp-crumbs { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.lp-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.lp-crumbs li { display: inline-flex; align-items: center; }
.lp-crumbs li + li::before { content: "/"; margin: 0 .6em; color: var(--line-2); }
.lp-crumbs a { color: var(--fg-2); text-decoration: none; }
.lp-crumbs a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.lp-crumbs [aria-current] { color: var(--fg); }

/* hero */
.lp-hero { padding-bottom: 0; }
.lp-head { max-width: 820px; }
.lp-head .cta-row { margin-top: 18px; }
.lp-facts { margin-top: 8px; }

/* device cards: .devs/.dcard from console.css */
.lp-cards .dcard .sub { color: var(--fg-2); }

/* tables and notes */
.lp-tbl td.num, .lp-tbl th.num { white-space: nowrap; }
.lp-tbl tbody th { min-width: 200px; }
.lp-note { margin-top: 16px; font-size: 15px; color: var(--fg-2); max-width: 760px; }
.lp-note a { color: var(--fg); text-underline-offset: 3px; }
.lp-note b { color: var(--fg); font-weight: 600; }
.tbl-wrap + .tbl-wrap { margin-top: 20px; }
.lp-aside { margin-top: -56px; padding-bottom: 48px; }

/* per-device detail cards */
.lp-devs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.lp-dev { display: grid; gap: 18px; align-content: start; }
.lp-dev p { margin: 0; }
.lp-dev h4 { font: 500 12px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.lp-dev-hd { display: flex; align-items: center; gap: 16px; }
.lp-dev-art { flex: none; width: 104px; height: 68px; display: grid; place-items: center; padding: 8px; border-radius: 12px; background: var(--panel-2); }
.lp-dev-art svg { max-height: 52px; width: auto; max-width: 100%; }
.lp-dev-price { margin-top: 6px !important; font-size: 14px; }
.lp-dev-price .price { font-size: 20px; }
.lp-dev .box-list li { padding: 8px 0; font-size: 14px; }
.lp-dev .games { font-size: 16px; }

/* pricing rules + example */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.lp-example { display: grid; gap: 12px; }
.lp-example p { margin: 0; color: var(--fg-2); }
@media (max-width: 900px) { .lp-split { grid-template-columns: 1fr; } .lp-aside { margin-top: -40px; } }

/* "Xem thêm" links */
.lp-more-sec { padding-top: 64px; padding-bottom: 64px; }
.lp-more-h { margin-bottom: 18px; }
.lp-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lp-more-card { display: grid; gap: 8px; height: 100%; color: var(--fg); text-decoration: none; }
.lp-more-card p { margin: 0; font-size: 14px; color: var(--fg-2); }

/* hero illustration (desktop only) */
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.lp-hero-stage { position: relative; height: 340px; }
.lp-hero-art { position: absolute; }
.lp-hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; filter: drop-shadow(0 22px 20px var(--dv-shadow)); }
.lp-hero-art-0 { inset: 0 18% 8% 6%; }
.lp-hero-art-1 { right: 0; bottom: 0; width: 46%; height: 50%; transform: rotate(-8deg); }
@media (max-width: 900px) { .lp-hero-grid { grid-template-columns: 1fr; } .lp-hero-stage { display: none; } }

/* tables on phones: keep the device name readable, scroll the numbers sideways */
@media (max-width: 640px) {
  .lp-tbl th, .lp-tbl td { padding: 12px 12px; }
  .lp-tbl tbody th { min-width: 150px; }
  .lp-tbl .dev-cell .art { display: none; }
}
