/* === blog.css — the site's Journal (2026-09-23) =================================================
 * The blog the owner approved as Codes/blog-demo.html v2: organised by topic, no timeline.
 * Markup: SiteFiles.Frontend.Blog.BlogPageRenderer, inside the site's own _Master layout.
 *
 * ★★ EVERY CLASS HERE STARTS WITH tj- (or is .tj). The page shares the layout's stylesheets, which
 *    style .card, .cover, .pill, .grid and most short names; an unprefixed rule here could restyle
 *    the header, and an unprefixed class in the markup would be dressed by rules written for
 *    something else. Test-BlogCssPrefixed.ps1 checks this file on every web deploy.
 *
 * ★ Colours come from design-tokens.css (loaded on every page) with the same values as fallbacks.
 *   A topic's own colour arrives as --tj-c on the element, from its row, validated as #rrggbb.
 */

.tj {
    --tj-gold: var(--gold, #d4af37);
    --tj-gold-l: var(--gold-light, #f0d060);
    --tj-pink: var(--primary-light, #ff5c8d);
    --tj-bg: var(--bg-dark, #0a0a0f);
    --tj-card: var(--bg-card, #141419);
    --tj-card-h: var(--bg-card-hover, #1a1a22);
    --tj-text: var(--text-primary, #fff);
    --tj-text-2: var(--text-secondary, #a0a0b0);
    --tj-muted: #8a8a9a; /* 2026-10-03 (PageSpeed): was #7a7a8c, 4.36:1 */
    --tj-line: var(--border-color, rgba(255, 255, 255, .08));
    --tj-display: var(--font-display, 'Playfair Display', Georgia, serif);
    --tj-body: var(--font-body, 'Outfit', -apple-system, 'Segoe UI', sans-serif);
    --tj-c: var(--tj-gold);
    background: var(--tj-bg);
    color: var(--tj-text);
    font-family: var(--tj-body);
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 56px;
}
.tj a { color: inherit; text-decoration: none; }
/* The site's head carries an inline a:hover { text-decoration: underline }, later than this file and just
   as specific, so it underlined every line of a hovered card in the link colour. Hover here is the lift
   and the gold title; body links (.tj-prose a) and "View all" keep their own !important underline. */
.tj a:hover { text-decoration: none; }
.tj img { max-width: 100%; }
.tj-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
/* The article page's own <article>: main.css dresses every article as the page container
   (background #000, padding 15px/30px, z-index), which drew a black box inside the journal's page. */
.tj-wrap > article { background: transparent; padding: 0; margin-left: 0; z-index: auto; }
.tj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tj-i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.125em; }
.tj-fill { fill: currentColor; stroke: none; }

/* ── topic bar ─────────────────────────────────────────────────────── */
.tj-topics { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 15, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--tj-line); }
.tj-topics-in { max-width: 1240px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tj-topics-in::-webkit-scrollbar { display: none; }
.tj-topic { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 14px 14px 12px; font-size: 13.5px; color: var(--tj-text-2) !important; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.tj-topic .tj-i { color: var(--tj-c); font-size: 16px; }
.tj-topic b { font-weight: 500; font-size: 11.5px; color: var(--tj-muted); }
.tj-topic:hover { color: #fff !important; }
.tj-topic.tj-on { color: #fff !important; border-bottom-color: var(--tj-c); }

/* ── shared ────────────────────────────────────────────────────────── */
/* text-align: inherit - the site's own stylesheet centres every h1; the journal's follow their container
   (left on the index and topic pages, centred in .tj-ahead on an article). */
.tj-h1 { font-family: var(--tj-display); font-weight: 600; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.5px; margin: 6px 0 0; color: #fff; text-align: inherit; }
.tj-h1 em { color: var(--tj-gold-l); font-style: italic; }
.tj-h2 { font-family: var(--tj-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); margin: 0; display: flex; align-items: center; gap: 12px; color: #fff; }
.tj-sub { margin: 4px 0 0; color: var(--tj-text-2); font-size: 14px; }
.tj-kicker { color: var(--tj-gold); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }
.tj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 56px 0 20px; }
.tj-head-top { margin-top: 0; }
.tj-head-r { display: flex; gap: 14px; align-items: center; flex: none; }
.tj-all { color: var(--tj-c) !important; font-size: 13.5px; font-weight: 500; }
.tj-all:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.tj-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tj-c); background: color-mix(in srgb, var(--tj-c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tj-c) 35%, transparent); white-space: nowrap; }
.tj-pill .tj-i { font-size: 12px; }
.tj-read { color: var(--tj-muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tj-badge { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 20px; color: var(--tj-c); background: color-mix(in srgb, var(--tj-c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tj-c) 35%, transparent); flex: none; }
.tj-lift { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; }
.tj-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.tj-btn-gold { display: inline-flex; justify-content: center; padding: 12px 22px; border-radius: 50px; background: linear-gradient(90deg, var(--gold, #d4af37), var(--gold-light, #f0d060)); color: #111 !important; font-weight: 600; }
.tj-btn-ghost { display: inline-flex; justify-content: center; padding: 11px 20px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-weight: 500; }
.tj-btn-ghost:hover { border-color: rgba(255, 255, 255, .45); }
.tj-empty { margin: 40px 0; padding: 40px 20px; text-align: center; color: var(--tj-text-2); border: 1px dashed var(--tj-line); border-radius: 20px; }

/* Cover: the photo when there is one; otherwise the topic's colour, icon and a word. */
.tj-cover { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; isolation: isolate; border: 1px solid var(--tj-line);
    background: radial-gradient(110% 90% at 90% 0%, color-mix(in srgb, var(--tj-c) 45%, transparent), transparent 62%),
                radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, var(--tj-c) 20%, transparent), transparent 60%),
                linear-gradient(160deg, #1d1b26, #0f0f15); }
.tj-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.tj-cover .tj-glyph { position: absolute; right: -6%; top: -8%; width: 58%; height: auto; color: color-mix(in srgb, var(--tj-c) 32%, transparent); stroke-width: 1.1; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tj-lift:hover .tj-cover .tj-glyph { transform: rotate(-6deg) scale(1.04); }
.tj-word { position: absolute; left: 16px; bottom: 6px; font-family: var(--tj-display); font-style: italic; font-weight: 600; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; color: var(--tj-c); opacity: .42; white-space: nowrap; }
.tj-cover-photo { background: #15151b; }
.tj-cover-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tj-cover-photo::before { display: none; }

/* Card */
.tj-card { display: flex; flex-direction: column; gap: 12px; }
.tj-card-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tj-card-t { margin: 0; font-family: var(--tj-display); font-weight: 600; font-size: 18.5px; line-height: 1.3; color: #fff; }
.tj-card-p { margin: 0; color: var(--tj-text-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tj-card:hover .tj-card-t { color: var(--tj-gold-l); }
.tj-card-big .tj-cover { aspect-ratio: 16 / 10; }
.tj-card-big .tj-card-t { font-size: 26px; }

/* ── home ──────────────────────────────────────────────────────────── */
.tj-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 34px 0 20px; }
.tj-search { position: relative; width: min(380px, 100%); margin: 0; }
.tj-search label { display: block; margin: 0; }
.tj-search input { width: 100%; height: 46px; border-radius: 50px; background: #101016; border: 1px solid #3a3a46; color: #fff; padding: 0 18px 0 44px; font: inherit; }
.tj-search input:focus { outline: none; border-color: var(--tj-gold); box-shadow: 0 0 0 4px rgba(var(--gold-rgb, 212, 175, 55), .18); }
.tj-search .tj-i { position: absolute; left: 16px; top: 15px; color: var(--tj-text-2); font-size: 16px; }

.tj-bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 520px; }
.tj-tile { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--tj-line); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 20px; isolation: isolate; }
.tj-tile > .tj-cover { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; border: 0; z-index: -2; }
.tj-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 12, .92) 88%); }
.tj-tile-t { font-family: var(--tj-display); font-weight: 600; margin: 2px 0 0; line-height: 1.2; font-size: 18px; color: #fff; transition: color .2s; }
.tj-tile:hover .tj-tile-t { color: var(--tj-gold-l); }
.tj-tile-p { margin: 0; color: #c9c9d4; max-width: 520px; }
.tj-tile-lead { grid-row: span 2; padding: 28px; }
.tj-tile-lead .tj-tile-t { font-size: clamp(24px, 2.8vw, 36px); }
.tj-tile-lead .tj-word { font-size: clamp(70px, 9vw, 140px); top: 18px; bottom: auto; }
.tj-tile:not(.tj-tile-lead) .tj-word { font-size: 46px; top: 12px; bottom: auto; }

.tj-tgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.tj-tt { position: relative; overflow: hidden; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
    border: 1px solid color-mix(in srgb, var(--tj-c) 28%, transparent);
    background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--tj-c) 30%, transparent), transparent 60%), linear-gradient(160deg, #18161f, #101016); }
.tj-tt .tj-glyph { position: absolute; right: -18px; bottom: -22px; width: 150px; height: 150px; color: color-mix(in srgb, var(--tj-c) 22%, transparent); stroke-width: 1.1; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tj-tt:hover .tj-glyph { transform: rotate(-8deg) scale(1.08); }
.tj-tt-t { margin: 0; font-family: var(--tj-display); font-weight: 600; font-size: 22px; color: #fff; }
.tj-tt-n { color: var(--tj-c); font-size: 13px; font-weight: 600; }
.tj-tt-p { margin: 6px 0 0; color: var(--tj-text-2); font-size: 13px; max-width: 260px; }
.tj-tt-big { grid-column: span 2; grid-row: span 2; padding: 26px; }
.tj-tt-big .tj-tt-t { font-size: 32px; }
.tj-tt-big .tj-tt-p { font-size: 14.5px; max-width: 360px; }
.tj-tt-big .tj-glyph { width: 280px; height: 280px; }
.tj-tt-wide { grid-column: span 2; }
.tj-peek { display: grid; gap: 6px; margin-top: 14px; }
.tj-peek span { font-size: 13px; color: #d9d9e2; padding-left: 12px; border-left: 2px solid var(--tj-c); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.tj-spot { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; }
.tj-list { display: grid; gap: 4px; align-content: start; }
.tj-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px; border-radius: 12px; transition: background .2s; }
.tj-row:hover { background: var(--tj-card); }
.tj-row .tj-cover { aspect-ratio: 1; border-radius: 10px; }
.tj-row .tj-word { font-size: 32px; left: 8px; }
.tj-row-t { margin: 2px 0 6px; font-family: var(--tj-display); font-weight: 600; font-size: 16.5px; line-height: 1.3; color: #fff; }
.tj-row:hover .tj-row-t { color: var(--tj-gold-l); }

.tj-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.tj-rail::-webkit-scrollbar { display: none; }
.tj-rail > * { scroll-snap-align: start; }
.tj-arrows { display: flex; gap: 8px; }
.tj-arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--tj-line); background: var(--tj-card); color: var(--tj-text-2); font-size: 20px; line-height: 1; cursor: pointer; }
.tj-arrows button:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }

.tj-band { margin-top: 60px; padding: 34px 0 40px; background: linear-gradient(180deg, rgba(var(--gold-rgb, 212, 175, 55), .06), transparent); border-top: 1px solid var(--tj-line); }
.tj-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: tjq; }
.tj-q { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 18px 18px 58px; border-radius: 12px; background: var(--tj-card); border: 1px solid var(--tj-line); counter-increment: tjq; }
.tj-q::before { content: counter(tjq, decimal-leading-zero); position: absolute; left: 16px; top: 14px; font-family: var(--tj-display); font-style: italic; font-size: 26px; color: var(--tj-gold); opacity: .8; }
.tj-q-t { margin: 0 0 8px; font-family: var(--tj-display); font-weight: 600; font-size: 15.5px; line-height: 1.3; color: #fff; }
.tj-q:hover .tj-q-t { color: var(--tj-gold-l); }

.tj-cta { margin: 56px 0 0; border-radius: 28px; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: radial-gradient(80% 140% at 100% 0%, rgba(233, 30, 99, .25), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(var(--gold-rgb, 212, 175, 55), .2), transparent 60%), #141419; border: 1px solid rgba(var(--gold-rgb, 212, 175, 55), .3); }
.tj-cta-t { margin: 0 0 6px; font-family: var(--tj-display); font-size: 28px; font-weight: 600; color: #fff; }
.tj-cta p { margin: 0; color: var(--tj-text-2); }
.tj-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── topic page ────────────────────────────────────────────────────── */
.tj-thero { position: relative; overflow: hidden; margin-top: 22px; border-radius: 28px; padding: 40px 36px; border: 1px solid color-mix(in srgb, var(--tj-c) 30%, transparent);
    background: radial-gradient(70% 140% at 100% 0%, color-mix(in srgb, var(--tj-c) 34%, transparent), transparent 60%), linear-gradient(160deg, #19171f, #0f0f15); }
.tj-thero .tj-glyph { position: absolute; right: 30px; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 260px; height: 260px; color: color-mix(in srgb, var(--tj-c) 24%, transparent); stroke-width: 1; }
.tj-thero .tj-h1 { position: relative; margin: 14px 0 8px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.tj-thero-p { position: relative; margin: 0; color: #cfcfda; max-width: 520px; font-size: 16px; }
.tj-crumbs { position: relative; font-size: 12.5px; color: var(--tj-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.tj-crumbs a:hover { color: var(--tj-gold-l); }
.tj-stats { position: relative; margin-top: 18px; display: flex; gap: 22px; color: var(--tj-text-2); font-size: 13px; }
.tj-stats b { display: block; color: #fff; font-size: 22px; font-family: var(--tj-display); font-weight: 600; }
.tj-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 20px; }
.tj-seg { display: inline-flex; padding: 4px; border-radius: 50px; background: var(--tj-card); border: 1px solid var(--tj-line); }
.tj-seg a { padding: 8px 16px; border-radius: 50px; color: var(--tj-text-2) !important; font-size: 13px; }
.tj-seg a.tj-on { background: color-mix(in srgb, var(--tj-c) 22%, transparent); color: #fff !important; }
.tj-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
.tj-card-wide { grid-column: span 2; }
.tj-card-wide .tj-cover { aspect-ratio: 16 / 7.3; }
.tj-card-wide .tj-card-t { font-size: 24px; }
.tj-more { display: flex; justify-content: center; margin: 34px 0 0; }
.tj-others { display: flex; gap: 10px; flex-wrap: wrap; }
.tj-others a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 50px; background: var(--tj-card); border: 1px solid var(--tj-line); font-size: 13.5px; }
.tj-others a .tj-i { color: var(--tj-c); }
.tj-others a span { color: var(--tj-muted); }
.tj-others a:hover { border-color: color-mix(in srgb, var(--tj-c) 50%, transparent); }

/* ── article ───────────────────────────────────────────────────────── */
.tj-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--tj-gold), var(--tj-pink)); z-index: 1000; }
.tj-ahead { max-width: 820px; margin: 0 auto; padding: 30px 0 22px; text-align: center; }
.tj-ahead .tj-crumbs { justify-content: center; }
.tj-atitle { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.15; margin: 16px 0 14px; }
.tj-dek { color: var(--tj-text-2); font-size: 17px; max-width: 660px; margin: 0 auto 18px; }
.tj-ameta { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.tj-share { display: flex; gap: 8px; }
.tj-share a, .tj-share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--tj-card); border: 1px solid var(--tj-line); color: var(--tj-text-2); cursor: pointer; padding: 0; transition: color .2s, border-color .2s; }
.tj-share a:hover, .tj-share button:hover, .tj-share button.tj-on { color: var(--tj-gold-l); border-color: rgba(var(--gold-rgb, 212, 175, 55), .5); }
.tj-acover { max-width: 1060px; margin: 0 auto 38px; }
.tj-acover .tj-cover { aspect-ratio: 21 / 9; border-radius: 28px; }
.tj-acover .tj-word { font-size: clamp(60px, 11vw, 140px); left: 30px; bottom: 12px; }
.tj-alayout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 48px; justify-content: center; max-width: 1100px; margin: 0 auto; }
.tj-prose { font-size: 17.5px; line-height: 1.85; color: #e7e7ee; }
.tj-prose > p:first-of-type::first-letter { font-family: var(--tj-display); float: left; font-size: 4.1em; line-height: .82; padding: 8px 12px 0 0; color: var(--tj-c); }
.tj-prose p, .tj-prose ul, .tj-prose ol { margin: 0 0 1.25em; }
.tj-prose h2, .tj-prose h3, .tj-prose h4 { font-family: var(--tj-display); font-weight: 600; line-height: 1.25; margin: 1.7em 0 .6em; color: #fff; }
.tj-prose h2 { font-size: 28px; }
.tj-prose h3 { font-size: 23px; }
.tj-prose h4 { font-size: 19px; }
.tj-prose a { color: var(--tj-gold-l) !important; text-decoration: underline !important; text-decoration-color: rgba(var(--gold-light-rgb, 240, 208, 96), .4) !important; text-underline-offset: 3px; }
.tj-prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--tj-c); font-family: var(--tj-display); font-style: italic; font-size: 23px; line-height: 1.5; color: #fff; }
.tj-prose li { margin-bottom: .4em; }
.tj-prose hr { border: 0; border-top: 1px solid var(--tj-line); margin: 2em 0; }
.tj-fig { margin: 2em 0; }
.tj-fig img, .tj-video { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--tj-line); background: #000; }
/* 2026-10-03 (owner, SEO): under an article, its cities' listing pages (BlogPageRenderer.CityLinks). A link colour
   needs three classes: the site's link rule is body a:not(..):not(..), (0,2,2). */
.tj-cities { margin: 30px 0 0; padding: 18px 20px; border: 1px solid var(--tj-line); border-radius: 14px; background: var(--tj-card); }
.tj-cities-t { font-family: var(--tj-display); font-size: 18px; color: var(--tj-text); margin: 0 0 12px; }
.tj-cities-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tj .tj-cities .tj-cities-a { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 50px; font-size: 14px; font-weight: 500; color: var(--tj-gold); background: color-mix(in srgb, var(--tj-gold) 10%, transparent); border: 1px solid color-mix(in srgb, var(--tj-gold) 35%, transparent); text-decoration: none; transition: background .15s, border-color .15s; }
.tj .tj-cities .tj-cities-a:hover { background: color-mix(in srgb, var(--tj-gold) 20%, transparent); border-color: var(--tj-gold); text-decoration: none; }
.tj-afoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; padding: 18px 0; border-top: 1px solid var(--tj-line); border-bottom: 1px solid var(--tj-line); color: var(--tj-text-2); font-size: 14px; }
.tj-nexts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.tj-nexts a { padding: 16px 18px; border-radius: 12px; background: var(--tj-card); border: 1px solid var(--tj-line); }
.tj-nexts a:hover { border-color: color-mix(in srgb, var(--tj-c) 50%, transparent); }
.tj-nexts small { color: var(--tj-muted); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.tj-nexts div { font-family: var(--tj-display); font-size: 16.5px; margin-top: 6px; line-height: 1.3; color: #fff; }
.tj-nexts .tj-next { text-align: right; }
.tj-aside { position: sticky; top: 70px; align-self: start; display: grid; gap: 18px; }
.tj-box { background: var(--tj-card); border: 1px solid var(--tj-line); border-radius: 20px; padding: 18px; }
.tj-box-h { margin: 0 0 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--tj-muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tj-box-h .tj-i { color: var(--tj-c); font-size: 15px; }
.tj-box .tj-row { grid-template-columns: 64px 1fr; gap: 12px; padding: 8px 0; }
.tj-box .tj-row:hover { background: transparent; }
.tj-box .tj-row-t { font-size: 14.5px; }
.tj-box .tj-row .tj-word { font-size: 22px; }
.tj-box-cta { background: linear-gradient(160deg, rgba(var(--gold-rgb, 212, 175, 55), .16), rgba(233, 30, 99, .08)); border-color: rgba(var(--gold-rgb, 212, 175, 55), .35); }
.tj-box-t { margin: 0 0 6px; font-family: var(--tj-display); font-size: 20px; color: #fff; }
.tj-box-cta p { margin: 0 0 14px; color: var(--tj-text-2); font-size: 13.5px; }
.tj-box-cta .tj-btn-gold { width: 100%; }

/* ── narrower screens ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .tj-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 220px 220px; }
    .tj-tile-lead { grid-column: span 2; grid-row: auto; }
    .tj-tgrid { grid-template-columns: repeat(2, 1fr); }
    .tj-tt-big { grid-column: span 2; grid-row: span 1; }
    .tj-tt-big .tj-peek { display: none; }
    .tj-rail { grid-auto-columns: calc((100% - 2 * 20px) / 2.4); }
    .tj-quick { grid-template-columns: repeat(2, 1fr); }
    .tj-alayout { grid-template-columns: minmax(0, 720px); }
    .tj-aside { position: static; }
}
@media (max-width: 900px) {
    .tj-grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .tj-bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; min-height: 0; }
    .tj-tile-lead { grid-column: auto; min-height: 380px; }
    .tj-tgrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
    .tj-tt { padding: 14px; }
    .tj-tt-t { font-size: 18px; }
    .tj-tt-p { display: none; }
    .tj-tt-big { grid-column: span 2; grid-row: span 2; }
    .tj-tt-big .tj-tt-t { font-size: 24px; }
    .tj-tt-big .tj-tt-p { display: block; }
    .tj-tt-wide { grid-column: span 2; }
    .tj-spot { grid-template-columns: 1fr; }
    .tj-row { grid-template-columns: 88px 1fr; padding: 10px 0; }
    .tj-rail { grid-auto-columns: 78%; }
    .tj-quick { grid-template-columns: 1fr; }
    .tj-head { flex-direction: column; align-items: flex-start; }
    .tj-cta { padding: 24px; }
    .tj-grid3 { grid-template-columns: 1fr; }
    .tj-card-wide { grid-column: auto; }
    .tj-card-wide .tj-cover { aspect-ratio: 4 / 3; }
    .tj-thero { padding: 28px 20px; }
    .tj-thero .tj-glyph { width: 160px; height: 160px; right: -30px; }
    .tj-prose { font-size: 16.5px; }
    .tj-nexts { grid-template-columns: 1fr; }
    .tj-nexts .tj-next { text-align: left; }
    .tj-acover .tj-cover { aspect-ratio: 16 / 10; }
}
