/* VegasBusinessAI blog, topic hubs and author pages (2026-10 redesign).
   Loads after home.css + pages.css on pages generated by tools/build-blog.cjs.
   Reading column is 692px of 17px/1.6 Geist; tiles are the site's #f5f5f7. */

/* Columns */
.bwrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.col { max-width: 736px; margin: 0 auto; padding: 0 22px; }
.home .red { color: var(--red-text); }
.home .sep { margin: 0 7px; color: var(--ink-2); }

/* Breadcrumbs: the current page truncates instead of wrapping */
.bcrumbs { display: flex; align-items: center; gap: 8px; margin: 0 0 32px; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.bcrumbs > * { flex: 0 0 auto; }
.home .bcrumbs a { display: inline-block; padding: 6px 0; margin: -6px 0; color: var(--ink-2); text-decoration: none; }
.home .bcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.bcrumbs [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }

/* Page header (index, hub, author) */
.bhead { padding-top: clamp(28px, 4vw, 40px); }
.bhead__eyebrow { margin: 0 0 10px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.01em; color: var(--red-text); }
.bhead__title { margin: 0; max-width: 860px; font-size: clamp(40px, 5.6vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.bhead__sub { margin: 18px 0 0; max-width: 700px; font-size: clamp(19px, 2vw, 24px); line-height: 1.33; color: var(--ink-2); text-wrap: pretty; }

/* Listings */
.blist { padding-top: clamp(56px, 7vw, 88px); }
.blist__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.blist__label { margin: 0; font-size: clamp(21px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.home .blist__rss { display: inline-block; padding: 6px 0; font-size: 14px; text-decoration: none; }
.home .blist__rss:hover { text-decoration: underline; }

/* Post tiles (blog index): the title link covers the tile, the topic link sits above it */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 999px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pgrid .pcard:last-child:nth-child(even) { grid-column: 1 / -1; } }
@media (max-width: 639px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 28px; background: var(--tile); }
.pcard__kicker { margin: 0; font-size: 14px; font-weight: 600; }
.home .pcard__kicker a { position: relative; z-index: 1; text-decoration: none; }
.home .pcard__kicker a:hover { text-decoration: underline; }
.pcard__title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.home .pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.home .pcard:hover .pcard__title a { color: var(--red-text); }
.home .pcard__title a:focus-visible { outline: none; }
.pcard__title a:focus-visible::after { outline: 2px solid #0071e3; outline-offset: 3px; }
.pcard__desc { margin: 0; font-size: 15px; line-height: 1.47; color: var(--ink-2); }
.pcard__meta { margin: auto 0 0; padding-top: 8px; font-size: 13px; color: var(--ink-2); }
.pcard__meta .sep { margin: 0 6px; }

/* Lead tile: the newest post, dark like the homepage's dark tiles */
.pcard--lead { grid-column: 1 / -1; padding: clamp(40px, 5.5vw, 64px) clamp(28px, 5vw, 56px); background: #000; color: var(--dark-ink); }
.pcard--lead .pcard__title { max-width: 780px; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.home .pcard--lead .pcard__title a, .home .pcard--lead:hover .pcard__title a { color: var(--dark-ink); }
.pcard--lead:hover .pcard__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.home .pcard--lead .pcard__kicker a { color: #ff6b74; }
.pcard--lead .pcard__desc { max-width: 660px; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.38; color: var(--dark-ink-2); }
.pcard--lead .pcard__meta, .pcard--lead .sep { color: var(--dark-ink-2); }

/* Hub list: the same tile markup laid out as hairline rows */
.prows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prows .pcard { gap: 8px; padding: 28px 0 30px; background: none; border-bottom: 1px solid var(--line); }
.prows .pcard__title { max-width: 760px; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.025em; }
.prows .pcard__desc { max-width: 720px; font-size: 17px; line-height: 1.5; }
.prows .pcard__meta { padding-top: 2px; }

/* Pagination and "more" links */
.bpager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; }
.bpager p { margin: 0 8px 0 0; font-size: 14px; color: var(--ink-2); }
.bpager a, .bpager [aria-current] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; }
.home .bpager a { background: var(--tile); color: var(--ink); }
.home .bpager a:hover { background: #e8e8ed; }
.bpager [aria-current] { background: var(--ink); color: #fff; }
.more-link { margin: 32px 0 0; font-size: 17px; }
.home .more-link a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.home .more-link a:hover { text-decoration: underline; }

/* Article header */
.art__head { padding-top: clamp(28px, 4vw, 40px); }
.art__kicker { margin: 0 0 12px; font-size: clamp(15px, 1.5vw, 17px); font-weight: 600; color: var(--ink-2); }
.home .art__kicker a { text-decoration: none; }
.home .art__kicker a:hover { text-decoration: underline; }
.art__kicker span:last-child { font-weight: 400; }
.art__title { margin: 0; font-size: clamp(36px, 5vw, 52px); font-weight: 600; line-height: 1.07; letter-spacing: -0.035em; text-wrap: balance; }
.art__dek { margin: 20px 0 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.42; color: var(--ink-3); text-wrap: pretty; }
.art__byline { margin: 28px 0 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.home .art__byline a { font-weight: 500; text-decoration: none; }
.home .art__byline a:hover { text-decoration: underline; }

/* Article body: one 692px column; contents tile above it, or a sticky rail on wide screens */
.art__body { max-width: 736px; margin: 0 auto; padding: 40px 22px 0; }
.art__main { min-width: 0; }
.toc { margin: 0 0 44px; padding: 22px 24px; background: var(--tile); }
.toc__h { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.home .toc a { display: block; padding: 6px 0; font-size: 15px; line-height: 1.4; color: var(--ink-3); text-decoration: none; }
.home .toc a:hover { color: var(--red-text); }
@media (min-width: 1240px) {
  .art__body { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 692px minmax(0, 1fr); column-gap: 56px; }
  .art__main { grid-column: 2; grid-row: 1; }
  .toc-wrap { grid-column: 3; grid-row: 1; align-self: stretch; min-width: 0; }
  .toc { position: sticky; top: 76px; max-width: 232px; max-height: calc(100vh - 100px); overflow-y: auto; margin: 0; padding: 0 0 0 18px; background: none; border-left: 1px solid var(--line); }
  .toc__h { font-size: 12px; color: var(--ink-2); }
  .home .toc a { font-size: 13px; padding: 5px 0; color: var(--ink-2); }
}

/* Article typography */
.prose { font-size: 17px; line-height: 1.6; color: var(--ink); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { margin: 2em 0 0.55em; font-size: clamp(26px, 3vw, 32px); font-weight: 600; line-height: 1.15; letter-spacing: -0.028em; text-wrap: balance; scroll-margin-top: 72px; }
.prose h3 { margin: 2em 0 0.5em; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; scroll-margin-top: 72px; }
.prose h4 { margin: 1.8em 0 0.4em; font-size: 17px; font-weight: 600; scroll-margin-top: 72px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.prose li { margin: 0 0 0.5em; padding-left: 0.2em; }
.prose li::marker { color: var(--ink-2); }
.prose ol > li::marker { font-weight: 600; font-variant-numeric: tabular-nums; }
.prose strong { font-weight: 600; }
.home .prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.17em; text-decoration-color: rgba(196, 17, 31, 0.4); }
.home .prose a:hover { text-decoration-color: currentColor; }
.prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.prose blockquote { margin: 2em 0; padding: 24px 28px; background: var(--tile); font-size: 19px; font-weight: 500; line-height: 1.47; letter-spacing: -0.015em; }
.prose blockquote p { margin: 0; }
.prose code { padding: 0.12em 0.4em; border-radius: 6px; background: var(--tile); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.86em; overflow-wrap: anywhere; }
.prose pre { margin: 2em 0; padding: 20px 24px; background: var(--tile); overflow-x: auto; font-size: 14px; line-height: 1.55; }
.prose pre code { padding: 0; background: none; font-size: inherit; }

/* Tables: cells wrap to fit the column; a phone scrolls the table, never the page.
   The `local` white layers cover the `scroll` shadows until there is more table that way. */
.prose table {
  display: block; max-width: 100%; overflow-x: auto; margin: 2em 0; border-collapse: collapse; font-size: 15px; line-height: 1.45;
  background:
    linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)) left center / 28px 100% no-repeat local,
    linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0)) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0)) right center / 12px 100% no-repeat scroll;
}
.prose th, .prose td { padding: 12px 20px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th:last-child, .prose td:last-child { padding-right: 0; }
.prose thead th { padding-top: 0; font-size: 13px; font-weight: 600; color: var(--ink); border-bottom-color: var(--ink-2); }
.prose td { color: var(--ink-3); }
.prose tbody tr:last-child td { border-bottom: 0; }
/* phone tables: tighter cells so three or four columns fit before anything scrolls */
@media (max-width: 560px) { .prose table { font-size: 14px; } .prose th, .prose td { padding-right: 12px; } .prose thead th { font-size: 12px; } }
.home .prose td a { color: var(--ink); text-decoration-color: var(--line); }
.home .prose td a:hover { color: var(--red-text); text-decoration-color: currentColor; }
@media (max-width: 734px) { .prose th, .prose td { min-width: 8em; } }
@media (max-width: 560px) { .prose th, .prose td { min-width: 6em; } }

/* Article footer */
.art__disclosure { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.art__disclosure + .more-link { margin-top: 12px; }

/* Author box (author page header) and bio */
.author { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 32px); }
.author__img { flex: 0 0 auto; width: clamp(104px, 15vw, 148px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--tile); }
.author__intro { min-width: 0; }
.author__intro .bhead__title { font-size: clamp(40px, 5vw, 56px); }
.author__links { margin: 12px 0 0; font-size: 17px; }
.home .author__links a { text-decoration: none; }
.home .author__links a:hover { text-decoration: underline; }
@media (max-width: 560px) { .author { flex-direction: column; align-items: flex-start; } }
.author__bio { padding-top: 40px; }
.author__bio .prose > p:first-child { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; letter-spacing: -0.015em; }

/* Closing CTA: home.css .cta tile, spaced off the content above */
.cta.bcta { margin: clamp(72px, 9vw, 112px) 12px 0; }
.cta .bcta__eyebrow { margin: 0 0 10px; max-width: none; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; line-height: 1.3; color: var(--red-text); }
.cta .bcta__direct { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.home .bcta__direct a { text-decoration: none; }
.home .bcta__direct a:hover { text-decoration: underline; }
.bcta__direct .sep { margin: 0 8px; }
@media (max-width: 560px) { .home .bcta__direct a { display: block; padding: 5px 0; } .bcta__direct .sep { display: none; } }

/* Footer: the CTA tile above is the last section, as on the homepage, and blog
   pages carry no phone call bar, so pages.css's reserved space is released. */
.sub .gfoot { margin-top: 12px; }
@media (max-width: 734px) { .home .gfoot { padding-bottom: 0; } }
