/* Blog (member fix, 17 Nov): on white, the words at the left and an owner reading in a tall frame at the right, a
   question and its short answer landing over the frame's lower left; the three articles as cards on cream. The close
   and the photo's push: design\components.css ("The blog"). */

/* ---------- hero ---------- */
.blogh { padding-block: clamp(44px, 6vw, 88px); background: var(--c-paper); }
.blogh__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.blogh h1 { font-size: var(--fs-h1); }
.blogh__line { max-width: 520px; margin-top: var(--space-3); color: var(--c-ink-soft); font-size: var(--fs-lead); line-height: 1.5; }
.blogh__go { margin-top: 32px; }
.blogh__stage { position: relative; height: clamp(480px, 44vw, 600px); }
.blogh__frame { position: absolute; top: 0; bottom: 0; right: 0; left: 72px; overflow: hidden; border-radius: var(--radius-l); background: var(--c-brand-dark); box-shadow: var(--shadow-l); }
.blogh__img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 64% 40%; transform-origin: 62% 30%; animation: post-push 30s var(--ease-out) both; }
.blogh:has(.blogh__stop[aria-pressed="true"]) .blogh__img { animation-play-state: paused; }
.blogh__stop { top: 16px; right: 16px; }

/* the question, its short answer with the gold check, and the way in (a kit sequence with the hold: the question stays) */
.qa { position: absolute; z-index: 2; left: 0; bottom: 32px; display: grid; gap: 10px; width: min(370px, 72%); }
.qa [data-kit-at] { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 12px)); }
.qa__q { justify-self: end; max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--c-brand); color: var(--c-on-brand); font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; box-shadow: var(--shadow-m); }
.qa__a { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow-l); }
.qa__a p { color: var(--c-brand); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.qa__ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent); color: var(--c-brand); }
.qa__go { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-brand); font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-m); }
.qa__go span { font-weight: 500; }
.qa__go:hover, .qa__go:focus-visible { background: var(--c-accent-deep); }

/* ---------- the three articles ---------- */
.blogp__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); margin: 0; padding: 0; list-style: none; }
.pcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-l); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow-s); color: inherit; text-decoration: none; transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
.pcard:hover, .pcard:focus-visible { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.pcard__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pcard__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.pcard:hover .pcard__img { transform: scale(1.03); }
.pcard__text { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.pcard__title { font-size: var(--fs-h3); }
.pcard__line { color: var(--c-ink-soft); }
.pcard__meta { margin-top: auto; padding-top: 6px; color: var(--c-accent-text); font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 600; }

/* ---------- narrower ---------- */
@media (max-width: 1023px) {
  .blogp__list { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}
/* below 1024 px one column: in two, the frame grew too narrow and the card covered her face at 900 px (measured 17 Nov) */
@media (max-width: 1023px) {
  .blogh__in { grid-template-columns: minmax(0, 1fr); }
  .blogh__stage { height: 560px; }
  .blogh__frame { left: 0; }
  .blogh__img { object-position: 60% 40%; }
  .qa { left: 12px; bottom: 12px; width: min(460px, calc(100% - 24px)); }
}
@media (prefers-reduced-motion: reduce) { .blogh__img { animation: none; } }
