/* Orchard Road race car demo case study only (9 Oct 2026). Page-specific: shared blog.css is not touched. */

/* Portrait cover: full frame, no crop, centred at a capped height so it doesn't push the text off screen. */
.post-race-car .post-hero-img { text-align: center; }
.post-race-car .post-hero-img img { width: auto; max-width: 100%; height: auto; max-height: 760px; margin: 0 auto; display: block; }

/* Gear: grid of category cards */
.post-race-car .gear-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.1em 0 2em; clear: both; }
.post-race-car .gear-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px 14px; }
.post-race-car .post-body .gear-card h3 {
  margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 9px;
}
.post-race-car .gear-card h3 i { font-size: 0.85rem; width: 16px; text-align: center; }
.post-race-car .post-body .gear-card ul { list-style: none; margin: 0; }
.post-race-car .post-body .gear-card li {
  position: relative; padding: 7px 0 7px 14px; margin: 0; font-size: 0.95rem; line-height: 1.5; border-top: 1px solid var(--border);
}
.post-race-car .post-body .gear-card li:first-child { border-top: none; padding-top: 2px; }
.post-race-car .post-body .gear-card li::before {
  content: ''; position: absolute; left: 0; top: 0.95em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.post-race-car .post-body .gear-card li:first-child::before { top: calc(0.95em - 5px); }

/* Gear-list photo rule kept for reference; the duplicate photo was removed in v4 */
.post-race-car .gear-photo { max-width: 300px; margin: 0 auto 2em; }

@media (max-width: 640px) {
  .post-race-car .gear-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-race-car .gear-card { padding: 16px 18px 12px; border-radius: 14px; }
  .post-race-car .post-hero-img img { max-height: 560px; }
  .post-race-car .gear-photo { max-width: 240px; }
}
@media print {
  .post-race-car .gear-card { break-inside: avoid; page-break-inside: avoid; }
  .post-race-car .post-hero-img img { max-height: 900px; }
}

/* FAQ (v4, 9 Oct 2026) */
.post-race-car .faq { margin-top: 2.4em; clear: both; }
.post-race-car .faq-item { border-top: 1px solid var(--border); padding: 4px 0 2px; }
.post-race-car .faq-item:last-child { border-bottom: 1px solid var(--border); margin-bottom: 1.6em; }
.post-race-car .post-body .faq-item h3 { font-size: 1.08rem; margin: 1.1em 0 0.45em; }
.post-race-car .post-body .faq-item p { margin-bottom: 1em; }
/* Direct call to action just above the standard contact block */
.post-race-car .post-body p.post-cta-lead { font-weight: 600; color: var(--text, #1d1d1f); margin: 1.8em 0 0.4em; }

/* v5 (David's version, 9 Oct 2026): event place/date line under the subtitle, and the second CTA paragraph */
.post-race-car .post-eventline { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); margin: -4px 0 14px; display: flex; align-items: center; gap: 8px; }
.post-race-car .post-eventline i { color: var(--accent); font-size: 0.85rem; }
.post-race-car .post-body p.post-cta-body { margin: 0 0 1.4em; }
