/* Blog post: Byrna SD Launcher Guide (/byrna-sd-launcher-guide/). 1.0.51.30. Loaded only on that post, after ammo-blog.css
   (which supplies the shared .am blog components: hero, progress bar, reading column, callouts, FAQ, author box, CTA).
   Adds: figures, product cards, spec grid, rules grid, projectile band + lineup, illustrated setup steps, gear list. */
.am.by .am-hero__img { object-position: 72% 50%; }
.am.by .am-hero picture { display: contents; }
.am.by .am-title { max-width: 18ch; }

/* Disclosure + jump nav */
.am .by-disclosure { font-size: .9rem; line-height: 1.5; color: #555; border-left: 4px solid var(--am-gold); padding: .5rem .9rem; background: #faf7ee; border-radius: 0 8px 8px 0; margin-bottom: 1.2rem; }
.am .by-jump { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: 0 0 2rem; font-size: .9rem; }
.am .by-jump span { font-family: var(--am-head); font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--am-gold-deep); margin-right: .3rem; }
.am .by-jump a:not(.tt-btn) { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--am-line-lt); background: #fff; border-radius: 999px; color: var(--am-ink); text-decoration: none; font-weight: 600; transition: border-color .2s ease, background .2s ease; }
.am .by-jump a:not(.tt-btn):hover { border-color: var(--am-gold); background: #fff7e2; color: var(--am-ink); }

/* Figures */
.am .by-fig { margin: 1.6rem 0 1.8rem; }
.am .by-fig img { width: 100%; border-radius: 12px; box-shadow: 0 18px 36px -26px rgba(0,0,0,.6); }
.am .by-fig--white img { background: #fff; border: 1px solid var(--am-line-lt); padding: 1rem; box-shadow: none; }
.am .by-fig--side { float: right; width: 200px; margin: .3rem 0 1rem 1.6rem; }
.am .by-fig--side img { border: 3px solid #fff; outline: 1px solid var(--am-line-lt); }
.am figcaption { font-size: .88rem; line-height: 1.45; color: #666; margin-top: .55rem; padding-left: .7rem; border-left: 3px solid var(--am-gold); }

/* Bulleted lists */
.am .by-list { list-style: none; }
.am .by-list li { position: relative; padding-left: 1.6rem; }
.am .by-list li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .55rem; height: .55rem; background: var(--am-gold); transform: rotate(45deg); border-radius: 1px; }
.am .by-list--tight { margin: 0; }
.am .am-callout .by-list li::before { background: var(--am-red); }

/* At a glance: spec tiles */
.am .by-specs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.am .by-specs li { margin: 0; padding: .9rem 1rem; background: #fff; border: 1px solid var(--am-line-lt); border-top: 4px solid var(--am-gold); border-radius: 8px; font-size: 1rem; line-height: 1.5; }
.am .by-specs li > strong:first-child { display: block; font-family: var(--am-head); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--am-gold-deep); margin-bottom: .2rem; }

/* Product cards */
.am .by-prod { display: grid; grid-template-columns: 190px 1fr; gap: 1.3rem; align-items: center; margin: 1.8rem 0; padding: 1.2rem; background: #fff; border: 1px solid var(--am-line-lt); border-left: 6px solid var(--am-gold); border-radius: 12px; box-shadow: 0 16px 34px -28px rgba(0,0,0,.55); }
.am .by-prod__img { margin: 0; display: grid; place-items: center; min-height: 150px; padding: .6rem; background: radial-gradient(circle at 50% 45%, #fff 0%, #f4f2ec 100%); border-radius: 10px; }
.am .by-prod__img img { max-height: 200px; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.am .by-prod__k { font-family: var(--am-head); font-weight: 800; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--am-gold-deep); margin: 0 0 .25rem; }
.am .by-prod__h { font-family: var(--am-head); font-weight: 800; font-size: 1.15rem; line-height: 1.25; margin: 0 0 .45rem; color: var(--am-ink); text-transform: none; font-style: normal; }
.am .by-prod p:not(.by-prod__k) { font-size: 1rem; line-height: 1.55; margin: 0 0 .9rem; }
.am .by-prod__btn { display: inline-flex; align-items: center; gap: .45rem; }

/* Safety rules */
.am .by-rules { list-style: none; counter-reset: by; display: grid; gap: .55rem; }
.am .by-rules li { counter-increment: by; position: relative; margin: 0; padding: .7rem .9rem .7rem 3.2rem; background: #fff; border: 1px solid var(--am-line-lt); border-radius: 8px; font-size: 1.05rem; line-height: 1.5; }
.am .by-rules li::before { content: counter(by); position: absolute; left: .8rem; top: .7rem; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--am-ink); color: var(--am-gold); font-family: var(--am-head); font-weight: 800; font-size: .85rem; }
.am .by-rules::after { content: ""; display: block; clear: both; }

/* Parts chips */
.am .by-parts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.am .by-parts li { margin: 0; padding: .45rem .8rem; background: var(--am-tint); border-radius: 8px; font-size: .98rem; line-height: 1.4; }

/* Projectile band (wide, dark) */
.by-ammo { width: min(1180px, 100% - 2.5rem); margin: 3rem auto 2.2rem; padding: clamp(1.8rem, 4vw, 3rem); background: radial-gradient(120% 140% at 85% 0%, #2a2210 0%, #121111 55%); color: #eee; border-radius: 18px; border-bottom: 6px solid var(--am-gold); box-shadow: 0 30px 60px -40px rgba(0,0,0,.8); }
.by-ammo__head { max-width: 760px; }
.am .by-ammo h2 { color: #fff; margin-top: 0; }
.am .by-ammo h2::before { display: none; }
.am .by-ammo p { color: #d9d9d9; }
.am .by-ammo strong { color: #fff; }
.am .by-lineup { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 1.8rem 0 .4rem; }
.am .by-lineup li { margin: 0; }
.am .by-lineup a { display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; padding: 1.2rem .6rem 1rem; text-align: center; text-decoration: none; color: #fff; background: rgba(255,255,255,.04); border: 1px solid var(--am-line); border-radius: 12px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.am .by-lineup a:hover { transform: translateY(-4px); border-color: var(--am-gold); background: rgba(255,184,28,.07); color: #fff; }
.am .by-lineup__balls { display: flex; justify-content: center; height: 86px; align-items: center; }
.am .by-lineup__balls img { width: 78px; height: 78px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.55)); }
.am .by-lineup__balls img + img { margin-left: -22px; }
.am .by-lineup b { font-family: var(--am-head); font-weight: 800; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .02em; }
.am .by-tag { display: inline-block; font-family: var(--am-head); font-weight: 800; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; padding: .28rem .5rem; border-radius: 4px; }
.am .by-tag--practice { background: #2f6b3a; color: #fff; }
.am .by-tag--both { background: var(--am-gold); color: var(--am-black); }
.am .by-tag--defense { background: var(--am-red); color: #fff; }
.am .by-ammo__src { font-size: .8rem; color: #9a9a9a !important; margin: .6rem 0 0; }

/* Each round */
.am .by-round { padding: 1.6rem 0 .4rem; border-top: 1px solid var(--am-line-lt); scroll-margin-top: 110px; }
.am .by-round:first-child { border-top: 0; padding-top: 0; }
.am .by-round__h { display: flex; align-items: center; gap: .7rem; font-family: var(--am-head); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.2; margin: 0 0 .7rem; color: var(--am-ink); }
.am .by-round__ball { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 4px 5px rgba(0,0,0,.3)); }
.am .by-round--fig { display: grid; grid-template-columns: 170px 1fr; gap: 1.4rem; align-items: start; }
.am .by-round__pic { margin: .2rem 0 0; padding: .6rem; background: #fff; border: 1px solid var(--am-line-lt); border-radius: 12px; }
.am .by-round__pic img { margin-inline: auto; max-height: 210px; width: auto; }

/* Setup steps */
.am ol.by-steps { list-style: none; counter-reset: bystep; width: min(980px, 100% - 3.5rem); margin: 2rem auto 2rem; padding: 0; display: grid; gap: 1.1rem; }
.am .by-step { counter-increment: bystep; display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; align-items: center; margin: 0; padding: 1.2rem; background: #fff; border: 1px solid var(--am-line-lt); border-radius: 14px; position: relative; }
.am .by-step::before { content: counter(bystep); position: absolute; left: 1rem; top: -1.2rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--am-gold); color: var(--am-black); font-family: var(--am-head); font-weight: 800; font-size: 1.15rem; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
.am .by-step__pic { margin: 0; display: grid; place-items: center; background: #f6f5f1; border-radius: 10px; padding: .8rem; height: 100%; min-height: 200px; }
.am .by-step__pic img { max-height: 240px; width: auto; }
.am .by-step__pic--wide img { max-height: none; width: 100%; }
.am .by-step__pic figcaption { margin-top: .5rem; }
.am .by-step h3 { font-family: var(--am-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.15; margin: 0 0 .6rem; color: var(--am-ink); }
.am .by-step ul { list-style: none; margin: 0; }
.am .by-step ul li { position: relative; padding-left: 1.5rem; font-size: 1.04rem; line-height: 1.55; margin-bottom: .4em; }
.am .by-step ul li::before { content: ""; position: absolute; left: .15rem; top: .6em; width: .5rem; height: .5rem; background: var(--am-gold); transform: rotate(45deg); }
.am .by-video { margin: .6rem 0 0; font-size: .98rem; }
.am .by-step__card { grid-column: 1 / -1; }
.am .by-step__card .by-prod { margin: 0; box-shadow: none; background: #faf7ee; }

/* Storage checklist reuse */
.am .by-check li { font-size: 1.04rem; line-height: 1.55; }

/* Gear checklist with thumbnails */
.am .by-gear { list-style: none; display: grid; gap: .6rem; }
.am .by-gear li { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; align-items: center; margin: 0; padding: .7rem .9rem; background: #fff; border: 1px solid var(--am-line-lt); border-radius: 10px; font-size: 1.02rem; line-height: 1.5; transition: border-color .2s ease; }
.am .by-gear li:hover { border-color: var(--am-gold); }
.am .by-gear a:not(.tt-btn) { font-weight: 700; }
.am .by-gear__pic { width: 76px; height: 60px; display: grid; place-items: center; background: #f6f5f1; border-radius: 8px; overflow: hidden; }
.am .by-gear__pic img { max-width: 66px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.am .by-gear__pic svg { width: 64px; height: auto; }
.am .by-gear__pic--balls { display: flex; justify-content: center; align-items: center; }
.am .by-gear__pic--balls img { width: 26px; height: 26px; }
.am .by-gear__pic--balls img + img { margin-left: -6px; }

/* Keep reading: 4 cards */
.am .by-related ul { grid-template-columns: repeat(4, 1fr); }

/* Responsive */
@media (max-width: 900px) {
	.am .by-lineup { grid-template-columns: repeat(3, 1fr); }
	.am .by-related ul { grid-template-columns: 1fr 1fr; }
	.am .by-step { grid-template-columns: 220px 1fr; }
}
@media (max-width: 640px) {
	.am.by .am-hero__img { object-position: 50% 0%; }
	.am .by-specs { grid-template-columns: 1fr; }
	.am .by-fig--side { width: 130px; margin-left: 1rem; }
	.am .by-prod { grid-template-columns: 1fr; text-align: left; }
	.am .by-prod__img { min-height: 0; }
	.am .by-prod__img img { max-height: 160px; width: auto; max-width: 100%; height: auto; object-fit: contain; }
	.by-ammo { width: calc(100% - 1.5rem); padding: 1.4rem 1.1rem; border-radius: 14px; }
	.am .by-lineup { grid-template-columns: 1fr 1fr; gap: .6rem; }
	.am .by-lineup li:last-child { grid-column: 1 / -1; }
	.am .by-lineup__balls { height: 64px; }
	.am .by-lineup__balls img { width: 58px; height: 58px; }
	.am .by-round--fig { grid-template-columns: 1fr; gap: .8rem; }
	.am .by-round__pic { max-width: 220px; }
	.am ol.by-steps { width: calc(100% - 3rem); }
	.am .by-step { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
	.am .by-step__pic { min-height: 0; }
	.am .by-step__pic img { max-height: 200px; }
	.am .by-step__pic--wide img { max-height: none; }
	.am .by-related ul { grid-template-columns: 1fr; }
	.am .by-gear li { grid-template-columns: 60px 1fr; gap: .8rem; }
	.am .by-gear__pic { width: 60px; height: 50px; }
	.am .by-gear__pic img { max-width: 52px; max-height: 44px; object-fit: contain; }
}

/* 1.0.51.xx round 2: plain opening paragraph (no drop cap, no highlight) */
.am .by-lede { font-size: clamp(1.2rem, 1.9vw, 1.36rem); line-height: 1.55; color: #111; }
.am .by-lede strong { background: none; color: inherit; }
/* Amazon disclosure now sits at the bottom, above the fine print */
.am .by-disclosure { margin-top: 1.6rem; }
