/* AirTech Series story page: hero, compare table, riding clips, rider quotes and the Grom Handling Kit upsell. Everything else is in product-story.css. */

.story .upsell { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; margin-top: 16px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.story .upsell-img { display: block; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: #fff; }
.story .upsell-img img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: none; mask-image: none; }
.story .upsell-copy { min-width: 0; }
.story .upsell-copy p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.story .upsell-copy b { color: var(--text); }
.story .upsell-copy .upsell-kicker { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.story .upsell-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.story .upsell-price { font-size: 18px; font-weight: 700; color: var(--text); }
.story .upsell-form { margin: 0; }
.story .upsell-btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 980px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer; }
.story .upsell-btn:hover { filter: brightness(1.12); }
.story .upsell-more { font-size: 14px; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.story .upsell-more:hover { text-decoration: underline; }
@media (max-width: 420px) { .story .upsell { grid-template-columns: 72px 1fr; gap: 12px; padding: 14px; } .story .upsell-img { width: 72px; height: 72px; } }

/* Real riding clips (#ride, #dirt): portrait loops in a media card, with a small pause button. */
/* The card is as wide as a 9:16 clip that is at most 78% of the screen tall, so there are no side bars. */
.story .ride-card { justify-self: center; width: min(100%, 420px, 78vh * 9 / 16); width: min(100%, 420px, 78svh * 9 / 16); min-height: 0; }
.story .ride-clip { position: relative; aspect-ratio: 9 / 16; }
.story .ride-card .ride-video { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; background: var(--panel); }
.story .ride-card figcaption { color: var(--muted); }
@media (min-width: 900px) { .story .ride-flip > figure { order: -1; } }
.story .ride-pause { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(20,20,24,.7); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.story .ride-pause[hidden] { display: none; }
.story .ride-pause span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.story .ride-pause.is-paused span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.story .ride-pause:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Rider quotes in #ride. */
.story .rider-quote blockquote { margin: 0; font-size: 17px; line-height: 1.45; color: var(--text); }
.story .rider-quote figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Hero (#top): problem, answer, price and Buy on the first screen. Same pattern as the Prime page. */
.story .at-hero { padding: clamp(20px, 5vw, 64px) 0 clamp(48px, 8vw, 96px); }
.story .at-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.story .at-hero-img { order: 2; width: 100%; height: auto; max-height: 72vh; object-fit: contain; -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at center, #000 60%, transparent 100%); }
.story .at-hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 16px; }
.story .at-hero .lede { margin-bottom: 22px; }
.story .at-hero .lede b { color: var(--text); font-weight: 600; }
.story .at-hero-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 4px; }
.story .at-hero-buy .cta { font-size: 18px; padding: 14px 26px; }
.story .at-hero-price { margin-left: 8px; font-weight: 500; }
.story .at-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.story .at-chips li { font-size: 13px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.story .at-chips a { color: var(--text); text-decoration: none; }
@media (max-width: 820px) {
	.story .at-hero { padding-top: 8px; }
	.story .at-hero-grid { grid-template-columns: 1fr; gap: 4px; }
	.story .at-hero-img { order: 0; max-height: 26vh; max-height: 26svh; margin: 0 auto; width: auto; }
	.story .at-hero h1 { font-size: clamp(34px, 10vw, 44px); margin-bottom: 10px; }
	.story .at-hero .lede { font-size: 17px; margin-bottom: 16px; }
	.story .at-hero .eyebrow { font-size: 13px; }
	.story .at-chips { margin-top: 16px; gap: 6px; }
	.story .at-chips li { font-size: 12px; padding: 5px 10px; }
}

/* Compare table (#compare). On phones each row becomes a small card. */
.story .at-table { overflow-x: auto; margin-bottom: 16px; }
.story .at-compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.story .at-compare th, .story .at-compare td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.story .at-compare th { color: var(--muted); font-weight: 600; font-size: 13px; }
.story .at-compare td:first-child { font-weight: 600; position: sticky; left: 0; background: var(--panel); }
.story .at-compare td small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.story .at-compare .no, .story .at-compare .mid { color: var(--muted); }
.story .at-compare .yes { color: var(--text); }
.story .at-compare .us td { background: rgba(255, 46, 46, .1); color: var(--text); font-weight: 600; }
.story .at-compare .us td:first-child { color: var(--accent-text); background: #2a1214; }
.story .at-compare tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
	.story .at-table { padding: 6px; overflow: visible; }
	.story .at-compare, .story .at-compare tbody { display: block; min-width: 0; }
	.story .at-compare thead { display: none; }
	.story .at-compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px; border-bottom: 1px solid var(--line); }
	.story .at-compare tr:last-child { border-bottom: 0; }
	.story .at-compare td { display: block; padding: 0; border: 0; font-size: 14px; }
	.story .at-compare td:first-child { grid-column: 1 / -1; position: static; background: none; font-size: 17px; }
	.story .at-compare td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
	.story .at-compare .us { border-radius: 12px; background: rgba(255, 46, 46, .1); }
	.story .at-compare .us td { background: none; }
}

/* "See inside": a short intro before the film, which now sits below the buy box. */
.story .at-film-intro { padding-bottom: 32px; }
