/* Shared by /blog/ and every article. The feature pages (trainer.html, group-ride.html …) keep their
   styles inline; the blog has enough pages that one cached stylesheet pays for itself. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #0b0c0e; color: #e7e9ee;
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: #ff8a4d; }
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 22px 96px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 36px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(155deg,#ff8a3d,#ef5f1f);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; }
.brand b { font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.brand b span { color: #ff6a2c; }
.toplinks a { color: #aab1bd; text-decoration: none; font-size: 14.5px; font-weight: 600; margin-left: 16px; }
.toplinks a:hover { color: #fff; }
.crumbs { font-size: 13px; color: #8d95a3; margin-bottom: 14px; }
.crumbs a { color: #8d95a3; text-decoration: none; }
.kicker { color: #ff6a2c; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; font-size: 12.5px; }
h1 { font-size: 40px; line-height: 1.12; letter-spacing: -1px; margin: 10px 0 14px; }
.meta { color: #8d95a3; font-size: 14px; margin-bottom: 26px; }
.lede { color: #d3d7df; font-size: 20px; line-height: 1.6; }
h2 { font-size: 25px; letter-spacing: -.4px; margin: 46px 0 12px; line-height: 1.25; }
h3 { font-size: 19px; margin: 30px 0 8px; }
p, li { color: #c7ccd6; }
li { margin: 6px 0; }
strong { color: #eef0f4; }
figure { margin: 30px 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid #20232b; background: #12141a; }
figure.phone img { max-width: 340px; margin: 0 auto; border-radius: 26px; }
figure.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
figure.pair img { border-radius: 22px; }
figcaption { grid-column: 1 / -1; color: #8d95a3; font-size: 14px; text-align: center; margin-top: 10px; }
.callout { background: #12141a; border: 1px solid #20232b; border-left: 3px solid #ff6a2c; border-radius: 12px;
  padding: 16px 20px; margin: 26px 0; }
.callout p { margin: 0; }
.cta { background: linear-gradient(160deg,#1a130f,#12141a); border: 1px solid #2c303a; border-radius: 18px;
  padding: 26px; margin: 48px 0 0; text-align: center; }
.cta h2 { margin: 0 0 8px; font-size: 22px; }
.cta p { margin: 0 0 18px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 12px; font-weight: 800; text-decoration: none;
  background: linear-gradient(150deg,#ff8a3d,#ff5a1f); color: #fff; margin: 4px 5px; }
.btn.ghost { background: transparent; border: 1px solid #2c303a; color: #e7e9ee; }
.related { margin: 44px 0 0; }
.related h2 { font-size: 19px; margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px; }
.post-card { display: block; background: #12141a; border: 1px solid #20232b; border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: #ff6a2c; transform: translateY(-2px); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card .pc { padding: 14px 16px 18px; }
.post-card .k { color: #ff7a3c; font-size: 11.5px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.post-card h3 { margin: 6px 0 6px; font-size: 17px; line-height: 1.3; color: #eef0f4; }
.post-card p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.post-card .d { margin-top: 10px; font-size: 12.5px; color: #8d95a3; }
.hero-card { grid-column: 1 / -1; }
.hero-card h3 { font-size: 22px; }
/* The index is a shelf of cards, not a column of reading: it gets the width a desktop has. */
.wrap.wide { max-width: 1120px; }
.wrap.wide > h1, .wrap.wide > .lede { max-width: 760px; }
@media (min-width: 900px) {
  .wrap.wide .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .wrap.wide .hero-card { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
  .wrap.wide .hero-card .pc { padding: 28px 32px; }
  .wrap.wide .hero-card h3 { font-size: 28px; line-height: 1.2; }
  .wrap.wide .hero-card p { font-size: 16px; }
}
footer { margin-top: 60px; padding-top: 20px; border-top: 1px solid #20232b; color: #9aa0ac; font-size: 13px; }
footer a { color: #9aa0ac; margin-right: 16px; }
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  h1 { font-size: 31px; }
  .lede { font-size: 18px; }
  h2 { font-size: 22px; }
  figure.pair { grid-template-columns: 1fr; }
  .toplinks a { margin-left: 10px; font-size: 13.5px; }
}
/* A comparison table in an article. On a phone the columns wrap rather than scroll — a table that
   scrolls sideways shows one camera and hides the other two — and the box only scrolls as a last
   resort, never the page. */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid #20232b; border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #20232b; vertical-align: top; color: #c7ccd6; }
.table-wrap thead th { background: #12141a; color: #eef0f4; font-size: 14px; }
.table-wrap tbody th { color: #eef0f4; font-weight: 700; }
@media (max-width: 640px) {
  .table-wrap table { font-size: 13.5px; }
  .table-wrap th, .table-wrap td { padding: 9px 8px; }
}
.table-wrap tr:last-child td, .table-wrap tr:last-child th { border-bottom: 0; }
.faq dl { margin: 10px 0 0; }
.faq dt { font-weight: 700; color: #eef0f4; margin-top: 18px; }
.faq dd { margin: 6px 0 0; color: #c7ccd6; }
