/* Blog: the index and its posts, in the Apple Newsroom layout the founder chose (October 15, 2026). */
.b-page { padding: 96px 0 112px; background: var(--chalk); }
.b-post { padding: 96px 0 0; }
.b-bar { display: flex; align-items: center; height: 64px; border-bottom: 1px solid var(--line); }
.b-bar h1, .b-bar a { margin: 0; font-size: 24px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.b-page .b-bar { margin-bottom: 40px; }
.b-meta { margin: 0; font-size: 14px; color: var(--ink-3); }
.b-meta b { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* The cover: three real searches, the first one in focus. */
.b-cover { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 40px; background: var(--yellow); }
.b-q { margin: 0; display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: min(100%, 420px); height: 52px; padding: 0 22px; border-radius: 999px; background: var(--paper); font-size: 17px; white-space: nowrap; box-shadow: 0 16px 40px -14px rgba(17,17,17,.3); }
.b-q svg { flex: none; }
.b-q span { overflow: hidden; text-overflow: ellipsis; }
.b-q:nth-child(2) { width: min(92%, 380px); height: 44px; font-size: 15px; background: rgba(255,255,255,.66); color: var(--ink-2); box-shadow: none; }
.b-q:nth-child(3) { width: min(84%, 340px); height: 40px; font-size: 14px; background: rgba(255,255,255,.42); color: var(--ink-2); box-shadow: none; }

/* Index: one story tile per post, newest first. */
.b-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: 20px; background: var(--paper); color: inherit; text-decoration: none; box-shadow: var(--shadow-1); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.b-hero .b-cover { min-height: 440px; }
.b-hero:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.b-hero:active { transform: scale(.99); transition-duration: .1s; }
.b-hero:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.b-hero:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.b-hero-txt { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 56px; }
.b-hero h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.b-hero-txt > p:last-child { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); }

/* Post */
.b-head { display: grid; justify-items: start; gap: 16px; max-width: 732px; margin: 0 auto; padding: 72px var(--gutter) 48px; box-sizing: border-box; }
.b-head h1 { margin: 8px 0 0; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.b-dek { margin: 0; font-size: 22px; line-height: 1.45; letter-spacing: -0.01em; font-weight: 500; color: var(--ink-2); }
.b-share { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-top: 8px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--chalk); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background-color .2s ease, transform .1s ease-out; }
.b-share:hover { background: var(--chalk-2); }
.b-share:active { transform: scale(.97); }
.b-share:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.b-wide { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.b-wide .b-cover { aspect-ratio: 21 / 9; gap: 16px; border-radius: 20px; }
.b-wide .b-q { width: min(100%, 600px); height: 64px; padding: 0 28px; gap: 14px; font-size: 21px; }
.b-wide .b-q:nth-child(2) { width: min(92%, 540px); height: 54px; font-size: 18px; }
.b-wide .b-q:nth-child(3) { width: min(84%, 480px); height: 48px; font-size: 16px; }
.b-body { max-width: 732px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.b-lead { padding-top: 64px; }
.b-body p { margin: 0 0 24px; font-size: 19px; line-height: 1.6; }
.b-body h2 { margin: 64px 0 16px; font-size: 32px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.b-end { padding-bottom: 96px; }
.b-end .button { margin-top: 8px; }

/* The example: the Queries tab's own card, with real answers. */
.b-example { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 16px auto 48px; padding: 0 var(--gutter); box-sizing: border-box; }
.b-stage { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; padding: 72px 32px 56px; border-radius: 20px; background: var(--chalk); }
.b-stage .real-chip { position: absolute; left: 20px; top: 20px; background: var(--paper); }
.b-card { display: grid; gap: 12px; box-sizing: border-box; width: min(300px, 100%); padding: 12px 16px; border: .5px solid rgba(17,17,17,.12); border-radius: 12px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 1px 2px rgba(17,17,17,.06), 0 24px 48px -20px rgba(17,17,17,.3); font-variant-numeric: tabular-nums; }
.b-card-head { display: flex; align-items: flex-start; gap: 8px; }
.b-card-head b { font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
.b-dot { flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }
.b-dot[data-gap] { background: transparent; box-shadow: inset 0 0 0 2px #b0463b; }
.b-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 13px; }
.b-card dt { color: var(--ink-3); }
.b-card dd { margin: 0; text-align: right; white-space: nowrap; font-weight: 600; }
.b-card dd[data-gap] { color: #b0463b; }
.b-card q { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding-top: 12px; border-top: 1px solid rgba(17,17,17,.08); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.b-card mark { background: none; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .b-page { padding-top: 84px; }
  .b-post { padding-top: 84px; }
  .b-hero { grid-template-columns: minmax(0, 1fr); }
  .b-hero .b-cover { min-height: 260px; padding: 32px 20px; }
  .b-hero-txt { padding: 28px 24px 32px; gap: 12px; }
  .b-hero-txt > p:last-child { font-size: 17px; }
  .b-head { padding: 40px var(--gutter) 32px; }
  .b-dek { font-size: 19px; }
  .b-wide .b-cover { aspect-ratio: 4 / 3; padding: 24px 16px; }
  .b-q, .b-wide .b-q { height: 46px; padding: 0 18px; font-size: 15px; }
  .b-wide .b-q:nth-child(2) { height: 42px; font-size: 14px; }
  .b-wide .b-q:nth-child(3) { height: 38px; font-size: 13px; }
  .b-lead { padding-top: 40px; }
  .b-body p { font-size: 17px; }
  .b-body h2 { margin-top: 48px; font-size: 26px; }
  .b-stage { padding: 56px 16px 24px; gap: 16px; }
  .b-stage .real-chip { left: 16px; top: 16px; }
  .b-end { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .b-hero, .b-share { transition: none; }
  .b-hero:hover, .b-hero:active, .b-share:active { transform: none; }
}
